﻿/* var*/
html {
    --vs-primary: 41,98,255;
    --vs-success: 54,190,166;
    --vs-danger: 246,45,81;
    --vs-warning: 255,188,52;
    --vs-dark: 33,37,41;
}
.form-product .form-group{
    margin-bottom:15px;
}

.d-input, .d-input-text {
    align-items: center;
    color: inherit;
    display: flex;
    margin-bottom: 8px;
    min-height: inherit;
    position: relative;
    transition: .3s cubic-bezier(.25,.8,.5,1);
    width: 100%;
    position: relative;
}

.d-input-text {
    padding: 0 0 0 10px;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

    .d-input-text.d-input-active {
        border: 1px solid rgb(25,118,210);
    }

    .d-input-text.d-input-has-value {
        border: 1px solid  #ced4da;
    }

    .d-input-text > i {
        font-size: 18px;
        height: 24px;
        width: 24px;
        display: block;
        justify-content: center;
        letter-spacing: normal;
        line-height: 24px;
        position: relative;
        text-indent: 0;
        transition: .3s;
        margin-right:8px;
    }
    .d-input-text > a.link-icon {
        height: 24px;
        width: 24px;
        display: block;
    }
        .admin .d-input-text > i {
    margin:0;
    font-size:15px;
}
    .d-input-inner {
    display: flex;
    flex: 1 1 auto;
    position: relative;
    align-items: center;
}
        .d-input-inner .input-wrap{
            width:100%;
        }
        .d-input-inner .InputDM_Contain > .select2-container {
            margin-bottom: 0 !important;
          
        }
.d-input-inner .select2-container--default .select2-selection--multiple {
    background-color: white;
    border: none !important;
    cursor: text;
    padding: 0 !important;
    margin: 0 !important;
}
        .d-input-inner .select2-container .select2-search--inline .select2-search__field {
            margin-top: 0 !important;
        }

        .d-input-inner label, .d-input-inner .d-input-label {
            left: 10px;
            right: auto;
            position: absolute;
            top: 7px;
            transform-origin: top left;
            max-width: 90%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            pointer-events: none;
            font-size: 15px;
            z-index: 9;
            margin: 0;
        }
        .d-input-inner .form-control:focus {
            color: #5c6873;
            background-color: #fff;
            border-color: #8ad4ee;
            outline: 0;
            box-shadow: none;
        }
.admin .redfont{
    font-weight:600;
    color:#f00;
}
.admin .d-input-inner label, .admin .d-input-inner .d-input-label {
    left: 6px;
    top: 6px;
    padding: 0 3px;
}
        .d-input-inner label > span.hide {
        display:none;
    }

.d-input-inner .content-tag {
    width: 100%;
    border: none !important;
}
.d-input-active i {
    color: rgb(25,118,210);
}

 .d-input-active label, .d-input-has-value label, .d-input-has-value .d-input-label, .d-input-active .d-input-label {
    left: -28px;
    right: auto;
    position: absolute;
    transform: translateY(-15px) scale(0.75);
    background: #fff;
    padding: 0 15px;
    line-height: 1.2;
    color: rgb(25,118,210);
    z-index: 9;
    margin: 0;
    display: flex;
    flex-shrink: 0;
    flex-grow: 1;
}

.d-input-inner .select2-container {
    border:none !important;
    margin-right: 0px !important;
    margin-bottom: 0px !important;
    width:100%;
}
.d-input-icon{
    font-style:normal;
}

.d-input-inner .select2-container--default .select2-selection--single {
    border: none !important;
    margin-right: 0px !important;
    margin-bottom: 0px !important;
}
.admin .d-input-inner input, .admin .d-input-inner select {
    color: #5c6873;
}
.admin .d-input-inner .d-input-label {
    left: -28px;
    right: auto;
    position: absolute;
    transform: translateY(-15px) scale(0.75);
    background: #fff;
    padding: 0 5px;
    line-height: 1.2;
    color: rgb(25,118,210);
    z-index: 9;
    margin: 0;
    display: flex;
    flex-shrink: 0;
    flex-grow: 1;
}

.d-input-mark {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #b4b4b445;
    top: 0;
    left: 1px;
    z-index: 9;
    cursor: pointer;
}

.d-input-has-value label {
    color: #ced4da;
}
.d-input-inner input[type="text"]:disabled {
    background: #fff;
    color: #428bca;
    border: none !important;
}
.d-input-inner input, .d-input-inner select {
    flex: 1 1 auto;
    line-height: 2;
    font-size: 16px;
    padding: 2px 0 3px;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    background-color: transparent;
    border-style: none !important;
    border: none !important;
    /* max-height: 32px; */
    color: rgba(0,0,0,.87);
    height: 35px;
    padding: 5px;
    position:relative;
    z-index:8;
}
.d-input-inner i ~ select {
    width: calc(100% - 50px) !important;
    border: none !important;
}
.d-input-inner .captcha-imei {
    position: absolute;
    width: 65px !important;
    color: darkred !important;
    line-height:21px !important;
    right:0;
}
.d-input-inner .refreshCaptcha {
    position: absolute;
    right: 70px;
}

.d-input-inner input:-webkit-autofill,
.d-input-inner input:-webkit-autofill:hover,
.d-input-inner input:-webkit-autofill:focus,
.d-input-inner input:-webkit-autofill:active,
.d-input-inner select:-webkit-autofill,
.d-input-inner select:-webkit-autofill:hover,
.d-input-inner select:-webkit-autofill:focus,
.d-input-inner select:focus,
.d-input-inner input:focus {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    background-color: white !important;
    outline: none !important;
    box-shadow: none !important;
}
/*input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    background-color: rgb(255, 255, 255) !important;
    background-image: none !important;
    color: rgb(0, 0, 0) !important;

}*/
/*    .d-input-inner input:-internal-autofill-selected {
        background-color: red !important;
    }*/
.popup {
    display: none;
    background: #fff;
    border-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    pointer-events: auto;
    transition: .3s cubic-bezier(.25,.8,.25,1);
    z-index: inherit;
    box-shadow: 0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);
    position: relative;
    padding: 16px;
    margin: 0 auto;
}

    .popup.form-login {
        transform-origin: center center;
        max-width: 450px;
        transform-origin: center center;
        padding: 30px;
        padding-top: 10px;
    }

    .popup .headerTitle {
        height: 70px;
        margin-left: auto;
        margin-right: auto;
        padding: 15px 0;
        margin-top: 10px;
    }

        .popup .headerTitle h2 {
            font-size: 23px;
            font-weight: bold;
            color: #31954C;
            margin-left: 30px;
        }

