body {
    overflow-x: hidden;
}

.navigation .menu-item a, .navigation .menu-item:hover a {
    color: #fff !important;
}

.header {
    background-color: #296380 !important;
    padding-top: 50px;
    padding-bottom: 20px;
    z-index: 100;
}
.site-title {
    text-align: left;
    font-size: 70px;
}
.site-title a:hover,
.site-title a:focus {
    color: #fff;
}
.header + .navigation {
    background-color: #fff !important;
}
.navigation .menu-item a, .navigation .menu-item:hover a {
    color: #505F67 !important;
}

.menu-item.menu-item-has-children .sub-menu li a,
.menu-item.menu-item-has-children .sub-menu li:hover a {
    color: #505F67 !important;
}
.navigation .menu-item.current-menu-item a {
    color: #296C8E;
}

.menu-item.menu-item-has-children .sub-menu  {
    background: #F5F5F5 !important;
}

.menu-item.menu-item-has-children {
    position: static;
}

.menu-item.menu-item-has-children .sub-menu {
    width: 100vw;
    left: 0;
    margin-left: 0;
    display: flex;
    justify-content: center;
    padding-top: 0;
    box-shadow: 2px 3px 4px rgba(0,0,0,.2);
    background: #f5f5f5;
    top: 68px;
}

.menu-item.menu-item-has-children .sub-menu:before {
    content: none;
}

.menu-item.menu-item-has-children:hover a:after {
    width: 10px;
    height: 1px;
    background:#505F67;
    border: none;
}

.menu-item.menu-item-has-children:hover > a:before {
    opacity: 0;
}

.menu-item.menu-item-has-children > a:after {
    width: 10px;
    height: 1px;
    background: #505F67;
    border: none;
}

.menu-item.menu-item-has-children > a:before {
    content: '';
    transform: rotate(90deg);
    width: 10px;
    height: 2px;
    background: #A2A9AE;
    border: none;
    display: block;
    margin-top: -2px;
    position: absolute;
    right: 29px;
    top: 50%;
    z-index: 1001;
}


.menu-item.menu-item-has-children .sub-menu li {
    background: transparent;
}

.menu-item.menu-item-has-children .sub-menu li:first-of-type a {
    padding-right: 0;
}

.menu-item.menu-item-has-children .sub-menu li:last-of-type a {
    padding-left: 0;
}

.menu-item.menu-item-has-children .sub-menu li:not(:first-of-type):not(:last-of-type) a {
    padding-left: 0;
    padding-right: 0;
}

.content [id*='post'] {
    background: #F5F5F5 !important;
    box-shadow: none;
    border: 1px solid rgba(145, 145, 145, .2);
}

.page .post-header:before,
.page .post-header:after {
    content: none ;
}

.post-header {
    border-bottom: 1px solid rgba(145, 145, 145, .2);
}

.post-header .post-title {
    color: #2D657E;
}

.post-content h4 {
    color: #296C8E;
    font-family: "Sorts Mill Goudy";
    font-size: 24px;
    position: relative;
}

.post-content h4:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 15px;
    height: 1px;
    background: #296C8E;
    transform: translateY(5px);
}


.type-post .entry-wrapper {
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.16);
    background: #fff;
    padding: 20px 25px 30px;
    position: relative;
    transform: translateY(-10px);
    display: flex;
    flex-direction: column;
}

.type-post .post-thumbnail {
    overflow: hidden;
}

.type-post .post-thumbnail  img {
    transition: all .2s ease-out;
}

.type-post:hover .post-thumbnail img {
    transform: scale(1.1);
    opacity: .9;
}

.wpnbha .entry-title a {
    font-family: "Sorts Mill Goudy";
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
    color: #296c8e !important;
    text-transform: uppercase;
    margin-top: 20px;
    display: inline-block;
}

.wpnbha .entry-wrapper time {
    font-family: "Sorts Mill Goudy";
    font-weight: normal;
    font-size: 16px;
    line-height: 12px;
    text-align: right;
    color: #296c8e;
    margin-left: auto;
}


.wpnbha .entry-wrapper .entry-meta {
    order: 1;
}

.wpnbha .entry-wrapper .entry-title {
    order: 2;
}

.wpnbha .entry-wrapper > a {
    order: 3;
    display: block;
    width: 25px;
    height: 25px;
    background: #296C8E;
    border-radius: 50%;
    margin-left: auto;
    position: relative;
    font-size: 0;
}

.wpnbha .entry-wrapper > a:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-60%, -45%) rotate(-50deg);
    width: 7px;
    height: 7px;
    border: 1px solid #fff;
    border-top: none;
    border-left: none;
}

.wpnbha .entry-wrapper:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 80%;
    border: 1px solid #296c8e;
    opacity: 0.2;
}

