/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Helpers & fonts */

:root {
    --site-font-optima: 'Optima LT';
    --site-font-myriad: 'Myriad Pro';
    --site-main-blue: #003d5c;
    --site-main-teal: #00444e;
    --site-main-green: #0a4935;
    --site-main-light-green: #c4d2d0;
    --site-main-dark-green: #002416;
    --site-main-orange: #E87C46;
    --site-main-grey: #f5f5f5;
    --site-main-white: #FFFFFF;
    --site-main-black: #000000;
}

@font-face {
    font-family: 'Optima LT';
    src: url('assets/fonts/Optima.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('assets/fonts/MyriadPro-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('assets/fonts/MyriadPro-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('assets/fonts/MyriadPro-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body a:focus {
    outline: 0 !important;
}

#content {
    overflow: hidden;
}

/* Helpers & fonts end */

/* Home services tabs */

body:not(.elementor-editor-active) .oakfield-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(18px);
}

body:not(.elementor-editor-active) .oakfield-tab-content.oakfield-content-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: oakfieldFadeUp 420ms ease forwards;
}

.oakfield-tab-btn {
    cursor: pointer;
    transition: box-shadow 260ms ease, transform 260ms ease, filter 260ms ease;
}

.oakfield-tab-btn:hover,
.oakfield-tab-btn.oakfield-tab-active {
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.33);
    transform: translateY(-2px);
}

@keyframes oakfieldFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home services tabs end */

/* Accordion */

.elementor-43 .elementor-element.elementor-element-90f32c4>.e-n-accordion>.e-n-accordion-item:last-child>.e-n-accordion-item-title {
    border-bottom: 1px solid var(--e-global-color-accent);
}

/* Accordion end */

/* Footer */

#menu-footer-nav .menu-item {
    display: block;
    padding-bottom: 10px;
}

/* Footer end */

/* Hover blocks */

.my-hover-blocks:hover {
    transform: rotate(-4deg);
}

.my-hover-blocks:hover .elementor-image-box-title,
.my-hover-blocks:hover p {
    color: var(--site-main-white) !important;
}

.my-hover-blocks:hover img {
    filter: brightness(0) invert(1);
}

/* Hover blocks end */

/* FAQ */

.e-n-accordion-item-title {
    border-radius: 32px !important;
}

.e-n-accordion-item[open]>.e-n-accordion-item-title {
    border-radius: 32px 32px 0 0 !important;
    font-weight: 700;
}

.about-toggle .e-n-accordion-item-title-text {
    color: var(--site-main-white)
}

/* FAQ end */

/* Testimonials */

.testimonial-carousel-wrapper {
    position: relative;
    overflow: visible;
}

.testimonial-carousel {
    overflow: visible;
}

.testimonial-carousel .swiper-wrapper {
    align-items: stretch;
}

.testimonial-slide {
    height: auto;
    display: flex;
    flex-direction: column;

    background: var(--site-main-white);
    border-radius: 24px;
    padding: 50px;

    transition: all .4s ease;
}

.testimonial-content {
    font-size: 18px;
    line-height: 1.7;
    color: var(--site-main-dark-green);
}

.testimonial-bottom {
    margin-top: 40px;
}

.testimonial-name {
    font-size: 46px;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--site-main-dark-green);
}

.testimonial-role {
    font-size: 18px;
    font-weight: 600;
    color: var(--site-main-dark-green);
}

/* ACTIVE CARD */

.testimonial-carousel .swiper-slide-active {
    background: var(--site-main-dark-green);
    color: var(--site-main-white);
}

.testimonial-carousel .swiper-slide-active .testimonial-content,
.testimonial-carousel .swiper-slide-active .testimonial-name,
.testimonial-carousel .swiper-slide-active .testimonial-role {
    color: var(--site-main-white);
}

/* NAVIGATION */

.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
}

.testimonial-button-prev,
.testimonial-button-next {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    transform: none;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    cursor: pointer;
}

.testimonial-button-prev img,
.testimonial-button-next img {
    width: 100%;
    display: block;
}

.testimonial-pagination {
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-pagination {
    position: relative !important;
    inset: unset !important;
    bottom: unset !important;
    left: unset !important;
    top: unset !important;

    width: auto !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    opacity: .3;
    background: var(--site-main-dark-green);
}

.testimonial-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 1024px) {

    .testimonial-slide {
        min-height: auto;
        padding: 35px;
        transform: none;
    }

    .testimonial-name {
        font-size: 34px;
    }
}

/* Testimonials end */

/* Forms */

/* Global */

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: var(--site-main-white);
    margin: 0 0 20px;
}

.contact-forms {
    color: var(--site-main-blue);
}

.contact-forms .wpcf7-form-control-wrap {
    display: block;
}

.newsletter-form p {
    margin: 0;
}

