/************** General Styles **************/
*,:before,:after{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

html{
    min-height: 100%;
}

body{
    position: relative;
    min-height: 100%;
    height: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.4;
    background-color: #f4f4f4;
    background-image: url(../img/logos/crest-bg.svg);
    -webkit-background-size: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position-x: 150%;
    background-position-y: -250px;
    padding-top: 180px;
    overflow-x: hidden;
}

a{
    color: #163049;
    text-decoration: underline;
}

p{
    color: #1a1a1a;
}

h1, h2{
    font-family: 'Crimson Text', serif;
    color: #163049;
}

h1{
    margin-bottom: 4rem;
    position: relative;
}

h1::after{
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: #C7925A;
}

h1.no-bar::after, h1.card-title::after{
    display: none;
}

h1.center-bar::after{
    left: 50%;
    margin-left: -35px;
}

h3{
    font-weight: 400;
    color: #C7925A;
}

.text-blue{
    color: #163049 !important;
}

.bg-blue{
    background-color: #163049 !important;
}

.text-gold{
    color: #C7925A !important;
}

.bg-gold{
    background-color: #C7925A !important;
}

.btn{
    text-transform: uppercase;
    font-size: .9rem;
    padding: .5rem 1.25rem;
    text-decoration: none;
}

.btn-sm{
    padding: .25rem .5rem;
    font-size: .875rem;
}

.btn svg{
    margin-left: .35rem;
}

.btn-blue{
    background-color: #163049;
    border-color: #152941;
    color: #fff;
}

.btn-blue:hover, .btn-blue:active, .btn-blue:focus{
    background-color: #152941;
    border-color: #152941;
    color: #eee;
}

.btn-gold, .btn-primary{
    background-color: #C7925A;
    border-color: #bd885a;
}

.btn-gold:hover, .btn-gold:active, .btn-gold:focus, .btn-primary:hover, .btn-primary:active, .btn-primary:focus{
    background-color: #bd885a;
    border-color: #bd885a;
}

header{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999;
}

header.entry-header{
    position: relative;
}

#logo-container{
    height: 49px;
    margin-left: 80px;
    margin-top: 65px;
}

#contact-container{
    position: absolute;
    right: 90px;
    top: 60px;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: #C7925A;
    text-align: center;
    line-height: 50px;
    padding-right: 3px;
}

#contact-container a{
    color: #fff;
}

#logo{
    display: block;
    width: 280px;
    height: 49px;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../img/logos/logo.svg);
    background-position: top;
}

#blog-header{
    background-color: #163049;
    width: 100%;
    height: 280px;
    z-index: 999;
}

#blog-header #logo{
    background-image: url(../img/logos/logo.svg);
    background-position: bottom;
}

#blog-headline{
    position: fixed;
    z-index: 9999;
    top: 120px;
    left: 0;
    width: 100%;
    height: auto;
}

.midnightHeader.default #logo{
    background-position: top;
}

.midnightHeader.white #logo{
    background-position: bottom;
}


#main-nav-container{
    width: 250px;
    height: 120px;
    margin-top: 25%;
    margin-left: auto;
    overflow: hidden;
}

#main-nav-container .nav-link{
    position: relative;
    transition: all .2s;
    padding: .5rem 0 .5rem 1rem;
    text-decoration: none;
}

#main-nav-container .nav-link::after{
    position: absolute;
    content: '';
    right: 0;
    top: 20px;
    width: 50px;
    height: 1px;
    transition: width .2s;
}

#main-nav-container .nav-link.active::after{
    width: calc(50px + 1rem);
}

.midnightHeader.default #main-nav-container .nav-link{
    color: rgba(22, 48, 73, .5);
}

.midnightHeader.default #main-nav-container .nav-link.active{
    color: rgba(22, 48, 73, 1);
    padding-left: 0;
}

.midnightHeader.white #main-nav-container .nav-link{
    color: rgba(255, 255, 255, .5);
}

.midnightHeader.white #main-nav-container .nav-link.active{
    color: rgba(255, 255, 255, 1);
    padding-left: 0;
}

.midnightHeader.default #main-nav-container .nav-link::after{
    background-color: #163049;
}

.midnightHeader.white #main-nav-container .nav-link::after{
    background-color: #fff;
}

#secondary-nav{
    top: 0;
    z-index: 9999999;
    background-color: #fff !important;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.1);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,.1);
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    display: none;
}

#secondary-nav.navbar{
    padding-top: .75rem;
    padding-bottom: .75rem;
}

#secondary-nav .navbar-brand{
    font-size: .8rem;
}

#secondary-nav .navbar-brand img{
    height: auto;
    width: 215px;
}

#secondary-nav .nav-link{
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-decoration: none;
}

#secondary-nav .nav-link.active{
    color: #C7925A;
}

.vertical-seperator{
    position: absolute;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #eee;
}

.vertical-seperator-item{
    padding-left: 15px;
    padding-right: 15px;
}

section{
    padding-top: 150px;
    padding-bottom: 150px;
}

section.first-section{
    padding-top: 0;
}

#services{
    background-image: url(../img/logos/crest-white.svg);
    -webkit-background-size: 1500px 1000px;
    background-size: 1500px 1000px;
    background-position-x: -500px;
    background-repeat: no-repeat;
}

.service-card{
    border: none;
    padding: 1.75rem;
    position: relative;
    min-height: 280px;
    background-image: url(../img/logos/crest-bg-services.svg);
    -webkit-background-size: 50% 75%;
    background-size: 50% 75%;
    background-repeat: no-repeat;
    background-position: center;
}

.service-card .card-text{
    font-size: 1rem;
}