#formRegister .headerTitle h2 {
    color: #ED3C2A !important;
}

.accountInfo {
    padding: 0 30px;
}

    .accountInfo table {
        border-collapse: collapse;
        border: none;
    }

        .accountInfo table tr td {
            padding: 4px;
            font-size: 14px;
            border: none;
            text-align: center;
        }

            .accountInfo table tr td .form-control {
                width: 250px;
                border: 1px solid #CCCCCC;
                color: #666666;
                height: 35px;
                border-radius: 5px;
                font-size: 16px;
                padding: 5px;
            }

element.style {
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

/*button, input[type="submit"], input[type="button"], input[type="reset"] {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 14px;
    font-weight: 500;
    padding: 11px 37px 11px;*/
    /* border: 2px solid transparent; */
    /*border-radius: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    cursor: pointer;
    outline: none !important;
    -webkit-font-smoothing: antialiased;
}*/

.button-register {
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    color: #FFFFFF !important;
    font-size: 20px !important;
    background: url(/assets/Images/bgdangky.jpg) no-repeat;
    color: #fff !important;
    width: 174px;
    height: 49px;
    font-weight: bold;
}

.control__indicator {
    position: absolute;
    top: -1px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
}

.control--radio .control__indicator {
    border-radius: 50%;
}

.control:hover input ~ .control__indicator, .control input:focus ~ .control__indicator {
    background: #ccc;
}

.control input:checked ~ .control__indicator {
    background: #2aa1c0;
}

.control:hover input:not([disabled]):checked ~ .control__indicator, .control input:checked:focus ~ .control__indicator {
    background: #0e647d;
}

.control input:disabled ~ .control__indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}

