﻿body {
    font-family: Arial, sans-serif !important;
}
/*tiện ích*/
.fee-default {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.btn-primary-color {
    border: 0;
    border-radius: 0px;
    outline: none;
    padding: 8px 15px;
    border-radius: 2px;
    background: #eb1b2e;
    color: #fff;
}

.form-group-submit-center {
    display: flex;
    justify-content: center !important;
    padding: 0px;
    margin-top: 20px !important;
}
/* Thêm CSS cho modal */
/*.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
}

    .modal.show {
        display: block;
        height: 100%;
    }

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transform: translate3d(0, -100%, 0);
    transition: transform 0.9s ease-in-out;
}

.modal.show .modal-content {
    transform: translate3d(0, 0, 0);
}*/
/*css date*/
.ui-datepicker {
    font-family: Arial, sans-serif;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


    .ui-datepicker .ui-datepicker-header a {
        color: #333;
    }


.ui-datepicker-calendar td {
    background-color: #f2f2f2;
    text-align: center;
    padding: 5px;
}


.ui-datepicker-calendar .ui-state-active {
    background-color: #3498db;
    color: #fff;
}

a.ui-datepicker-prev.ui-corner-all {
    margin-right: 8px
}

.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
    cursor: pointer;
}
/* Ẩn mũi tên tăng/giảm trên trường số điện thoại */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type=checkbox],
input[type=radio] {
    display: none;
}

    input[type=checkbox] + .icon,
    input[type=radio] + .icon {
        margin-right: 10px;
    }

    input[type=checkbox]:checked + span.icon,
    input[type=radio]:checked + span.icon {
        background-position: -7px -515px !important;
    }

        input[type=checkbox]:checked + span.icon.icon-square,
        input[type=radio]:checked + span.icon.icon-square {
            background-position: -6px -820px !important;
        }

.utility .top-cover {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(/images/tien-ich/cover-1b8124417d368ea57d94a2420f0713bb.jpg);
    overflow: hidden;
    position: relative;
    padding: 50px 0 30px 0;
    margin-bottom: 30px;
}

@media only screen and (min-width: 40em) {
    .utility .top-cover {
        padding: 160px 0 40px 0;
        margin-bottom: 40px;
    }
}

@media only screen and (min-width: 64em) {
    .utility .top-cover {
        padding: 220px 0 50px 0;
        margin-bottom: 50px;
    }
}

.utility .top-cover .ribbon {
    display: none;
    background-color: rgba(13,13,13,0.75);
    bottom: -100px;
    position: absolute;
    transform: rotate(45deg);
    width: 50%;
    left: 10%;
    height: 400px;
}

@media only screen and (min-width: 40em) {
    .utility .top-cover .ribbon {
        width: 50%;
        left: 10%;
        height: 800px;
    }
}

.utility .top-cover h1.title {
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    margin: 0;
    color: #fff;
    z-index: 2;
    text-shadow: 0 0 30px rgba(0,0,0,0.5);
    font-size: 24px;
    line-height: 30px;
    padding-left: 20px;
    letter-spacing: 2px;
}

@media only screen and (min-width: 40em) {
    .utility .top-cover h1.title {
        font-size: 40px;
        line-height: 48px;
        padding-left: 30px;
        letter-spacing: 3px;
    }
}

@media only screen and (min-width: 64em) {
    .utility .top-cover h1.title {
        font-size: 54px;
        line-height: 60px;
        padding-left: 40px;
        letter-spacing: 4px;
    }
}

.utility .top-cover h1.title:before {
    content: '';
    display: block;
    position: absolute;
    top: 7px;
    bottom: 10px;
    left: 0;
    background-color: #eb1b2e;
    width: 5px;
}

@media only screen and (min-width: 40em) {
    .utility .top-cover h1.title:before {
        width: 10px;
    }
}

@media only screen and (min-width: 64em) {
    .utility .top-cover h1.title:before {
        width: 15px;
    }
}

.form-flat .form-group {
    display: flex;
    align-items: stretch;
    margin-bottom: 0;
    margin-top: 0;
    min-height: 30px;
}

.form-flat .form-label {
    font-weight: normal;
    margin-bottom: 0px;
    display: flex;
    align-items: flex-end;
}

    .form-flat .form-label .start-required {
        color: #eb1b2e;
        margin-left: 5px;
    }

.form-flat .form-group-icon {
    position: relative;
}

.form-flat .form-input {
    outline: none;
    width: 100%;
    border-width: 0 0 1px 0;
    transition: border-color ease-in-out 0.2s;
    padding: 11px 30px 0px 10px;
}

    .form-flat .form-input:focus {
        border-color: #c18f8f;
    }

.form-flat textarea.form-input {
    border-width: 1px;
    border-style: solid;
}

