
/*################## LAYOUT ##################*/
/*=============== Header ===============*/

/*FEEDBACK*/
#feedbackModal .modal-content {
    position: fixed !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    max-width: 90% !important;
    width: 55rem;
}


.logo > img {
    max-height: 60px;
    width: auto;
}
@media all and (max-width: 1189px) {
    .logo img {
        max-height: 55px;
    }
}

@media (max-width: 575px) {
    .logo img {
        max-height: 40px;
    }
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000 !important;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}
#header * {
    transition: all 350ms ease;

}

#header-top {
    background-color: var(--Color-White);
}

#header-top,
#header-bottom > div {
    /*    max-width: 1600px !important;*/
    padding: 0 0 0 5rem;
    margin: 0 auto;
    background-color: var(--Color-White);
    border-bottom: 1px solid var(--Color-Gray-Light);
}

@media (max-width: 991px) {
    #header-top,
    #header-bottom > div {
        padding: 0 0 0 3rem;
        margin: 0 auto;
    }
}

#header .social-icons li.social-icon {
    border: 1px solid var(--Color-Black);
}

    #header .social-icons li.social-icon:hover,
    #header .social-icons li.social-icon:hover a {
        background-color: var(--Color-Black) !important;
        color: var(--Color-White) !important;
    }

#header .social-icons li.social-icon {
    padding: 0.3rem !important;
}

    #header .social-icons li.social-icon a i {
        font-size: var(--Font-Size-Text-Medium) !important;
    }

@media (max-width: 991px) {
    #header .social-icons li.social-icon a i {
        font-size: var(--Font-Size-Text-Small) !important;
    }
}

#header .social-icons li.social-icon:hover a i {
    color: var(--Color-White) !important;
}

#header-search {
    border: none;
    border-bottom: 1px solid var(--Color-Gray-Light);
    border-radius: 0 !important;
}

#header .header-nav-main nav > ul > li.dropdown > a {
    font-family: var(--Font-Title) !important;
/*    font-weight: 300 !important;*/
    /*    font-weight: bold !important;*/
/*    font-size: 1.9rem !important;*/
    /*    font-size: var(--Font-Size-Text-Small);*/
/*    letter-spacing: 1px !important;*/
    text-align: center;
    font-weight: 500 !important;
}

#header .header-nav-main nav > ul > li.dropdown:hover > a {
    background-color: transparent !important;
/*    color: var(--Color-White) !important;*/
}

    #header .header-nav-main nav > ul > li.dropdown.open > a:before,
    #header .header-nav-main nav > ul > li.dropdown.accessibility-open > a:before,
    #header .header-nav-main nav > ul > li.dropdown:hover > a:before {
        border-bottom: none !important;
    }

#header .header-nav-main nav > ul > li,
#header .header-nav-main nav > ul > li:hover {
    border: none ;
}

#header .header-nav-main.header-nav-main-square nav > ul > li.dropdown .dropdown-item {
    height: 100%;
    display: flex;
    align-items: center;
    text-transform: none !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    /*    justify-content: center;*/
}

@media (max-width: 991px) {
    #header .header-nav-main.header-nav-main-square nav > ul > li.dropdown .dropdown-item {
        height: auto !important;
    }

/*    .dropdown-item {
        color: var(--Color-White);
    }*/
}

#header .header-btn-collapse-nav {
    float: right !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.dropdown-item {
    width:auto !important;
    position: relative;
/*    padding: 10px 0 !important;*/
    margin-left: 2rem;
}

.dropdown-item__bar {
    position: absolute;
    bottom: 30%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--Color-Primary);
    transform: scaleX(0);
    transition: var(--Transition);

}

.dropdown-item:hover .dropdown-item__bar {
    transform: scaleX(1);
}

.dropdown-item::after {
/*    font-size: var(--Font-Size-Text-Xsmall) !important;
    transform: translateX(1rem);*/
    display: none;
}


@media (min-width: 992px) {
    .dropdown-item__main {
        max-width: 16rem;
    }
}

@media (max-width: 1260px) {
    .dropdown-item__main {
        font-size: 14px !important;
        letter-spacing: 0;
    }

    #header .header-nav-main nav > ul > li.dropdown > a {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 991px) {
    .dropdown-item__main {
/*        letter-spacing: 1px;*/
    }
}


#header .header-nav-main.header-nav-main-square nav > ul > li.dropdown,
#header .header-nav-main.header-nav-main-square nav > ul > li.dropdown .dropdown-menu,
#header .header-nav-main.header-nav-main-square nav > ul > li.dropdown .dropdown-menu * {
/*    color: var(--Color-Black);*/
    margin: 0;
    font-family: var(--Font-Title);
    letter-spacing: 1px;
}

/*DROPDOWN SUBMENU DOWN CARET ICON*/
.dropdown-submenu__icon {
    width: .8rem;
    height: auto;
    margin-left: .5rem !important;
}


