﻿body {
    -ms-overflow-style: scrollbar;
    font-family: "PT Sans", sans-serif;
}

/*bootstrap  overrides*/
.panel-default {
    padding: 2rem 1.5rem;
    border-radius: 8px;
    background-color: #e8ebe6;
}

.pagination > li > a, .pagination > li > span, .pagination > li.disabled > a, .pagination > li.disabled > span {
    border-color: #b0b0b0;
    background-color: #F5F5F5;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
  border-color: #b0b0b0;
}

.pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    border-color: #b0b0b0;
}

.page-item .page-link{
    text-decoration: none;
}

.page-link:focus, .page-link:hover {
    color: #25ad74;
}

.page-item.disabled {
    cursor: not-allowed;
}
.page-item.active .page-link {
    background-color: #25b887;
    border-color: #b0b0b0;
}

.table > tbody > tr > td, .table > thead > tr > th {
    border: none;
}

td.g5-first-row {
    background-color: #fff;
}

div.bootstrap-select > div > ul > li > a:focus {
     outline: none;
}  
/*bootstrap  overrides*/

p, ul {
    margin: 0 !important;
}

.nav > li > a {
    display: inline;
}

@media (max-width: 767px) {
    h2 {
        font-size: 24px;
        line-height: 28px;
    }

    h4 {
        font-size: 18px;
        font-weight: 600;
    }
}

div.g5-documentpage-pageheader div.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn){
    width: 70px;
    margin-left: 5px;
}

.table-row-document-title, .table-row-number-column {    
    vertical-align: middle !important;
}


.document-page-image {
    border: 1px solid #000;
}
/*Document page*/

/*Main page*/

span.g5-from-text, span.g5-to-text {
    float:left;
    padding-top:7px;
    display:inline-block;
}

.g5-from, .g5-to {
    min-width: 80px;
}
/*Main page*/

div.g5-total-docs-count-info {
    line-height: 15px;
}

a {
    color: #0f7a65;
    text-decoration: underline;
}

a:hover {
    color: #1a6241;
    text-decoration: none;
}

.main-nav__item a {
    text-decoration:none;
}

.main-nav__item a:hover {
    color: #e8ebe6;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: rgb(211, 249, 184);
}

.footer::before {
    background-position: unset;
}

div.g5-total-docs-count-info
{
    line-height: 15px;
    margin-bottom: 6px;
}

.g5-total-docs-count-info div {
    margin-right: 30px;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
    display: inline-block;
}

.btn-default[disabled]:focus, .btn-default[disabled]:hover {
    background-color: #e0e0e0;
}

.btn-secondary {
    background-color: #d6d6d6;
    padding-top: 20px;
    padding-bottom: 18px;
}

ul.pagination a {
    color: #1a6241;
}

ul.pagination a:hover {
    text-decoration: none;
}

ul.pagination li {
    padding-left: 0;
}

div#content {
    min-height: 400px;
}

.text-left-not-xs, .text-left-not-sm, .text-left-not-md, .text-left-not-lg {
    text-align: left;
}

.text-center-not-xs, .text-center-not-sm, .text-center-not-md, .text-center-not-lg {
    text-align: center;
}

.text-right-not-xs, .text-right-not-sm, .text-right-not-md, .text-right-not-lg {
    text-align: right;
}

.text-justify-not-xs, .text-justify-not-sm, .text-justify-not-md, .text-justify-not-lg {
    text-align: justify;
}

@media (max-width: 767px) {
    .text-left-not-xs, .text-center-not-xs, .text-right-not-xs, .text-justify-not-xs {
        text-align: inherit;
    }

    .text-left-xs {
        text-align: left;
    }

    .text-center-xs {
        text-align: center;
    }

    .text-right-xs {
        text-align: right;
    }

    .text-justify-xs {
        text-align: justify;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .text-left-not-sm, .text-center-not-sm, .text-right-not-sm, .text-justify-not-sm {
        text-align: inherit;
    }

    .text-left-sm {
        text-align: left;
    }

    .text-center-sm {
        text-align: center;
    }

    .text-right-sm {
        text-align: right;
    }

    .text-justify-sm {
        text-align: justify;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .text-left-not-md, .text-center-not-md, .text-right-not-md, .text-justify-not-md {
        text-align: inherit;
    }

    .text-left-md {
        text-align: left;
    }

    .text-center-md {
        text-align: center;
    }

    .text-right-md {
        text-align: right;
    }

    .text-justify-md {
        text-align: justify;
    }
}

@media (min-width: 1200px) {
    .text-left-not-lg, .text-center-not-lg, .text-right-not-lg, .text-justify-not-lg {
        text-align: inherit;
    }

    .text-left-lg {
        text-align: left;
    }

    .text-center-lg {
        text-align: center;
    }

    .text-right-lg {
        text-align: right;
    }

    .text-justify-lg {
        text-align: justify;
    }
}

.g5-formlabel {
    padding-top: 0.5em;
    text-align: right;
}

#page-item-form .control-label {
    padding-top: 0.7em;
    float: left;
}

#page-item-form .form-control {
    width: 5em;
}

