.flex-equal>* {
    -ms-flex: 1;
    flex: 1;
}

@media (min-width: 768px) {
    .flex-md-equal>* {
        -ms-flex: 1;
        flex: 1;
    }
}

.overflow-hidden {
    overflow: hidden;
}

.is-hand {
    cursor: hand;
    cursor: pointer;
}

.min-110 {
    min-width: 110px !important
}

.no-radius {
    border-radius: 0 !important;
}

.main-content {
    padding-top: 10px;
}

.top-header {
    display: block;
    background-color: red;
    color: #FFF !important;
    padding: 7px 10px;
}

.top-header a {
    color: #333;
}

.bg-primary{
	background-color: red !important;
}
body{background-color: #ccc !important}
.card > .panel-heading, .card .login-option{background-color: red !important}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 175px;
    max-width: 175px;
    background: #7386D5;
    color: #fff;
    transition: all 0.3s;
    font-family: 'Kodchasan', sans-serif;
}

#sidebar.active {
    min-width: 75px;
    max-width: 75px;
    text-align: center;
}
#content {
    width: calc(100% - 175px);
    padding: 20px 10px;
    min-height: 100vh;
    transition: all 0.3s;
}

#content.active {
    width: calc(100% - 90px);
}

#content.full{width: 100%;}

#sidebar.active .sidebar-header h3{
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 10px 10px;
    text-align: center;
    font-size: 0.85em;
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}
#sidebar.active ul li a .menu-label {
    display: none;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active a[aria-expanded="false"]::before,
#sidebar.active a[aria-expanded="true"]::before {
    top: auto;
    bottom: 5px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active>a{
    color: #fff;
    background: #6d7fcc;
}


a[data-toggle="collapse"] {
    position: relative;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

.min-100 {
    min-width: 100px !important;
}
.width-100{
    width: 100px !important;
}
.min-200{
    min-width: 200px !important;
}
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    .mobile-mode{
        display: none;
    }
    .col-mobile{
        margin-bottom: 10px;
    }
    .m-col-padding{
        padding-left: 5px;
        padding-right: 5px;
    }
    
    #sidebar {
        min-width: 90px;
        max-width: 90px;
        text-align: center;
    }
    #sidebar.active {
        margin-left: -75px !important;
        /**
        min-width: 60px;
        max-width: 60px;
        text-align: center;
        */
    }
    #sidebar ul li a{
        text-align: left;
    }

    #sidebar ul li a i {
        display: none !important;
    }
    #sidebar.active ul li a i {
        display: block !important;
    }
    #content{
        width: calc(100% - 90px);
    }
    #content.active {
        width: 100%; /**calc(100% - 60px); */
    }

    #sidebar .sidebar-header strong {
        display: block;
    }
    /**
    #sidebar ul li a {
        padding: 20px 10px;
    }
    */    

    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3em;
    }

    #sidebar {
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }

    .nav li a span.web-ui{
        display: none;
    }
}
.sidebar-active{
    background: #fff;
    color: #7386D5 !important;
}
.ip-bottom{
    color: #fff;
    background-color: #7386D5 !important;
}
.ip-bottom.active{
    background: #fff !important;
    color: #7386D5 !important;
}
.ip-bottom > i {
    margin: 10px 10px;
}

ul.errors{padding-left: 20px;}
.is-hand{cursor: hand;cursor: pointer;}
.no-radius, input{border-radius: 0px !important}
.v-middle{vertical-align: middle !important}
.form-group label.b{font-weight: bold;}

.well {
    background: #fbfbfb none repeat scroll 0 0;
    border: 1px solid #ddd;
    box-shadow: 0 1px 1px #ececec;
    position: relative;
}
.smart-form {
    color: #666;
    margin: 0;
    outline: 0 none;
    position: relative;
}