#header .header-nav-main.header-nav-main-square nav > ul > li.dropdown .dropdown-menu {
/*    padding: 20px;*/
    transform: translateY(-2px);
}

    #header .header-nav-main.header-nav-main-square nav > ul > li.dropdown .dropdown-menu li {
        width: 100%;
        text-align: left !important;
        padding: 5px 0;
        display: flex;
        justify-content: start;
    }

        #header .header-nav-main.header-nav-main-square nav > ul > li.dropdown .dropdown-menu li .dropdown-item {
            padding: 1rem 4.8rem 1rem 3rem;
            letter-spacing: 1px;
            text-align: start !important;
/*            font-weight: 500;*/
            display: block !important;
            font-size: 14px !important;
            color: var(--Color-Gray-Dark);
        }

        #header .header-nav-main.header-nav-main-square nav > ul > li.dropdown .dropdown-menu li a:hover {
            color: var(--Color-Secondary);
            background-color: transparent !important;
        }

.header-nav-main.collapse {
    width: 100vw;
}

.header-nav-main nav {
    border: none;
    width: 100%;
}

#header .header-nav-main.header-nav-main-square nav > ul > li.dropdown a {
    font-size: 18px !important;
}

@media (max-width: 1199px) {
    #header .header-nav-main.header-nav-main-square nav > ul > li.dropdown a {
        font-size: 15px !important;
    }
}

@media (max-width: 991px) {
    .header-body {
        height: auto !important;
    }

    /*When Toggle, NO LIMIT OF HEIGHT OF NAV*/
    #header .header-nav-main nav {
        max-height: none !important;
    }

    .header-nav-main nav {
        width: 100vw !important;
    }

    #header .header-nav-main.header-nav-main-square nav > ul > li.dropdown a {
        font-size: 14px !important;
    }
    .dropdown-item__main {
        font-size: 2rem !important;
    }

    #header .header-nav-main.header-nav-main-square nav > ul > li.dropdown .dropdown-menu li .dropdown-item {
        padding: .5rem 1rem;
        color: var(--Color-Black);
    }
}

#header .header-container {
    min-height: 124px;
}

#header .header-column .header-row {
    min-height: 80px;
}

@media (max-width: 575px) {
    #header .header-container {
        min-height: 70px;
        padding: 0 20px;
    }
}

@media screen and (min-width: 992px) {
    .desktopHide {
        display: none !important;
    }
}

i.fa-chevron-down::before {
    display: none;
}

#header .header-nav-main nav > ul > li > a {
/*    color: var(--Color-Black);*/
}


.header-item__round {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5rem !important;
    border: 1px solid var(--Color-White) !important;
    max-height: 4rem;
    transition: var(--Transition);
    text-transform: uppercase;
    font-weight: 600;
    font-size: var(--Font-Size-Text-5);
    letter-spacing: 1px;
}

.header-item__round.border {
    color: var(--Color-White);
}

.header-item__round.border a {
    color: var(--Color-White);
}

.header-item__round.filled {
    background-color: var(--Color-White);
    color: var(--Color-Primary-Dark);
}

.header-item__round.filled a {
    color: var(--Color-Primary-Dark);
}
.header-item__round:hover {
    background-color: var(--Color-Primary-Dark);
}

.header-item__round.filled:hover a {
    color: var(--Color-White);
}

#header .header-nav.header-nav-spaced nav > ul > li > a {
    padding: 1rem 0 !important;
    margin: 0 10px !important;
}

#header .header-nav-main nav > ul > li.open > a, #header .header-nav-main nav > ul > li.accessibility-open > a, #header .header-nav-main nav > ul > li:hover > a {
    color: var(--Color-Black) !important;
}

.header-item__full {
    padding: 1rem;
    height: 100%;
}

@media (min-width: 992px) {
    ul.nav, .dropdown {
        height: 100%;
    }
}


/**************** FOOTER ******************/
#footer-form-wrapper {
    background-image: linear-gradient(to bottom, var(--Color-White) 50%, var(--Color-Black) 50%) !important;
}

#footer-form {
    display: flex !important;
    justify-content: center;
}

    #footer-form > div {
        min-width: 60vw;
        max-width: 85vw;
    }

#footer {
    height: auto;
/*    position: absolute;*/
    bottom: 0;
    height:auto;
    width: 100%;
    left: 0;
    z-index: 10 !important;
}



    #footer * {
        transition: all 350ms ease;
    }

.footer__logos img {
    max-width: 90%;
    width: auto;
    display: block;
}

.footer__logos .logo {
    max-height: 80px;
}

.footer__logos .logo {
    max-height: 80px;
}

.footer__item * {
    color: var(--Color-White);
}

.footer__item {
    font-size: var(--Font-Size-Text-Small);
}



    .footer__item:hover *,
    .footer__item:active *,
    .footer__item:focus * {
        color: var(--Color-Secondary);
        cursor: pointer;
        border-color: var(--Color-Secondary);
    }

.footer__item-icon {
    border-radius: 50%;
    border: 1px solid var(--Color-White);
    min-width: 43px !important;
    min-height: 43px !important;
}


.footer__item > h5 {
    color: var(--Color-White) !important;
}

.footer__item:hover h5 {
    color: var(--Color-Secondary) !important;
}

#footer .careapp {
    max-height: 6rem;
}

