/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

#contactButton {
    position: fixed;
    bottom: 0;
    right: 15px;
    max-height: 100%;
    width: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
}

#contactButton .panel {
    margin-bottom: 0;
    width: 100%;
    color: #333;
    display: none;
}

#contactButton .ctb {
    position: fixed;
    bottom: 0;
    right: 15px;
    z-index: 1000;
    text-align: center;
}

#contactButton .ctb,
#contactButton .panel {
    border-radius: 5px 5px 0 0;
}

#contactButton .ctb em {
    margin-right: 3px;
    font-size: 1.6em;
    vertical-align: middle;
}

@media (max-width: 1199px) {
    #contactButton .ctb {
        right: 70px;
    }
}

@media (max-width: 499px) {
    #contactButton {
        right: auto;
        left: 0;
        width: 90%;
    }
}

/* Softonline contact page */
.so-contact-page,
.so-contact-page * {
    box-sizing: border-box;
}

.so-contact-page {
    --so-navy: #0b1d5c;
    --so-blue: #3165ff;
    --so-blue-dark: #1f4eea;
    --so-orange: #ff8b3d;
    --so-text: #24375b;
    --so-muted: #6578a3;
    --so-line: #dbe6fb;
    --so-soft: #f5f8ff;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 20px 64px;
    color: var(--so-text);
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.so-contact-page h1,
.so-contact-page h2,
.so-contact-page h3,
.so-contact-page p {
    margin-top: 0;
}

.so-contact-page h1,
.so-contact-page h2,
.so-contact-page h3 {
    color: var(--so-navy);
    font-family: inherit;
    font-weight: 700;
}

.so-contact-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    min-height: 390px;
    overflow: hidden;
    border: 1px solid #d9e7ff;
    border-radius: 30px;
    background: radial-gradient(circle at 82% 18%, rgba(94, 145, 255, .24), transparent 32%), linear-gradient(125deg, #f8fbff 0%, #edf4ff 58%, #f7f3ff 100%);
    box-shadow: 0 24px 60px rgba(25, 67, 151, .12);
}

.so-contact-hero::before,
.so-contact-hero::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: rgba(49, 101, 255, .08);
}

.so-contact-hero::before { width: 240px; height: 240px; left: -120px; bottom: -150px; }
.so-contact-hero::after { width: 120px; height: 120px; right: 29%; top: -60px; }

.so-contact-hero__copy {
    position: relative;
    z-index: 2;
    padding: 64px 64px 58px;
}

.so-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--so-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.so-contact-hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.so-contact-hero__copy > p {
    max-width: 650px;
    margin-bottom: 28px;
    color: #4d618e;
    font-size: 18px;
    line-height: 1.7;
}

.so-contact-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.so-contact-action {
    display: inline-flex;
    min-width: 190px;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 14px;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}
