/**
 * Palette:
 *
 * primary:    #e63a80
 * success:    #75ac50
 * info:       #567e90
 * warning:    #d3af49
 * danger:     #e54040
 * light-blue: #c8e4e6
 * light-gray: #c0cfdb
 */

html {
    height: 100%;
}

body {
    font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    line-height: 1.8;
    height: 100%;
    background: #f0f0f0;
    padding-top: 50px;
}
body.index {
    padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

h1 {
    font-size: 250%;
    text-transform: uppercase;
}
h2 {
    font-size: 175%;
}
h3 {
    font-size: 120%;
    color: #666;
}
h4 {
    font-size: 100%;
}

.lead {
    line-height: 1.6;
}

/* Line break long links */
.post a {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.navbar-default {
    border: none;
    color: #fff;

    -webkit-transition: padding .2s, background .2s;
    -moz-transition: padding .2s, background .2s;
    transition: padding .2s, background .2s;
}

.navbar-fixed-top {
    background: #000;
    transition: background .2s ease;
}

.navbar-default .navbar-brand {
    color: #fff;
    text-indent: -9999px;

    width: 100px;
    margin-left: 10px;

    background: url('/img/empear.svg');
    background-position: left 65%;
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar-default .navbar-collapse {
    border-color: rgba(255,255,255,.02);
}
@media screen and (max-width: 768px) {
    .navbar-default {
        background: #000 !important;
    }
}

.navbar-default .navbar-toggle {
    border-color: #e63a80;
    background-color: #e63a80;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    border-color: #e63a80;
    background-color: #e63a80;
}

.navbar-default .nav li a {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    color: #ccc;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
    color: #fff;
    outline: default;
}

.navbar-default .navbar-nav>.active>a {
    border-radius: 0;
    background-color: transparent;
    color: #fff;
    padding-top: 8px;
    border-top: 5px solid #e63a80;
    text-shadow: 5px 5px 10px #000;
}

.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: transparent;
}

.navbar-default.navbar-shrink .navbar-nav>.active>a {
    color: #fff;
}

.navbar-default.navbar-shrink .navbar-nav>.active>a:hover,
.navbar-default.navbar-shrink .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: #567e90;
}

body > header {
    padding: 5rem 0;
    background: #fff;
}
body > section {
    padding: 5rem 0;
    background: #fff;
}

section .section-heading {
    margin-bottom: 4rem;
}

section .section-heading h2 {
    font-size: 250%;
    text-transform: uppercase;
    margin: 0;
}

section .section-heading h3 {
    text-transform: none;
    font-size: 100%;
    font-weight: 400;
    margin: 1rem 0 0;
    color: #ddd;
}

.intro-hero {
    padding: 10rem 0;
    background-color: #000;
    background-image: url('/img/hero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 50%;
    color: #fff;
}

.intro-hero h1 {
    text-indent: -9999px;
    position: absolute;
}
.intro-hero .slogan {
    margin: 0;
    font-size: 500%;
    font-weight: 400;
    line-height: 1.3;
}
.intro-hero .slogan .first {
    display: block;
    font-weight: 600;
}
@media screen and (max-width: 768px) {
    .intro-hero .slogan {
        font-size: 300%;
    }
}

.sales-point {
    margin: 3em 0;
    text-align: center;
}
.sales-point .icon {
    line-height: 1;
    font-size: 500%;
    color: #e63a80;
}
.sales-point h3 {
    font-size: 140%;
    text-align: center;
    color: inherit;
    line-height: 1.5;
}
.sales-point p {
    padding: 0 1em;
    margin-bottom: 0;
    font-size: 110%;
    color: #666;
}

.product-links {
    color: #222;
    text-align: center;
}
.product-link {
    margin: 3em 0;
}
.product-link a {
    color: inherit;
}
.hosting {
    text-transform: uppercase;
    font-size: 160%;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.product-link img {
    max-width: 360px;
    margin-bottom: 1em;
}
.product-link p {
    font-size: 125%;
    padding: 0 1em;
    margin-bottom: 0;
}
.product-link .call-to-action {
    margin-top: .5em;
    font-weight: 600;
}

.codescene {
}

.codescene header {
    background-color: #ffd401;
    text-align: center;
}
.codescene header:after {
    display: block;
    content: '';
    padding-bottom: 25%;
    margin-top: -100px;
    margin-bottom: -5%;
    background-image: url('/img/codescene-bg-wide.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

@media screen and (max-width: 990px) {
    .codescene header:after {
        padding-bottom: 40%;
    }
}
@media screen and (max-width: 768px) {
    .codescene header:after {
        margin-top: -50px;
        padding-bottom: 50%;
        background-image: url('/img/codescene-bg-smartphone.jpg');
    }
}

.codescene header img {
    max-width: 400px;
}

.codescene-product-name {
    margin-bottom: 3em;
}

.codescene .lead {
    font-weight: normal;
}

aside.clients {
    background: #f0f0f0;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.clients ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.client-logo {
    display: block;
    float: left;
    margin: 2rem 0;
    width: 25%;
    line-height: 120px;
}
.client-logo img {
    max-width: 80%;
    height: auto;
}
@media screen and (max-width: 768px) {
    .client-logo {
        width: 50%;
    }
}

#onprem-description {
    padding: 0;
}

.pricing {
  padding: 0;
}

.pricing .table-container {
    overflow-x: auto;
}

.table > tbody > tr > th,
.table > tbody > tr > td {
    vertical-align: middle;
}

.pricing thead th {
    text-align: center;
}

.pricing tbody td {
    text-align: center;
}

.pricing tbody th {

}

.pricing .btn-group {
    margin: 1em 0;
}

.plan-name {
    font-size: 125%;
}

.plan-price .amount {
    font-size: 200%;
}

.plan-price .period {
    font-size: 90%;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.codescene-video        {position:relative; padding-top: 56%;}
.codescene-video iframe {position:absolute;top:0;left:0;width:100%; height:100%;}


section.codescene-cloud {
    padding-top: 0;
}

.offering-image {
    display: block;
    margin-top: 5rem;
}

.offering-image img {
    width: 100%;
}

.gallery-container {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    flex-wrap: wrap;
}

.gallery-item {
}

.gallery-container a {
    flex: 0 1 20%;

    transition: transform .1s linear;

    background-size: cover;
    background-position: center center;

    /* as a fallback if flexbox fails */
    display: inline-block;
    min-width: 50px;
    padding: 0 .5em .5em 0;
    overflow: hidden;
}
.gallery-container a:hover {
    transform: perspective( 600px ) scale(1.05);
}

@media(min-width:768px) {
    .gallery-container a {
        flex-basis: 25%;
    }
}
@media(min-width:992px) {
    .gallery-container a {
        flex-basis: 20%;
    }
}

.gallery-container img {
    display: block;
    width: 100%;
}

@media(min-width:992px) {
    .offering-image {
        margin-top: 0;
    }
}

footer {
    padding: 5rem 0;
    font-size: 15px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}

footer .copyright {
    text-transform: uppercase;
    text-transform: none;
    line-height: 40px;
    text-align: center;
    color: #666;
}

footer h2 {
    font-size: 100%;
    text-transform: uppercase;
    color: #666;
}

footer ul {
    margin: 1em 0;
    padding: 0 1em;
}
footer ul li {
    margin: .5em;
    line-height: 1.3;
}

ul.social-buttons {
    list-style-type: none;
    padding: 0;
}

ul.social-buttons li {
    margin-bottom: .5em;
}

ul.social-buttons li a i {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: .5em;
    border-radius: 100%;
    font-size: 15px;
    line-height: 25px;
    outline: 0;
    color: #fff;
    background-color: #222;
    -webkit-transition: background .3s;
    -moz-transition: background .3s;
    transition: background .3s;
    text-align: center;
}

ul.social-buttons li a:hover i,
ul.social-buttons li a:focus i,
ul.social-buttons li a:active i {
    background-color: #567e90;
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
    outline: 0;
}

.blog-summary {
    margin-bottom: 2rem;
}

.post header {
    margin-bottom: 2rem;
}
.post-summary header {
    margin-bottom: 1rem;
}

.post h1,
.post h2 {
}

.post h1 .title {
    font-size: 120%;
}
.post h1 .subtitle {
    font-size: 60%;
}

.post h2 {
    font-size: 150%;
}

.comments {
    margin-top: 1rem;
}

.read-more-link {
    font-weight: 700;
    text-transform: uppercase;
}

.post p img,
.post > figure img {
    max-width: 750px;
}
.post > figure img {
    margin: 0 auto;
}
.authored {
    text-align: center;
    color: #888;
}
.authored .avatar {
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    vertical-align: middle;
    margin-right: .5em;
}
.authored .avatar img {
    width: 48px;
    height: 48px;
}

@media(max-width:768px) {
    .post p img,
    .post > figure img {
        max-width: 100%;
    }
}

.post header .post-meta {
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

.post .cover-header {
    position: relative;
}
.post .cover-header img {
    display: block;
    width: 100%;
    max-width: auto;
}
.post .cover-header .text {
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: bold;
    color: #fff;
    padding: 2rem;
}
.post .cover-header h1 .title,
.post .cover-header h1 .subtitle,
.post .cover-header .post-meta {
    display: inline;
    background: #000;
    padding: .1rem;
    color: #fff;
    line-height: 1.2;
}
@media(max-width:768px) {
    .post h1 {
        margin: 0;
        font-size: 150%;
    }
    .post .cover-header .text {
        padding: 1rem;
    }
    .post .post-meta {
        font-size: 80%;
    }
}

::-moz-selection {
    text-shadow: none;
    background: #4E71A9;
}

::selection {
    text-shadow: none;
    background: #4E71A9;
}

figure {
    margin: 2rem 0 3rem;
    text-align: center;
}

figure figcaption {
    margin-top: 1em;
    font-size: 90%;
    font-style: italic;
    color: #666;
    text-align: center;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #7B98C8;
}

cite {
    display: block;
    color: #888;
}

.contact-form {
    margin-bottom: 2em;
}

.news-and-events {
    padding: 5rem 0;
    background: #222;
    color: #fff;
}

.news-and-events h2 {
    margin-top: 0;
    font-size: 100%;
    text-transform: uppercase;
}
.news-and-events a {
    color: #ccc;
}
.news-and-events a:hover,
.news-and-events a:focus {
    color: #fff;
}

.event-list-heading {
    text-transform: uppercase;
    font-size: 17px;
}

.events-group-heading {
    color: #666;
    font-size: 120%;
}

.events h3 {
    color: inherit;
}

dd + dt {
    margin-top: 1em;
}

.help-icon {
    display: inline;
    cursor: help;
    vertical-align: super;
    font-size: 80%;
    margin-left: .5em;
}

.inline-image,
.post .inline-image {
    display: block;
    margin: 1em 0;
    max-width: 100%;
}

@media(min-width:768px) {
    .inline-left,
    .post .inline-left {
        margin: 0 1em 0 0;
        float: left;
        width: 40%;
    }
    .inline-right,
    .post .inline-right {
        margin: 0 0 0 1em;
        float: right;
        width: 40%;
    }
}

/* Lightbox overrides */
.lb-data .lb-caption {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
}
