/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*.top-header{
  min-height: 110px;
  max-height: 110px;
}*/

 
/*Icons*/

.max-icon {
  position: relative;
  
  & i::before {
    content: '' !important;
    background-image: url("/wp-content/themes/Avada-Child-Theme/assets/img/max_logo.svg");
    background-size: contain;
    width: 26px;
    height: 26px;
    display: block;
    margin-top: 2px;
    transition: opacity 0.3s ease;
  }
    
  & i:hover::before {
    opacity: 0.7;
  }
  
}

.vk-icon {
  position: relative;
  
  & i::before {
    content: '' !important;
    background-image: url("/wp-content/themes/Avada-Child-Theme/assets/img/VK_Compact_Logo.svg");
    background-size: contain;
    width: 28px;
    height: 28px;
    display: block;
    margin-top: 2px;
    transition: opacity 0.3s ease;
  }
    
  & i:hover::before {
    opacity: 0.7;
  }
  
}


.logo-gradient {
  width: 150px;
  height: 90px;
  background: linear-gradient(135deg, #f97316 20%, #dc2626 60%, #ef4444 100%);
  -webkit-mask-image: url('/wp-content/uploads/2026/04/logo.svg');
  mask-image: url('/wp-content/uploads/2026/04/logo.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: opacity 0.3s ease;

  &:hover{
    opacity: 0.8;
  }

}

/*Slider*/

/* .colum-slider{
  height: 425px;
} */

.main-slider {
  position: relative;
  z-index: 1;
  overflow: hidden;
  z-index: 0;
    .swiper-pagination-bullet-active{
      background: rgba(239 68 68 / 1) !important;
    }

    .awb-icon-angle-left:hover, .awb-icon-angle-right:hover{
      color: rgba(239 68 68 / 1) !important;
    }
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: url("/wp-content/uploads/2026/07/hol.webp");
	    /* background-image: url("/wp-content/uploads/2026/07/zritel_zal-scaled.webp"); */
      background-size: cover;
      background-position: bottom;
      background-repeat: no-repeat;
      filter: blur(0px); /* Регулируйте значение: 4px, 8px, 12px и т.д. */
      transform: scale(1.05); /* Небольшое увеличение, чтобы скрыть светлые края от размытия */
      z-index: -1; /* Помещаем позади содержимого */
      opacity: 0.6;
    }
    & ul.sliders{
      overflow: hidden;
      border-radius: 20px;
    }
    & ol{
      display: none !important;
    }
    & .flexslider{
      margin-bottom: 0px !important;
    }
}


.zal-img {
  position: relative;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
	    background-image: url("/wp-content/uploads/2026/07/zritel_zal-scaled.webp");
      background-size: contain;
      background-position: top;
      filter: blur(1px); /* Регулируйте значение: 4px, 8px, 12px и т.д. */
      transform: scale(1.05); /* Небольшое увеличение, чтобы скрыть светлые края от размытия */
      opacity: 0.3;
      z-index: -1;
    }
}




.button__red{

    display: inline-flex;
    justify-content: center;
    align-items: center;

    background: rgba(220 38 38 / 1);
    width: 150px;
    height: 45px;
    color:#fff;
    border-radius: 5px;
    border: none;
    transition: color .2s,font-size .2s,background-color .2s,background-image .2s,border-color .2s,border-width .2s,border-style .2s,border-radius .2s,box-shadow .2s,opacity .2s,transform .2s;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--button_typography-font-family);

  &:hover{
    background: rgba(185 28 28 / 1);
    cursor: pointer;
  }

}