.selected-menu{
    background: #f0f0f0 none repeat scroll 0 0;
    border-bottom: 1px solid #e7e7e7;
    color: #3276b1;
    font-weight: 700;
}
.not-active a{color: #ccc !important}
label{margin-bottom: 6px !important}
input, textarea{padding-left: 5px !important; padding-right: 5px !important}
.btn{padding: 6px 12px !important}
.smart-form .modal-footer{border-top-width: 0px !important; text-align: left !important}
#main{padding-bottom: 0px !important}
.input-min-width{
    min-width: 80px;
}

/** Apps */
.equipment > div {
    padding: 10px;
    border: solid 1px #ccc;
}
.machine{
    padding: 5px 5px 5px 0px;
}
.machine-inner{
    padding: 10px;
    border: solid 1px #ccc;
}
.machine-inner-eqp{
    padding: 10px;
    border: solid 1px #ccc;
}
.eq-detail-sub {
    padding: 10px;
    background-color: #2962FF;
    color: #fff;
    font-weight: bold;
    /** border-bottom: solid 1px #0D47A1; */
}
.line{
    padding: 0px;
    /**margin: 0 0 10px;
    border-bottom: solid 2px #0D47A1;
    */
}
.form-internal{padding-bottom: 10px; border-bottom: solid 2px #ccc}
i.glyphicon{font-weight: normal !important; font-size: 14px !important}
.modal-header{background-color: #2962FF; color: #fff}
.modal-content{border-radius: 0px !important}
.is-over{color: #D50000 !important}
.badge-danger{background-color: #D50000 !important}
.no-radius{border-radius: 0px !important}
.background-progress{
    background-image: url('/img/circle.gif');
    background-position: 98% center;
    background-repeat: no-repeat;
}
tr.sub-part{color: #0D47A1 !important}
.right-header {
    background-color: #13174c;
    padding: 10px;
    color: #FFF
}
.right-navigation{background-color: #FF9100; padding: 10px; color: #fff}
.right-bottom-header {background-color:#FFAB40; padding: 10px;color: #FFF}
.right-bottom-form {background-color:#C0CA33; padding: 10px;color: #FFF}
.li-nav{margin-bottom: 5px; padding-bottom: 10px; border-bottom: solid 1px #ccc}
.on-transfer{background-color: #F44336; color: #FFF}
input.required{border-bottom: solid 4px #ccc}
a.home {
    color: #13174c
}
.pl-0{padding-left:0px}
.pr-0{padding-right: 0px}

/* fixed bottom */
.fixed-bottom{
    position: fixed;
    left: 10px;
    bottom: 0px;
    height: 30px;
    width: 98%;
    color: #fff;
    background-color: #555555;
}
.fixed-top{
    position: fixed;
    top: 10px;
    height: 50px;
    z-index: 1031;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    
}

.new-button{
    padding: 10px;
    border: solid 1px #ccc;
    text-align: center;
}
.nilai{text-align: right}

.select-risalah{
    background-color: rgb(58, 94, 17);
    color: #fff;
}

.no{
    text-align: center;
    width: 30px;
}
.w70{width: 70px}
.v-middle, .text-middle{vertical-align: middle !important}
.read-only{background-color: #fff !important}
tr.non-editable{color: blue}
tr.konfirmasi{
    color: #fff !important;
    background-color: #D50000 !important
}
tr.selesai {
    color: #fff !important;
    background-color: #1B5E20 !important
}
tr.kirim{
    color: #fff !important;
    background-color: #FF9100 !important;
}
tr.rencana{
    color: #fff !important;
    background-color: #13174c !important;
}

input.notifikasi{background-color: #fcefa1}

.input-date{min-width: 90px;}
td.transfer{border-right: solid 2px #1B5E20 !important}
.selesai.penyesuaian{
    color: #D50000 !important;
    background-color: #4CAF50 !important;
}

.tabs-below>.nav-tabs {
    border-bottom: 0;
}

.tab-content>.tab-pane,
.pill-content>.pill-pane {
    display: none;
}

.tab-content>.active,
.pill-content>.active {
    display: block;
}

.tabs-bottom>.nav-tabs {
    border-top: 1px solid #ddd;
    background-color: #ff8d00;
}

.tabs-bottom>.nav-tabs>li {
    margin-top: -1px;
    margin-bottom: 0;    
    color: #FFF;
}
.tabs-bottom>.nav-tabs>li.active{
    background-color: #FFF;
    color: #FF8D00;
    border-right: 0px;
}

.tabs-bottom>.nav-tabs>li>a {
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    padding: 10px;
}
.tabs-bottom>.nav-tabs>li>a:hover, 
.tabs-bottom>.nav-tabs>li>a:focus{
    color: #FF8D00;
    background-color: #FFF
}

.tabs-below>.nav-tabs>li>a:hover,
.tabs-below>.nav-tabs>li>a:focus {
    border-top-color: #ddd;
    border-bottom-color: transparent;
}

.tabs-bottom>.nav-tabs>.active>a,
.tabs-bottom>.nav-tabs>.active>a:hover,
.tabs-bottom>.nav-tabs>.active>a:focus {
    border-color: transparent transparent #ddd #ddd;
    
}

.tabs-bottom>.tab-content>.tab-pane {
    padding-bottom: 50px !important;
}
td > input {
    padding: 2px 5px !important;
}
.tab-pane{padding-top: 10px}
li a{padding: 10px 12px !important}
.color-red{color: red}
.hilang, .rusak{color: red !important}
.row-even{
    background-color: #0D47A1 !important;
    color: #fff !important;
}
.row-odd{
    background-color: #1B5E20 !important;
    color: #fff !important;
}
.kirim-alat{
    
    color: #C0CA33 !important
}
div.blockUI > h2, div.blockUI > h4{
    margin: 0px;
}
.width-no, .w-no, .w-15{width: 15px; min-width: 15px;}
.min-70{min-width: 70px !important;}
.w-60{width: 60px; min-width: 60px !important;}
.w-90{width: 90px; min-width: 90px !important;}
.w-120{width: 120px; min-width: 120px !important;}

/** TABLE SCROLL  https://codepen.io/paulobrien/pen/RMyMBv */
.table-scroll {
    position: relative;
    width: 100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    height: 350px;
}

.table-scroll table {
    width: 100%;
    min-width: 1280px !important;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0;
}


.table-scroll thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: #FF9100;
    color: #fff;
}

/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    background: #ccc;
    color: #fff;
    z-index: 4;
}


th.freeze-top{
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
    background: #ccc;
}
td.fixed-left{
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
    background: #007bff;
}
.table-scroll tbody td:first-child{
    background: #007bff;
}

thead th:nth-child(1),
thead th:nth-child(2),
tfoot th:first-child {
    z-index: 5;
}
.ui-front{z-index: 1060 !important;}
.width-100{width: 110px}
.has-agenda a {    
    background: #1B5E20 !important;
    color:#CCC !important;
    font-size: 18px;
}
.jqplot-highlighter-tooltip{
    padding: 5px 10px !important; background-color: black; color: #FFF; 
    font-size: 24px !important;border-radius: 5px !important;
}
.chart-segment{height: 450px; width: 100%;}
.loading-timer{
    font-family: 'Kodchasan';
    font-size: 40px;
    font-weight: bolder;
}
.nav-tabs.nav-project .nav-link {color: #757575}
.nav-tabs.nav-project .nav-link.active {font-weight: bold;color: #000000;}
div.ui-datepicker {z-index: 10000 !important;}
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

/* IE 6 doesn't support max-height
   * we use height instead, but this forces the menu to always be this tall
   */
* html .ui-autocomplete {
    height: 100px;
}
canvas {
    max-width: 100%;
    height: auto;
}
.modal.modal-fullscreen .modal-dialog {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    max-width: none;
}

.modal.modal-fullscreen .modal-content {
    height: auto;
    height: 100vh;
    border-radius: 0;
    border: none;
}

.modal.modal-fullscreen .modal-body {
    overflow-y: auto;
}