/*
CTC Separate Stylesheet
Updated: 2023-03-28 07:51:34
*/
.gf_step .gf_step_number {
    cursor: pointer;
}

.zo-hide {
    display: none !important;
}

fieldset {
    border: 0
}

.content-field.--fullwidth {
    flex: 1 1 100%;
    flex-direction: column;
    align-items: flex-start;
}

#zoSidebar .elementor-nav-menu--dropdown ul li a {
    justify-content: space-between
}

#zoSidebar .elementor-nav-menu--dropdown ul li a svg {
    fill: white;
}

#zoSidebar .elementor-icon-list-item>a {
    padding: 0 20px;
    transition: all ease 0.5s;
    line-height: 50px;
}

#zoSidebar .elementor-icon-list-item.active>a,
#zoSidebar .elementor-icon-list-item>a:hover {
    background-color: var(--e-global-color-primary);
}

#zoSidebar .elementor-icon-list-item.active>a span.elementor-icon-list-text,
#zoSidebar .elementor-icon-list-item>a:hover span.elementor-icon-list-text {
    color: #333;
    font-weight: 500;
}

#zoSidebar .elementor-icon-list-item.active>a span.elementor-icon-list-icon svg,
#zoSidebar .elementor-icon-list-item>a:hover span.elementor-icon-list-icon svg {
    fill: #333;
}

#site-footer,
#site-header {
    display: none !important;
}

#zoContent .elementor-widget-theme-post-content>.elementor-widget-container>.rwmb-form {
    max-width: 600px;
    box-shadow: 0 0 15px rgb(0 0 0 / 15%);
    padding: 20px;
    border-radius: 5px;
}

.dashboard-nav li a {
    display: flex;
    padding-left: 60px !important;
}

.dashboard-nav li a:hover:not(.elementor-item-active, .highlighted, .current_page_parent) {
    color: #fff !important;
    background-color: #2f3a41 !important;
    padding-left: 60px !important;
    cursor: pointer;
}

