body {
    background: #222;
}

.clickable {
    cursor: pointer;
}

.hidden {
    display: none;
}

.fine-print {
    opacity: 0.7;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
}

.code-highlight {
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    color: #a00;
}

a.object, a.btn,
a.object:hover, a.btn:hover,
a.object:focus, a.btn:focus,
a.object:link, a.btn:link,
a.object:active, a.btn:active,
a.object:visited, a.btn:visited {
    color: #fff;
}

/* header */

header.light-theme {
    color: hsl(262, 46%, 48%);
    background: #fff;
    border-bottom: 1px solid #ddd;
}

header.dark-theme {
    color: hsl(262, 46%, 48%);
    background: #222;
}

header .navbar {
    padding-top: 0;
    padding-bottom: 0;
}

header .logo {
    padding-top: 2px;
}

header .logo-link {
    position: relative;
}

header .logo-text {
    position: absolute;
}

header.light-theme .logo-text {
    color: hsl(262, 50%, 52%);
}

header.dark-theme .logo-text {
    color: hsl(262, 50%, 52%);
}

header .logo-text.hosted {
    font-size: 14px;
    font-weight: bold;
    top: 0px;
    left: 40px;
}

header .logo-text.metrics {
    font-size: 14px;
    font-weight: bold;
    top: 12px;
    left: 47px;
}

@media (max-width: 767px) {
    header .navbar .navbar-collapse {
        padding: 0px 15px 15px 15px;
        z-index: 9999;
    }

    header.light-theme .navbar .navbar-collapse {
        background: hsl(262, 100%, 100%);
    }

    header.dark-theme .navbar .navbar-collapse {
        background: hsl(262, 22%, 15%);
    }
}

@media (min-width: 768px) {
    header .navbar-expand-md .navbar-nav .nav-link {
        padding-left: 15px;
        padding-right: 15px;
    }
}

header.light-theme .navbar .navbar-nav .nav-link,
header.light-theme .navbar .navbar-nav .nav-link:link,
header.light-theme .navbar .navbar-nav .nav-link:visited {
    color: hsl(262, 46%, 48%);
    line-height: 1.15rem;
    margin-top: 3px;
    margin-bottom: 3px;
    border-radius: .2rem;
}

header.light-theme .navbar .navbar-nav .nav-link:hover {
    color: hsl(262, 0%, 0%);
    background: hsl(262, 28%, 95%);
}

header.dark-theme .navbar .navbar-nav .nav-link,
header.dark-theme .navbar .navbar-nav .nav-link:link,
header.dark-theme .navbar .navbar-nav .nav-link:visited {
    color: hsl(262, 64%, 93%);
}

header.dark-theme .navbar .navbar-nav .nav-link:hover {
    color: hsl(262, 64%, 100%);
    background: hsl(262, 28%, 30%);
}

header .navbar .navbar-nav .btn {
    padding: .3rem 1rem;
    margin-top: 0.2rem;
    border-radius: .2rem;
}

/* page content */

.hm-page-section.hm-page-content {
    padding-top: 32px;
    padding-bottom: 32px;
    background: #fff;
}

/* footer */

footer {
    background: #222;
}

footer {
    line-height: 1.25rem;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 12px;
    color: #ccc;
}

footer .separator {
    display: inline-block;
    padding: 0 4px;
}

footer a,
footer a:link,
footer a:visited {
    padding: 6px 20px;
    color: hsl(262, 18%, 54%);
    width: 100%;
    border-radius: .2rem;
    display: inline-block;
}

footer a:hover,
footer a:focus,
footer a:active {
    color: hsl(262, 64%, 89%);
    background: hsl(262, 28%, 30%);
}

/* product logos */

.product-logo {
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 50% 0%;
}

.product-logo-256 {
    width: 256px;
    height: 256px;
}

.product-logo-128 {
    width: 128px;
    height: 128px;
}

.product-logo-90 {
    width: 90px;
    height: 90px;
}

