html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrapper {
    overflow: hidden !important;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


.select2 .selection, .select2 .selection span {
    padding-top: 10px;

}

.select2 .selection span .select2-selection__clear {
    padding-top:0px;
}

#products-search-list th, #keeper-products-search-list th, #keeper-products-list th {
    white-space: pre-wrap;
}

/* Уменьшаем высоту ячеек  */
.table > tbody > tr > td {
	padding: 2px 5px;
}

.table > tbody > tr > td input[type="number"] {
	height: 20px;
}

/* Модальные окна во весь экран */
.modal .modal-content {
	min-height: 100%;
	box-shadow: none;
}

.calendar-index .highlighted {
    color: #00CC00;
}

.calendar-index .grey {
    color: lightgrey;
}

/*Calendar clickable area*/
.calendar-index .box-body td > a{
    display: inline-block;
    width: 100%;
}

/*added by Ivakhnov Bogdan 30.03.2017 */
.weekend {
    /*background-color: #F5EF2E;*/
}
.hardday {
    /*background-color: #ffffff;*/
}
.workday {
    /*background-color: #dbdbdb;*/
}
.vcenter {
    margin-top: 24px;
}
/*.vcenter a{*/
    /*color: #ff4346;*/
    /*margin-top: 30px;*/
/*}*/

.table-report{
    border: 2px solid white;
}
.table-bordered.table-report>tbody>tr>td{
    padding: 3px; /* Поля вокруг содержимого таблицы */
    border: 1px solid #c1c1c1; /* Параметры рамки */
    text-align: left; /* Выравнивание по левому краю */
}
.table-report>>td {
    padding: 3px; /* Поля вокруг содержимого таблицы */
    border: 1px solid #c1c1c1; /* Параметры рамки */
    text-align: left; /* Выравнивание по левому краю */
}

.print-logo {
    display: none;
}

@media print {
    @page {
        margin-left: 0cm;
        margin-right: 0cm;
        /*margin: 0cm;*/
    }
    .print-button-hidden{
        display: none;
    }
    .none-print{
        display: none;
    }
    .box {
        font-size: 11px;
    }
    .table-bordered.table-calendar>thead>tr>th {
        padding: 3px; /* Поля вокруг содержимого таблицы */
        border: 1px solid #c1c1c1; /* Параметры рамки */
    }
    .no-print {
        display: none;
    }

    .print-logo {
        display: block;
    }

    .print-logo img{
        height: 40px;
    }

    .table-breaker {
        padding-top: 30px;
        /*position: relative;*/
        page-break-after: always;
    }
}

.table-calendar{
    border: 2px solid #c1c1c1;
}

.table-bordered.table-calendar>thead>tr>th {
    border: 1px solid #c1c1c1; /* Параметры рамки */
}

.table-bordered.table-calendar>tbody>tr>td {
    padding: 3px; /* Поля вокруг содержимого таблицы */
    border: 1px solid grey; /* Параметры рамки */
}

.btn-danger-outline {
    color: #d9534f;
    background-color: transparent;
    background-image: none;
    border-color: #d9534f;
}

.btn-outline-primary {
    color: #0275d8;
    background-image: none;
    background-color: transparent;
    border-color: #0275d8;
}

.btn-outline-primary:hover{
    color: #ffffff;
    background-image: none;
    background-color: #0275d8;
    border-color: #0275d8;
}

.bs-callout {
    padding: 10px;
    margin: 0 0 10px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #8eb7db;
    background-color: #e4e6ff;
    color: #3c7dbc;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}

#user-grid tbody tr:hover {
    background-color: #ffa;
}
#user-grid tbody td:hover::after,
#user-grid tbody th:hover::after {
    content: "";
    position: absolute;
    background-color: #ffa;
    left: 0;
    top: -5000px;
    height: 10000px;
    width: 100%;
    z-index: -1;
}


.good-table tbody tr:hover {
    background-color: #ffa;
}
.good-table tbody td:hover::after,
.good-table tbody th:hover::after {
    content: "";
    position: absolute;
    background-color: #ffa;
    left: 0;
    top: -5000px;
    height: 10000px;
    width: 100%;
    z-index: -1;
}


#table-calendar table tbody tr td.hardday:hover,
#table-calendar table tbody tr td.weekend:hover,
#table-calendar table tbody tr td.workday:hover,
#table-calendar table tbody tr td.text-success:hover {
    box-shadow: 1px 1px 7px #686868 !important;
}

#table-calendar table tbody tr td.employee-item, #table-calendar table tbody tr td.select-column-item,
#table-calendar table tbody tr td.summary-column-item, #table-calendar table tbody tr td.employee-position-item,
#table-calendar table tbody tr td.employee-tab-number-item {
    vertical-align: middle;
    text-align: center;
}


#table-calendar table tbody tr td, #table-calendar table tbody tr th {
    padding: 2px !important;
}


#calendar-search-form .form-group {
    margin-bottom: 1px;
}