.so-contact-action:hover { transform: translateY(-2px); }
.so-contact-action > em { font-size: 20px; }
.so-contact-action span { display: flex; flex-direction: column; line-height: 1.3; }
.so-contact-action small { opacity: .78; font-size: 12px; }
.so-contact-action strong { font-size: 16px; }
.so-contact-action--primary { color: #fff !important; background: linear-gradient(135deg, var(--so-blue), var(--so-blue-dark)); box-shadow: 0 12px 24px rgba(49, 101, 255, .25); }
.so-contact-action--secondary { color: var(--so-blue) !important; border: 1px solid #bcd0ff; background: rgba(255, 255, 255, .82); }

.so-contact-hero__visual { position: relative; min-height: 390px; }
.so-contact-orbit { position: absolute; border: 1px solid rgba(49, 101, 255, .18); border-radius: 50%; }
.so-contact-orbit--one { width: 290px; height: 290px; top: 50px; right: 45px; }
.so-contact-orbit--two { width: 210px; height: 210px; top: 90px; right: 85px; border-color: rgba(255, 139, 61, .3); }
.so-contact-hero__badge {
    position: absolute;
    top: 126px;
    right: 124px;
    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;
    border: 12px solid rgba(255, 255, 255, .65);
    border-radius: 38px;
    color: #fff;
    background: linear-gradient(145deg, var(--so-blue), #7654f4);
    box-shadow: 0 24px 45px rgba(49, 101, 255, .27);
    transform: rotate(-8deg);
}
.so-contact-hero__badge em { font-size: 50px; transform: rotate(8deg); }
.so-contact-note {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid rgba(211, 225, 255, .9);
    border-radius: 12px;
    color: var(--so-navy);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 30px rgba(33, 73, 151, .13);
    font-size: 13px;
    font-weight: 700;
}
.so-contact-note em { color: #25b779; }
.so-contact-note--top { top: 74px; left: 0; }
.so-contact-note--bottom { right: 30px; bottom: 64px; }

.so-contact-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 1.25fr);
    gap: 24px;
    align-items: center;
    margin: 26px 0 60px;
}
.so-contact-intro__content { display: flex; gap: 12px; color: var(--so-muted); line-height: 1.65; }
.so-contact-intro__content > em { flex: 0 0 auto; margin-top: 3px; color: var(--so-blue); font-size: 20px; }
.so-contact-intro__content p:last-child { margin-bottom: 0; }
.so-contact-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.so-contact-promises > div { display: flex; align-items: center; gap: 10px; min-height: 74px; padding: 13px; border: 1px solid var(--so-line); border-radius: 14px; background: #fff; }
.so-contact-promises > div > em { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--so-blue); background: #eaf1ff; font-size: 18px; }
.so-contact-promises span { display: flex; flex-direction: column; min-width: 0; }
.so-contact-promises strong { color: var(--so-navy); font-size: 13px; }
.so-contact-promises small { margin-top: 3px; color: var(--so-muted); font-size: 11px; line-height: 1.35; }

.so-contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr); gap: 30px; align-items: start; }
.so-contact-section-heading { margin-bottom: 24px; }
.so-contact-section-heading h2 { margin: 10px 0 10px; font-size: 34px; line-height: 1.22; }
.so-contact-section-heading p { max-width: 520px; color: var(--so-muted); line-height: 1.65; }
.so-contact-departments { display: grid; gap: 16px; }
.so-contact-department { overflow: hidden; padding: 24px; border: 1px solid var(--so-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(31, 65, 131, .07); }
.so-contact-department__header { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid #e8eef9; }
.so-contact-department__icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: var(--so-blue); background: linear-gradient(145deg, #e7efff, #f5f8ff); font-size: 21px; }
.so-contact-department h3 { margin: 2px 0 6px; font-size: 20px; }
.so-contact-department__note { color: var(--so-muted); line-height: 1.5; }
.so-contact-department__image { margin: 18px 0; }
.so-contact-department__image img { width: 100%; height: auto; border-radius: 14px; }
.so-contact-department__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 18px; }
.so-contact-line { display: flex; min-width: 0; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--so-soft); }
.so-contact-line > em { flex: 0 0 18px; margin-top: 3px; color: var(--so-blue); text-align: center; }
.so-contact-line span { min-width: 0; color: var(--so-text); overflow-wrap: anywhere; }
.so-contact-line small { display: block; margin-bottom: 3px; color: var(--so-muted); font-size: 11px; text-transform: capitalize; }
.so-contact-line a { color: var(--so-blue); text-decoration: none; }
.so-contact-line--minor { display: flex; }
.so-contact-line--legacy { display: none; }

.so-contact-form-card { position: sticky; top: 88px; padding: 30px; border: 1px solid #d5e2fb; border-radius: 24px; background: #fff; box-shadow: 0 22px 50px rgba(31, 65, 131, .12); }
.so-contact-form-card__head { display: flex; gap: 16px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid #e7edf8; }
.so-contact-form-card__icon { display: grid; flex: 0 0 54px; width: 54px; height: 54px; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(145deg, var(--so-orange), #ff6f37); box-shadow: 0 10px 24px rgba(255, 126, 55, .23); font-size: 22px; }
.so-contact-form-card h2 { margin: 7px 0 8px; font-size: 25px; line-height: 1.25; }
.so-contact-form-card__head p { margin-bottom: 0; color: var(--so-muted); font-size: 14px; line-height: 1.55; }

.so-contact-form-wrap.nv-fullbg { padding: 0; background: transparent; }
.so-contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.so-contact-field { margin-bottom: 17px; }
.so-contact-field label,
.so-contact-captcha > label { display: block; margin-bottom: 8px; color: var(--so-navy); font-size: 13px; font-weight: 700; }
.so-contact-field label > span,
.so-contact-captcha > label > span { color: #e15252; }
.so-contact-control { position: relative; }
.so-contact-control > em:first-child { position: absolute; z-index: 2; left: 15px; top: 50%; width: 18px; color: #6d84b2; text-align: center; transform: translateY(-50%); }
.so-contact-control .form-control { width: 100%; height: 48px; padding: 10px 42px; border: 1px solid #cedbf2; border-radius: 11px; color: var(--so-text); background: #fbfdff; box-shadow: none; font-family: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.so-contact-control .form-control:focus { border-color: var(--so-blue); background: #fff; box-shadow: 0 0 0 3px rgba(49, 101, 255, .11); }
.so-contact-control select.form-control { appearance: none; padding-right: 40px; }
.so-contact-select-arrow { position: absolute; right: 15px; top: 50%; color: #7286ad; transform: translateY(-50%); pointer-events: none; }
.so-contact-login { position: absolute; right: 7px; top: 7px; width: 34px; height: 34px; border: 0; border-radius: 9px; color: var(--so-blue); background: #ebf1ff; }
.so-contact-control--textarea > em:first-child { top: 17px; transform: none; }
.so-contact-control textarea.form-control { min-height: 132px; padding-top: 13px; padding-bottom: 28px; resize: vertical; line-height: 1.55; }
.so-contact-control--textarea > small { position: absolute; right: 12px; bottom: 8px; color: #8a9abc; font-size: 10px; }
.so-contact-form .has-error .form-control { border-color: #e54a4a; box-shadow: 0 0 0 3px rgba(229, 74, 74, .08); }
.so-contact-copy label { display: inline-flex; gap: 9px; align-items: center; color: var(--so-text); cursor: pointer; font-size: 13px; font-weight: 400; }
.so-contact-copy input { position: absolute; opacity: 0; }
.so-contact-copy label > span { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid #b9c8e3; border-radius: 6px; color: transparent; background: #fff; }
.so-contact-copy input:checked + span { border-color: var(--so-blue); color: #fff; background: var(--so-blue); }
.so-contact-copy input:focus + span,
.so-contact-copy input:focus-visible + span { outline: 2px solid var(--so-blue); outline-offset: 2px; }
.so-contact-captcha { margin: 18px 0; }
.so-contact-captcha__row { display: flex; gap: 8px; align-items: center; }
.so-contact-captcha__row .captchaImg { flex: 0 0 auto; border: 1px solid #d5e0f2; border-radius: 9px; }
.so-contact-captcha__refresh { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #cbd8ef; border-radius: 10px; color: var(--so-blue); background: #f4f7fd; }
.so-contact-captcha__row .fcode { flex: 1; min-width: 110px; height: 42px; border: 1px solid #cbd8ef; border-radius: 10px; box-shadow: none; }
.so-contact-form__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.so-contact-form__actions .btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 11px 20px; border-radius: 11px; font-family: inherit; font-weight: 700; }
.so-contact-reset { color: #536789; border: 1px solid #cbd8ed; background: #fff; }
.so-contact-submit { min-width: 150px; color: #fff !important; border: 0; background: linear-gradient(135deg, var(--so-orange), #ff7134); box-shadow: 0 10px 22px rgba(255, 126, 55, .22); }
.so-contact-submit:hover,
.so-contact-submit:focus { color: #fff; background: linear-gradient(135deg, #ff7d2d, #f45e25); }
.so-contact-privacy { margin: 15px 0 0; color: #798bad; font-size: 11px; text-align: right; }
.so-contact-privacy em { margin-right: 4px; color: #2fb37b; }
.so-contact-form-wrap .contact-result { display: none; margin: 18px 0 0; border-radius: 11px; }

.so-contact-bottom { display: flex; gap: 30px; align-items: center; justify-content: space-between; margin-top: 60px; padding: 36px 42px; border-radius: 24px; color: #fff; background: radial-gradient(circle at 82% 20%, rgba(91, 146, 255, .62), transparent 28%), linear-gradient(120deg, #10275f, #1647a9); box-shadow: 0 18px 42px rgba(17, 54, 126, .2); }
.so-contact-bottom .so-contact-eyebrow { color: #91b8ff; }
.so-contact-bottom h2 { margin: 8px 0 8px; color: #fff; font-size: 30px; }
.so-contact-bottom p { margin-bottom: 0; color: #d4e1ff; }
.so-contact-bottom__button { display: inline-flex; flex: 0 0 auto; min-height: 52px; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 12px; color: #fff !important; background: linear-gradient(135deg, var(--so-orange), #ff7134); text-decoration: none !important; font-weight: 700; box-shadow: 0 12px 25px rgba(7, 23, 66, .22); }

@media (max-width: 1099px) {
    .so-contact-hero { grid-template-columns: 1fr 360px; }
    .so-contact-hero__copy { padding: 50px 42px; }
    .so-contact-intro { grid-template-columns: 1fr; }
    .so-contact-layout { grid-template-columns: 1fr; }
    .so-contact-form-card { position: static; }
    .so-contact-departments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .so-contact-department__links { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .so-contact-page { padding: 16px 12px 42px; }
    .so-contact-hero { display: block; min-height: auto; border-radius: 22px; }
    .so-contact-hero__copy { padding: 36px 22px 32px; }
    .so-contact-hero h1 { margin-top: 10px; font-size: 39px; }
    .so-contact-hero__copy > p { font-size: 16px; line-height: 1.6; }
    .so-contact-hero__visual { display: none; }
    .so-contact-hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .so-contact-action { min-width: 0; padding: 12px; }
    .so-contact-intro { margin: 18px 0 42px; }
    .so-contact-promises { grid-template-columns: 1fr; }
    .so-contact-promises > div { min-height: 66px; }
    .so-contact-section-heading h2 { font-size: 28px; }
    .so-contact-departments { grid-template-columns: 1fr; }
    .so-contact-department { padding: 19px; }
    .so-contact-form-card { padding: 20px 16px; border-radius: 20px; }
    .so-contact-form-card__head { gap: 11px; }
    .so-contact-form-card__icon { flex-basis: 46px; width: 46px; height: 46px; border-radius: 13px; }
    .so-contact-form-card h2 { font-size: 22px; }
    .so-contact-form__grid { grid-template-columns: 1fr; }
    .so-contact-form__actions { display: grid; grid-template-columns: .8fr 1.2fr; }
    .so-contact-form__actions .btn { width: 100%; padding: 11px 10px; }
    .so-contact-bottom { display: block; margin-top: 42px; padding: 28px 22px; border-radius: 20px; }
    .so-contact-bottom h2 { font-size: 26px; }
    .so-contact-bottom__button { width: 100%; justify-content: center; margin-top: 22px; }
}

@media (max-width: 419px) {
    .so-contact-hero__actions { grid-template-columns: 1fr; }
    .so-contact-action { justify-content: center; }
    .so-contact-captcha__row { flex-wrap: wrap; }
    .so-contact-captcha__row .fcode { flex-basis: 100%; }
}