@media (max-width: 991px) {
    .footer__item, .footer__item * {
        font-size: 1.8rem !important;
    }

    .footer__item-icon {
        min-width: 35px !important;
        min-height: 35px !important;
    }

    .footer__logos .logo {
        max-height: 60px !important;
    }

    #footer .careapp {
        max-height: 5rem !important;
    }
}

@media (max-width: 576px) {
    .footer__item, .footer__item * {
        font-size: 1.5rem !important;
        letter-spacing: 0 !important;
    }
}

#footer .divider {
    height: 1px;
    background-color: var(--Color-Primary-Light);
    opacity: .4;
}

#footer .social-icons .social-icon {
    border: 1px solid var(--Color-White);
    background-color: var(--Color-Black);
}

    #footer .social-icons .social-icon a {
        background-color: var(--Color-Black);
    }

        #footer .social-icons .social-icon a i {
            color: var(--Color-White);
        }

    #footer .social-icons .social-icon:hover {
        border: 1px solid var(--Color-Secondary) !important;
        color: var(--Color-Secondary) !important;
    }

        #footer .social-icons .social-icon:hover a {
            color: var(--Color-Secondary) !important;
        }

#footer .footer-item.social:hover * {
    border-color: var(--Color-Secondary);
    color: var(--Color-Secondary);
}





/*################## SECTIONS & PAGES SETTING ##################*/
/**************** SECTION SETTING ******************/
/* HEADING SMALL*/
.section-header-small {
    width: 100%;
    padding: 11rem 2rem 0 2rem;
    min-height: 40vh;
    display: flex;
    justify-content: center;
    background-color: transparent !important;
    position: relative;
    max-height: 35vh;
    background-position: center;
    background-size: cover;
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/main-bg-1.jpg');
}

    .section-header-small .section-bg {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        /*    min-height: 50vh;*/
        background-position: center;
        background-size: cover;
        position: absolute;
        z-index: 0 !important;
    }

        .section-header-small .section-bg::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-color: rgba(255,255,255,.4);
        }

    .section-header-small .section-title {
        z-index: 101 !important;
    }

        .section-header-small .section-title * {
            color: var(--Color-Black);
            transition: var(--Transition);
        }

        .section-header-small .section-title p a  {
            text-decoration: underline;
        }

/* LEFT TOP - SIDEBAR*/
.section-sidebar {
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--Color-Primary);
    margin-bottom: 8rem;
    padding: 0;
}

    .section-sidebar  li {
        display: flex;
        padding: 1rem 1.5rem;
        text-align: center;
        align-items: center;
        min-height: 5rem;
        width: 100%;
        color: var(--Color-White);
/*        background-color: var(--Color-Gray-Light);*/
        text-transform: uppercase;
        font-size: var(--Font-Size-Text-4);
        font-family: var(--Font-Title);
        font-weight: bold;
        letter-spacing: 1px;
    }

    .section-sidebar  li {
        color: var(--Color-White) !important;
    }

        .section-sidebar  li.active {
            background-color: var(--Color-Primary-Dark);
            color: var(--Color-Secondary);
        }

            .section-sidebar  li.active > a {
                color: var(--Color-Secondary);
            }

        .section-sidebar  li:hover {
            color: var(--Color-Secondary-Light);
        }

        .section-sidebar  li:first-child {
            font-size: var(--Font-Size-Text-1);
            text-align: left;
            background-color: var(--Color-Gray);
            color: var(--Color-Primary-Dark) !important;
        }

            .section-sidebar li:first-child:hover {
                color: var(--Color-Primary-Dark) !important;
            }

@media (max-width: 1199px) {
    .section-sidebar  li:first-child {
        font-size: var(--Font-Size-Text-Small);
    }

    .section-sidebar  li:not(:first-child) {
        font-size: var(--Font-Size-Text-Xsmall);
    }
}

.section-sidebar  li:not(:last-child) {
    border-bottom: 1px solid var(--Color-Gray);
}

/*LEFT BOTTOM - LIST OF CONTENTS*/
.section-sidelist {
    background-color: var(--Color-Secondary-Light);
    padding: 0;
}

    .section-sidelist > li {
        padding: 2rem 2.4rem !important;
        font-family: var(--Font-Title);
        font-size: var(--Font-Size-Text-Small);
        letter-spacing: 1px;
    }

    .section-sidelist li:first-child {
        font-weight: bold;
        text-transform: uppercase;
        font-size: var(--Font-Size-Text-Medium);
        font-family: var(--Font-Title);
        color: var(--Color-Black);
    }

    .section-sidelist li:not(:first-child):hover a {
        color: var(--Color-Primary-Dark);
    }

.section-content {
    padding: 100px 0;
}

.section-content > div.container {
    padding: 0 32px;
}

@media (max-width: 499px) {
    .section-content {
        padding: 64px 0;
    }
}

.section-right > div > form > input {
    width: 80%;
}

.section-right > div > form > button {
    background-color: transparent !important;
}

.section-right input[type=radio] {
    -ms-transform: scale(1.5) !important; /* IE 9 */
    -webkit-transform: scale(1.5) !important; /* Chrome, Safari, Opera */
    transform: scale(1.5) !important;
    background-color: var(--White);
    border-radius: 50%;
}