.sidebar {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid rgba(145, 145, 145, .2);
}

.sidebar .widget-title {
    color: #2d657e;
    font-family: "Sorts Mill Goudy";
    font-weight: normal;
    font-size: 16px;
    line-height: 26px;
    text-align: left;
    color: #2d657e;
    position: relative;
    margin-bottom: 30px;
		white-space: nowrap;
}

.sidebar .widget-title:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(10px);
    width: 25px;
    height: 1px;
    background: #2d657e;
}

.sidebar p,
.sidebar a {
    color: #505f67;
}


.sidebar .widget-content .cat-item:before,
.sidebar .widget-content li:before,
.sidebar .widget-content .cat-item:before,
.sidebar .widget-content a {
    color: #505f67;
}

.sidebar .widget-content .cat-item:hover:before,
.sidebar .widget-content .cat-item:hover a,
.sidebar .widget-content li:hover:before,
.sidebar .widget-content li:hover a,
.sidebar .widget-content a:hover
{
    color: #505f67;
}

#footer  {
    padding-bottom: 50px;
}

#footer .inner-wrap .section {
    width: 100%;
}

#footer .inner-wrap .section.tags ul {
    display: flex;
    flex-flow: row wrap;
    width: 600px;
}

#footer .inner-wrap .section h4 {
    font-family: "Sorts Mill Goudy";
    font-weight: normal;
    font-size: 20px;
    text-align: left;
    color: #2d657e;
}

#footer .inner-wrap .section.tags ul li a {
    background: #296380;
    border-radius: 0;
    color: #fff;
    padding: 10px;
    font-family: 'Calibri', sans-serif;
}


#footer .inner-wrap .section.tags ul li:hover a {
    background: #296380;
}

#footer .inner-wrap {
    display: flex;
    flex-direction: column;
}

#footer .section.social-icons {
    display: none;
}

#footer .inner-wrap .section.cta {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}


#footer .inner-wrap .section.cta .custom-button {
    margin-right: 20px;
    position: relative;
}

#footer .inner-wrap .section.cta .custom-button:before,
#footer .inner-wrap .section.cta .custom-button:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 1px;
    background: #fff;
    z-index: 1;
}

#footer .inner-wrap .section.cta .custom-button:after {
    left: auto;
    right: 0;
}

#footer .inner-wrap .section.cta .custom-button a {
    padding: 7px 40px;
}

#footer .inner-wrap .section.cta .custom-button a span {
    font-family: "Sorts Mill Goudy";
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

#footer .inner-wrap .section.cta .custom-button a:hover:before {
    opacity: 1;
}

#footer .inner-wrap .section.cta .custom-button a:before {
    background: #296C8E;
    border-radius: 0;
}

#footer .inner-wrap .section.cta .custom-button a:after {
    content: none;
}

.credits.bg-dark {
    background: #296380;
}
.credits .tothetop {
    font-family: "Sorts Mill Goudy";
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
}

.post .post-header:before, .page .post-header:before,
.post .post-header:after, .page .post-header:after{
    content: none;
}
.single .post-meta,
.navigation {
    background: #296380;
}

.single .post-meta > p,
.single .post-meta > p a,
.single .post-meta > time,
.navigation a,
.navigation a:hover,
.navigation a:focus,
.single .post-meta > p a:hover,
.single .post-meta > p a:focus {
    color: #fff;
}



.posts .type-post.format-standard {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 0;
    box-shadow: 6px 6px 12px rgb(0 0 0 / 16%);
}

.posts .type-post.format-standard .post-content {
    order: 3;
    background: #fff;
    padding: 0 20px 30px;
    font-size: 0;

}

.posts .type-post.format-standard .post-content a.more-link {
    width: 35px;
    height: 35px;
    font-size: 0;
    background: #296C8E;
    border-radius: 50%;
    margin-left: auto;
    margin-right: 10px;
    position: relative;
}

.posts .type-post.format-standard .post-content a.more-link:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-60%, -45%) rotate(-50deg);
    width: 7px;
    height: 7px;
    border: 1px solid #fff;
    border-top: none;
    border-left: none;
}

.posts .type-post.format-standard .post-header {
    order: 2;
    background: #fff;
    border: none;
    padding-bottom: 10px;
}

.posts .type-post.format-standard .post-meta {
    background: #fff !important;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
    background: transparent;
}

.posts .type-post.format-standard .post-date {
    font-family: "Sorts Mill Goudy";
    font-weight: normal;
    font-size: 16px;
    line-height: 12px;
    text-align: left;
    color: #296c8e;
}

.posts .type-post.format-standard {
    border: none !important;
}
.posts .type-post.format-standard .post-date i {
    display: none;
}


