/* НАЧАЛО ГЛАВНЫХ СТИЛЕЙ */
* {
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    transition: .3s ease;
}

table {
    border-spacing: 0;
}

textarea {
    resize: none;
}

li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

input::-ms-clear {
    display: none;
}

html, body, #big_wrapper {
    height: 100%;
    width: 100%;
    font-size: 14px;
}

body {
    min-width: 1024px;
    font-family: Arial, sans-serif;
    /*background: url('/css/images/top_bg.png') center top no-repeat,*/
    background: url('/css/images/bg.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

#outer_container {
    width: 1010px;
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    z-index: 0;
}

#footer {
    /*background: url('/css/images/bottom_bg.png') center bottom no-repeat;*/
    height: 323px;
    z-index: -10;
    margin-top: -323px;
    position: relative;
}

#hat {
    margin-top: 7px;
    /*height: 173px;*/
    width: 100%;
    /*background: url('/css/images/hat_bg.png') no-repeat center;*/
    background: rgba(0,0,0,.6);
    border-radius: 5px 5px 0 0;
}
#pushkin-banner {
  background: url("/kcfinder/upload/images/pushkin.jpg");
  height: 249px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
}
.pushkin-action-float {
  position: absolute;
  top: 100px;
  right: 180px;
  text-align: center;
  color: #FCC932;
}
.pushkin-action-float h1 {
  margin-bottom: 20px;
}
.pushkin-action-float a {
  padding: 10px 35px;
  border: 1px solid #FCC932;
  color: #FCC932;
  font-size: 16px;
}
.pushkin-action-float a:hover {
  background: #FCC932;
  color: #fff;
}
#hat table {
    width: 100%;
}

#cecutient {
    color: #ffffff;
    padding: 4px 0 0 10px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: -20px;
    font-weight: bold;
}

#logo {
    width: 640px;
}

#logo img {
    display: block;
    margin: 52px auto 0 auto;
    width: 578px;
}

#cecutient_icon {
    width: 23px;
    height: 20px;
    display: inline-block;
    background: url('/css/images/cecutient.png') no-repeat center;
    margin: 0 5px -4px 0;
}

#info {
    text-align: right;
    float: right;
    padding-top: 5px;
}

/*#info h4 {
    color: #f0c890;
    font-weight: normal;
    font-size: 18px;
}
#info span {
    color: #ffffff;
    font-size: 16px;
    display: block;
}*/
#search_input {
    margin-top: 10px;
    height: 18px;
    line-height: 18px;
    padding: 8px 32px 8px 10px;
    width: 140px;
    background-color: #F1EEE9;
    color: #53452c;
    font-size: 14px;
    z-index: 0;
}
#search_input:focus {
  width: 240px;
}

#search_button {
    display: inline-block;
    background: url('/css/images/search.png') no-repeat center;
    margin-left: -22px;
    position: relative;
    left: -10px;
    cursor: pointer;
    z-index: 10;
    width: 18px;
    height: 19px;
}

#slogan {
    margin: 0;
    width: 100%;
    height: 68px;
    /*background: url('/css/images/slogan.png') no-repeat center;*/
    background: url('/css/images/slogan-new.png') no-repeat center;
    background-size: 100%;
}

#main {
    width: 100%;
    background: url('/css/images/main_bg.jpg') repeat-y center;
    table-layout: fixed;
}

#main > tbody > tr > td, #main > tr > td {
    vertical-align: top;
}

#left_block {
    width: 277px;
    height: 100px;
}

#menu_header {
    text-align: center;
    width: 100%;
    color: #53452c;
    font-size: 18px;
    margin-top: 17px;
}

.left_separator {
    width: 277px;
    height: 13px;
    margin: 12px 0;
    background: url('/css/images/left_separator.png') no-repeat center;
}

#menu > li {
    margin: 0;
    color: #53452c;
    font-weight: bold;
    font-size: 16px;
    padding: 0 10px 0 0;
    cursor: pointer;
}

.nomarker a {
    
}

#menu a {
    display: block;
    height: 100%;
    padding: 10px 30px;
}
#menu li {
  border: 1px solid transparent;
}
#menu .active {
  border: 1px solid #ccc;
}
#menu li:hover, #menu .active {
    background-color: RGBA(255, 255, 255, 0.3);
}
#menu .marker_opened {
    list-style: url('/css/images/marker_opened.png');
}

#menu .marker_closed {
    list-style: url('/css/images/marker_closed.png');
}

.submenu {
    color: #7e512d;
    font-weight: normal;
    display: none;
}

.submenu > li {
    margin: 0;
    margin-left: 20px;
    color: #7e512d;
    font-size: 16px;
    cursor: pointer;
}
.submenu a {
  padding: 10px 0;
}
#recommended_wr a {
    /*display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 16px;*/
}

#bottom_info {
    background: url('/css/images/bottom_info_bg.png') no-repeat center;
    width: 100%;
}

#bottom_info tr td {
    padding-bottom: 19px;
    vertical-align: top;
}

#bottom_info .bottom_separator {
    height: 165px;
    width: 12px;
    background: url('/css/images/bottom_separator.png') no-repeat center;
}

#bottom_info .text {
    height: 135px;
    width: 295px;
    padding: 22px 0 0 33px;
}

#bottom_info h4 {
    color: #f0c890;
    font-weight: normal;
    font-size: 18px;
}

#bottom_info span {
    color: #ffffff;
    font-size: 16px;
    margin: 3px 0;
    display: block;
}

#footer_table {
    margin: 10px 0 25px 5px;
    width: 1005px;
}

#footer_text {
    /*color: #ffe2b0;
    font-size: 16px;*/
}

#content {
    max-width: 713px;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

#cookie_notification{
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  position: fixed;
  bottom: 15px;
  left: 50%;
  width: 900px;
  max-width: 90%;
  transform: translateX(-50%);
  padding: 25px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}

#cookie_notification p{
  margin: 0;
  font-size: 0.7rem;
  text-align: left;
  color: $color_text;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -120px;
  margin-left: -60px;
  z-index: 999;
  display: none;
}
.loader-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top:0;
    display: none;
    background: rgba(0,0,0,.5);
    z-index: 998;
}
.extend-book-btn {
    display: block;
    padding: 8px 15px;
    background: #FCC932;
    width: max-content;
    margin-top: 10px;
    margin-left: 112px;
}
.extend-book-btn:hover {
  color: #fff;
}
#biblio-mail:hover {
    cursor: pointer;
}
#recommended_wr a img {
  border: 1px solid #ccc;
}
.back-page {
  padding: 6.8px;
  position: relative;
  background: #FCC932;
  color: #fff;
}
.back-page:before {
  display: block;
  content: '';
  border: 15px solid transparent;
  border-right-color: #FCC932;
  position: absolute;
  top: 0;
  left: -30px;
}
/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media (min-width: 576px){
  #cookie_notification.show{
    display: flex;
  }
  .cookie_accept{
    margin: 0 0 0 25px;
  }
}

@media (max-width: 575px){
  #cookie_notification.show{
    display: block;
    text-align: left;
  }
  .cookie_accept{
    margin: 10px 0 0 0;
  }
}