body {
    font-family: 'CaslonAnt', serif;
    font-weight: lighter;
    font-size: 16px;
    background-color: #000 !important;
    color: #c8d1de;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'CaslonAnt', serif;
    font-weight: normal;
    font-style: normal;
}
h1.entry-title {
    font-size: 2.5em;
    text-transform: uppercase;
    color: #f6f7f6;
}
h2 {
    font-size: 1.3em;
}
.share-box {
    font-size: 1.5em;
}
figure.wp-block-embed {
    margin: 0 -15px;
}
@media (min-width: 768px) {
    figure.wp-block-embed {
    margin: 0 0;
}
}
@media (min-width: 992px) {
    h1.entry-title {
        font-size: 3.5em;
    }
    body {
        font-size: 20px;
    }
    h2 {
    font-size: 1.8em;
}

}
.share-box {
    font-size: 1.4em;
    opacity: .5;
}
a {
    transition: ease-in-out .4s color;
    color: #fff;
}

div.content h1 {
    margin-bottom: 1em;
    font-size: 1.8em;
    font-weight: lighter;

}
@media (max-width: 991px) {
    h4 {
        font-size: 1.2em;
    }
    h1 {
        font-size: 1.8em;
    }
    div.content h1 {
        font-size: 1.6em;
    }
}
a:hover {
    color: #ccc;
    text-decoration: none;
}
div.content a {
    color: #3078a7;
}
h2 a:hover {
    color: #3078a7 !important;
    text-decoration: none;
}
.btn.btn-primary {
    background: #979797;
    border-color: #979797;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active
{
    background: #979797;
    border-color: #979797;
}
/* Containers */
.top-banner {
    height: 100%;
    background-color: rgba(0,0,0,0.1);
    color: #fff;
    padding-bottom: 0px;
}
.top-banner h2 {
    font-size: 1.3em;
}
@media (min-width: 992px) {
    .top-banner h2 {
        font-size: 2.6em;
    }   

}
.embed-responsive-27by10::before {
    padding-top: 90%;
}
@media (min-width: 768px) {
    .embed-responsive-27by10::before {
        padding-top: 50%;
    }
}
@media (min-width: 992px) {
    .embed-responsive-27by10::before {
        padding-top: 37.037%;
    }
}
.carousel-indicators {
    display: none;
}

.main-content {
    margin: 0 0 3em 0;
}
@media (min-width: 992px) {
.main-content {
    margin-top: -4em;
}
}


.home-news-feed {
    color: #767474;
}
.home-news-feed h2 {
    font-size: 1.2em;
}
.home-news-feed h2 a {
    color: #000;
}
.home-news-feed h3 {
    font-size: 1.4em;
}

a.btn-link-in-slider {
    transition: ease-in-out .3s all;
    display: block;
    padding: 15px;
    margin-bottom: 40px;
    background-color: rgba(0,0,0,0.65);
    color: #fff;
}
a.btn-link-in-slider:hover {
    background-color: rgba(0,0,0,0.85);
    text-decoration: none;
}

/* Top-bar search */
.top-bar {
    background: #eeeeee;
    font-size: .75em;
    letter-spacing: .02em;
}
@media (min-width: 1200px) {
    .top-bar {
        font-size: .85em;
    }
}
.top-bar a {
    color: #000;
}
.top-bar form {
    margin-bottom: 0;
}
.top-bar input[type=search],
.top-bar input[type=text] {
    width: 0px;
    box-sizing: border-box;
    border: 0px solid rgba(255,255,255,0.5);
    border-radius: 0px;
    color: #000;
    margin-left: 1em;
    background-color: rgba(0,0,0,0);
    background-position: center right; 
    background-size: 18px 18px;
    background-repeat: no-repeat;
    padding: 0 30px 0 10px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    border-left: 1px solid #000;
    margin-bottom: 0;
}

.top-landing-banner {
    background: #8ca6c8;
    color: #fff;
    background-repeat: no-repeat; 
    background-position: top right; 
    background-size: cover;    
}
@media (max-width: 991px) {
    .landing-banner-opacity {
        background-color: rgba(0,0,0,0.1);
    }
}
@media (min-width: 992px) {
    .top-landing-banner {
        background-repeat: no-repeat; 
        background-position: top right; 
        background-size: 50% auto;    
    }
    .top-landing-banner h3 {
        font-size: 1.3em;
    }
}
.top-landing-banner h3 {
    font-size: 1.1em;
    line-height: 1.3;
}
@media (min-width: 1200px) {
    .top-landing-banner h3 {
        font-size: 1.3em;
    }
}
a.landing-banner-link {
    transition: ease-in-out .3s all;
    background-color: rgba(0,0,0,0.65);
    display: block;
    width: 100%;
    color: #fff;
}
a.landing-banner-link:hover {
    background-color: rgba(0,0,0,0.85);
    text-decoration: none;
}
.top-archive-banner {
    background: #8ca6c8;
    color: #fff;
    background-repeat: no-repeat; 
    background-position: top right; 
    background-size: cover;    
}
.top-archive-banner h3 {
    font-size: 0.9em;
    line-height: 1.2;
}
@media (min-width: 1200px) {
    .top-archive-banner h3 {
        font-size: 1.3em;
        line-height: 1.3;
    }

}
.archive-banner-title {
    background-color: rgba(0,0,0,0.65);
    display: block;
    width: 100%;
}
#pagination a {
    color: #000;
}
.top-bar input[type=search]::placeholder,
.top-bar input[type=text]::placeholder {
    color: rgba(0,0,0,0.5);;
}
.top-bar input[type=search]:focus,
.top-bar input[type=text]:focus {
    width: 50%;
    border: 0px solid rgba(255,255,255,0.5);
}
.navbar input[type=text] {
    width: 50%;
    box-sizing: border-box;
    border: 0px solid rgba(255,255,255,0.5);
    border-radius: 0px;
    font-size: 16px;
    color: #000;
    background-color: transparent;
    background-position: 10px 10px; 
    background-size: 22px 22px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 50px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}
