/*******************************************************
 *
 * General
 *
 *******************************************************/

/** Banner Type A: START */
#site-main .site-banner {
    position: relative;
    display: block;
    padding: 60px 0;
    overflow: hidden;
}

#site-main .site-banner.with-mt {
    margin-top: 120px;
}

#site-main .site-banner-inner {
    position: relative;
    display: flex;
    flex-flow: row-reverse wrap;
}

#site-main .site-banner.right-bg .site-banner-inner {
    flex-flow: row wrap;
}

#site-main .site-banner-inner:before {
    content: '';
    position: absolute;
    top: -60px;
    bottom: -60px;
    left: -50vw;
    right: 25.5%;
    background: var(--secondary-color);
}

#site-main .site-banner.bg-dark .site-banner-inner:before {
    background: #F2F2F2;
}

#site-main .site-banner.right-bg .site-banner-inner:before {
    left: 25.5%;
    right: -50vw;
}

#site-main .site-banner-article {
    position: relative;
    display: block;
    width: 45%;
    max-width: 525px;
    margin: auto auto auto 0;
    padding: 30px 30px 30px 0;
}

#site-main .site-banner.right-bg .site-banner-article {
    margin: auto 0 auto auto;
    padding: 30px 0 30px 30px;
}

#site-main .site-banner-title {
    display: block;
    margin-bottom: 30px;
}

#site-main .site-banner-article > div {
    display: block;
    position: relative;
    width: 470px;
    max-width: 100%;
    color: #2A4357;
}

#site-main .site-banner.bg-dark .site-banner-article > div {
    color: #5B5C61;
}

#site-main .site-banner-article > a {
    margin-top: 30px;
}

#site-main .site-banner-img {
    position: relative;
    display: block;
    width: 52%;
    max-width: 600px;
}

#site-main .site-banner-img canvas {
    position: relative;
    display: block;
    width: 100%;
}

#site-main .site-banner-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}
/** Banner Type A: END */

/** Banner Type B: START */
#site-main .site-banner-b {
    position: relative;
    z-index: 2;
    display: block;
}

#site-main .site-banner-b-inner {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

#site-main .site-banner-b-img {
    position: relative;
    display: block;
    width: 50%;
    max-height: 710px;
}

#site-main .site-banner-b-img.no-img {
    background: var(--secondary-color);
}

#site-main .site-banner-b-img:after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.34);
}

#site-main .site-banner-b-img.no-img:after {
    display: none;
}

#site-main .site-banner-b-img > div {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    padding: 30px;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    max-width: 520px;
}

#site-main .site-banner-b-img > div.lg-font {
    font-size: 24px;
}

#site-main .site-banner-b-img.no-img > div {
    color: #2A4357;
}

#site-main .site-banner-b-img > div h2,
#site-main .site-banner-b-img > div h3,
#site-main .site-banner-b-img > div h4,
#site-main .site-banner-b-img > div h5,
#site-main .site-banner-b-img > div h6,
#site-main .site-banner-b-img > div p {
    position: relative;
    display: block;
    margin: 0;
}

#site-main .site-banner-b-img > div h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: inherit;
}

#site-main .site-banner-b-img > div p + p {
    margin-top: 15px;
}

#site-main .site-banner-b-img > div ul {
    margin: 30px 0 0;
}

#site-main .site-banner-b-img > div ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    color: #fff;
    font-size: 24px;
}

#site-main .site-banner-b-img > div ul li:before {
    content: "";
    position: relative;
    top: -2px;
    display: block;
    width: 12px;
    height: 9px;
    background-image: url("../../svg/checked.svg");
    background-size: cover;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    margin-right: 15px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

#site-main .site-banner-b-img > div p {
    margin-top: 30px;
}

#site-main .site-banner-b-img > img {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 710px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
}

#site-main .site-banner-b-form {
    position: relative;
    display: block;
    margin: auto 0;
    padding: 30px 30px 30px 64px;
    width: 50%;
}

#site-main .site-banner-b-form h2,
#site-main .site-banner-b-form h3,
#site-main .site-banner-b-form h4,
#site-main .site-banner-b-form h5,
#site-main .site-banner-b-form h6 {
    margin: 0;
}

#site-main .site-banner-b-img.same-height,
#site-main .site-banner-b-img.same-height img {
    max-height: 100%;
}

#site-main .site-banner-b-form > p {
    margin: 20px 0 31px !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.025em;
    max-width: 521px;
}

#site-main .site-form-terms {
    position: relative;
    display: block;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.025em;
    max-width: 521px;
}

#site-main .site-form-terms p {
    margin: 0 !important;
    line-height: inherit;
}

#site-main .site-form-terms.text-sm {
    font-size: 13px;
    line-height: 1.5;
}
/** Banner Type B: END */

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (max-width: 991px) {
    /** Banner Type A: START */
    #site-main .site-banner-inner {
        width: 450px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    #site-main .site-banner {
        background: var(--secondary-color);
        padding: 45px 0 60px;
    }
    
    #site-main .site-banner.bg-dark {
        background: #F2F2F2;
    }
    
    #site-main .site-banner.with-mt {
        margin-top: 60px;
    }

    #site-main .site-banner-inner {
        display: block;
    }

    #site-main .site-banner-inner:before {
        display: none;
    }

    #site-main .site-banner-title,
    #site-main .site-banner-img,
    #site-main .site-banner-article {
        width: 100%;
        max-width: 100%;
        padding: 0 !important;
        text-align: center;
    }
    
    #site-main .site-banner-article {
        margin-top: 30px !important;
    }
    /** Banner Type A: END */
    
    /** Banner Type B: START */
    #site-main .site-banner-b-inner {
        display: block;
    }

    #site-main .site-banner-b-img {
        width: 100%;
    }

    #site-main .site-banner-b-img {
        min-height: 400px;
        display: flex;
        flex-flow: row wrap;
    }

    #site-main .site-banner-b-img > div.lg-font {
        text-align: center;
        font-size: 16px;
    }

    #site-main .site-banner-b-img > img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    #site-main .site-banner-b-img > div {
        position: relative;
    }

    #site-main .site-banner-b-form {
        width: 450px;
        max-width: calc(100% - 60px);
        margin: 50px auto 0;
        padding: 0;
        text-align: center;
    }
    /** Banner Type B: END */
}
