.login-custom {
    /*background-color: #e0ae2b;*/
}

.user-login-5 .login-container>.login-content>.login-form .forgot-password>a,
.user-login-5 .login-container>.login-footer .login-copyright>p {
    color: black !important;
}

.user-login-5 .login-custom.login-container > .login-content {
    margin-top: 20px !important;
}

.user-login-5 .form-group.has-error {
    border-bottom: none !important;
}

.login-custom img {
    width: 200px;
}

.user-login-5 .login-container > .login-content > .login-form .form-control {
    border: 1px solid !important;
    padding: 10px;
}

.centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-hover {
    border: none;
    text-align: left;
    background: #2e343b
}

.menu-hover:hover {
    background: #373e47 !important;
}

.dt-buttons {
    display: none !important;
}

.form-control {
    border-radius: 4px !important;
}

.role-alert {
    padding: 8px 35px 8px 14px;
    margin-bottom: 18px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #c09853;
}

.source-table h3 {
    font-size: 18px;
    color: #1e6a80;
    font-family: 'RopaSansRegular';
}

/** Start Change UI for list page */
/*.portlet.box.blue {
    border: rgba(0, 191, 165, 0.29);
    border-top: 0;
}*/

/*.portlet.blue, .portlet.box.blue>.portlet-title, .portlet>.portlet-body.blue {
    background-color: rgba(0, 191, 165, 0.55);
}*/

/*table.table thead tr th {
    background: rgba(0, 191, 165, 0.88);
    color: #fefefe;
}*/

.portlet.box.blue > .portlet-title > .actions .btn-default {
    background: 0 0 !important;
    border: 1px solid #fff;
    color: #fff;
}

.portlet.box.blue > .portlet-title > .actions .btn-default > i {
    color: #fff;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    vertical-align: top;
}

.space-margin {
    margin-left: 0 !important;
}

/** End Change UI for list page */

.custom-row-layout .row {
    margin: 0 15px;
}

.form .form-bordered .custom-row-layout .form-group > div {
    border: none;
}

.form .form-bordered .custom-row-layout .form-group {
    border: none;
}

.custom-border {
    border: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-radius: 5px !important;
}

.color-preview-sm {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.map-holder {
    height: 500px;
    margin: 10px;
}

.modal {
    text-align: center;
}

.move-handle {
    cursor: move;
}

/* draggable css */
.ghost {
    opacity: 0.5;
    background: #c8ebfb !important;
}

/*Role module*/
table.role-module.table thead tr th {
    background-color: #e7ecf1;
    color: #333;
    font-weight: bold;
}

.role-module.mt-checkbox-outline {
    font-size: 85%;
}

.role-module.mt-checkbox, .mt-radio {
    padding-left: 22px;
}

.role-module.tdCenter {
    text-align: center;
}

.teams-style .btn-group, .teams-style .btn-group-vertical {
    display: inline-flex;
}

.teams-style .moveall, .teams-style .remove {
    margin-right: 5px;
}

.teams-style .move, .teams-style .removeall {
    margin-left: 5px;
}

.teams-style .bootstrap-duallistbox-container select {
    border-color: #eee !important;
}

/*End of Role module*/

/* Start Yard Process Layout */
.custom-yard-module .form-control, output, .module-list .form-control, .yard-list .form-control {
    display: inline-block !important;
}

.custom-yard-module .thumbnail.box, .yard-list .thumbnail.box {
    border-radius: 10px !important;
    box-shadow: 5px 5px 15px 5px #eee;
    width: 255px;
    height: 140px;
}

.custom-yard-module h5, .module-list .thumbnail h5 {
    font-weight: bold;
}

.dependency-button {
    height: 128px;
}

.dependency-button a {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* Start Module Type Factory*/

.factory-layout .yard-list, .site-zone .zone-list {
    border-left: 1px solid #ddd;
    padding: 10px;
    box-shadow: -10px 0 10px -10px #ddd;
    min-height: 100vh;
}

.factory-layout .custom-items {
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 8px !important;
    margin-bottom: 20px;
    box-shadow: 2px 1px 4px 2px #eee;
    cursor: pointer;
}

.factory-layout .module-list h4 {
    padding-top: 6px;
    font-weight: bold;
}

.factory-layout #timetable .col-md-12, .factory-layout #timetable .col-md-4, .factory-layout .module-list .col-md-12 {
    padding-left: 0 !important;
}

.factory-btn {
    display: inline-block;
}

.module-list .thumbnail.box {
    border-radius: 10px !important;
    box-shadow: 5px 5px 15px 5px #eee;
}

/* keep 1-line and 2-line process names the same box height so the float grid stays even */
.factory-layout .module-list .caption h5 {
    min-height: 2.6em;
    margin-bottom: 0;
}

.module-list span.serial-no,
.module-list span.marking {
    color: #fff !important;
}

.zone-option,
.module-list.module-option {
    cursor: pointer;
}

.yard-list .col-md-4 {
    width: 100% !important;
}

.yard-list h5 {
    font-weight: bold;
    margin: 4px;
}

.factory-layout .delCircle {
    position: relative;
    top: -14px;
    left: 14px;
}

.site-zone-table th {
    background-color: #3598dc;
    color: #fff;
    text-align: center;
}

.color-button {
    width: 14px;
    height: 14px;
    font-size: 0;
    margin: 3px;
    float: left;
    cursor: pointer;
}

/* End Module Type Factory*/

.site-zone .zone-module {
    border: 1px solid #ddd;
    display: block;
    padding: 5px;
    margin: 5px;
}

.site-zone .zone-module .module-list {
    margin: 5px;
    display: block;
    background-color: #337ab7;
    color: #fff;
    padding: 4px;
    text-align: center;
    border-radius: 4px !important;
}

.site-zone .zone-module span {
    font-size: 12px;
    color: #555;
}

.pp06-order-list {
    padding: 0px;
}

.pp06-order-list h5, .pp06-order-list h4 {
    font-weight: bold;
}

.pp06-order-list .box-list {
    border: 1px solid #555;
    display: block;
    border-radius: 4px !important;
    height: 180px;
}

.pp06-order-list .box-list .control-label {
    margin-top: 6px;
}

.pd0 {
    padding: 0 !important;
}

.pp06-order-list.table tr th, .pp06-order-list.table tr td {
    text-align: center;
}

/* Start of Duallistbox  */
.bootstrap-duallistbox-container .btn-group, .bootstrap-duallistbox-container .btn-group-vertical {
    display: inline-flex;
}

.bootstrap-duallistbox-container .moveall, .bootstrap-duallistbox-container .remove {
    margin-right: 5px;
}

.bootstrap-duallistbox-container .move, .bootstrap-duallistbox-container .removeall {
    margin-left: 5px;
}

.bootstrap-duallistbox-container select {
    border-color: #eee !important;
}

.text-center{
    text-align: center;
}

.lblCartCount {
    font-size: 12px;
    background: #ff0000;
    color: #fff;
    vertical-align: top;
    margin-left: -11px;
    position: absolute;
    top: 7px;
}
/* End of Duallistbox */

/*Start Noti Dropdown*/
.custom-noti {
    padding-left: 10px;
    padding-right: 10px;
}

.custom-noti .icon {
    cursor: pointer;
    line-height: 45px
}

.custom-noti .icon span {
    background: #f00;
    padding: 7px;
    border-radius: 50%;
    color: #fff;
    vertical-align: top;
    margin-left: -25px
}

.custom-noti .icon:hover {
    opacity: .7
}

.custom-noti .notifications {
    z-index: 9996;
    width: 300px;
    height: 0px;
    /*opacity: 0;*/
    display: none;
    overflow-y: auto;
    position: absolute;
    right: 0px;
    border-radius: 5px 0px 5px 5px !important;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.custom-noti .notifications-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 2px 10px;
    margin-bottom: 0px;
    cursor: pointer;
    text-decoration: none;
    background-color: #fefefe;
}

.custom-noti .notifications-item:hover {
    background-color: #eeeeee94;
}

.custom-noti .notifications-item .text p {
    color: #555;
    font-size: 12px
}

.nav>li.custom-noti>a:hover{
    background-color: #eeeeee94;
}

.image-data{
    overflow: hidden;
    width: fit-content;
}

.checklist-image-data{
    width: -webkit-fill-available !important;
    object-fit: scale-down;
    height: 100px !important;
}
/*End Noti Dropdown*/

/* Override btn-group styles */
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius: 4px; }

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }

