﻿label {
    display: inline-block;
}

.leave-dropdown {
    width: 200px;
    display: inline-block;
}

    .leave-dropdown select {
        width: 100%;
    }


.leave-btns {
    float: right;
    margin-right: 50px;
}

    .leave-btns input {
        width: 80px;
        height: 27px;
    }

.leave-opening-block {
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
    margin-top: 5px;
}

.leave-opening-left label {
    width: 102px;
    text-align: right;
}

.leave-opening-left {
    width: 335px;
    display: inline-block;
    vertical-align: top;
}

.leave-opening-right {
    width: 300px;
    display: inline-block;
    vertical-align: top;
}

    .leave-opening-right label {
        width: 90px;
        text-align: right;
    }

    .leave-opening-lastblock label {
        width: 100px;
        display: inline-block;
        text-align: right;
    }

.leave-opening-lastblock {
    display: inline-block;
    width: 550px;
}

.leave-dropdown-block {
    display: inline-block;
    width: 202px;
}

    .leave-dropdown-block select {
        width: 100%;
    }

.leave-opening-row {
    margin-bottom: 5px;
}

input[type="checkbox"] {
    margin-left: 0;
    position: relative;
    top: 2px;
    margin-right: 3px;
}

.leave-box {
    width: 15px;
    height: 15px;
    display: inline-block;
    position: relative;
    top: 2px;
    margin-right: 4px;
}

.leave-dropdown-block-inner {
    margin-left: 106px;
}

    .leave-dropdown-block-inner .leave-box {
        background: orange;
    }

.wd-200 {
    width: 200px;
}

.wd-150 {
    width: 150px;
}

.ui-jqgrid {
    box-sizing: unset !important;
}

.ui-jqgrid tr.jqgrow > td {
    /*padding: 4px 0px 4px 4px !important;*/
    font-size: 11px !important;
}


.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    font-weight: bold !important;
    background: none !important;
    background-color: #EDEDED !important;
}

.ui-search-input {
    text-align: left !important;
}

th.ui-th-column div {
    white-space: normal !important;
    height: auto !important;
    padding: 2px;
}

form:after {
    content: '';
}

.ui-jqgrid .ui-jqgrid-labels th.ui-th-column {
    text-align: left !important;
}
/*.ui-jqgrid .ui-jqgrid-bdiv tr.ui-row-ltr > td {
        text-align: center;
    }*/



.ui-jqgrid-pg-left {
    display: none;
}

.select-field-popup {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.select-field-inner {
    position: absolute;
    width: 370px;
    left: 0;
    right: 0;
    background: #fff;
    margin: 0 auto;
    transform: translateY(-50%);
    top: 50%;
    -webkit-box-shadow: #666 10px 2px 25px;
    -moz-box-shadow: #666 10px 2px 25px;
    box-shadow: #666 10px 2px 25px;
    border: 1px solid #ccc;
}

.select-field-header {
    background-color: whitesmoke;
    border-bottom: 1px solid #e5e5e5;
    line-height: 40px;
    font-size: 15px;
    font-weight: bold;
    text-align: left;
    padding-left: 20px;
    text-shadow: 0 1px white;
    color: gray;
}

.select-field-body {
    padding: 15px 20px;
    box-sizing: border-box;
}

.select-field-date-block {
    float: left;
    font-weight: 700;
    font-size: 12px;
}

.select-field-close-ok-btn-group {
    text-align: center;
    margin-top: 15px;
}

    .select-field-close-ok-btn-group input {
        width: 70px;
    }

.filter-label {
    width: 90px;
    display: inline-block;
    text-align: right;
}

.filter-data {
    width: 230px;
    display: inline-block;
}

    .filter-data select {
        width: 100%;
    }

.filter-row {
    width: 100%;
    margin-bottom: 5px;
    max-height: 150px;
    overflow: auto;
}

.select-field-close-ok-btn-group {
    text-align: center;
    margin-top: 15px;
    width: 100%;
    clear: both;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

.leave-carry-fwd-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.leave-carry-fwd-header {
    display: table-header-group;
    border: 1px solid #c5c5c5;
}

.leave-carry-fwd-row {
    display: table-row;
}

.leave-carry-fwd-data {
    display: table-row-group;
}

.leave-carry-fwd-row div {
    display: table-cell;
    font-size: 12px;
    border: 1px solid #c5c5c5;
    border-top: none;
    border-right: none;
    padding: 1px 0 4px 4px;
}

    .leave-carry-fwd-row div:first-child {
        /*text-align: center;*/
        padding: 1px 6px;
    }

.leave-carry-fwd-header .leave-carry-fwd-row div:last-child {
    border-right: 1px solid #c5c5c5;
}

.leave-carry-fwd-row div:last-child {
    border-right: 1px solid #c5c5c5;
}

.leave-carry-fwd-header .leave-carry-fwd-row {
    background: #EDEDED;
    border: 1px solid silver;
}

    .leave-carry-fwd-header .leave-carry-fwd-row div {
        border-top: 1px solid #c5c5c5;
        /*border-collapse: collapse;*/
        border-right: none;
        font-weight: 800;
    }

.converted-leave-block {
    font-weight: 700;
}

.gridcheckboxselect {
    position: relative;
    left: 4px;
}