.form-group .form-check .form-check-label span {
    opacity: 1;
}

.form-group .form-check .form-check-label i {
    background-color: #fff;
}

.form-group .form-control {
    border: 2px solid #25b887;
}

.justify-content-end .file-download__item-file {
    padding-right: 16px;
    padding-left: 16px;
}

.form-control:focus, .form-control:hover {
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.075) inset, 0 0 8px #25b887;
}

.file-download__item-link {
    margin: 0;
}

.main__main .breadcrumb__item a{
    color: #0f7a65;
}

.main__main .breadcrumb__list {
    display: flex;
}

.menu-container {
    min-height: 2px;
}

@media (min-width: 1151px) {
    .menu-container {
        display: none!important;
    }
}

div.main__section--bg-gerb {
    padding-top: 5.5rem;
    padding-bottom: 1.55rem;
    padding-left: 0.075rem;
}

.form-group {
    margin-bottom: 1rem;
}

.btn.dropdown-toggle {
    padding-top: 5px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 3px;
    min-width:0;
}

button.dropdown-toggle:hover {
    background-color: #fff;
}

.bootstrap-select button.dropdown-toggle:focus {
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.075) inset, 0 0 20px #25b887;
    outline-style: none !important;
    outline-color:none;
    outline-offset: unset;
    outline-width: unset;
}

.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
.show > .btn-light.dropdown-toggle {
  background-color: #fff;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.075) inset, 0 0 8px #25b887;
}

.bootstrap-select button.btn-light.dropdown-toggle:focus:active {
    outline-style: none !important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.075) inset, 0 0 8px #25b887;
}

button.btn.dropdown-toggle {
    display: inline-block !important;
    background-color: #fff;
}

button.btn.dropdown-toggle::after {
    top:1em;
    right: 0.75em;
    position: absolute;
}

/* крестик очистки input-ов */
.clearable{
    position: relative;
    display: inline;
}

.clearable input[type=text]{
    box-sizing: border-box;
    display: inline;
}

.clearable__clear{
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 0.7em;
    font-style: normal;
    font-size: 1.4em;
    user-select: none;
    cursor: pointer;
    margin: auto 0px;
    height: 1.5em;
    bottom: 0;
}

    /* Remove IE default X */
/*.clearable input::-ms-clear {  
    display: none;
}*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .clearable__clear {
        display: none !important;
    }
}

@supports (-ms-ime-align:auto) {
    .clearable__clear {
        display: none !important;
    }
}

/* ---------------- */

/* Перегрузка стилей для поддержки bootstrap 4-beta */

.pt-1 {
    padding-top: 0.5rem !important;
}

.pb-4 {
    padding-bottom: 2rem !important;
}

.pt-9 {
    padding-top: 4.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important; 
}

.mt-9 {
    margin-top: 4.5rem !important;
}

.btn.btn-outline-secondary.btn-lg{
    padding-top: 19px;
    padding-bottom: 19px;
    border: 2px solid rgb(134, 142, 150);
    line-height: 0.875rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.main__header {
    height: 231px;
}

.header__container {
    max-width: 1340px;
    min-height: 45px;
}

@media (min-width: 1366px) {
    .header__container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1349px) {
    .header__container {

        padding-left: 16px;
        padding-right: 16px;
    }
}

.header-main-container {
    padding-top:0.35rem;
    padding-left: auto;
}

@media (min-width: 1200px) {
    .header-main-container {
        padding-left: 0.58rem;
        padding-bottom: 0.05rem;
    }
}

@media (min-width: 1151px) and (max-width: 1182px) {
    /*.main__section main__section--bg-gerb {
        height: 231px !important;
    }*/
}

@media (max-width:313) {
    .main__section main__section--bg-gerb {
        padding-bottom:0;
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: 1152px;
        margin-left:0;
        margin-right:0;
    }
}

.header-main__left {
    width: 63.45%;
}

@media (max-width: 751px) {
    .header-main__left {
        width: 100% !important;
    }
}

.form-check-label i:hover, .form-check-label i:focus {
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.075) inset, 0 0 8px #25b887;
}

.bootstrap-select .dropdown-menu .dropdown-item.active {
    background-color: #e6e6e6;
    color: #000;
}

.bootstrap-select .dropdown-menu .dropdown-item:hover, .bootstrap-select .dropdown-menu .dropdown-item:active {
    background-color: #e8ebe6;
    color: #000;
}

.bootstrap-select .dropdown-item:focus, .bootstrap-select .dropdown-item span:focus {
    outline-style: none !important;
    outline-color:none;
    outline-offset: unset;
    outline-width: unset;
}

.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
    background-color: #25b887;
    color: #000;
}

.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: #0f7a65;
}

.bootstrap-datetimepicker-widget table td.active.today:before {
    border-bottom-color: #0f7a65; 
}

.bootstrap-datetimepicker-widget table td span.active {
    background-color: #25b887;
    color: #000;
}
/*  ------------------------------------------------ */