.product-logo-64 {
    width: 64px;
    height: 64px;
}

.product-logo-48 {
    width: 48px;
    height: 48px;
}

.product-logo-32 {
    width: 32px;
    height: 32px;
}

.product-logo-24 {
    width: 24px;
    height: 24px;
}

.product-logo-16 {
    width: 16px;
    height: 16px;
}

.product-logo-grafana {
    background-image: url('/static/product/images/landing_pages/product_icons/grafana.svg');
    background-size: 90%;
}

.product-logo-influxdb {
    background-image: url('/static/product/images/landing_pages/product_icons/influx-db.svg');
    background-size: 88%;
}

.product-logo-influxdb-chronograf {
    background-image: url('/static/product/images/landing_pages/product_icons/influx-chronograf.svg');
    background-size: 90%;
}

.product-logo-graphite {
    background-image: url('/static/product/images/landing_pages/product_icons/graphite_200px.png');
    background-size: 100%;
}

.product-logo-akumuli {
    background-image: url('/static/product/images/landing_pages/product_icons/akumuli.png');
    background-size: 90%;
}

.product-logo-dalmatinerdb {
    background-image: url('/static/product/images/landing_pages/product_icons/dalmatiner.jpg');
    background-size: 82%;
}

.product-logo-prometheus {
    background-image: url('/static/product/images/landing_pages/product_icons/prometheus_padded.svg');
    background-size: 96%;
}

.product-logo-riakts {
    background-image: url('/static/product/images/landing_pages/product_icons/riakts.svg');
    background-size: 88%;
}

/* cards that have an image, title, description, and link */

.card {
    text-align: center;
    background: hsl(0, 0%, 100%);
    padding: 12px;
    margin: 20px 0;
    padding-bottom: 24px;
    border-radius: 4px;

    -webkit-box-shadow: 0px 2px 2px 0px rgba(84,110,122,0.15);
    -moz-box-shadow: 0px 2px 2px 0px rgba(84,110,122,0.15);
    box-shadow: 0px 2px 2px 0px rgba(84,110,122,0.15);    

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-out;
    transition: all 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.03);
    -webkit-box-shadow: 0px 2px 2px 0px rgba(84,110,122,0.5);
    -moz-box-shadow: 0px 2px 2px 0px rgba(84,110,122,0.5);
    box-shadow: 0px 2px 2px 0px rgba(84,110,122,0.5);
    z-index: 9999;
}

.card .image {
    width: 256px;
    height: 256px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin: 0 auto;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-out;
    transition: all 0.2s ease-in-out;
}

.card .image:hover {
    transform: scale(1.1);
}

.card .title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 12px;
    color: initial;
}

.card .text {
    font-size: 90%;
    line-height: 24px;
    color: #546e7a;
}

.card .details-link {
    margin-top: 24px;
    text-transform: uppercase;
    color: hsl(28, 100%, 45%);
}

.card .details-link:hover {
    color: hsl(34, 100%, 50%);
}

.card.card-small .image {
    width: 128px;
    height: 128px;
}

.card.card-small .details-link {
    margin-top: 12px;
}

/* text with icon */

.iconified-text .image {
    background-position: 50% 100%;
    background-repeat: no-repeat;
    margin: 0 auto;
    margin-bottom: 24px;
}

.iconified-text .title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 12px;
}

.iconified-text .text {
    font-size: 90%;
    line-height: 2em;
    color: #546e7a;
}

.iconified-text.side-item {
    text-align: left;
}

.iconified-text.main-item .image {
    width: 100%;
    height: 200px;
    background-size: 45%;
    background-position-y: 0%;
}

.iconified-text.side-item .title {
    margin-bottom: 6px;
}

.iconified-text.side-item .image {
    float: left;
    margin-right: 12px;
    margin-bottom: 0;
    background-size: 100%;
    background-position-y: 0%;
}

.iconified-text.main-item .text {
    text-align: justify;
}