.control__indicator:after {
    content: '';
    position: absolute;
    display: none;
}

.control input:checked ~ .control__indicator:after {
    display: block;
}

.control--checkbox .control__indicator:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.control--checkbox input:disabled ~ .control__indicator:after {
    border-color: #7b7b7b;
}

.control--radio .control__indicator:after {
    left: 7px;
    top: 7px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #fff;
}

.control--radio input:disabled ~ .control__indicator:after {
    background: #7b7b7b;
}

.popup {
    display: none;
}

.popup-bg {
    width: 600px;
    min-height: 260px;
    border-radius: 6px;
    padding: 10px;
    background: #f7f7f7;
    z-index: 9999 !important;
}

.btnMoz {
    min-width: 130px;
    height: 40px;
    background: linear-gradient(to bottom, #4eb5e5 0%,#389ed5 100%);
    border: none;
    border-radius: 5px;
    position: relative;
    border-bottom: 4px solid #2b8bc6;
    color: #fbfbfb;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 1px 1px 1px rgba(0,0,0,.4);
    font-size: 15px;
    text-align: left;
    text-indent: 5px;
    box-shadow: 0px 3px 0px 0px rgba(0,0,0,.2);
    cursor: pointer;
    display: block;
    margin: 0 auto;
    line-height: 40px;
    padding-left: 15px;
    display: inline-block;
}

    .btnMoz:active {
        box-shadow: 0px 2px 0px 0px rgba(0,0,0,.2);
        top: 1px;
    }

    .btnMoz:after {
        content: "";
        width: 0;
        height: 0;
        display: block;
        border-top: 20px solid #187dbc;
        border-bottom: 20px solid #187dbc;
        border-left: 16px solid transparent;
        border-right: 20px solid #187dbc;
        position: absolute;
        opacity: 0.6;
        right: 0;
        top: 0;
        border-radius: 0 5px 5px 0;
    }

    /* .btnMoz pointing left */
    .btnMoz.btn_green {
        background: linear-gradient(to bottom, #31954c 0%,#388e3c 100%);
        border-bottom: 4px solid #31954c;
        color:#fff !important;
    }
        .btnMoz.btn_green:hover {
            color: rgba(0,0,0,.18) !important;
            opacity:.8;
        }

        .btnMoz.btn_green:after {
            border-top: 20px solid #0e234c;
            border-bottom: 20px solid #0e234c;
            border-left: 16px solid transparent;
            border-right: 20px solid #0e234c;
        }
    .btnMoz.btn1 {
        background: linear-gradient(to bottom, #295EC6 0%,#114579 100%);
        border-bottom: 4px solid #0e234c;
    }
        .btnMoz.btn1:after {
            border-top: 20px solid #0e234c;
            border-bottom: 20px solid #0e234c;
            border-left: 16px solid transparent;
            border-right: 20px solid #0e234c;
        }
        .btnMoz.btn2 {
    background: linear-gradient(to bottom, #dc871e 0%,#d5a538 100%);
    border-bottom: 4px solid #84310a;
}
    .btnMoz.btn2:after {
        border-top: 20px solid #84310a;
        border-bottom: 20px solid #84310a;
        border-left: 16px solid transparent;
        border-right: 20px solid #84310a;
    }

    .btnMoz.btn4 {
        background: linear-gradient(to bottom, #ed3c2a 0%,#a01e29 100%);
        border-bottom: 4px solid #7d0c0c;
    }
    .btnMoz.btn4:after {
        border-top: 20px solid #84310a;
        border-bottom: 20px solid #84310a;
        border-left: 16px solid transparent;
        border-right: 20px solid #84310a;
    }
    .btnMoz.back {
        text-align: right;
        padding-right: 12px;
        box-sizing: border-box;
    }

        .btnMoz.back:after {
            content: "";
            width: 0;
            height: 0;
            display: block;
            border-top: 20px solid #187dbc;
            border-bottom: 20px solid #187dbc;
            border-right: 16px solid transparent;
            border-left: 20px solid #187dbc;
            position: absolute;
            opacity: 0.6;
            left: 0;
            top: 0;
            border-radius: 5px 0 0 5px;
        }

    /* Single .btnMozs */

.form-login .btnMoz {
    margin-bottom:15px;
}

    .btnMoz.site {
        width: 40px;
        text-align: center;
        text-indent: 0;
    }

        .btnMoz.site:after {
            display: none;
        }

#formRegister .headerTitle h2 {
    font-size: 23px;
    font-weight: bold;
    color: #31954C;
    margin-left: 30px;
}
.text-dangky {
    color: #ff5200;
}

.btn-fix {
    display: inline-block;
    font-weight: 400;
    color: #23282c;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.275rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 2px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-green, .btn-new, .btn-refresh {
    background-color: #388e3c !important;
    color: #fff !important;
}

    .btn-green:hover, .btn-new:hover, .btn-refresh:hover {
        background-color: #3fa044;
    }

    .btn-green.focus,
    .btn-green:focus, .btn-new:focus, .btn-refresh:focus {
        -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
        box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
    }

    .btn-green.active, .btn-green:active, .btn-green:focus {
        background-color: #1b451d;
    }

    .btn-green.dropdown-toggle {
        background-color: #388e3c !important;
    }

        .btn-green.dropdown-toggle:focus, .btn-green.dropdown-toggle:hover {
            background-color: #3fa044 !important;
        }

    .btn-green:not([disabled]):not(.disabled).active, .btn-green:not([disabled]):not(.disabled):active, .show > .btn-green.dropdown-toggle {
        -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
        box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
        background-color: #1b451d !important;
    }

        .btn-green:not([disabled]):not(.disabled).active:focus, .btn-green:not([disabled]):not(.disabled):active:focus, .show > .btn-green.dropdown-toggle:focus {
            -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
            box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
        }


.product-tool {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 140px;
    z-index:999;
}
.product-tool > a {
    float: right;
    width: 130px;
    background: #ccc;
    text-align: left;
    margin: 5px 0;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor:pointer;
}
    .product-tool ul {
        display: none;
        position:absolute;
        top: 0px;
        right:150px;
        border: 1px solid dashed;
        padding:10px;
        text-align:right;
        width:400px;
        height:31px;
    }
    .product-tool ul li{
        display:inline-block;
        float:right;
    }

/***^Checkbox***/

.d-checkbox-wrap {
    position: relative;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    margin-left: 5px;
    margin-right: 5px;
    align-items: center;
}
.cbo-login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-checkbox-wrap.d-checkbox-small .d-checkbox {
    width: 15px;
    height: 15px;
    border: 1px solid #d3dae7; /* rgb(180, 180, 180);*/
}

        .d-checkbox-wrap.d-checkbox-small .d-checkbox .d-checkbox--icon {
            font-size: .7rem
        }

    .d-checkbox-wrap.d-checkbox-large .d-checkbox {
        width: 24px;
        height: 24px
    }

.d-checkbox--input {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    z-index: 200;
    cursor: pointer;
    background: #55d775
}

    .d-checkbox--input:disabled {
        cursor: default;
        pointer-events: none
    }

        .d-checkbox--input:disabled + .d-checkbox {
            opacity: .5;
            cursor: default;
            pointer-events: none
        }

            .d-checkbox--input:disabled + .d-checkbox .d-checkbox--check {
                cursor: default;
                pointer-events: none
            }

    .d-checkbox--input:active:checked + .d-checkbox .d-checkbox--check {
        -webkit-transform: translate(3px);
        transform: translate(3px)
    }

    .d-checkbox--input:active:checked + .d-checkbox .d-icon {
        -webkit-transform: translate(6px);
        transform: translate(6px)
    }

    .d-checkbox--input:checked + .d-checkbox {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

        .d-checkbox--input:checked + .d-checkbox .d-checkbox--check, .d-checkbox--input:checked + .d-checkbox .d-icon {
            -webkit-transform: translate(0);
            transform: translate(0)
        }

        .d-checkbox--input:checked + .d-checkbox .d-icon {
            opacity: 1;
            color: #fff;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex
        }

        .d-checkbox, .d-checkbox--input:checked + .d-checkbox .d-icon {
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center
        }

.d-checkbox {
    cursor: pointer;
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: 5px
}

.d-checkbox, .d-checkbox--check {
    -webkit-transition: all .2s ease;
    transition: all .2s ease
}

.d-checkbox--check {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    -webkit-transform: translate(100%);
    transform: translate(100%);
    -webkit-transform-origin: right;
    transform-origin: right;
    z-index: 10
}

.d-icon {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    z-index: 100;
    font-size: 1.125em;
    opacity: 0;
    -webkit-transform: translate(30px);
    transform: translate(30px);
    -webkit-transform-origin: center;
    transform-origin: center
}

.d-checkbox-primary .d-checkbox--check {
    background: rgba(var(--vs-primary),1)
}

.d-checkbox-primary .d-checkbox {
    border: 2px solid #b4b4b4
}

.d-checkbox-primary input:checked + .d-checkbox {
    border: 2px solid rgba(var(--vs-primary),1) !important
}

.d-checkbox-secondary .d-checkbox--check {
    background: rgba(var(--vs-secondary),1)
}

.d-checkbox-secondary .d-checkbox {
    border: 2px solid #b4b4b4
}

.d-checkbox-secondary input:checked + .d-checkbox {
    border: 2px solid rgba(var(--vs-secondary),1) !important
}

.d-checkbox-danger .d-checkbox--check {
    background: rgba(var(--vs-danger),1)
}

.d-checkbox-danger .d-checkbox {
    border: 2px solid #b4b4b4
}

.d-checkbox-danger input:checked + .d-checkbox {
    border: 2px solid rgba(var(--vs-danger),1) !important
}

.d-checkbox-success .d-checkbox--check {
    background: rgba(var(--vs-success),1)
}

.d-checkbox-success .d-checkbox {
    border: 2px solid #b4b4b4
}

.d-checkbox-success input:checked + .d-checkbox {
    border: 2px solid rgba(var(--vs-success),1) !important
}

.d-checkbox-warning .d-checkbox--check {
    background: rgba(var(--vs-warning),1)
}

.d-checkbox-warning .d-checkbox {
    border: 2px solid #b4b4b4
}

.d-checkbox-warning input:checked + .d-checkbox {
    border: 2px solid rgba(var(--vs-warning),1) !important
}

.d-checkbox-dark .d-checkbox--check {
    background: rgba(var(--vs-dark),1)
}

.d-checkbox-dark .d-checkbox {
    border: 2px solid #b4b4b4
}

.d-checkbox-dark input:checked + .d-checkbox {
    border: 2px solid rgba(var(--vs-dark),1) !important
}

.d-checkbox-light .d-checkbox--check {
    background: rgba(var(--vs-light),1)
}

.d-checkbox-light .d-checkbox {
    border: 2px solid #b4b4b4
}

.d-checkbox-light input:checked + .d-checkbox {
    border: 2px solid rgba(var(--vs-light),1) !important
}
/***!Checkbox***/

.product-tool {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 140px;
    z-index: 999;
}

    .product-tool > a {
        float: right;
        width: 130px;
        background: #ccc;
        text-align: left;
        margin: 5px 0;
        color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        cursor: pointer;
    }

    .product-tool ul {
        display: none;
        position: absolute;
        top: 0px;
        right: 150px;
        border: 1px solid dashed;
        padding: 10px;
        text-align: right;
        width: 400px;
        height: 31px;
    }

        .product-tool ul li {
            display: inline-block;
            float: right;
        }

