/* --------------------------------------------------------
Style Sheet for Corex

version: 1.2
last modified: 13.08.2019
author: Oleg Torshin
email: o1e@yandex.ru
----------------------------------------------------------*/
@import "https://fonts.googleapis.com/css?family=Russo+One&subset=latin,cyrillic";
@import "https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,300,700&subset=latin,cyrillic";
@import "https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic";


@font-face {
    font-family: 'Open Sans';
    src: local('../fonts/open_sans/Open Sans'), local('../fonts/open_sans/OpenSans'), url('../fonts/open_sans/opensans.woff2') format('woff2'), url('../fonts/open_sans/opensans.woff') format('woff'), url('../fonts/open_sans/opensans.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    position: relative;
    color: #333;
    font-size: 15px;
    font-family: 'Open Sans' !important;
    line-height: 24px;
    opacity: 0;
    background: #fff;
}

body.active {
    opacity: 1;
}

header,
main,
footer {
    background: inherit;
}

.page__body {
    padding-top: 50px;
    padding-bottom: 50px;
}
.btn {
    padding: .4rem .9rem;
    border-radius: 3px !important;
}

.btn.btn-primary {
    color: #fff;
    border: 1px solid #105fab;
    background: #105fab;
}

.btn.btn-primary:hover,
.btn.btn-primary:active,
.btn.btn-primary:focus {
    border: 1px solid #000;
    color: #fff;
    background: #000;
}

.btn.btn-link:hover,
.btn.btn-link:active
.btn.btn-link:focus {
    text-decoration: none;
}

button,
a,
input[type="checkbox"],
.nav-item {
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
}

.btn.btn-icon {
    color: #333 !important;
    background: transparent;
}

/*.btn.btn-icon:hover,*/
/*.btn.btn-icon:active,*/
/*.btn.btn-icon:focus {*/
/*    border: 1px solid transparent;*/
/*    color: #105fab !important;*/
/*    background: transparent;*/
/*}*/

/*.btn-default {*/
/*    border: 1px solid #C5C5C5;*/
/*    color: #333;*/
/*    background: linear-gradient(to bottom, #F0F0F0, #D9D9D9);*/
/*}*/

/*.btn-default:hover,*/
/*.btn-default:active,*/
/*.btn-default:focus {*/
/*    border: 1px solid #105fab;*/
/*    color: #fff;*/
/*    background: #105fab;*/
/*}*/

.btn.btn-close-modal {
    position: absolute;
    top: 1rem;
    right: calc(94.5% + 1rem);
    color: #000;
    font-size: 40px;
    background: none;
}

.btn.btn-close-modal:hover,
.btn.btn-close-modal:active,
.btn.btn-close-modal:focus {
    color: #105fab;
}

a {
    /*color: #105fab !important;*/
    color: #105fab;
}

a:hover,
a:active,
a:focus {
    text-decoration: none !important;
    /*color: #333 !important;*/
    color: #333;
}

::selection {
    color: #fff;
    background: #105fab;
}

.title {
    color: #105fab;
    text-transform: uppercase;
}

.title--small {
    color: #105fab;
}

.row {
    margin-bottom: 1rem;
}

main {
    overflow: hidden;
}

.slider {
    position: relative;
    margin-bottom: 3.5rem
}

.slider img {
    width: 100%;
    height: 100%;
}

.title-page {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

.form-control:focus {
    border-color: #105fab;
}


.form-control::placeholder {
    font-family: 'Open Sans' !important;
    color: #333;
    font-size: 15px;
    line-height: 24px;
    opacity: 0.56826125;
}

.loader {
    margin: 0 auto;
}

ul {
    margin-bottom: 0;
}

ul li {
    list-style: none;
}

p {
    margin-bottom: 0;
}

.mainInfo {
    padding: .5rem 1.3rem;
    border-left: 2px solid #7FACD5;
}

/*.modal-open  {*/
/*    overflow: visible;*/
/*}*/

/*** checkBox ***/
/*.custom-label {*/
/*    display: inline-block;*/
/*    cursor: pointer;*/
/*    position: relative;*/
/*    padding-left: 25px;*/
/*    margin-right: 15px;*/
/*    font-size: 16px;*/
/*}*/

/*.custom-label:before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: .3rem;*/
/*    left: 0;*/
/*    width: 14px;*/
/*    height: 14px;*/
/*    margin-right: 10px;*/
/*    border: 1px solid #d2d2d2;*/
/*    display: inline-block;*/
/*    background: #fff;*/
/*}*/

.custom-checkbox {
    display: none;
}

/*.custom-checkbox .custom-label:before {*/
/*    border-radius: 2px;*/
/*}*/

/*.custom-checkbox:checked + .custom-label:before {*/
/*    content: "\2713";*/
/*    border-radius: 2px;*/
/*    font-size: 9px;*/
/*    color: #fff;*/
/*    text-align: center;*/
/*    line-height: 13px;*/
/*    background: #105fab;*/
/*}*/

/*.custom-checkbox:disabled + label:before {*/
/*    background: #d2d2d2;*/
/*}*/

.title--small {
    color: #105fab;
}

.mainInfo {
    padding: .5rem 1.3rem;
    border-left: 2px solid #7FACD5;
}

.caption {
    margin: .5rem 0;
}

.caption.caption--low {
    /*margin-bottom: .3rem !important;*/
    font-size: 11px;
}
/*** /checkBox ***/

.customTitle {
    margin: .5rem 0 .5rem 0;
    color: #105fab;
    font-size: 16px;
}

.propcustom {
    font-weight: 600;
}

.propcustom,
.valueCustom  {
    font-size: 13px;
}

/*** header ***/
.header {
    position: relative;
    padding-top: 3.1rem;
    display: block;
    /*font-family: 'Montserrat SemiBold', sans-serif;*/
}

.header-bg {
    width: 100%;
    position: relative;
    vertical-align: middle;
    align-items: center;
    background-size: contain;
}

.header-bg-image {
    background: url('/images/slider-login.jpg');
}
.header__logo .inner {
    width: 250px;
    height: 60px;
    display: inline-block;
    background: url('/images/logo.svg') center center no-repeat;
}


.header__language {
    float: left;
    height: 30px;
    padding: 0 15px;
    /*border-right: 1px solid #B2B2B2;*/
    /*border-left: 1px solid #B2B2B2;*/
    line-height: 30px;
    text-align: center;
    /*font-family: 'Montserrat Light', sans-serif;*/
    text-transform: uppercase;
}
.header__help {
    float: left;
    height: 30px;
    padding: 0 15px;
    line-height: 30px;
    text-align: center;
    /*font-family: 'Montserrat Light', sans-serif;*/
    text-transform: uppercase;
    color: #fff !important;
}
.header__logout > .btn:hover,
.header__language > .btn:hover,
.header__help > .btn:hover {
    text-decoration: underline !important;
}

.header__logout {
    float: left;
    margin: 1rem 0 0 1rem !important;
    color: #fff; !important;
}

.header__logout > .btn,
.header__language > .btn,
.header__help > .btn{
    color: #fff; !important;
    /*font-family: 'Montserrat Light', sans-serif;*/
    text-transform: uppercase;
}

.header .container .row {
    margin-bottom: 0;
}

.header__navigation {
    height: 88px;
    margin: -1rem 0 2rem;
    color: #fff !important;
}

.header__navigation ul {
    display: inline-block;
}

.header__navigation li {
    float: left;
    display: inline-block;
}

.header__navigation li a {
    padding: 2rem 1rem;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;

}

.header__navigation > ul > li > a.nav-item {
    color: #fff; !important;
}

.header__navigation li a:hover,
.header__navigation li a.nav-item.active {
    color: #fff;
    background-color: #284193;
}

.md-datepicker-calendar-pane.md-pane-open {
    z-index: 9999;
}

/*** customModal ***/
.customModal {
    display: none;
}

.customModal.show {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    z-index: 9999;
    background: rgba(153,153,153,0.5);
}

.customModal.show .customModal__content {
    position: absolute;
    top: 0;
    right: 0;
    width: 95%;
    height: calc(100% - 80px);
    z-index: 99999;
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
}
/*** /customModal ***/


/*** custom ***/
.title--small {
    color: #105fab;
}

.mainInfo {
    padding: .5rem 1.3rem;
    border-left: 2px solid #7FACD5;
}

.table.table--th-20 thead th {
    min-width: 20ch;
}

.table tbody td:first-child {
    /*color: #1967B1;*/
}

.table thead th {
    min-width: 4ch;
    padding: .5rem;
    border: 1px solid #C5C5C5;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    vertical-align: middle;
    background: linear-gradient(to bottom, #F1F1F1, #E0E0E0);
    word-wrap: break-word;
}

.table-middle-width {
    font-size: 14px;
}

.table thead th.fit {
    min-width: 5ch;
}

.table thead th.long-field {
    min-width: 40ch;
}

.table thead th.field-40 {
    min-width: 40ch;
}

.table thead th.middle-field {
    min-width: 30ch;
}

.table thead th.field-30 {
    min-width: 30ch;
}

.table thead th.field_20 {
    min-width: 20ch;
}

.table thead th.field_25 {
    min-width: 25ch;
}

.table thead th.field_15 {
    min-width: 15ch;
}

.table tbody td {
    padding: 4px;
    font-size: 12px;
    /*border: 1px solid #C5C5C5;*/
    vertical-align: middle;
    word-wrap: normal;
}

.table tbody td {
    /*border: 1px solid #C5C5C5;*/
}

.table tbody tr:hover td,
.table tbody tr:active td,
.table tbody tr:focus td {
    background: #F5F5F5;
}

.table.table-type0 thead th {
    border: 1px solid #C5C5C5;
    color: #333;
    background: linear-gradient(to bottom, #ECECEC, #D8D8D8);
}

.table.table-type0 tbody td {
    /*border: 1px solid #C5C5C5;*/
    color: #333;
}

.table-responsive.table-responsive-fixed {
    max-height: 500px;
}

.table-responsive.table-responsive-fixed > .table {
    margin-bottom: 0;
}

.table-responsive.table-responsive-fixed > .table thead th {
    position: relative;
}

.table-responsive.table-responsive-fixed > .table thead th:after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    height: 2px;
    width: 100%;
    background: #fff;
}

.error {
    color: #FF3300;
}

input.error {
    border-color: #FF3300;
}

.text-right {
    text-align: right !important;
}

.wrap-mainTitle {
    margin-bottom: 0;
}

.label-control {
    font-weight: 800;
}

.no-padding-side-left {
    padding-left: 0 !important;
}

.no-padding-side-right {
    padding-right: 0 !important;
}

.btn-group.btn-group-withMargin .btn {
    margin-left: 1rem;
}

.btn-group.btn-group-withMargin .btn:first-child {
    margin-left: 0;
}

.page-link.active {
    color: #fff !important;
    background: #105fab ;
}

.nav.nav-tabs .nav-item .nav-link {
    border: none;
    font-size: 15px;
}

.nav.nav-tabs .nav-item .nav-link,
.nav.nav-tabs .nav-item.active .nav-link:hover,
.nav.nav-tabs .nav-item.active .nav-link:active,
.nav.nav-tabs .nav-item.active .nav-link:focus {
    border: none;
    color: #333 !important;
}

.nav.nav-tabs .nav-item .nav-link:hover,
.nav.nav-tabs .nav-item .nav-link:active,
.nav.nav-tabs .nav-item .nav-link:focus,
.nav.nav-tabs .nav-item.active .nav-link {
    border: none;
    color: #105fab !important;
}

.header__mobile {
    margin-top: 1rem;
}

.header__mobile .dropdown {
    float: left;
    display: inline-block;
}

.header__mobile .header__logout {
    float: right;
}

.header__mobile .header__language {
    float: right;
}

.header__mobile .dropdown-menu .dropdown-item:hover,
.header__mobile .dropdown-menu .dropdown-item:hover,
.header__mobile .dropdown-menu .dropdown-item:hover {
    color: #fff !important;
    background: #224362;
}

.wrap-radioBox {
    position: relative;
    width: 100%;
}

.wrap-radioBox .item {
    float: left;
}

.input-count.error {
    border: 1px solid #d69999;
}

.text-empty {
    width: 100%;
    font-size: 20px;
    text-align: center;
    margin: 24px;
}
/*** /custom **/


/*** media ***/
@media screen and (max-device-width: 1329px) {
    .wrap-header__control {
        width: 100%;
        padding-right: 1rem;
    }

    .header__language {
        float: right;
    }

    .header__logout {
        float: right;
    }
}

@media screen and (max-device-width: 1200px) {

    .header__navigation {
        margin: 0;
    }

    .header__navigation li a {
        padding: 1.5rem 1rem;
    }
}

@media screen and (min-width: 960px) and (max-width: 1400px)  {
    .header__navigation {
        margin: -1rem -5rem 2rem;
    }
}

@media screen and (min-width: 960px) and (max-width: 1200px)  {
    .header__navigation ul {
        float: right;
    }
}

@media (min-width: 960px) {
    .container-fluid {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
}

@media (max-width: 960px) {
    .header__logo {
        text-align: center;
    }

    .header__navigation {
        margin-top: 1rem;
        text-align: center;
    }

    .header__navigation ul {
        padding: 0;
    }
}

@media screen and (min-width: 768px) {
    .modal-lg {
        max-width: 70%;
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mainInfo {
        margin: 1rem 0;
    }
}

@media screen and (max-width: 576px) {
    /*.header__language {*/
    /*    margin: 0 auto 1rem;*/
    /*}*/

    .title-page {
        font-size:  1rem;
        font-weight: 700;
    }

    .header__navigation {
        height: auto;
        margin-bottom: 1rem;
    }

    .header__navigation li a {
        padding: .5rem;
        font-size: 11px;
    }

    .header__logout {
        margin: 0 !important;
    }

    .listDataMobile {
        padding: 0 2.5rem;
    }

    .listDataMobile li {
        margin-bottom: 2rem;
    }

    .listDataMobile li .row {
        margin-bottom: .5rem !important;
        padding: 0 20px;
        border-bottom: 1px solid #d2d2d2;
    }

    .listDataMobile li .row .name {
        font-size: 14px;
        font-weight: 600;
    }

    /*.listDataMobile li .row .key,*/
    /*.listDataMobile li .row .value {*/
    /*    width: 100%;*/
    /*    display: block;*/
    /*}*/

    .listDataMobile li .row .key {
        color: #d2d2d2;
        font-size: 12px;
    }

    .listDataMobile li .row .value {
        font-size: 14px;
    }
}


#submenu,
#submenu-mob {
    z-index: 120;
}

.attachment_list {
    font-size: 14px;
    margin-left: 16px;
}

.search-input {
    line-height: 2.5;
    padding: 4px;
    width: 100%;
    min-width: fit-content;
}
/*** media ***/

.secret {
    visibility: hidden !important;
}

.godmode {
    padding-top: 64px;
}
