/*
Theme Name: Estland
Description: A custom Child Theme created by <a href="http://www.estlanddesign.com">Estland Design</a> in Harrisonburg.
Version: 1.1
Author: Estland
Author URI: http://estland.us
Template: enfold
*/


/******************************
Table of Contents =TOC
/******************************

Resets
Fonts
Variables
Header
Menu
Homepage
Footer
Components
Secondary Pages
Tag Archive
Forms
Global Styles
Mobile Styles

*/


/******************************
=Resets
******************************/
.estland-load-more {
    all: unset;
    /* Removes all inherited styles from browsers */
}

/* Prevents focus outlines from being different across browsers */
.estland-load-more:focus,
.custom-load-more:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Ensures consistent height and width across browsers */
.estland-load-more {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.estland-load-more:hover {
    cursor: pointer;
}



/******************************
=Fonts
******************************/
@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/estland-enfold-child/fonts/Montserrat-SemiBold.ttf') format('truetype'),
        url('/wp-content/themes/estland-enfold-child/fonts/Montserrat-SemiBold.woff') format('woff'),
        url('/wp-content/themes/estland-enfold-child/fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('/wp-content/themes/estland-enfold-child/fonts/Montserrat-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/estland-enfold-child/fonts/Montserrat-Bold.ttf') format('truetype'),
        url('/wp-content/themes/estland-enfold-child/fonts/Montserrat-Bold.woff') format('woff'),
        url('/wp-content/themes/estland-enfold-child/fonts/Montserrat-Bold.woff2') format('woff2'),
        url('/wp-content/themes/estland-enfold-child/fonts/Montserrat-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Light.ttf') format('truetype'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Light.woff') format('woff'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Light.woff2') format('woff2'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Regular.ttf') format('truetype'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Regular.woff') format('woff'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Regular.woff2') format('woff2'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Medium.ttf') format('truetype'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Medium.woff') format('woff'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Medium.woff2') format('woff2'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/estland-enfold-child/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Bold.ttf') format('truetype'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Bold.woff') format('woff'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Bold.woff2') format('woff2'),
        url('/wp-content/themes/estland-enfold-child/fonts/Poppins-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/******************************
=Variables
******************************/
:root {
    /* Font Families */
    /*montserrat*/
    --montserrat: 'Montserrat', sans-serif;

    /* 
    --mont-semibold: 600 normal 20px/24px 'Montserrat', sans-serif;
    --mont-bold: 800 normal 20px/24px 'Montserrat', sans-serif; */

    /*poppins*/
    --poppins: 'Poppins', sans-serif;
    
    /*Using variables to set font shorthand property was problematic:
    less specific weights and line-heights were overridden if font 
    shorthand property was set in a more specific ruleset */

    /* 
    --poppins-light: 300 normal 20px/24px 'Poppins-Light', sans-serif;
    --poppins-reg: 500 normal 20px/24px 'Poppins-Regular', sans-serif;
    --poppins-med: 600 normal 20px/24px 'Poppins-Medium', sans-serif;
    --poppins-bold: 800 normal 20px/24px 'Poppins-Bold', sans-serif;
    */

    /* Colors */
    /*black & grey*/
    --lighter-black: #0f0f0f;
    --light-black: #0D0D0D;
    --black: #101010;
    --dark-black: #030304;
    --black-text: #1A1A1A;
    --grey: #8B8B8B;
    --dark-grey: #333333;
    --darker-grey: #212121;
    --light-grey: #d9d9d9;
    --lighter-grey: #EBEBEB;
    /*mint*/
    --mint: #67DFBE;
    --dark-mint: #4BA78C;
    --dark-mint-gradient: #45BCAE;
    --light-mint-gradient: #74DFC0;

    /*white*/
    --white: #ffffff;
    --off-white: #F5FFFC;
    --off-light-white: #f4f4f4;
    --light-white: #F8F8F8;

    --brand-color: var(--mint);
    --text-on-brand-color: var(--black-text);

    --background-main: var(--dark-black);

    /* Spacing and Sizing */
    --padding-menu--desktop: clamp(1rem, -3.941rem + 7.92vw, 2rem);
    --padding-xl: 3rem;
    --padding-large: 2rem;
    --padding-large--variable: clamp(1.25rem, -0.313rem + 6.25vw, 4.375rem);
    --padding-medium: 1.5rem;
    --padding-medium--variable: clamp(1rem, 4vw, 3rem);
    --padding-small: 1rem;
    --padding-xs: 0.5rem;

    --max-content-width: 1310px;

    /* Font Size Scale */
    --heading-size-xl: 5.125rem;  /* 82px */
    --heading-size-l: 4rem;       /* 64px */
    --heading-size-m: 3.75rem;    /* 60px */
    --heading-size-s: 3.25rem;    /* 52px */

    --font-size-xxl: 2.5rem;     /* 40px */
    --font-size-xl: 2rem;        /* 32px */
    --font-size-l: 1.75rem;      /* 28px */
    --font-size-ml: 1.5rem;      /* 24px */
    --font-size-m: 1.25rem;      /* 20px */
    --font-size-s: 1.125rem;     /* 18px */
    --font-size-xs: 1rem;        /* 16px */
    --font-size-xxs: 0.875rem;   /* 14px */
    --font-size-xxxs: 0.75rem;   /* 12px */
    
    --font-size-variable-xl: clamp(1.125rem, 0.716rem + 2.05vw, 2.25rem);
    --font-size-variable-l: clamp(1.5rem, 1.409rem + 0.45vw, 1.75rem);

    /* Misc */
    --box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    --box-shadow-diffuse: 0 0 55px 1px rgba(0, 0, 0, 0.1);

    --border-radius-large: 20px;
    --border-radius-medium: 15px;
    --border-radius-small: 8px;


    --transition-all: all 200ms ease-in-out;
    --transition-all-with-delay: all 200ms ease-in-out 200ms;
    --transition-background: background-color 600ms ease-in-out, filter 200ms ease-in-out;
    --transition-opacity: opacity 200ms ease-in-out;
    --transition-opacity-with-delay: opacity 200ms ease-in-out 200ms;

}

canvas#confetti {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1000;
    pointer-events: none;
}

#top h1,
#top h2,
#top h5,
#top h6,
#top h1 > strong,
#top h2 > strong,
#top h5 > strong,
#top h6 > strong {
    font-family: var(--poppins);
    font-weight: 700;
    letter-spacing: 0;
}

#top h1,
#top h2,
#top h3,
#top h4,
#top h5 {
    text-wrap: balance;
}

#top p,
#top li {
    font-family: var(--poppins);
    font-weight: 400;
    color: var(--white);
    font-size: var(--font-size-m);
    line-height: 1.4;
}

/* #top#top#top#top :is(p, li, h1, h2, h3, h4, h5, h6) :is(a, strong, em) {
    font-size: inherit;
    line-height: inherit;
} */

#top h1,
#top h2,
#top h3,
#top h4,
#top h5 {
    color: var(--white);
}

#top.body-black p,
#top.body-black h1,
#top.body-black h2,
#top.body-black h3,
#top.body-black h4,
#top.body-black h5,
#top.body-black li,
#top.body-black .avia_textblock span {
    color: var(--white);
}

#top.body-light p,
#top.body-light h1,
#top.body-light h2,
#top.body-light h3,
#top.body-light h4,
#top.body-light h5,
#top.body-light li,
#top.body-light .avia_textblock span {
    color: var(--black-text);
}

#top .avia_textblock p > a,
#top .avia_textblock p > strong,
#top .avia_textblock ul li strong,
#top .avia_textblock ol li strong,
#top .avia_textblock p em strong,
#top .avia_textblock li a {
    font-family: var(--poppins);
    font-weight: 500;
}

#top .avia_textblock ul li strong,
#top .avia_textblock ol li strong,
#top .avia_textblock p > strong,
#top .avia_textblock p em strong {
    color: var(--white);
}

#top.body-light .avia_textblock ul li strong,
#top.body-light .avia_textblock ol li strong,
#top.body-light .avia_textblock p > strong,
#top.body-light .avia_textblock p em strong {
    color: var(--black-text);
}

#top.body-black .avia_textblock p em strong {
    color: var(--white);
}

#top.body-light .avia_textblock p em strong {
    color: var(--black-text);
}

#top .avia_textblock p em strong {
    font-style: italic;
}

/*#top .avia_textblock strong {font: var(--poppins-bold);}*/

#top .black-bg .avia_textblock li strong {
    color: var(--mint);
}

#top h1 {
    font-size: var(--heading-size-l);
    line-height: 1.05;
    margin-bottom: 0;
    padding-bottom: 10px;
    text-transform: capitalize;
}

#top.white-bg h1,
#top.white-bg h1 > strong {
    font-size: var(--heading-size-l);
    /* line-height: 1; */
    margin-bottom: 20px;
}

#top h2,
#top h2 > strong {
    font-size: var(--heading-size-s);
    line-height: 1.05;
    color: var(--black-text);
    text-transform: lowercase;
}

#top.white-bg h2,
#top.white-bg h2 > strong {
    font-size: var(--heading-size-s);
    /* line-height: 1; */
    color: var(--black-text);
    text-transform: lowercase;
}

#top#top .est-capitalize, 
#top#top .est-capitalize :is(p, h1, h2, h3, h4, li) {
    text-transform: capitalize;
}

#top.white-bg h2 > strong {
    color: var(--dark-mint);
}

#top .blog-post-content-cont h2,
#top .blog-post-content-cont h2 > strong {
    font-size: var(--heading-size-s);
    /* line-height: 1.03; */
}

#top h2 > strong,
#top h1 > strong {
    color: var(--dark-mint);
}

#top h3 {
    margin-bottom: 0;
    color: var(--black-text);
    text-transform: capitalize;
}

#top#top h3 {
    font-family: var(--poppins);
    font-weight: 400;
    font-size: var(--font-size-l);
    line-height: 1.05;
    text-transform: capitalize;
    color: var(--dark-mint);
}

#top#top h3.alternate {
    color: white;
}

#top#top.single-post h3 {
    font-size: var(--font-size-l);
    /* line-height: 1.04; */
}

/*#top#top .avia_textblock h3,
#top#top .avia_textblock h3 > strong {
    font: var(--poppins-med);
    font-size: 60px;
    line-height: 62px;
}*/
/*#top#top h3 > strong {color: var(--dark-mint);}*/
#top#top.body-black h3 {
    color: var(--mint);
}

#top#top h4 {
    font-family: var(--poppins);
    font-weight: 700;
    font-size: var(--font-size-l);
    line-height: 1.05;
    color: var(--black-text);
    text-transform: capitalize;
}

#top h5 {
    font-size: var(--font-size-m);
}

#top#top h4.leading-header,
#top#top h3 + h4,
#top#top h2 + h4,
#top#top h1 + h4 {
    font-family: var(--poppins);
    font-weight: 400;
    /* font-size: var(--font-size-l); */
    /* line-height: 1.07; */
    color: var(--dark-mint);
}

#top .avia_textblock h1 + h4 {
    margin-top: 20px;
}

#top .avia_textblock h2 + h4 {
    margin-top: 30px;
}

#top .avia_textblock h2,
#top .avia_textblock h3,
#top .avia_textblock h4,
#top .avia_textblock p,
#top .avia_textblock h2 > strong,
#top .avia_textblock h3 > strong,
#top .avia_textblock p > strong {
    transition: color 600ms ease-in-out;
}

#top .avia_textblock h3 + h5 {
    margin-top: 0.85em;
}

#top.white-bg .avia_textblock > h5 {
    font-family: var(--poppins);
    font-weight: 400;
    font-size: var(--font-size-l);
    line-height: 1.05;
}

/******************************
=Header
******************************/

/* Debug */
/*#header {
    box-shadow: inset 0 0 1rem 0 red;
}
#header * {
    box-shadow: inset 0 0 1rem 0 orange;
}
#header * > * {
    box-shadow: inset 0 0 1rem 0 yellow;
}
#header * > * > * {
    box-shadow: inset 0 0 1rem 0 green;
}
#header * > * > * > * {
    box-shadow: inset 0 0 1rem 0 blue;
}
#header * > * > * > * > * {
    box-shadow: inset 0 0 1rem 0 indigo;
}
#header * > * > * > * > * > * {
    box-shadow: inset 0 0 1rem 0 violet;
}
#header * > * > * > * > * > * > * {
    box-shadow: inset 0 0 1rem 0 teal;
}
#header * > * > * > * > * > * > * > * {
    box-shadow: inset 0 0 1rem 0 pink;
}
#header * > * > * > * > * > * > * > * > * {
    box-shadow: inset 0 0 1rem 0 purple;
}*/

#top {
    /* admin bar height etc */
    --admin-bar-height: 0px;
    --header-block-padding: 25px;
    --header-inline-padding: 50px;
    --header-top-position: calc(var(--admin-bar-height) + var(--header-block-padding));
    --header-height: 115px;
}

@media(max-width:767px) {
    #top {
        --header-block-padding: 5px;
        --header-height: 80px;
    }
}

.html_av_admin_bar_active #top {
    --admin-bar-height: 32px;
}

@media(max-width:782px) {
    .html_av_admin_bar_active #top {
        --admin-bar-height: 46px;
    }
}

#top #wrap_all {
    background: transparent;
}

#top#top #header,
#top#top .header_bg {
    background: var(--menu-background);
}

#top#top:has(.featured-hero):not(.single-post) #header,
#top#top:has(.featured-hero):not(.single-post) .header_bg {
    background: transparent;
}

#top#top#top #header {
    position: fixed;
    z-index: 1000;
}

@media only screen and (min-width: 768px) {
    #top#top#top.single-post:not(.case-study) #header {
        position: sticky;
        top: var(--admin-bar-height);
    }
}

#top#top#top #header:has(:where(.mega-toggle-on, .mega-menu-open, )),
#top#top#top.scrolled #header,
#top#top#top.scrolled .header_bg {
    background: var(--menu-background);
}

#top#top #header_main > .container {
    /* header container--where height is actually set */
    background-clip: content-box;
    height: var(--header-height) !important;
    line-height: 1;
    /* padding-inline: var(--header-block-padding); */
    transition: var(--transition-all);
}

@media(max-width:767px) {
    #top#top #header_main > .container {
        --header-block-padding: 5px;
        --header-inline-padding: 0;
        position: static;
    }
}

@media only screen and (min-width: 990px) {
    #header .container {
        box-sizing: content-box;
        display: flex;
        justify-content: center;
    }

    .html_header_top #top .av_header_stretch .container {
        width: calc(100% - 2 * var(--header-inline-padding))
    }

    #top#top #header_main > .container {
        /* header container--where height is actually set */
        padding-left: var(--header-inline-padding);
        padding-right: var(--header-inline-padding);
    }
}

#top #header_main > .container > .inner-container {
    /* header inner container--logo container on left, menu container on right */
    position: static;
    /* make it so logo container and menu container are positioned respective to parent .container */
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-content-width);
}

#top #header_main > .container > .inner-container > * {
    position: static;
}

#top#top .logo {
    /* logo container--contains both logos */
    display: block;
    height: var(--header-height) !important;
    /* b/c of position: relative on .container, height: 100% would be too large */
    left: var(--header-inline-padding);
    position: absolute;
    top: var(--header-block-padding);
}

#top#top .logo a {
    display: inline-block;
    height: 100% !important;
}

#top #header #header_main span.logo > a > svg:not(.scroll-logo) {
    /* initial logo in header */
    display: inline-block;
    height: 100% !important;
    max-height: none;
    vertical-align: middle;
}

#top #header #header_main span.logo .scroll-logo {
    /* smaller logo that appears on scroll */
    display: none;
    /* width: 60px; */
    height: 60px;
    /* top: var(--header-top-position); */
    /*left: var(--header-inline-padding);*/
    position: relative;
    z-index: 0;
    transition: var(--transition-all);
}

/* Header scrolling behavior */

#top #header.header-scrolled #header_main span.logo .scroll-logo {
    opacity: 1;
    display: block;

    @starting-style {
        opacity: 0;
    }
}

#top#top #header #header_main span.logo svg {
    transition: all 400ms ease-in-out;
    opacity: 1;

    @starting-style {
        opacity: 0;
    }
}

#top #header.header-scrolled,
#top.mega-menu-avia-mobile-open #header {
    --header-height: 75px;
}

#top #header.header-scrolled #header_main span.logo #Layer_2,
#top.mega-menu-avia-mobile-open #header #header_main span.logo #Layer_2 {
    opacity: 0;
    display: none;
}

#top #header.header-scrolled #header_main span.logo {
    padding-left: 0;
}

#top #header #header_main span.logo svg g path.bls-2 {
    transition-delay: 400ms;
    transition: all 400ms ease-in-out;
}

#top.white-bg #header #header_main span.logo svg g path.cls-2 {
    fill: var(--black);
}

/******************************
=Menu
******************************/
:root{
    --menu-text-color: var(--white);
    --menu-background: var(--lighter-black);

    --menu-level-1-text: clamp(2rem, 1.701rem + 1.49vw, 2.625rem);
    --menu-level-2-text: clamp(1.75rem, 1.451rem + 1.49vw, 2.375rem);
}

/******** OLD MENU STYLES - REMOVE WHEN SWITCHING TO MEGA MENU ***************/

#top#top #header_main .main_menu { /* main menu container */
    display: inline-block;
    height: max-content;
    position: fixed;
    right: var(--header-inline-padding);
    top: var(--header-top-position);
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner {
    min-height: 0;
    height: auto;
    display: flex;
    justify-content: flex-end;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul {
    padding: 140px 75px 50px 50px !important;
    height: 100vh;
    vertical-align: top;
    width: max-content;
    display: inline-block;
    overflow-y: auto;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li {
    font-family: var(--poppins);
    font-weight: 700;
    text-transform: lowercase;
    font-size: 40px;
    line-height: 44px;
    transition: all 300ms ease-in-out;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li {
    display: block;
    text-align: right;
    font-size: 70px;
    line-height: 76px;
    padding: 10px 0;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li ul.sub-menu {
    margin-top: 10px;
    margin-bottom: 20px;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li ul li {
    opacity: 0.6;
    padding: 5px 0;
    margin: 0;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li ul li:hover {opacity: 1;}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li a {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li a:hover,
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li a:focus,
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li a:active {opacity: 1 !important;}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li a span.avia-bullet {
    background: var(--mint);
    border: 0;
    left: inherit;
    top: inherit;
    margin: 0;
    display: flex;
    order: 2;
    position: relative;
    border-radius: 1px;
    transition: all 300ms ease-in-out;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li > a span.avia-bullet {
    width: 13px;
    height: 13px;
    bottom: 13px;
    margin-left: 10px;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li:hover > a span.avia-bullet,
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li:focus > a span.avia-bullet,
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li.av-show-submenu > a span.avia-bullet {width: 50px;}

#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li ul li > a span.avia-bullet {
    width: 9px;
    height: 9px;
    bottom: 9px;
    margin-left: 8px;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li > ul li:hover > a span.avia-bullet,
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li > ul li:focus > a span.avia-bullet,
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li > ul li:focus-within > a span.avia-bullet {width: 30px;}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li a span.avia-menu-text {
    display: flex;
    order: 1;
}
#top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li a span.av-submenu-indicator {display: none !important;}
html.av-burger-overlay-active {
    overflow: hidden;
}
#top .av-burger-overlay .av-burger-overlay-bg {
    opacity: 1;
    background-color: rgba(0,0,0,0.95);
}

/* Hamburger icon in main menu */

#top .av-burger-menu-main { /* icon container */
    --hamburger-line-thickness: 13px;
    --hamburger-line-radius: 2px;
    height: 55px;
    width: 50px;
    margin-left: var(--padding-medium);
}
#top#top#top .av-burger-menu-main > a { /* icon link */
    height: 100%;
    line-height: inherit;
    width: 100%;
    align-items: center;
    background: transparent !important;
    border-radius: 0;
    display: flex;
    justify-content: center;
    opacity: 1 !important;
    padding: 0 !important;
    transition: all 300ms ease-in-out !important;
}
#top .av-hamburger { /* lines wrapper */
    width: 100%;
}
#top .av-hamburger-box { /* lines container */
    height: 0;
    width: 100%;
}
html:not(.av-burger-overlay-active) .av-hamburger-box {
    width: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
html:not(.av-burger-overlay-active) .av-hamburger-inner {
    width: 15px;
    height: var(--hamburger-line-thickness);
    top: 5px;
    transition: all 200ms ease-in-out;
    border-radius: var(--hamburger-line-radius);
}
html:not(.av-burger-overlay-active) .av-hamburger-inner::before {
                width: 100%;
    height: var(--hamburger-line-thickness);
    border-radius: var(--hamburger-line-radius);
    top: -22px;
    transition: all 200ms ease-in-out;
}
#top .av-hamburger-inner {
    transition: all 0.3s ease-in-out !important;
}
#top .av-hamburger-inner::before,
#top .av-hamburger-inner::after {
    transition: none !important;
}
html:not(.av-burger-overlay-active) #top #header_main .main_menu li.av-burger-menu-main > a:hover .av-hamburger-inner {
    width: 50px;
}

/* Hamburger icon when menu is open */
.av-burger-overlay-active #top #header_main .main_menu li.av-burger-menu-main > a .av-hamburger-inner {
    background-color: var(--white) !important;
}
.av-burger-overlay-active #top #header_main .main_menu li.av-burger-menu-main > a:hover .av-hamburger-inner::before {
    background-color: inherit;
}
.av-burger-overlay-active #top .av-hamburger-inner,
.av-burger-overlay-active #top .av-hamburger-inner::before,
.av-burger-overlay-active #top .av-hamburger-inner::after {
    height: var(--hamburger-line-thickness);
}
#top .av-hamburger-inner::before,
#top .av-hamburger-inner::after {
    background: inherit !important;
}
#top .av-hamburger:not(.is-active) .av-hamburger-inner::after {
    display: none;
}

#header span.av-hamburger-inner {
    background-color: var(--white);
}

#top.scrolled.body-light span.av-hamburger-inner {
    background-color: var(--black);
}

#top.white-bg #header span.av-hamburger-inner {background-color: var(--black);}

/******** START OF UPDATED MENU STYLES ********/

/* Remove avia menu elements */
#top .av-burger-menu-main {
    display: none;
}

#top#top .estland-button:has(.header__estimate) {
    display: none;
}

#top#top  {
    --primary-logo-fill: var(--white);
    transition: all 0.2s ease-out;
}

#top #mega-menu-wrap-avia .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner,
#top #mega-menu-wrap-avia .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after {
    background: var(--menu-text-color);
}

#top #mega-menu-wrap-avia .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before {
    display: none;
}

#mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-megamenu > ul.mega-sub-menu
 {
    background: var(--menu-background);
}

#top #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row {
    max-width: var(--max-content-width);
    float: none;
    margin: auto;
}

#top #header .mega-menu-link {
    color: var(--menu-text-color);
}

#mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item a.mega-menu-link {
    color: var(--menu-text-color);
}

#mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item > a.mega-menu-link {
    color: var(--menu-text-color);
}

#top#top.body-light.scrolled {
    --menu-background: var(--white);
    --menu-text-color: var(--black-text);
    --primary-logo-fill: var(--black-text);

    box-shadow: var(--box-shadow-diffuse);
}

#top.body-light {
    --primary-logo-fill: var(--black-text);
}

#top.scrolled #header .logo a,
#top.mega-menu-avia-mobile-open #header .logo a {
    display: flex;
    align-items: center;
}

/* #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item a.mega-menu-link {
    color: var(--white);
} */

#top#top #header #mobile-scrolling-logo {
    display: block;
    width: 60px;
}

#top#top #header #scrolling-logo {
    display: none;
}

@media only screen and (min-width: 990px) {
    #header {
        padding-top: var(--header-block-padding);
    }

    #top#top .estland-button:has(.header__estimate) {
        display: block;
    }
    
    #top #header .mega-menu-wrap {
        height: 100%;
    }
    
    #top.scrolled #header .logo a {
        align-items: flex-start;
        padding-top: 10px;
    }
    
    #top #header #header_main span.logo .scroll-logo {
        height: 35px;
    }
    
    #top#top #header #mobile-scrolling-logo {
        display: none;
    }
    
    #top#top #header #scrolling-logo {
        display: block;
    }
    
    #top #header nav.main_menu {
        flex-direction: row-reverse;
        display: flex;
        align-items: flex-start;
        transition: var(--transition-all);
        transition-behavior: allow-discrete;
    }
    
    #top #mega-menu-avia,
    #top#top #mega-menu-avia > li.mega-menu-item {
        height: 100%;
    }
    
    #top#top#top .est-large-menu-items a.mega-menu-link {
        font-size: clamp(1.375rem, -0.393rem + 2.86vw, 1.75rem);
    }
    
    #top#top #mega-menu-avia > li > a {
        padding: 0 var(--padding-menu--desktop);
    }
    
    #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-megamenu > ul.mega-sub-menu
    {
        box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
        top: 100%;
    }
    
    #top#top#top .mega-sub-menu li {
        padding: 0;
    }
    
    #header:has(.mega-toggle-on) + #main {
        filter: blur(16px);
    }
    
}

