@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
.innercontent table {
    max-width: 100%;
}
li * {
    font-size: inherit;
}
.back>.bi {
    font-weight: 700;
    font-size: 2rem;
    color: initial !important;
}
.mobile-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.mobile-container .social {
    filter: brightness(50%);
    width: 50%;
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    
    
}
.innercontent p, .innercontent p *, .innercontent ul li, .innercontent ol li, strong{
    font-size: 1.2rem;
}
.mobile {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 100;
}
.mobile-links {
    margin-left: 2rem;
}
.mobile-links>ul {
    padding: 0;
}
.mobile-links>ul li {
    list-style-type: none;
    font-size: 1.2rem;
}
.mobile-links>ul li a{
    font-size: 1.2rem !important;
    padding-left: 5px;
    color: initial;
    text-decoration: none;
    color: #62626E;
    font-weight: 700;
}
.mobile-links>ul>li>a>span{
    font-size: 1.2rem;
    color: #62626E;
    font-weight: 700;
}
.mobile-level1 {
    padding: 5px;
}
.mobile-inner {
    display: none;
    position: absolute;
    top: 0;left: 0;right: 0;
    bottom: 0;
    background-color: white;
    z-index: 999;
    
}
.offcanvas.offcanvas-bottom {
    height: 80vh;
}

.mobile-row a {
    font-size: 1.5rem;
    line-height: 22px;
    color: #292929;
    text-decoration: none;
}
.mobile-outer li {
    list-style-type: none;
}
.mobile-outer {
    position: relative;
}


* {
    margin: 0;
    padding: 0;
    font-family: roboto;
    font-weight: 400;
    font-size: 15px;
}
.innercontent, .content {
    font-size: 1.2rem;
}

#js-show-iframe-wrapper {
    min-width: initial !important;
}
/*цвет хелпер*/

.main-color {
    color: #305AA4 !important;
}
.second-color {
    color: #62626E !important;
}
.main-color-bg {
    background-color: #305AA4 !important;
}
.second-color-bg {
    background-color: #62626E !important;
}


/* менюшка*/
 .menu-trigger {
     display: none;
 }
