/*******************************************************
 *
 * 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.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: var(--white-color-2);
}

#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: var(--black-color-2);
}

#site-main .site-banner.bg-dark .site-banner-article > div {
    color: var(--gray-color-1);
}

#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;
    margin: 0 auto;
}

#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: 100%;
    min-height: calc(min(960px, 100vw));
}

#site-main .site-banner-b-img.no-img {
    background: var(--secondary-color);
    min-height: calc(min(710px, 100vw));
}

#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 .container {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 80px auto;
    padding: 30px 30px 10px;
    width: 1312px;
    max-width: 100%;
    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: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
}

#site-main .site-banner-b-img .inner-container {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    max-width: 50%;
    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: var(--white-color-1);
}

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

#site-main .site-banner-b-img.no-img > div {
    color: var(--black-color-2);
}

#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: 56px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: var(--white-color-1);
}

#site-main .site-banner-b-img.no-img > div h3 {
    color: var(--black-color-2);
}

#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: var(--white-color-1);
    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;
    font-size: 24px;
    font-weight: 500;
    line-height: 28.4px;
}

#site-main .site-banner-b-img.no-img > div p {
    color: var(--black-color-2);
}

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

#site-main .site-banner-b-form-wrap {
    width: calc(100% / 2);
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 60px;
    height: 100%;
    z-index: 5;
}

#site-main .site-banner-b-form-wrap .site-banner-b-form {
    position: relative;
    display: block;
    margin: auto 0;
    width: max-content;
    background: var(--secondary-color);
    padding: 30px 40px;
}

#site-main .site-banner-b-form-wrap.no-img .site-banner-b-form {
    background: var(--white-color-1);
}

#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-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: 1199px) {
    #site-main .site-banner-b-img > div h3 {
        font-size: 40px;
        line-height: 1.267;
    }
    
    #site-main .site-banner-b-img > div p {
        font-size: 16px;
        line-height: 1.7;
    }

    #site-main .site-banner-b-form p {
        margin: 0;
    }
}

@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: var(--white-color-2);
    }
    
    #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.no-img {
        min-height: 420px;
    }

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

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

    #site-main .site-banner-b-form-wrap {
        width: 100%;
        position: relative;
        background: var(--secondary-color);
        padding: 0;
    }

    #site-main .site-banner-b-form-wrap.no-img {
        background: var(--white-color-1);
    }

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

    #site-main .site-banner-b-img .inner-container {
        max-width: 100%;
        margin: auto;
    }
}
