@font-face{

    font-family: 'wf_SegoeUIBold';

    src:url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.eot');

    src:url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.eot?#iefix') format('embedded-opentype'),

           url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.woff') format('woff'),

           url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.ttf') format('truetype'),

           url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.svg#web') format('svg');

    font-weight: normal;

    font-style: normal;

}



@font-face{

    font-family: 'wf_SegoeUIRegular';

    src:url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.eot');

    src:url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.eot?#iefix') format('embedded-opentype'),

           url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.woff') format('woff'),

           url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.ttf') format('truetype'),

           url('https://i.s-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.svg#web') format('svg');

    font-weight: normal;

    font-style: normal;

}



a {

    cursor: pointer;

}

a:hover {

    text-decoration: none;

}



body {

    font-family: "wf_SegoeUIRegular", sans-serif;

    background: url(../images/bg.jpg) center top;

    background-size: 100% auto;

    background-attachment: fixed;

    color: #fff;

    padding-top: 60px;

}

.index_main {

    margin-top: 124px;

}



.btn-standart:focus,

.btn-standart {

    font-size: 20px;

    text-align: center;

    width: 100%;

    background-color: #164a75;

    border: 2px solid #ccc;

    border-radius: 24px;

    color: #fff;

    padding: 12px 24px;



    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.25);

    -moz-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.25);

    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.25);

}

.btn-standart:hover {

    color: #fff;

    background-color: #258adf;

}

.btn-standart:active {

    color: #fff;

    position: relative;

    background-color: #056abf;

    top: 1px;

}

.login_container {

    width: 320px !important;

    position: absolute;

    top: 50%;

    left: 50%;

    margin: -134px 0 0 -160px;

}

.login_container .btn-standart {

    padding: 6px;

    display: block;

}

.login_title {

    text-align: center;

    font-size: 26px;

    margin-bottom: 22px;

}

.control-label {

    color: #fff;

}

.auth_edit {

    margin-bottom: 16px;

}

.navbar-fixed-bottom {

    min-height: 24px;

    margin-bottom: 0;

    text-align: center;

    font-size: 15px;

    background-color: #164a75;

    color: #fff;

}

.navbar_main {

    padding: 4px !important;

    background-color: #164a75;



}

.navbar_main .btn-danger {

    width: 120px;

}

.navbar-header {

    width: 100%;

}

.navbar_main .btn-danger .glyphicon {

    font-size: 14px;

}

.navbar_main span {

    font-size: 22px;

}

.nav-tabs li.active a:hover,

.nav-tabs li.active a:focus,

.nav-tabs li.active a {

    background-color: #428bca;

    color: #fff;

    border-radius: 8px 30px 0 0;

}

.nav-tabs li a {

    font-size: 13px !important;

    color: #fff;

    border: 1px solid #999;

    border-bottom: 0;

    border-radius: 8px 30px 0 0;

    padding: 6px 24px;

}

.important-tab {
    background-color: #39d433;
}

.nav-tabs li:hover a {

    background-color: #226baa;

}

.err_message {

    position: absolute;

    top: 50%;

    left: 50%;

    font-size: 36px;

    text-align: center;

    width: 500px;

    color: #f00;

    margin: -82px 0 0 -250px;

}

.login_label {

    font-size: 16px !important;

    margin: 6px 24px 0 0;

}

.warning_text {

    text-align: center;

    color: #ff0;

    padding: 32px !important;

    font-size: 18px;

}

#users .btn {

    margin: 8px 0;

}

.glyphicon-ok {

    color: #0f0;

}

.glyphicon-remove {

    color: #f11;

}

.table,

.table th {

    text-align: center;

}

#users .table,

#terminals .table,
#hidden_terminals_table .table,
#paychecks .table {

    font-size: 13px;

}

#users .table .btn,

#terminals .table .btn,
#hidden_terminals_table .btn,
#paychecks .table .btn {

    margin: 0 0 0 4px;

}

#users .btn-success,

#users .btn-success,

#terminals .btn-success,
#paychecks .btn-success,
#hidden_terminals_table .btn-success
{

    margin: 0 2px 0 0;

}

#users #add_user.btn-success,

#terminals #add_terminal.btn-success {

    margin: 0 0 0 12px;

}

.modal-footer {

    padding: 8px;

    text-align: center;

}

.modal-footer .btn {

    width: 140px;

}

.modal-body {

    padding: 20px;

    color: #000;

}

.modal-content {

    width: 400px;

}

.bootbox-close-button {

    margin: -16px -2px 0 0;

}

.modal-dialog {

    top: 50%;

    margin-top: -96px;

}

.modal-title {

    color: #000;

    font-size: 22px;

    border-bottom: 1px solid #999;

}

.locked_tr {

    color: #faa;

}

.tab-pane {

    padding-top: 12px;

}