/* Mobile menu  */

:root {
    --mobile-menu-width: 96vw;
}

@media only screen and (max-width: 768px) {
    :root {
        --mobile-menu-width: 85vw;
    }
}

#mega-menu-wrap-avia .mega-menu-toggle.mega-menu-open + #mega-menu-avia {
    background: var(--menu-background);
    left: 0 !important; /* overrides inline styles */
    max-height: calc(100vh - var(--header-height) - var(--admin-bar-height));
    overflow-y: scroll;
    overflow-x: visible;
}

@media only screen and (max-width: 989px) {
    #top #header::before {
        background: var(--menu-background);
        content: "";
        display: none;
        height: 100vh;
        width: 100vw;
        position: absolute;
        transition: var(--transition-all-with-delay);
        z-index: -1;
    }
    
    #top #header:has(.mega-menu-open)::before {
        display: block;
        opacity: 1;
        
        @starting-style {
            opacity: 0;
        }
    }
    
    #header .container {
        position: static;
    }
    
    #header .container .logo {
        z-index: 1000;
    }

    #header:has(#mega-menu-avia > li.mega-menu-item.mega-toggle-on) .container .logo {
        z-index: 0
    }
    
    #mega-menu-wrap-avia {
        height: 100%;
        position: static;
    }
    
    #mega-menu-wrap-avia .mega-menu-toggle {
        height: 100%;
    }

    #mega-menu-wrap-avia .mega-menu-toggle button {
        z-index: 10000000; /* prevents wp admin bar from cutting button off */
    }
    
    /* Top level menu */
    #top #mega-menu-avia.mega-menu {
        height: calc(100vh - var(--header-height) - var(--admin-bar-height)) !important; /* overrides inline styles */
        left: 0 !important; /* overrides inline styles */
        top: calc(var(--header-height)) !important; /* overrides inline styles */
        width: 100vw !important; /* overrides inline styles */
        padding-inline: calc((100% - var(--mobile-menu-width) + 10% ) / 2);
    }
    
    #top#top #mega-menu-avia.mega-menu,
    #top#top #mega-menu-avia.mega-menu * {
        opacity: 0;
        transition-property: display, opacity;
        transition-duration: 200ms;
        transition-timing-function: ease-in-out;
        transition-behavior: allow-discrete;
    }
    
    #top#top .mega-menu-open + #mega-menu-avia.mega-menu,
    #top#top .mega-menu-open + #mega-menu-avia.mega-menu * {
        opacity: 1;

        @starting-style {
            opacity: 0;
            background: transparent;
        }
    }

    #top#top #mega-menu-avia.mega-menu > .mega-menu-item {
        padding-top: var(--padding-medium);
    }

    #top #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item > a.mega-menu-link {
        font-size: var(--menu-level-1-text);
    }

    /* Second level menu */
    #top #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item.mega-toggle-on {
        background: var(--menu-background);
        left: 0;
        max-height: calc(100dvh - var(--admin-bar-height));
        -ms-overflow-style: none;
        overflow-y: scroll;
        padding-bottom: 100px;
        padding-top: 0;
        padding-inline: calc((100vw - var(--mobile-menu-width)) / 2);
        position: fixed;
        scrollbar-width: none;
        top: var(--admin-bar-height);
        width: 100%;
        z-index: 1;
        transition: var(--transition-opacity-with-delay);
    }

    #top #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item.mega-toggle-on::-webkit-scrollbar {
        display: none;
    }

    #top#top#top .est-large-menu-items a.mega-menu-link {
        font-size: 32px;
    }

    #top #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
        align-items: center;
        display: flex;
        font-size: 0;
        height: var(--header-height);
        justify-content: flex-start;
        padding: 0;
        position: fixed;
        z-index: 1;
    }

    #top #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item > a.mega-menu-link::before {
        background-color: var(--menu-text-color);
        content: '';
        height: 0px;
        mask-image: url(./images/icon-menu-back-arrow.svg);
        mask-position: center;
        mask-repeat: no-repeat;
        mask-size: contain;
        opacity: 0;
        padding: 0;
        transition: var(--transition-opacity-with-delay);
        width: 0px;
    }

    #top #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item.mega-toggle-on > a.mega-menu-link::before {
        height: 100%;
        opacity: 1;
        width: 70px;
    }

    #top #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item > a.mega-menu-link::after {
        content: '';
        display: block;
        position: fixed;
        width: 100vw;
        height: var(--header-height);
        background-image: linear-gradient(to top, transparent, var(--menu-background) 15%);
        z-index: -1;
        left: 0;
    }

    #top #mega-menu-avia:has(> li.mega-menu-item.mega-toggle-on) {
        z-index: -1;
    }

    #top #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-megamenu > ul.mega-sub-menu
    {
        box-shadow: none;
        transition-behavior: normal;
        padding-top: var(--header-height);
    }

    #top#top #mega-menu-avia .est-empty-menu-column {
        display: none;
    }

    #mega-menu-wrap-avia #mega-menu-avia li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column:not(.est-empty-menu-column) + .mega-menu-column {
        margin-top: var(--padding-medium);
    }

    #mega-menu-wrap-avia #mega-menu-avia li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
        padding: 0;
    }

    /* Get an estimate button - mobile */

    #top#top .estland-button:has(.header__estimate) {
        margin: 0;
        transition: var(--transition-all);

        @starting-style {
            opacity: 0;
        }
    }

    #top#top.mega-menu-avia-mobile-open .estland-button:has(.header__estimate) {
        background-image: linear-gradient( to bottom, transparent, var(--menu-background) 20%);
        bottom: 0;
        display: flex;
        width: 100vw;
        justify-content: center;
        left: 0;
        opacity: 1;
        padding-block: var(--padding-medium);
        position: fixed;
        
        z-index: 10000000;
    }
}

/******************************
=Homepage
******************************/
/*home services*/
#top #home-services {
    margin: 10% 0;
}

#top #home-services h2 {
    transform: translateX(0);
    width: max-content;
    transition: all 300ms linear;
}

#top #home-services h2:hover {
    transform: translateX(15px);
}

#top #home-services h2:hover span.mint-expand {
    width: 60px;
    background: var(--mint);
}

/*results*/
#top.home #results {
    padding: 15% 0 10%;
}

#top #results .entry-content-wrapper > .flex_column_table {
    padding-left: calc((100% - 1130px)/2);
}

/* Blog feed */
#top.home #blog-feed {
    margin-bottom: -50px;
}

/******************************
=Footer
******************************/
.av-burger-overlay-active #footer {
    z-index: 99;
}

#footer {
    align-items: center;
    background: var(--background-main);
    display: flex;
    height: 100vh;
    min-height: 800px;
    transition: var(--transition-background);
    z-index: 999;
}

#footer,
#socket {
    border: 0 !important;
}

#footer h2,
#footer p {
    color: var(--white) !important;
}

#footer h2,
#footer h2 > strong {
    text-transform: capitalize;
}

#footer .container .flex_column {
    margin: 0;
    width: 50%;
    display: inline-block;
    float: none;
    vertical-align: bottom;
}

#footer .container .flex_column.first {
    width: 100%;
    margin-bottom: 50px;
}

#footer .footer-logo img {
    width: 250px;
}

#footer .footer-logo svg {
    width: 250px;
    position: relative;
    left: -5px;
}

#footer .social_bookmarks {
    height: 100%;
}

#footer .social_bookmarks li {
    display: inline-block;
    float: none;
    border-right: 0;
    float: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    transition: all 400ms ease-in-out;
}

#footer .social_bookmarks li a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-m);
    color: var(--white);
    border-width: 2px;
    border-style: solid;
    border-color: var(--white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    float: none;
    padding: 5px;
    background: transparent;
    transition: all 400ms ease-in-out;
}

#footer .social_bookmarks li.social_bookmarks_instagram a {
    font-size: 1.5rem;
}

/* #top #footer .social_bookmarks li:hover a */
#footer .social_bookmarks li a:hover {
    /* background: linear-gradient(45deg,var(--light-mint-gradient),var(--dark-mint-gradient)) padding-box,
                linear-gradient(45deg,var(--light-mint-gradient),var(--dark-mint-gradient)) border-box; */
    color: var(--text-on-brand-color) !important;
    border-color: transparent !important;
}

#footer #gform_widget-2 {
    margin-bottom: 0;
}

#footer #custom_html-4 {
    margin-top: 0;
}

#footer #custom_html-4 .textwidget > p {
    color: var(--grey) !important;
    font-size: var(--font-size-s);
}

#footer #custom_html-4 .textwidget > p strong {
    font-family: var(--poppins);
    font-weight: 700;
    color: var(--white) !important;
    font-size: var(--font-size-l)
}

#footer .gform_wrapper form {
    margin-bottom: 0;
}

#footer .gform_wrapper input {
    color: var(--white) !important;
}

/******************************
=Components
******************************/
/* Service cards - see services slider for re-used styles */

#top .est-service-cards .flex_column_table {
    display: flex;
    flex-direction: column;
    gap: var(--padding-medium);
}

@media only screen and ( min-width: 999px ) {
    #top .est-service-cards .flex_column_table {
        flex-direction: row;
    }
}

#top .est-service-cards .av-flex-placeholder {
    display: none;
}

#top#top .est-service-cards__card {
    display: flex;
    margin: 0;
    width: unset;
}


.est-service-cards__card {
    background: var(--darker-grey);
    border-radius: var(--border-radius-large);
    flex-direction: column;
    flex: 1;
    padding: var(--padding-large) var(--padding-medium);
    transition: var(--transition-all);
}

.est-service-cards__card .estland-button--learn-more {
    margin-top: auto;
}

.est-service-cards__card-link {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

#top .est-service-cards__card .avia-image-container {
 margin: 0;
}

.est-service-cards__card .avia_textblock {
    margin-top: var(--padding-medium);
}

/******************************
=Secondary Pages
******************************/
/*contact page*/
#top.page-id-77 .featured-hero > .container,
#top.page-id-18014 .featured-hero > .container {
    padding-bottom: 0;
}

#top.page-id-77 .featured-hero .hero-content,
#top.page-id-18014 .featured-hero .hero-content {
    width: 100%;
}

#top.page-id-77 .featured-hero .hero-content {
    padding-top: 100px;
}

@media only screen and (max-width: 989px) {

    #top#top.page-id-77 .featured-hero h2,
    #top#top.page-id-77 .featured-hero h2 strong {
        font-size: var(--font-size-xxl);
    }

    #top.page-id-77 .featured-hero .hero-content {
        padding-top: 150px;
    }

    #top.page-id-77 .featured-hero .hero-content #footer-form {
        height: 100%;
    }

    #top#top#top.page-id-77 .featured-hero {
        height: 100%;
        min-height: 675px;
    }

}

/****** Landing pages 2026 *******/
/* light cards */
#top .est-card-light {
    border-radius: var(--border-radius-medium);
    background-color: var(--off-light-white);
    padding: 1rem;
}

#top#top#top .av_promobox.est-card-light > .avia-button-wrap {
    padding: 0;
}

#top .est-card-light .entry-content-header {
    display: flex;
    gap: var(--padding-small);
    align-items: center;
}

#top .est-card-light .iconbox_icon {
    position: static;
    height: auto;
    width: auto;
}

#top .est-card-light .iconbox_icon .iconbox_content {
    display: flex;
    align-items: center;
}

#top .est-card-light .iconbox_icon svg {
    height: 1.5em;
    width: 1.5em;
}

#top#top#top .est-card-light h3 {
    text-transform: none;
    font-size: var(--font-size-ml);
    font-weight: 600;
}

/* White cards */
#top .est-card-light.est-card-light--white {
    background-color: var(--white);
}

/* text cards */
.est-text-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#top#top .est-text-cards h3 {
    font-size: var(--font-size-l);
}

/* Responsive grid */
.est-responsive-grid .entry-content-wrapper {
    display: grid;
    gap: var(--padding-xs) var(--padding-small);
    grid-template-columns: repeat(auto-fit, minmax(max(14rem, 22%), 1fr));
}

.est-responsive-grid .entry-content-wrapper::before {
    display: none;
}

#top#top .est-responsive-grid .entry-content-wrapper .flex_column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: 0;
}

/* Hubspot ad landing sliders */
#top .est-hs-ad-slider .glide__slide {
    background-color: var(--off-light-white);
}

#top#top .est-hs-ad-slider .glide__slide p {
    font-weight: 600;
}

/******************************
=Tag Archive
******************************/

#top.archive.tag #main h1.main-title {
    font-size: var(--font-size-l);
    /* line-height: 26px; */
}

#top.archive.tag #main article h1 {
    margin-bottom: 6px;
}

#top.archive.tag #main article h1,
#top.archive.tag #main article h2,
#top.archive.tag #main article h4 {
    text-align: left;
}

#top.archive.tag #main .post-meta-infos {
    text-align: left;
}

#top .fullsize .template-blog .post-meta-infos {
    text-align: center;
}

@media only screen and (max-width: 768px) {
    #top#top#top.archive.tag #main h1.main-title {
        font-size: var(--font-size-l);
    }

    #top#top.archive.tag #main article h2 {
        font-size: var(--font-size-l);
    }
}


/******************************
=Forms
******************************/
#top .gform_wrapper ul li.gfield {
    margin: 0;
    padding: 0;
}

.main_color div.gform_wrapper {
    margin: 0;
}

#top .gform_wrapper .input-text,
#top .gform_wrapper input[type='text'],
#top .gform_wrapper input[type='input'],
#top .gform_wrapper input[type='password'],
#top .gform_wrapper input[type='email'],
#top .gform_wrapper input[type='number'],
#top .gform_wrapper input[type='url'],
#top .gform_wrapper input[type='tel'],
#top .gform_wrapper input[type='search'],
#top .gform_wrapper textarea,
#top .gform_wrapper select,
#top .hbspt-form form input[type='text'],
#top .hbspt-form form input[type='input'],
#top .hbspt-form form input[type='password'],
#top .hbspt-form form input[type='email'],
#top .hbspt-form form input[type='number'],
#top .hbspt-form form input[type='url'],
#top .hbspt-form form input[type='tel'],
#top .hbspt-form form textarea,
#top .hbspt-form form select {
    font-family: var(--poppins);
    font-weight: 300;
    font-size: var(--font-size-s);
    /* line-height: 22px; */
    color: var(--black-text);
    border: 0;
    box-shadow: none;
    border-bottom-width: 1.5px;
    border-bottom-style: solid;
    border-bottom-color: rgba(112, 112, 112, 0.4);
    padding: 15px 25px 15px 0;
    background: transparent;
    /*transition: all 400ms ease-in-out;*/
}

#top .gform_wrapper select > option,
#top .hbspt-form form select > option {
    color: var(--black) !important;
}

#top .gform_wrapper p.gform_required_legend {
    display: none;
}

#top #footer-form .gform_wrapper .gform_footer {
    margin: 0;
    padding: 0;
    margin-top: 20px;
}

#top .gform_wrapper textarea,
#top .hbspt-form form textarea {
    resize: none;
    min-height: 0;
    height: 60px;
}

#top .hbspt-form form ul.hs-error-msgs {
    margin-bottom: 10px;
}

#top .hbspt-form form label:not(.hs-error-msg) {
    display: none !important;
}

#top .gform_wrapper label,
#top .gform_wrapper legend,
#top .hbspt-form form label:not(.hs-error-msg) span {
    font-family: var(--montserrat);
    font-weight: 600;
    font-size: var(--font-size-s) !important;
    /* line-height: 20px; */
}

#top #book-now.form-popup .gform_wrapper label {
    font-family: var(--poppins);
    font-weight: 500;
    color: var(--white);
    font-size: var(--font-size-s) !important;
    /* line-height: 1.2rem; */
}

#top #book-now.form-popup .gform_wrapper .gfield--type-total {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#top #book-now.form-popup .gform_wrapper .gfield--type-total label {
    font-family: var(--poppins);
    font-weight: 500;
    color: var(--white);
    width: 150px;
}

#top #book-now.form-popup .gform_wrapper .gfield--type-total .ginput_container_total {
    width: 150px;
}

#top #book-now.form-popup .gform_wrapper .gfield--type-total input {
    padding: 0;
    border: none;
}

#top .gform_wrapper span.gfield_description,
#top .hbspt-form form label.hs-error-msg {
    font-size: var(--font-size-xxs);
    /* line-height: 16px; */
}

#top .hbspt-form form label.hs-error-msg,
#top.body-black .hbspt-form form ul.hs-error-msgs li,
#top .black-bg .hbspt-form form ul.hs-error-msgs li {
    font-family: var(--poppins);
    font-weight: 400;
    font-size: var(--font-size-xxs);
    /* line-height: 18px; */
}

#top.body-black .hbspt-form form label.hs-error-msg,
#top.body-black .hbspt-form form ul.hs-error-msgs li,
#top .form-popup .hbspt-form form ul.hs-error-msgs li,
#top .form-popup .hbspt-form form label.hs-error-msg,
#top .black-bg .hbspt-form form label.hs-error-msg,
#top .black-bg .hbspt-form form ul.hs-error-msgs li {
    color: var(--mint);
}

#top .hbspt-form form input.invalid.error,
#top .hbspt-form form textarea.invalid.error {
    margin-bottom: 0;
}

#top .hbspt-form form .hs_recaptcha .grecaptcha-badge {
    visibility: hidden;
    width: 0 !important;
    height: 0 !important;
}

#top .hbspt-form .hs_submit {
    margin: 6px 0;
    padding: 16px 0;
}

#top .hbspt-form form div.hs_firstname,
#top .hbspt-form form div.hs_lastname {
    display: inline-block;
    width: 49%;
    vertical-align: top;
}

#top .hbspt-form form div.hs_firstname {
    margin-right: 2%;
}

#top .gform_wrapper input::-webkit-input-placeholder,
#top .gform_wrapper textarea::-webkit-input-placeholder,
#top .hbspt-form form input::-webkit-input-placeholder,
#top .hbspt-form form textarea::-webkit-input-placeholder {
    transition: all 400ms ease-in-out;
}

#top .gform_wrapper input:-moz-placeholder,
#top .gform_wrapper textarea:-moz-placeholder,
#top .hbspt-form form input:-moz-placeholder,
#top .hbspt-form form textarea:-moz-placeholder {
    transition: all 400ms ease-in-out;
}

#top .gform_wrapper input::-moz-placeholder,
#top .gform_wrapper textarea::-moz-placeholder,
#top .hbspt-form form input::-moz-placeholder,
#top .hbspt-form form textarea::-moz-placeholder {
    transition: all 400ms ease-in-out;
}

#top .gform_wrapper input:-ms-input-placeholder,
#top .gform_wrapper textarea:-ms-input-placeholder,
#top .hbspt-form form input:-ms-input-placeholder,
#top .hbspt-form form textarea:-ms-input-placeholder {
    transition: all 400ms ease-in-out;
}

/**********************************************************
=Specific Pages
**********************************************************/
#top .main_menu > .estland-button {
    display: inline-block;
    float: left;
    margin: 0;
    margin-left: var(--padding-menu--desktop);
    opacity: 1;
}

@media(max-width:767px) {
    #top .header-scrolled .main_menu > .estland-button {
        display: none;
        opacity: 0;
    }
}

/* Hubspot landing page */
#top .featured-hero--hs-landing {
    background-position: 72% 50%;
}

/* Case study pages and Blog posts */
#top#top#top .main_menu > .estland-button a {
    --button-background-color: var(--est-accent-color);
    --button-color: var(--est-text-on-accent-color);
    background: var(--button-background-color) !important;
    border-color: var(--button-background-color) !important;
    color: var(--est-text-on-accent-color) !important;
    display: inline-block;
}

/* #top#top#top.page-id-20082:not(.scrolled) .main_menu > .estland-button a, */
#top#top#top:not(.scrolled) .main_menu > .estland-button a {
    --button-background-color: transparent;
    --est-text-on-accent-color: var(--white);
    border-color: var(--white) !important;
}

#top#top#top#top .main_menu > .estland-button a:hover {
    background: var(--mint) !important;
    border-color: var(--mint) !important;
    color: var(--black-text) !important;
    filter: brightness(1.15);
}
/* 
#top#top#top .header-scrolled .main_menu > .estland-button a {
    opacity: 1 !important;
} */

/* #top#top.case-study h1 + h4, */
/* #top.case-study h1 > strong, */
/* #top.case-study .avia_textblock h2 > strong, */
/* #top.case-study .avia_textblock p > a, */
#top.case-study .avia_textblock h4,
/* .case-study #footer h2 > strong, */
/* #top.case-study #data-card-slider .card-row .case-data-card h5, */
/* #footer .textwidget p > strong, */
#top.case-study.case-study .secondary-page-breadcrumbs .breadcrumb-separator,
#top.case-study.case-study .secondary-page-breadcrumbs span a {
    color: var(--est-accent-color);
}

#top:is(.single-post, .case-study) #header span.logo svg g path.cls-3,
#top:is(.single-post, .case-study) #header span.logo .scroll-logo g path.bls-3,
:is(.single-post, .case-study) #footer .footer-logo svg g path.cls-3 {
    fill: var(--est-accent-color);
}

#top:is(.single-post, .case-study) .case-read-more span.mint-expand,
#top:is(.single-post, .case-study) .case-what-we-did .case-tags a,
#top:is(.single-post, .case-study) #header_main .main_menu ul#av-burger-menu-ul li a span.avia-bullet,
#top.case-study #footer-form .estland-iconlist ul li .iconlist_icon {
    background: var(--est-accent-color);
}

#top:is(.single-post, .case-study) .avia_textblock:not(.tag-list) ul li::before,
#top:is(.single-post, .case-study) .estland-accordion .toggle_content ul li::before {
    background-color: var(--est-accent-color) !important;
}

#top:is(.case-study, .single-post) ::selection {
    background-color: var(--est-accent-color);
}

#top:is(.single-post, .case-study) h1 > strong,
#top#top:is(.single-post, .case-study) h4.leading-header,
#top#top:is(.single-post, .case-study) h3 + h4,
#top#top:is(.single-post, .case-study) h2 + h4,
#top#top:is(.single-post, .case-study) h1 + h4,
#top#top:is(.single-post, .case-study) .avia_textblock h3,
#top#top span.quote-icon,
#top:is(.single-post, .case-study) .hero-breadcrumb a,
#top:is(.single-post, .case-study) .avia_textblock h2 > strong,
#top:is(.single-post, .case-study) .avia_textblock a,
#top:is(.single-post, .case-study) .avia_textblock strong,
#top:is(.single-post, .case-study) .avia_textblock p > strong > a,
#top:is(.single-post, .case-study) .avia_textblock p > a,
#top:is(.single-post, .case-study) #footer h2 > strong,
#top:is(.single-post, .case-study) #data-card-slider .card-row .case-data-card h5,
:is(.single-post, .case-study) #footer .textwidget p > strong {
    color: var(--est-accent-color);
}

/* #top.single-post .case-read-more span.mint-expand, */
/* #top.single-post .case-what-we-did .case-tags a, */
/* #top.single-post #header_main .main_menu ul#av-burger-menu-ul li a span.avia-bullet, */
#top.single-post .estland-iconlist ul li .iconlist_icon {
    background: var(--est-accent-color);
}

#top.single-post .avia_textblock blockquote {
    border-color: var(--est-accent-color);
}

#top#top:is(.single-post, .case-study) .hbspt-form .hs_submit input.hs-button:hover {
    background: var(--est-accent-color);
    color: var(--est-text-on-accent-color) !important;
    /* overriding an override */
}

#top .avia_textblock:not(.tag-list) ul li::before,
#top .estland-accordion .toggle_content ul li::before {
    background-color: var(--est-accent-color) !important;
}

#top:is(.single-post, .case-study) .avia_textblock ul li a {
    color: var(--est-accent-color);
}

