/*------------------------------------*\

    Posts CSS

    Posts.................Post content for loop on blog homepage, category, search page, archives, etc.
    Sidebar...............Sidebar elements.

\*------------------------------------*/

.single .bialty-container section:first-child {
    padding-top: 0 !important;
}

.post-item {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    margin-top: 30px;
}

.post-item:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.post-item__heading a {
    text-decoration: none;
}

.post-item .btn,
.post-item .btn-primary {
    margin-top: 30px;
}

.post-item__meta {
    font-size: .8em;
}

.blog-post__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-listing,
.post-listing {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -20px;
}

.blog-post__item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
    width: calc(100% / 1 - 40px);
    margin: 20px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.blog-post__item::before {
    content: '';
    position: absolute;
    bottom: 0;
    letter-spacing: 0;
    width: 0;
    height: 6px;
    border-radius: 0 0 10px 10px;
    background-color: var(--color-orange);
    transition: 0.5s ease-in-out;
}

.blog-post__img-container {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.blog-post__img-container.has-img {
    height: 180px;
    margin-bottom: 0;
}

.blog-post__img-container{ margin-bottom: 40px; }

.blog-post__meta {
    position: relative;
    padding: 0 40px 30px;
    margin-top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post__meta.has-img {
    margin-top: -13px;
}

    .blog-post__tags {
        max-width: fit-content;
        top: 160px;
        left: 40px;
        background: #cfe0eb;
        border-radius: 50px;
        padding: 0px 15px;
        font-size: 12px;
        text-transform: uppercase;
    }

        .blog-post__tags a {
            display: inline-block;
            color: #003b5d;
            padding: 0;
            text-decoration: none !important;
            font-weight: 700;
        }

.news .blog-post__title {
	margin-top: 30px;
}

.blog-post__title {
    margin-top: 15px;
    font-size: 18px;
    text-transform: capitalize;
}

    .blog-post__title a {
        font-weight: 700;
        line-height: 1.4;
        color: #003b5d;
    }

.blog-post__link {
    display: flex;
    transition: all 0.3s;
    text-decoration: none !important;
    width: fit-content;
}

.blog-post__link::before {
    height: 2px;
}

.blog-post__link:after {
    content: "\e95e";
    font-family: 'icomoon' !important;
    margin-left: 10px;
    font-size: 20px;
}

.blog-single-container .news-feat-img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

@media(min-width: 768px) {
    .blog-post__item {
        width: calc(100% / 2 - 50px);
    }

    .blog-single-container .news-feat-img {
        height: 500px;
    }
}

@media (min-width: 1025px) {
    .post-item {
        padding-top: 50px;
        margin-top: 50px;
    }

    .blog-post__item:hover::before,
    .blog-post__item:hover .blog-post__link::before {
        width: 100%;
    }

    .blog-post__item:hover .blog-post__img {
        transform: scale(1.1);
    }
}


/**
 * Sidebar
 */

/* Blog Sidebar */

.blog .page-sidebar .widget,
.archive .page-sidebar .widget {
	margin-bottom: 20px;
}

.single .page-sidebar .widget {
    margin-bottom: 20px;
}

.blog .page-sidebar .widget:last-of-type,
.archive .page-sidebar .widget:last-of-type,
#block-11 { margin-bottom: 0; }

.single .page-sidebar {
    padding: 40px 40px 10px;
}

.page-sidebar {
    background-color: #e9edf1;
    border-radius: 10px;
    padding: 40px 0 10px;
    margin-bottom: 40px;
}

.page-sidebar form {
    margin: 0;
    position: relative;
}

.page-sidebar h4 {
    font-size: 14px;
    color: #003B5D;
    text-transform: uppercase;
}

.page-sidebar .choices__inner {
    background: #fff !important;
}

    .wp-block-search__button {
        position: absolute;
        right: 0px;
        font-size: 0;
        width: 40px;
        height: 45px;
        background-color: transparent;
        border: none;
        bottom: 1px;
    }

    .wp-block-search__input {
        padding: 10px 15px;
        padding-right: 40px;
        border-color: #e0e1e5;
    }

        .wp-block-search__button:after {
            content: "\e909";
            font-size: 15px;
            font-weight: 600;
            font-family: 'icomoon';
            color: #003b5d;
        }

    /*.page-sidebar .wpp-list li {
    	background-color: red;
    }*/

    .wpp-list { padding: 0 !important; }

    	.wpp-list li {
		    margin: 0;
		    padding: 15px;
		    display: flex;
		    align-items: center;
		    margin: 10px 0;
		    border-radius: 10px;
		    background-color: #fff;
		}

        .wpp-list li:before {
            content: none;
        }

			.wpp-list li a {
			    line-height: 1.4 !important;
			    color: #003b5d !important;
			    font-size: 15px !important;
			    font-weight: 600 !important;
			}

	.mailpoet-heading {
		margin-top: 20px;
	}

		.mailpoet-heading span {
			font-family: 'Montserrat',sans-serif !important;
			font-weight: 700;
			font-size: 30px;
		}

	.mailpoet_paragraph.btn {
		display: flex !important;
		justify-content: center !important;
	}

	.mailpoet_paragraph.btn input {
		line-height: 1 !important;
		padding: 0 !important;
		background-color: transparent;
		width: fit-content !important;
		margin: 0 !important;
	}

	.mailpoet_text { color: #000; }

	.wpp-list li a:first-of-type {
	    width: 30%;
	    padding-left: 0;
	    height: 70px;
	}

	.wpp-list li a {
	    width: 70%;
	    padding-left: 20px;
	}

		.wpp-thumbnail {
			width: 100%;
			height: 100%;
			object-fit: cover;
			border-radius: 5px;
		}

/**
* FX Load More
*/

/* Load More Progress Bar */
.load-more { text-align: center; }


.load-more__progress {
    margin-top: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 10px;
    border: 0;
    border-radius: 0;
    min-width: 250px;
}
progress::-webkit-progress-bar,
progress::-webkit-progress-value,
progress::-moz-progress-bar {
    height: 10px;
    border: 0;
    border-radius: 0;
}
progress::-webkit-progress-bar {
    background-color: #ddd;
}
progress::-webkit-progress-value {
    background-color: #4a4a4a; /* TODO: Please add a branded background color for progress bar value */
}

/* Loading Indicator */
.is-loading:before  {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid;
    border-color: #E3E3E3 #E3E3E3 transparent;
    border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: simpleSpin 1.5s linear infinite;
    animation: simpleSpin 1.5s linear infinite;
}

/* Load More Button */
.load-more__btn {
    border: 0;
    display: block;
    margin: 20px auto 0;
    background-color: #003b5d;
    color: #fff;
}

.load-more__btn.is-loading {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more__btn.is-loading:before {
    width: 20px;
    height: 20px;
}

.load-more__btn.is-disabled {
    cursor: not-allowed;
    background-color: #4a4a4a;
}

/* Placeholder Space */
.placeholder-block {
    position: relative;
    display: flex;
}

.placeholder-block__inner {
    flex-grow: 1;
    background-color: #fafafa;
}

.placeholder-block.is-loading:before {
    width: 50px;
    height: 50px;
}

@-webkit-keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}


/* Search Results */
.search-result {
    text-decoration: none;
}

.search-result__title {
    margin-bottom: 16px;
}

.search-result__excerpt {
    margin-bottom: 20px;
}

/*
////  Feat Post
*/

.feat-post {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    overflow: hidden;
    flex-direction: column;
}

    .feat-image,
    .feat-content {
        width: 100%;
    }

    .feat-image {
        position: relative;
        min-height: 200px;
    }

        .feat-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            object-position: top;
        }

    .feat-content {
        background-color: #003b5d;
        padding: 50px 20px 50px 20px;
        color: #fff;
    }

    .feat-post-intro {
        display: flex;
        margin-bottom: 20px;
        color: #f6862a;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 1.4px;
    }

        .feat-post-intro .sitelog-rays {
            margin-right: 7px;
        }

    .post-contents {}

    .post-contents h3 {
        font-weight: 700;
    }

@media(min-width: 768px) {
    .feat-content {
        padding: 50px 80px 50px 80px;
    }

    .feat-post-intro {
        margin-left: -80px;
    }
}

@media(min-width: 1025px) {
    .feat-post {
        flex-direction: row;
        z-index: 2;
        position: relative;
        margin-top: 50px;
    }

    .feat-image,
    .feat-content {
        width: 50%;
    }

    .feat-post-intro {
        margin-left: 0;
    }
}

@media(min-width: 1200px) {
    .feat-post {
        flex-direction: row;
        z-index: 2;
        position: relative;
    }

    .feat-image,
    .feat-content {
        width: 50%;
    }

    .feat-post-intro {
        margin-left: -80px;
    }
}

/*Footer CTA*/
/* Start New CTA Styles Starts Here */

.new-cta {
    padding: 76px 0 166px;
    background-color: var(--color-orange);
    background-image: linear-gradient(to left, var(--color-orange), #F8B57C);
    overflow: hidden;
    position: relative;
}

.cta-img {
    position: absolute;
    width: 30%;
    object-fit: cover;
    top: 0;
    opacity: 0.4;
}

.cta-img.left { left: 0; }

.cta-img.right { right: 0; }

@media (max-width: 1024px) {
    .new-cta {
        padding: 50px 0 140px;
    }
}

.new-cta .container {
    position: relative;
    z-index: 3;
}

.new-cta h2 {
    margin: 0 0 20px;
    color: var(--color-white);
    font-weight: bold;
    letter-spacing: 0.05em;
    padding: 0 10px;
    line-height: 1.2em;
}

.new-cta__container {
    max-width: 1098px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 1024px) {
    .new-cta__container {
        max-width: 100%;
    }
}

.new-cta__illustration {
    position: absolute;
    width: 900px;
    height: 676px;
    bottom: 0;
}

.new-landing-page .new-cta__illustration svg path {
    stroke: var(--color-white);
}

.new-landing-page .new-cta__illustration svg g {
    opacity: 0.2;
}

@media (max-width: 1024px) {
    .new-cta__illustration {
        width: 665px;
        height: 500px;
        bottom: -75px;
    }

    .new-cta__illustration svg {
        width: 665px;
        height: 500px;
    }
}

@media (max-width: 767px) {
    .new-cta__illustration {
        bottom: -187px;
    }
}

.new-cta__illustration--right {
    right: 0;
    transform: scale(-1, 1);
}

.new-cta__illustration svg {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotate(90deg) translateY(31%) translateX(-6%);
}

.new-cta__illustration svg path {
    fill: var(--color-white);
}

/***************************
 Calender Events Plugin
***************************/
.tribe-events-l-container {
    padding-bottom: 100px !important;
}

.tribe-events-c-events-bar--border {
    border: none !important;
}

.tribe-events-events-bar-wrapper {
    border-radius: 8px;
    border: 1px solid #D6D7DB !important;
}

.tribe-events-c-search__input-control {
    margin: 0 !important;
    padding-right: 0;
}

@media (min-width: 767px) {
    .tribe-events-c-search__input-control {
        padding-right: 32px !important;
    }
}

.tribe-events-c-search__input-control label {
    display: none;
}

@media (min-width: 767px) {
    .tribe-events-c-search__input-control label {
        display: block;
        margin-bottom: 10px;
    }
}

.tribe-events-c-search__input {
    margin: 0 !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #2E3532 !important;
}

.tribe-events-c-search__input::placeholder {
    color: rgba(46, 53, 50, 0.5) !important;
}

.tribe-events-events-bar-wrapper {
    position: relative;
}

.tribe-events-c-search__button {
    position: absolute;
    width: auto !important;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: transparent !important;
    margin-top: 0 !important;
}

@media (min-width: 767px) {
    .tribe-events-c-search__button {
        width: 100%;
    }
}

.tribe-events-c-search__button span {
    font-size: 16px;
    color: #003B5D;
}

.tribe-events-c-events-bar__views {
    max-width: 300px;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start !important;
}

.tribe-events-c-events-bar__views h3 {
    display: none;
    font-size: 14px;
    color: #003B5D;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.5 !important;
}

@media (min-width: 767px) {
    .tribe-events-c-events-bar__views h3 {
        display: block;
    }
}

.tribe-events-c-view-selector__button {
    padding: 4px !important;
}

@media (min-width: 767px) {
    .tribe-events-c-view-selector__button {
        padding: 16.5px 20px !important;
        border: 1px solid #D6D7DB !important;
        border-radius: 8px !important;
    }
}

.tribe-events-c-view-selector__button--active {
    border-radius: 8px 8px 0 0 !important;
}

.tribe-events-c-view-selector__button--active::before {
    background-color: #F6862A !important;
}

.tribe-events-c-view-selector__content {
    border-radius: 0 0 8px 8px !important;
}

@media (min-width: 767px) {
    .tribe-events-c-view-selector__content {
        width: 100% !important;
        transform: translateY(0) !important;
    }
}

.tribe-events-c-view-selector__button-text {
    color: #2E3532 !important;
    font-weight: 400 !important;
}

.tribe-events-c-view-selector__button .icon-chevron-down {
    margin-left: 20px !important;
    width: auto !important;
    height: auto !important;
    font-size: 24px !important;
    color: #F6862A !important;
}

.tribe-events-c-top-bar__datepicker-desktop {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 38px !important;
    font-weight: 600 !important;
    color: #003B5D !important;
}

.tribe-events-c-top-bar__datepicker-button-icon-svg {
    margin-left: 15px !important;
    width: 14px !important;
    height: 16px !important;
}

.tribe-common-c-svgicon__svg-fill {
    fill: #003B5D !important;
}

.datepicker th {
    background-color: transparent !important;
}

.datepicker table tr td span.active.active {
    background-color: #F6862A !important;
}

.tribe-events .datepicker .month.current {
    background-color: rgba(246, 134, 42, 0.5) !important;
}

.tribe-events-view-loader__dots svg {
    fill: #F6862A !important;
    color: #F6862A !important;
    background-color: #F6862A !important;
    border-radius: 50% !important;
}

.tribe-events-calendar-month__header {
    background-color: #F6862A;
    border-radius: 8px 8px 0 0 !important;
}

.tribe-events-calendar-month__header-column {
    padding: 20px 0 !important;
}

.tribe-events-calendar-month__header-column-title-desktop {
    font-family: 'Montserrat', sans-serif !important;
    text-align: center;
    color: #fff;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.tribe-events-calendar-month__day-date-daynum {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0A3B5E !important;
}

@media (min-width: 767px) {
    .tribe-events-calendar-month__day-date-daynum {
        font-size: 22px !important;
    }
}

.tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date-daynum {
    color: #D1D1D6 !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day:hover:after {
    background-color: #F6862A;
}

.tribe-events-calendar-month__day-date {
    padding: 10px !important;
}

.tribe-events-calendar-month__calendar-event {
    padding: 0 10px 10px 10px !important;
}

.tribe-events .tribe-events-calendar-month__calendar-event--featured:before {
    display: none !important;
}

.tribe-events-calendar-month__calendar-event-featured-image {
    border-radius: 8px;
    margin-bottom: 10px !important;
}

.tribe-events-calendar-month__calendar-event-datetime-featured-icon {
    display: none !important;
}

.tribe-events .tribe-events-calendar-month__calendar-event-datetime,
.tribe-events-calendar-list__event-datetime-wrapper {
    font-family: 'Montserrat', sans-serif !important;
    color: #F58526 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
}

.tribe-events-calendar-month__calendar-event-title-link,
.tribe-events-calendar-list__event-title-link {
    font-family: 'Montserrat', sans-serif !important;
}

.tribe-events-calendar-month__calendar-event-title-link {
    font-size: 12px !important;
    line-height: 1.5em !important;
    color: #0A3B5E !important;
}

.tribe-events-c-subscribe-dropdown__container,
.tribe-events-calendar-list__event-datetime-featured-icon,
.tribe-events-calendar-list__event-datetime-featured-text,
.tribe-events-calendar-day__event-datetime-featured-text,
.tribe-events-calendar-day__event-datetime-featured-icon,
.tribe-events-calendar-month__mobile-events-icon,
.tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-icon,
.tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text {
    display: none !important;
}

.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after,
.tribe-events .tribe-events-calendar-day__event--featured:after,
.tribe-events-calendar-month__day-cell--selected {
    background-color: #F6862A !important;
}

.tribe-events .tribe-events-calendar-month__header-column-title {
    color: #fff;
}

/* Calendar Events Single Pages */
.tribe-events-single {
    max-width: 1366px;
    width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 767px) {
    .tribe-events-single {
        padding-left: 53px;
        padding-right: 53px;
    }
}

@media (min-width: 1025px) {
    .tribe-events-single {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.tribe-events-back {
    display: none !important;
}

.tribe-events-single-event-title {
    color: #003b5d;
    text-align: center;
}

.tribe-events-schedule {
    text-align: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
}

.tribe-events-schedule h2 {
    margin-right: 0 !important;
}

.tribe-events-event-image {
    display: flex;
    justify-content: center;
}

.tribe-events-event-image img {
    height: auto;
}

.tribe-events-cal-links {
    margin-bottom: 20px !important;
}

/* Events Calendar Newsletter */
.new-landing-page {
    position: relative;
}

.newsletter {
    display: inline-block;
    position: fixed;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    right: -314px;
    border-radius: 24px 0px 0px 24px;
    background: linear-gradient(#f8b57c 0%, #f6862a 100%);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
}

@media (min-width: 767px) {
    .newsletter {
        right: -321px;
    }
}

@media (min-width: 1200px) {
    .newsletter {
        display: inline-block;
        right: -330px;
    }

    .newsletter:hover {
        right: 0;
    }
}

.newsletter.active {
    right: 0;
}

.newsletter-wrapper {
    position: relative;
    padding: 35px 22px 35px 52px;
}

@media (min-width: 767px) {
    .newsletter-wrapper {
        padding: 35px 25px 35px 65px;
    }
}

@media (min-width: 1200px) {
    .newsletter-wrapper {
        padding: 35px 30px 35px 90px;
    }
}

.newsletter-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    background: #F6862A;
    padding: 15px;
    border-radius: 24px 0px 0px 24px;
    box-sizing: border-box;
}

@media (min-width: 767px) {
    .newsletter-wrapper::before {
        padding: 15px 20px;
    }
}

@media (min-width: 1200px) {
    .newsletter-wrapper::before {
        padding: 15px 30px;
    }
}

.newsletter-button {
    position: absolute;
    transform: rotate(-90deg) translateY(-50%);
    white-space: nowrap;
    top: 47%;
    left: -86px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

@media (min-width: 767px) {
    .newsletter-button {
        left: -98px;
        font-size: 15px;
    }
}

@media (min-width: 1200px) {
    .newsletter-button {
        left: -105px;
        font-size: 17px;
    }
}

.newsletter form {
    width: 270px;
    margin-bottom: 0;
    text-align: center;
}

.newsletter form label {
    text-transform: none;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3em;
    text-align: center;
    margin-bottom: 20px;
}

.newsletter form .wpcf7-form-control-wrap {
    margin-bottom: 20px;
}

.newsletter form .wpcf7-not-valid-tip {
    color: #fff !important;
    background-color: transparent;
}


/* Project Gallery  */

.project-gallery {
    height: 500px;
    display: none;
}

.project-gallery.slick-initialized {
    display: block;
}

.project-gallery .slick-arrow {
    z-index: 9;
}

.project-gallery .slick-slider,
.project-gallery .slick-list,
.project-gallery .slick-track,
.project-gallery .slick-slide > div,
.project-gallery__content {
    height: 100%;
}

.project-gallery__content img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
