/* */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Oswald";
    src: url("../fonts/Oswald-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
/* Работает в Firefox */
* {scrollbar-width: thin;scrollbar-color: #9C1F2D #6C757D;}
/* Работает в Chrome, Edge и Safari */
*::-webkit-scrollbar {width: 12px;}
*::-webkit-scrollbar-track {background: #6C757D;}
*::-webkit-scrollbar-thumb {background-color: #9C1F2D;border-radius: 12px;border: 1px solid #6C757D;}

html, body {height: 100%; font-family: 'Roboto', sans-serif;}

.wrap {min-height: 100%;height: auto;margin: 0 auto -700px;padding: 0 0 725px;}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {font-family: 'Oswald', sans-serif; color: #9C1F2D;}

a {color: #9C1F2D;text-decoration: underline;}
a:hover, a.nav-link:hover {color: #700;}
a.btn, a.btn:hover {text-decoration: none;}
/*---------------------------------
        GRID-VIEW HEADER LINK
 ---------------------------------*/
.grid-view table th a, .grid-view table td:last-child a {color: #6c757d;}

dl {width: 100%;overflow: hidden;padding: 0;margin: 0;}
dt {float: left;width: 30%;padding: 0 0 0 24px;margin: 0;}
dd {float: left;width: 70%;padding: 0;margin: 0;}
/*-----------------------------
        HEADER
------------------------------*/
header .f-top {padding: 10px 15px; color: #ffffff;}
header .f-top a {color: #FFFFFF; text-decoration: none;}
header .f-top .fa-user { font-size: 24px;}
header .f-top #socialTop ul { margin: 0;}
header .f-top #socialTop .social-link .fab { padding: 0.5rem;}
@media (max-width: 576px) {
    header .f-top #socialTop .social-link .fab { font-size: 14px;}
    header .f-top #socialTop .list-inline-item:not(:last-child) {margin-right: 0.25rem;}
}
/********** LANGUAGE WIDGET **********/
header .language-list {background: #545454;z-index: 1025;}
header .language-list .dropdown-item.active, .language-list .dropdown-item:active {
    color: #545454;
    text-decoration: none;
    background-color: #FFFFFF;
}
header #dropdownLang {cursor: pointer;}

#logoImg {
    height: 7rem;
    position: absolute;
    top: -1rem;
    z-index: 1025;
}
@media (max-width: 1200px) {
    #logoImg { height: 5rem; top: 0; }
}
/**************************************/
header .s-top a {text-decoration: none;}
/*-----------------------------
        TOP NAV
------------------------------*/
#topNavBar a, #topNavBar a:hover {text-decoration: none;}
#topNavBar {padding: 0 1rem;box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.3);margin-top: -2px;}
#topNavBar .navbar-nav .nav-link {color: #fff;}
#topNavBar .navbar-nav .nav-link.active, #topNavBar .navbar-nav .nav-link:active {color: #9C1F2D;background-color: #fff;}
#topNavBar .navbar-nav .nav-link:hover {color: #9C1F2D;background-color: #fff;}
#topNavBar.navbar-expand-lg .navbar-nav .nav-link {padding: 20px 10px;}
#topNavBar .dropdown-menu {background-color: #9C1F2D;}
#topNavBar .dropdown-item {display: block;width: 100%;padding: 0.25rem 1.5rem;clear: both;font-weight: 400;color: #fff;text-align: inherit;
    white-space: nowrap; background-color: #9C1F2D;border: 0;}
#topNavBar .dropdown-item.active, #topNavBar .dropdown-item:active, #topNavBar .dropdown-item:hover {color: #9C1F2D;text-decoration: none;background-color: #fff;}
#topNavBar .dropdown-menu a.dropdown-item {font-size: 13px;}
#topNavBar .dropdown-item.dropdown-toggle::after {
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    position: absolute;
    right: 5px;
    top: 12px;
}
/*-----------------------------
        SIDE NAV
------------------------------*/
#sideMenu {background: none;}
#sideMenu .btn-close {background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFF'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;}
/***** PRIVATE NAV *****/
#privateNav a.nav-link {text-decoration: none; color: #545454; }
#privateNav .nav-link.active, #privateNav .nav-pills .show > .nav-link {color: #fff; background-color: #545454;}
/***** FOOTER *****/
.footer {
    height: 700px;background-color: #545454;border-top: 3px solid #9C1F2D;padding-top: 20px;color: #CCCCCC;
    background: url('/storage/img/bg_footer.jpg') center center no-repeat; background-size: cover;
}

footer.dark-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 47, 47, .9);
    z-index: -1;
}

footer.dark-overlay {position: relative;z-index: 1;}

.footer a {color: #FFFFFF; text-decoration: none;}
.footer a:hover {color: #CCCCCC; text-decoration: none;}
.footer .h3 {color: #FFFFFF;}
.footer .nav-link {padding: 0 1rem;}
.footer .nav.flex-column { margin-left: 24px; }
/****************************/
/****** PAGE HEADER *********/
.section-header {border-bottom: 5px solid #545454;margin-bottom: 48px;}
.section-header .section-title {position: relative;bottom: -18px;background: #fff;padding: 2px 10px;margin: 0 0 0 64px;display: inline-block;}
/*****************************************************************/
.alert span.h3 {font-size: 18px;}
.alert.alert-warning span.h3 {color: #856404;}
.alert.alert-success span.h3 {color: #155724;}
.alert.alert-info span.h3 {color: #0c5460;}
/***** COLORS *****/
.bg-bordo {background-color: #9C1F2D !important;}
.bg-gray {background-color: #545454 !important;}
.bg-white-bordo {
    background: #9c1f2d;
    background: -moz-linear-gradient(135deg, rgba(255, 255, 255, 1) 25%, rgba(156, 31, 45, 1) 25%);
    background: -webkit-linear-gradient(135deg, rgba(255, 255, 255, 1) 25%, rgba(156, 31, 45, 1) 25%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 25%, rgba(156, 31, 45, 1) 25%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#9c1f2d", GradientType=1);
}
.bg-white-gray {
    background: #545454;
    background: -moz-linear-gradient(45deg, rgba(255, 255, 255, 1) 25%, rgba(84, 84, 84, 1) 25%);
    background: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 1) 25%, rgba(84, 84, 84, 1) 25%);
    background: linear-gradient(45deg, rgba(255, 255, 255, 1) 25%, rgba(84, 84, 84, 1) 25%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#545454", GradientType=1);
}
/*************************/
@media (max-width: 991px) {
    #sideMenu, .bg-white-bordo {background: #9c1f2d;}
    .bg-white-gray {background: #545454;}
    .footer .nav .nav-link, .footer .address-block { font-size: 12px; }
}

@media (max-width: 768px) {
    .wrap {margin: 0 auto -425px;padding: 0 0 500px;}
    .footer {height: 475px;}
}

@media (max-width: 576px) {
    .wrap {margin: 0 auto -625px;padding: 0 0 675px;}
    .footer {height: 675px;}
    .table th, .table td {font-size: 12px;}
    header .f-top .fa-user { font-size: 14px;}
    #topSearchForm .col-10,#topSearchForm .col-2 {padding-right: 2px; padding-left: 2px;}
}

#toTop, #callBack {
    width: 50px; height: 50px; border: 2px solid #9c1f2d; border-radius: 7px; background: #ccc;
    opacity: 0.2;
    text-align: center;
    padding: 3px;
    position: fixed;
    z-index: 10;
    bottom: 50px;
    right: 30px;
    cursor: pointer;
    display: none;
    color: #333;
    font-size: 32px;
}
#toTop:hover, #callBack:hover {opacity: 1;color: #fff;background:#9C1F2D;}
#callBack {bottom: 110px; display: block; opacity: 0.3;}
/******************************************/
#callBackModal .modal{ top: 90px !important; }
#callBackModal .modal-dialog{width: 570px; margin: 20px auto 0;}

#callBackModal .modal-dialog .modal-content{text-align: center;border: none;position: relative;}
#callBackModal .modal-dialog .modal-content:before{
    content: "";
    background: #6c757d;
    width: 200px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
#callBackModal .modal-dialog .modal-content .modal-header .modal-title{ margin-left: 215px!important; }
#callBackModal .modal-dialog .modal-content .modal-body{ padding: 25px 15px 25px 215px!important; }
#callBackModal .modal-dialog .modal-content .modal-body .icon{
    color: #fff;
    font-size: 100px;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 47px;
}
#callBackModal .modal-dialog .modal-content .modal-body .description{font-size: 11px;}

@media only screen and (max-width: 576px){
    #callBackModal .modal-dialog{ width: 93% !important; }
    #callBackModal .modal-dialog .modal-content:before{width: 100%;height: 150px;top: 60px;}
    #callBackModal .modal-dialog .modal-content .modal-body{ padding: 180px 30px 30px 30px !important; }
    #callBackModal .modal-dialog .modal-content .modal-body .icon{transform: translateX(-50%);top: 0;left: 50%;}
    #callBackModal .modal-dialog .modal-content .modal-header .modal-title{ margin-left: 15px!important; }
}
/******************************************/
.login-form-icon{
    background: #545454;
    color: #fff;
    font-size: 13px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0,0,0,0.2);
    width: 100%;
    padding: 50px 0;
    vertical-align: top;
    display: inline-block;
}
.login-form-icon i{font-size: 124px;margin: 0 0 15px;display: block;}
.login-form-icon .signup a {color: #fff;transition: all 0.3s ease;text-decoration: none;}
.login-form-icon .signup a:hover{ text-decoration: underline; }

.table th {text-align: center;}

.announcement-content {border: 1px solid #9C1F2D;border-radius: 5px;}
/*************************************************/
#searchform-search.form-control, #searchform-search.form-control.is-valid {border: 1px solid #9C1F2D;}
.field-searchform-option, .field-searchform-search {margin-bottom: 0;}
#searchform-option {display: flex; flex-direction: row; align-items: stretch;}
#searchform-option>div {flex: 1;}
#searchform-option label {
    display: inline-block;
    cursor: pointer;
    padding: 0 15px;
    line-height: 1.5rem;
    border: none;
    border-top: 1px solid #9c1f2d;
    border-bottom: none;
    user-select: none;
    font-size: 14px;
    width: 100%;
    text-align: center;
}

#searchform-option .form-check:first-child label {border-left: 1px solid #9c1f2d; border-radius: 6px 0 0 0;}
#searchform-option .form-check:last-child label {border-radius: 0 6px 0 0;border-right: 1px solid #9c1f2d;}
#searchform-option .form-check-input.is-valid ~ .form-check-label {color: #000000;}

/* Checked */
#searchform-option input.is-valid[type=radio]:checked + label,
#searchform-option input[type=radio]:checked + label {background: #9c1f2d;color: #FFFFFF;}

/* Disabled */
#searchform-option input[type=radio]:disabled + label {background: #FFFFFF;color: #9c1f2d;}
#searchform-option input.form-check-input, #searchform-option .form-check-label:before {display: none;}
#searchform-option .form-check-inline {display: inline-block;;margin-right: 0;margin-left: 0;}
#searchform-option .form-check {padding-left: 0;padding-right: 0;}

#searchform-search.form-control,#searchform-search.form-control.is-valid {
    border: 1px solid #9c1f2d;
    border-top: 1px solid #ccc;
    border-radius:  0 0 6px  6px;
}
#searchform-search.form-control {box-shadow: none;}

.navbar-toggler-icon:before {
    font-family: "Font Awesome 5 Free";
    content: "\f0c9";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
    color: #fff;
    border-color: #fff;
}
/********************************************************************/
.form-control {border: none;border-bottom: 1px solid #ced4da;}
.form-floating > .form-control {height: calc(2.5rem + 2px);}
.form-floating > .form-select {height: auto;}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {transform: scale(0.85) translateY(-1.2rem) translateX(0.15rem);}
.form-floating > select.form-control:not(:placeholder-shown) {padding-top: 1.125rem;padding-bottom: 0.1rem;}
.form-floating > textarea.form-control {height: 100px;}
.form-label {margin-bottom: 0;}
/***** Disable blue border *****/
textarea:hover, input:hover, select:hover, textarea:active, input:active, select:active, textarea:focus,input:focus,
select:focus, button:focus, button:active, button:hover, label:focus, .btn:active, .btn.active {
    outline: 0 !important;
    -webkit-appearance:none;
    box-shadow: none !important;
}

.invalid-tooltip {color: #9C1F2D;background-color: #FFFFFF;right: 0;padding: 0;}
/********************************/
section#notFound h4, section#notFound h5 {color: #545454;}
section#notFound .card {height: 165px;}
section#notFound ul {list-style: none;padding-left: 0;}
section#notFound ul li a {text-decoration: none; color: #545454;}

.accordion-body {padding: 10px; overflow: hidden;}

.warn-popover {color: #9C1F2D;background: none;border: none;padding: 0;}

.popover {box-shadow: 0 0 .5rem .25rem rgba(0, 0, 0, .5);}