.form-flat .form-checkbox {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 11px 10px 0px;
}

    .form-flat .form-checkbox .label-text {
        flex: 1;
        margin-left: 10px;
        margin-top: 3px;
    }

.form-flat .form-group-submit {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    padding-right: 25px;
}

    .form-flat .form-group-submit .btn-submit {
        color: #fff;
        background: #e82035;
        outline: none;
        border: none;
        border-radius: 2px;
        padding: 10px 25px;
    }

        .form-flat .form-group-submit .btn-submit:disabled {
            background: #808285;
        }

.form-flat .form-message-error {
    color: #eb1b2e;
}

.form-icon-flat .field {
    display: flex;
    width: 100%;
}

    .form-icon-flat .field .icon {
        flex-basis: 50px;
        display: flex;
        align-items: flex-end;
    }

    .form-icon-flat .field:not(:last-child) {
        margin-bottom: 10px;
    }

    .form-icon-flat .field .input-field {
        flex: 1;
    }

.form-icon-flat .form-input {
    outline: none;
    width: 100%;
    border-width: 0 0 1px 0;
    transition: border-color ease-in-out 0.2s;
    border-color: #bcbec0;
    padding: 2px 10px;
}

    .form-icon-flat .form-input:focus {
        border-color: #c18f8f;
    }

.form-icon-flat .group-submit {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.form-icon-flat .form-message-error {
    color: #eb1b2e;
    margin-top: -10px;
    margin-bottom: 10px;
}

.form-control-feedback {
    position: absolute;
}

@media only screen and (min-width: 64em) {
    .utility .top-cover h1.title {
        font-size: 54px;
        line-height: 60px;
        padding-left: 40px;
        letter-spacing: 4px;
    }
}

.utility .top-cover h1.title:before {
    content: '';
    display: block;
    position: absolute;
    top: 7px;
    bottom: 10px;
    left: 0;
    background-color: #eb1b2e;
    width: 5px;
}

@media only screen and (min-width: 40em) {
    .utility .top-cover h1.title:before {
        width: 10px;
    }
}

@media only screen and (min-width: 64em) {
    .utility .top-cover h1.title:before {
        width: 15px;
    }
}

.col-centered {
    float: none;
    margin: 0 auto;
}

.utility-holder {
    background-color: #fff;
    padding-bottom: 50px;
}

@media only screen and (min-width: 40em) {
    .utility-holder {
        padding-bottom: 100px;
        background-color: #f2f2f2;
    }
}

.cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(/images/tien-ich/cover-4c789c56f9803a82ce1b70cbc6801e72.jpg);
    height: 150px;
}

@media only screen and (min-width: 40em) {
    .cover {
        height: 240px;
    }
}

@media only screen and (min-width: 64em) {
    .cover {
        height: 300px;
    }
}

.utility-form {
    font-size: 0;
}

    .utility-form > .header,
    .utility-form .content {
        font-size: 13px;
    }

@media only screen and (min-width: 40em) {
    .utility-form > .header,
    .utility-form .content {
        font-size: 15px;
        padding: 20px;
        background-color: #fff;
    }
}

.utility-form > .header {
    margin: 20px 0 10px 0;
    text-transform: uppercase;
}

@media only screen and (min-width: 40em) {
    .utility-form > .header {
        margin: -70px 0 0 0;
        background-color: rgba(255,255,255,0.9);
    }
}

.utility-form > .header .title {
    margin: 0;
    font-weight: bold;
    font-size: 22px;
}

.mb-md {
    margin-bottom: 16px;
}

.form-label {
    min-height: 30px;
}

.lists {
    position: absolute;
    z-index: 888;
    background: #efefef;
    width: 100%;
    max-height: 40vh;
    overflow-y: auto;
}

    .lists li {
        cursor: pointer;
        padding: 10px;
        border-bottom: 1px solid #bcbec1;
    }

.thumb {
    margin-right: 20px;
}

.disabled {
    background: #d2d2d2;
    font-weight: bold;
}

.form-control-feedback {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.form-flat .form-control-feedback {
    right: 15px;
}

.icon-sprite {
    min-width: 10px;
    min-height: 10px;
    display: inline-block;
    background-image: url(/images/tien-ich/sprites-217c1df8ca014f09724f0b93fe76d020.svg);
    background-repeat: no-repeat;
}

.form-control-feedback {
    right: 10px;
    top: 20px;
}


.hover-line-bottom-animation {
    position: relative;
}

    .hover-line-bottom-animation:hover:after {
        width: 100%;
        background-color: #eb1b2e;
    }

    .hover-line-bottom-animation:after {
        content: '';
        width: 0;
        display: block;
        height: 1px;
        background-color: transparent;
        transition: width 0.3s ease-in-out;
        position: absolute;
        left: 0px;
        bottom: -1px;
    }

#btnSubmit:disabled {
    opacity: 0.5; /* Đặt độ mờ khi nút bị vô hiệu hóa */
}
