﻿body {
    font-family: 'Open Sans', sans-serif !important;
}

.no-gutters > .col, .no-gutters > [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

.pb-4 {
    margin-bottom: 3%;
}

.pl-3 {
    float: right;
    padding-right: 15px !important;
}

#RenderMobile {
    padding-left: 30px;
    padding-right: 30px;
}

#drawer .dx-drawer-wrapper .dx-drawer-panel-content {
    width: 100% !important;
    margin-left: 0px !important;
}

.Addbutton {
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    background-color: white;
    border: 1px solid #ddd;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 1px 2px;
    cursor: pointer;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    display: inline;
    vertical-align: middle;
    line-height: normal;
}

.HovermenuImga {
    text-align: center;
    margin-bottom: 0;
    padding: 12px;
    box-shadow: inset 0 -1px 0 rgb(38 50 56 / 10%);
}

    .HovermenuImga:focus, .HovermenuImga:hover {
        color: #fff;
        background-color: #ddd;
    }

.Hovermenu {
    text-align: left;
    margin-bottom: 0;
    padding: 12px;
    box-shadow: inset 0 -1px 0 rgb(38 50 56 / 10%);
}

    .Hovermenu:focus, .Hovermenu:hover {
        color: #fff;
        background-color: #ddd;
    }

.dx-header-row {
    background-color: #F36E2C;
    color: #FFFFFF
}

.dx-button-content:hover {
    background-color: #F36E2C;
    box-shadow: 1px 1px 10px #888888;
}

.dx-radiobutton-icon-dot:hover {
    background-color: #F36E2C;
}

.dx-radiobutton-icon-checked .dx-radiobutton-icon-dot {
    background-color: #F36E2C !important;
}

.dx-radiobutton.dx-state-focused:not(.dx-state-active) .dx-radiobutton-icon:before {
    border-color: #F36E2C !important;
}

.dx-radiobutton.dx-state-hover .dx-radiobutton-icon:before {
    border-color: #F36E2C !important;
}

.dx-state-hover {
    border-color: #F36E2C !important
}

.dx-calendar-cell.dx-calendar-selected-date.dx-calendar-contoured-date, .dx-calendar-cell.dx-calendar-selected-date.dx-calendar-today.dx-calendar-contoured-date {
    -webkit-box-shadow: inset 0 0 0 1px #bebebe, inset 0 0 0 1000px #F36E2C;
    box-shadow: inset 0 0 0 1px #bebebe, inset 0 0 0 1000px #F36E2C !important;
}

table th {
    /* background-color: #F36E2C !important;
            color: #FFFFFF !important*/
}

.dx-calendar-navigator .dx-calendar-caption-button.dx-button .dx-button-content {
    color: #F36E2C !important;
}

.dx-calendar-navigator-next-view.dx-button .dx-icon, .dx-calendar-navigator-next-month.dx-button .dx-icon {
    color: #F36E2C !important;
}

.dx-calendar-navigator-previous-view.dx-button .dx-icon, .dx-calendar-navigator-previous-month.dx-button .dx-icon {
    color: #F36E2C !important;
}

.dx-texteditor.dx-state-focused.dx-editor-filled,
.dx-texteditor.dx-state-active.dx-editor-filled,
.dx-texteditor.dx-state-focused.dx-editor-underlined,
.dx-texteditor.dx-state-active.dx-editor-underlined,
.dx-texteditor.dx-state-focused.dx-editor-outlined,
.dx-texteditor.dx-state-active.dx-editor-outlined {
    border-color: #F36E2C !important;
}

.dx-datebox-calendar .dx-dropdowneditor-icon:before {
    color: #F36E2C !important
}

.dx-treeview-item-with-checkbox.dx-state-focused > .dx-checkbox .dx-checkbox-icon {
    border-color: #F36E2C !important;
}

.dx-checkbox.dx-state-readonly .dx-checkbox-icon {
    border-color: #ccc !important;
}

#add-new {
    background-color: #F36E2C;
}

    #add-new .dx-button-content:hover {
        background-color: #d1720e !important;
        box-shadow: 1px 1px 10px #888888;
    }

