body {
    background: url(../uploads/cover.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 0px;
    font-family: "Ubuntu", "Serif" !important;
    font-size: 16px;
    line-height: 28px;
    overflow: auto;
}

body.modal-open[style] {
    padding-right: 0px !important;
}

.modal::-webkit-scrollbar {
    width: 0 !important; /*removes the scrollbar but still scrollable*/
    /* reference: http://stackoverflow.com/a/26500272/2259400 */
}

#wrapper {
    box-shadow:0 0 8px rgba(0,0,0,0.25);
    padding: 0;
    margin: 0 auto;
    border: none;
}
#wrapper.well {
    /* background:#fff; */
    border-radius:0;
    opacity: 1;
    border: none;
}

/* CUSTOMIZE THE Navbar
    -------------------------------------------------- */
.navbar-default{
    border: none !important;
    /*background-color: #141937 !important;*/
    background: rgb(20, 25, 55); /* For browsers that do not support gradients */
    background: -webkit-radial-gradient(top,rgba(20, 25, 55,0.7), rgba(20, 25, 55,1)); /* Safari 5.1 to 6.0 */
    background: -o-radial-gradient(top,rgba(20, 25, 55,0.7), rgba(20, 25, 55,1)); /* For Opera 11.6 to 12.0 */
    background: -moz-radial-gradient(top,rgba(20, 25, 55,0.7), rgba(20, 25, 55,1)); /* For Firefox 3.6 to 15 */
    background: radial-gradient(top,rgba(20, 25, 55,0.7), rgba(20, 25, 55,1)); /* Standard syntax (must be last) */
    opacity: 1 !important;
    z-index: 900 !important;
}


.navbar .navbar-default .navbar-collapse {
    border: none !important;
    box-shadow: none;
    border-left: 0px !important;
}

.navbar .nav > li > a {
    color: #b4b1cf !important;
    font-size: 1.8em;
    outline: 0;
    text-align: center;
}

.navbar .nav > li > a:hover {
    color: #e7e7e7 !important;
}

.navbar-nav > li.active > a{
    /*background-color: #464b5f !important; */
    background-color: transparent !important;
    color: #e7e7e7 !important;
    font-size: 1.8em;
}

.navbar-nav > li.dropdown > ul > li > a{
    color: #b4b1cf !important;
    font-size: 1.5em;
    outline: 0;
    text-align: center;
}

.navbar-nav > li.dropdown > ul > li > a:hover{
    color: #e7e7e7 !important;
    background-color: transparent !important;
}

.navbar-nav > li.dropdown > ul > li.active > a{
    background-color: transparent !important;
    color: #e7e7e7 !important;
}

.navbar-brand {
    font-size: 2.5em !important;
    color: #b4b1cf !important;
    padding-bottom: 40px !important;
    padding-top: 20px !important;
}

.menu-home{
    position:absolute;
    right: 80px;
    top:9px;
    z-index: 999;
    font-size: 30px;
}
.navbar-toggle {
    border: none !important;
    outline: none !important;
}

.home-nav{
    padding: 0px !important;
    color: #b4b1cf;
    transition: all .2s linear 0s;
    -moz-transition:all .2s linear 0s;
    -webkit-transition:all .2s linear 0s;
    -o-transition:all .2s linear 0s;
}

.home-nav:hover, .home-nav:focus {
    color:#f1f1f1 ;
}

.navbar-collapse{
    border: none !important;
    text-align: right;
}

.btn-nav {
    display:inline;
    position:absolute;
    right:50px;
    top:6px;
    z-index:999;
    font-size:30px;
}
.btn-nav a {
    text-decoration:none;
}
.btn-nav-open:after {
    color:#b4b1cf;
    content:"\f0c9";
    font-family:"FontAwesome";
    font-size: 30px;
    padding: 0 !important;
    transition:all .2s ease-out;
    -moz-transition:all .2s ease-out;
    -webkit-transition:all .2s ease-out;
    -o-transition:all .2s ease-out;
}
.btn-nav-open:hover, .btn-nav-open:focus {
    color:#f1f1f1 ;
}


/* CUSTOMIZE THE CAROUSEL
    -------------------------------------------------- */
.carousel{
    padding-left: 0px;
    padding-right: 0px;
    border: none;
}
.carousel-fade .carousel-inner .item {
    opacity: 0;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
    opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-control {
    z-index: 2;
}
.fade-carousel {
    position: relative;
    height: 400px;
}
.fade-carousel .carousel-inner .item {
    height: 400px;
}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #f39c12;
    border-color: #f39c12;
    opacity: .7;
}
.fade-carousel .carousel-indicators > li.active {
    width: 10px;
    height: 10px;
    opacity: 1;
}

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    /*text-transform: uppercase;*/
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
    -webkit-transform: translate3d(-50%,-50%,0);
    -moz-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
}
.hero h1 {
    font-family: "Ubuntu", "Serif";
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
    padding: 10px;
}

