.offcanvas-inner .navbar-toggler {
    display: none !important;
}
.offcanvas-menu .collapse {
    display: block !important;
}

.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
    
    text-transform: uppercase;
}
.sp-megamenu-parent>li:hover>a {
    color: #9FCFEB; 
}
#sp-top1 p{
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
}
.footer_menu{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.sp-module ul.footer_menu >li >a:before{
  display: none;
}
.sp-module ul.footer_menu >li{
  border: none;
}
.sp-module ul.footer_menu >li >a{
  margin-left: 12px;
  margin-right: 12px;
}
#sp-footer-column6{
  text-align: center;
}
#sp-footer-column6 img{
  display: inline-block;
}
#sp-footer2 .search{
  display: flex;
    justify-content: center;
}
#sp-footer1 > .container{
  padding-bottom: 20px;
  border-bottom: 1px solid #999;
}
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item >a, #sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item span{
  color: #141414;
  display:block;
  padding:10px;
}
.mfp-iframe-holder{
    padding-top: 0;
    padding-bottom: 0;
}
.mfp-iframe-holder .mfp-content{
    min-height: 636px;
}
.header-right-tel{
  display: flex;
  align-items: center;
}
.header-right-tel .sppb-btn{
  padding: 4px 9px;
  font-size: 14px;
}
.nowrap{
  white-space: nowrap;
}
.header-whatsapp{
  margin-right: 8px;
}
.header-whatsapp img{
  width: 32px;
}
#offcanvas-toggler{
  display: none;
}



.jmodedit{
    position: absolute!important;
}



.block_1 .item{
  margin-bottom: 15px;
  background-repeat: no-repeat;
  background-position: left;
  padding-left: 30px; 
}
.block_1 .logo{
  margin-bottom: 20px;
}
.block_1 .worktime{
  background-image: url('/images/template/12_time.png');
}

.block_1 .call{
  background-image: url('/images/template/12_ruletka.png');
  text-decoration: underline;
}

.block_1 .calc{
  background-image: url('/images/template/12_calc.png');
  text-decoration: underline;
}

.block_1 .tel{
  background-image: url('/images/template/12_call.png');
  text-decoration: underline;
}

.block_1 .address{
  background-image: url('/images/template/12_location.png');
}
.acc-title {
    border-radius: 10px;
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 7px 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    font-weight: bold;
    position: relative;
    margin-bottom: 20px;
}
.acc-title:after{
    content: "+";
    display: flex;
    width: 18px;
    height: 18px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-9px);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    color: #4497f5;
    border: 1px solid #4497f5;
    font-size: 14px;
    transition: 0.3s;
}
.acc-title.plus:after{
  content: '-';
}

.acc-title:hover {
    background-color: #ccc; 
}