#registration_user .modal-content {

    width: 420px;

}

#registration_terminal .modal-content {

    width: 500px;

}

#registration_user .modal-dialog {

    width: 420px;

    margin-top: -172px;

}

#registration_terminal .modal-dialog {

    width: 500px;

    margin-top: -176px;

}

#registration_user .control-label,

#registration_terminal .control-label {

    color: #000;

    padding-right: 0;

}

div.dt-button-collection.fixed .btn {

    width: 100% !important;

    margin-bottom: 6px !important;

}

.dt-button-collection a.buttons-columnVisibility:not(.active) {

    background-color: #999 !important;

}

#terminals_table td, #hidden_terminals_table td {
    /*overflow: hidden;*/
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}

.pagination > li > a, .pagination > li > span {

    padding: 4px 10px !important;

    font-size: 12px !important;

}

div.dataTables_wrapper div.dataTables_paginate {

    text-align: center !important;

}

.sorting_disabled {

    padding: 5px 8px !important;

}

table.dataTable thead .sorting:after {

    opacity: 0.7 !important;

}

.bootbox-prompt-message {

    margin-bottom: 6px !important;

}

.daterangepicker {

    color: #000 !important;

}

legend {

    display: block;

    width: auto;

    padding: 0 5px;

    margin-bottom: 0;

    font-size: 16px;

    color: #fff;

    line-height: inherit;

    border-bottom: none;

}

fieldset {

    width: 320px;

    max-width: 90%;

    border: 2px groove threedface;

    padding: 12px;

    margin: 0 auto;

}

#show_checks_btn,

#show_orders_btn,

#save_settings_btn {

    width: 100%;

    margin-top: 12px !important;

}

#checks_select_user,

#orders_select_user {

    margin-bottom: 12px;

}

table.dataTable {

    text-shadow: 2px 2px 2px black;

}

#checks_table.table-condensed > thead > tr > th,

#reports_table.table-condensed > thead > tr > th,

#orders_table.table-condensed > thead > tr > th {

    padding-right: 8px !important;

}

#reports_table.table-condensed > tbody > tr.active > td,

#reports_table.table-condensed > tbody > tr:hover {

    background-color: #46b8da !important;

}

#reports_table.table-condensed > tbody > tr:active {

    background-color: #46a1c3 !important;

}

#reports_table.table-condensed > tbody > * {

    cursor: pointer;

}

#settings label {

    margin-top: 6px;

    font-weight: normal;

}

#settings input {

    text-align: center;

}

.custom-control-input {

    position: absolute;

    z-index: -1;

    opacity: 0;

    margin: 10px 0 0 7px;

}

.custom-control-input + label {

    position: relative;

    padding: 0 0 0 35px;

    cursor: pointer;

}

.custom-control-input + label:before {

    content: '';

    position: absolute;

    left: 0;

    width: 20px;

    height: 20px;

    border: 1px solid #428bca;

    border-radius: 50%;

    background: #FFF;

}

.custom-control-input + label:after {

    content: '';

    position: absolute;

    top: 4px;

    left: 4px;

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: #428bca;

    box-shadow: inset 0 1px 1px rgba(0,0,0,.5);

    opacity: 0;

    transition: .2s;

}

.custom-control-input:checked + label:after {

    opacity: 1;

}

.custom-control-input:focus + label:before {

    box-shadow: 0 0 0 3px rgba(255,255,0,.7);

}

.custom-control-label {

    font-weight: normal;

}





/*.custom-control-label {*/

    /*font-weight: normal;*/

    /*margin: 0 0 4px 8px;*/

    /*position: relative;*/

    /*top: -2px;*/

    /*cursor: pointer;*/

/*}*/



@media only screen and (max-width : 1200px) {

}



@media only screen and (max-width : 991px) {

}



@media only screen and (max-width : 767px) {

    .dataTables_filter {

        display: none;

    }

    .buttons-colvis,

    .buttons-print,

    .buttons-html5 {

        display: none !important;

    }

}



@media only screen and (max-width : 480px) {

    .login_container {

        width: 88% !important;

        margin: -134px 0 0 -44%;

    }

    .navbar_main .btn-danger {

        width: auto;

        font-size: 12px !important;

    }

    .navbar-header {

        width: 100vw;

        margin-left: 0 !important;

        padding-right: 33px;

    }

    .nav-tabs li {

        float: none;

    }

    .nav-tabs li a {

        font-size: 12px !important;

        border-radius: 8px 30px 0 0;

        padding: 6px 12px;

        margin-bottom: 12px;

    }

    .footer_text {

        width: 100vw;

        margin-left: -30px;

    }

    #users #add_user.btn-success,

    #terminals #add_terminal.btn-success {

        margin: 0;

        float: none !important;

        display: block;

    }

}