.hero_1 {
    position: absolute;
    top:30%;
    left: 40%;
    text-align: center;
    z-index: 3;
    color: #fff;
    /*text-transform: uppercase;*/
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
    -webkit-transform: translate3d(-50%,-50%,0);
    -moz-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
}
.hero_1 p {
    font-family: 'Cormorant Infant', serif;
    font-size: 3em;
    font-weight: bold;
    margin: 0;
    padding: 0px !important;
}

.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
    -webkit-transition: 1s all ease-in-out .1s;
    -moz-transition: 1s all ease-in-out .1s;
    -ms-transition: 1s all ease-in-out .1s;
    -o-transition: 1s all ease-in-out .1s;
    transition: 1s all ease-in-out .1s;
}
.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 1s all ease-in-out .1s;
    -moz-transition: 1s all ease-in-out .1s;
    -ms-transition: 1s all ease-in-out .1s;
    -o-transition: 1s all ease-in-out .1s;
    transition: 1s all ease-in-out .1s;
}

.fade-carousel .carousel-inner .item .hero_1 {
    opacity: 0;
    -webkit-transition: 1s all ease-in-out .1s;
    -moz-transition: 1s all ease-in-out .1s;
    -ms-transition: 1s all ease-in-out .1s;
    -o-transition: 1s all ease-in-out .1s;
    transition: 1s all ease-in-out .1s;
}
.fade-carousel .carousel-inner .item.active .hero_1 {
    opacity: 1;
    -webkit-transition: 1s all ease-in-out .1s;
    -moz-transition: 1s all ease-in-out .1s;
    -ms-transition: 1s all ease-in-out .1s;
    -o-transition: 1s all ease-in-out .1s;
    transition: 1s all ease-in-out .1s;
}

/********************************/
/*            Overlay           */
/********************************/
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #080d15;
    opacity: 0.4;
}

/********************************/
/*          Custom Buttons      */
/********************************/
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero
 {
    color: #B4B1CF;
    background-color: #484C63;
    border-color: #484C63;
    outline: none;
    box-shadow:0 0 8px rgba(0,0,0,0.25);
    margin: 20px auto;
}
.btn.btn-hero:hover {
    color: #E7E7E7;
    background-color: #54586D;
    border-color: #54586D;
    outline: none;
    box-shadow:0 0 8px rgba(0,0,0,0.25);
}