.acc-text{
  display: none;
  padding: 5px 18px;
  border-radius: 10px;
  text-decoration: underline;
  background-color: white;
  width: 100%;
}
.acc{
  margin: 20px 0;
}
.block_2{
  display: flex;
  line-height: 1.3;
  flex-direction: column;
  width: 100%;
}
.block_2 > .title{
  text-align: center;
  line-height: 1;
  padding: 40px 0;
  font-size: 40px;
  color: white;
  font-weight: 600;
  text-shadow: 0px 0px 9px rgba(206,206,206,0.58);
}
.block_2 > .content{
  display: flex;
  flex-direction: row;
  color: white;
  justify-content: center;
}
.block_2 > .content i{
  color: #e39700;
  margin-right: 10px; 
  vertical-align: middle;
}
.block_2 > .content .buy i{
  margin-right: 10px; 
  font-size: 35px;
}
.block_2 > .content .title{
  margin-bottom: 50px;
  text-align: center;
  font-weight: 500;
  font-size: 28px;
  position: relative;
}
.block_2 > .content .title:after{
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: -webkit-linear-gradient(left, #ccc, #333, #ccc);
  left: 0;
  bottom: -25px;
}
.block_2 .info .content{
  font-size: 20px;
}
.block_2 .buy .content{
  font-size: 14px;
}
.block_2 .buy .content p{
  display: flex;
  flex-direction: row;
}
.block_2 .buy .btn{
  background-color: #d97d00;
  border-radius: 5px;
  border: none;
  white-space: unset;
}
.block_2 .buy .btn:hover{
  transition: 0.6s linear;
}
.block_2 .column{
  font-size: 20px;
  font-weight: 500;
  box-sizing: border-box;
  margin: 0 15px 25px;
  border: 1px solid #fedf36;
  box-shadow: 0px 0px 8px 6px rgba(243, 205, 14, 0.55);
  padding: 20px;
  border-radius: 5px;
  background-color: #322a0052;
}
.block_3{
  background-color: #3b7bb5;
}
.block_3 .simplecallback{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  padding-right: 20px;
  color: white;
}
.block_3 .form-group:nth-child(1), .block_3 .form-group:nth-child(2){
  width: 48%;
  height: 45px;
  margin-top: 35px;
}
.block_3 .textareaq{
  width: 100%;
}
.block_3 textarea{
  width: 100%;
  min-height: 150px;
}
.block_3 .btn-success{
  background-color: white;

}
.block_3 .form-control{
  border-radius: 0;
  border: 1px solid white;
  background-color: #3b7bb5;
}
.block_3 .btn-success{
  border-radius: 0;
  border: 1px solid white;
  background-color: white;
  color: #3b7bb5;
}
.block_3 .form-control::-webkit-input-placeholder{
  color: white;
}
.block_3 .form-control::-moz-placeholder{
  color: white;
}
.block_3 .sppb-addon-wrapper{
  margin: 0 !important;
}
.block_3 .questions{
  font-weight: bold;
  color: white;
  font-size: 20px;
  padding: 30px 0;
  border-bottom: 2px solid #ffa200;
}




    

    .cookie-popup {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: 400px;
        background: #fff;
        color: #333;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        display: none;
        z-index: 9999;
    }

    .cookie-popup.show {
        display: block;
    }

    .cookie-popup p {
        margin: 0 0 10px;
        font-size: 14px;
    }

    .cookie-popup a {
        color: #0073e6;
        text-decoration: none;
    }

    .cookie-popup a:hover {
        text-decoration: underline;
    }

    .cookie-popup button {
        background: #0073e6;
        color: #fff;
        border: none;
        padding: 10px 16px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
    }

    .cookie-popup button:hover {
        background: #005bb5;
    }
    .offcanvas-menu {
        background-color: #fff;
        color: #252525;
    }   
    .offcanvas-menu {
        width: 300px;
        height: 100%;
        position: fixed;
        top: 60px;
        overflow: inherit;
        -webkit-transition: all .4s;
        transition: all .4s;
        z-index: 10000;
    }
    body.offcanvas-active::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
}
.offcanvas-active .burger-icon>span, #modal-menu-toggler.active .burger-icon>span {
    background-color: #fff!important;
}
.offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent>a>.menu-toggler, .offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent>.menu-separator>.menu-toggler {
    color: rgb(241 231 231);
}
/* контейнер offcanvas — центрируем */
.offcanvas-menu {
    background: rgb(0 0 0 / 10%) !important;
  left: 0;
    top: 0;
    bottom: 0;
  width:auto;
}
.offcanvas-menu .offcanvas-inner ul.menu>li a, .offcanvas-menu .offcanvas-inner ul.menu>li span {
    color: white!important;
}
/* скрытое состояние */
body:not(.offcanvas-active) .offcanvas-menu {
    opacity: 0;
    pointer-events: none;
}

/* открытое состояние */
body.offcanvas-active .offcanvas-menu {
    opacity: 1;
}

/* стиль кнопки закрытия */
.offcanvas-menu .close-offcanvas {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 26px;
    color: #fff;
}

/* меню внутри */
.offcanvas-menu .sp-module {
    padding: 20px;
}