.navbar-toggler {
    padding-left: 0;
    padding-right: 0;
    border: 0;
}

.navbar input[type=text]::placeholder {
    color: rgba(0,0,0,0.5);;
}
.navbar input[type=search]::placeholder {
    color: rgba(0,0,0,0.5);;
}
.navbar input[type=text]:focus {
    width: 100%;
    border: 0px solid rgba(255,255,255,0.5);
}


/* Navbar */
.desktop-navigation {
    background: #fff;
    z-index: 39999999;
    margin-bottom: 30px;
}
body.post-type-archive-project .desktop-navigation,
body.page-template-page-landing .desktop-navigation,
body.home .desktop-navigation {
    margin-bottom: 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
    font-weight: 500;
    letter-spacing: .05em;
    padding-right: 1em;
    padding-left: 1em;
}
.navbar-light .navbar-nav .nav-link {
    color: #000;
    text-transform: uppercase;
}
body.single-project .navbar-light .navbar-nav .menu-item-object-project .nav-link,
.navbar-light .navbar-nav .active>.nav-link, 
.navbar-light .navbar-nav .nav-link.active, 
.navbar-light .navbar-nav .nav-link.show, 
.navbar-light .navbar-nav .show>.nav-link,
.navbar-light .current-menu-ancestor .nav-link {
    color: #979797;
    border-bottom: solid 4px #979797;
    margin-bottom: -4px;

}
.navbar-nav li.menu-item:last-child a.nav-link {
    padding-right: 0;
}

.navbar-brand img {
    height: 35px;
    width: auto;
}
@media (min-width: 992px) {
    .navbar-brand img {
        width: 240px;
        height: auto;
    }
}@media (min-width: 1200px) {
    .navbar-brand img {
        width: 340px;
        height: auto;
    }
}