#search {
    background-color: #F36E2C
}

    #search .dx-button-content:hover {
        background-color: #d1720e !important;
        box-shadow: 1px 1px 10px #888888;
    }

#save {
    background-color: #F36E2C
}

    #save .dx-button-content:hover {
        background-color: #d1720e !important;
        box-shadow: 1px 1px 10px #888888;
    }

#Save {
    background-color: #F36E2C
}

    #Save .dx-button-content:hover {
        background-color: #d1720e !important;
        box-shadow: 1px 1px 10px #888888;
    }

#Edit {
    background-color: #F36E2C
}

    #Edit .dx-button-content:hover {
        background-color: #d1720e !important;
        box-shadow: 1px 1px 10px #888888;
    }

.dx-datagrid .dx-header-filter-empty {
    color: #ccc !important;
}

.dx-checkbox-checked .dx-checkbox-icon {
    color: #F36E2C !important;
}

.dx-checkbox-icon:hover {
    border-color: #F36E2C;
}

.dx-checkbox.dx-state-hover .dx-checkbox-icon {
    border: 1px solid #F36E2C !important;
}

.dx-link.dx-icon-edit:hover:before {
    color: #d1720e !important
}

.dx-link.dx-icon-edit:before {
    color: #fb6e2c !important;
}

.dx-link.dx-icon-trash:hover:before {
    color: #514f4f !important;
}

.dx-link.dx-icon-trash:before {
    color: #949494 !important;
}

.box.box-primary {
    border-top-color: #dfdfdf !important;
}

.dx-datagrid .dx-header-row {
    height: 30px !important;
}

td[role=columnheader] {
    text-align: center !important;
    font-size: 14px !important;
}

input.dx-texteditor-input {
       height: 25px;
            font-size: 12px;
            min-height: 22px;
}

label {
    font-size: 12px;
    padding-top: 5px;
    margin-bottom: 0px;
}

table th, table td {
    font-size: 14px !important;
}

.dx-datagrid-headers {
    font-weight: bold;
}

.dx-datagrid .dx-row {
    padding: 4px;
}

.dx-widget {
    font-size: 12px;
}

.dx-button-has-text .dx-button-content {
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
}

.dx-datagrid .dx-row > td {
    padding: 3px;
}

.dx-datagrid-group-panel {
    font-size: 12px;
}

.dx-toolbar .dx-toolbar-items-container {
    height: 25px;
}

.content {
    padding-bottom: 5px;
    padding-top: 5px;
}

.content-header {
    padding-top: 1px;
    padding-bottom: 1px;
}

/*.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
                padding-right: 8px;
                padding-left: 8px;
            }*/
.dx-pager {
    padding-top: 2px;
    padding-bottom: 0px;
}

.box-body {
    padding-bottom: 3px;
}



/*nav {
    background: #484848;*/ /*tô màu cho menu cha*/
/*border-radius: 5px;*/ /* bo góc */
/*}

    nav ul {
        display: flex;
    }

    nav > ul li {
        list-style: none;*/ /* bỏ dấu chấm mặc định của li */
/* kẻ đường bên trái và bên phải của li */
/*border-right: 1px solid #ccc;
        border-left: 1px solid #333;
    }

        nav > ul li a {
            display: block;
            padding: 0 25px;
            line-height: 50px;
            color: #f1f2f3;
            text-decoration: none;
        }

    nav ul li > a {
        color: #333;
    }

    nav ul li:first-child {
        border-left: none;*/ /* bỏ đường kè trái của phần tử đầu tiên */
/*}

    nav > ul li:first-child a {
        border-bottom-left-radius: 5px;
        border-top-left-radius: 5px;
    }*/
/* Khi hover đến li, tô màu cho thẻ a */
/*nav ul li:hover > a {
                background: red;
                opacity: .7;
                color: yellow;
            }*/
/*menu con*/
/*Ẩn các menu con cấp 1,2,3*/
/*nav li ul {
        display: none;
        position: absolute;
        padding-left: 15px;
        list-style: none;*/
