.khung1 {
    padding: 1.2rem;
    padding-left: 3rem;
    margin: 2rem;
    background: #e5f6f5;
    border-left: 5px solid #a40038;
    position: relative;
    text-align: center;
}

.khung1:before {
    content: "“";
    font-family: FontAwesome;
    color: #54a486;
    font-size: 10rem;
    line-height: 1;
    position: absolute;
    top: 2rem;
    left: 1rem;
    transform: translateY(-50%);
}
 
.khung2 {
    position: relative;
    padding: 10px 5px 5px 10px;
    border: 4px double #ccc;
    border-radius: 10px;
    margin: 10px 0;
    display: block;
}

.khung3 {
    position:relative;
    background:url(../images/barrage-bottomBg.png) repeat-x bottom #fff;
    border-top:2px solid #221714;
    height:70px;
    line-height:22px;
    padding:0 5px 5px 0;
    margin-left:20px;
    text-align:center;
    color:#000;
}
.khung3:before{
    content:"";
    position:absolute;
    left:-23px;
    top:-2px;
    width:24px;
    height:72px;
    background:url(../images/barrage-icon.png) no-repeat -77px 0px;
}
.khung3:after{
    content:"";
    position:absolute;
    right:-12px;
    top:-2px;
    width:12px;
    height:72px;
    background:url(../images/barrage-icon.png) no-repeat -110px 0px;
}

.khung4{
     position:relative;
     padding:10px 20px 10px 60px;
     margin-left:30px;
     margin-bottom:40px;
     border:2px solid #ccc;
     border-top:1px solid #ccc;
     border-bottom:1px solid #ccc;
     border-radius:15px;
     box-shadow:4px 8px 10px #ccc; 
     
} 
.khung4:before{ 
    content:"";
    position:absolute;
    left:-44px;
    top:10px;
    width:175px;
    height:97%;
    background:url(../images/sb.png) repeat-y;
}

.khung5 {
    position: relative;
    height: 300px;
    padding: 40px;
    margin-left: 60px;
    border-top: 6px solid #8cc421;
    border-bottom: 6px solid #72a30c;
    border-radius: 6px;
}

.khung5:before {
    content: "";
    position: absolute;
    left: -122px;
    top: 0px;
    width: 175px;
    height: 322px;
    background: url(../images/ys41.jpg) bottom no-repeat;
}

.khung5:after {
    content: "";
    position: absolute;
    right: -62px;
    top: -0px;
    width: 175px;
    height: 295px;
    background: url(../images/ys42.jpg) bottom no-repeat;
}

.zoom-text,
.zoomtext {
    display: inline-block;
    animation: zoom-in-zoom-out 1.5s ease infinite;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.zoom-text a,
.zoomtext a,
.zoom-text span,
.zoomtext span,
.zoomtext p,
.zoom-text p{
    color: #317bc4 !important;
}


@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(0.9, 0.9);
  }
  100% {
    transform: scale(1, 1);
  }
}

.checkmark {
    position: absolute;
    top: 59%;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ebebeb;
    transform: translateY(-50%);
}
.position-relative{ position:relative; }
.transition, .checkmark{-webkit-transition:all 0.3s;transition:all 0.3s;}
.wrap1 .slick-next:before,.wrap1 .slick-prev:before{ display:none; }
.wrap1 .slick-arrow{ width:40px; height:40px; }
.ft_arrow{/* position: absolute; *//* width:35px; *//* left:50%; *//* bottom:0; */z-index: 35;display: flex;justify-content: center;text-align: center;}
#slide_question_form:before{ position:absolute; bottom:0; right:0; width:25%; height:90%; content:'';}
#slide_question_form{color: #000;position: relative;background-image: linear-gradient(140deg, #4d8dcb 0%, #b9cee3 50%, #a9d3ff 75%);border: 1px dashed #cb0008;padding:25px 0;border-radius:25px;height: 100%;
}}
#slide_question_form  h4 span{ background:#cb0008; color:#Fff; font-size:24px; line-height:52px; padding:5px 10px; border-radius:0 25px 25px 0; margin-right:10px; }
#slide_question_form .slquestion { padding-left:120px;     }
.slquestion {
    margin: 10px 0;
}
#slide_question_form .checkmark {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #cb0008;
    top: 10px; 
    position: absolute;
}
.labelcheck {
    cursor: pointer;
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}
#slide_question_form .labelcheck .checkmark:after {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: none;
    background: #cb0008;
    border-radius: 50%;
    transform: unset; }