/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1,
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3,
.fade-carousel .slides .slide-4,
.fade-carousel .slides .slide-5{
    height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.fade-carousel .slides .slide-1 {
    background-image: url(../uploads/carousel_image_1.jpeg);
}
.fade-carousel .slides .slide-2 {
    background-image: url(../uploads/carousel_image_2.jpeg);
}
.fade-carousel .slides .slide-3 {
    background-image: url(../uploads/carousel_image_3.jpeg);
}
.fade-carousel .slides .slide-4 {
    background-image: url(../uploads/carousel_image_4.jpeg);
}
.fade-carousel .slides .slide-5 {
    background-image: url(../uploads/carousel_image_5.jpeg);
}


/*MAIN CONTAINER
    -------------------------------------------------- */
.main-content{
    margin: 0 auto;
}

.homepage-topic-background{
    background: rgb(20, 25, 55); /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(to left,rgba(20, 25, 55,0.7), rgba(20, 25, 55,1)); /* Safari 5.1 to 6.0 */
    background: -o-linear-gradient(to left,rgba(20, 25, 55,0.7), rgba(20, 25, 55,1)); /* For Opera 11.6 to 12.0 */
    background: -moz-linear-gradient(to left,rgba(20, 25, 55,0.7), rgba(20, 25, 55,1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to left,rgba(20, 25, 55,0.7), rgba(20, 25, 55,1)); /* Standard syntax (must be last) */

}

.latest-articles-title{
    padding-top: 10px;
    padding-bottom: 5px;
    min-height: 70px;
    font-size: 20px;
    font-weight: bold;
}

.latest-articles-title a{
    color: #004364 !important;
}

.latest-articles-title a:hover{
    color: #337ab7 !important;
}

.latest-articles-image{
    background-position:center center;
    background-size:cover;
    border-radius: 4px;
    margin-bottom: 20px;
    max-width: 100%;
    height: 345px;
    display: block;
}

.latest-articles-excerpt{
    height: 120px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-lc-btn{
    color: #fff !important;
    background-color: #484C63 !important;
    -webkit-transition: .2s all ease-in-out .2s;
    -moz-transition: .2s all ease-in-out .2s;
    -ms-transition: .2s all ease-in-out .2s;
    -o-transition: .2s all ease-in-out .2s;
    transition: .2s all ease-in-out .2s;
}

.main-lc-btn:hover{
    background-color: #54586D !important;
}

.section-heading{
    color: #b4b1cf;
    padding: 5px 5px 5px 10px;
    font-size: 24px;
}

.rounded {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.article-container{
    padding-top: 10px;
}

.title-image {
    position: relative;
    max-width: 100%; /* Maximum width */
    margin: 0 auto; /* Center it */
}

.title-image .title-image-content {
    position: absolute; /* Position the background text */
    bottom: 0; /* At the bottom. Use top:0 to append it to the top */
    border-radius: 0 0 6px 6px;
    background: rgba(20, 25, 55, 0.5); /* Black background with 0.5 opacity */
    color: #b4b1cf; /* Grey text */
    width: 100%; /* Full width */
    padding: 20px; /* Some padding */
}

div.article-container>p>img{
    max-width: 100%;
    height: auto;
}

.article-meta{
    font-size: .8em;
    display: inline-block;
}

.article-tag{
    display: inline-block;
    margin: 5px;
}

.article-box {
    transition: box-shadow .3s;
    height: auto;
    margin: 50px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
}

.article-box:hover {
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}

.article-box-index {
    transition: box-shadow .3s;
    height: auto;
    margin: 10px;
    border-radius:10px;
    border: 1px solid #ccc;
    background: #fff;

}

.article-box-index:hover {
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}

a {
    -webkit-transition: all ease 0.25s;
    transition: all ease 0.25s;
    text-decoration: none !important;
    outline: 0 !important;
}

h3 > a {
    color: #004364;
    -webkit-transition: all ease 0.25s;
    transition: all ease 0.25s;
    text-decoration: none !important;
    outline: 0 !important;
}

p > a {
    color: #004364;
    -webkit-transition: all ease 0.25s;
    transition: all ease 0.25s;
    text-decoration: none !important;
    outline: 0 !important;
}

.article-newsletter .form-control, .article-newsletter .btn {
    min-height: 46px;
    border-radius: 0;
}
.article-newsletter .form-control {
    box-shadow: none;
    border-color: #dbdbdb;
}
.article-newsletter .form-control:focus {
    border-color: #484C63;
    box-shadow: 0 0 8px rgba(249, 88, 88, 0.4);
}
.article-newsletter .btn {
    color: #fff;
    background: #484C63;
    text-decoration: none;
    transition: all 0.4s;
    line-height: normal;
    padding: 6px 20px;
    min-width: 150px;
    margin-left: 6px !important;
    border: none;
}
.article-newsletter .btn:hover, .article-newsletter .btn:focus {
    box-shadow: 0 0 8px rgba(249, 88, 88, 0.4);
    background: #54586D;
    outline: none;
}
.article-newsletter .input-group {
    margin-top: 30px;
}
.article-newsletter .hint-text {
    margin: 100px auto;
    text-align: center;
}


hr.cool_style {
    border: 0px;
    height: 1px;
    background-image: linear-gradient(to right, rgba(41,46,73, 0), rgba(41,46,73, 0.75), rgba(41,46,73, 0));
}

/*QUOTE
    -------------------------------------------------- */

#myModal{
    padding-right: 0px !important;
}

/* RESPONSIVE CSS
    -------------------------------------------------- */

@media screen and (min-width: 992px){
    .hero .hero_1 { width: 980px; }
}

@media screen and (min-width: 991px) {
    .latest-articles-image{
        width:100%;
        height:150px;
    }
}

@media screen and (min-width:992px) {
    .latest-articles-title {
        font-size: 16px;
    }
}​

@media screen and (max-width: 767px){
    .hero h1 {
        font-size: 2em;
    }

    .hero_1 p {
        font-size: 1.5em;
    }

    body {
        background-image: none;
    }
    .title-image .title-image-content h3{
        font-size:20px;
    }
    .title-image .title-image-content p{
        font-size:10px;
    }
}

@media screen and (max-width: 430px){
    .navbar-brand {
        font-size: 1.5em !important;
        padding-top: 20px;
    }

    .navbar .nav > li > a{
        font-size: 1.4em;
    }

    .navbar-nav > li.dropdown > ul > li > a{
        font-size: 1.2em;
    }

    .btn-nav{
        font-size: 25px;
        top: 10px;
        right: 30px;
    }
    .title-image .title-image-content h3{
        font-size:15px;
    }
    .title-image .title-image-content p{
        font-size:10px;
    }
    .section-heading{
        font-size: 19px;
    }
    .latest-articles-image{
        width:100%;
        height:250px;
    }
    .latest-articles-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 350px){
    .menu-home{
        right: 70px;
    }
    .latest-articles-image{
        width:100%;
        height:150px;
    }
}