.contact-forms input:not([type="submit"]),
.contact-forms select,
.contact-forms textarea {
    width: 100%;
    border: none;
    border-radius: 32px;
    padding: 15px 20px;
    font-size: 18px;
    background: rgba(255, 255, 255, .3);
    color: var(--site-main-white);
    box-shadow: none;
    appearance: none;
}

.contact-forms p {
    margin: 0;
}

.contact-forms .col-md-3,
.contact-forms .col-md-6,
.contact-forms .col-md-9,
.contact-forms .col-md-12 {
    margin-bottom: 20px;
}

.contact-forms input::placeholder,
.contact-forms textarea::placeholder {
    color: var(--site-main-white);
    opacity: 1;
    font-size: 18px;
    font-weight: 400;
}

.contact-forms input {
    height: 56px;
    padding: 0 28px;
}

.contact-forms select {
    height: 56px;
    padding: 0 60px 0 28px;
    font-size: 18px;
}

.contact-forms select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1L7 7L13 1' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 14px;
    padding-right: 60px;
}

.contact-forms textarea {
    min-height: 170px;
    padding: 22px 28px;
    resize: vertical;
}

.contact-forms input::placeholder,
.contact-forms textarea::placeholder {
    color: var(--site-main-white)f;
    opacity: 1;
}

.contact-forms input:focus,
.contact-forms select:focus,
.contact-forms textarea:focus {
    outline: none;
    box-shadow: none;
}

body .contact-forms input[type="submit"] {
    padding: 18px 30px 18px 30px;
    border: none;
    border-radius: 32px;
    background: var(--site-main-white);
    color: var(--site-main-dark-green);
    font-size: 18px;
    font-weight: 400;
    text-transform: inherit;
    letter-spacing: 0;
    cursor: pointer;
    transition: .3s ease;
}

body .contact-forms input[type="submit"]:hover {
    will-change: transform;
    animation-name: elementor-animation-bob-float, elementor-animation-bob;
    animation-duration: .3s, 1.5s;
    animation-delay: 0s, .3s;
    animation-timing-function: ease-out, ease-in-out;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: forwards;
    animation-direction: normal, alternate;
}

body .contact-page input[type="submit"]:hover {
    background: var(--site-main-orange) !important;
    color: var(--site-main-white) !important;
}

@keyframes elementor-animation-bob-float {
    100% {
        transform: translateY(-8px);
    }
}

@keyframes elementor-animation-bob {
    0% {
        transform: translateY(-8px);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* Forms end */

/* Resourses */

/* Archive */

.blog #main {
    background: var(--site-main-light-grey);
}

.blog #content {
    overflow: visible;
}

#blog-entries {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

#blog-entries>.col {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 0 20px !important;
}

body .blog-entry.grid-entry .blog-entry-inner {
    padding: 0;
    border: 0;
}

.blog-entry.grid-entry .thumbnail {
    margin: 0 !important;
}

.featured-bg {
    height: 300px;
    border-radius: 25px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.blog-entry.grid-entry .blog-entry-header {
    margin: 30px 0 20px !important;
}

body .blog-entry.post .blog-entry-header .entry-title a {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0;
    font-family: var(--site-font-optima);
}

body .blog-entry.post .blog-entry-summary {
    font-size: inherit;
    line-height: inherit;
    margin: 0 0 30px !important;
}

body .blog-entry.grid-entry .blog-entry-readmore a {
    font-size: 18px;
    padding: 18px 30px 18px 30px;
    border: 0;
}

body .blog-entry.grid-entry .blog-entry-readmore a:hover {
    background-color: var(--site-main-orange);
}

body .blog-entry.grid-entry .blog-entry-readmore a:hover span {
    color: var(--site-main-white);
}

body .blog-entry-readmore .my-btn button:hover {
    animation-name: elementor-animation-bob-float, elementor-animation-bob;
    animation-duration: .3s, 1.5s;
    animation-delay: 0s, .3s;
    animation-timing-function: ease-out, ease-in-out;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: forwards;
    animation-direction: normal, alternate;
}

body .htslider-slider .slick-arrow {
    left: -10px;
}

body .htslider-slider .slick-arrow.slick-next {
    right: -10px;
}

/* Single */

.blog-post-author {
    display: none;
}

.single-header-ocean-3 {
    padding: 0 !important;
    margin-bottom: 0 !important;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sh-container.head-row.row-center .col-xs-12.col-l-8.col-ml-9 {
    max-width: 100%;
    width: 100%;
    -webkit-flex: 0 0 100%;
}

.ocean-single-post-header .single-post-title {
    margin: 0 0 30px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
}

/* Resourses end */

/* Mobile */

@media (max-width: 767px) {

    .single-header-ocean-3 {
        height: 650px;
    }

    .testimonial-content {
        max-width: 100%;
    }

    .testimonial-navigation {
        margin-top: 20px;
    }

    #blog-entries>.col {
        flex: 0 0 calc(100% - 0px);
    }

}