@font-face{
    font-family:cyrillicold;
    font-style:normal;
    font-weight:700;
    src:url(/fonts/cyrillicold.woff) format('woff'),
        url(/fonts/cyrillicold.ttf) format('truetype')
}
  
BODY {
    font-family: cyrillicold, verdana, arial !important; 
    color: #8D2036; 
    padding-top:0;
    background-color: #666 !important;
    text-align: center;
}

h1 {
    font-size: 54px !important;
    color: #8D2036 !important;
    letter-spacing: 10px;
    text-shadow: 2px 2px #ccc;
    margin: 0px;
}
a { text-decoration: none !important; }

.no-padding {
    padding: 0 !important;
}
.header-container {
    color: #eee;
    background-color: #CE0A31 !important;
}
.sub-header { 
    color: #eee;
    padding:3px;
    background-color: #8D2036 !important;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eeee;
    width: 100%;
    margin: 0 auto !important;
}
.sub-header a {
    color: #eee;
    font-size:16px;
}
#alpha-select {
    height: 25px;
    color: #8D2036;
}
.sidebar {
    padding: 0 !important;
    background-color: #CE0A31 !important;
    color: white;
}
.sidebar a {
    color: white !important;
    font-size: 15px;
}
.dotted_line { 
    border-top: 1px dotted #FFF;
    color: #8D2036;
    background-color: #8D2036;
    height: 1px;
    margin-top: 3px;
    margin-bottom: 3px;
}
.vertical-middle {
    margin: auto !important;
}
.desktop-header-container {
  padding: 10px;
}
.mobile-header-container {
  padding: 20px;
  margin-bottom: 20px;
}
.divider {background-color: #FFF; height: 1px; }

.clear,.clearer {clear: both;}
.txt {font-size: 11px; color: #8D2036;}
a {font-size: 11px; color: #CE0A31; text-decoration: none; }
.white {font-size: 11px; color: #FFF; font-weight: bold;}
.white a:link {font-size: 13px; color: #FFF; font-weight: bold; }
.white a:hover { font-weight: bold; font-size: 13px; }
.white a:visited {font-size: 11px; color: #FFF; font-weight: bold }
.section-title { padding-left: 5px; background-color: #8D2036; font-size: 14px;}
.section-content { padding: 2px 5px; line-height: 20px;}
.widget-panel {background-color: #A6BE7D; }
.widget-title {background-color: #8D2036; color: white; font-size: 14px;}
.widget-content {background-color: #8D2036;}

.buttonlogin {
    font-size: 20px;
    text-align:center; 
    background-color: #8D2036; 
    color: #FFFFFF; 
    width: 30px; 
    height: 53px; 
    border: 2px #FFFFFF solid; 
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-left: 2px;
}
.buttonsubmit {
    font-size: 15px;
    font-weight: bold; 
    background-color: #8D2036;
    text-align: center; 
    color: #FFFFFF; 
    width: 26px; 
    height: 26px; 
    border: 2px #FFFFFF solid;
    -moz-border-radius: 5px;
    border-radius: 5px;  
  }
.formstyle {
    color: #8D2036; 
    height: 25px; 
    width: 230px;
}

#login_container {margin-left: 15px; margin-top: 10px; margin-bottom: 10px;}
#login_fields { float: left;}
#login_fields input { width: 130px;}
#login_links { margin-left: 15px; text-align: left; }
#login_links a {font-size: 15px;}

#header-title {
    font-size: 24px; 
    font-weight: bold; 
}
#header-subtitle {
    font-size: 20px; 
    font-weight: bold; 
}
.top_title { 
    background-color: #8D2036; 
    color: #eee; 
    font-weight: bold; 
    text-align: center;
    padding: 5px; 
    font-size: 18px;
    border: 2px solid #eee;
    position: relative;
}
.title-icon { 
    position: absolute;
    left: 10px;
}
.top_block { 
    background-color: #A6BE7D; 
    overflow: hidden;
    border-bottom: 2px solid #eee;
}
.my-toggler {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f8f9fa' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    margin: 2px 0;
    font-size: 24px;
}
.main-content {
    background-color: #C9D5A8;
}
.top_content { padding: 10px 10px 0 10px; text-align: left; color: #8D2036;}
.top_content a { color: #355E3B;font-size: 16px;}
.bordered {
	background-color: #666;
	border: 1px solid #AAA;
	padding: 3px;
	margin-right: 5px;
	margin-bottom: 5px;
}
.main-page-article-img {
    float: left;
    max-width: 150px;
    margin-right: 10px;
}
.chrono-title {
    margin-top: 5px;
}
.legend-box {
    background: #C9D5A8;
    padding-left: 8px;
    margin: 0 8px;
}
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.im_img {
    width: 35%;
}
.im_img img {
    margin-left: 10px;
    width: 120px;
}
.color-dark-red {
    color: #8D2036;
}
.more-link {
    color: #8D2036;
    font-size: 16px;
}
.carousel-caption p {
    font-size: 40px;
}
/*.chrono-data {
    width: fit-content;
    text-align: left;
    margin: 0 auto;
}*/

/* carousel */
.carousel-item {
    position: relative;
}
.carousel-item img {
    width: 100%;
    height: auto;
}
.cover-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust color and transparency as needed */
    z-index: 1;
}
.carousel-caption {
    z-index: 2;
    color: #ccc !important;
    background: rgba(0, 0, 0, 0.35);
}
.slider-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}
.slider-slogan {
    position: absolute;
    top: 70px;
    color: #eee;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 24px;
}
.slider-slogan p:first-child {
    font-size: 36px;
    margin-bottom: 0;
}
.centered-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}
.btn-register {
    border: 2px solid #ccc !important;
    background-color: #8D2036 !important;
    border-radius: 5px !important;
    text-transform: uppercase;
    padding: 10px 30px !important;
}
.profile-menu {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ccc;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 0 10px;
    background-color: #8D2036 !important;
    z-index: 100;
}
.profile-menu:hover {
    cursor: pointer;
}
.profile-menu i {
    color: #ccc;
    font-size: 32px;
}
.profile-menu-open {
    position: absolute;
    top: 85px;
    right: 40px;
    display: none;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 100;
}
.ui-menu {
    background: rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
} 
.ui-menu-item {
    list-style-type: none;
}
.read-more-link {
    float: right;
    color: #eee;
    font-size: 20px;
}
.info-page {
    padding-top: 10px;
    color: #eee;
    background-color:#8D2036;
}
.info-page a {
    color: #A6BE7D;;
    font-size: 18px;
}
.noborder {
    border: unset !important;
}
.contact-table {
    max-width: 600px;
}
.contact-field {
    width: 100%;
    border: 1px solid #800000;
}
.contact-input {
    height:20px;
}
.contact-textarea {
    height:200px;
}
.contact-send h1 {
    color: #eee !important;
    letter-spacing: normal;
    text-shadow: none;
    font-size: 24px !important;
}
H1.article_title {
    font-size: 24px !important;
    color: #eee !important;
    font-weight: bold;
    text-shadow:none;
}
h2.article_title {
    font-size: 24px !important;
    color: #eee !important;
    font-weight: bold;
    text-shadow: none;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 10px;
}
.article img {
    margin-right: 12px;
}
#imennik-table {
    margin: 0 auto;
}
.title-row {
    font-weight: bold;
    background-color: #CE0A31;
    font-size: 1.2em;
    border-bottom: 1px solid #eee;
}
.content-separator {
    border-bottom: 1px #eee dotted;
    margin: 5px 0;
}
.current-month {
    font-size: 18px;
    font-weight: bold;
}
.holidays-select {
    margin: 0 auto;
    font-size: 18px;
}
.enter_box {
    float: left;
    padding: 5px;
    margin-left: 10px;
    width: 240px;
    height: 100px; 
    border: 1px #A6BE7D solid; 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  .enter_box:hover {background-color: #CE0A31;}

@media only screen and (max-width: 991px) {
    h1 { font-size: 24px !important; margin-bottom: 0 !important}
    .container { max-width: unset !important}
    #login_fields input {width: 250px;}
    .header-links a {font-size: 24px !important;}
    .carousel-caption p {
        font-size: 36px;
    }
}

@media only screen and (min-width: 992px) {
    #login_container { width: 170px;}
}

@media only screen and (max-width: 600px) {
    .slider-logo, .slider-slogan {
        display: none;
    }
    .carousel-caption {
        bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .carousel-caption p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 376px) {
    h1 { font-size: 16px !important}
    .carousel-caption p {
        font-size: 14px;
    }
    .formstyle {
        width: 180px;
    }
    .profile-menu {
        top: 10px;
        right: 10px;
    }
    .profile-menu-open {
        right: 10px;
        width: 95%;
    }
    #login_fields input {
        width: 220px;
    }
    .profile-menu i {
        font-size: 24px;
    }
}

@media only screen and (min-width: 600px) {
    #imennik-table {
        width: 550px;
    }
}