#top#top#top:is(.single-post, .case-study) .gform_wrapper .button:hover,
#top .hbspt-form .hs_submit input.hs-button:hover {
    background: var(--est-accent-color);
    color: var(--est-text-on-accent-color);
}

#top:is(.single-post, .case-study) .mockup-slide-controls a:hover span.slide-control-arrow,
#top#top:is(.single-post, .case-study) .estland-button a:hover,
#top:is(.single-post, .case-study) #footer .social_bookmarks li a:hover,
#top:is(.single-post, .case-study) .estland-pause-button:hover span.av-icon-char {
    background: var(--est-accent-color);
}

#top:is(.single-post, .case-study) #footer .social_bookmarks li:hover a:before {
    color: var(--est-text-on-accent-color);
}

#top .avia_textblock ul li a {
    color: var(--est-accent-color);
}

/******************************
=Global Styles
******************************/
/**
* Misc Utility Classes
*************************/
/* pseudoelement removal */
.est-remove-before::before {
    display: none;
}

.est-remove-after::after {
    display: none;
}

#top#top#top .est-text-always-dark :is(p, li, h1, h2, h3, h4, h5) {
    color: var(--black-text);
}

/*Spacing*/
#top#top#top .est-padding-medium--variable {
    padding: var(--padding-medium--variable);
}

#top#top#top .est-padding-medium--variable--inline {
    padding-inline: var(--padding-medium--variable);
}



/*Layout*/
#top#top#top .est-set-flex {
    display: flex;
}

#top#top#top .est-set-flex--space-between {
    justify-content: space-between;
}

#top#top#top .est-remove-margin {
    margin: 0
}

/*Font size*/

.est-font-size--xxxl {
    font: var(--font-size-xxxl) !important;
}

.est-font-size--xxl {
    font: var(--font-size-xxl) !important;
}

.est-font-size--xl {
    font: var(--font-size-xl) !important;
}

.est-font-size--l {
    font: var(--font-size-l) !important;
}

.est-font-size--ml {
    font: var(--font-size-ml) !important;
}

.est-font-size--m {
    font: var(--font-size-m) !important;
}

.est-font-size--s {
    font: var(--font-size-s) !important;
}

.est-font-size--xs {
    font: var(--font-size-xs) !important;
}

.est-font-size--xxs {
    font: var(--font-size-xxs) !important;
}

.est-font-size--xxxs {
    font: var(--font-size-xxxs) !important;
}

.est-font-variable--xl {
    font-size: var(--font-size-variable-xl) !important;
}

.est-font-variable--l {
    font-size: var(--font-size-variable-l) !important;
}

:is(p, li, h1, h2, h3, h4, h5) span {
    /* font-size: inherit !important;
    font-weight: inherit !important; */
}

/*Font weight*/
#top#top#top .est-weight-semibold,
#top#top#top .est-weight-semibold :is(p, li, h1, h2, h3, h4, h5) {
    font-weight: 600;
}

#top#top#top .est-weight-medium,
#top#top#top .est--weight-medium :is(p, li, span, h1, h2, h3, h4, h5) {
    font-weight: 500 !important;
}

/*Font color*/
#top#top#top .est-color--dark-mint,
#top#top#top .est-color--dark-mint :is(p, li, h1, h2, h3, h4, h5) {
    color: var(--dark-mint);
}

/*Font wrapping*/
.est-text-wrap--pretty {
    text-wrap: pretty !important;
}

/* Always dark sections */
#top#top#top .est-section-always-dark :is(p, h1, h2, h3, h4, h5, li),
#top#top#top .est-section-always-dark .estland-button-alternate a {
    color: var(--white);
}

#top#top#top .est-section-always-dark .estland-button-alternate a {
    background: var(--darker-grey);
}

#top#top .est-section-always-dark .estland-button a:hover {
    color: var(--black-text) !important;
    border-color: transparent !important;
}

#top#top#top .est-section-always-dark--black {
    background-color: var(--dark-black);
}

/*off white sections - ex: HS landing page*/
#top #main .main_color.bg-off-white {
    background-color: var(--off-light-white);
}

/* Images */
img {
    pointer-events: none !important;
}

#top .avia-image-container-inner {
    border-radius: var(--border-radius-medium);
    overflow: hidden;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden;
}

#top p span.callout {
    padding-left: 30px !important;
    color: white;
    font-family: var(--poppins);
    font-weight: 500;
    font-size: var(--font-size-xl);
    /* line-height: 40px; */
    letter-spacing: 1.5px;
    display: inline-block;
    vertical-align: middle;
}

#top #main p a.cta-anchor {
    font-size: var(--font-size-xl);
    vertical-align: middle;
    margin-top: 50px;
    margin-bottom: 50px;
    display: block;
    color: var(--dark-mint);
}

#top #main p a.cta-anchor:hover {
    color: var(--mint);
}

body.no-scroll {
    overflow: hidden;
}

#top#top #main .main_color {
    border: 0;
}

#top#top .secondary-page-breadcrumbs {
    background: transparent;
    padding-top: 145px;
}

#top#top .secondary-page-breadcrumbs * {
    font-family: var(--poppins);
    font-weight: 400;
    font-size: var(--font-size-xs);
    line-height: 1.4;
}

#top .secondary-page-breadcrumbs .content > span {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 3px;
}

#top#top .secondary-page-breadcrumbs .breadcrumb-separator {
    background: none;
    color: var(--mint);
    width: auto;
}

/* #top .container {padding: 0 90px;} */
#top .secondary-page-breadcrumbs > .container {
    padding: 0 !important;
}

.template-page .entry-content-wrapper h1,
.template-page .entry-content-wrapper h2 {
    text-transform: none;
}

body .alignleft,
.entry-content-wrapper a:hover .alignleft {
    margin: 4px 20px 5px 0;
}

/* hr - horizontal rule */
.hr-inner {
    transition: var(--transition-all);
}

#top.body-black .hr-inner {
    border-color: var(--darker-grey);
}

/*form popups*/
.mfp-bg {
    opacity: 0.5;
}

.form-popup {
    position: relative;
    background: var(--black);
    width: 80%;
    max-width: 750px;
    margin: 5% auto;
    padding: 50px 50px 25px;
    border-radius: 15px;
}

#top .form-popup.schedule-now {
    padding: 50px 10px 0 !important;
}

#top .form-popup .gform_wrapper input,
#top .form-popup .gform_wrapper textarea {
    color: var(--white);
}

#top .form-popup .gform_wrapper .gform_footer {
    justify-content: center;
    padding-bottom: 0;
}

#top .form-popup h2 {
    color: var(--white);
    font-size: var(--font-size-xxl);
    /* line-height: 44px; */
    text-align: center;
}

#top .form-popup h2 strong {
    font-size: var(--font-size-xxl);
    /* line-height: 44px; */
    color: var(--mint);
}

#top#top .form-popup > h3 {
    font-family: var(--poppins);
    font-weight: 700;
    font-size: 2.75rem;
    /* line-height: 2.85rem; */
    color: var(--white);
}

#top .form-popup .mfp-close:hover {
    background: var(--dark-mint);
}

#top .form-popup .gform_wrapper fieldset.gfield--type-name {
    margin-bottom: 0;
}

#top .form-popup .hbspt-form .hs_submit {
    text-align: center;
}

#top .form-popup fieldset legend {
    font-family: var(--poppins);
    font-weight: 500;
    color: var(--white);
}

#top .form-popup .gform_wrapper .gfield--type-html {
    padding: 15px 0 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#top#top .form-popup .gform_wrapper .gfield--type-html h4 {
    color: var(--mint);
    font-family: var(--poppins);
    font-weight: 400;
    font-size: 1.5rem;
    /* line-height: 1.75rem; */
}

#top .form-popup .gform_wrapper .gfield--type-html p {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.1;
    margin: 0;
}

#top .form-popup .gform_wrapper .gform_page_footer .button.gform_next_button,
#top .form-popup .gform_wrapper .gform_page_footer .button.gform_previous_button,
#top .form-popup .gform_wrapper .gform_page_footer input[type="submit"] {
    font-family: var(--montserrat);
    font-weight: 700;
    font-size: var(--font-size-xxs);
    /* line-height: 18px; */
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7) !important;
    background: transparent;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: none !important;
    border-radius: 50px;
    padding: 15px 20px;
    height: 100%;
    transition: all 300ms ease-in-out !important;
    min-width: 125px !important;
    opacity: 1 !important;
}

#top .form-popup .gform_wrapper .gform_page_footer .button.gform_next_button:hover,
#top .form-popup .gform_wrapper .gform_page_footer .button.gform_previous_button:hover,
#top .form-popup .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    color: var(--white) !important;
    background: linear-gradient(45deg, var(--light-mint-gradient), var(--dark-mint-gradient)) padding-box,
        linear-gradient(45deg, var(--light-mint-gradient), var(--dark-mint-gradient)) border-box;
    border-color: transparent !important;
}

#top #book-now.form-popup .gform_wrapper .gf_progressbar_title {
    opacity: 0;
}

#top .form-popup .gform_wrapper .gf_progressbar_percentage {
    height: 15px;
}

#top .form-popup .gform_wrapper .gf_progressbar_percentage span {
    opacity: 0;
}

#top #book-now.form-popup .gform_wrapper .gfield_radio,
#top #book-now.form-popup .gform_wrapper .gfield_checkbox {
    display: flex;
    align-items: center;
    gap: 2%;
}

#top #book-now.form-popup .gform_wrapper .gfield_radio .gchoice,
#top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice {
    border-style: solid;
    border-width: 1px;
    border-color: var(--white);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    padding: 8px 20px 10px;
    text-align: center;
    width: auto;
    transition: all 300ms ease-in-out;
}

#top #book-now.form-popup .gform_wrapper .gfield_radio .gchoice input,
#top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice input {
    opacity: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#top #book-now.form-popup .gform_wrapper .gfield_radio .gchoice input:hover,
#top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice input:hover {
    cursor: pointer;
}

#top #book-now.form-popup .gform_wrapper .gfield_radio .gchoice label,
#top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice label {
    font-family: var(--poppins);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    width: 100%;
    max-width: 100%;
}

#top #book-now.form-popup .gform_wrapper .gfield_radio .gchoice:hover,
#top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice:hover,
#top #book-now.form-popup .gform_wrapper .gfield_radio .gchoice:has(input[type="radio"]:checked),
#top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice:has(input[type="checkbox"]:checked) {
    background: var(--dark-mint);
    border-color: var(--dark-mint);
    cursor: pointer;
}

#top #book-now.form-popup .gform_wrapper .gfield_radio .gchoice:hover label,
#top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice:hover label,
#top #book-now.form-popup .gform_wrapper .gfield_radio .gchoice:has(input[type="radio"]:checked) label,
#top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice:has(input[type="checkbox"]:checked) label {
    color: var(--black);
}

#top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice label > span.ginput_price {
    display: none;
}

#top #book-now.form-popup .gform_wrapper .gform-page-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

@media only screen and (max-width: 767px) {

    #top #book-now.form-popup .gform_wrapper .gfield_radio,
    #top #book-now.form-popup .gform_wrapper .gfield_checkbox {
        display: flex;
        align-items: flex-start;
        row-gap: 20px;
        flex-direction: column;
    }

    #top #book-now.form-popup .gform_wrapper .gform-page-footer {
        flex-direction: column;
    }

    #top #book-now.form-popup .gform_wrapper .gfield--type-total {
        width: 100%;
        flex-direction: unset;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
    }

    #top #book-now.form-popup .gform_wrapper .gfield--type-total label {
        margin: 0;
    }

    #top #book-now.form-popup .gform_wrapper .gfield--type-total label,
    #top #book-now.form-popup .gform_wrapper .gfield--type-total .ginput_container_total {
        width: 100%;
    }

    #top .form-popup .gform_wrapper .gform_page_footer .button.gform_next_button,
    #top .form-popup .gform_wrapper .gform_page_footer .button.gform_previous_button,
    #top .form-popup .gform_wrapper .gform_page_footer input[type="submit"] {
        margin: 0;
    }

    #top .form-popup .gform_wrapper .gform_page_footer .button.gform_previous_button {
        order: 2;
    }

    #top .form-popup .gform_wrapper .gform_page_footer .button.gform_next_button,
    #top .form-popup .gform_wrapper .gform_page_footer input[type="submit"] {
        order: 3;
    }
}

@media only screen and (max-width: 500px) {
    #top .form-popup {
        width: 90%;
        padding: 40px 35px 20px;
    }

    #top#top .form-popup h2 {
        font-size: var(--font-size-xl);
        /* line-height: 34px; */
    }

    #top #book-now.form-popup .gform_wrapper .gfield_radio .gchoice,
    #top #book-now.form-popup .gform_wrapper .gfield_checkbox .gchoice {
        width: 100%;
    }

    /*.mfp-bg {overflow: hidden !important;}
    .mfp-wrap:not(.mfp-gallery),
    .mfp-bg {
    width: 100vw;
    height: 100vh !important;
    }*/
}

/*gallery popups*/
#top .mfp-gallery .mfp-figure figure > img {
    padding-bottom: 0;
}

#top .mfp-gallery .mfp-figure figure > figcaption {
    width: 100%;
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
}

#top .mfp-gallery .mfp-figure figure > figcaption .mfp-bottom-bar {
    margin-top: 0;
    position: relative;
}

#top .mfp-gallery .mfp-figure figure > figcaption .mfp-bottom-bar .mfp-title {
    padding: 15px 35px;
}

#top .mfp-gallery .mfp-figure figure > figcaption .mfp-bottom-bar .mfp-counter {
    bottom: 0;
    top: auto;
}

/*mint underscore*/
#top strong.underscore {
    position: relative;
    bottom: 18px;
    color: var(--mint);
}

@media only screen and (max-width: 767px) {
    #top strong.underscore {
        bottom: 8px;
    }
}

/*mint expand*/
#top .avia_textblock h2 span.mint-expand,
#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title span span.av-inner-tab-title span.mint-expand,
#top#top .post-cat-group h4 span.mint-expand {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--black-text);
    border-radius: 3px;
    margin-left: 5px;
    transition: all 300ms ease-in-out;
}

/*footer form*/
#top #footer-form {
    /*height: 100vh;
    min-height: 650px;*/
    height: 100%;
    padding: 5% 0;
    display: flex;
    align-items: center;
    position: relative;
}

#top #footer-form .avia_textblock p {
    font-size: var(--font-size-l);
    /* line-height: 36px; */
}

/*black body bg transitions*/
#top #main {
    background-color: var(--background-main);
    transition: var(--transition-background);
}

#top.body-black #main {
    --background-main: var(--dark-black);
}

#top.body-light #main {
    --background-main: var(--white);
}

#top #main .main_color {
    background-color: transparent;
}

#top.body-black #header span.av-hamburger-inner,
#top.body-black #header span.av-hamburger-inner::before,
#top.body-black #header span.av-hamburger-inner::after {
    background-color: var(--white);
}

/*energy industry enews sign up page*/
#top.page-id-18014 #footer-form .gform_wrapper fieldset {
    margin-bottom: 0;
}

#top.page-id-18014 #footer #gform_widget-2,
#top.page-id-18024 #footer #gform_widget-2 {
    display: none;
}

#top.page-id-18014 #footer-form .flex_column h2 strong {
    display: block;
}

#top.page-id-18024 .featured-hero .hero-content {
    width: 100% !important;
}

@media only screen and (max-width: 989px) {
    #top.page-id-18014 .featured-hero {
        height: 100% !important;
        padding-top: 100px;
    }

    #top.page-id-18014 .featured-hero .secondary-page-breadcrumbs,
    #top.page-id-18024 .featured-hero .secondary-page-breadcrumbs {
        display: none !important;
    }

    #top.page-id-18024 .featured-hero .hero-content h2,
    #top.page-id-18024 .featured-hero .hero-content h2 strong {
        font-size: var(--heading-size-m);
        /* line-height: 62px; */
    }

    #top.page-id-18024 .featured-hero .hero-content h2 br {
        display: inherit;
    }
}

@media only screen and (max-width: 500px) {

    #top.page-id-18024 .featured-hero .hero-content h2,
    #top.page-id-18024 .featured-hero .hero-content h2 strong {
        font-size: var(--font-size-xl) !important;
    }
}

#top.body-black h2,
#top.body-black p,
/* #top .featured-hero + .black-bg h2,
#top .featured-hero + .black-bg p, */
#top.page-id-77 #footer-form p,
#top.page-id-18014 #footer-form p,
#top.page-id-18024 #footer-form p,
#top.body-black .avia_textblock h4 > strong,
/* #top .featured-hero + .black-bg + .black-bg h2,
#top .featured-hero + .black-bg + .black-bg + .black-bg h2,
#top .featured-hero + .black-bg + .black-bg + .black-bg + .black-bg h2,
#top .featured-hero + .black-bg + .black-bg p,
#top .featured-hero + .black-bg + .black-bg h5,
#top .featured-hero + .black-bg + .black-bg + .black-bg p,
#top .featured-hero + .black-bg + .black-bg + .black-bg + .black-bg p, */
#top.body-black:not(.active-featured-hero) h2,
#top.body-black:not(.active-featured-hero) p,
#top.body-black:not(.active-featured-hero) h1,
#top.body-black:not(.active-featured-hero) h5,
#top.body-black.body-black li {
    color: var(--white);
}

#top.body-black h2 > strong,
#top .featured-hero + .black-bg h2 > strong,
#top#top.body-black h4,
#top .featured-hero + .black-bg h4,
#top.body-black .avia_textblock p > a,
#top .featured-hero + .black-bg p > a,
#top.body-black .avia_textblock p > strong,
#top#top .est-section-always-dark :is(.avia_textblock p > strong),
#top.body-black .gform_wrapper span.gfield_required,
#top.body-black .gform_wrapper span.gfield_description,
#top.body-black .hbspt-form form label span,
#top .form-popup .hbspt-form form label span,
#top .black-bg .hbspt-form form label span {
    color: var(--mint);
}

#top.body-black h2 span.mint-expand {
    background: var(--white);
}

#top.body-black .gform_wrapper input,
#top.body-black .gform_wrapper textarea,
#top.body-black .gform_wrapper select,
#top.page-id-77 #footer-form .gform_wrapper input,
#top.page-id-18014 #footer-form .gform_wrapper input,
#top.page-id-77 #footer-form .gform_wrapper textarea,
#top.body-black .gform_wrapper label,
#top.body-black .gform_wrapper legend,
#top .form-popup .gform_wrapper input,
#top .form-popup .gform_wrapper textarea,
#top .form-popup .gform_wrapper select,
#top.body-black .hbspt-form form input[type='text'],
#top.body-black .hbspt-form form input[type='input'],
#top.body-black .hbspt-form form input[type='password'],
#top.body-black .hbspt-form form input[type='email'],
#top.body-black .hbspt-form form input[type='number'],
#top.body-black .hbspt-form form input[type='url'],
#top.body-black .hbspt-form form input[type='tel'],
#top.body-black .hbspt-form form textarea,
#top.body-black .hbspt-form form select,
#top .form-popup .hbspt-form form input[type='text'],
#top .form-popup .hbspt-form form input[type='input'],
#top .form-popup .hbspt-form form input[type='password'],
#top .form-popup .hbspt-form form input[type='email'],
#top .form-popup .hbspt-form form input[type='number'],
#top .form-popup .hbspt-form form input[type='url'],
#top .form-popup .hbspt-form form input[type='tel'],
#top .form-popup .hbspt-form form textarea,
#top .form-popup .hbspt-form form select,
#top .hero-message.black-bg .hbspt-form form input[type='text'],
#top .hero-message.black-bg .hbspt-form form input[type='input'],
#top .hero-message.black-bg .hbspt-form form input[type='password'],
#top .hero-message.black-bg .hbspt-form form input[type='email'],
#top .hero-message.black-bg .hbspt-form form input[type='number'],
#top .hero-message.black-bg .hbspt-form form input[type='url'],
#top .hero-message.black-bg .hbspt-form form input[type='tel'],
#top .hero-message.black-bg .hbspt-form form textarea,
#top .hero-message.black-bg .hbspt-form form select {
    color: var(--white) !important;
}

#top.body-black .gform_wrapper input::-webkit-input-placeholder,
#top.body-black .gform_wrapper textarea::-webkit-input-placeholder,
#top.page-id-77 #footer-form .gform_wrapper input::-webkit-input-placeholder,
#top.page-id-77 #footer-form .gform_wrapper textarea::-webkit-input-placeholder,
#top.page-id-18014 #footer-form .gform_wrapper input::-webkit-input-placeholder,
#top .form-popup .gform_wrapper input::-webkit-input-placeholder,
#top .form-popup .gform_wrapper textarea::-webkit-input-placeholder,
#top.body-black .hbspt-form form input::-webkit-input-placeholder,
#top.body-black .hbspt-form form textarea::-webkit-input-placeholder,
#top .form-popup .hbspt-form form input::-webkit-input-placeholder,
#top .form-popup .hbspt-form form textarea::-webkit-input-placeholder,
#top .hero-message.black-bg .hbspt-form form input::-webkit-input-placeholder,
#top .hero-message.black-bg .hbspt-form form textarea::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

#top.body-black .gform_wrapper input:-moz-placeholder,
#top.body-black .gform_wrapper textarea:-moz-placeholder,
#top.page-id-77 #footer-form .gform_wrapper input:-moz-input-placeholder,
#top.page-id-77 #footer-form .gform_wrapper textarea:-moz-input-placeholder,
#top.page-id-18014 #footer-form .gform_wrapper input:-moz-input-placeholder,
#top .form-popup .gform_wrapper input:-moz-input-placeholder,
#top .form-popup .gform_wrapper textarea:-moz-input-placeholder,
#top.body-black .hbspt-form form input:-moz-placeholder,
#top.body-black .hbspt-form form textarea:-moz-placeholder,
#top .form-popup .hbspt-form form input:-moz-placeholder,
#top .form-popup .hbspt-form form textarea:-moz-placeholder,
#top .hero-message.black-bg .hbspt-form form input:-moz-placeholder,
#top .hero-message.black-bg .hbspt-form form textarea:-moz-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

#top.body-black .gform_wrapper input::-moz-placeholder,
#top.body-black .gform_wrapper textarea::-moz-placeholder,
#top.page-id-77 #footer-form .gform_wrapper input::-moz-input-placeholder,
#top.page-id-77 #footer-form .gform_wrapper textarea::-moz-input-placeholder,
#top.page-id-18014 #footer-form .gform_wrapper input::-moz-input-placeholder,
#top .form-popup .gform_wrapper input::-moz-input-placeholder,
#top .form-popup .gform_wrapper textarea::-moz-input-placeholder,
#top.body-black .hbspt-form form input::-moz-placeholder,
#top.body-black .hbspt-form form textarea::-moz-placeholder,
#top .form-popup .hbspt-form form input::-moz-placeholder,
#top .form-popup .hbspt-form form textarea::-moz-placeholder,
#top .hero-message.black-bg .hbspt-form form input::-moz-placeholder,
#top .hero-message.black-bg .hbspt-form form textarea::-moz-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

#top.body-black .gform_wrapper input:-ms-input-placeholder,
#top.body-black .gform_wrapper textarea:-ms-input-placeholder,
#top.page-id-77 #footer-form .gform_wrapper input:-ms-input-placeholder,
#top.page-id-77 #footer-form .gform_wrapper textarea:-ms-input-placeholder,
#top.page-id-18014 #footer-form .gform_wrapper input:-ms-input-placeholder,
#top .form-popup .gform_wrapper input:-ms-input-placeholder,
#top .form-popup .gform_wrapper textarea:-ms-input-placeholder,
#top.body-black .hbspt-form form input:-ms-input-placeholder,
#top.body-black .hbspt-form form textarea:-ms-input-placeholder,
#top .form-popup .hbspt-form form input:-ms-input-placeholder,
#top .form-popup .hbspt-form form textarea:-ms-input-placeholder,
#top .hero-message.black-bg .hbspt-form form input:-ms-input-placeholder,
#top .hero-message.black-bg .hbspt-form form textarea:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/*black bg sections*/
/* #top .featured-hero + .black-bg,
#top .featured-hero + .black-bg + .black-bg,
#top .featured-hero + .black-bg + .black-bg + .black-bg,
#top .featured-hero + .black-bg + .black-bg + .black-bg + .black-bg {
    background-color: var(--dark-black) !important;
} */
#top:not(.ad-landing) .featured-hero + .black-bg > .container > .content {
    padding-top: 0 !important;
}

