.form-horizontal{
    font-size: 12px!important;
}
.table-sm-font{
    font-size: 12px;
    font-family: arial, sans-serif;
    border: 1px solid #525252;
}
.table-sm-font > thead > tr > th{
    background: #747474 !important;
    color: #ffffff;
    font-weight: normal;
    text-align: center;
    vertical-align: middle!important;
    border: 1px solid #525252;
}
.table-sm-font > tbody > tr > th,
.table-sm-font > tbody > tr > td,
.table-sm-font > tfoot > tr > td{
    border: 1px solid #525252;
    padding: 3px 2px;
}
.table-sm-font-tracking{
    font-size: 12px;
    font-family: arial, sans-serif;
}
.table-center > thead > tr > th,
.table-center > tbody > tr > td,
.table-center > tbody > tr > th
{
    text-align: center;
}

.tracking-panel .panel-heading{
    padding: 5px 5px;
}
.tracking-panel .panel-heading .panel-title{
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}
.ui-datepicker-trigger{
    width: 20px;
}
.slick-center{
    text-align: center!important;
}
.grid-class{
    border-bottom: 1px solid #a5a5a5;
}
.slick-row:hover{
    background: #d27f76!important;
}
.reduce-class{
    width: 80%!important;
}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
.hover-table{
    position: absolute;
    background: #cbcbcb;
    margin-top: -50px;
    margin-left: 50px;
    font-size: 12px;
}
.hover-table tr th{
    text-align: center;
    background: #000000;
    padding: 5px;
    color: #ffffff;
    border: 1px solid #000000;
}
.hover-table tr td{
    padding: 2px 5px;
    border: 1px solid #000000;
}
.completion{
    background: #63e349;
    text-align: center!important;
}
.with_client{
    background: #ddd63c;
    text-align: center!important;
}
.border-class{
    padding: 5px;
    border: 1px solid #000000;
    margin-top: 5px;
}
.has_attachment{
    background: #99dc79 !important;
}
.new_job{
    background: #cac8a2;
}
.in_progress{
    background: #dbd388;
}
table tbody tr.in_progress:hover td{
    background: #caba4f !important;
}
table tbody tr.new_job:hover td{
    background: #dddbb4 !important;
}
table tbody tr.has_attachment:hover td{
    background: #7cb55c !important;
}

.hoveredTable{
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    width: 300px;
    margin-left: 90%;
    margin-bottom: -50px;
    font-size: 12px;
    font-family: arial, sans-serif;
    z-index: 1;
}
.hoveredTable thead {
    background: #262b2f;
}
.hoveredTable thead tr th {
    text-align: center;
}
.notification-class ul{
    margin-left: -30px;
    margin-right: 10px;
}
.notification-class ul li{
    list-style: none;
}
.notification-class ul li a{
    text-decoration: none;
    color: #000000;
}
.notification-class ul li a.msg-link:hover{
    text-decoration: underline;
}
.notification-class ul li a:hover{
    color: #279aff;
}
.badge{
    position: absolute;
    margin: -5px 15px;
    font-size: 11px!important;
    background: #ff4433;
    font-weight: normal;
}
.slick-header-column{
    background: #484848!important;
    padding:2px!important;
    color:#FFF!important;
    text-align: center!important;
    font-size: 12px!important;
}

.table-light {
    width: 100%;
    font-size: 12px;
}
.table-light > tbody > tr > td,
.table-light > thead > tr > th {
    border: 1px solid #ddd;
    padding: 5px;
    border-right: none;
    border-left: none;
    border-bottom: none;
    background: #f4f4f4;
}
.table-light > thead > tr > th{
    border-top: none;
    text-align: center;
    background: #ebebeb;
}
.nav-sidebar > li > a{
    padding: 5px 15px!important;
}
.nav-active{
    background-color: #248deb;
}
.nav-active a{
    color: #f5f5f5!important;
}
.nav-active a:hover{
    background-color: #22a0ff!important;
    color: #f5f5f5!important;
}
.wf-nav-active{
    background-color: #248deb;
    border-radius: 4px;
}
.wf-nav-active a{
    color: #f5f5f5!important;
}
.wf-nav-active a:hover{
    background-color: #2798ff!important;
}

/*Fixed Header*/
.table-fixed-head-container {
    width: 100%;
}

.table-fixed-head-container .table-fixed-head-header {
    table-layout: fixed;
}

.table-fixed-head-header tr td {
    padding: 3px 2px;
    word-wrap: break-word;
}

.inner_table {
    height: 451px;
    overflow-y: auto;
}
/*End Fixed Header*/

.error-msg{
    color: #ff4b54;
}

.table-colored-header{
    font-size: 12px!important;
}
.table-colored-header > thead > tr > th{
    /*text-transform: uppercase!important;*/
    font-size: 11px!important;
    background: #484848;
    border: 1px solid #d2d2d2;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
}
.table-colored-header > tbody > tr > td{
    border: 1px solid #d2d2d2;
    text-align: center;
    vertical-align: middle;
}
.table-colored-header > tbody > tr > td.no-padding{
    padding: 2px!important;
}
.leads-modal > .modal-sm{
    width: 500px!important;
}
.dropdown:hover > .dropdown-menu {
    display: block;
}
.border-left{
    border-left: 2px solid grey;
}
.timeline{
    padding: 5px 15px;
    background: #1c1e3a;
    border-radius: 15px;
    color: white;
}
.duration{
    padding: 5px 15px;
    background: #2e517f;
    border-radius: 15px;
    color: white;
}
.person-assign{
    background: #a55045;
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 15px;
}
.person-assign:hover{
    background: #733939;
    color: white;
}
.comments{
    color: #c6c6c6;
    font-size: 20px;
}
.comments:hover{
    color: #c6c6c6;
}
.construction-table{
    background: #f0f0f0;
    border: none!important;
}
.construction-table > tbody > tr > td{
    padding: 10px;
    border: 1px solid white;
    color: #2f5791;
}
.construction-table > tbody > tr > td.status-column{
    padding: 10px;
    color: #fff;
    text-transform: uppercase;
}
.construction-table > tbody > tr > td span.workflow{
    font-weight: bold;
    position: relative;
    top: 5px!important;
}
.construction-table > tbody > tr{
    border-left: 10px solid #e2445c;
}
.construction-table > thead > tr > th{
    background: white!important;
    border: 1px solid white;
    color: black;
    font-weight: bold;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 450px;
    position: fixed;
    top: 50px;
    right: -450px;
    height: 100vh;
    z-index: 999;
    background: #fff;
    color: black;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #e2445c;
}

#sidebar.active {
    right: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: black;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9!important;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    left: 0;
    top: 0;
}
.overlay.active {
    display: block;
    opacity: 1;
}

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

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid black;
}

#sidebar p {
    color: black;
    padding: 10px;
}

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

#sidebar ul li a:hover {
    color: #fff;
    background: black;
    text-decoration: none;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: black;
}

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

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
#workflow-column{
    min-height: 80vh;
    overflow-y: auto;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

body::-webkit-scrollbar {
    width: 15px;
}

body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #bcbcbc;
}

body::-webkit-scrollbar-thumb {
    background: #bcbcbc;
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #898989;
}