/**************** DESCRIPTIVE PAGES SETTING ******************/
.page-section {
    margin-bottom: 3rem;
}

    .page-section p,
    .page-section ul,
    .page-section li,
    .page-html {
        line-height: 1.5;
    }

.page-content {
/*    margin-bottom: 2vh;*/
}

.page-iframe p {
    font-family: var(--Font-Text) !important;
    font-size: var(--Font-Size-Text-Medium) !important;
    color: var(--Color-Black);
    text-align: left !important;
}

.page-iframe p.title {
    font-family: var(--Font-Title) !important;
    text-transform: uppercase;
}

.page-heading,
.page-description,
.page-list,
.page-images,
.page-files,
.page-buttons,
.page-iframe,
.page-html {
    margin-bottom: 2rem;
}


.page-section p a {
    font-weight: bold;
    color: var(--Color-Secondary);
    transition: var(--Transition);
}

.page-section p a:hover {
    color: var(--Color-Primary);

}

.page-section:not(:first-child) .page-heading {
    margin-top: 5rem;
}

.page-image {
    display: flex;
    justify-content: center !important;
/*    max-height: 45rem;*/
}

.page-image a.float-left {
    float: none !important;
    width: 100%;
}

.page-images {
    display:flex;
    justify-content: center !important;
}


.page-image img {
    margin-bottom: 1rem;
    min-width: 35rem;
/*    max-width: 80%;*/
    max-height: 45rem;
    width: auto;
    height: auto;
    border: 1px solid #c0c0c0;
/*    box-shadow: 0 .7rem 1.2rem rgba(0,0,0,.2);*/
    transition: var(--Transition);
    margin: 2rem auto;
}

.page-image img:hover {
    box-shadow: 0 3px 7px rgba(0,0,0,.4);
}

.page-images-double .page-image img {
    height: 40rem;
    width: auto;
    object-fit: cover;
}

.page-images-multi .page-image img {
    height: 30rem;
    width: auto;
    object-fit: cover;
}

.program-modal .page-images-double .page-image img,
.program-modal .page-images-multi .page-image img {
    height: auto !important;
}

.page-image {
    font-size: var(--Font-Size-Text-Xsmall);
    font-family: var(--Font-Text);
}



.page-html a:not(.color-black) {
    color: var(--Color-Secondary);
    font-weight: bold;
    transition: var(--Transition);
}

    .page-html a:not(.color-black):hover {
        text-decoration: underline !important;
        color: var(--Color-Primary);
    }

.page-grid {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.page-grid::after {
  content: "";
  flex: auto;
}

/**************** DETAIL PAGES & MODALS : ELEMENTS SETTING ******************/
.modal-xl {
    width: 90vw !important;
}

.card-body .has-user-generated-content p,
.card-body .has-user-generated-content .text-body-medium,
.card-body p {
    font-family: var(--Font-Text);
    font-size: var(--Font-Size-Text-Small);
    color: var(--Color-Black);
/*    margin-bottom: 4rem;*/
}

.card-body .structured-content h2 {
    font-weight: bold;
    font-size: var(--Font-Size-Text-Big);
    font-family: var(--Font-Title);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--Color-Black);
    margin: 2rem 0;
}



/*SMART INSURANCE SPECIFICES*/

/*FOOTER - CONTACT BOXES*/
#footer-forms {
/*    transform: translateY(10rem);*/
    z-index: 500;
    position: relative;
}

.footer-form__box {
    background-color: var(--Color-White);
    border: 1px solid var(--Color-Gray);
    border-radius: 1.5rem;
    padding: 4rem 6rem;
    transition: var(--Transition);
}

.footer-form__box:hover {
    transform: scale(1.03);
}

#footer * {
    transition: var(--Transition);
    color: var(--Color-White) !important;
}
#footer a:hover, #footer a:hover * {
    color: var(--Color-Secondary-Light) !important;
}

#footer .logo {
    max-height: 5rem;
}




.footer-social__box {
    width: 5rem;
    height: 5rem;
    background-color: var(--Color-White);
    border-radius: 5rem;
}

.footer-social__box.instagram > i {
    background-image: var(--Color-Instagram) !important;
/*    color: transparent;*/
    -webkit-background-clip: text;
    background-clip: text !important;
    -webkit-text-fill-color:  transparent !important;
}


.footer-social__box.instagram:hover {
    background-image: var(--Color-Instagram) !important;
}

.footer-social__box:hover > i {
    color: var(--Color-White) !important;
    -webkit-text-fill-color: var(--Color-White) !important;
}

.footer-social__box.facebook > i {
    color: var(--Color-Facebook);
}

.footer-social__box.facebook:hover {
    background-color: var(--Color-Facebook);
}

.footer-social__box.myTwitter > i {
    color: var(--Color-Twitter);
}

.footer-social__box.myTwitter:hover {
    background-color: var(--Color-Twitter);
}

#toggle-btn {
    position: absolute;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background-color: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.toggle-bar {
    background-color: var(--Color-Black) !important;
    height: 2px;
    width: 20px;
}

