/* GENERAL */

.jumbotron,
section {
    -webkit-font-smoothing: antialiased;
}

.inverted {
    color: white;
}

.inverted a:link,
.inverted a:visited {
    color: #9ACA41;
}

.inverted a:hover,
.inverted a:focus {
    color: white;
    text-decoration: none;
}

p,
ul {
    font-weight: 300;
}

strong {
    font-weight: 500;
}

em {
    font-style: normal;
    font-weight: 400;
}

.img-center {
    margin: 0 auto;
}

.img-thumbnail {
    padding: 6px;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

a:focus {
    outline: none;
}


/* UP-BUTTON */

#up {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, .5);
    color: white;
    text-align: center;
    position: fixed;
    bottom: 15px;
    right: 15px;
    border-radius: 5px;
    visibility: hidden;
}

#up a {
    padding: 7px 0;
    line-height: 36px;
    color: white;
    font-size: 18px;
}

#up i {
    margin: 7px 0;
}


/* NAVIGATION */

.navbar {
    background-color: white;
    font-size: 18px;
    min-height: 90px;
}

.navbar.navbar-scrolled {
    background-color: rgba(238, 238, 238, .8);
    min-height: 60px;
}

.navbar-scrolled,
.navbar-scrolled .navbar-toggle,
.navbar-scrolled .navbar-brand,
.navbar-scrolled .navbar-brand img,
.navbar-scrolled .navbar-nav > li > a,
.navbar,
.navbar-toggle,
.navbar-brand,
.navbar-brand img,
.navbar-nav > li > a {
    transition: 0.8s;
    -webkit-transition: 0.8s;
}

.navbar-toggle {
    margin-top: 25px;
}

.navbar-scrolled .navbar-toggle {
    margin-top: 10px;
}

.navbar,
.navbar-toggle {
    margin-bottom: 0;
}

.navbar-toggle .icon-bar {
    background-color: #666;
    width: 30px;
    height: 4px;
}

.navbar-brand {
    padding: 15px;
}

.navbar-scrolled .navbar-brand {
    padding: 10px;
}

.navbar-brand img {
    height: 60px;
}

.navbar-scrolled .navbar-brand img {
    height: 40px;
}

.nav > li > a:hover,
.nav > li > a:focus {
    background-color: inherit;
    color: #5BA3B6;
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        line-height: 30px;
        margin: 15px 0;
        padding: 15px;
        text-shadow: none;
    }
    .navbar-scrolled .navbar-nav > li > a {
        margin: 0;
    }
    .collapse {
        display: block;
    }
}

@media (max-width: 480px) {
    .navbar {
        min-height: 60px;
    }
    .navbar-toggle {
        margin-top: 10px;
    }
    .navbar-brand {
        padding: 10px;
    }
    .navbar-brand img {
        height: 40px;
    }
}


/* SIDR OVERRIDES */

.sidr {
    font-family: inherit;
    font-size: initial;
    background-color: #9ACA41;
    color: inherit;
}

.sidr,
.sidr ul li:hover,
.sidr ul li:hover>a {
    box-shadow: none;
}

.sidr ul,
.navbar ul {
    text-transform: uppercase;
    font-weight: 500;
}

.sidr ul,
.sidr ul li {
    border: none;
}

.sidr ul li:nth-child(even) {
    background-color: #2D7588
}

.sidr ul li:nth-child(odd) {
    background-color: #9ACA41
}

.sidr ul li a:link,
.sidr ul li a:visited {
    color: white;
}

.sidr ul li:nth-child(even) a:hover,
.sidr ul li:nth-child(even) a:focus {
    background-color: #5BA3B6;
    color: white;
}

.sidr ul li:nth-child(odd) a:hover,
.sidr ul li:nth-child(odd) a:focus {
    background-color: #81B128;
    color: white;
}

.sidr ul li:hover {
    line-height: 48px;
}


/* JUMBOTRON */

.jumbotron {
    background-image: url(../img/conference-speaker.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 75px 0;
    margin-bottom: 0;
    margin-top: 90px;
    text-align: center;
}

.jumbotron hr {
    width: 60%;
}

.jumbotron .banner {
    padding: 15px;
    background-color: rgba(0, 0, 0, .5);
}

@media (min-width: 992px) {
    .jumbotron {
        background-image: url(../img/conference-speaker.jpg);
        padding-bottom: 135px;
        padding-top: 135px;
    }
    .jumbotron p {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .jumbotron {
        margin-top: 60px;
    }
    .jumbotron p {
        font-size: 22px;
    }
}

@media (max-width: 320px) {
    .jumbotron {
        padding: 0;
    }
}


/* MAIN CONTENT */

#about,
#references {
    background-color: #2D7588;
}

#features {
    background-color: #9ACA41;
}