ul.sidebar-menu {
    margin-bottom: 0;
}
ul.sidebar-menu,
ul.sidebar-menu ul 
{
    list-style: none;
    padding-left: 0;
}
ul.sidebar-menu > li {
    display: none;
}
ul.sidebar-menu li.current-menu-item,
ul.sidebar-menu li.current-menu-ancestor {
    display: block;
}
ul.sidebar-menu > li.current-menu-item > a:first-child,
ul.sidebar-menu > li.current-menu-ancestor > a:first-child {
    border-top: 1px solid #ccc;
    display: block;
    padding-top: .7em;
    padding-bottom: .7em;
}
ul.sidebar-menu > li.current-menu-item > a:only-child,
ul.sidebar-menu > li.current-menu-ancestor > a:only-child {
    display: none;
}
hr.white-line {
    height: 0;
    border-bottom: 1px solid #fff;
}
ul.sidebar-menu > li.menu-item > ul > li.menu-item > a {
    color: #000;
    border-top: 1px solid #ccc;
    display: block;
    margin-bottom: .7em;
    padding-top: .7em;

}
ul.sidebar-menu > li.menu-item > ul > li.menu-item:last-child > a {
    border-bottom: 1px solid #ccc;
    padding-bottom: .7em;
}
ul.sidebar-menu li.current-menu-item > a {
    color: #000;
    font-weight: bold;
}
ul.sidebar-menu li ul li.current-menu-item > a {
    color: #000;
    font-weight: bold;
}
ul.sidebar-menu li ul li.menu-item:last-child {
    margin-bottom: 2em;
}
ul.sidebar-menu li ul li ul {
    color: #000;
    border-left: 4px solid #e3e3e3;
    padding-left: 11px;
}
ul.sidebar-menu li ul li ul li.menu-item > a {
    color: #333;
    font-size: .85em;
}



.project-search-box {
    padding: 15px;
    background-color: #e9e9e9;
}



.under-banner-boxes {
    position: relative;
    width: 100%;
    z-index: 29999999;
}  
.under-banner-boxes form {
    margin-bottom: -25px !important;
}
.white-box {
    margin: 15px 0 0 0;
    padding: 0;
    background: #fff;
}
@media (min-width: 992px) {
    .white-box {
        margin: -20px -15px 0 -15px !important;
        padding: 20px 15px 5px 15px;
        background: #fff;
    }
}
.grey-box {
    background: #eee;
    padding: 15px;
    margin-bottom: 30px;
}



/*Home template boxes */
div.home-template-box,
a.home-template-box {
    display: block;
    padding: 15px;
    margin-bottom: 20px;
    color: #000;
}
a.home-template-box:hover {
    text-decoration: none;
}
.home-template-box h3 {
    font-size: 1.3em;
}


















ul.header-mobile-menu {
    font-size: .85em;
    list-style: none;
    padding-left: 0;
    line-height: 1.2;
}
ul.header-mobile-menu li {
    margin: 0;
}
ul.header-mobile-menu li a{
    color: #000;
}
ul.header-mobile-menu {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}
/*     ul.header-mobile-menu li {
        -webkit-column-break-inside: avoid;
        -moz-column-break-inside: avoid;
        column-break-inside: avoid;

    }
*/
ul.header-mobile-menu > li {
    line-height: 1.2;
    border-top: 1px solid #f3f3f3;
    padding-top: .5em;
    padding-bottom: .5em;
    list-style: none;
    padding-bottom: 1em;
    padding-left: 0;
}
ul.header-mobile-menu > li:first-child {
    border-top: 0;
    padding-top: 0em;
}
ul.header-mobile-menu li ul {
    list-style: none;
    padding-left: 0;
}
ul.header-mobile-menu li a {
    font-weight: bold;
}
ul.header-mobile-menu li ul li{
    padding-top: .4em;
    padding-bottom: .4em;
}
ul.header-mobile-menu li ul li a {
    font-weight: normal;
    color: #666;
    padding-left: 0em;
    font-size: .85em;
}
ul.header-mobile-menu li ul li ul li a {
    font-weight: normal;
    color: #999;
    padding-left: .5em;
    font-size: .85em;
}
ul.header-mobile-menu li.current-menu-item  {
    font-weight: bold;
    padding-left: 1em;
    border-left: 4px solid #000;
    background: #eee;
    display: block;
}