.toggle-bar:first-child {
   margin-bottom: 6px;
}

    .toggle-bar:nth-child(2) {
        width: 30px;
        transform-origin: right;
    }

.toggle-bar:last-child {
    margin-top: 6px;
}

#toggle-btn.clicked > .toggle-bar:first-child {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--Color-White);
}

#toggle-btn.clicked > .toggle-bar:nth-child(2) {
    display: none;
}

#toggle-btn.clicked > .toggle-bar:last-child {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--Color-White);
}

#toggle-btn:not(.clicked):hover > .toggle-bar:first-child {
    animation: waveUp 1s linear infinite;
    transform: translateY(-6px);
}


#toggle-btn:not(.clicked):hover > .toggle-bar:last-child {
    animation: waveUp 1s linear infinite;
}


#toggle-btn:not(.clicked):hover > .toggle-bar:nth-child(2) {
    animation: waveDown 1s linear infinite;
}

@keyframes waveUp {
    0% {
        transform: scaleX(1) ;
        transform-origin: right;
    }
    50% {
        transform: scaleX(1.3);
        transform-origin: right;
    }
    100% {
        transform: scaleX(1);
        transform-origin: right;
    }
}

@keyframes waveDown {
    0% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(0.7);
    }

    100% {
        transform: scaleX(1);
    }
}

#mobile-bottom-nav {
/*    max-height: 8.5rem;*/
    padding: 10px 2rem 20px 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--Color-White);
    box-shadow: 0 -5px 15px rgba(0,0,0,.2);
    z-index: 1100;
}

.mobile-bottom__item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Color-Gray-Medium);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background-color: var(--Color-Gray-Pale);
    transition: var(--Transition);
    border: 1px solid var(--Color-Gray-Pale);
}

.mobile-bottom__item > img {
    max-width: 25px !important;
    max-height: 25px !important;
    width: auto;
    height: auto;
}

.mobile-bottom__item.home {
    width: 50px;
    height: 50px;
}

.mobile-bottom__item:hover {
    color: var(--Color-Black);
    border: 1px solid var(--Color-Primary-Dark);
}

/*.dropdown:first-child,
.dropdown:nth-child(7) {
    border-right: 1px solid var(--Color-Gray-Light) !important;
}*/

@media (max-width: 991px) {
    #nav-collapse {
        background-color: var(--Color-White) !important;
        padding-bottom: 8rem !important;
    }

    #header .header-nav-main nav > ul > li > a {
        color: var(--Color-Black) !important;
    }

    .dropdown:first-child,
    .dropdown:nth-child(7) {
        border-right: none !important;
    }
}

 
@media  (max-width: 991px) {

    #nav-collapse {
        display: none !important;
    }

    #nav-collapse.active {
        display: flex !important;
        height: 100vh;
    }

    .header-nav-main {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
    }
}


/*    SMART BUTTON  */
.btn-round {
    min-height: 4.5rem;
    min-width: 18rem;
    font-size: var(--Font-Size-Text-3);
    font-weight: bold;
    letter-spacing: 1px;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    text-transform: uppercase;
    transition: all ease 350ms;
    text-align: center;
    line-height: 1.2;
    padding: 0 2.5rem;
    font-family: var(--Font-Title) !important;
    transition: var(--Transition);
    border-radius: 5rem;
}

.btn-primary-filled {
    border: 2px solid var(--Color-Primary-Dark);
    background-color: var(--Color-Primary-Dark);
    color: var(--Color-White);
}

    .btn-primary-filled:hover, .btn-primary-filled:focus {
        border: 2px solid var(--Color-Primary-Dark);
        color: var(--Color-Primary-Dark);
        background-color: var(--Color-White);
    }

.btn-primary-outlined {
    border: 2px solid var(--Color-Primary-Dark);
    color: var(--Color-Primary-Dark);
    background-color: var(--Color-White);
}

    .btn-primary-outlined:hover, .btn-primary-outlined:focus {
        border: 2px solid var(--Color-Primary-Dark);
        background-color: var(--Color-Primary-Dark);
        color: var(--Color-White);
    }

.btn-secondary-filled {
    border: 1px solid var(--Color-Secondary);
    background-color: var(--Color-Secondary);
    color: var(--Color-White);
}

    .btn-secondary-filled:hover, .btn-secondary-filled:focus {
        border: 2px solid var(--Color-Secondary);
        color: var(--Color-Secondary);
        background-color: var(--Color-White);
    }

.btn-secondary-outlined {
    border: 1px solid var(--Color-Secondary);
    color: var(--Color-Secondary);
    background-color: var(--Color-White);
}

    .btn-secondary-outlined:hover, .btn-secondary-outlined:focus {
        border: 2px solid var(--Color-Secondary);
        background-color: var(--Color-Secondary);
        color: var(--Color-White);
    }



.carousel-item {
    height: 100vh;
    width: 100%;
}

.carousel-item > div {
    height: 100% !important;
}

#homeSlider .carousel-inner .carousel-item {
    background-position: center;
    background-size: cover;
    padding: 8rem 0;