/*buttons*/
#top .estland-button {
    margin-top: 20px;
}

#top .estland-button a,
#top .gform_wrapper .gform_footer .button,
#top .gform_wrapper #field_submit .button,
#top.case-study .estland-button a,
#top .av_promobox .avia-button-wrap a,
#top .hbspt-form .hs_submit input.hs-button,
.estland-load-more,
#top .est-masonry-gallery a.av-masonry-load-more,
#top#top .est-text-always-dark :is(a:not(:hover), .estland-button a:not(:hover)) {
    font-family: var(--montserrat);
    font-weight: 700;
    font-size: var(--font-size-xs);
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--black-text) !important;
    background: transparent;
    border: 2px solid var(--black-text) !important;
    border-width: 2px;
    border-style: solid;
    border-color: var(--black-text) !important;
    /* box-shadow: none !important; */
    border-radius: 50px;
    padding: 15px 30px;
    transition: all 300ms ease-in-out !important;
    min-width: 0 !important;
    float: none;
    opacity: 1 !important;
}

#top #footer .gform_fields {
    display: flex;
}

#top #footer .gfield--type-email {
    flex: 1;
}

#top #footer .gfield--type-submit {
    flex: 0.5;
    flex-basis: 30px;
    max-width: 9rem;
}

#top .est-masonry-gallery a.av-masonry-load-more {
    letter-spacing: normal !important;
    width: max-content;
    margin: 20px auto 0;
}

#top .est-masonry-gallery a.av-masonry-load-more.av-masonry-no-more-items {
    opacity: 0 !important;
}

#top .estland-button a:hover,
#top .gform_wrapper .gform_footer .button:hover,
#top .gform_wrapper #field_submit .button:hover,
#top.case-study .estland-button a:hover,
.post-nav-controls > .est-slide-control-wrapper > a#next-btn:hover span.slide-control-arrow,
.post-nav-controls > .est-slide-control-wrapper > a#next-team-btn:hover span.slide-control-arrow,
.data-card-controls > a#next-btn:hover span.slide-control-arrow,
#top #pauseButton span.av-icon-char:hover,
#top .estland-pause-button span.av-icon-char:hover,
.web-slider-controls > a#next-btn:hover span.slide-control-arrow,
#top .av_promobox .avia-button-wrap a:hover,
#top .estland-button.white-button a:hover,
#top .hbspt-form .hs_submit input.hs-button:hover,
.estland-load-more:hover,
#top .est-masonry-gallery a.av-masonry-load-more:hover,
#top .glide__arrow--right:hover {
    color: var(--white) !important;
    background: linear-gradient(45deg, var(--light-mint-gradient), var(--dark-mint-gradient)) padding-box,
        linear-gradient(45deg, var(--light-mint-gradient), var(--dark-mint-gradient)) border-box;
    border-color: transparent !important;
}

.post-nav-controls > .est-slide-control-wrapper > a#prev-btn:hover span.slide-control-arrow,
.post-nav-controls > .est-slide-control-wrapper > a#prev-team-btn:hover span.slide-control-arrow,
.data-card-controls > a#prev-btn:hover span.slide-control-arrow,
.web-slider-controls > a#prev-btn:hover span.slide-control-arrow,
#top .glide__arrow--left:hover {
    color: var(--white) !important;
    background: linear-gradient(45deg, var(--dark-mint-gradient), var(--light-mint-gradient)) padding-box,
        linear-gradient(45deg, var(--dark-mint-gradient), var(--light-mint-gradient)) border-box;
    border-color: transparent !important;
}

#top.body-black .estland-button a,
#top.body-black .gform_wrapper .gform_footer .button,
#top.body-black .gform_wrapper #field_submit .button,
#top.page-id-77 #footer-form .gform_wrapper .gform_footer .button,
#top.page-id-18014 #footer-form .gform_wrapper .gform_footer .button,
#top.body-black .av_promobox .avia-button-wrap a,
#top .form-popup .gform_wrapper .gform_footer .button,
#top.body-black .hbspt-form .hs_submit input.hs-button,
#top .form-popup .hbspt-form .hs_submit input.hs-button,
#top .hero-message.black-bg .hbspt-form .hs_submit input.hs-button,
#top.body-black .estland-load-more,
#top .est-section-always-dark :is(.estland-button a) {
    color: var(--white) !important;
    border-color: var(--white) !important;
}

#top.body-black .estland-button--glow a {
  animation: glowing 1.5s infinite alternate ease-in-out; 
}

@keyframes glowing {
  from {
    /* Initial state: subtle glow */
    box-shadow: 0 0 0 0 var(--est-accent-color);
  }
  to {
    /* Peak glow state: larger, more intense shadow */
    box-shadow: 0 0 20px var(--est-accent-color);
  }
}


#top.body-black .estland-button a:hover,
#top.body-black .gform_wrapper .gform_footer .button:hover,
#top.body-black .gform_wrapper #field_submit .button:hover,
#top.page-id-77 #footer-form .gform_wrapper .gform_footer .button:hover,
#top.page-id-18014 #footer-form .gform_wrapper .gform_footer .button:hover,
#top.body-black .av_promobox .avia-button-wrap a:hover,
#top .form-popup .gform_wrapper .gform_footer .button:hover,
#top.body-black .hbspt-form .hs_submit input.hs-button:hover,
#top .form-popup .hbspt-form .hs_submit input.hs-button:hover,
#top .black-bg .hbspt-form .hs_submit input.hs-button:hover,
#top.body-black .estland-load-more:hover {
    color: var(--est-text-on-accent-color) !important;
    border-color: transparent !important;
}

#top .estland-button a[class*="avia-icon_select-yes-"] {
    display: flex;
    align-items: center;
    padding: 10px 30px 10px 36px;
}

#top .estland-button a span.avia_button_icon {
    font-size: var(--font-size-l);
    line-height: 1.08;
    margin-right: 5px;
}

#top .estland-button a span.avia_iconbox_title {
    font-family: var(--montserrat);
    font-weight: 700;
    font-size: var(--font-size-xs);
    /* line-height: 18px; */
}

#top .estland-button.white-button a {
    color: var(--white) !important;
    border-color: var(--white) !important;
}

#top#top .estland-button--learn-more a,
#top#top .estland-button--learn-more a:hover {
    background: transparent;
}

#top .estland-button--learn-more a {
    border: none;
    color: var(--white);
    font-family: var(--poppins);
    font-weight: 500;
    font-size: var(--font-size-m);
    line-height: 1;
    margin-top: var(--padding-medium);
    padding: 0;
    transition: var(--transition-all);
}

#top .estland-button--learn-more a span {
    color: var(--white);
    margin-top: auto;
    position: relative;
    transition: var(--transition-all);
    z-index: 2;
}

#top .estland-button--learn-more a:hover {
    padding-left: 1em;
    opacity: 1;
}

#top .estland-button--learn-more a span::after {
    background: var(--est-accent-color);
    content: "";
    display: inline-block;
    height: .2em;
    left: calc(100% + 0.2em);
    margin-left: .2em;
    transition: var(--transition-all);
    width: .2em;
}

#top .estland-button--learn-more a:hover span::after {
    width: 1em;
}

/*featured hero section*/
#top .featured-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: max-content;
}

#top.white-bg .featured-hero {
    height: 75vh;
    min-height: 550px;
}

#top.white-bg .avia-builder-el-0 .container {
    padding-top: 0;
}

#top:not(.white-bg) .featured-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    visibility: visible;
    z-index: 2;
}

#top:not(.white-bg) .featured-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.25), var(--dark-black));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    visibility: visible;
    z-index: 2;
}

#top .featured-hero .hero-bg {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#top .featured-hero > .container {
    min-height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    padding-bottom: 5%;
    z-index: 3;
}

#top .featured-hero > .container > .content {
    padding: 0;
}

#top.home .featured-hero > .container {
    flex-direction: unset;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 10%;
}

#top.home .featured-hero h1 {
    margin-bottom: var(--padding-large);
}

#top.home .featured-hero h1,
#top.home .featured-hero h1 > strong {
    font-size: var(--heading-size-l);
    /* line-height: 1.02; */
}

#top#top.home .featured-hero .hero-content h4 {
    color: var(--white);
}

#top .featured-hero .hero-content {
    width: 75%;
    z-index: 3;
}

#top.home .featured-hero .hero-content {
    max-width: 850px;
    width: 100%;
}

@media (min-width: 768px) {
    #top.home .featured-hero .hero-content {
        margin-top: calc(var(--header-height) + 15px);
    }
}

#top .featured-hero .hero-buttons {
    width: 35%;
    display: flex;
    justify-content: flex-end;
    z-index: 3;
}

#top.home .featured-hero .hero-buttons {
    width: 100%;
    justify-content: flex-start;
}

#top.home .featured-hero .hero-buttons a {
    margin-right: 15px;
}

#top .featured-hero .hero-buttons .estland-button {
    margin-top: var(--padding-large);
}

#top .featured-hero .hero-buttons .estland-button a {
    color: var(--white) !important;
    border-color: var(--white) !important;
}

#top .featured-hero .hero-buttons .estland-button a:hover {
    color: var(--black-text) !important;
    border-color: transparent !important;
}

#top:not(.home) .featured-hero .hero-buttons {
    position: absolute;
    right: 90px;
    z-index: 9;
}

@media only screen and (max-width: 768px) {
    #top:not(.home) .featured-hero .hero-buttons {
        position: relative;
        left: 0;
        width: 100%;
        right: 0;
    }
}

#top .featured-hero h1,
#top .featured-hero h2 {
    color: var(--white);
    text-transform: capitalize;
}

#top .featured-hero h1 strong,
#top .featured-hero h2 strong {
    color: var(--mint);
    text-transform: capitalize;
}

#top .featured-hero p {
    color: var(--white);
}

#top .featured-hero .hero-content .hero-message > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
}

#top .featured-hero .hero-content .hero-message > .container > .content {
    padding: 0;
}

#top .featured-hero .hero-content .hero-message.black-bg .avia_textblock p {
    color: var(--white) !important;
}

#top .featured-hero.case-study-hero > .container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center;
    justify-content: center;
}

/*white bg featured hero - no overlay*/
#top.white-bg .no-overlay-hero {
    min-height: 500px;
    background-size: cover;
}

#top.white-bg.page-id-19813 .no-overlay-hero {
    background-position: 50% 75%;
}

/* featured hero with background image */
#top .featured-hero.featured-hero--image-bg .container > main {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/*case study template*/
#top.case-study .secondary-page-breadcrumbs {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    padding: 0;
    background: transparent;
}

#top.case-study .secondary-page-breadcrumbs span a {
    color: var(--white) !important;
}

#top.case-study .secondary-page-breadcrumbs > .container {
    width: 100%;
    max-width: var(--max-content-width);
    padding: 0 90px !important;
}

#top.case-study .secondary-page-breadcrumbs span.breadcrumb_last {
    color: var(--white);
}

#top.case-study p + h2 {
    margin-top: 0;
}

#top.case-study .avia-section.main_color:not(.featured-hero) {
    margin: var(--padding-medium--variable) 0;
}

#top.case-study #footer-form {
    margin: 0 !important;
}

#top.case-study .featured-hero {
    margin-bottom: 2.5%;
}

#top .featured-hero.case-study-hero > .container > .content {
    padding: 0 !important;
}

#top .featured-hero.case-study-hero .case-study-featured {
    height: 100vh;
    min-height: 675px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#top .featured-hero.case-study-hero .case-study-featured > .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    max-width: 100%;
    float: none;
    padding: 0;
}

#top .featured-hero.case-study-hero:before {
    display: none;
}

#top .featured-hero.case-study-hero:after {
    display: none;
}

#top .featured-hero.case-study-hero .case-study-featured .case-bg-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

#top .featured-hero.case-study-hero .case-study-featured img {
    max-width: 500px;
}

#top .case-top-section,
#top .case-what-we-did > p,
#top .case-web-summary > p {
    max-width: 1000px;
}

#top .case-read-more {
    font-family: var(--poppins);
    font-weight: 500;
    font-size: 24px;
    width: max-content;
    transform: translateX(0);
    transition: all 200ms linear !important;
}

#top a.read-more,
#top .chiclet-link p {
    width: max-content;
    font-family: var(--poppins);
    font-weight: 500;
    font-size: var(--font-size-m);
    line-height: 1.1;
    color: var(--black-text);
    transform: translateX(0);
    transition: all 200ms linear;
}

#top.body-black .chiclet-link p a {
    color: var(--white);
}

#top .case-read-more span.mint-expand,
#top a.read-more span.mint-expand,
#top .chiclet-link a span.mint-expand {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--black-text);
    border-radius: 2px;
    margin-left: 0px;
    transition: all 300ms ease-in-out;
}

#top .chiclet-link a span.mint-expand {
    margin-left: 5px;
}

#top a.read-more span.mint-expand,
#top .chiclet-link a span.mint-expand {
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: var(--mint);
}

#top .case-read-more:hover {
    transform: translateX(15px);
    cursor: pointer;
}

#top a.read-more:hover,
#top .chiclet-link p:hover {
    transform: translateX(10px);
}

#top .case-read-more:hover span.mint-expand {
    width: 30px;
}

#top a.read-more:hover span.mint-expand,
#top .chiclet-link p a:hover span.mint-expand {
    width: 20px;
}

#top .read-more-text {
    display: none;
    opacity: 0;
}

#top .read-more-text.case-text-open {
    display: inline-block !important;
    opacity: 1;
}

#top .case-what-we-did .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#top .case-what-we-did .case-tags a {
    background: var(--black);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--white);
    text-transform: uppercase;
    pointer-events: none;
    font-family: var(--montserrat);
    font-weight: 600;
    font-size: var(--font-size-xxs);
    line-height: 1.4;
}

#top .case-full-width > .container,
#top .fullwidth-side-fade > .container {
    max-width: 100%;
    padding: 0 20px;
}

#top .case-photo-1,
#top .case-photo-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

#top .case-photo-1 > img:nth-of-type(3n+3) {
    grid-column: 1 / -1;
}

#top .case-photo-1 > img,
#top .case-photo-2 > img {
    height: 100%;
    width: 100%;
    min-height: 350px;
    max-height: 700px;
    object-fit: cover;
    object-position: center;
}

#top .case-photo-2 > *:nth-of-type(3n+1) {
    grid-column: 1 / -1;
}

#top .case-photo-2 .brand-video {
    position: relative;
}

#top .case-photo-2 .brand-video .estland-button {
    position: absolute;
    bottom: 50px;
    right: 50px;
}

#top .case-photo-2 .brand-video .estland-button a {
    color: var(--white) !important;
    border-color: var(--white) !important;
    padding: 10px 30px 10px 36px;
    display: flex;
    align-items: center;
}

#top .case-photo-2 .brand-video .estland-button a:hover {
    border-color: transparent !important;
}

#top .case-photo-2 .brand-video .estland-button a span.avia_iconbox_title {
    font-family: var(--montserrat);
    font-weight: 700;
    font-size: var(--font-size-xs);
    /* line-height: 18px; */
    color: var(--white);
}

#top .case-photo-2 .brand-video .estland-button a span {
    color: var(--white);
}

#top .case-photo-2 .brand-video .estland-button a span.avia_button_icon {
    font-size: var(--font-size-l);
    margin-right: 5px;
}


#top .case-testimonial-section {
    display: flex;
    align-items: center;
    column-gap: 4%;
}

#top:not(.case-study) .case-testimonial-section {
    display: block;
}

#top .case-testimonial-section .case-testimonial-vid,
#top .case-testimonial-section .case-testimonial-info,
#top .case-testimonial-section .case-testimonial-img {
    width: 100%;
}

#top .case-testimonial-section .case-testimonial-vid video,
#top .case-testimonial-section .case-testimonial-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
}

#top .av_textblock_section:has(.case-testimonial-info) {
    border-radius: var(--border-radius-large);
    padding: var(--padding-medium);
    box-shadow: var(--box-shadow);
}

#top.body-black .av_textblock_section:has(.case-testimonial-info) {
    background-color: var(--black);
}

#top.body-light .av_textblock_section:has(.case-testimonial-info) {
    background-color: var(--lighter-grey);
}

#top .case-testimonial-section .case-testimonial-info {
    padding-right: 75px;
    padding-left: 50px;
}

#top:not(.case-study, .single-post) .case-testimonial-section .case-testimonial-info span.quote-icon,
#top #team-member-page .team-member-quote span.quote-icon {
    color: var(--mint);
}

#top .case-testimonial-section .case-testimonial-info span.quote-icon,
#top #team-member-page .team-member-quote span.quote-icon {
    font-family: var(--poppins);
    font-weight: 500;
    font-size: 90px; /* aesthetic element */
    line-height: 1;
    height: 40px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    left: -50px;
}

#top .case-testimonial-section .case-testimonial-info > p,
#top #team-member-page .team-member-quote > p {
    font-family: var(--poppins);
    font-weight: 500;
    font-size: var(--font-size-xl);
    /* line-height: 40px; */
    letter-spacing: 1.5px;
    margin-top: 0;
}

#top .case-testimonial-section .case-testimonial-info h5 {
    font-family: var(--montserrat);
    font-weight: 700;
    opacity: 0.5;
}

#top:not(.case-study) .black-bg .case-testimonial-section .case-testimonial-info h5 {
    color: var(--white);
}

#top .case-web > .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

#top .case-web-summary {
    max-width: var(--max-content-width);
    padding: 0 50px;
    margin: 0 auto;
}

#top .website-mockup-section {
    position: relative;
    overflow: hidden;
    display: grid;
    justify-content: center;
    align-items: center;
    height: fit-content;
    padding-top: var(--padding-large--variable);
}

#top .website-mockup-section .desktop-slide:not(.laptop-video-mockup),
#top .website-mockup-section .mobile-slide {
    position: absolute;
    display: flex;
    grid-row: 1/2;
    grid-column: 1/2;
    align-items: center;
    justify-content: center;
    top: 0;
    left: auto;
    width: 100%;
    max-width: 1210px;
    height: 100%;
    padding: 0 90px;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
}

#top .website-mockup-section .desktop-slide img {
    aspect-ratio: 1.65;
}

#top .website-mockup-section .desktop-slide.laptop-video-mockup {
    transition: transform 0.3s ease-in-out;
}

#top .website-mockup-section .desktop-slide img,
#top .website-mockup-section .mobile-slide img {
    width: 100%;
    height: auto;
    margin: auto;
    max-height: 650px;
    object-fit: contain;
    object-position: center;
}

#top .website-mockup-section .mobile-slide img {
    width: 30%;
    margin: 0;
}

#top .website-mockup-section .mobile-slide > img:not(:nth-of-type(2)) {
    transform: scale(0.92);
}
#top .website-mockup-section .mobile-slide > img:nth-of-type(2) {
    transform: scale(1.15);
}

#top .website-mockup-section .mobile-slide {
    transform: translateX(100vw);
}

#top .website-mockup-section .mockup-slide-controls {
    left: auto;
    width: 100%;
    max-width: var(--max-content-width);
    margin: auto;
    margin-top: var(--padding-medium);
}

@media screen and ( min-width: 990px ) {
    #top .website-mockup-section .mockup-slide-controls {
        grid-column: 1/2;
        position: absolute;
        top: 50%;
        margin-top: 0;
    }
}

/* new website mockup section - testing */



#top .website-mockup-section .mockup-slide-controls a {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 115px;
}

#top .website-mockup-section .mockup-slide-controls a > span.slide-control-label {
    font-family: var(--montserrat);
    font-weight: 700;
    font-size: var(--font-size-s);
    /* line-height: 24px; */
    text-transform: uppercase;
    margin-top: 5px;
}

#top .website-mockup-section .mockup-slide-controls a[href="#case-prev"] {
    left: 0;
    align-items: flex-end;
}

#top .website-mockup-section .mockup-slide-controls a > span.slide-control-arrow {
    width: 6.125rem;
    height: 43px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    border: 2px solid var(--black);
    /*padding: 12px 18px;*/
    background: transparent;
    transition: all 300ms ease-in-out;
}

#top .website-mockup-section .mockup-slide-controls a[href="#case-prev"] > span.slide-control-arrow {
    justify-content: flex-end;
}

#top .website-mockup-section .mockup-slide-controls a[href="#case-next"] > span.slide-control-arrow {
    justify-content: flex-start;
}

#top .website-mockup-section .mockup-slide-controls a[href="#case-prev"] > span.slide-control-arrow > span {
    content: url('/wp-content/themes/estland-enfold-child/images/black-left-arrow.svg');
    display: inline-block;
    width: 94px;
    height: 16px;
    transform: scaleX(1) translateX(0);
    transition: all 300ms ease-in-out;
}

#top .website-mockup-section .mockup-slide-controls a[href="#case-next"] > span.slide-control-arrow > span {
    content: url('/wp-content/themes/estland-enfold-child/images/black-right-arrow.svg');
    display: inline-block;
    width: 94px;
    height: 16px;
    transform: scaleX(1) translateX(0);
    transition: all 300ms ease-in-out;
}

#top .website-mockup-section .mockup-slide-controls a[href="#case-next"] {
    right: 0;
    align-items: flex-start;
}

/*#top .website-mockup-section .mockup-slide-controls a:hover span.slide-control-arrow {width: 110px;}*/
#top .website-mockup-section .desktop-slide {
    transform: translateX(-100vw);
}

#top .website-mockup-section .active {
    transform: translateX(0);
}

#top .website-mockup-section .desktop-slide.laptop-video-mockup.active {
    transform: translateX(0);
}

#top .website-mockup-section .desktop-slide.laptop-video-mockup {
    max-width: var(--max-content-width);
    padding: 0 90px;
}

#top .website-mockup-section .desktop-slide.laptop-video-mockup figure {
    /* width: 68vw;
    max-width: 805px;
    top: calc(10% / 2);
    transform: scaleY(1.03); */
}

#top .website-mockup-section .desktop-slide.laptop-video-mockup figure video {
    position: relative;
    /*left: 5px;*/
}

#top .website-mockup-section .mockup-slide-controls a:hover .slide-control-arrow {
    /*width: calc(100% + 20px);*/
    width: 115px;
}

#top .website-mockup-section .mockup-slide-controls a[href="#case-prev"]:hover .slide-control-arrow > span {
    transform: scaleX(1.25) translateX(-5.5px) !important;
}

#top .website-mockup-section .mockup-slide-controls a[href="#case-next"]:hover .slide-control-arrow > span {
    transform: scaleX(1.25) translateX(5.5px) !important;
}

#top .website-mockup-section .mockup-slide-controls a.active {
    opacity: 0.25;
    pointer-events: none;
}

#top #data-card-slider {
    position: relative;
    /*width: 100vw;*/
    width: 100%;
    height: 250px;
    margin: 0 auto;
}

#top#top #data-card-slider .avia-gallery .avia-gallery-thumb {
    height: 100%;
}

#top #data-card-slider .avia-gallery {
    padding: 10px 0;
}

#top .data-slider-container {
    display: flex;
    position: relative;
    animation: none;
    width: max-content;
}

#top .data-slider-container .card-row {
    white-space: nowrap;
    display: inline-flex;
    position: relative;
    flex-direction: row;
    flex-wrap: nowrap;
}

#top .data-slider-container .card-row.cloned {
    order: -1;
}

#top .data-slider-container .card-row .case-data-card {
    /*padding: 10px 25px;*/
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 0 8px 3px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    /*position: absolute;*/
    width: 350px !important;
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    float: none !important;
    margin-right: 20px;
}

#top .data-slider-container .card-row .case-data-card h2,
#top .data-slider-container .card-row .case-data-card h5 {
    margin: 0;
}

#top .data-slider-container .card-row .case-data-card h2 {
    font-size: var(--heading-size-xl);
    /* line-height: 70px; */
}

#top .data-slider-container .card-row .case-data-card h5 {
    max-width: 200px;
    /* line-height: 22px; */
    margin-top: 5px;
    white-space: normal;
}

/***team member styles***/

/*individual team member pages*/
#top #team-member-page .team-member-img img {
    border-radius: 15px;
    height: auto;
    max-height: 550px;
    max-width: 475px;
    margin: auto;
    float: none;
    display: flex;
    object-position: center;
    object-fit: cover;
}

#top #team-member-page .team-member-quote {
    margin: 50px 0;
}

#top #team-member-page .team-member-info h2 {
    text-transform: capitalize;
}