.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }

.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
    border-radius: 4px; }

.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }

.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }

.font-color-primary {
    color: #1150BE !important;
}
@media (max-width:992px) and (min-width:765px) {
    .custom-border {
        overflow: hidden !important;
    }
    .coustm-overflow {
        overflow: hidden !important;
    }
}
@media (max-width:548px) {
    .notifications {
        right: unset !important;
        left: -144px !important;
    }
}
@media (max-width:752px) {
    .marginTopButton {
        margin-top: 3px !important;
        margin-left: 0px !important;
    }
}
@media (max-width:1140px) and (min-width:753px) {
    .marginTopButton {
        margin-top: 0px !important;
        margin-left: 0px !important;
    }
    .marginTopTablet {
        margin-top: 3px !important;
    }
    .qrCodeIcon {
        width: 40px !important;
    }
}

.page-header .page-header-top .top-info {
    margin: 13px 0 0;
    padding: 0;
    float: left;
}

/* Metronic only stacks the menu (9995) once it turns .fixed on scroll; before that its dropdowns fall under the
   sticky table headers (floatThead, z-index 1001). */
.page-header .page-header-menu {
    position: relative;
    z-index: 9995;
}

/* floatThead copies the table's classes, so its floating header also gets DataTables' 6px !important margins, which
   push it below the placeholder row it leaves in the table (a strip above the header, the first row's top cut off). */
.floatThead-container table.dataTable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Mega menu column layout */
.page-header .page-header-menu .hor-menu .navbar-nav > li.mega-menu-dropdown > .dropdown-menu .mega-menu-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    border-right: 1px solid #444;
}

.page-header .page-header-menu .hor-menu .navbar-nav > li.mega-menu-dropdown > .dropdown-menu .mega-menu-submenu {
    display: inline-block;
    vertical-align: top;
    min-width: 160px;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 10px;
}

.page-header .page-header-menu .hor-menu .navbar-nav > li.mega-menu-dropdown > .dropdown-menu .mega-menu-submenu:last-child {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
}

/* Detail (label / value) view: the label hugs its value. Child selectors keep it off tables nested in a value cell. */
.cft-detail-view > tbody > tr > th {
    width: 20%;
    text-align: right;
}

.cft-detail-view > tbody > tr > td {
    text-align: left;
}

/* Themed table headers: beige, matching prod (theme_override.css is not loaded on teambuild). */
.table-themed > thead > tr > th,
.table-themed > thead > tr > td,
.table-themed > tbody > tr > th,
.table-themed > tfoot > tr > th {
    background-color: #f6f0dd;
    color: #333333;
    font-weight: bold;
}

/* Defined in theme_override.css on prod; the inventory report's frozen header cells use it (ReportHelper). */
:root {
    --app-primary-light: #f6f0dd;
}