/*    display: flex;
    justify-content: center;
    align-items: center;*/
}

.carousel-inner {
    background-image: url(https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/main-bg-1.jpg);
    background-position: center;
    background-size: cover;
}

.carousel-item.slide1 {
}

#homeSlider .carousel-item.slide2 {
/*    background-image: url(https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/main-bg-2.jpg);*/
    background-position: center;
}

.home-slider__book {
    width: 250px;
}

@media (max-width: 768px) {
    .home-slider__book {
        width: 182px;
    }
}
/*main[role=main] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}*/

#header .header-body {
    background-color: transparent;
/*    border-bottom-style: solid !important;*/
    border-bottom: none !important;
/*    border-bottom-width: 1px !important;*/
}

#header-bottom.active,
#header-top.active {
    background-color: rgba(255,255,255,.9) !important;
}

.home-hero__text-box {
    position: relative;
    padding: 8rem 0;
    width: 100%;
    height: auto;
}

.home-hero__box-decor {
    position: absolute;
    height: 8rem;
}

.home-hero__box-decor.left {
    left: 0;
    top: 0;
}

.home-hero__box-decor.right {
    right: 0;
    bottom: 0;
}



#home-services {
    background-color: var(--Color-White);
    border-radius: 1.5rem;
    overflow: hidden;
    border: none !important;
    transform: translateY(-20rem);
    box-shadow: 8px 15px 20px rgba(0,0,0,.1);
}

.home-services__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 20rem;
    border-top: 1px solid var(--Color-Gray-Light);
    border-right: 1px solid var(--Color-Gray-Light);
}

.home-services__item > img {
   max-height: 10rem; 
   transition: var(--Transition);
}

.home-services__item:hover > img {
    transform: scale(1.05);
}


@media (max-width: 991px) {
    .home-hero__text-box {
        padding: 5rem;
    }

        .home-hero__text-box > h1  {
            font-size: 33px !important;
        }
        .title-2 {
            font-size: 30px !important;
        }

        .text-1 {
            font-size: 18px;
        }

        .text-3 {
            font-size: 15px;
        }

        .home-hero__text-box > p, .text-2 {
            font-size: 16px !important;
        }

    .home-hero__box-decor {
        height: 5rem;
    }

    .home-services__item > img {
        max-height: 8rem;
    }
}

/*MAIN PAGE SECTIONS PADDING*/
.home-section-padding {
    padding: 7rem 0;
}

/*GREEN BOX*/
.home-box {
    width: 100%;
    max-width: 150rem;
    background-color: var(--Color-Primary);
    display: flex;
    justify-content: space-between;
    border-radius: 0 5rem 0 5rem;
}

.home-whyus__item {
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
/*    height: 40rem;*/
    overflow: hidden;
    transition: var(--Transition);
}

    .home-whyus__item:hover {
        transform: scale(1.03);
    }

    .home-whyus__item-img {
        width: 100%;
        height: 23rem;
        overflow: hidden;
        background-color: var(--Color-White);
        background-size: cover;
        background-position: center;
    }



.home-whyus__item-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    height: 20rem;
    width: 100%;
    padding: 1.5rem;
    background-color: var(--Color-White);
}

@media (max-width: 991px) {
    .home-whyus__item-img {
        display: none;
    }

    .home-whyus__item-text {
        justify-content: center;
    }
}


.home-review__item {
    border-radius: 1rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    transition: var(--Transition);
    padding: 4rem 2rem;
/*    min-width: 28rem;*/
    background-color: var(--Color-White);
}

.home-review__item-avatar {
    font-size: 5rem;
    color: var(--Color-White);
    background-color: var(--Color-Secondary-Dark);
    width: 7rem;
    height: 7rem;
    border-radius: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

#home-products {
    padding: 2rem;
    overflow-x: scroll;
    margin-top: 5rem;
}
.home-product__item {
    max-height: 12rem;
    max-width: 33rem;
    margin: 1.5rem;
}

@media (max-width: 499px) {
    .home-product__item {
        max-width: 20rem;
        max-height: 8rem;
    }
}

.btn:focus, .btn:active, button:focus, button:active, button:hover {
    outline: none !important;
    outline-color: rgba(0,0,0,0) !important;
    text-decoration: none !important;
    text-decoration-color: rgba(0,0,0,0) !important;
}

@media (max-width: 991px) {

    #btn-estimate {
        height: auto !important;
        max-height: 60px !important;
    }
}

#btn-estimate:hover {
    bacKground-color: var(--Color-Black) !important;
}

.header-top__link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Color-Gray-Medium);
    border-radius: 35px;
    min-width: 35px;
    height: 30px;
    background-color: var(--Color-Gray-Pale);
    transition: var(--Transition);
    border: 1px solid var(--Color-Gray-Pale);
    margin: 0 10px;
    padding: 4px 8px;
}

.header-top__link > span,
.header-top__link > i {
    font-size: var(--Font-Size-Text-1);
}

.header-top__link:hover {
    color: var(--Color-Black);
    border: 1px solid var(--Color-Primary-Dark);
}