section {
    padding-top: 90px;
    padding-bottom: 90px;
}

main h2 {
    margin-top: 0;
}

#about img {
    margin-top: 45px;
}

@media (min-width: 992px) {
    #about img {
        margin-top: 0;
    }
    #about h2 {
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    #about p,
    #references p {
        font-size: 18px;
    }
    section h2 {
        font-size: 30px;
    }
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}


/* FEATURES */

#features i {
    display: inline-block;
    width: 90px;
    height: 90px;
    margin-top: -65px;
    margin-bottom: 25px;
    padding: 15px;
    vertical-align: middle;
    background-color: white;
    border-radius: 50%;
    font-size: 52px;
    line-height: 60px;
    color: #9ACA41;
}

#features .fa-mouse-pointer {
    padding-left: 20px;
    padding-right: 10px;
}

#features .fa-check-square-o {
    padding: 17px 13px 13px 17px;
}

#features .fa-envelope {
    padding-top: 13px;
    padding-bottom: 17px;
}

#features .fa-user-plus {
    padding-left: 17px;
    padding-right: 13px;
}

#features ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#features li {
    width: 240px;
    height: 240px;
    border: 1px solid white;
    border-radius: 20px;
    padding: 20px;
    margin: 15px;
    margin-top: 60px;
    text-align: center;
}


/* BXSLIDER OVERRIDES */

.bx-wrapper {
    margin-bottom: 0;
}

.bx-wrapper .bx-viewport {
    border: none;
    box-shadow: none;
    left: 0;
}


/* REFERENCES */

#marquee {
    margin: 45px 0px 0 0px;
    background-color: white;
    padding: 20px 0;
}

#marquee li div {
    display: table-cell;
    height: 300px;
    vertical-align: middle;
}


/* FOOTER */

footer {
    background-color: #333;
    padding-top: 30px;
    padding-bottom: 20px;
}

footer h4 {
    text-transform: uppercase;
}

#contact {
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    #contact {
        padding-right: 40px;
        margin-bottom: 0;
    }
}

#contact form {
    margin-top: 20px;
}

footer i {
    width: 20px;
    margin-right: 10px;
}

footer p,
footer label,
footer .help-block,
footer .btn {
    font-size: 0.727em;
}

#copy {
    margin-top: 40px;
    text-align: center;
}


/* FORM */

.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-image: none;
    text-shadow: none;
}

.btn:focus,
.btn:active:focus {
    outline: none;
}

.form-control {
    border: 1px solid white;
    box-shadow: none;
    border-radius: 0;
    font-size: 0.636em;
}

.form-control:focus,
.has-success .form-control {
    border-color: #9aca41;
}

.form-control:focus,
.has-success .form-control:focus {
    box-shadow: inset 0 0 8px rgba(154, 202, 65, 0.6);
}

#contact textarea {
    height: 200px;
}

fieldset {
    border: 1px solid #666;
    margin-bottom: 15px;
    padding: 15px;
    padding-bottom: 0;
}

fieldset label {
    margin-bottom: 8px;
}

fieldset label,
.help-block {
    font-weight: 300;
}

.has-error .form-control {
    border-color: orangered;
}

.has-error .form-control:focus {
    box-shadow: inset 0 0px 8px rgba(255, 69, 0, .6);
}

.has-error .help-block {
    color: orangered;
}


/* MODALS */

.modal-content {
    background-color: #333;
}

.modal-content,
.modal-footer .btn-default {
    font-size: 16px;
}

.modal-content h2 {
    font-size: 2em;
}

.modal-content h3 {
    font-size: 1.5em;
}

.close {
    color: white;
    opacity: .4;
    font-weight: normal;
    text-shadow: none;
}

.close:hover,
.close:focus {
    color: white;
    opacity: .2;
    outline: none;
}

.modal-footer .btn-default {
    background-color: #ccc;
}

.modal-footer .btn-default:hover,
.modal-footer .btn-default:focus {
    background-color: #adadad;
}