.carousel-next, .carousel-prev{
    color: #C7925A;
    transition: color .2s;
    font-size: 1.75rem;
}

.carousel-next:hover, .carousel-prev:hover{
    color: #eee;
}

.owl-item > .service-card{
    border-left: 5px solid #fff;
    opacity: .5;
    -webkit-transform: scale(.85);
    -moz-transform: scale(.85);
    -ms-transform: scale(.85);
    -o-transform: scale(.85);
    transform: scale(.85);
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.owl-item.active > .service-card{
    border-color: #C7925A;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    z-index: 999999;
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,.15);
    -moz-box-shadow: 0 0 20px rgba(0,0,0,.15);
    box-shadow: 0 0 20px rgba(0,0,0,.15);
}

.owl-item.active{
    z-index: 999999;
}


#clients{
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: rgba(255,255,255,.8);
}

.client-card{
    width: 100%;
    height: 100px;
    border: none;
    margin-bottom: 1.75rem;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.05);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,.05);
    box-shadow: 0 0 5px rgba(0,0,0,.05);
    transition: all .2s;
}

.client-card:hover{
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.1);
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

.client-card .card-img{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    height: auto;
    width: auto;
    max-width: 70%;
    max-height: 70%;
}

.form-control{
    border: none;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.08);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,.08);
    box-shadow: 0 0 5px rgba(0,0,0,.08);
}

footer{
    padding-top: 50px;
}

footer img{
    width: 200px;
    height: auto;
}

footer .container-fluid{
    padding-bottom: 20px;
    padding-top: 50px;
}

footer .nav .nav-link{
    text-decoration: none;
    color: #888;
}


/************** Blog Styles **************/
.card-image-center{
    margin-left: -1.25rem;
    max-width: calc(100% + 2.5rem);
    margin-right: -1.25rem;
    margin-bottom: 1.5rem;
}

.blog-category{
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    font-size: .75rem;
    text-decoration: none !important;
}

.blog-category a{
    text-decoration: none;
}

.blog-card{
    border: 1px solid #eaeaea;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    display: inline-block;
}

.blog-card .card-text, .blog-card .card-link{
    font-size: 1rem;
    position: relative;
}

.blog-card .card-link{
    text-decoration: none;
}

.blog-card p{
    font-size: 1rem;
}

.blog-card .card-title{
    font-family: 'Crimson Text', serif;
    font-size: 1.75rem;
    margin-bottom: .75rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
}

.blog-card h3{
    font-size: 1.25rem;
    margin-top: -.75rem;
    margin-bottom: .75rem;
}

.card-columns .card{
    margin-bottom: 1.25rem;
}

.blog-card .card-link::after{
    content: '\f105';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    right: -15px;
    top: 1px;
    position: absolute;
}

.post.hentry{
    margin-bottom: 0;
}

h2.entry-title{
    border: none;
}

h1.entry-title{
    font-size: 3rem;
    border-bottom: none;
    font-weight: 500;
}

h3.entry-subtitle{
    font-size: 1.5rem;
}

.entry-content{
    margin-top: 2rem;
}

.post-categories{
    margin-bottom: 0 !important;
}

.category-list{
    margin-bottom: 2rem;
}

.category-list li{
    display: inline-block;
}

.category-list li:not(:last-child){
    margin-right: 1.5rem;
}

.category-list a{
    color: #C7925A;
    font-size: .9rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
}

.entry-category a{
    text-decoration: none;
}

.blog-entry-container{
    background-color: #fff;
    padding: 5rem;
    z-index: 999999;
    margin-top: -170px;
    -webkit-box-shadow:  0 0 8px rgba(0,0,0,.08);
    -moz-box-shadow:  0 0 8px rgba(0,0,0,.08);
    box-shadow:  0 0 8px rgba(0,0,0,.08);
}

.date-category{
    font-weight: 500;
    font-size: .9rem;
}

.entry-category a{
    color: #C7925A;
}

.post-thumbnail{
    margin-bottom: 1.5rem;
}

.small{
    font-weight: inherit;
}

#comments{
    margin-top: 3rem;
}

#reply-title{
    font-size: 1.5rem;
}

#commentform label{
    font-size: .9rem;
    font-weight: 400;
    color: #888;
}

.custom-control-label.small{
    padding-top: 2px;
}

.social-share-container{
    position: fixed;
    left: 0;
    top: 255px;
    width: 100%;
}

.social-share{
    position: absolute;
    right: -25px;
    top: 0;
}

.social-share .nav-link{
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    padding: 0;
    margin-bottom: 10px;
    opacity: .9;
    transition: opacity .2s;
}

.social-share .nav-link:hover{
    opacity: 1;
}

#comments .card{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-color: rgba(0,0,0,.08)
}

#comments .card-header{
    border-color: rgba(0,0,0,.08)
}

#comments .card-header h5{
    margin-bottom: 5px;
}

#comments .card-footer{
    border-color: rgba(0,0,0,.08)
}

.comment-list{
    border-bottom: 1px solid #eee;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

#comments cite, .says{
    font-style: normal;
    font-weight: 400;
}

.comment-meta{
    font-size: .9rem;
}

.post-navigation .nav-previous a, .post-navigation .nav-next a{
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    border-radius: 0.25rem;
}

.post-navigation .nav-previous a::before{
    margin-right: .5rem;
}

.post-navigation .nav-next a::after{
    margin-left: .5rem;
}

.current-cat a{
    color: #888;
}

.wp-block-embed__wrapper{
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.wp-block-embed__wrapper::before{
    padding-top: 56.25%;
    display: block;
    content: "";
}

.wp-block-embed__wrapper iframe{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}