/*                border-style:groove;*/
/*}

    nav li > ul li {
        width: 190px;
        position: relative;
        border: none;
        border-bottom: 1px solid #ccc;
        background: #dfdfdf;
        text-align: left;
        align-items: center;
    }

        nav li > ul li:first-child a {
            border-bottom-left-radius: 0px;
            border-top-left-radius: 0px;
        }

        nav li > ul li:last-child {
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
        }

            nav li > ul li:last-child a {
                border-bottom-left-radius: 5px;
                border-bottom-right-radius: 5px;
            }*/
/*khi hover thì hiện menu con*/
/*nav li:hover > ul {
        display: block;
    }*/
/*Hiển thị menu con cấp 2,3,4 bên cạnh phải*/
/*nav > ul li > ul li > ul {
        margin-left: 352px;
        margin-top: -50px;
    }

.navbar-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 150px;
    background-color: #f1f1f1;
    align-items: center;
    position: absolute;
    text-align: center;
}

    .navbar-nav ul li a {
        display: block;
        color: #000;
        padding: 8px 16px;
        text-decoration: none;
    }

        .navbar-nav ul li a:hover {
            background-color: #f36d2b;
            color: white;
        }*/

.navbar-nav a {
    text-decoration: none;
}

.panel-list {
    margin-top: 5px;
    font-size: 16px !important;
}

.dx-submenu .dx-menu-item-text {
    font-size: 16px;
    font-weight: 400;
}

.dx-menu-item-popout {
    visibility: hidden;
}

.partial-menu-left .aside-logo {
    justify-content: space-between;
    align-items: center;
    padding: 12px 11px;
    margin: 0;
    height: 80px;
}

.partial-menu-left {
    height: 100%;
    min-height: 768px;
    width: 260px;
    box-shadow: 0 0 15px rgb(38 50 56 / 10%);
    position: relative;
    z-index: 9999999;
    background-color: #cacaca;
}

.top-bar-button {
    position: absolute;
    box-sizing: border-box;
    display: flex;
    align-items: normal;
    justify-content: left;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    transition: background-color .1s;
}

.ui-top-bar__item .ui-top-bar__item-controls {
    height: 100%;
    background-position: 50%;
    margin: 0;
}

.top-bar-button {
    margin-top: 8px;
    margin-left: 10px;
    width: 200px;
}

.ui-top-bar__item {
    padding: 0;
    position: relative;
}


.ui-button-menugen {
    display: none;
}

#layoutui {
    display: none;
}

.viewdrawerWeb {
    display: none !important;
}

.dx-submenu ul li {
    background-color: #dfdfdf !important;
    padding: 3px !important;
}

@media only screen and (max-width:767px) {

    #hideandshowCaption {
        display: none;
    }

    .ui-button-menugen {
        display: block;
    }

    .main-header > .navbar {
    }

    .ui-layout-mobile {
        display: block !important;
        z-index: 999999;
        top: 0;
        box-shadow: 0 0 15px rgb(38 50 56 / 10%);
    }

    .panel-list {
        margin-top: 5px;
        font-size: 16px !important;
        font-family: 'Open Sans', sans-serif !important;
    }

    .dx-submenu .dx-menu-item-text {
        font-size: 16px;
        font-family: "LibreBaskerville" !important;
        font-weight: 400;
    }

    .dx-treeview-toggle-item-visibility {
        margin-left: 200px !important;
    }

    .partial-menu-left ul li ul li {
        background-color: #cacaca;
    }

    .dx-menu-item-popout {
        visibility: visible;
    }

    .panel-list .dx-list-item .dx-icon {
        color: #fff !important;
    }

    .navbar-custom-menu .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
        line-height: 20px;
    }

    #drawermobie ul li ul {
        position: relative !important;
    }

    .dx-drawer-panel-content {
        width: 240px !important;
    }

    .aside-logo {
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 2px 2px;
        margin: 0;
        height: 70px;
    }

    #footer-mobile label {
        width: 100% !important;
    }

    #footer-mobileInfo {
        width: 100% !important;
    }


    .tq-logo {
        height: 120px;
        margin-top: -20px;
    }

    nav li > ul li {
        background: white;
    }

    .dx-datagrid {
        overflow: scroll !important;
    }

    .dx-toolbar-before {
        display: none !important;
    }

    .modal-lg {
        width: 90% !important;
        margin-top: 10px !important;
    }

    .modal-dialog {
        overflow-y: initial !important
    }

    .modal-body {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }

    .pl-3 {
        padding-bottom: 10px;
    }

    .navbar-nav ul {
        position: relative !important;
        padding-left: 30px !important;
        background-color: #ddd !important;
    }


    .content-header h1 {
        font-size: 18px !important;
    }

    #RenderMobile {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-inverse {
        border-color: white !important;
    }

    .navbar-toggle {
        border: none !important;
    }

    .textOfPassThrough {
        margin-top: 80px !important;
    }

    .no-gutters {
        margin-top: 10px !important;
    }

    .col-auto {
        margin-top: 10px !important;
    }
    /*    Css color-profile Reaon form Pause form skip
*/
    #textboxMinute {
        margin-left: 10% !important;
    }

    #note {
        margin-left: 7% !important;
    }

    .Popup-Assigment-mobile div {
        width: 100% !important;
        margin-top: 1px !important;
    }

    .Popup-Assigment-mobile {
        width: 100% !important;
        margin-top: 1px !important;
    }

    #PopupCancel {
        margin-left: 0px !important;
        margin-top: 15px !important;
    }

    .viewdrawerWeb {
        display: none !important;
    }

    #PopupUnAssign {
        margin-left: 0px !important;
        margin-top: 15px !important;
    }

    #PopupSendQuickPick {
        margin-top: 15px !important;
    }

    #PopupLoadSharing {
        margin-top: 15px !important;
    }
}