#top #team-member-page .team-member-info h4 {
    font-family: var(--poppins);
    font-weight: 500;
    font-size: var(--font-size-l);
    /* line-height: 30px; */
}

/*our team page*/
#top .team-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 30px;
    row-gap: 50px;
    width: 100%;
}

#top .team-gallery .team-member-card {
    flex-basis: calc((100% / 3) - 20px);
}

#top .team-member-card .team-member-img {
    width: 100%;
    height: 375px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

#top .team-member-card .team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(1);
    transition: all 300ms ease-in-out;
}

#top .team-member-card a > h4,
#top .team-member-card a > h4 > strong {
    transition: all 300ms ease-in-out;
}

#top .team-member-card a > h4 > strong {
    color: var(--black-text);
}

#top .black-bg .team-member-card a > h4 > strong {
    color: var(--white);
}

/*#top .team-gallery .team-member-card a > h4 > strong {color: var(--white) !important;}
#top .team-gallery .team-member-card a:hover > h4 > strong {color: currentColor !important;}*/
#top .team-member-card > a > p {
    font-size: var(--font-size-s);
    /* line-height: 24px; */
}

#top .team-gallery .team-member-card a:hover span.image-overlay,
#top .team-gallery .team-member-card a:hover span.image-overlay span.image-overlay-inside {
    display: none !important;
}

#top .team-member-card a:hover .team-member-img img {
    filter: grayscale(0);
}

/*#top .team-gallery .team-member-card a:hover > h4,
#top .team-gallery .team-member-card a:hover > h4 > strong {color: var(--mint);}*/
/*team slider*/
#top #team-slider-container .team-slider .team-member-card,
#top #web-video-container .web-slider .avia-video {
    height: 100%;
    background: transparent;
}

#top #team-slider-container .team-slider .team-member-card > a {
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: all 300ms ease-in-out;
}

#top #team-slider-container .team-slider .team-member-card > a:hover span.image-overlay,
#top #team-slider-container .team-slider .team-member-card > a:hover span.image-overlay span.image-overlay-inside {
    display: none !important;
}

#top #team-slider-container .team-slider .team-member-card > a .team-member-img {
    height: 350px;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

#top #team-slider-container .team-slider .team-member-card > a .team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*vert scroll gallery*/
#top .vert-scroll-gallery {
    height: 700px;
    /*overflow: scroll !important;*/
    position: relative;
    padding: 0 15px 0 10px;
}

#top .vert-scroll-gallery .avia-gallery {
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 15px;
}

#top .vert-scroll-gallery .avia-gallery .avia-gallery-thumb {
    padding: 0;
    margin: 0;
    position: relative;
}

#top .vert-scroll-gallery .avia-gallery .avia-gallery-thumb > a {
    display: block;
    margin-bottom: 30px;
    flex-shrink: 0;
}

#top .vert-scroll-gallery .avia-gallery .avia-gallery-thumb > a img {
    height: 320px;
    object-fit: cover;
    object-position: center;
    padding: 0;
    border: 0;
    border-radius: 15px;
    box-shadow: 3px 5px 8px 3px rgba(0, 0, 0, 0.15);
}

#top .vert-scroll-gallery .avia-gallery .avia-gallery-thumb a:hover {
    opacity: 1 !important;
}

/*accordions*/
#top .estland-accordion .av_toggle_section {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

#top#top .estland-accordion .single_toggle .toggler {
    background: var(--black-text);
    color: var(--mint);
    font-family: var(--poppins);
    font-weight: 500;
    font-size: var(--font-size-xxl);
    /* line-height: 42px; */
    padding: 40px 110px 40px 70px;
    display: flex;
    align-items: center;
    border: 0;
}

/*#top#top .estland-accordion:not(.minimal) .single_toggle .toggler.activeTitle {padding-bottom: 0;}*/
#top .estland-accordion .single_toggle h3 > span {
    color: var(--white) !important;
    font-family: var(--poppins);
    font-weight: 700;
    font-size: var(--heading-size-l);
    /* line-height: 62px !important; */
    margin-right: 30px;
}

#top .estland-accordion .single_toggle h3 > span:not(.toggle_icon) {
    min-width: 160px;
}

#top .estland-accordion .single_toggle .toggle_content {
    background: var(--black-text);
    border: 0;
    padding: 0 70px 30px;
}

#top .estland-accordion .single_toggle span.toggle_icon {
    border: 0;
}

#top .estland-accordion .single_toggle span.toggle_icon .hor_icon,
#top .estland-accordion .single_toggle span.toggle_icon .vert_icon {
    border-width: 6px;
}

#top .estland-accordion .single_toggle span.toggle_icon .hor_icon {
    width: 30px;
}

#top .estland-accordion .single_toggle span.toggle_icon .vert_icon {
    height: 30px;
}

/*Accordion - Minimal*/
#top#top .estland-accordion.minimal .single_toggle .toggler,
#top .estland-accordion.minimal .single_toggle .toggle_content {
    background: transparent;
}

#top#top .estland-accordion.minimal section.av_toggle_section {
    border-top: 1px solid var(--dark-grey);
    margin: 0;
    border-radius: 0;
}

#top .estland-accordion.minimal .single_toggle .toggle_content p strong {
    font-family: var(--poppins);
    font-weight: 700;
}

#top .black-bg .estland-accordion.minimal .toggle_content ul li {
    color: var(--white);
}

#top .black-bg .estland-accordion.minimal .single_toggle .toggle_content p strong {
    color: var(--mint);
}

/*accordion - packages*/
/* old / unused? */
#top#top .estland-accordion.package-accordion .toggler {
    width: 100%;
    padding: 25px 65px 25px 35px;
    font-family: var(--poppins);
    font-weight: 700;
    font-size: var(--font-size-xl);
    /* line-height: 32px; */
    color: var(--white);
    margin: 0;
    display: inline-block;
}

#top#top .estland-accordion.package-accordion .toggler.activeTitle {
    background: transparent;
}

#top#top .estland-accordion.package-accordion .toggler > strong.underscore {
    bottom: 0;
}

#top .estland-accordion.package-accordion .toggler > span:first-of-type {
    width: 100%;
    display: block;
    color: var(--white);
    font-family: var(--poppins);
    font-weight: 300;
    font-size: var(--font-size-xs);
    /* line-height: 20px; */
    margin-top: 15px;
}

#top .estland-accordion.package-accordion .toggler span.toggle_icon {
    margin: 0;
    top: 15px;
    width: 20px;
    height: 20px;
}

#top .estland-accordion.package-accordion .toggler span.toggle_icon span.vert_icon {
    height: 20px;
    border-width: 4px;
}

#top .estland-accordion.package-accordion .toggler span.toggle_icon span.hor_icon {
    width: 20px;
    border-width: 4px;
}

#top .estland-accordion.package-accordion .single_toggle .toggle_content {
    background: transparent;
}

#top .estland-accordion.package-accordion section.av_toggle_section {
    background: linear-gradient(150deg, #44AD90, #2B6C5A);
    background-repeat: no-repeat;
    background-position: center;
    background-size: calc(100% + 6px);
}

#top#top .estland-accordion.package-accordion section.av_toggle_section .toggler.activeTitle {
    border-width: 3px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.35);
    border-bottom: 0;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

#top#top .estland-accordion.package-accordion section.av_toggle_section .toggler.activeTitle > strong.underscore {
    color: var(--white);
}

#top .estland-accordion.package-accordion section.av_toggle_section .toggle_wrap {
    border-width: 3px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.35);
    border-top: 0;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

#top .estland-accordion.package-accordion section.av_toggle_section .toggle_content ul {
    margin-top: 0;
    margin-bottom: 30px;
}

#top .estland-accordion.package-accordion section.av_toggle_section .toggle_content ul li {
    color: var(--white);
    border-bottom-width: 1.5px;
    border-bottom-style: solid;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    margin: 0;
    padding-left: 0;
    font-size: var(--font-size-xs);
}

#top .estland-accordion.package-accordion section.av_toggle_section .toggle_content ul li:last-of-type {
    border-bottom: 0;
}

#top .estland-accordion.package-accordion section.av_toggle_section .toggle_content ul li::before {
    display: none;
}

#top#top#top .estland-accordion.package-accordion section.av_toggle_section .toggle_content h4 {
    color: var(--white);
    font-size: var(--font-size-m);
    /* line-height: 24px; */
}

#top#top .estland-accordion.package-accordion section.av_toggle_section .toggle_content h5 {
    background: #2B6C5A;
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    font-size: var(--font-size-s);
    /* line-height: 20px; */
    margin-bottom: 20px;
}

.estland-toggle-title span.breadcrumb-separator {
    color: var(--mint);
}

/* Accordion Package Add-ons */
.service-plan-accordion .service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5em;
    margin-right: 40px;
    box-shadow: none;
    border-bottom-width: 1.5px;
    border-bottom-style: solid;
    border-bottom-color: rgba(112, 112, 112, 0.4);
    padding-bottom: 30px;
    padding-top: 25px;
}

@media(max-width:989px) {
    .service-plan-accordion .service-item {
        margin-right: 65px;
    }
}

@media(max-width:767px) {
    .service-plan-accordion .service-item {
        margin-right: 0;
    }
}

.service-plan-accordion .service-item.last {
    border-bottom: none;
}

.service-plan-accordion span.service-text {
    flex: 1;
    margin-right: 25px;
    color: var(--white);
    font-family: var(--poppins);
    font-weight: 300;
    font-size: var(--font-size-m);
}

.service-plan-accordion span.add-on-price {
    color: var(--mint);
    font-size: var(--font-size-xxl);
    font-weight: bold;
    text-align: right;
    min-width: 60px;
}

@media (max-width: 767px) {
    .service-plan-accordion span.add-on-price {
        font-size: var(--font-size-l);
    }
}

/* Photography Package Form */

#top #main form#hsForm_5710c76a-9f45-41d9-bad3-22b27b6e9d00 fieldset {
    max-width: 100%;
}


#top .hbspt-form fieldset.form-columns-2,
#top .hbspt-form fieldset.form-columns-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#top #hbspt-real-estate-photography-form .hbspt-form form div.hs_firstname {
    margin-right: 0;
}

#top .hbspt-form fieldset.form-columns-2 .hs-form-field {
    flex: 1 1 calc(50% - 24px);
    min-width: 250px;
}

#top .hbspt-form fieldset.form-columns-3 .hs-form-field {
    flex: 1 1 calc(33.333% - 14px);
    min-width: 250px;
}

@media (max-width: 800px) {
    #top .hbspt-form fieldset.form-columns-3 {
        gap: 15px;
    }

    #top .hbspt-form fieldset.form-columns-3 .hs-form-field {
        flex: 1 1 calc(50% - 8px);
    }
}

/* Additional mobile optimization */
@media (max-width: 480px) {
    #top .hbspt-form fieldset.form-columns-3 .hs-form-field {
        flex: 1 1 100%;
    }
}

#top #main .service-plan-accordion .summary {
    color: var(--white);
}

#top #main .hbspt-form form select {
    color: var(--grey) !important;
}

#top #main .hbspt-form form select.has-value {
    color: var(--white) !important;
}

#top #main .hbspt-form form select option[value="state"],
#top #main .hbspt-form form select option:disabled {
    color: var(--grey) !important;
}

#top #main .hbspt-form form .hs-fieldtype-radio label,
#top #main .hbspt-form form .hs-fieldtype-date label {
    display: block !important;
    margin-bottom: 15px;
    margin-top: 12px;
}

#top #main #hbspt-real-estate-photography-form .hbspt-form h3.form-section-header {
    font-size: var(--font-size-l);
}

@media (max-width:767) {
    #top #main #hbspt-real-estate-photography-form .hbspt-form h3.form-section-header {
        font-size: var(--font-size-l);
    }
}

#top #main #hbspt-real-estate-photography-form .hbspt-form form .hs_real_estate_photography_access label,
#top #main #hbspt-real-estate-photography-form .hbspt-form form .hs_real_estate_photography_special_requirements label {
    display: block !important;
}

#top #main #hbspt-real-estate-photography-form .hbspt-form form .hs_real_estate_photography_access label span,
#top #main #hbspt-real-estate-photography-form .hbspt-form form .hs_real_estate_photography_special_requirements label span,
#top #main #hbspt-real-estate-photography-form .hbspt-form form .hs_optional_add_ons label span {
    color: var(--white);
}

#top #main #hbspt-real-estate-photography-form .hbspt-form form .hs_optional_add_ons label.hs-form-checkbox-display:hover span,
#top #main #hbspt-real-estate-photography-form .hbspt-form form .hs_optional_add_ons label.hs-form-checkbox-display input[type="checkbox"]:checked + span {
    color: var(--black);
}

#top #main .hbspt-form form .hs-fieldtype-radio label span,
#top #main .hbspt-form form .hs-fieldtype-date label span {
    color: var(--white);
}

#top #main .hbspt-form form .hs-fieldtype-radio label.hs-form-radio-display {
    margin-top: 0;
}

#top #main .hbspt-form form .hs-dateinput input {
    padding-top: 0;
}

@media (max-width: 767px) {

    #top #main .hbspt-form form .hs-dateinput input,
    #top #main .hbspt-form form input[type="date"],
    #top #main .hbspt-form form .hs-dateinput input[type="text"],
    #top #main .hbspt-form form .hs-dateinput input[type="date"] {
        font-size: var(--font-size-xs) !important;
        min-height: var(--heading-size-l) !important;
        padding: 24px 30px !important;
        color: var(--white) !important;
        background: #000 !important;
        border: 1px solid rgba(112, 112, 112, 0.4);
        border-radius: 15px !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }
}

#top .hbspt-form .hs-fieldtype-radio li {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
}

@media (max-width: 767px) {
    #top .hbspt-form .input ul.inputs-list {
        flex-wrap: wrap;
    }
}

#top .hbspt-form .hs-form-radio-display {
    width: auto;
    min-width: 100px;
}

#top .hbspt-form .hs-form-radio-display span {
    width: auto;
    padding: 10px 20px;
}

#top .hbspt-form .input ul.inputs-list {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

#top #main .hbspt-form h3.form-section-header {
    font-size: var(--font-size-l);
    /* line-height: 26px; */
    margin-top: 80px;
    margin-bottom: 14px;
    font-family: var(--poppins);
    font-weight: 700;
    color: var(--dark-mint);
}

#top .service-plan-accordion .small {
    font-size: var(--font-size-xxxs);
    color: var(--white);
}

#top .hbspt-form form label.hs-form-radio-display {
    display: inline !important;
}

#top .hbspt-form form .inputs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#top#top .hbspt-form form .hs_photography_package {
    margin-top: 14px;
}

#top .hbspt-form form .hs-photography-package.hs-form-field label {
    display: inline !important;
}

#top#top .hbspt-form form .hs_optional_add_ons {
    margin-top: 30px;
}

#top#top .hbspt-form form .hs_photography_package label,
#top#top .hbspt-form form .hs_optional_add_ons label {
    display: block !important;
    visibility: visible !important;
    color: var(--white) !important;
    margin-bottom: 15px;
    border-radius: 15px;
}

#top .black-bg .hbspt-form form li.hs-form-radio label span,
#top .black-bg .hbspt-form form li.hs-form-checkbox label span {
    color: var(--white);
}

#top#top .hbspt-form form .hs-form-radio-display,
#top#top .hbspt-form form .hs-form-checkbox-display {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    user-select: none;
    position: relative;
    box-sizing: border-box;
}

.black-bg .hbspt-form .submitted-message {
    color: white;
    margin: 17px 0;
    font-family: var(--poppins);
    font-weight: 300;
}

/* Remove default radio and checkbox icons */
#top#top .hbspt-form form .hs-form-radio-display input[type="radio"],
#top#top .hbspt-form form .hs-form-checkbox-display input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 0 10px 0;
    cursor: pointer;
    border: 1px solid rgba(112, 112, 112, 0.4);
    border-radius: 15px;
}

/* Apply custom background and border color when checked */
#top#top .hbspt-form form .hs-form-radio-display input[type="radio"]:checked + span,
#top#top .hbspt-form form .hs-form-checkbox-display input[type="checkbox"]:checked + span {
    background-color: var(--mint);
    color: black;
    border-color: black;
    border-radius: 15px;
}

#top#top .hbspt-form form .hs-form-radio-display input[type="radio"]:checked,
#top#top .hbspt-form form .hs-form-checkbox-display input[type="checkbox"]:checked {
    border-color: black;
}

#top#top .hbspt-form form .hs-form-radio-display span,
#top#top .hbspt-form form .hs-form-checkbox-display span {
    display: block;
    width: 100%;
    height: 100%;
    padding: 15px 20px;
    border-radius: 15px;
    transition: background-color 0.3s, color 0.3s;
    box-sizing: border-box;
    font-family: var(--poppins);
    font-weight: 300;
}

#top#top .hbspt-form form .hs-form-radio-display:hover,
#top#top .hbspt-form form .hs-form-checkbox-display:hover {
    background-color: var(--mint);
    color: black;
    border-color: black;
    border-radius: 15px;
}

#top#top .hbspt-form form .hs-form-radio-display input[type="radio"]:hover + span,
#top#top .hbspt-form form .hs-form-checkbox-display input[type="checkbox"]:hover + span {
    border-color: black;
    color: black;
}

/*video popup*/
#top .video-popup {
    position: relative;
    background: #fff;
    padding: 10px;
    width: 90%;
    max-width: var(--max-content-width);
    margin: auto;
    float: none;
}

#top .video-popup .avia-video {
    margin: 0;
}

.mfp-close-btn-in .mfp-close {
    color: var(--black);
    background: #fff;
    opacity: 1;
    border-radius: 0;
    top: 0px;
    right: 0px;
    transition: all 300ms ease-in-out;
    font-family: var(--montserrat);
    font-weight: 700;
    font-size: var(--font-size-l);
    line-height: 1;
}

.mfp-close-btn-in .mfp-close:hover {
    background: var(--black);
    color: var(--white);
}

/*default width columns & sections*/
#top .default-width {
    max-width: var(--max-content-width);
    width: 100%;
    padding: 0 50px;
    float: none;
    margin: auto;
}

/*tag lists*/
#top .tag-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
}

#top .tag-list ul li {
    background: var(--dark-mint);
    padding: 8px 20px;
    border-radius: 4px;
    margin: 0;
    color: var(--black);
    text-transform: uppercase;
    font-family: var(--montserrat);
    font-weight: 600;
    font-size: var(--font-size-xxs);
    /* line-height: 20px; */
    transition: all 300ms ease-in-out;
}

#top.body-black .tag-list:not(.big-tags) ul li,
#top .featured-hero + .black-bg .tag-list:not(.big-tags) ul li {
    background: var(--mint);
}

#top .tag-list.big-tags ul {
    gap: 20px;
}

#top .tag-list.big-tags ul li {
    font-family: var(--poppins);
    font-weight: 400;
    text-transform: capitalize;
    background: var(--white);
    color: var(--dark-mint);
    box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 15px 25px;
    font-size: var(--font-size-l);
    line-height: 1.08;
}

/*chiclet lists*/
#top .avia_textblock ol {
    margin: 15px 0;
}

#top .avia_textblock:not(.tag-list) ul,
#top .estland-accordion .toggle_content ul {
    list-style: none;
    margin: 15px 0;
}

#top .avia_textblock:not(.tag-list) ul li,
#top .estland-accordion .toggle_content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0px;
}

#top .avia_textblock:not(.tag-list) ul li::before,
#top .estland-accordion .toggle_content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background: var(--dark-mint);
    border-radius: 2px;
}

/*light grey h4 tags*/
#top#top .avia_textblock h4.light-grey-tag {
    color: var(--black);
    background: #EBEBEB;
    width: max-content;
    border-radius: 8px;
    padding: 12px 15px;
    text-transform: uppercase;
    font-family: var(--montserrat);
    font-weight: 700;
}

/*side padding sections*/
#top .side-padding {
    padding-left: 50px;
    padding-right: 50px;
}

/*gallery images slider - horizontal*/
#top .auto-hor-gallery {
    height: 300px;
    position: relative;
}

#top #large-hor-slider.auto-hor-gallery {
    height: 375px;
}

#top .auto-hor-gallery .avia-gallery {
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#top .auto-hor-gallery .avia-gallery .avia-gallery-thumb {
    padding: 0;
    margin: 0;
    position: relative;
}

#top .auto-hor-gallery .avia-gallery .avia-gallery-thumb > a > img {
    float: none;
    padding: 0;
    border: 0;
    border-radius: 15px;
    width: 400px !important;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

#top#top #large-hor-slider.auto-hor-gallery .avia-gallery .avia-gallery-thumb {
    height: 375px;
}

#top#top #large-hor-slider.auto-hor-gallery .avia-gallery .avia-gallery-thumb > a > img,
#top#top #large-hor-slider.auto-hor-gallery .avia-gallery .avia-gallery-thumb > a {
    height: 375px;
    width: 525px !important;
    max-height: 100%;
}

/*case studies gallery*/
#top .case-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 75px;
    grid-column-gap: 30px;
    margin: 30px 0 75px;
}

#top .case-gallery .case-item {
    background: var(--black);
    border-radius: var(--border-radius-large);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#top .case-gallery:not(.case-filter) > .case-item.featured-fullwidth {
    grid-column: 1 / -1;
}

#top .case-gallery .case-gallery-featured {
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 15px; */
    overflow: hidden;
}

#top .case-gallery:not(.case-filter):not(.three-col) > .case-item.featured-fullwidth .case-gallery-featured {
    height: 500px;
}

#top .case-gallery .case-gallery-featured a:hover span.image-overlay,
#top .case-gallery .case-gallery-featured a:hover span.image-overlay span.image-overlay-inside {
    display: none !important;
}

#top .case-gallery .case-gallery-featured a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

#top .case-gallery .case-gallery-featured a img.case-featured-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
}

#top .case-gallery:not(.case-filter):not(.three-col) > .case-item.featured-fullwidth .case-gallery-featured a img.case-featured-img {
    height: 500px;
}

#top .case-gallery .case-gallery-featured a img.featured-logo-hover,
#top .case-gallery .case-gallery-featured a img.featured-logo {
    position: absolute;
    width: 50%;
    opacity: 1;
    transform: scale(0.75);
    height: 100%;
    max-height: 225px;
    max-width: 475px;
    object-fit: contain;
    object-position: center;
    transition: all 300ms ease-in-out;
}

#top .case-gallery .case-gallery-featured a img.featured-logo-hover {
    opacity: 0;
}

#top .case-gallery:not(.case-filter):not(.three-col) > .case-item.featured-fullwidth .case-gallery-featured a img.featured-logo {
    max-height: 275px;
    max-width: 400px;
}

#top .case-gallery .case-gallery-featured .hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 300ms ease-in-out;
}

#top .case-gallery .case-gallery-featured a > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#top .case-gallery .case-gallery-featured a:hover img.featured-logo-hover,
#top .case-gallery .case-gallery-featured a:hover img.featured-logo {
    opacity: 1;
    transform: scale(1);
}

#top .case-gallery .case-gallery-featured a:hover .hover-bg {
    opacity: 0.85;
}

#top .case-gallery .case-gallery-featured .case-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    transition: all 300ms ease-in-out;
}

#top .case-gallery .case-gallery-featured a:hover .case-bg-gradient {
    opacity: 0.95;
}

#top#top#top .case-gallery .case-item .case-info h4 {
    font-family: var(--poppins);
    font-weight: 500;
    font-size: var(--font-size-xs);
    /* line-height: 30px; */
    color: var(--grey);
}

/* #top#top.case-study .case-gallery .case-item .case-info h4 {
    color: var(--black-text) !important;
} */

/* #top#top.body-black .case-gallery .case-item .case-info h4,
#top#top #work-filter.black-bg .case-gallery .case-item .case-info h4 {
    color: var(--white) !important;
} */

#top .case-gallery .case-item .case-info p,
#top .case-gallery .case-item .case-info p span {
    font-size: var(--font-size-m);
    font-weight: 600 !important; /* overriding WYSIWYG styles */ 
    /* line-height: 22px; */
    text-transform: capitalize;
    text-wrap: pretty;
}

#top#top .case-gallery .case-item .case-info p strong {
    color: inherit;
    font-size: var(--font-size-l);
    font-weight: 700;
}

.case-info-excerpt {
    margin-block: var(--padding-small);
}

.case-info-excerpt p {
    margin: 0;
}

#top .case-gallery .case-item .case-info .estland-button {
    margin-top: auto;
}

#top .case-gallery .case-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--padding-medium);
}