nav {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}
.menu-main {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.menu-main .active>a{
    font-weight: 700;
}
.menu-main li {
    float: left;
    padding: 5px 10px;
}
.menu-item a {
    text-decoration: none;
    color: #272727;
    font-size: 1.1rem;
    font-weight: 400;
}

.topline {
    width: 100%;
    padding: 6px;
    background-color: #434343;
}
.topline ul {
    margin: 0 !important;
}
.topline .social a {
    padding-right: 13px;
}
.topline .container {
    display: flex;
    justify-content: space-between;

}
.topline .social {
    display: flex;
}
.social a img {
    vertical-align: middle;
}
.links ul {
    display: flex;
    list-style-type: none;
    color: #999999;
    font-size: 1.1rem;
    align-items: center;
    justify-content: space-around;
}
.links {
    width: 100%;
}
.links>ul>li>a {
     color: inherit;
     text-decoration: none;
}
.menuline-container {
}
.links ul li svg,  .mobile-links ul li svg{
    width: 23px;
    margin-right: 10px;
}
.links ul li span {
    font-weight: 700;
    text-transform: uppercase;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #3A67D2;
}
.pkard-banner {
    
}
.logo {
    padding: 10px;
    display: flex;
    align-items: center;
    height: 100%;
}
.logo p {
    margin: 0px 10px;
    font-size: .9rem;
    font-weight: 400;
}
.menu-main li ul {
    display: none;
    position: absolute;
    left: 0;
    flex-direction: column;
    background-color: #fff;
    z-index: -50;
    list-style-type: none;
    width: max-content;
    padding: 15px;
    box-shadow: 0px 5px 6px 0px rgba(0, 0, 0, 0.10); 
    opacity: 0;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.level1 {
    position: relative;
}
.level1:hover .submenu{
    z-index: 50;
    opacity: 1;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    display: flex;
}

/* футер */
footer {
    height: auto;
    background-color: #000000;
    padding-top: 55px;
    padding-bottom: 10px;
    color: #777777;
}

footer p, footer a {
    font-size: 1.1rem;
    color: #CCCCCC;
}
footer li>a {
    font-size: 1.1rem;
    color: #ABABAB;
}
footer .logo-container {
   width: 100%;
   
}

footer ul {
    list-style-type: none;
}
footer a {
    text-decoration: none;
}
footer .social {
    width: 200px;
    display: flex;
    justify-content: space-evenly;
}
footer .social a {
    padding-right: 9px;
}
footer a.main {
    font-size: 1.1rem;
    font-weight: 700;
}

footer .qr  {
    width: 200px;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

/*контент*/
.innercontent {
    padding: 20px 0px;
    color: #292929;
    min-height: 600px;
}
.innercontent a[href$=".pdf"]:before {
  content: url('/assets/images/icons/pdf.png');
  margin-right: 5px; /* расстояние между иконкой и текстом */
  height: 20px; /* размер иконки */
}
.innercontent .main-slider .carousel-item {
    width: 100%;
    /*height: 360px;
    background: linear-gradient(#3A67D2,#305AA4);*/
    border-radius: 30px;
    overflow: hidden;
}
.innercontent img {
    max-width: 100%;
    height: auto;
}
.submenu_wrap {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.innercontent .main-slider .carousel-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.innercontent h2, h3 {
        font-size: 1.3rem;
        font-weight: 700;
    }
    .innercontent h3 {
        color: #305AA4;
    }
    .innercontent h4,.innercontent h4 * {
        font-size: 1.2rem;
        color: #305AA4;
    }
  
    .innercontent a, .innercontent a * {
        color: #305AA4;
    }
    .innercontent table td {
        border-width: 0 var(--bs-border-width);
    }
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    background-color: #fff !important;
    border: 2px solid #fff !important;
    border-radius: 8px;
}
.carousel-indicators .active {
    background-color: #000 !important;
}
.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next, .owl-carousel button.owl-dot {
    font-size: 124px;
    color: #3A67D2;
}
.owl-nav {
    display: flex;
    position: absolute;
    top: 0;
    justify-content: space-between;
    width: 100%;
}
.main-slider .carousel-control-prev-icon, .main-slider .carousel-control-next-icon {
    border: 2px solid #fff;
    border-radius: 90px;
    padding: 20px;
    -webkit-background-size: 90% 100% !important;
    background-size: 90% 100% !important;
    filter: unset !important;
}
#filter-button a {
    float: right;
}
hr {
    box-shadow: 0px 0px 2px 0px rgba(38, 85, 196, 0.15);
    border: 1px solid rgba(245, 245, 245, 1);
    background: rgba(245, 245, 245, 1);

}
    .element-tpl {
      width: calc(100% / 3 - 20px);
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      margin: 10px;
      transition: opacity 0.5s ease;
      -webkit-box-shadow: 3px 3px 2px 0px rgba(38, 85, 196, 0.15);
      -moz-box-shadow: 3px 3px 2px 0px rgba(38, 85, 196, 0.15);
      box-shadow: 3px 3px 2px 0px rgba(38, 85, 196, 0.15);
    }
    /* новости */
    .news-container {
        display: flex;
        gap: 25px;
        flex-wrap: wrap;
    }
    .news-container > .news-single {
        width: calc(100% / 3 - 17px);
    }
    .news-single {
        
        border: 1px solid #F5F5F5;
        box-shadow: 3px 3px 2px 0px rgba(38, 85, 196, 0.15);
        color: #62626E;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .news-single img {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    .news-single .title {
        color: inherit;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    .subtitle {
        font-size: 0.9rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal; 
        color: #62626E;
    }
    .more {
        font-size: 0.9rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal; 
        text-decoration: none;
        color: inherit;
        padding: 0px 10px 20px 10px; 
        width: 100%;
    }
    .category {
        text-decoration: none;
        color: inherit;
        
    }
    .introtext ,.news-text .subtitle, .news-text .subtitle a{
        color: inherit;
        font-size: 12px !important;
    }
    .news-text .text{
        padding: 0px 10px 20px 10px; 
    }
    
    /* книжки */
    .book-badge {
        width: 100%;
        height: 100%;
        
        margin-bottom: 10px;
        border-radius: 20px;
     
        
    }
    .desktop {
        display: block;
        border-radius:20px;
    }
    .mobile-img {
         display: none;
    }
    .button-container {
        width: 100%;
        display: flex;
        align-items: center;
    }
    .button {
        border: 1px solid rgba(16, 65, 182, 1);
        color: #305AA4 !important;
        font-weight: 700;
        background-color: #F0F5FF;
        border-radius: 20px;
        padding: 8px 14px 8px 14px;
        box-shadow: 3px 3px 2px 0px rgba(38, 85, 196, 0.15);
        margin: 5px;
        text-decoration: none;
        display: inline-block;
        font-size: 1.2rem;

    }
    .button:before {
        display: none;
    }
    .innercontent .row {
        margin-top: 22px;
    }
    .book-slide {
        margin: 3px;
    }
    .book-slide img {
        width: auto;
        object-fit:contain;
    }
    /*афишка*/
    .subevents {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        flex-direction: column;
        align-items: flex-end;
    }
    .subevents .event-container {
        width: 250px;
    }
    .afisha-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .event-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: #F0F5FF;
        box-shadow: 3px 3px 2px 0px rgba(38, 85, 196, 0.15);
        aspect-ratio: 1;
        padding: 20px;
        border-radius: 20px;
        width: calc(100% / 3 - 30px);
       text-decoration: none;
    }
    .event-container .num-day {
        font-size: 60px;
        font-style: normal;
        font-weight: 700;
        line-height: normal; 
        color: #305AA4;
    }
    .date-container {
        display: flex;
        justify-content: space-between;
    }
    .event-container .month {
        color: #305AA4;
        font-family: Roboto;
        font-size: 1.1rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal; 
        margin: 0px 5px;
    }
    .time-container {
        color: #305AA4;
    }
    .event-container .time {
        font-family: Roboto;
        font-size: 1.1rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal; 
    }
    .event-container .string-day {
        font-size: 14px;
    }
    
    
    
    .modal-title {
        width: 100%;
    }
    .modal-header {
        border-bottom: none;
    }
    .close {
        background-color: transparent; /* Green */
        border: none;
        padding: 10px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        float: right;
    }
    .loginLegend {
        font-size: 20px;
    }
    .modal-body {
        padding: 0 70px 50px 70px;
    }

/*формы */
form {
    position: relative;
}
.form-control:not([type="file"]) {
    padding: 0px 5px;
    background-color: transparent;
    border: none;
    position: relative;
    color: #999;
}
.form-control::placeholder {
    color: #305AA4;
    font-size: 13px;
    opacity: .5;
} 
.search-icon {
    position: relative;
    top: 0px;
    right: 20px;
    cursor: pointer;
}

.search-container {
    position: absolute;
    left: 0;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-container.show {
     opacity: 1;
      visibility: visible;
}
.search-container.active {
  display: block;
  max-height: 200px; /* Выберите подходящую высоту */
}
.search-container a {
    display: block;
    box-shadow: none;
    padding: 5px 10px;
    border: none;
}

.typicalForm label {
    color: #292929;
    display: block;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal; 
    margin-bottom: 15px;
    min-width: 210px;
}
.typicalForm input[type=text],.typicalForm input[type=password],.typicalForm input[type=email],.typicalForm  textarea {
    margin-top: 10px;
    color: #292929;
    border: none;
    display: block;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal; 
    padding: 10px 25px; 
    border-radius: 20px; 
    background: #F0F5FF;
    width: 100%;
}
.typicalForm input[type=submit] {
    width: auto;
    margin-right: auto;
    margin-left: auto;
    margin-top: 25px;
    margin-bottom: 45px;
    border-radius: 20px;
    border: 1px solid #305AA4;
    background: #F0F5FF;
    box-shadow: 3px 3px 2px 0px rgba(38, 85, 196, 0.15); 
    padding: 10px 20px; 
    color: #305AA4;
    font-weight: 700;
}
.typicalForm textarea {
    background-color: #F0F5FF !important;
    padding: 10px 25px !important;
}
.typicalForm a {
    text-decoration: none;
}
.typicalForm p, .typicalForm a {
    font-size: 1.1rem;
    padding: 1px;margin: 0;
}
.loginRegister a {
    text-decoration: none;
}

/* дефолтные стили для каких - либо элементов*/
.subtext{
    font-family: Roboto;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0em;
    text-align: left;
    color: #62626E;

 }
 
 /*таблицы*/
 .innercontent table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

.innercontent table td,
.innercontent table th {
    padding: 0.75rem;
    border: 1px solid #e9ecef;
}

.innercontent table thead th {
    border-bottom: 2px solid #e9ecef;
}

.innercontent table tbody + tbody {
    border-top: 2px solid #e9ecef;
}
 
 
 /*Контактные ссыли*/
 .contact-badge {
        border-radius: 20px;
        background: #F0F5FF;
        box-shadow: 3px 3px 2px 0px rgba(38, 85, 196, 0.15);
        width: 280px;
        padding: 0px 15px;
        align-items: center;
        gap: 15px; 
        display: flex;
        gap: 15px;
        align-self: stretch; 
    }
  .contact-badge * {
      font-size: 1.2rem;
  }
 .contact-badge span:first-child {
        width: 50px;
        font-weight: 700;
        color: #305AA4;
    }
  .contacts {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px; 
    }
.separator {
        min-height: 25px;
        height: 100%;
        max-height: 100%;
        width: 2px;
        background-color: #305AA4;
        flex-shrink: 0;
    }

/*аккордеон*/

    .accordion-item {
        border: none;
        margin-bottom: 25px;
    }
    .accordion-button {
        background-color: #F0F5FF;
        font-size: 20px;
        font-weight: 700;
        color: #305AA4;
        border-radius: 20px !important;
        border: none !important;
    }
    .accordion-button::after {
        padding: 14px;
        -webkit-background-size: initial;
        background-size: initial;
        border: 2px #305AA4 solid;
        border-radius: 40px;
        background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
        
    }
 







/* XX-Large devices (larger desktops, 1400px and up)*/
@media (max-width: 1400px) {
    
}


/* X-Large devices (large desktops, 1200px and up)*/
@media (max-width: 1200px) { 

}

/* Large devices (desktops, 992px and up)*/
@media (max-width: 992px) { 
    footer .social {
        display: block;
    }
         .news-container > .news-single {
        width: 100%;
    }
     .element-tpl {
          width: calc(100% / 2 - 20px);
      }
      
         .menu-trigger {
        display: block;
    }
    .logo p {
        font-size: 0.9rem;
    }
    .logo img {
        width: 40px;
    }
    .logo {
        justify-content: space-between;
    }
    .news-container > .news-single {
        width: 100%;
    }
     .innercontent {
          padding-right: calc(var(--bs-gutter-x) * .5);
          padding-left: calc(var(--bs-gutter-x) * .5);
          margin-right: auto;
          margin-left: auto;

      }
      .innercontent .row {
          margin-top: 30px;    
      }
      .menu-main {
          display: none;
      }
      .topline {
          display: none;
      }
      .pkard-banner img {
          object-position: 61% 50%;
            display: block;
            object-fit: contain;
            width: 100%;
            height: 60px;
      }
      .innercontent .main-slider .carousel-item img, .innercontent .main-slider .carousel-item {
          height: auto;
      }
     
      .afisha-container {
          overflow: auto;
          flex-wrap:nowrap;
          margin-bottom: 30px;
      }
      .event-container {
            width: 100%;
            height: 225px;      
          
      }
      .innercontent .row {
          margin-top: 0;
        
      }
      .title {
          margin-top: 10px;
      }
      .books {
          margin-top: 10px !important;
      }
      .element-tpl {
          width: calc(100% / 2 - 20px);
      }
     
      footer .logo-container  {
       display: flex;
       justify-content: space-between;
      }
      .logo-container>img {
          width: 150px;
      }
      footer p {
          padding-left: 20px;
      }
      footer .qr  {
       width: 100%;
    }
      footer .qr img{
       padding: 10px 25px;
    }
    .news-container > .news-single {
        width: calc(100% / 2 - 17px);
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 577px) and (max-width: 768px) {
    .custom-slider img {
        height: 400px !important;
    }
     .news-container > .news-single {
        width: 100%;
    }
    .desktop {
        display: none;
    }
    .title {
        margin-top: 10px;
    }
    .mobile-img {
        display: block;
        border-radius:20px;
    }
        .col-12.main-slider {
      padding-bottom: 10px;
    }
     .element-tpl {
          width: calc(100% / 2 - 20px);
      }
      
         .menu-trigger {
        display: block;
    }
    .logo p {
        font-size: 0.9rem;
    }
    .logo img {
        width: 40px;
    }
    .logo {
        justify-content: space-between;
    }
    .news-container > .news-single {
        width: 100%;
    }
     .innercontent {
          padding-right: calc(var(--bs-gutter-x) * .5);
          padding-left: calc(var(--bs-gutter-x) * .5);
          margin-right: auto;
          margin-left: auto;

      }
      .innercontent .row {
          margin-top: 30px;    
      }
      .menu-main {
          display: none;
      }
      .topline {
          display: none;
      }
      .pkard-banner img {
          object-position: 61% 50%;
            display: block;
            object-fit: contain;
            width: 100%;
            height: 60px;
      }
      .innercontent .main-slider .carousel-item img, .innercontent .main-slider .carousel-item {
          height: auto;
      }
     
      .afisha-container {
          overflow: auto;
          flex-wrap:nowrap;
          margin-bottom: 30px;
      }
      .event-container {
            width: 100%;
            height: auto;      
          
      }
      .innercontent .row {
          margin-top: 0;
        
      }
      .books {
          margin-top: 10px !important;
      }
      .element-tpl {
          width: 100%;
      }
     
      footer .logo-container  {
       display: flex;
       justify-content: space-between;
      }
      .logo-container>img {
          width: 150px;
      }
      footer p {
          padding-left: 20px;
      }
      footer .qr  {
       width: 100%;
    }
      footer .qr img{
       padding: 10px 25px;
    }
    .news-container > .news-single {
        width: calc(100% / 2 - 17px);
    }
}

/*// Small devices (landscape phones, 576px and up)*/
@media (max-width: 576px) { 
    .subevents {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        flex-direction: initial;
        align-items: initial;
        overflow: auto;
    }
    .typicalForm div {
        flex-wrap:wrap;
    }
    .pagination  {
        width: 100%;
        overflow: auto;
    }
    .custom-slider img {
        height: 300px !important;
    }
    .button-container {
        flex-wrap:wrap;
    }
    .col-12.main-slider {
      padding-bottom: 15px;
    }
    .menu-trigger {
        display: block;
    }
    .logo p {
        font-size: 0.9rem;
    }
    .logo img {
        width: 40px;
    }
    .logo {
        justify-content: space-between;
    }
    .news-container > .news-single {
        width: 100%;
    }
     .innercontent {
          padding-right: calc(var(--bs-gutter-x) * .5);
          padding-left: calc(var(--bs-gutter-x) * .5);
          margin-right: auto;
          margin-left: auto;

      }
      .innercontent .row {
          margin-top: 30px;    
      }
      .menu-main {
          display: none;
      }
      .contact-badge {
          margin-top: 10px;
      }
      .topline {
          display: none;
      }
          .desktop {
        display: none;
    }
    .mobile-img {
        display: block;
        border-radius:20px;
    }
      .pkard-banner img {
          object-position: 65% 50%;
            display: block;
            object-fit: cover;
            width: 100%;
            height: 60px;
      }
      .innercontent .main-slider .carousel-item img, .innercontent .main-slider .carousel-item {
          height: auto;
      }
     
      .afisha-container {
          overflow: auto;
          flex-wrap:nowrap;
          margin-bottom: 30px;
      }
      .event-container {
            width: 100%;
            height: auto;    
          
      }
      .innercontent .row {
          margin-top: 0;
        
      }
      .books {
          margin-top: 10px !important;
      }
      .element-tpl {
          width: 100%;
      }
     
      footer .logo-container  {
       display: flex;
       justify-content: space-between;
      }
      .logo-container>img {
          width: 150px;
      }
      footer p {
          padding-left: 20px;
      }
      footer .qr  {
       width: 100%;
    }
      footer .qr img{
       padding: 10px 25px;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px;
    }
}
    