/*======================= Main layout =======================*/
body, html {
    height: 100%;
    font-family: "Verdana", cursive, sans-serif;
    font-size: 14px;
    width: 100%;
    margin: auto;
    overflow: auto;
    /*background-color: #ffffff;*/
    background-image: url('../media/web_images/general/background.png');
    background-repeat:no-repeat;
    background-position:center;
    background-size: auto;
}
/*======================= Main layout =======================*/



/*======================= prevent body shift when modal window pops up =======================*/
.modal {
    overflow-y: auto;
}
.modal-open {
    overflow: auto;
    padding-right: inherit;
}

body {
    overflow-y:inherit !important;
    padding-right: 0 !important;
}
/*======================= prevent body shift when modal window pops up =======================*/



/*======================= Global =======================*/

/* form button color */
.btn_txt{
    background-color: #e1e1e1 !important;
}

.btn_txt:hover{
    background-color: #9e9e9e !important;
}

/* custom alert */
.alert_text_bold{
    color: #50B000;
    font-style: italic;
}

/* tab header */
.open_tab_title{
    color: #04abb0;
    position: relative !important;
    top: 0 !important;
}
.open_tab_title:hover, .open_tab_title:active, .open_tab_title:focus{
    color: #000000;
}

/* form height */
.dhxform_obj_dhx_terrace{
    height: auto !important;
}

/* toolbar select box */
#user_active_filter{
    height: 30px;
    font-size: 9px;
}

/* add border in grid cells */
div.gridbox_dhx_terrace table.obj tr td{
    /*border-width: 1px 1px 1px 1px !important;*/
}

/* grid header */
div.gridbox_dhx_terrace table.hdr td{
    border-width: 1px 1px 0 1px !important;
    border-color: #D4D0C8 !important; ;
}

/* set grid columns headers bold */
div.hdrcell{
    font-weight: bold !important;
}


div.dhx_toolbar_inp .inp{
    border-radius: 5px !important;
}

.form_fieldset{
    margin-top: 20px;
}

.client_form_fieldset_right{
    position:absolute;
    left:500px;
    top:83px;
}

.sch_form_fieldset_right{
    position:absolute;
    left:500px;
    top:88px;
}

.invoice_form_fieldset_right{
    position:absolute;
    left:460px;
    top:-6px;
}

.bold_text{
    font-weight: bold;
}

/*======================= Global =======================*/




/* ========================= boot box alert & errors ========================= */
.tplc_warning_alert{
    background-color: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid transparent;
    border-radius: 4px;
}

.tplc_confirm_alert{
    background-color: #d9edf7;
    color: #31708f;
    border: 1px solid transparent;
    border-radius: 4px;
}

.tplc_fail_alert{
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid transparent;
    border-radius: 4px;
}

.tplc_success_alert{
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid transparent;
    border-radius: 4px;
}

.tplc_login_fail{
    color: #ff0000;
    font-style: italic;
    font-size: 12px;
    display: inline;
}

label.error {
    font-weight: bold;
    color: red;
    padding: 2px 8px;
    margin-top: 2px;
}

.custom_alert{
    position: absolute;
    z-index:999999 !important;
    margin: auto;
    top: 5%; left: 5%; bottom: 0; right: 0;
    width: 300px;
    height: 100px;

}

/* ========================= boot box alert & errors ========================= */



/*======================= Employee leaves =======================*/
.dhx_year_event.eventColor_Leaves_Yes {
    background-color: #33c142 !important;
    color: white !important;
}
.dhx_year_event.eventColor_Leaves_No {
    background-color: #719ffa !important;
    color: white !important;
}
.dhx_year_event.eventColor_Leaves_Cancel {
    background-color: #d4223e !important;
    color: white !important;
}
.dhx_year_event.eventColor_publicHoliday {
    background-color: #ff87f9 !important;
    color: white !important;
}

.dhx_year_event.eventColor_birthday {
    background-color: #008080 !important;
    color: white !important;
}

.dhx_year_event.eventColor_special {
    background-color: #bc42ff !important;
    color: white !important;
}

.dhx_year_tooltip{
    width: auto !important;
    padding: 5px !important;
    background: sandybrown !important;
    border-radius: 3px !important;
    border-color: snow !important;
    overflow: visible !important;
    top: 100px !important;
    left: 300px !important;
    position: absolute !important;
}

.dhx_cal_tab{
    display: none;
}

/*======================= Employee leaves =======================*/



/* ========================= scheduler ========================= */

.btn_nav_line_active{
    background-color: #adadad;
    color: #ffffff;
    font-weight: bold;
}

.sch_tfl{
    width: 100px;
    top: 5px;
    left: 300px;
    position: absolute;
}

.sch_tft{
    width: 100px;
    top: 30px;
    left: 300px;
    position: absolute;
}

.sch_ttl{
    width: 100px;
    top: 75px;
    left: 300px;
    position: absolute;
}

.sch_ttt{
    width: 100px;
    top: 100px;
    left: 300px;
    position: absolute;
}

.sch_days{
    width: 100px;
    top: 180px;
    left: 300px;
    position: absolute;
}

/* ========================= scheduler ========================= */