#top .case-gallery .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#top .case-gallery .case-tags a {
    background: var(--mint);
    padding: 5px 10px;
    border-radius: 3px;
    color: var(--black);
    text-transform: uppercase;
    pointer-events: none;
    font-family: var(--montserrat);
    font-weight: 500;
    font-size: var(--font-size-xxs);
    /* line-height: 20px; */
}

#top .case-gallery:not(.case-filter):not(.three-col) > .case-item.featured-fullwidth .case-info {
    display: flex;
    align-items: flex-start;
}

#top .case-gallery:not(.case-filter):not(.three-col) > .case-item.featured-fullwidth .case-info .case-info-header {
    width: 50%;
    padding-right: 30px;
}

#top .case-gallery:not(.case-filter):not(.three-col) > .case-item.featured-fullwidth .case-info .case-info-header h4 {
    font-size: var(--font-size-xs);
    color: var(--grey);
    margin-bottom: 15px;
}

#top .case-gallery:not(.case-filter):not(.three-col) > .case-item.featured-fullwidth .case-info p {
    width: 50%;
    margin-top: 0;
}

#top .case-gallery:not(.case-filter):not(.three-col) > .case-item.featured-fullwidth {
    order: 1;
}

#top .case-gallery:not(.case-filter):not(.three-col) > .case-item:not(.featured-fullwidth) {
    order: 2;
}

/*case gallery 3col & 2col grid*/
#top .case-gallery.three-col {
    display: flex;
    grid-row-gap: 0;
    column-gap: 15px;
}

#top .case-gallery.half-col {
    display: flex;
    flex-wrap: wrap;
    grid-row-gap: 15px;
    column-gap: 15px;
    margin: 30px 0;
}

#top .case-gallery.three-col .case-item {
    display: flex;
    background: transparent;
    border-radius: 0;
    flex-direction: column;
    width: 100%;
}

#top .case-gallery.three-col .case-item .case-gallery-featured {
    border-radius: var(--border-radius-medium);
}

#top .case-gallery.three-col .case-item .case-info {
    margin-top: var(--padding-medium);
    padding: 0;
}

#top .case-gallery.half-col .case-item {
    display: flex;
    flex-direction: column;
    width: calc(50% - 8px);
}

@media (max-width:767px) {
    #top .case-gallery.half-col .case-item {
        width: 100%;
    }

    #top#top .gas-oil-cont .case-gallery.half-col {
        gap: 15px !important;
    }
}

#top .case-gallery.three-col .case-gallery-featured a img.featured-logo,
#top .case-gallery.three-col .case-gallery-featured a img.featured-logo-hover,
#top .case-gallery.half-col .case-gallery-featured a img.featured-logo,
#top .case-gallery.half-col .case-gallery-featured a img.featured-logo-hover {
    opacity: 1;
}

#top .case-gallery.three-col .case-item .case-info,
#top .case-gallery.half-col .case-item .case-info {
    padding-right: 20px;
}

#top .case-gallery.three-col .case-gallery-featured .hover-bg,
#top .case-gallery.half-col .case-gallery-featured .hover-bg {
    opacity: 0.75;
}

#top .case-gallery.three-col .case-gallery-featured a:hover .hover-bg,
#top .case-gallery.three-col .case-gallery-featured a:hover .case-bg-gradient,
#top .case-gallery.half-col .case-gallery-featured a:hover .hover-bg,
#top .case-gallery.half-col .case-gallery-featured a:hover .case-bg-gradient {
    opacity: 0.95;
}

#top .case-gallery.three-col .case-gallery-featured,
#top .case-gallery.three-col .case-gallery-featured a img.case-featured-img {
    height: 275px;
}

#top .case-gallery.half-col .case-gallery-featured,
#top .case-gallery.half-col .case-gallery-featured a img.case-featured-img {
    height: 200px;
}

/*gallery slider*/
#top .av-horizontal-gallery .av-horizontal-gallery-slider .av-horizontal-gallery-wrap:hover > a.av-horizontal-gallery-link {
    background: var(--mint);
}

#top .av-horizontal-gallery-link.avia-svg-icon svg:first-child {
    fill: black;
    top: 3px;
    width: 18px;
    height: 18px;
}

#top .av-horizontal-gallery .avia-slideshow-arrows a.avia-svg-icon {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 8px;
}

/*blog post slider*/
#slider-container,
#team-slider-container,
#data-slider-container,
#web-video-container {
    width: 100%;
    overflow: hidden;
}

#data-slider-container {
    overflow: hidden !important;
    /*width: calc(100% + 300px);*/
}

#slider-container .slider,
#team-slider-container .team-slider,
#data-slider-container .avia-content-slider-inner,
#web-video-container .web-slider {
    display: flex;
    transition: transform 0.8s ease;
    padding: 10px 0;
}

#data-slider-container .avia-content-slider-inner {
    overflow: visible;
}

#slider-container .slider .slide {
    flex: 0 0 60vw;
    margin: 0 10px;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 0 8px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 350px;
}

#team-slider-container .team-slider .team-member-card {
    flex: 0 0 32%;
    margin: 0 20px 0 0;
    display: flex;
    align-items: center;
    /*border-radius: 15px;*/
    overflow: hidden;
    height: 100%;
}

#data-slider-container .avia-content-slider-inner .slide-entry-wrap {
    flex: 0 0 75%;
    margin: 0 20px 0 0;
    display: flex;
    align-items: center;
    /*border-radius: 15px;*/
    overflow: hidden;
    height: 100%;
    transform: none !important;
    float: none !important;
    position: relative !important;
    visibility: visible !important;
}

#slider-container button,
#team-slider-container button {
    margin-top: 10px;
}

#slider-container .slider .slide > a {
    width: 50%;
}

#slider-container .slider .slide > a span.image-overlay,
#slider-container .slider .slide > a span.image-overlay-inside {
    display: none !important;
}

#slider-container .slider .slide .post-card-featured {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
}

#slider-container .slider .slide .post-card-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: all 300ms ease-in-out;
}

#slider-container .slider .slide > a:hover .post-card-featured img {
    transform: scale(1.05, 1.05);
}

#slider-container .slider .slide .post-card-info {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 35px;
}

#slider-container .slider .slide .post-card-info p {
    font-size: var(--font-size-s);
    /* line-height: 22px; */
}

.post-nav-controls,
.data-card-controls,
.web-slider-controls,
.glide__arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.glide__arrows {
    margin: 0;
}

#top#top .glide__arrows:where(:not(.est-always-show)) {
    display: none;
}

@media only screen and (min-width: 768px) {
    .est-services-slider .glide__arrows {
        justify-content: flex-end;
    }

    #top#top .glide__arrows {
        display: flex;
    }
}

.post-nav-controls:has(.est-slide-control-wrapper) {
    max-width: var(--max-content-width);
    margin-inline: auto;
    position: relative;
    z-index: 10;
}

@media only screen and (min-width: 768px) {
    .post-nav-controls:has(.est-slide-control-wrapper) {
        justify-content: space-between;
    }
}

.post-nav-controls > .est-slide-control-wrapper > a,
.data-card-controls > a,
.web-slider-controls > a {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.post-nav-controls > .est-slide-control-wrapper > a span.slide-control-arrow,
.data-card-controls > a span.slide-control-arrow,
.web-slider-controls > a span.slide-control-arrow,
.glide__arrow,
#top#top .est-text-always-dark :is(.post-nav-controls > .est-slide-control-wrapper > a span.slide-control-arrow, .data-card-controls > a span.slide-control-arrow, .web-slider-controls > a span.slide-control-arrow, .glide__arrow):not(:hover) {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    border: 2px solid var(--black);
    background: transparent;
    transition: all 300ms ease-in-out;
}

#top .black-bg .post-nav-controls > .est-slide-control-wrapper > a span.slide-control-arrow,
#top .black-bg .data-card-controls > a span.slide-control-arrow,
#top .black-bg .web-slider-controls > a span.slide-control-arrow,
.body-black .glide__arrow {
    border: 2px solid var(--white);
}

.post-nav-controls > .est-slide-control-wrapper > a#prev-btn,
.post-nav-controls > .est-slide-control-wrapper > a#prev-team-btn,
.data-card-controls > a#prev-btn,
.web-slider-controls > a#prev-btn {
    align-items: flex-end;
}

.post-nav-controls > .est-slide-control-wrapper > a#next-btn,
.post-nav-controls > .est-slide-control-wrapper > a#next-team-btn,
.data-card-controls > a#next-btn,
.web-slider-controls > a#next-btn {
    align-items: flex-start;
}

.post-nav-controls > .est-slide-control-wrapper > a#next-btn span.slide-control-arrow,
.post-nav-controls > .est-slide-control-wrapper > a#next-team-btn span.slide-control-arrow,
.data-card-controls > a#next-btn span.slide-control-arrow,
.web-slider-controls > a#next-btn span.slide-control-arrow,
.glide__arrow {
    justify-content: center;
}

.post-nav-controls > .est-slide-control-wrapper > a#prev-btn span.slide-control-arrow,
.post-nav-controls > .est-slide-control-wrapper > a#prev-team-btn span.slide-control-arrow,
.data-card-controls > a#prev-btn span.slide-control-arrow,
.web-slider-controls > a#prev-btn span.slide-control-arrow {
    justify-content: center;
}

.post-nav-controls span.prev-arrow,
.data-card-controls span.prev-arrow,
.web-slider-controls span.prev-arrow {
    content: url(/wp-content/themes/estland-enfold-child/images/black-left-arrow.svg);
    display: inline-block;
    height: 16px;
    transition: all 300ms ease-in-out;
}

.glide__arrow--left {
    font-size: 0;
}

.glide__arrow--left::before {
    background-image: url(/wp-content/themes/estland-enfold-child/images/black-left-arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 16px;
    width: 11px;
}

#top .black-bg .post-nav-controls span.prev-arrow,
#top .black-bg .data-card-controls span.prev-arrow,
#top .black-bg .web-slider-controls span.prev-arrow {
    filter: brightness(1) invert(1);
}

.post-nav-controls span.next-arrow,
.data-card-controls span.next-arrow,
.web-slider-controls span.next-arrow {
    content: url(/wp-content/themes/estland-enfold-child/images/black-right-arrow.svg);
    display: inline-block;
    height: 16px;
    transition: all 300ms ease-in-out;
}

.glide__arrow--right {
    font-size: 0;
}

.glide__arrow--right::before {
    background-image: url(/wp-content/themes/estland-enfold-child/images/black-right-arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 16px;
    width: 11px;
}

#top .black-bg .post-nav-controls span.next-arrow,
#top .black-bg .data-card-controls span.next-arrow,
#top .black-bg .web-slider-controls span.next-arrow,
#top.body-black .glide__arrow::before {
    filter: brightness(1) invert(1);
}

#top.body-black .est-text-always-dark .glide__arrow::before{
    filter: none;
}

#top .post-nav-controls .estland-button {
    margin-top: 0;
}

/* .post-nav-controls > .est-slide-control-wrapper > a:hover span.slide-control-arrow,
.data-card-controls > a:hover span.slide-control-arrow,
.web-slider-controls > a:hover span.slide-control-arrow {width: 115px;} */
/* .post-nav-controls > .est-slide-control-wrapper > a#prev-btn:hover span.prev-arrow,
.post-nav-controls > .est-slide-control-wrapper > a#prev-team-btn:hover span.prev-arrow,
.data-card-controls > a#prev-btn:hover span.prev-arrow,
.web-slider-controls > a#prev-btn:hover span.prev-arrow {
    transform: scaleX(1.25) translateX(-5.5px);
} */
/* .post-nav-controls > .est-slide-control-wrapper > a#next-btn:hover span.next-arrow,
.post-nav-controls > .est-slide-control-wrapper > a#next-team-btn:hover span.next-arrow,
.data-card-controls > a#next-btn:hover span.next-arrow,
.web-slider-controls > a#next-btn:hover span.next-arrow {
    transform: scaleX(1.25) translateX(5.5px);
} */
.post-nav-controls > .est-slide-control-wrapper > a:hover,
.data-card-controls > a:hover,
.web-slider-controls > a:hover {
    cursor: pointer;
}

.post-nav-controls > .est-slide-control-wrapper > a.inactive,
.data-card-controls > a.inactive,
.web-slider-controls > a.inactive {
    opacity: 0.5;
    pointer-events: none;
}

.est-slide-control-wrapper {
    display: flex;
    gap: 12px;
}

/*data card slider*/
#data-slider-container .avia-content-slider-inner {
    height: 100% !important;
    transition: transform 0.8s ease !important;
}

#data-slider-container .avia-content-slider-inner .slide-entry-wrap {
    background: var(--black-text);
    border-radius: 15px;
    padding: 50px 30px;
    height: 100%;
    transition: all 300ms linear !important;
    opacity: 1 !important;
}

#data-slider-container .avia-content-slider-inner .slide-entry-wrap:not(.active) {
    opacity: 0.45 !important;
}

#data-slider-container .avia-content-slider-inner .slide-entry-wrap .slide-entry .entry-title {
    display: none;
}

#data-slider-container .slide-entry .entry-content h5 {
    color: var(--mint);
}

#top#top #data-slider-container .slide-entry .entry-content h3 {
    color: var(--white);
    font-family: var(--poppins);
    font-weight: 700;
    font-size: var(--font-size-xxl);
    /* line-height: 48px; */
    margin-top: 40px;
}

/* Glide slider - General Styles */

#top .glide__track {
    overflow: visible;
}

ul.glide__slides {
    list-style: none;
    overflow: visible;
}

li.glide__slide {
    padding: var(--padding-medium);
}

li.glide__slide--active {
    transform: scale(1.04);
}

#top#top .flex_column:has(.estland-button-alternate--section-heading) + .flex_column_table,
#top#top .flex_column:has(.estland-button-alternate--section-heading) ~ .flex_column {
    margin-top: var(--padding-medium);
}

#top#top .flex_column.flex_column:has(.estland-button-alternate--section-heading) {
    margin-bottom: 0;
}

.flex_column:has(.glide__track) {
    margin-top: var(--padding-large);
}

/* Glide slider - services slider */
.est-services-slider li.glide__slide {
    background: var(--darker-grey);
    border-radius: var(--border-radius-medium);
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
    transition: var(--transition-all);
}

.est-services-slider li.glide__slide:hover,
.est-service-cards__card:hover {
    background: var(--white);
    box-shadow: var(--box-shadow);
}

#top#top .est-services-slider__card-link {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.est-services-slider__img-wrapper {
    height: 90px;
}

.est-services-slider__img-wrapper img {
    height: 100%;
}

.est-services-slider li.glide__slide .service-icon,
.est-service-cards__card .service-icon {
    display: block;
}

.est-services-slider li.glide__slide:hover .service-icon,
.est-service-cards__card:hover .service-icon {
    display: none;
}

.est-services-slider li.glide__slide .service-icon-alternate,
.est-service-cards__card .service-icon-alternate {
    display: none;
}

.est-services-slider li.glide__slide:hover .service-icon-alternate,
.est-service-cards__card:hover .service-icon-alternate {
    display: block;
}

#top .est-services-slider li.glide__slide p,
#top .est-service-cards p {
    color: var(--off-white);
    font-size: var(--font-size-s);
}

#top .est-services-slider li.glide__slide a.est-learn-more {
    align-self: flex-start;
    color: var(--white);
    font-weight: 500;
    margin-top: auto;
    position: relative;
    transition: var(--transition-all);
    z-index: 2;
}

#top .est-services-slider li.glide__slide a.est-learn-more:hover {
    padding-left: 1em;
}

#top .est-services-slider li.glide__slide a.est-learn-more::after {
    background: var(--est-accent-color);
    content: "";
    height: .2em;
    position: absolute;
    left: calc(100% + 0.2em);
    transition: var(--transition-all);
    top: 0.65lh;
    width: .2em;
}

#top .est-services-slider li.glide__slide a.est-learn-more:hover::after {
    width: 1em;
}

#top#top .est-services-slider li.glide__slide h3,
#top#top .est-service-cards h3 {
    color: var(--white);
    font-size: var(--font-size-l);
    font-family: var(--poppins);
    font-weight: 700;
    margin-top: 1em;
}

#top#top .est-services-slider li.glide__slide:hover :is(p, h3, a),
#top#top .est-service-cards__card:hover :is(p, h3, a > span) {
    color: var(--black-text);
}

#top#top .est-services-slider li.glide__slide h3 strong {
    color: var(--mint);
}

#top#top .est-services-slider li.glide__slide:hover h3 strong {
    color: inherit;
}

#top .est-services-slider .flex_column.estland-button {
    margin-top: var(--padding-large);
}

/* Glide slider - Case Studies Slider */
.est-case-studies-slider li.glide__slide {
    background: var(--darker-grey);
    border-radius: var(--border-radius-medium);
    height: auto;
    overflow: hidden;
    padding: 0;
    position: relative;
    transition: var(--transition-all);
    height: 40vh;
    min-height: 250px;
    max-height: 450px;
}

.est-case-studies-slider li.glide__slide > .case-slider-featured,
.est-case-studies-slider li.glide__slide > .case-slider-featured > a {
    height: 100%;
}

.est-case-studies-slider li.glide__slide > .case-slider-featured > a {
    position: relative;
    display: block;
}

.est-case-studies-slider li.glide__slide > .case-slider-featured > a > :is(img, video) {
    object-fit: cover;
    position: absolute;
    transition: var(--transition-all);
    height: 100%;
    top: 0;
}

.est-case-studies-slider li.glide__slide:where(:hover, :focus-within) > .case-slider-featured > a > :is(img, video) {
    scale: 1.08;
}

.est-case-studies-slider .case-info {
    background: linear-gradient(to bottom, rgba(16, 16, 16, 0.6), transparent, rgba(16, 16, 16, 0.8));
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    position: relative;
    padding: var(--padding-medium);
}

.est-case-studies-slider .case-info .case-info-body p {
    margin: 0;
    font-size: var(--font-size-m)
}

.est-case-studies-slider .case-info .case-info-body p strong {
    font-size: var(--font-size-l);
    font-weight: 700;
    color: inherit;
}

#top .est-case-studies-slider .image-overlay {
    display: none !important;
    /* overriding inline styles */
}

#top .est-case-studies-slider li.glide__slide p {
    color: var(--white);
    font-size: var(--font-size-m) !important; /* overrides WYSIWYG styles */
    font-weight: 500 !important; /* overrides WYSIWYG styles */
}

#top#top .est-case-studies-slider li.glide__slide h3 {
    color: var(--white);
    font-size: var(--font-size-s);
    font-weight: 500;
}

#top .est-case-studies-slider .flex_column.estland-button {
    margin-top: var(--padding-large);
}

/*work page filter*/
#top.page-id-16455 #main {
    background-color: var(--dark-black) !important;
}

#top #filter-by {
    min-height: 0;
}

#top #filter-by p {
    margin-bottom: 10px;
    font-family: var(--poppins);
    font-weight: 500;
}

#top #work-filter {
    margin: 0;
}

#top #work-filter .av-tab-section-inner-container {
    display: flex;
    align-items: flex-start;
}

#top #work-filter .av-tab-section-inner-container .av-layout-tab {
    padding-top: 20px;
}

/*#top #work-filter .av-tab-section-inner-container .js-wpv-view-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}*/
#top #work-filter .av-tab-section-inner-container .av-layout-tab-inner > .container {
    padding-top: 0 !important;
}

#top #work-filter .work-logo-container,
#top #work-filter .work-video-container,
#top #work-filter .work-web-design-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 30px;
}

#top #work-filter #photography-content .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 15px;
    row-gap: 15px;
}

#top #work-filter #photography-content .gallery .gallery-item {
    width: 100%;
    height: 100%;
    margin: 0;
    float: none;
}

#top #work-filter #photography-content .gallery .gallery-item img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: all 300ms ease-in-out;
}

#top #work-filter #photography-content .gallery .gallery-item a {
    overflow: hidden;
}

#top #work-filter #photography-content .gallery .gallery-item a span.image-overlay,
#top #work-filter #photography-content .gallery .gallery-item a span.image-overlay-inside {
    display: none !important;
}

#top #work-filter #photography-content .gallery .gallery-item a:hover img {
    transform: scale(1.05, 1.05);
}

#top #work-filter .work-web-design-container > .work-web-design {
    display: flex;
    align-self: center;
    justify-self: center;
    padding: 30px;
    height: 300px;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

#top #work-filter .work-logo-container > a,
#top #work-filter .work-logo-container .work-logo-white-bg > a {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#top #work-filter .work-logo-container > a img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: all 300ms ease-in-out;
}

#top #work-filter .work-logo-container .work-logo-white-bg a img {
    width: auto;
    max-width: 75%;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: all 300ms ease-in-out;
}

#top #work-filter .work-logo-container a:hover img {
    transform: scale(1.05, 1.05);
}

#top #work-filter .work-logo-container a span.image-overlay,
#top #work-filter .work-logo-container a span.image-overlay-inside {
    display: none !important;
}

#top #work-filter .work-video-container > .work-video {
    display: flex;
    align-self: center;
    justify-self: center;
    padding: 0px;
    height: 350px;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

#top #work-filter .av-tab-section-tab-title-container {
    background: transparent;
    display: flex;
    /*flex-direction: column;*/
    gap: 25px;
    width: 100%;
    max-width: var(--max-content-width);
    padding: 0 50px;
    margin: auto;
}

#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title {
    display: inline-block;
    width: max-content;
    padding: 15px 25px;
    font-family: var(--poppins);
    font-weight: 400;
    background: var(--black-text);
    border-radius: 10px;
    color: var(--white);
    margin: 10px 0;
}

#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title.av-active-tab-title,
#top#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title:hover {
    background: var(--mint);
    color: var(--black-text);
}

#top #work-filter .av-tab-section-tab-title-container .av-outer-tab-title {
    align-items: center;
    display: flex;
    column-gap: 0.8rem;
}

.av-tab-section-tab-title-container a[href*="case-studies"] > .av-outer-tab-title::before {
    background: var(--mint);
    content: "";
    display: block;
    height: 30px;
    width: 30px;
    mask-image: url(./images/grid.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: 100%;
}

.av-tab-section-tab-title-container a[href*="portfolio"] > .av-outer-tab-title::before {
    background: var(--mint);
    content: "";
    display: block;
    height: 30px;
    width: 30px;
    mask-image: url(./images/grid-compact.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: 100%;
    transition: var(--transition-all);
}

#top .av-tab-section-tab-title-container .av-active-tab-title > .av-outer-tab-title::before,
.av-tab-section-tab-title-container .av-section-tab-title:hover > .av-outer-tab-title::before {
    background: var(--dark-black);
}

#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title span.av-outer-tab-title {
    padding: 0;
}

#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title span span.av-inner-tab-title {
    font-size: var(--font-size-xl);
    /* line-height: 34px; */
    text-transform: capitalize;
    width: 100%;
    margin: 0;
}

#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title span.av-tab-arrow-container {
    display: none;
}

#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title span span.av-inner-tab-title span.mint-expand,
#top#top .post-cat-group h4 span.mint-expand {
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: var(--mint);
    margin-left: 0;
}

#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title:hover span span.av-inner-tab-title span.mint-expand,
#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title.av-active-tab-title span span.av-inner-tab-title span.mint-expand,
#top#top .post-cat-group h4:hover span.mint-expand,
#top#top .post-cat-group h4.active-cat span.mint-expand {
    width: 30px;
}

#top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title.av-active-tab-title span span.av-inner-tab-title span.mint-expand,
#top#top .post-cat-group h4.active-cat span.mint-expand {
    background: var(--white);
}

#top #work-filter .case-page-filter,
#top .post-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#top #work-filter .case-page-filter .checkbox,
#top .post-cat-filter .checkbox,
#top .post-cat-filter .js-wpv-reset-trigger {
    font-family: var(--montserrat);
    font-weight: 600;
    text-transform: uppercase;
    background: var(--darker-grey);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 3px;
    font-size: var(--font-size-xs);
    /* line-height: 18px; */
    transition: all 300ms ease-in-out;
}

#top .post-cat-filter .js-wpv-reset-trigger:hover {
    cursor: pointer;
}

#top #work-filter .case-page-filter .checkbox input,
#top .post-cat-filter .checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
}

#top #work-filter .case-page-filter .checkbox.checked,
#top .post-cat-filter .checkbox.checked,
#top#top#top .estland-button-alternate a:is(:hover, :focus-within) {
    background: var(--mint);
    color: var(--black-text);
}