/* пункты меню */
.offcanvas-menu .sp-module ul > li > a {
    font-size: 18px!important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.05)!important;
}

/* треугольнички раскрытия */
.offcanvas-menu .sp-menu-item .menu-toggler {
    color: #fff !important;
    font-size: 16px;
}

/* выпадающее подменю */
.offcanvas-menu .sp-menu-item ul {
    background: transparent !important;
}

/* поисковая строка */
.offcanvas-menu input[type="text"] {
    background: #111 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
}
    /* =====================================
   UNIVERSAL MOBILE ADAPTATION (Helix Ultimate + Joomla 5)
   ===================================== */

@media (max-width: 991px) {

  /* ===== BLOCK 1 ===== */
  .block_1 .item {
    padding-left: 24px;
    margin-bottom: 12px;
    background-size: 20px;
    line-height: 1.3;
  }
  .block_1 .logo {
    margin-bottom: 15px;
  }

  /* ===== BLOCK 2 ===== */
  .block_2 > .title {
    font-size: 28px;
    padding: 25px 0;
  }
  .block_2 > .content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .block_2 .column {
    width: 92%;
    margin: 10px 0 20px;
    font-size: 17px;
  }
  .block_2 .buy .content p {
    flex-direction: column;
    align-items: center;
  }
  .block_2 .content .title {
    font-size: 22px;
    margin-bottom: 35px;
  }
  .block_2 .content .title:after {
    bottom: -18px;
  }

  /* ===== BLOCK 3 ===== */
  .block_3 .simplecallback {
    flex-direction: column;
    padding-right: 0;
  }
  .block_3 .form-group:nth-child(1),
  .block_3 .form-group:nth-child(2) {
    width: 100%;
    margin-top: 15px;
    height: auto;
  }
  .block_3 textarea {
    min-height: 120px;
  }
  .block_3 .questions {
    padding: 20px 0;
    font-size: 18px;
  }

  /* ===== ACCORDION ===== */
  .acc-title {
    font-size: 14px;
    padding: 7px 12px;
  }
  .acc-text {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* Even smaller screens (phones < 480px) */
@media (max-width: 480px) {
  .block_2 > .title {
    font-size: 24px;
  }
  .block_2 .column {
    width: 100%;
    font-size: 16px;
  }
  .acc-title {
    font-size: 13px;
  }
}

#sp-header {
    background: #ffffff none repeat scroll 0 0;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
    height: 90px;
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 99;
    display: flex;
    align-items: center;
}

.burger-icon>span {
    display: block;
    
    background-color: #fff;
    margin: 5px 0;
    transition: background-color .3s 
ease-in, opacity .3s 
ease-in, transform .3s 
ease-in;
}


@media (min-width: 1200px) {
  #sp-header .row {
    display: flex;
    align-items: center;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  #offcanvas-toggler{
    display: none;
  }
  #sp-header .row {
    display: flex;
    align-items: center;
  }
  #sp-bottom1 a{
    font-size: 13px;
  }
    .sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span{
        padding: 0 7px;
        font-size: 12px;
    }
    .header-right-tel .sppb-btn{
      font-size: 11px;
    }
}
@media (max-width: 992px) {
  #sp-header .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
  #sp-header .row > *{
    flex-grow: 1;
    width: auto!important;
  }
  #sp-menu{
    order: 1;
  }
  #sp-bottom1{
    text-align: center;
  }
  #offcanvas-toggler span{
    color: #fff;
  }
  .full-screen .offcanvas-menu .offcanvas-inner .sp-module .sp-module-title{
    font-size: 22px!important;
  }
  .full-screen .offcanvas-menu .offcanvas-inner .sp-module ul li a{
    font-size: 20px;
    padding: 10px;
  }
  .full-screen .offcanvas-menu .offcanvas-inner .sp-module ul li .offcanvas-menu-toggler{
    font-size: 20px;
    padding: 10px 10px;
  }
  .offcanvas-menu .offcanvas-inner .sp-module:first-child{
    padding-top: 10px;
  }
  .full-screen .offcanvas-menu .offcanvas-inner .sp-module{
    margin-top: 30px;
  }
  #sp-header .sp-default-logo,
  #offcanvas-toggler{
    display: block;
  }
}
@media (max-width: 576px) {
  #sp-bottom1 a{
    font-size: 13px;
    white-space: nowrap;
  }
}