/* Footer */
footer {
    display: block;
    background-color: #d6d6d6;
}

footer a, footer a:hover {
    color: #fff;
}
footer ul.footer-menu {
    list-style: none;
    padding-left: 0;
    line-height: 1.5;
}
footer ul.footer-menu li {
    margin: 0;
}
footer ul.footer-menu li a {
    color: #000;
}

footer hr {
    height: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin: 2em 0;
}
footer h3 {
    font-size: 2em;
    line-height: 1.4;
    font-weight: normal;
}
footer img {
    height: 70px;
    width: auto;
}
@media (min-width: 1px) {
    ul.footer-menu {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
    ul.footer-menu li {

        -webkit-column-break-inside: avoid;
        -moz-column-break-inside: avoid;
        column-break-inside: avoid;


    }
    footer img {
        height: 100px;
        width: auto;
    }
}
ul.footer-menu > li {
    list-style: none;
    padding-bottom: 0em;
    padding-left: 0;
}
ul.footer-menu li ul {
    list-style: none;
    padding-left: 0;
}
ul.footer-menu li a {
    font-weight: bold;
}
ul.footer-menu li ul li a {
    font-weight: normal;
    color: #666;
    padding-left: 0em;
    font-size: .9em;
}
ul.footer-menu li ul li:last-child {
    padding-bottom: 1em;
}
ul.footer-menu > li > a:only-child {
    display: block;
    margin-bottom: 1em;
}


/* Assistive text */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    position: absolute !important;
    height: 1px;
    width: 1px;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    text-transform: none;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}

.hide {
    display: none;
}
/* Clearing floats */

.footer-sidebar:before,
.footer-sidebar:after,
.hentry:before,
.hentry:after,
.gallery:before,
.gallery:after,
.slider-direction-nav:before,
.slider-direction-nav:after,
.contributor-info:before,
.contributor-info:after,
.search-box:before,
.search-box:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
    content: "";
    display: table;
}

.footer-sidebar:after,
.hentry:after,
.gallery:after,
.slider-direction-nav:after,
.contributor-info:after,
.search-box:after,
[class*="content"]:after,
[class*="site"]:after {
    clear: both;
}

/* Genericons */

.bypostauthor > article .fn:before,
.comment-edit-link:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.contributor-posts-link:before,
.menu-toggle:before,
.search-toggle:before,
.slider-direction-nav a:before,
.widget_twentyfourteen_ephemera .widget-title:before {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font: normal 16px/1 Genericons;
    text-decoration: inherit;
    vertical-align: text-bottom;
}

/* Separators */

.site-content span + .entry-date:before,
.full-size-link:before,
.parent-post-link:before,
span + .byline:before,
span + .comments-link:before,
span + .edit-link:before,
.widget_twentyfourteen_ephemera .entry-title:after {
    content: "\0020\007c\0020";
}
/**
 * 6.5 Gallery
 * -----------------------------------------------------------------------------
 */

.gallery {
    margin-bottom: 20px;
}

.gallery-item {
    float: left;
    margin: 0 4px 4px 0;
    overflow: hidden;
    position: relative;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 48%;
    max-width: -webkit-calc(50% - 4px);
    max-width:         calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
    max-width: 32%;
    max-width: -webkit-calc(33.3% - 4px);
    max-width:         calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
    max-width: 23%;
    max-width: -webkit-calc(25% - 4px);
    max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
    max-width: 19%;
    max-width: -webkit-calc(20% - 4px);
    max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
    max-width: 15%;
    max-width: -webkit-calc(16.7% - 4px);
    max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
    max-width: 13%;
    max-width: -webkit-calc(14.28% - 4px);
    max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
    max-width: 11%;
    max-width: -webkit-calc(12.5% - 4px);
    max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
    max-width: 9%;
    max-width: -webkit-calc(11.1% - 4px);
    max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
    margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1),