.section-header__title {
    font-weight: bold;
    font-family: var(--Font-Title);
    font-size: var(--Font-Size-Title-2);
}

@media (max-width: 499px) {
    .section-header__title {
        font-size: 3rem;
    }
}
#bottom-link {
    align-items: stretch !important;
}

.bottom-link__item {
    padding: 5rem 3rem;
}

.bottom-link__item > h5 {
    font-weight: 700;
}

#footer-top {
    border-bottom: 1px solid var(--Color-Gray-Dark)
}

@media (max-width: 991px) {

    .footer-accordion-content {
        display: none !important;
        transition: var(--Transition);
    }
    .footer-accordion-content.active {
        display: block !important;
    }
        #footer-accordion-3.footer-accordion-content.active {
            display: flex !important;
        }
}

#footer .section-content {
    padding: 80px 0;
}

@media (max-width: 991px) {
    #footer .section-content {
        padding: 50px 0;
    }

}

/*HERO SLIDE BOTTOM BUTTONS*/
#hero-btn-box {
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


.btn-on-photo {
    display: inline-flex !important;
    padding-left: 2rem;
    padding-right: 2rem;
    position: absolute;
    z-index: 20;
    transform-origin: center;
}

#service-img-desktop {
    position: relative;
}

.btn-on-photo.trim {
    top: 7%;
    left: 45%;
    width: auto;
    height: auto;
}

.btn-on-photo.siding {
    top: 23%;
    left: 32%;
    width: auto;
    height: auto;
}

.btn-on-photo.roofing {
    top: 20%;
    left: 60%;
    width: auto;
    height: auto;
}

.btn-on-photo.gutter {
    bottom: 20%;
    left: 30%;
    width: auto;
    height: auto;
}

.btn-on-photo.door {
    bottom: 10%;
    left: 60%;
    width: auto;
    height: auto;
}

.btn-on-photo.window {
    bottom: 28%;
    right: 10%;
    width: auto;
    height: auto;
}

.service-mobile-item {
    background-color: var(--Color-Black);
    height: 280px;
    width: 100%;
    position: relative;
    background-position: center;
    background-size: cover;
}

.service-mobile-item__btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--Text-2);
    min-width: 155px;
}
@media (min-width: 992px) {
    .service-mobile-item__btn {
        min-width: 200px;
        padding:  2.5rem;
    }
}


@media (max-width: 991px) {
    .service-mobile-item {
        height: 220px;
    }

    .service-mobile-item__btn {
        font-size: var(--Text-4) !important;
    }
}

@media (max-width: 544px) {
    .service-mobile-item {
        height: 180px;
        width: 100%;
        position: relative;
    }


    .service-mobile-item__btn {
        padding: 5px !important;
        min-width: 135px;
    }
}


.service-mobile-item.windows {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/services/service-windows-1.jpg');
}

.service-mobile-item.door {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/services/service-door-1.jpg');
}

.service-mobile-item.roofing {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/services/service-roofing-1.jpg');
}

.service-mobile-item.siding {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/services/service-siding-1.jpg');
}

.service-mobile-item.gutters {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/services/service-gutters-1.jpg');
}

.service-mobile-item.trim {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/services/service-trim-1.jpg');
}


.strength-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--Color-White);
    min-height: 180px;
    padding: 3rem 1rem;
}

.strength-item img {
    width: auto;
}

.certification-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.certification-list > img {
    max-height: 60px;
    max-width: 12rem;
}

@media (max-width: 991px) {
    .strength-item img {
        height: 80px;
    }

    .certification-list > img {
        max-height: 50px;
        max-width: 10rem;
    }
}

@media (max-width: 499px) {
    .strength-item {
        min-height: 150px;
    }

        .strength-item img {
            height: 60px;
        }

/*    .certification-list > img {
        max-height: 50px;
        max-width: 10rem;
    }*/
}


.review-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--Color-Gray-Light);
    padding-top: 20px;
/*    min-width: 300px;*/
}

#instagram-feed {
    overflow-x: auto;
}

#reviews-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    z-index: 500;
}

.reviews-buttons-item {
    padding: 1rem 1.5rem;
    border: 1px solid var(--Color-Gray-Light);
}

.reviews-buttons-img {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-buttons-img > img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
}

.scroll-to-top {
    bottom: 18rem !important;
    width: 40px !important;
    height: 40px !important;
    border: 2px solid var(--Color-Gray-Light) !important;
    color: var(--Color-Gray-Light) !important;
    transition: var(--Transition);
    z-index: 500;
}

    .scroll-to-top:hover {
        border: 2px solid var(--Color-Primary) !important;
        color: var(--Color-Primary) !important;
    }

@media (max-width: 991px) {

    #reviews-buttons {
        bottom: 9rem !important;
        right: 2rem !important;

    }
    .reviews-buttons-item {
        width: 40px;
        height: 40px;
        border-radius: 40px;
        padding: 0;
        display: flex;
        align-items:center;
        justify-content: center;
    }

    .reviews-buttons-img {
        width: 27px;
        height: 27px;
    }

    .scroll-to-top {
        bottom: 19rem !important;
        right: 2rem !important;
    }
}