.dashboard-nav li a::before {
    display: inline-block;
    left: 25px !important;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    opacity: 1 !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #fff;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.dashboard-nav li .elementor-item-active::before,
.current_page_parent .has-submenu::before {
    color: #000;
}

.elementor-sub-item.elementor-item-active,
.elementor-sub-item.elementor-item-active:hover,
.elementor-sub-item.elementor-item-active:focus {
    border-left: 8px solid #F7D033;
}

.dashboard-nav li a:hover::before {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.elementor-sub-item {
    color: #dbdbdb !important;
}

.elementor-sub-item.elementor-item-active {
    font-weight: bold;
}

.elementor-sub-item.elementor-item-active,
.highlighted:not(.elementor-item-active, .current_page_parent),
.highlighted+ul {
    color: #fff !important;
    background-color: #050606 !important;
}

.sub-arrow i {
    transition: transform 0.1s ease-in;
}

.highlighted .sub-arrow i {
    transform: rotate(90deg);
    transition: transform 0.1s ease-in;
}

.has-submenu+ul {
    padding: 0px 0px 12px 0px !important;
}

/* .current-menu-ancestor, .current-menu-ancestor:hover, .current-menu-ancestor.highlighted{
    color: #000 !important;
    background-color: #F7D033 !important;
} */
.current_page_parent .has-submenu,
.current_page_parent .has-submenu:hover:not(.current_page_parent.highlighted) {
    color: #000 !important;
    background-color: #F7D033 !important;
}

.elementor-item-active {
    color: #000 !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

/* add icon */
.dashboard-nav .menu-item>a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.dashboard-nav .menu-item-531>a::before {
    content: "\f009";
}

.dashboard-nav .menu-item-528>a::before {
    content: "\f07a";
}

.dashboard-nav .menu-item-526>a::before {
    content: "\f571";
}

.dashboard-nav .menu-item-524>a::before {
    content: "\f594";
}

.dashboard-nav .menu-item-520>a::before {
    content: "\f508";
}

.dashboard-nav .menu-item-522>a::before {
    content: "\f072";
}

.dashboard-nav .menu-item-518>a::before {
    content: "\f0c0";
}

.dashboard-nav .menu-item-517>a::before {
    content: "\f1fe";
}

.dashboard-nav .menu-item-819>a::before {
    content: "\f507";
}

.dashboard-nav .menu-item-1171>a::before {
    content: "\f2e7";
}

.dashboard-nav .menu-item-1234>a::before {
    content: "\f14e";
}

/* Custom gform */
.gform_wrapper.gravity-theme input[type="color"],
.gform_wrapper.gravity-theme input[type="date"],
.gform_wrapper.gravity-theme input[type="datetime-local"],
.gform_wrapper.gravity-theme input[type="datetime"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="month"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="password"],
.gform_wrapper.gravity-theme input[type="search"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="time"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="week"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
    font-size: 16px !important;
    padding: 8px 12px !important;
    height: 44px;
}

/* .gform_wrapper.gravity-theme .gsection::after{
    content: "";
    flex: 1 1 auto;
    height: 2px;
    background-color: #ccc;
} */
.gform_wrapper.gravity-theme .gfield {
    margin-bottom: 12px;
}

.gform_wrapper.gravity-theme .gsection {
    border-bottom: unset !important;
    border-left: 8px solid #ccc;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0 6px 16px !important;
    margin: 0 0 26px 0;
}

.gform_wrapper.gravity-theme .gsection:not(.gsection:first-child) {
    margin-top: 16px;
}

.gform_wrapper.gravity-theme .gsection .gsection_title {
    margin: unset !important;
    font-size: 20px !important;
}

.gfield_radio {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    margin-top: 8px;
}

.gchoice {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.mce-toolbar {
    padding: 4px !important;
}

.mce-toolbar button {
    background-color: unset !important;
}

.mce-toolbar button:hover {
    color: #000 !important;
}

.wp-editor-container {
    border-radius: 3px;
}

.ginput_container_fileupload button {
    color: #fff !important;
    background-color: #333 !important;
}

.ginput_container_fileupload button:hover {
    background-color: #565656 !important;
}

.gform_wrapper.gravity-theme .gfield_description {
    font-size: 12px !important;
    color: #808080 !important;
    padding-top: 6px !important;
}

.gform_wrapper.gravity-theme .ginput_container_date input {
    flex: 1 1 auto;
}

.ginput_container_date {
    position: relative;
}

.ui-datepicker-trigger {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
}

/* Customize the label (the checkbox-container) */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    transform: translateY(-50%);
    border-radius: 4px;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked~.checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 9px;
    top: 25%;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.gform_drop_area .gform_button_select_files {
    line-height: 20px;
    padding: 10px 16px !important;
}

.gform_drop_area .gform_button_select_files::before {
    content: "\f093";
    font-family: "Font Awesome 5 Free";
    font-weight: 800;
    font-size: 20px;
    display: inline-block;
    margin-right: 12px;
}


.zo-edit .zo-page-title h1.elementor-heading-title:after {
    content: " - Chỉnh sửa";
}

#menu-2-36f1c4a .page-item-418 {
    display: none !important;
}

body.sales .menu-item-526 {
    display: none;
}

body.ketoan .menu-item-531,
body.ketoan .menu-item-528,
body.ketoan .menu-item-819,
body.ketoan .menu-item-1234,
body.ketoan .menu-item-522,
body.ketoan .menu-item-1171,
body.ketoan .menu-item-518,
body.ketoan .menu-item-517,
body.ketoan .menu-item-524,
body.ketoan .menu-item-520 {
    display: none;
}

span.elementor-button {
    cursor: pointer;
}

body.dieuhanh .elementor-nav-menu li.menu-item-819,
body.dieuhanh .elementor-nav-menu li.menu-item-526,
body.dieuhanh .elementor-nav-menu li.menu-item-517 {
    display: none !important;
}

body:not(.giamdoc):not(.administrator) .elementor-nav-menu li.menu-item-518 {
    display: none !important;
}

.total-amount {
    border: 2px solid;
    background-color: #f8ba33;
    color: #fff;
    padding: 20px;
    grid-column-end: 13 !important;
    border-radius: 10px;
    margin-right: 12%;
}

/*.gform_wrapper.gravity-theme .gfield_list_header .gfield_header_item,
.gform_wrapper.gravity-theme .gfield_list_group .gfield_list_cell {
    width: 150px;
    flex-grow: 0;
}*/

/*.gform_wrapper.gravity-theme .gfield_header_item, 
.gform_wrapper.gravity-theme .gfield_list_group_item {
    width: 150px;
    flex-grow: 0;
}*/

.gform_wrapper.gravity-theme .gfield_list_header .gfield_header_item:nth-child(2),
.gform_wrapper.gravity-theme .gfield_list_group .gfield_list_cell[data-label="Tên"] {
    flex-basis: 40%;
}

.gform_wrapper.gravity-theme .gfield_list_header .gfield_header_item:nth-child(6):not(.gfield_header_item--icons), 
.gform_wrapper.gravity-theme .gfield_list_group .gfield_list_cell[data-label="Ghi chú"]{
    flex-basis: 200px;
}


/*
.gform-icon--circle-arrow-down:before {
    content: "\e989";
}

.gform-icon--circle-delete:before {
    content: "\e98a";
}*/

.section-dieuhanh {
    padding: 0 20px;
    width: 100%;
    font-size: 18px;
}

.section-dieuhanh .entry-details-table {
    margin-top: -20px;
}

.section-dieuhanh .entry-details-table .entry-view-field-name {
    font-size: 16px;
    font-weight: bold;
    border: 0;
    background-color: transparent;
    padding: 0 0 20px;
    color: #0138ab;
    text-decoration: underline;
    padding-top: 30px;
    padding-bottom: 10px;
}

.section-dieuhanh .entry-details-table .entry-view-field-value {
    padding: 0;
    border: 0;
}


tr.row-field-22,
tr.row-field-182,
tr.row-field-135,
tr.row-field-104,
tr.row-field-176,
tr.row-field-186 {
    font-weight: bold;
    font-size: 20px;
    color: red;
}

#field_6_9 .gfield_list_header  .gfield_header_item:first-child{
    flex-basis: 40%;
}


@media (max-width: 768px){
    .content-section{
        max-width: 100%;
        overflow-y: hidden;
        overflow-x: scroll;
    }

    .dataTables_wrapper {
         max-width: 100%;
        overflow-y: hidden;
        overflow-x: scroll;
    }

    #bill-page .pannel{
        flex-wrap: wrap!important;
        gap: 0!important;
    }

    #bill-page .pannel-item{
        flex: 0 0 50%!important;
        border-radius: 0;
    }

    #ZoTable th, #ZoTable td{
        padding: 10px;
        font-size: 10px;
    }
}