.kinoplan-cinema-info {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}
.kp-cinema-logo img {
    max-width: 120px;
    height: auto;
    border-radius: 4px;
}
.kp-cinema-details h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}
.kp-cinema-details p {
    margin: 5px 0;
    color: #555;
}
.kp-cinema-updated {
    margin-top: 15px;
    color: #999;
}
.kp_poster{
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.kp_lable_strong{
  font-weight: 700;
}
/* Вкладки */
.kp-schedule-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    align-items: center;
}
.kp-schedule-tab {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}
.kp-schedule-tab.active {
    background: rgba(220, 38, 38, 1);
    color: #fff;
    border-color: rgba(220, 38, 38, 1);
}
.kp-schedule-calendar-tab {
    padding: 6px 10px;
    line-height: 1;
    display: flex;
    align-items: center;
}
.kp-schedule-calendar-tab svg {
    display: block;
}

/* Выпадающий список дат */
.kp-schedule-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
    color: #333;
}

/* Заголовок панели */
.kp-panel-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #333;
}

/* Панели */
.kp-schedule-panel { display: none; }
.kp-schedule-panel.active { display: block; }

/* Сетка слотов */
.kp-schedule-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.kp-schedule-slot {
    display: flex;
    flex-direction: column;
    width: 67px;
    height: 50px;
    border: 1px solid rgb(220, 38, 38);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
}
.kp-slot-time {
    background: rgb(220, 38, 38);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 5px 2px 3px;
    line-height: 1.2;
    transition: background 0.2s;
}
.kp-schedule-slot:hover .kp-slot-time {
    background: rgba(185, 28, 28, 1);
}
.kp-slot-info {
    background: #fff;
    font-size: 10px;
    color: #000;
    text-align: center;
    line-height: 1.2;
    padding: 2px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Модалка */
.kp-schedule-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2147483647;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.kp-schedule-modal.open { display: flex; }
.kp-schedule-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.kp-schedule-modal-iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
    position: relative;
    background: #fff;
}

.main_menu .fusion-megamenu-icon{
  color: #fff;
}

#groupform{
  & input{
    padding-left: 3em !important;
  }
}

.groupform{
  transition: 0.3s ease;

  & .fusion-form-form-wrapper .fusion-form-field .fusion-form-input-with-icon .fusion-form-input{
    padding-left: 3em !important;
  }

  & input{
    font-weight: 500;
    border: 1px solid #ddd !important;
    &:hover, &:focus{
      border: 1px solid rgb(220,38,38) !important; 
    }
    &::placeholder{
      color: #939393 !important;
    }
  }
}

.awb-menu__sub-ul{
  box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 10px !important;
  text-align: left;
  width: 280px !important;
  padding: 24px 8px !important;
  border-radius: 8px;
  z-index: 200;
  background-color: #fff;
  display: flex !important;
  gap: 12px;
    & li{
      display: flex;
      color: #000;
      text-decoration: none;
      white-space: nowrap;
      transition: background-color .3s,color .3s;
      position: relative;
      border:none !important;
      border-radius: 8px !important
    }

    & li::after {
      content: "";
      background: #d9d9df;
      height: 1px;
      width: 100%;
      position: absolute;
      bottom: -6px;
      left: 0;
    }
    
    & li:hover{
      background-color: #e0e0e0;
      cursor: pointer;
    }
}



.gosuslugi{
  position:relative;

  &::before{
    content:'';
    position:absolute;
    top:12px;
    left:12px;
    width:85px;
    height:20px;
    background:url("https://pos.gosuslugi.ru/bin/banner-fluid/gosuslugi-logo-blue.svg") no-repeat center / contain;
    z-index:1;
  }

  &::after{
    content:'Решаем вместе';
    position:absolute;
    top:0;
    left:0;
    padding:37px 12px 12px;
    background:#fff;
    border-radius:0 0 8px 0;
    font-family:LatoWeb,Arial,sans-serif;
    font-weight:700;
    font-size:16px;
    line-height:1;
    color:#005ca9;
    white-space:nowrap;
  }
}

/* Архив /films/ — единый заголовок */
.kp-films-archive-title {
  margin: 20px 0;
  font-size: 1.4rem;
  line-height: 1.2;
}
