* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

html.overflow-hidden,
body.overflow-hidden {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.bg-img {
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    position: relative;
}

.bg-img .btn-box {
    text-align: right;
}

.bg-img .btn {
    display: inline-block;
    background-color: #005AC3;
    color: #fff;
    font-weight: 400;
    padding: 14px 35px 14px 35px;
    border-radius: 5px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    line-height: normal;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.bg-img .btn .arrow {
    margin-left: 15px;
    transition: all 0.3s ease-in-out;
    position: relative;
    left: 0;
}

.bg-img .btn:hover,
.bg-img .btn:focus {
    background-color: #02357e;
}

.bg-img .btn:hover .arrow {
    left: 5px;
}

.cnc-popup.layout1 .cnc-popup-content {
    margin: 0 auto;
    max-width: 465px;
    width: 100%;
    position: relative;
    overflow: visible !important;
}

.cnc-popup.layout1 .cnc-popup-content .cnc-inner-popup-content {
    max-height: 95vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.cnc-popup.layout1 .cnc-popup-content .img-box .image {
    height: 266px;
    overflow: hidden;
}

.cnc-popup.layout1 .cnc-popup-content .img-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cnc-popup.layout1 .cnc-popup-content .content-box {
    background-color: #FFF;
    padding: 40px 50px;
}

.cnc-popup.layout1 .cnc-popup-content .content-box .title-box {
    margin-bottom: 30px;
}

:where(.cnc-popup.layout1 .cnc-popup-content .content-box) :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
    font-size: 32px;
    line-height: normal;
    margin: 0 0 10px;
}

:where(.cnc-popup.layout1 .cnc-popup-content .content-box) :is(p) {
    font-size: 20px;
    line-height: normal;
    margin: 0 0 10px;
    width: 80%;
}

:where(.cnc-popup.layout1 .cnc-popup-content .content-box) :is(p):last-child {
    margin-bottom: 0;
}

:where(.cnc-popup.layout1 .cnc-popup-content .content-box) p small {
    font-size: 16px;
    line-height: normal;
    color: #000;
    display: inline-block;
}

:where(.cnc-popup.layout1 .cnc-popup-content .content-box) .btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background-color: #005BC5;
    color: #fff;
    padding: 14px 24px;
    font-size: 20px;
    line-height: normal;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

:where(.cnc-popup.layout1 .cnc-popup-content .content-box) .btn:before {
    content: "";
    position: absolute;
    border: 2px dashed #005BC5;
    inset: -2px;
}

:where(.cnc-popup.layout1 .cnc-popup-content .content-box) .btn:hover,
:where(.cnc-popup.layout1 .cnc-popup-content .content-box) .btn:focus {
    background-color: #02357e;
}

:where(.cnc-popup.layout1 .cnc-popup-content .content-box) .btn:hover:before,
:where(.cnc-popup.layout1 .cnc-popup-content .content-box) .btn:focus:before {
    border-color: #02357e;
}

:where(.cnc-popup.layout1 .cnc-popup-content) .close-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #005BC5;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.25));
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    right: -15px;
    top: -10px;
    z-index: 99;
    transition: all 0.3s ease-in-out;
}

:where(.cnc-popup.layout1 .cnc-popup-content) .close-btn img {
    padding: 9px;
    object-fit: contain;
    object-position: center;
}

:where(.cnc-popup.layout1 .cnc-popup-content) .close-btn:hover,
:where(.cnc-popup.layout1 .cnc-popup-content) .close-btn:focus {
    background-color: #02357e;
}

@media (max-width: 1024px) {
    .cnc-popup.layout1 .cnc-popup-content .content-box :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
        font-size: 28px;
    }

    .cnc-popup.layout1 .cnc-popup-content .content-box :is(p) {
        font-size: 18px;
    }

    .cnc-popup.layout1 .cnc-popup-content .content-box p small {
        font-size: 15px;
    }

    .cnc-popup.layout1 .cnc-popup-content .content-box .btn {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .cnc-popup.layout1 .cnc-popup-content {
        margin: 0 auto;
        width: 95%;
    }

    .cnc-popup.layout1 .cnc-popup-content .img-box .image {
        height: 250px;
    }

    .cnc-popup.layout1 .cnc-popup-content .content-box {
        padding: 30px;
    }

    .cnc-popup.layout1 .cnc-popup-content .content-box :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
        font-size: 24px;
    }

    .cnc-popup.layout1 .cnc-popup-content .content-box :is(p) {
        font-size: 16px;
        width: 90%;
    }

    .cnc-popup.layout1 .cnc-popup-content .content-box p small {
        font-size: 14px;
    }

    .cnc-popup.layout1 .cnc-popup-content .content-box .btn {
        font-size: 16px;
    }

    .cnc-popup.layout1 .cnc-popup-content .close-btn {
        width: 30px;
        height: 30px;
        top: -5px;
        right: -5px;
    }

    .cnc-popup.layout1 .cnc-popup-content .close-btn img {
        padding: 7px;
    }
}