#top #work-filter .case-page-filter .checkbox:not(.checked):hover,
#top .post-cat-filter .checkbox:not(.checked):hover {
    background: var(--white);
    color: var(--darker-grey);
}

#top #work-filter .case-page-filter .checkbox:hover,
#top #work-filter .case-page-filter .checkbox:hover label,
#top .post-cat-filter .checkbox:hover,
#top .post-cat-filter .checkbox:hover label {
    cursor: pointer;
}

#top #work-filter .av-layout-tab-inner .tabcontainer .tab,
#top .estland-button-alternate a {
    font-family: var(--montserrat);
    font-weight: 600;
    text-transform: uppercase;
    background: var(--darker-grey);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 3px;
    font-size: var(--font-size-xs);
    /* line-height: 18px; */
    border: 0;
    transition: all 300ms ease-in-out;
}

#top.body-light #work-filter .av-layout-tab-inner .tabcontainer .tab,
#top.body-light .estland-button-alternate a {
    background: var(--lighter-grey);
    color: var(--black-text);
}

.flex_column:has(.estland-button-alternate) {
    line-height: 0;
}

#top #work-filter .av-layout-tab-inner .tabcontainer .tab.active_tab {
    background: var(--mint);
    color: var(--black-text);
}

#top #work-filter .av-layout-tab-inner .tabcontainer .tab:not(.active_tab):hover {
    background: var(--white);
    color: var(--darker-grey);
}

#top #work-filter .av-layout-tab-inner .tabcontainer {
    background: transparent;
    border: 0;
}

#top #work-filter .av-layout-tab-inner .tabcontainer .tab_content {
    background: transparent;
    border: 0;
    padding: 30px 0;
}

#top #work-filter .av-layout-tab-inner .tabcontainer .tab_titles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#top #work-filter .work-logo-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 30px;
}

#top #work-filter .work-logo-container > img {
    padding: 0;
    object-fit: cover;
    border-radius: 10px;
}

#top #work-filter .work-logo-container .work-logo-white-bg {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

#top #work-filter .work-logo-container .work-logo-white-bg img {
    width: auto;
    max-width: 75%;
    max-height: 200px;
}

#top #work-filter .work-video-container .work-video .wp-video {
    width: 100% !important;
    height: 100%;
}

#top #work-filter .work-video-container .work-video .mejs-container,
#top #work-filter .work-video-container .work-video .mejs-container video {
    width: 100% !important;
    height: 100% !important;
}

#top #work-filter .work-video-container .work-video .mejs-container video {
    object-fit: cover;
}

#top #work-filter.hide-filters .av-tab-section-tab-title-container a[href*="#case-studies"] {
    background: var(--black-text);
    color: var(--white);
}

#top #work-filter.hide-filters .av-tab-section-tab-title-container a[href*="#case-studies"] span span.av-inner-tab-title span.mint-expand {
    width: 7px;
    background: var(--mint);
}

#top #work-filter.hide-filters .av-tab-section-tab-title-container a[href*="case-studies"]:hover span span.av-inner-tab-title span.mint-expand {
    width: 30px;
}

#top #work-filter.hide-filters .case-page-filter {
    display: none;
}

/*logos slider*/
#top#top .auto-hor-gallery.logos-slider .avia-gallery .avia-gallery-thumb img,
#top#top .auto-hor-gallery .avia-gallery .avia-gallery-thumb a {
    display: inline-block;
    width: 400px;
    height: 300px;
    max-height: 150px;
    float: none !important;
    vertical-align: middle;
    background: transparent;
    border: 0;
    margin-right: 20px;
    object-fit: contain;
    object-position: center;
    transition: all 400ms ease-in-out;
}

#top#top .auto-hor-gallery:not(.logos-slider) .avia-gallery .avia-gallery-thumb {
    height: 300px;
}

#top#top .auto-hor-gallery.logos-slider .avia-gallery .avia-gallery-thumb img {
    width: 200px;
    height: auto;
    margin-right: 100px;
    filter: brightness(1) invert(1);
}

#top#top.body-black .auto-hor-gallery.logos-slider .avia-gallery .avia-gallery-thumb img {
    filter: none;
}

#top .auto-hor-gallery.logos-slider {
    overflow: hidden;
    position: relative;
    /*width: 100%;*/
    height: 155px;
    margin: 20px 0;
    transition: all 400ms ease-in-out;
}

#top .auto-hor-gallery .avia-gallery {
    /*overflow: hidden;
    position: relative;*/
    display: flex;
    position: relative;
    /*width: 100%;*/
    animation: none;
    width: max-content;
}

#top .auto-hor-gallery .avia-gallery .avia-gallery-thumb {
    /*overflow: hidden;*/
    white-space: nowrap;
    display: inline-flex;
    /*flex-wrap: nowrap;*/
    position: relative;
    flex-direction: row;
    flex-wrap: nowrap;
    /*min-width: 1600px;*/
    /*width: 100%;*/
    /*animation: scrollGallery 60s linear infinite;
    animation-play-state: running;*/
}

#top .auto-hor-gallery.logos-slider .avia-gallery .avia-gallery-thumb.cloned {
    order: -1;
}

@keyframes scrollGalleryLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
        /* Adjust the width to fit your images */
    }
}

@keyframes scrollGalleryRight {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

/*fullwidth side fade sections*/
#top .fullwidth-side-fade {
    position: relative;
}

#top .fullwidth-side-fade > .container > .content {
    padding: 0 !important;
}

#top .fullwidth-side-fade .left-side-fade,
#top .fullwidth-side-fade .right-side-fade {
    pointer-events: none;
    /*transition: opacity 600ms linear;*/
}

#top .fullwidth-side-fade .left-side-fade::before,
#top .fullwidth-side-fade .left-side-fade::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20vw;
    height: 100%;
    z-index: 2;
    transition: opacity 500ms linear;
}

#top .fullwidth-side-fade .left-side-fade::before {
    background: linear-gradient(to right, var(--white) 20px, transparent);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

#top .fullwidth-side-fade .left-side-fade::after {
    background: linear-gradient(to right, var(--dark-black) 20px, transparent);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
}

#top.body-black .fullwidth-side-fade .left-side-fade::before {
    opacity: 0;
}

#top.body-black .fullwidth-side-fade .left-side-fade::after {
    opacity: 1;
}

#top .fullwidth-side-fade .right-side-fade::before,
#top .fullwidth-side-fade .right-side-fade::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20vw;
    height: 100%;
    z-index: 2;
    transition: opacity 500ms linear;
}

#top .fullwidth-side-fade .right-side-fade::before {
    background: linear-gradient(to left, var(--white) 20px, transparent);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

#top .fullwidth-side-fade .right-side-fade::after {
    background: linear-gradient(to left, var(--dark-black) 20px, transparent);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
}

#top.body-black .fullwidth-side-fade .right-side-fade::before {
    opacity: 0;
}

#top.body-black .fullwidth-side-fade .right-side-fade::after {
    opacity: 1;
}

/*full screen bg video sections*/
#top .full-bg-video .estland-button {
    position: absolute;
    bottom: 10%;
    right: 0;
}

/*pause button*/
#top #pauseButton:hover,
#top .estland-pause-button {
    cursor: pointer;
}

#top #pauseButton span.av-icon-char,
#top .estland-pause-button span.av-icon-char {
    color: var(--black-text);
    border-width: 3px;
    border-style: solid;
    border-color: var(--black-text);
    padding: 10px;
    font-size: var(--font-size-xl);
    line-height: 1;
    width: 30px;
    background: transparent;
    transition: all 400ms ease-in-out;
}

#top.body-black #pauseButton span.av-icon-char,
#top.body-black .estland-pause-button span.av-icon-char {
    color: var(--white);
    border-color: var(--white);
}

/*#top #pauseButton span.av-icon-char:hover:before,*/
#top #pauseButton.paused span.av-icon-char:before,
#top .estland-pause-button.paused span.av-icon-char:before {
    content: '\e897';
}

/*video screenrecord placeits*/
#top .laptop-video-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: scale(1.5);
}

#top .laptop-video-mockup picture {
    display: block;
}

#top .laptop-video-mockup figure {
    position: absolute;
    /* z-index: -1;
    width: 38vw;
    max-width: 500px;
    height: auto; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5px;
    /* top: calc(52% / 2); */
}

#top .laptop-video-mockup figure video {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: top;
}

/*web video slider*/
#web-video-container {
    position: relative;
    overflow: hidden;
}

#web-video-container .web-slider {
    list-style: none;
    /*transition: transform 0.8s ease !important;*/
    /*transition: opacity 0.8s ease !important;*/
    position: relative;
    height: 595px;
    /*overflow: visible;*/
    overflow: hidden;
    float: none;
    padding: 0 !important;
    display: flex;
    align-items: center;
    top: -20px;
    /*left: 17.5px;*/
    /*opacity: 1;*/
    justify-content: center;
}

#web-video-container .web-slider-mock-img {
    position: absolute;
    top: 0;
    z-index: 9;
}

#web-video-container .web-slider .avia-video {
    flex: 0 0 82%;
    /*flex: 0 0 calc(100% - 10px);*/
    /*margin: 0 10px;*/
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*overflow: hidden;*/
    /*height: 595px !important;*/
    height: 100% !important;
    /*position: relative;*/
    position: absolute;
    padding: 0 !important;
    /*justify-content: center;*/
    top: 0px;
    left: auto;
    border-radius: 15px;
    /*overflow: hidden;*/
    /*max-width: 100%;*/
    max-width: 925px;
    opacity: 0;
    /*transition: all 200ms ease-in;*/
    pointer-events: none;
    /*z-index: 1;*/
    transition: opacity 0.8s ease;
}

#web-video-container .web-slider .avia-video.active {
    opacity: 1;
    z-index: 1;
}

#web-video-container .web-slider .avia-video .mejs-inner .mejs-controls {
    display: none !important;
    height: 0;
}

#web-video-container .web-slider .avia-video video {
    /*width: 925px !important;
    height: 590px !important;*/
    width: 100% !important;
    height: 595px !important;
    object-fit: fill;
    object-position: center;
    position: relative;
    margin: auto;
    display: flex;
}

#web-video-container .web-slider .avia-video .mejs-container,
#web-video-container .web-slider .avia-video .mejs-container .mejs-mediaelement {
    position: relative;
}

/*#web-video-container .web-slider .avia-video:first-child {
  margin-left: auto;
  margin-right: auto;
}*/
/*single blog post styling*/
#top.single-post .featured-hero {
    display: inline-block;
    width: 33%;
    float: none;
    vertical-align: top;
    position: relative;
    left: 0;
    top: 0;
    z-index: 2;
}

/*#top.single-post .featured-hero:not(.vert-featured)::before,
#top.single-post .featured-hero.vert-featured::after {
    display: none !important;
}*/
#top.single-post .featured-hero:before {
    background-image: none;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

#top.single-post .featured-hero.vert-featured:before {
    display: none !important;
}

#top.single-post .featured-hero > .container {
    padding: 0 50px;
}

#top.single-post .blog-post-content-cont {
    width: 67%;
    display: inline-block;
    float: none;
    vertical-align: top;
    /*  height: 100vh;
    overflow: scroll;*/
}

#top.single-post .featured-hero h1 {
    font-size: 24px;
    /* line-height: 26px; */
}

#top.single-post #footer-form,
#top.single-post #related-entries-blog {
    z-index: 5;
    position: relative;
    /*background: var(--white);*/
}

#top.single-post .featured-hero .hero-content {
    position: fixed;
    bottom: 5%;
    /*width: calc(33% - 100px);*/
    width: 100%;
    max-width: calc(33vw - 100px);
    z-index: 2;
    /*left: 0;*/
    opacity: 0;
    transition: all 400ms ease-in-out;
}

#top.single-post .featured-hero .hero-content .hero-title {
    position: relative;
    z-index: 3;
}

#top.single-post.scrolled .hero-content {
    opacity: 1;
}

#top.single-post .featured-hero .hero-content::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 33vw;
    height: 40vh;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.95));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    visibility: visible;
    z-index: 2;
}

/* @media( min-width:989px ) {
    #top.single-post .header_color .av-hamburger-inner {
        background-color: var(--black);
    }
} */
/* #top.single-post .header_color .av-hamburger-inner::before,
#top.single-post .header_color .av-hamburger-inner::after {
    background-color: inherit;
} */

#top.single-post .featured-hero {
    width: 33vw;
    display: inline-block;
    /*vertical-align: top;*/
    position: relative;
    /*overflow: hidden;*/
    top: 0;
    left: 0;
    height: 100%;
}

#top.single-post .featured-hero .hero-bg {
    width: 100% !important;
    max-width: 33vw !important;
    padding: 0;
    margin: 0;
    height: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

#top.single-post .featured-hero.vert-featured .hero-bg {
    width: 100% !important;
    max-width: 33vw !important;
    padding: 0;
    margin: 0;
    height: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    /*background-attachment: fixed;
    background-size: 33vw 100vh;*/
    background-attachment: unset;
    background-size: cover;
    background-position: unset;
    background-repeat: no-repeat;
}

/*#top.single-post .featured-hero.vert-featured .hero-bg,*/
#top.single-post .featured-hero.vert-featured-photo .hero-bg {
    width: 100% !important;
    max-width: 33vw !important;
    padding: 0;
    margin: 0;
    height: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: unset;
    background-repeat: no-repeat;
    background-attachment: unset;
}

/*#top.single-post .featured-hero:not(.vert-featured) .hero-bg {
    background-size: 33vw;
    background-repeat: no-repeat;
}*/
#top.single-post #blog-featured > .container > .content {
    padding: 0;
    position: absolute;
    bottom: 0;
    width: 33vw;
    height: 100vh;
}

/*#top.single-post #blog-featured .avia-image-container {
    position: absolute;
    top: 0;
    left: 0;
}*/
#top.single-post #blog-featured .vert-featured {
    position: absolute;
    bottom: 0;
    width: 33vw;
}

#top.single-post #blog-featured .vert-featured .avia-image-container img {
    /*position: fixed;
    top: 0px;
    left: 0px;
    width: 33%;
    height: 100vh;*/
    /*transform: translateX(-50%);*/
    /*z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;*/
    /*width: 100%;
    height: 100%;*/
    width: 33vw;
    height: 100vh;
    object-fit: cover;
}

#top.single-post #blog-featured .hero-breadcrumb {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: calc(33vw - 100px);
}

#top.single-post .hero-breadcrumb span,
#top.single-post .hero-breadcrumb span a {
    font-size: var(--font-size-xs);
    line-height: 1.4;
}

#top.single-post #header .header_bg {
    background: transparent;
}

#top.single-post .blog-post-content-cont .entry-content-wrapper > .flex_column:first-child h1,
#top.single-post .blog-post-content-cont .entry-content-wrapper > .flex_column:first-child h1 > strong {
    font-size: var(--heading-size-l);
    /* line-height: 74px; */
}

#top.single-post .vert-featured-photo .hero-bg,
#top.single-post .vert-featured .hero-bg {
    background-attachment: unset;
    background-position: center;
    z-index: 2;
}

#top.single-post .featured-hero .hero-bg-clone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 33vw !important;
    height: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

/*post page gallery*/
#top .post-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 75px;
    grid-column-gap: 30px;
    margin: 30px 0 75px;
}

#top .post-gallery .post-item .post-item-featured {
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
}

#top .post-gallery .post-item .post-item-featured a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

#top .post-gallery .post-item .post-item-featured a span.image-overlay,
#top .post-gallery .post-item .post-item-featured a span.image-overlay span.image-overlay-inside,
#top .post-gallery .post-item .post-item-featured a:hover span.image-overlay,
#top .post-gallery .post-item .post-item-featured a:hover span.image-overlay span.image-overlay-inside {
    display: none !important;
}

#top .post-gallery .post-item .post-item-featured a img.post-featured-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: all 300ms ease-in-out;
}

#top .post-gallery .post-item .post-item-featured a:hover img {
    transform: scale(1.05, 1.05);
}

#top#top .post-gallery .post-item .post-content h4 {
    font-family: var(--poppins);
    font-weight: 700;
    font-size: var(--font-size-l);
    /* line-height: 30px; */
    color: var(--white);
    letter-spacing: 1px;
    transition: all 300ms ease-in-out;
}

#top#top .post-gallery .post-item .post-content h4:hover {
    color: var(--mint);
}

#top .post-gallery .post-item .post-content p {
    font-size: var(--font-size-s);
    /* line-height: 22px; */
}

#top .post-gallery .post-item .post-meta {
    display: flex;
    align-items: center;
    margin: 15px 0 10px;
    gap: 20px;
}

#top .post-gallery .post-item .post-meta span.date {
    color: var(--mint);
    font-family: var(--poppins);
    font-weight: 500;
    font-size: var(--font-size-s);
    /* line-height: 20px; */
}

#top .post-gallery .post-item .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#top .post-gallery .post-item .post-tags a {
    pointer-events: none;
    font-family: var(--montserrat);
    font-weight: 600;
    font-size: var(--font-size-xxs);
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--white);
    background: var(--darker-grey);
    padding: 5px 10px;
    border-radius: 4px;
}

#top#top .post-cat-group h4 {
    font-family: var(--poppins);
    font-weight: 400;
    color: var(--white);
    font-size: var(--font-size-xl);
    /* line-height: 32px; */
    background: var(--black-text);
    width: max-content;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 0;
    transition: all 300ms ease-in-out;
}

#top#top .post-cat-group h4:hover {
    cursor: pointer;
}

#top#top .post-cat-group h4.active-cat,
#top .post-cat-group .post-cat-filter .js-wpv-reset-trigger.active {
    background: var(--mint);
    color: var(--black-text);
}

#top .post-cat-group .post-cat-filter:not(.show) {
    display: none;
    opacity: 0;
    transition: all 300ms ease-in-out;
}

#top .post-cat-group .post-cat-filter.show {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    opacity: 1;
}

#top .post-cat-group .post-cat-filter .js-wpv-reset-trigger {
    border: 0;
    box-shadow: none;
}

/*blog testimonial quote*/
#top .blog-testimonial {
    border-radius: 15px;
    box-shadow: 0 0 15px 0px rgba(0, 0, 0, 0.15);
    padding: 35px 30px;
}

#top .case-testimonial-section.blog-testimonial .case-testimonial-info {
    padding-right: 25px;
}

#top .case-testimonial-section.blog-testimonial .case-testimonial-info > p {
    font-size: var(--font-size-l);
    /* line-height: 32px; */
    letter-spacing: 1px;
}

/*related entries blog*/
#top #related-entries-blog .avia-content-slider .slide-entry h3.entry-title {
    font-family: var(--poppins);
    font-weight: 700;
    font-size: 24px;
    /* line-height: 1.17; */
    letter-spacing: 0.5px;
    color: var(--black-text);
}

#top.body-black #related-entries-blog .avia-content-slider .slide-entry h3.entry-title {
    color: var(--white);
}

#top #related-entries-blog .avia-content-slider .slide-entry a.slide-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 15px 15px 10px -5px rgba(0, 0, 0, 0.1);
}

#top #related-entries-blog .avia-content-slider .slide-entry a.slide-image img {
    width: 100%;
    height: 325px;
    object-fit: cover;
    object-position: center;
}

#top #related-entries-blog .avia-content-slider .slide-entry-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4%;
}

#top #related-entries-blog .avia-content-slider .slide-entry-wrap .slide-entry {
    margin: 0;
    width: 50%;
}

#top #related-entries-blog .avia-content-slider,
#top #related-entries-blog .avia-content-slider .avia-content-slider-inner {
    overflow: visible;
}

/*promoboxes*/
#top .av_promobox {
    border: 0;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

#top .av_promobox .avia-promocontent {
    margin: 0;
}

#top .av_promobox .avia-button-wrap {
    margin-top: 0;
}

#top .av_promobox .avia-button-wrap a {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin: 0;
}

/*iconboxes*/
#top .estland-icon-box {
    margin-top: 30px;
}

#top .estland-icon-box,
#top .estland-icon-box .iconbox_content {
    border-radius: 15px;
}

#top .estland-icon-box .iconbox_content {
    background: var(--black-text);
    box-shadow: none;
}

#top .iconbox.iconbox--no-content .iconbox_content_container {
    display: none;
}

#top .estland-icon-box .iconbox_content .iconbox_icon {
    background: var(--mint);
    border-radius: 8px;
    width: 40px;
    margin: 0;
    left: calc(50% - 35px);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#top#top .estland-icon-box .iconbox_content h3.iconbox_content_title {
    font-size: var(--font-size-l);
    /* line-height: 1.08; */
    color: var(--white);
}

#top .estland-icon-box .iconbox_content h3.iconbox_content_title strong {
    font-family: var(--poppins);
    font-weight: 400;
    font-size: var(--font-size-l);
    /* line-height: 1.08; */
    color: var(--mint);
}

#top .estland-icon-box .iconbox_content p {
    font-size: var(--font-size-xs);
    /* line-height: 22px; */
}

#top .estland-icon-box.brand-icon .iconbox_content .iconbox_icon::before {
    content: '';
    width: 100%;
    height: 30px;
    display: inline-block;
    background: url('/wp-content/themes/estland-enfold-child/images/brand-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#top .estland-icon-box.customer-icon .iconbox_content .iconbox_icon::before {
    content: '';
    width: 100%;
    height: 30px;
    display: inline-block;
    background: url('/wp-content/themes/estland-enfold-child/images/customer-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#top .estland-icon-box.streamline-icon .iconbox_content .iconbox_icon::before {
    content: '';
    width: 100%;
    height: 30px;
    display: inline-block;
    background: url('/wp-content/themes/estland-enfold-child/images/streamline-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#top .estland-icon-box.iphone-icon .iconbox_content .iconbox_icon::before {
    content: '';
    width: 100%;
    height: 30px;
    display: inline-block;
    background: url('/wp-content/themes/estland-enfold-child/images/iphone-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#top .estland-icon-box.quote-icon .iconbox_content .iconbox_icon::before {
    content: '';
    width: 100%;
    height: 30px;
    display: inline-block;
    background: url('/wp-content/themes/estland-enfold-child/images/quote-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/*iconlists*/
#top .estland-iconlist ul li {
    display: flex;
    align-items: center;
}

#top .estland-iconlist ul li .article-icon-entry {
    background: var(--black-text);
    border-radius: 15px;
    width: 100%;
    padding: 20px 20px 20px 47px;
}

#top .estland-iconlist ul li .iconlist_icon {
    border-radius: 8px;
    background: var(--est-accent-color);
    height: auto;
    width: 70px;
    line-height: inherit;
    padding: 15px 0;
    margin: 0;
    margin-right: -32px;
}

#top#top .estland-iconlist ul li h4.iconlist_title {
    font-family: var(--poppins);
    font-weight: 400;
    color: var(--white);
    font-size: var(--font-size-l);
    /* line-height: 30px; */
}

#top .estland-iconlist ul li .iconlist_content p {
    font-size: var(--font-size-xs);
    /* line-height: 20px; */
    margin: 10px 0 0;
    color: var(--white);
}

/*numbered iconlists*/
#top .estland-iconlist.numbered-list ul {
    counter-reset: list-number;
}

#top .estland-iconlist.numbered-list ul li {
    counter-increment: list-number;
}

#top .estland-iconlist.numbered-list ul li span.iconlist-char:before,
#top .estland-iconlist.numbered-list ul li span.av-icon-char:before {
    content: counter(list-number, decimal-leading-zero);
    font-family: var(--poppins);
    font-weight: 700;
    font-size: var(--font-size-l);
    /* line-height: 30px; */
    color: var(--est-text-on-accent-color);
}

#top .estland-iconlist.numbered-list ul li .iconlist-timeline {
    display: none;
}

/*ad landing page styles*/
#top#top.ad-landing .featured-hero {
    height: 100% !important;
}

#top#top.ad-landing .featured-hero .hero-content {
    width: 100%;
    margin-top: 225px;
}

#top#top.ad-landing .featured-hero .hero-content h4 {
    max-width: 850px;
}

#top.ad-landing.body-black .avia-buttonrow-wrap > a.avia-button:first-child:not(:hover),
#top.ad-landing .hero-message .avia-buttonrow-wrap > a.avia-button:first-child:not(:hover),
#top.home .featured-hero .avia-buttonrow-wrap > a.avia-button:first-child:not(:hover),
#top.body-black .avia-buttonrow-wrap:not(.buttonrow-flip, .estland-button-alternate) > a.avia-button:first-child:not(:hover),
#top.body-black .avia-buttonrow-wrap.buttonrow-flip > a.avia-button:last-child:not(:hover) {
    background: var(--white);
    color: var(--black-text) !important;
    border-color: var(--white) !important;
}

