﻿
html {
  font-size: 18px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    z-index: 13
}

.navbar-m {
    left: 0 !important
}
.nav-m-sub {
    overflow: hidden;
    height: 0;
    transition: height .3s ease-in-out
}

    .nav-m-sub .nav-link {
        padding-left: 25px;
    }

.navbar-m .nav-item.active > .nav-link {
    background: #7367f0;
    color: #fff !important
}

.navbar-m .nav-item.active > .nav-m-sub {
    height: auto
}

.nav-m-sub > .nav-link.active {
    background: none !important
}

.nav-link{
    cursor: pointer;
    color: #333;
    font-weight: 400;
    position: relative;
    display:block;
    padding: 12px 15px;
    transition:  all .3s ease-in-out
}

.nav-link:hover, .nav-link.active {
    background: rgb(246 246 246 / 0.50);
    color: #f21e4e !important;
}

.nav-sub {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05) !important
}


@media (min-width:768px){
    .navbar-nav .nav-link {
        padding: 24px 15px !important
    }
    .nav-item.active .dropdown {
        background: none !important;
        color: #f21e4e !important
    }

    .sub-item .item.active {
        color: #fff !important;
        background: #7367f0;
    }
        .nav-link:hover, .nav-link.active {
            background: none !important
        }

}
.ico-menu {
    cursor: pointer;
    padding: 16px 10px
}


[data-dropdown].active .ico-menu{
    background:rgb(246 246 246 / 0.50) !important
}
.ico-menu:hover div span, [data-dropdown].active .ico-menu div span {
    width: 100% !important
}

    .ico-menu div {
        text-align: left;
        display: block;
        width: 35px;
        height: 2px;
        background: #dd9173;
        margin-bottom: 8px;
    }

        .ico-menu div span {
            position: absolute;
            transition: width .3s ease-in;
            left: 0;
            top: 0;
            height: 2px;
            background: #98381e
        }

        .ico-menu div:first-child {
            margin-top: 8px;
        }

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}


.footer-fixed {
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.footer {
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.day, .month{
    width: 120px !important;
}
.year{
    width: 180px !important;
}

.hour{
    width: 220px !important;
}

/*Form*/
[data-dropdown] .sub-item {
    border-radius: 5px;
    overflow: hidden;
    position: fixed;
    background: #fff;
    width: 180px;
    z-index: 10001;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    height: 0;
    transition: height 0.3s ease-out
}

    [data-dropdown] .sub-item.show {
        height: auto;
    }

[data-dropdown].active > .dropdown {
    background: rgb(222 222 222)
}

[data-dropdown] .sub-item .item {
    transition: .3s all ease-in-out;
    padding: 10px 15px;
    color: #333
}

    [data-dropdown] .sub-item .item:hover {
        background-color: rgb(243, 242, 241)
    }

.main-wrapper {
    padding: 120px 20px 0 20px;
}

.card-body {
    border-radius: 8px;
    padding: 20px 0;
    margin: 0 15px 30px 15px;
    background: white;
    box-shadow: 0 4px 24px 0 rgb(34 41 47 / 10%);
    height: calc(100% - 30px)
}

.card-text {
    font-size: .8rem;
    margin-bottom: 5px
}


/*Form Input*/
.btn {
    cursor: pointer;
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 400;
    font-size: .9rem;
    color: white
}

    .btn.disabled {
        background: rgb(64 55 142 / 0.80) !important
    }

.btn-primary:hover {
    -webkit-box-shadow: 0 8px 25px -8px #7367f0;
    box-shadow: 0 8px 25px -8px #7367f0;
}

.btn-primary {
    border-color: #7367f0;
    background-color: #7367f0;
    transition: all .3s ease-in
}


[data-style] .form-control {
    padding: .438rem 1rem;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d8d6de;
    border-radius: .357rem;
}

    [data-style] .form-control:focus, .form-group input[type=text]:focus, .con-aselect.active .aselect {
        background-color: #fff;
        border-color: #7367f0;
        -webkit-box-shadow: 0 3px 10px 0 rgb(34 41 47 / 10%);
        box-shadow: 0 3px 10px 0 rgb(34 41 47 / 10%);
    }

.form-control:focus {
    color: #6e6b7b;
    outline: 0;
}

.form-control:hover {
    cursor: text;
}

.form-control {
    display: block;
    width: 100%;
    height: 2.714rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.45;
    color: #6e6b7b;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.form-header, .form-header-1 {
    padding: 0 20px
}

.form-header-1 {
    margin-bottom: 30px
}

    .form-header-1 h4 {
        margin-top: 25px;
        font-weight: 600;
        font-size: .9rem
    }

    .form-header-1 .des {
        color: #b9b9c3;
        font-weight: 400;
        font-size: .85rem
    }

.form-group {
    margin-bottom: 10px;
    padding: 0 20px
}

    .form-group label {
        font-size: .85rem;
        margin-bottom: 5px
    }

    .form-group .invalid, .form-group .invalid:focus {
        border-color: #ea5455;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23ea5455'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23ea5455' stroke='none'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: 20px;
        background-position: right 0.4rem center;
    }

    .form-group input, .form-group .aselect {
        font-size: .85rem;
        padding: .438rem 1rem;
        height: 38px;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #d8d6de;
        border-radius: .357rem;
        -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
        transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out
    }

        .form-group input[type=text], .form-group .aselect {
            cursor: text;
            width: 100%;
        }
          .form-group input[type=checkbox]{
              width:25px;
              height: 25px;
              margin: 0 15px 0 0 ;
          }
   .con-aselect .hide {
    display: none
}

.aselect {
    background: #fff !important;
    cursor: pointer !important
}

    .aselect .icon {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        transition: .3s all ease-in-out;
        color: #6e6b7b
    }

.con-aselect.active > .aselect > .icon {
    transform: translateY(-50%) rotate(180deg)
}

.a-s-sub {
    margin-top: 10px;
    max-height: 250px
}

    .a-s-sub .a-search {
        padding: 10px
    }

        .a-s-sub .a-search input:focus {
            border-color: #6e6b7b
        }

    .a-s-sub .a-option {
        font-size: .85rem;
        padding: 10px 15px;
        cursor: default;
        transition: all .3s ease-in-out
    }

    .a-s-sub .a-option-group {
        padding: 10px 15px;
        font-weight: 600;
        cursor: default
    }

.a-option-group ~ .a-option {
    padding-left: 25px !important
}

.a-s-sub .a-option:hover {
    color: #7367f0;
    background: #eeedfd
}

.a-s-sub .a-option.active {
    color: white;
    background: #7367f0
}

.invalid-feedback {
    display: none;
    font-size: .85rem;
    color: #ea5455;
}

/*Kinh dich*/
.queDraw{
    width: 100%;
    padding: 0 20%;
}
.vach-c{
    width: 100%;
    margin: 30px 0;
}
.vach{
    background: #13161a;
    height: 15px;
    border-radius: 4px;
}

.vach-c.active .vach{
    background: #f8671d;
}

.am {
    width: 46%;
}

.duong{
    width: 100%;
}

/*Loading*/

.loader,
.loader:after {
    margin-right: 10px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.loader {
    position: relative;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-left: 2px solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