@media (min-width:1024px) and (max-width:1199px) {

    #note {
        margin-left: 7% !important;
    }

    #textboxMinute {
        margin-left: 10% !important;
    }
}

@media (min-width:813px) and (max-width:1024px) {
    .panel-list {
        margin-top: 5px;
        font-size: 13px !important;
        font-family: 'Open Sans', sans-serif !important;
    }

    .dx-submenu .dx-menu-item-text {
        font-size: 13px;
        font-family: "LibreBaskerville";
        font-weight: 400;
    }

    .main-header .logo {
        width: 170px;
    }

    .main-header > .navbar {
        margin-left: 170px;
    }

    .textOfPassThrough {
        margin-top: 80px !important;
    }

    .no-gutters {
        margin-top: 10px !important;
    }

    .col-auto {
        margin-top: 10px !important;
    }
    /*    Css color-profile Reaon form Pause form skip
*/
    #textboxMinute {
        margin-left: 10% !important;
    }
}

@media (min-width: 768px) and (max-width:812px) {
    #hideandshowCaption {
        display: none !important;
    }

    .panel-list {
        margin-top: 5px;
        font-size: 11.5px !important;
        font-family: 'Open Sans', sans-serif !important;
    }

    .dx-submenu .dx-menu-item-text {
        font-size: 10px;
        font-family: "LibreBaskerville";
        font-weight: 400;
    }

    .main-header .logo {
        width: 0px;
    }

    .main-header > .navbar {
        margin-left: 1px;
    }

    .container {
        width: 700px !important;
    }

    .textOfPassThrough {
        margin-top: 80px !important;
    }

    .no-gutters {
        margin-top: 10px !important;
    }

    .col-auto {
        margin-top: 10px !important;
    }
    /*    Css color-profile Reaon form Pause form skip
*/
    #textboxMinute {
        margin-left: 10% !important;
    }

    .breadcrumb_SubBranchName {
        margin-top: 30px !important;
    }

    #PopupUnAssign {
        margin-left: 0px !important;
    }
}

@media (min-width: 768px) and (max-width:1025px) {

    .modal-dialog {
        overflow-y: initial !important
    }

    .modal-body {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }

    .modal-lg {
        width: 90% !important;
        margin-top: 10px !important;
    }

    .textOfPassThrough {
        margin-top: 80px !important;
    }

    .no-gutters {
        margin-top: 10px !important;
    }

    .col-auto {
        margin-top: 10px !important;
    }
    /*    Css color-profile Reaon form Pause form skip
*/
    #textboxMinute {
        margin-left: 10% !important;
    }
}