.sp-module {
  margin-top: 50px;
}
.sp-module:first-child {
  margin-top: 0;
}
.sp-module .sp-module-title {
  margin: 0 0 20px;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1;
}
.sp-module ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sp-module ul >li {
  display: block;
  /*border-bottom: 1px solid #e8e8e8;*/
  -webkit-transition: 300ms;
  transition: 300ms;
  width: 100%;
}
.sp-module ul >li >a {
  display: block;
  padding: 5px 0;
  line-height: 36px;
  padding: 2px 0;
  -webkit-transition: 300ms;
  transition: 300ms;
}
.sp-module ul >li >a:hover {
  background: none;
}
.sp-module ul >li >a:before {
  font-family: FontAwesome;
  /*content: "\f105";*/
  margin-right: 8px;
}
.sp-module ul >li:last-child {
  border-bottom: none;
}
.sp-module .categories-module ul {
  margin: 0 10px;
}
.sp-module .latestnews >div {
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #e8e8e8;
}
.sp-module .latestnews >div:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.sp-module .latestnews >div >a {
  display: block;
  font-weight: 400;
}
.sp-module .tagscloud {
  margin: -2px 0;
}
.sp-module .tagscloud .tag-name {
  display: inline-block;
  padding: 5px 10px;
  background: #808080;
  color: #fff;
  border-radius: 4px;
  margin: 2px 0;
}
.sp-module .tagscloud .tag-name span {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  background-color: rgba(0,0,0,0.2);
  border-radius: 10px;
}
.offcanvas-menu .offcanvas-inner .header-modules {
    margin-left: 0px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 400px) {
    #sp-logo {
        display: none;
    }
}


















.offcanvas-menu .sp-module ul > li {
    display: flex;
    flex-grow: 1;  /* Элементы меню будут растягиваться, занимая равное пространство */
    justify-content: center;  /* Выравнивание пунктов меню по центру */
}

.offcanvas-menu .sp-module ul > li > a {
    font-size: 18px;  /* Начальный размер шрифта */
    padding: 10px;
    text-align: center;
}

/* Для экрана меньше 768px (мобильные устройства) */
@media (max-width: 768px) {
    .offcanvas-menu .sp-module ul > li > a {
        font-size: 14px;  /* Уменьшаем размер шрифта на мобильных устройствах */
    }
}

/* Для экрана более 768px */
@media (min-width: 768px) {
    .offcanvas-menu .sp-module ul > li > a {
        font-size: 18px;  /* Размер шрифта для более крупных экранов */
    }
}

/* Для экрана более 1200px */
@media (min-width: 1200px) {
    .offcanvas-menu .sp-module ul > li > a {
        font-size: 20px;  /* Размер шрифта для экранов большой ширины */
    }
}


.offcanvas-menu .sp-module ul > li > a {
    font-size: 4vw;  /* Размер шрифта будет зависеть от ширины экрана */
}

/* Для экранов с шириной менее 768px */
@media (max-width: 768px) {
    .offcanvas-menu .sp-module ul > li > a {
        font-size: 5vw;  /* Увеличиваем размер шрифта для мобильных устройств */
    }
}

.offcanvas-menu .sp-module ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));  /* Минимальная ширина 150px, а максимальная — 1fr */
    gap: 10px;
}

.offcanvas-menu .sp-module ul > li {
    width: 33.33%;  /* Каждый пункт меню будет занимать 1/3 доступного пространства */
    text-align: center;
}

/* Для мобильных устройств (ширина экрана менее 768px) */
@media (max-width: 768px) {
    .offcanvas-menu .sp-module ul > li {
        width: 100%;  /* Каждый пункт будет занимать всю ширину экрана */
    }
}