.labelcheck {
    cursor: pointer;
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}
.labelcheck input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.labelcheck input:checked ~ .checkmark {
    background-color: #2196f3;
}
.labelcheck .checkmark:after {
    left: 8px;
    top: 2px;
    width: 10px;
    height: 18px;
    border: solid #0f0;
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.labelcheck input:checked ~ .checkmark:after {
    display: block;
}

.form_test .formquestion .d-phone{ max-width: 530px; border-radius:30px; }
.form_test .formquestion .d-phone::placeholder{ color: #317bc4 }
.form_test .formquestion .dbtn{/* padding:5px 25px; */border-radius:20px;color: #000;}
.form_test .formquestion ul .d-send{background:#fe6500;color: #fff;border-color:#317bc4;margin-bottom: 0px;}
.form_test .formquestion .a123{ color: #fff; background:#cb0008; border-color:#cb0008;  }
.form_test textarea{ padding: 15px; color:#317bc4; line-height:26px; width:100% }
.formquestion .d-phone {
    width: 100%;
    border: 1px solid #317bc4;
    border-radius: 5px;
    padding: 13px 10px;
    color: #317bc4;
}
.content_chitiet .text-center {
    text-align: center !important;
}
a.a123.dbtn.p-convertion {
    padding: 10px 20px 14px 20px;
    border-radius: 20px;
}
@media only screen and (max-width: 545px) {
    #slide_question_form .slquestion { 
        padding-left: 20px;     
    }
    a.a123.dbtn.p-convertion {
        display: inline-block;
        margin-top: 10px;
        padding: 6px 20px 8px 20px;
    }
}
@media only screen and (max-width: 354px) {
    a.a123.dbtn.p-convertion {
        display: inline-block;
        margin-top: 10px;
        padding: 6px 10px 8px 10px;
    }
}
@media only screen and (max-width: 334px) {
    .p-convertion {
        font-size: 14px !important;
    }
    a.a123.dbtn.p-convertion {
        padding: 6px 20px 8px 20px;
    }
}
.text-white {
    color: #fff;
}



.form_test {
    background-color: #317bc4;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

.slide_khaosat {
    position: relative;
    overflow: hidden;
    height: 300px; 
}

.slide {
    display: none;
    padding: 10px;
}

.slide.active {
    display: block; 
}

.nav-button {
    background-color: #cb0008;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 25px;
    margin: 0 5px;
    width: 15px;
    padding: 1px 5px;
}

.nav-button:hover {
    background-color: #666;
}

.single #ctns .p-convertion {
    color: #bab9c6 !important;
    font-size: 18px;
}

.single #ctns .p-convertion:hover {
    color: #fff !important;
}

.nenxanh {
    background: #e2f4e9;
    border: 1px #82dca5 dashed;
    padding: 10px 15px;
    margin: 20px 0;
}

.nenxanh span, .nenxanh label {
    color: #e61820;
    font-weight: 700;
}

.nenxanh li {
    line-height: 30px;
/*    background: url(../images/plus.png) 0 9px no-repeat !important;*/
    padding-left: 20px !important;
    margin: 0 !important;
    line-height: 1.8 !important;
}

.nenxanh menu, .nenxanh ol, .nenxanh ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.form-row p {
    align-items: center; 
}

.wpcf7-form-control-wrap {
    margin-right: 10px; 
}

.wpcf7-submit {
    padding: 10px 20px; 
}

.form-row {
    text-align: center;
}

.nenxanh li a {
    color: #ea0000;
    font-weight: 700;
    background: url(../images/icon-muiten.gif) 0 8px no-repeat;
    display: inline-block;
    padding: 0 0 0 23px;
}

.nenxanh label {
    display: inline;
}

.nenxanh li:last-child {
    background: 0 0 !important;
    font-weight: 700;
    text-align: center;
}

.goikham {
    text-align: center;
    padding: 20px 0 0 0;
}

.goikham .form-head {
    text-align: center;
    justify-content: center;
}

@media only screen and (max-width: 357px) {
    .goikham .form-head input.wpcf7-form-control.wpcf7-submit.has-spinner {
        width: 70px !important;
    }
    .form-head input[type="tel"] {
        max-width: 210px !important;
    }
}

/*@media screen and (max-width: 768px) {
    .goikham .form-head  span.wpcf7-form-control-wrap {
        width: 100%;
    }
}*/

.form-head {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.form-head .wpcf7-form-control.wpcf7-submit {
    background-color: #ed1c24; 
    color: #fff; 
    border: none; 
    padding: 10px; 
    cursor: pointer; 
}

.form-head .wpcf7-form-control.wpcf7-submit:hover {
    background-color: #c7151c; 
}

 .form-head  .wpcf7-spinner {
    display: none !important;
    visibility: hidden !important;
}
@media screen and (max-width: 640px) {
    section.box-form-top {
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1001;
    }

    section.box-form-top.active {
        display: none;
    }

    section.box-form-top form {
        position: relative;
        margin-bottom: 0;
        height: 2.8rem !important;
    }

    section.box-form-top .txt_field {
        width: 100%;
        border: 0;
        background: #fff;
        padding: 0 12px;
        height: 36px;
        outline: none;
    }

    section.box-form-top .btn_field {
        padding: 0 10px;
        height: 18px !important;
        border: 1px solid #fff;
        font-weight: bold;
        color: #fff;
        position: absolute;
        top: 0px;
        right: -17px;
        text-transform: uppercase;
        outline: none;
        cursor: pointer;
        background: #0276e1 !important;
        border-radius: 0 !important;
    }

    .content-form-head {
        position: relative;
        max-width: 640px;
        margin: 0 auto;
        background: #0276e1;
        padding: 10px 0.5rem;
        border-bottom: 1px solid #fff;
    }

    section.box-form-top input.wpcf7-form-control.wpcf7-submit.has-spinner {
        width: auto; 
    }

    section.box-form-top span.wpcf7-form-control-wrap {
        width: 100%;
    }

    .uudai-top {
        animation: fadeIn 2s ease-in-out infinite;
        -webkit-animation: fadeIn 2s ease-in-out infinite;
        -moz-animation: fadeIn 2s ease-in-out infinite;
        font-size: 14px;
        color: #fff;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.form-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; 
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 15px;
}

.form-row input[type="tel"] {
    flex: 1 1 180px; 
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-row input[type="tel"]:focus {
    border-color: #007bff;
    outline: none;
}

.form-row input[type="submit"] {
    flex: 0 0 auto;
    padding: 12px 25px;
    font-size: 16px;
    background-color: #e60000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.form-row input[type="submit"]:hover {
    background-color: #cc0000;
}

.wpcf7-spinner {
    display: none;
}

.form-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap; /* giữ cùng hàng */
    max-width: 100%;
    padding: 10px 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.form-head input[type="tel"] {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 230px;
    padding: 10px 15px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
    box-sizing: border-box;
}

.form-head input[type="tel"]:focus {
    border-color: #007bff;
    outline: none;
}

.form-head input[type="submit"] {
    flex: 0 0 auto;
    padding: 10px 20px;
    font-size: 15px;
    background-color: #e60000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.form-head input[type="submit"]:hover {
    background-color: #cc0000;
}

.form-head .wpcf7-spinner {
    margin-left: 8px;
}

.formquestion ul.py-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 0;
    list-style: none; /* bỏ chấm đầu dòng nếu có */
    margin: 0;
}

.single #ctns .formquestion ul.py-2 .dbtn {
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    min-width: 150px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

/* Style nút */
.single #ctns .formquestion ul.py-2 .d-send {
    background-color: #e60000;
    color: #fff !important;
    border: none;
}

.single #ctns .formquestion ul.py-2 .d-send:hover {
    background-color: #cc0000;
}

/* Style link */
.single #ctns .formquestion ul.py-2 .a123 {
    background-color: #007bff !important;
    color: #fff !important;
}

.single #ctns .formquestion ul.py-2 .a123:hover {
    background-color: #0056b3;
}
.btn-cform {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    left: 10px;
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
    justify-content: center;
}

#camket .ct {
    max-width: 400px;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
}

#camket .pop-new {
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

#camket .pop-new img.version {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#btn-close-camket {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 23px;
    height: 23px;
    background: #ff4d4d;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

#btn-close-camket::before, 
#btn-close-camket::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: white;
    transform: translate(-50%, -50%) rotate(45deg);
}

#btn-close-camket::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.hidden {
    display: none !important;
}