#table-calendar table thead tr th {
    background-color: white;
}

/*table {*/
    /*overflow: hidden;*/
/*}*/

/*tr:hover {*/
    /*background-color: #ffa;*/
/*}*/

/*td:hover::after,*/
/*th:hover::after {*/
    /*content: "";*/
    /*position: absolute;*/
    /*background-color: #ffa;*/
    /*left: 0;*/
    /*top: -5000px;*/
    /*height: 10000px;*/
    /*width: 100%;*/
    /*z-index: -1;*/
/*}*/

/*#table-calendar table {*/
    /*overflow: hidden;*/
/*}*/
/*#table-calendar table tr:hover {*/
    /*background-color: #ffa !important;*/
/*}*/
/*#table-calendar table td:hover::after,*/
/*#table-calendar table th:hover::after {*/
    /*content: "";*/
    /*position: absolute;*/
    /*background-color: #ffa !important;*/
    /*left: 0;*/
    /*top: -5000px;*/
    /*height: 10000px;*/
    /*width: 100%;*/
    /*z-index: -1;*/
/*}*/

/*#table-calendar table td {*/

    /*background-color: #ffffff !important;*/

/*}*/

.name-guide-part {

    font-weight: bold;

}


#click-function-modal .modal-body {
    padding: 5px 10px;
}

#click-function-modal .form-group {
    margin-bottom: 1px;
}

#type_hours_container .select2 {
    display: inline-block;
}

.box-body-full {
    padding-bottom: 55px !important;

}

.holiday-date-item {
    padding-left: 5px;
    cursor: pointer;
    border-bottom: 1px dotted blue;
}

.demo-footer {
    /*position: absolute;*/

    /*left: 0;*/
    background-color: white;
    bottom: 0;
    width: 100%;

    position: fixed;
    max-height: 90px;
    z-index: 1030;

    height: 90px;
    padding-top: 10px;
    padding-left: 15px;

    border-top: 1px solid #1F82C6;
}

.demo-box {
    margin-bottom: 10px;
}


.span-text-footer {

    font-weight: bold;
    border-left: 1px solid rgb(60, 141, 188);
    padding-left: 10px;

}

.span-text-footer-2 {

    margin-left: 7px;

}

.select-type-hours-footer {
    width:340px;height: 34px;padding:2px;
}

.input-count-hours-footer {
    height: 34px;width:45px;
}

.input-second-code-count-hours-footer {
    margin-left:0px;
}

.input-count-hours-width {
    width: 55px;
}

.container-second-code {
    display: inline;
}







@media (max-width: 1600px) {
    /*.summary-timesheet {display: none;}*/

    .box-body-full {
        padding-left: 2px;
        padding-right: 2px;
    }

    .content {
        padding-left: 2px;
        padding-right: 2px;
    }

}

@media (max-width: 1450px) {

    .employee-item {
        white-space: pre-wrap;
        word-break: break-all;
        width: 150px;

    }

    .table-calendar {
        font-size: 11px;
    }
}

@media (max-width: 1140px) {

    .edit-employee-btn, .del-user-btn {
        font-size: 8px;
    }
    .employee-item {
        font-size:10px;
        width: 110px;
    }

    .select-column-item input[type=checkbox], .select-column-item-header input[type=checkbox] {
        /*display: none;*/

        /* Double-sized Checkboxes */
        -ms-transform: scale(0.7); /* IE */
        -moz-transform: scale(0.7); /* FF */
        -webkit-transform: scale(0.7); /* Safari and Chrome */
        -o-transform: scale(0.7); /* Opera */
        transform: scale(0.7);
        padding: 1px;

    }

    td.select-column-item, td.select-column-item span,  th.select-column-item-header, th.select-column-item-header span {
        width:15px !important;
        min-width: 15px;
        max-width: 15px;
        overflow: hidden;
        padding:0px !important;
    }

    .table-calendar {
        font-size: 9px;
    }
}

@media (max-width: 1000px) {

    .edit-employee-btn, .del-user-btn {
        font-size: 6px;
    }
    .employee-item {

        width: 90px;
    }

    .select-column-item input[type=checkbox], .select-column-item-header input[type=checkbox] {
        /*display: none;*/

        /* Double-sized Checkboxes */
        -ms-transform: scale(0.7); /* IE */
        -moz-transform: scale(0.7); /* FF */
        -webkit-transform: scale(0.7); /* Safari and Chrome */
        -o-transform: scale(0.7); /* Opera */
        transform: scale(0.7);
        padding: 1px;


    }

    td.select-column-item, td.select-column-item span,  th.select-column-item-header, th.select-column-item-header span {
        width:15px !important;
        min-width: 15px;
        max-width: 15px;
        overflow: hidden;
        padding:0px !important;
    }

    .table-calendar {
        font-size: 9px;
    }
}

  /*#deviations_of_employee .krajee-datepicker  {*/
      /*padding:2px;*/
  /*}*/

#jvlabelWrap {
    right: 90px;
}