.product-item {
    border: 1px solid var(--Color-Gray-Light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    height: 28rem;
    background-position: 60rem 50%;
    background-size: cover;
    background-color: white;
    transition: var(--Transition);
    background-repeat: no-repeat;
}


    .product-item > img {
        width: auto;
        height: auto;
        max-width: 80%;
        max-height: 15rem;
        transition: var(--Transition);
    }


    .product-item > p {
        margin: 2rem 0 0 0;
        font-family: var(--Font-Title);
        font-size: var(--Font-Size-Title-5);
        font-weight: 700;
        text-align: center;
        transition: var(--Transition);
    }

.product-item:hover {
    background-position: center;
}

    .product-item:not(.non-change):hover  p,
    .product-item:not(.non-change):hover img {
        opacity: 0;
    }

.works-list >img {
    height: 20rem;
}

.product-item.doublehung {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/windows/window-photo-doublehung.jpg');
}

.product-item.picture {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/windows/window-photo-picture.jpg');
}

.product-item.casement {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/windows/window-photo-casement.jpg');
}

.product-item.awning {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/windows/window-photo-awning.jpg');
}

.product-item.slider {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/windows/window-photo-slider.jpg');
}

.product-item.garden {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/windows/window-photo-garden.jpg');
}

.product-item.bay {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/windows/window-photo-bay.jpg');
}

.product-item.entry {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/doors/door-photo-entry.jpg');
}

.product-item.patio {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/doors/door-photo-patio.jpg');
}

.product-item.french {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/doors/door-photo-french.jpg');
}

.product-item.sliding {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/doors/door-photo-sliding.jpg');
}

.product-item.storm {
    background-image: url('https://wiko.s3.ap-northeast-2.amazonaws.com/ebsh/products/doors/door-photo-storm.jpg');
}

.checkbox-item {
    position: relative;
}

.checkbox-item > .checkbox-round {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-20%, -50%);
    background-color: white;
    height: 25px;
    width: 25px;
    border: 3px solid var(--Color-Gray-Dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.checkbox-item > input {
    margin-right: 15px;
    opacity: 0;
    z-index: 10;
}
    .checkbox-item > input:checked ~ .checkbox-round {
        background-color: var(--Color-Primary);
        border: 3px solid var(--Color-Primary);
    }

#estimate-bg {
    position: absolute;
    top: 0;
    left:0;
    width:100%;
    height: 100%;
    background-color: rgba(255,255,255,.8);
    z-index: 1;
}

#reviews .carousel-item {
    height: auto !important;
}

#reviews .carousel-control-next {
    right: -6rem;
}

#reviews .carousel-control-prev {
    left: -6rem;
}

#reviews .carousel-inner {
    padding: 0;
}

#reviews .swiper-button-next, #reviews .swiper-button-prev {
    top: 108%;
    color: gray !important;
    height: 50px !important;
    width: 50px !important;
    border: 2px solid lightgray;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--Transition);
}

    #reviews .swiper-button-next {
        right: 25%;
    }
     #reviews .swiper-button-prev {
         left: 25%;
     }
    #reviews .swiper-button-next::after, #reviews .swiper-button-prev::after {
        height: 30px !important;
        font-size: 28px !important;
    }

#reviews .swiper-button-next:hover, #reviews .swiper-button-prev:hover {
    border: 2px solid var(--Color-Primary) !important;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    min-width: 310px;
}



#header {
    background-color: var(--Color-White) !important;
    height: auto !important;
    padding: 1rem !important;
}

#header-bottom > div, .header-body {
    border: none !important;
}

.max-width-small {
    max-width: 568px;
}

.max-width-medium {
    max-width: 768px;
}

.program-box {
    padding: 20px 25px;
    border: 1px solid var(--Color-Gray-Medium);
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
}

@media (max-width: 767px) {
    .profile-img {
        width: 200px;
        height: 200px;
    }
}

#about-books {
    position: relative;
}

.books-item {
    height: 230px;
    margin: 10px;
    position: relative;
    display: block;
    transition: var(--Transition);
}

.books-item > img{
    height: 100%;
}

@media (max-width: 767px) {
    #about-books {
        height: 300px;
    }
    .books-item {
        height:200px;
        position: absolute;
        top: 0;
        left: 50%;
    }

    .books-item.item1 {
        transform: translate(0%, 0);
    }

    .books-item.item2 {
        transform: translate(-90%,30%);
    }

    .books-item.item3 {
        transform: translate(-50%,70%);
    }



/*        .books-item.item2 {
            transform: translate(-90%,0%);
        }

        .books-item.item3 {
            transform: translate(0%,40%);
        }*/
}

.item-number {
    width: 40px;
    height: 40px ;
    background-color: var(--Color-Primary);
    color: var(--Color-White);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table {
    border: 1px solid var(--Color-Gray-Medium);
}

    .table > div {
        border: 1px solid var(--Color-Gray-Medium);
        padding: 10px;
        display: flex;
        align-items: center;
        min-height: 5rem;
    }

.text-underline {
    text-decoration: underline;
    text-decoration-color: var(--Color-Secondary) !important;
}