#top.ad-landing.body-light .avia-buttonrow-wrap > a.avia-button:first-child:not(:hover),
#top.body-light .avia-buttonrow-wrap:not(.buttonrow-flip, .estland-button-alternate) > a.avia-button:first-child:not(:hover),
#top.body-light .avia-buttonrow-wrap.buttonrow-flip > a.avia-button:last-child:not(:hover) {
    background: var(--dark-grey);
    color: var(--white) !important;
    border-color: var(--dark-grey) !important;
}

#top#top.ad-landing .featured-hero .hero-content h4 {
    max-width: 850px;
}

#top.ad-landing.body-black .avia-buttonrow-wrap.estland-button__alternate > a.avia-button:first-child:not(:hover),
#top.ad-landing .hero-message .avia-buttonrow-wrap.estland-button__alternate > a.avia-button:first-child:not(:hover),
#top.home .featured-hero .avia-buttonrow-wrap.estland-button__alternate > a.avia-button:first-child:not(:hover),
#top.body-black .avia-buttonrow-wrap.estland-button__alternate:not(.buttonrow-flip) > a.avia-button:first-child:not(:hover),
#top.body-black .avia-buttonrow-wrap.estland-button__alternate.buttonrow-flip > a.avia-button:last-child:not(:hover) {
    background: var(--dark-grey);
    color: var(--white) !important;
    border-color: var(--dark-grey) !important;
}

#top.ad-landing.body-black .avia-buttonrow-wrap > a.avia-button:last-child:not(:hover),
#top.ad-landing .hero-message .avia-buttonrow-wrap > a.avia-button:last-child:not(:hover),
#top.home .featured-hero .avia-buttonrow-wrap > a.avia-button:last-child:not(:hover),
#top.body-black .avia-buttonrow-wrap:not(.buttonrow-flip, .estland-button-alternate) > a.avia-button:last-child:not(:hover),
#top.body-black .avia-buttonrow-wrap.buttonrow-flip > a.avia-button:first-child:not(:hover) {
    background: transparent;
    border-color: var(--white) !important;
    color: var(--white) !important;
}

#top#top.ad-landing .hero-message h4 {
    color: var(--white);
}

#top.ad-landing .case-testimonial-section .case-testimonial-info p {
    font-family: var(--poppins);
    font-weight: 500;
    font-size: var(--font-size-xl);
    /* line-height: 40px; */
    letter-spacing: 1.5px;
    margin-top: 0;
}

#top.ad-landing .black-bg.case-testimonial-section .case-testimonial-info h5 {
    font-family: var(--montserrat);
    font-weight: 700;
    opacity: 0.5;
    color: var(--white);
}

#top #packages .package-col {
    background: var(--black-text);
    border-radius: 15px;
    padding: 40px 0;
}

#top #packages .package-col .avia_textblock > * {
    padding: 0 35px;
}

#top #packages .package-col h3 {
    font-family: var(--poppins);
    font-weight: 700;
    font-size: var(--font-size-l);
    /* line-height: 30px; */
    color: var(--white);
}

#top #packages .package-col strong.underscore {
    bottom: 0;
    font-family: var(--poppins);
    font-weight: 700;
    font-size: var(--font-size-l);
    /* line-height: 30px; */
}

#top #packages .package-col ul {
    list-style: none;
}

#top #packages .package-col ul li {
    color: var(--white);
    border-bottom-width: 1.5px;
    border-bottom-style: solid;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    margin: 0;
    padding-left: 0;
    font-size: var(--font-size-xs);
}

#top #packages .package-col ul > li:last-of-type {
    border-bottom: 0;
}

#top #packages .package-col ul li::before {
    display: none;
}

#top #packages .package-col h5 {
    background: var(--black);
    padding: 10px 20px !important;
    color: var(--white);
    border-radius: 15px;
    margin: 20px 15px;
}

#top #packages .package-col h5 > strong {
    color: var(--mint);
}

#top .rc-anchor-invisible {
    visibility: hidden;
}

/**gas & oil webinar page edits**/
#top#top.page-id-20266 .main_menu > .estland-button {
    display: none !important;
}

#top#top.page-id-20266 .black-bg {
    background: #030304;
}

#top .gas-oil-cont h1 {
    font-size: var(--heading-size-m);
    /* line-height: 1.04; */
    margin: 0 0 30px;
}

#top .gas-oil-cont h2 {
    font-size: var(--heading-size-s);
    /* line-height: 1.04; */
    /*    margin: 0 0 30px;*/
}

#top .gas-oil-cont h5 {
    font-family: var(--poppins);
    font-weight: 400;
    font-size: var(--font-size-m);
    /* line-height: 26px; */
}

#top .gas-oil-cont .avia-video {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

#top .gas-oil-cont .avia-image-container img {
    height: 350px;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

@media (max-width:500px) {
    #top .gas-oil-cont .avia-image-container img {
        height: 275px;
    }
}

#top#top .gas-oil-cont .grey-bg-col h4 {
    font-family: var(--poppins);
    font-weight: 400;
    font-size: var(--font-size-xl);
    /* line-height: 32px; */
}

#top .gas-oil-cont .grey-bg-col .avia_textblock p {
    font-size: var(--font-size-s);
    /* line-height: 22px; */
}

#top .gas-oil-cont .grey-bg-col form {
    margin: 0;
}

#top .grey-bg-col {
    background: #1F1F1F;
    border-radius: 15px;
    overflow: hidden;
    padding: 65px 50px;
}

#top.white-bg .grey-bg-col {
    background: var(--off-light-white);
    box-shadow: var(--box-shadow);
}

#top#top .grey-bg-promo-fullwidth > .container > .content {
    background: var(--off-light-white);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding-top: 0;
    padding-bottom: 0;
}

#top#top .grey-bg-promo-fullwidth > .container > .content .entry-content-wrapper {
    padding: 25px 35px;
}

#top#top .grey-bg-promo .avia_textblock h3 {
    font-size: 1.75rem;
    /* line-height: 2rem; */
    color: var(--black);
    text-transform: none;
}

#top#top .grey-bg-promo {
    padding: 40px;
}

#top#top .grey-bg-promo .avia_textblock h3 > a {
    color: var(--dark-mint);
    font-weight: 500;
}

#top#top .gas-oil-cont .half-col-list {
    margin: 40px 0;
}

#top#top .gas-oil-cont .half-col-list ul li span.av-icon-char[data-av_icon=""] {
    display: inline-block;
    background: url('/wp-content/themes/estland-enfold-child/images/mint-cal-icon.svg');
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#top#top .gas-oil-cont .half-col-list ul li span.av-icon-char[data-av_icon=""] {
    display: inline-block;
    background: url('/wp-content/themes/estland-enfold-child/images/mint-clock-icon.svg');
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#top#top .gas-oil-cont .half-col-list ul li span.av-icon-char[data-av_icon=""]::before,
#top#top .gas-oil-cont .half-col-list ul li span.av-icon-char[data-av_icon=""]::before {
    content: '';
}

/*price col*/
#top#top .price-col {
    padding: 35px;
}

#top#top .price-col .avia_textblock h3,
#top#top .price-col.avia_textblock h3 {
    font-family: var(--poppins);
    font-weight: 700;
    font-size: 1.8rem;
    /* line-height: 1.8rem; */
    color: var(--black);
}

#top#top .price-col .avia_textblock h5 {
    font-size: var(--font-size-m);
    /* line-height: 24px; */
}

#top#top .price-col .avia_textblock h5 > strong {
    color: var(--dark-mint);
}

#top#top .price-col .avia_textblock h3 > strong.underscore {
    bottom: 0px;
    color: var(--dark-mint);
}

#top#top .price-col .avia_textblock h3 + h5 {
    margin: 1.25em 0 0.75em;
}

#top#top .price-col .avia_textblock p + p {
    margin-top: 30px;
}

#top#top .price-col .avia_textblock p {
    font-size: var(--font-size-xs);
    /* line-height: 24px; */
    margin: 5px 0 0;
}

#top#top .price-col .avia_textblock p > strong {
    color: var(--dark-mint);
    font-size: var(--font-size-xs);
    /* line-height: 24px; */
}

#top#top .price-col .avia_textblock p.price-tag {
    margin: 0 0 20px;
    background: var(--dark-mint);
    border-radius: 8px;
    width: max-content;
    padding: 8px 12px;
    font-family: var(--poppins);
    font-weight: 700;
    color: var(--white);
    font-size: 24px;
    line-height: 1.1;
}

/*add on promo*/
#top#top .add-on-promo.avia_textblock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 25px 30px;
    column-gap: 4%;
}

#top#top .add-on-promo.avia_textblock .first-col {
    width: 80%;
}

#top#top .add-on-promo.avia_textblock .first-col p {
    margin: 10px 0 0;
    font-size: var(--font-size-xs);
    /* line-height: 22px; */
}

#top#top .add-on-promo.avia_textblock .second-col {
    width: 20%;
    text-align: right;
}

#top#top .add-on-promo.avia_textblock .second-col strong {
    font-family: var(--poppins);
    font-weight: 700;
    color: var(--white);
    background: var(--dark-mint);
    padding: 8px 20px;
    border-radius: 8px;
}

/*real estate video bg col*/
#top .real-estate-video-bg video,
#top .real-estate-video-bg .avia-video {
    min-height: 600px;
    object-fit: cover;
    object-position: center;
    padding: 0;
    margin: 0;
}

@media (max-width:767px) {

    #top .real-estate-video-bg video,
    #top .real-estate-video-bg .avia-video {
        min-height: 350px;
    }
}

#top .real-estate-video-bg .avia-video {
    border-radius: 15px;
    overflow: hidden;
}

/*est masonry gallery - no scrolls*/
#top#top .est-masonry-gallery a.av-masonry-entry {
    /*    height: 250px;*/
    overflow: hidden;
}

#top#top .est-masonry-gallery a.av-masonry-entry figure {
    border-radius: 15px;
    overflow: hidden;
}

#top#top .est-masonry-gallery a.av-masonry-entry figure .av-masonry-image-container {
    transform: scale(1, 1);
    transition: all 400ms ease-in-out;
}

#top#top .est-masonry-gallery a.av-masonry-entry:hover figure .av-masonry-image-container {
    transform: scale(1.05, 1.05);
}

/*half col iconlist*/
#top#top .half-col-list ul {
    display: flex;
}

#top#top .half-col-list ul li {
    width: 50%;
}

#top#top .half-col-list ul li .iconlist_title_small {
    font-size: var(--font-size-s);
    /* line-height: 25px; */
    padding: 0 0 0 5px;
}

@media (max-width:500px) {
    #top#top .half-col-list ul {
        flex-direction: column;
    }

    #top#top .half-col-list ul li {
        width: 100%;
        margin-bottom: 10px;
    }

    #top .grey-bg-col {
        padding: 35px 25px;
    }
}

/*mint iconlists*/
#top#top .mint-icon-list ul li span.av-icon-char {
    color: var(--mint);
}

/* split section with video */
.est-split--video {
    height: 85vh;
    max-height: 1000px;
    min-height: max-content;
}

.est-split--video > .container {
    height: 100%;
    min-height: max-content;
}

.est-split--video > .container > .content {
    align-items: center;
    display: flex;
    height: 100%;
    min-height: max-content;
    padding-block: var(--padding-medium);
}

.est-split--video__video {
    position: absolute;
    height: 100%;
    width: 100vw;
    left: 50%;
    padding-bottom: 0;
    top: 0;
    transform: translateX(-50%);
    z-index: -1;
}

.est-split--video__video::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* background-image: linear-gradient( var(--background-main), rgba(0,0,0,0.5) 2%, rgba(0,0,0,0.5) 98%, var(--background-main)); */
    z-index: 10;
}

.est-split--video__video video {
    object-fit: cover;
}

/* split scrolling section  */

.est-split-section--scrolling .entry-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: var(--padding-medium) 6%;
}

.est-split-section--scrolling .entry-content-wrapper::before,
.est-split-section--scrolling .entry-content-wrapper::after {
    display: none;
}

.est-split-section--scrolling .entry-content-wrapper .flex_column {
    width: 100%;
}

.est-split-section--scrolling .entry-content-wrapper .est-split-section--scrolling__sticky {
    display: grid;
    column-gap: var(--padding-medium);
    grid-column: 1 / 2;
    grid-row: 2 / 5;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    /* height: max-content; */
    margin-top: 0;
}

#top#top .est-split-section--scrolling__sticky > * {
    padding: 0;
    margin: 0;
}

.est-split-section--scrolling__sticky .avia-image-container,
.est-split-section--scrolling__sticky .avia-image-container * {
    width: 100%;
}

.est-split-section--scrolling__sticky img {
    aspect-ratio: 1.6;
    border-radius: var(--border-radius-medium);
    object-fit: cover;
    opacity: 0;
    transition: var(--transition-all);
}

.est-split-section--scrolling__sticky img.is-active {
    opacity: 1;
}

.est-split-section--scrolling .entry-content-wrapper .flex_column::before,
.est-split-section--scrolling .entry-content-wrapper .flex_column::after {
    display: none;
}

.est-split-section--scrolling .entry-content-wrapper .est-split-section--scrolling__sticky .avia-image-container {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.est-split-section--scrolling__sticky .estland-button a {
    width: max-content;
}

#top#top .est-split-section--scrolling__sticky .avia-button-wrap {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    margin-bottom: var(--padding-xl);
}

.est-split-section--scrolling .entry-content-wrapper .est-split-section--scrolling__scroll-column {
    grid-column: 2 / 3;
    grid-row: 3 / -1;
    margin-left: 0;
}

#top .est-split-section--scrolling__scroll-column {
    margin-top: 0;
}

.est-split-section--scrolling__scroll-column__inner-wrapper {
    position: absolute;
    height: 100%;
    min-height: 100%;
    overflow-y: scroll;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
}

.est-split-section--scrolling__scroll-child {
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.est-split-section--scrolling__scroll-child .hr:last-child {
    margin-block: auto;
}

/* split section scrolling alternate */
#top#top#top .est-split-section--scrolling__sticky-alt {
    display: grid;
    grid-template-columns: 1fr;
    position: sticky;
    top: 150px;
}

.est-split-section--scrolling__sticky-alt .avia-image-container {
    grid-column: 1/2;
    grid-row: 1/2;
}

.est-split-section--scrolling__sticky-alt .avia-button-wrap {
    margin-right: auto;
}

.est-split-section--scrolling__sticky-alt img {
    aspect-ratio: 1.6;
    border-radius: var(--border-radius-medium);
    object-fit: cover;
    opacity: 0;
    transition: var(--transition-all);
}

.est-split-section--scrolling__sticky-alt img.is-active {
    opacity: 1;
}

.est-split-section--scrolling-alt .est-split-section--scrolling__scroll-child .hr:last-child {
    margin-block: 60px;
}

.est-split-section--scrolling-alt .est-split-section--scrolling__scroll-child:first-child {
    margin-top: 50px;
}

.est-split-section--scrolling-alt .est-split-section--scrolling__scroll-child:last-child {
    margin-bottom: 60px;
}

@media only screen and (min-width: 767px) {
    .avia-section:not(:has(.sticky-col)) {
        overflow: hidden !important;
    }
}

@media only screen and (min-width: 990px) {
    .est-split-section--scrolling-alt,
    html,
    #wrap_all,
    body.single-post .avia-section {
        overflow: visible !important;
    }
}

/******************************
=Mobile Styles
******************************/

/*larger than tablet*/
@media only screen and (min-width: 990px) {
    #top .homepage-scroll-section .auto-hor-gallery {
        display: none;
    }
}

@media only screen and (max-width: 1100px) {}

/*tablet and smartphone*/
@media only screen and (max-width: 989px) {
    #top#top .homepage-what-we-do > .container {
        padding-top: 85px;
    }

    #top.home .featured-hero > .container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }

    #top .featured-hero .hero-buttons {
        width: 100%;
    }

    /* #top#top #header {
        background: transparent;
    } */
    #top#top #header .header_bg {
        opacity: 0;
        background: transparent;
    }

    #top .vert-scroll-gallery.hor-scroll-gallery .avia-gallery .avia-gallery-thumb {
        flex-wrap: nowrap !important;
    }

    #top .homepage-scroll-section .auto-hor-gallery {
        display: block;
    }

    #top .auto-hor-gallery .avia-gallery .avia-gallery-thumb > a > img {
        width: 325px !important;
        height: 250px;
    }

    #top#top .auto-hor-gallery.logos-slider .avia-gallery .avia-gallery-thumb img,
    #top#top .auto-hor-gallery .avia-gallery .avia-gallery-thumb a {
        width: 325px;
        height: 250px;
    }

    #top .team-gallery .team-member-card {
        flex-basis: calc((100% / 2) - 20px);
    }

    #top h1 br,
    #top h2 br {
        display: none;
    }

    #footer h2 br {
        display: block;
    }

    #top #footer #text-3 h2,
    #top #footer #text-3 h2 strong {
        font-size: var(--heading-size-s);
        /* line-height: 1.07; */
    }

    #top #footer #gform_widget-2 .gform_wrapper.gravity-theme .gfield.gfield--width-three-quarter {
        -ms-grid-column-span: 8;
        grid-column: span 8;
    }

    #top #footer #gform_widget-2 .gform_wrapper.gravity-theme .gfield.gfield--width-quarter {
        -ms-grid-column-span: 4;
        grid-column: span 4;
    }

    #top #footer #gform_widget-2 .gform_wrapper #field_submit .button {
        padding: 15px 10px;
    }
}

/*tablet only*/
@media only screen and (min-width: 768px) and (max-width: 989px) {}

/*larger than smartphone*/
@media only screen and (min-width: 767px) {}

/*smartphone and smaller*/
@media only screen and (max-width: 768px) {

    #top#top,
    #top#top #wrap_all {
        overflow: hidden !important;
    }

    #top#top#top p {
        /* line-height: 22px; */
    }

    #top#top #home-services {
        margin-bottom: 100px;
    }

    #top#top #home-services .hr {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    #top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul {
        padding: 100px 50px 50px 50px !important;
    }

    #top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul li {
        font-size: 36px;
        line-height: 1.1;
    }

    #top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li {
        font-size: var(--heading-size-s);
        line-height: 1.1;
    }

    #top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li > a span.avia-bullet {
        width: 10px;
        height: 10px;
        bottom: 10px;
    }

    #top #header_main .main_menu .av-burger-overlay-scroll .av-burger-overlay-inner ul#av-burger-menu-ul > li ul li > a span.avia-bullet {
        width: 8px;
        height: 8px;
        bottom: 7px;
        margin-left: 6px;
    }

    #top .avia_textblock h2 span.mint-expand,
    #top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title span span.av-inner-tab-title span.mint-expand,
    #top#top .post-cat-group h4 span.mint-expand {
        width: 10px;
        height: 10px;
        border-radius: 2px;
    }

    #top .case-gallery:not(.case-filter):not(.three-col) > .case-item.featured-fullwidth .case-gallery-featured,
    #top .case-gallery .case-gallery-featured {
        height: 275px;
    }

    #top#top #large-hor-slider.auto-hor-gallery .avia-gallery .avia-gallery-thumb > a > img,
    #top#top #large-hor-slider.auto-hor-gallery .avia-gallery .avia-gallery-thumb > a {
        height: 275px;
        width: 325px !important;
    }

    #top #large-hor-slider.auto-hor-gallery,
    #top#top .auto-hor-gallery:not(.logos-slider) .avia-gallery .avia-gallery-thumb {
        height: 275px;
    }

    #footer {
        height: auto;
        z-index: inherit;
    }

    #top #footer-form .avia_textblock p {
        font-size: var(--font-size-m);
    }

    #top .tag-list ul li,
    #top .case-what-we-did .case-tags a {
        padding: 6px 10px;
        font-size: var(--font-size-xxxs);
        /* line-height: 16px; */
    }

    #team-slider-container .team-slider .team-member-card {
        flex: 0 0 75%;
    }

    #top#top#top #header_main > .container {
        --header-inline-padding: 4%;
        max-width: 90% !important;
    }

    #top .featured-hero .hero-content {
        width: 100%;
    }

    #top#top .auto-hor-gallery.logos-slider .avia-gallery .avia-gallery-thumb img {
        width: 200px !important;
        height: auto !important;
        margin-right: 50px;
    }

    #top .auto-hor-gallery .avia-gallery {
        left: calc(-15% / 2);
    }

    #top#top#top.single-post .featured-hero {
        width: 100%;
        height: 350px;
    }

    #top#top.single-post .featured-hero .vert-img {
        display: none;
    }

    #top#top.single-post .featured-hero .hor-img {
        display: inline-block;
        position: relative;
        width: 100% !important;
        max-width: 100% !important;
        height: 100%;
        background-size: cover;
        background-position: center;
    }

    #top#top.single-post .header_color .cls-2 {
        fill: var(--white);
    }

    /*team member announcement posts*/
    #top#top.single-post.postid-17971 .header_color .cls-2 {
        fill: var(--black);
    }

    /*#top #team-member-page {padding-top: 100px;}*/
    #top .case-testimonial-section .case-testimonial-info > p,
    #top #team-member-page .team-member-quote > p {
        font-size: var(--font-size-m) !important;
        /* line-height: 26px !important; */
        padding-left: 30px;
    }

    #top .case-testimonial-section .case-testimonial-info span.quote-icon,
    #top #team-member-page .team-member-quote span.quote-icon {
        left: 0;
    }

    #top.page-id-77 .featured-hero {
        height: 100% !important;
    }

    #top.page-id-77 .featured-hero .hero-content {
        padding-top: 100px;
    }

    #top.page-id-77 .secondary-page-breadcrumbs {
        display: none !important;
    }

    #top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title span span.av-inner-tab-title {
        font-size: var(--font-size-m) !important;
    }

    #top #work-filter .av-tab-section-tab-title-container a.av-section-tab-title span span.av-inner-tab-title span.mint-expand,
    #top#top .post-cat-group h4 span.mint-expand {
        width: 7px;
        height: 7px;
        border-radius: 1px;
    }

    #top .case-testimonial-section .case-testimonial-vid video,
    #top .case-testimonial-section .case-testimonial-img img {
        height: auto;
    }

    #top#top#top h1 {
        font-size: var(--font-size-xxl);
    }

    #top #work-filter .av-tab-section-tab-title-container {
        gap: 15px;
    }

    #top#top #team-member-page .team-member-img,
    #top#top #team-member-page .team-member-img img {
        height: 350px !important;
    }

    #top .avia_textblock h2 + h4 {
        margin-top: 15px;
    }

    #top.home #blog-feed > .container > .content {
        padding-bottom: 0;
    }

    .responsive #top #wrap_all .flex_column.av-break-at-tablet,
    .responsive #top #wrap_all .av-break-at-tablet .flex_cell {
        margin-bottom: 0 !important;
    }

    .responsive #top#top #wrap_all .price-col {
        margin-bottom: 20px !important;
    }

    #top#top .desktop-slide,
    #top#top .mobile-slide {
        height: 100% !important;
        /* min-height: 70vh; */
    }

    #footer #text-4 p a {
        color: var(--white) !important;
    }

    #top .case-web-summary {
        max-width: 85%;
        padding: 0;
    }

    #top #related-entries-blog .avia-content-slider .slide-entry-wrap,
    #top#top .case-gallery {
        gap: 50px !important;
    }

    #top .case-gallery .case-info {
        margin-top: 15px;
    }

    #top .case-gallery.three-col .case-item .case-info {
        padding-right: 0;
    }
}

@media only screen and (max-width: 500px) {

    #top .avia-cookie-info-btn,
    #top #av-consent-extra-info .avia-button {
        margin: 5px 0;
    }

    #top#top#top #av-consent-extra-info h3 {
        font-size: var(--font-size-xl);
    }

    #top#top #av-consent-extra-info *:not(.avia-button) {
        /* line-height: 20px; */
    }

    #top#top#top .featured-hero .hero-content h4 {
        font-size: var(--font-size-m);
        /* line-height: 22px; */
    }

    #top.home #services {
        padding-top: 100px;
    }

    #top .estland-icon-box {
        margin-bottom: 30px;
    }

    #top#top#top.home .hero-content h1 {
        font-size: var(--font-size-xxl);
    }
}

/*iPhone 6 and smaller*/
@media only screen and (max-width: 376px) {}