.widget-area .gallery-columns-2 figure.gallery-item:nth-of-type(2n+1),
.widget-area .gallery-columns-3 figure.gallery-item:nth-of-type(3n+1),
.widget-area .gallery-columns-4 figure.gallery-item:nth-of-type(4n+1),
.widget-area .gallery-columns-5 figure.gallery-item:nth-of-type(5n+1),
.widget-area .gallery-columns-6 figure.gallery-item:nth-of-type(6n+1),
.widget-area .gallery-columns-7 figure.gallery-item:nth-of-type(7n+1),
.widget-area .gallery-columns-8 figure.gallery-item:nth-of-type(8n+1),
.widget-area .gallery-columns-9 figure.gallery-item:nth-of-type(9n+1) {
    clear: left;
}

.gallery-caption {
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-height: 50%;
    opacity: 0;
    padding: 6px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 100%;
}

.gallery-caption:before {
    content: "";
    height: 100%;
    min-height: 49px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption,
.widget-area .gallery-columns-2 .gallery-caption,
.widget-area .gallery-columns-3 .gallery-caption,
.widget-area .gallery-columns-4 .gallery-caption,
.widget-area .gallery-columns-5 .gallery-caption,
.widget-area .gallery-columns-6 .gallery-caption,
.widget-area .gallery-columns-7 .gallery-caption,
.widget-area .gallery-columns-8 .gallery-caption,
.widget-area .gallery-columns-9 .gallery-caption {
    display: none;
}


/**
 * 6.7 Post/Image/Paging Navigation
 * -----------------------------------------------------------------------------
 */

.nav-links {
    -webkit-hyphens: auto;
    -moz-hyphens:    auto;
    -ms-hyphens:     auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    hyphens:         auto;
    word-wrap: break-word;
}

.post-navigation,
.image-navigation {
    margin: 24px auto 48px;
    max-width: 474px;
    padding: 0 10px;
}

.post-navigation a,
.image-navigation .previous-image,
.image-navigation .next-image {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 11px 0 12px;
    width: 100%;
}

.post-navigation .meta-nav {
    color: #767676;
    display: block;
    font-size: 12px;
    font-weight: 900;
    line-height: 2;
    text-transform: uppercase;
}

.post-navigation a,
.image-navigation a {
    color: #2b2b2b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7142857142;
    text-transform: none;
}

.post-navigation a:hover,
.image-navigation a:hover {
    color: #41a62a;
}

/* Paging Navigation */

.paging-navigation {
    border-top: 5px solid #eee;
    margin: 48px 0;
}

.paging-navigation .loop-pagination {
    margin-top: -5px;
    text-align: center;
}

.paging-navigation .page-numbers {
    border-top: 5px solid transparent;
    display: inline-block;
    font-size: 14px;
    font-weight: 900;
    margin-right: 1px;
    padding: 7px 16px;
    text-transform: uppercase;
}

.paging-navigation a {
    color: #3078a7;
}

.paging-navigation .page-numbers.current {
    border-top: 5px solid #3078a7;
}

.paging-navigation a:hover {
    border-top: 5px solid #3078a7;
    color: #3078a7;
}

.paging-navigation .page-numbers.current

#cookie-notice .button {
    background-color: #fff !important;
    color: #000 !important;
    padding: 5px 10px;
}
#cookie-notice .button:hover  {
    background-color: #ccc;
    color: #000;
}

.mc4wp-form input {
    background-color: transparent;
    border: 1px solid #444;
    color: rgba(255,255,255,1);
    font-size: 1.3em;
    
}
.mc4wp-form input:focus {
    background-color: transparent;
    border: 1px solid #444;
    color: rgba(255,255,255,1);
}
.mc4wp-form input::placeholder {
    color: rgba(255,255,255,0.5);
}
.mc4wp-form input[type=submit] {
    background: #444;
    border: 0;
}
.mc4wp-form input[type=submit]:hover {
    background: #666;
    border: 0;
}
form.form-inline .mc4wp-alert {
    display: block !important;
    width: 100%;
}
form .mc4wp-alert p {
    text-align: center !important;
    color: #fff;
}