.posts .type-post .post-meta-container .post-meta {
    justify-content: space-between;
}
.posts .type-post .post-meta-container .post-categories a,
.posts .type-post .post-meta-container .post-tags a,
.posts .type-post .post-meta-container .post-tags a:hover,
.posts .type-post .post-meta-container .post-categories a:hover,
.posts .type-post .post-meta-container .post-tags a:focus,
.posts .type-post .post-meta-container .post-categories a:focus{
    color: #296C8E;
}

.posts .type-post .post-meta-container .post-meta {
    justify-content: flex-end;
    padding-bottom: 0;
}
.posts .type-post .post-meta-container .post-meta > *:not(.post-date) {
    display: none;
}

.posts .type-post .post-meta-container .navigation {
    padding-top: 0;
    padding-left: 20px;
}
.posts .type-post .post-meta-container .navigation,
.posts .type-post .post-meta-container .navigation a {
    background: transparent;
    color: #296C8E;
}

.sharedaddy.sd-block.sd-like.jetpack-likes-widget-wrapper {
    padding: 15px 20px;
    margin-top: 10px;
}

.type-post.format-standard .featured-media {
    min-height: 310px;

}

.type-post.format-standard .featured-media a,
.type-post.format-standard .featured-media a img {
    min-height: 310px;
    object-fit: cover;
    width: 100%;
}

body.single-post .wrapper {
	margin-top: 30px;
}
body.single-post .post-header {
	order: 2;
	border-bottom: 0;
	padding-bottom: 0;
}

body.single-post .post-content{ 
order: 3;
}

body.single-post .post-meta {
	display: flex;
	justify-content: flex-end;
	background: #f5f5f5;;
}


body.single-post .post-meta *:not(.post-date) {
	display: none;
}

body.single-post .post-date {
	color: #2d647e;
	font-family: "Sorts Mill Goudy";
	font-size: 18px;
	font-weight: 400;
	text-align: right;
}

body.single-post .type-post {
	display: flex;
	flex-direction: column;
}

body.single-post .type-post .footer {
	order: 1;
}
/**
 * RESPONSIVE
 * **/
@media screen and (max-width: 1100px) {
    .site-title {
        font-size: 50px;
    }

    .section.header {
        padding-top: 90px !important;
        padding-bottom: 10px !important;
    }
}
@media screen and (max-width: 1000px) {
    .nav-toggle,
    .nav-toggle:before {
        color: #778389;
    }

    .menu-item.menu-item-has-children .sub-menu {
        flex-direction: column;
        align-items: center;
        box-shadow: none;
    }

    .menu-item.menu-item-has-children .sub-menu li a {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .navigation .menu-item.menu-item-has-children > a:before {
        transform: rotate(180deg);
    }

    .type-post .post-meta-container .post-meta {
        flex-direction: column;
    }

    .type-post.format-standard .post-title {
        font-size: 16px;
        line-height: 22px;
    }

    .type-post.format-standard .post-header {
        padding-top: 0;
    }

    .type-post.format-standard .post-content a.more-link {
        width: 25px;
        height: 25px;
    }

    .type-post.format-standard .featured-media {
        min-height: 210px;
    }

    .type-post.format-standard .featured-media a,
    .type-post.format-standard .featured-media a img {
        min-height: 210px;
        object-fit: cover;
    }
}

@media screen and (max-width: 800px) {
    .site-title {
        font-size: 40px;
    }

    .section.header {
        padding-top: 100px !important;
        padding-bottom: 10px !important;
    }

    #footer .inner-wrap  {
        padding: 0 20px;
    }

    #footer .inner-wrap .section.tags ul {
        max-width: 100%;
    }

    #footer .inner-wrap .section.cta {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media screen and (max-width: 600px) {
    .section.header {
        padding: 110px 0  20px !important;
    }
}

@media screen and (min-width: 1300px) {
    .wpnbha .entry-title a {
        font-size: 25px;
        line-height: 35px;
    }

    .wpnbha .entry-wrapper > a {
        width: 35px;
        height: 35px;
    }

    .wpnbha .entry-wrapper time {
        font-size: 20px;
        line-height: 25px;
    }

    .sidebar .widget-title {
        font-size: 20px;
    }

    .sidebar p,
    .sidebar a {
        color: #505f67;
        font-size: 18px !important;
    }


    #footer .inner-wrap .section h4 {
        font-size: 25px;
    }

    #footer .inner-wrap .section.cta .custom-button a span {
        font-size: 18px;
    }

    .posts .type-post.format-standard .post-date {
        font-size: 20px;
        line-height: 25px;
    }

    .posts .type-post.format-standard .post-title {
        font-size: 25px;
        line-height: 35px;
    }

    .posts .type-post.format-standard .post-header {
        padding-top: 0;
    }
}
