
html.menu-opened {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}
.t-popup__block-close {
    top: 31px!important;
    width: 43px;
    height: 43px;
    right: 0!important;
    left: none!important;
    position: absolute!important;
}
#flexmenu #main-menu.open {
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


#t-header,
#t-header{
    position: sticky;
    top: 0;
    z-index: 99999999;
}

*{
  margin:0;
  padding:0;
  text-decoration:none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
   font-family: 'Open Sans', Arial, sans-serif;
}

nav {
    background: #000000CC;
    position: relative;
    margin: 0 auto;
     font-family: 'Open Sans', Arial, sans-serif;
}
.phone{
    
        display: -webkit-box;
    
        display: -ms-flexbox;
    
        display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    text-wrap-mode: nowrap;
}
.phone a{

      font-size: 17px;
    color: #fff!important;
    font-weight: 600;
    padding: 10px;
    border: 2px solid #fff;
    border-radius: 20px;
     text-wrap-mode: nowrap;
}
.phone span{}
#flexmenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row;
            flex-flow: row;
    background: #000000CC;
    height: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-direction: row;
        flex-direction: row;
        padding: 25px  10px;

}
.logo {
    z-index: 123;
    padding: 10px;
    font: 18px 'yellowtail';
    color: #FFF;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -ms-flex-negative: 1;
        flex-shrink: 1;
    max-width: 200px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.logo a {
    color: #FFF;
}
  .logo img{
    width: 100%;
    max-width: 200px;
    

  }
#main-menu{
    padding-left: 20px;
    max-width: auto;
    gap: 20px;
    text-align: center;
   will-change: transform; 
    backface-visibility: hidden; 
  margin: 0;
}
.sub-menu {
     z-index: 1234;
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(51 51 51)), to(rgba(0, 0, 0, 0.8)));
    background: -o-linear-gradient(top, rgb(51 51 51) 0%, rgba(0, 0, 0, 0.8) 100%);
    background: linear-gradient(to bottom, rgb(51 51 51) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 3px!important;
    -webkit-backdrop-filter: blur(1px);
            backdrop-filter: blur(1px);

}

#flexmenu li,
#flexmenu li a{
    border: 0;
    list-style: none;
    line-height: 1;
    display: inline-block;
    position: relative;
	
    -webkit-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s; 
     text-wrap-mode: nowrap;
}

#flexmenu ul li a {
    padding: 0 7px;
    font-size: 20px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #FFF;
    font-weight: 400;
        text-wrap-mode: nowrap;
}

#flexmenu ul li.has-sub > a {
}
 ul{
padding-left: 0;

 }
#flexmenu ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #FFF;
    content: '';
}
#flexmenu > ul > li.has-sub > a:before {
    position: absolute;
    top: 19px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #FFF;
	
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;

}
#flexmenu > ul > li.has-sub:hover > a:before {
    top: 23px;
    height: 0;
}
#flexmenu ul ul li.has-sub > a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #FFF;
    content: '';
	
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
	
}
#flexmenu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0;
}
#flexmenu ul ul li.has-sub:hover,
#flexmenu ul li.has-sub ul li.has-sub ul li:hover {
    background: #333;
}
#flexmenu ul ul {
    position: absolute;
    left: -9999px;
    padding-left: 0;
    /*border-radius: 5px;*/
}
#flexmenu li:hover > ul {
    left: auto;
}

#flexmenu ul ul li {
    height: 0;
	padding: 0 15px;
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
	
}
#flexmenu ul ul li:last-child{
  padding-bottom: 15px;
}

#flexmenu ul ul li:first-child{
  padding-top: 15px;
}
#flexmenu li:hover > ul > li {

    height: 100%;
}
#flexmenu ul ul ul {
    margin-left: 100%;
    top: 0;
    background: #000000CC;
}
#flexmenu ul ul li a {
    padding: 5px 15px;
    width: 100%;
    font-size: 17px;
    text-decoration: none;
    color: #FFF;
    font-weight: 400;
}


#main{
  color: #FFF;
  height: 100vh;
  width: 100vw;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/927610/e-aupyxbjm-alice-moore.jpg) top center no-repeat;
  background-size: cover;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width: 769px) {
#flexmenu ul ul{
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.sub-menu > li:first-child:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 10px;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    /* border-bottom-color: #000000CC; */
    display: block;
    padding: 20px 100px;
}

.phone {

    margin-left: 25px;
}

:has(#flexmenu li:nth-child(2):hover) #flexmenu li:nth-child(2):hover > ul {
    left: -83%;
            top: 35px;
}
:has(#flexmenu li:nth-child(1):hover) #flexmenu li:nth-child(1):hover > ul {
    left: -125%;
            top: 35px;
}
:has(#flexmenu li:nth-child(7):hover) #flexmenu li:nth-child(7):hover > ul {
    left: -50%;
            top: 35px;
}
:has(#flexmenu li:nth-child(3):hover) #flexmenu li:nth-child(3):hover > ul {
            left: -10%;
                    top: 35px;
}

}
#flexmenu li a:hover{
    
        color: #909695 !important;
}
@media screen and (max-width: 768px) {
    body{
        
        overflow-x: hidden; 
}
    
    .logo {
        position: absolute;
        top: 0;
        left: 0;

        height: 46px;
        text-align: center;
        padding: 10px 0 0 5px;
      -webkit-box-align: start;
          -ms-flex-align: start;
              align-items: flex-start;
    }
    .phone{
position: absolute;

    }
    .sub-menu.open[style*="display: block"]{
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background: transparent !important;
}
.sub-menu{

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
            background: transparent !important;
}
.sub-menu:before{
    
        content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}
    #flexmenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    background: #000000!important;
    height: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 70px;
    margin-block-end: 0;
    padding-inline-start: 0;
    padding-left: 0;
    width: 102vw;
           /*margin-left: calc(-51vw + 51%);*/
   margin: auto;

}
  .logo img{

    height: 46px;
    width: auto;


  }
    .button {
   
        width: 60px;
        height: 48px;
        position: absolute;
        right: 10px;
   
        cursor: pointer;
        z-index: 10000;
    }
    .button:after {
        position: absolute;
        top: 22px;
        right: 20px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #FFF;
        border-bottom: 2px solid #FFF;
        content: '';
    }
    .button:before {
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
        position: absolute;
        top: 16px;
        right: 20px;
        display: block;
        height: 2px;
        width: 20px;
        background: #FFF;
        content: '';
    }
    .button.menu-opened{

    }
    .button.menu-opened:after {
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;    
        top: 23px;
        border: 0;
        height: 2px;
        width: 19px;
        background: #FFF;
        -webkit-transform: rotate(45deg);
                -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    }
    .button.menu-opened:before {
        top: 23px;
        background: #FFF;
        width: 19px;
        -webkit-transform: rotate(-45deg);
                -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    }
    #flexmenu ul {
    display: none;
    /* margin-top: 16%; */
    background: #000000;
    margin-block-start: 43px;
    margin-block-end: 0;
    padding-inline-start: 0;
        padding-left: 0;
    }
    #flexmenu ul li,
    #flexmenu ul li a,
    #flexmenu ul ul li a{
    color: #FFF;
    width: 100wv;
    }

    #flexmenu ul ul li,
    #flexmenu li:hover > ul > li {
        height: auto;  

    }
    #flexmenu ul ul li a {
        padding-left: 25px;
    }
    #flexmenu ul ul ul li a {
        padding-left: 35px;
    }

    #flexmenu ul ul,
    #flexmenu ul ul ul {
      position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;

    text-align: center;
    padding: 0;
    }
    #flexmenu ul ul ul li.active a {
        border-left: none;
    }
    #flexmenu > ul > li.has-sub > ul > li.focus > a,
    #flexmenu > ul ul > li.has-sub > ul > li.focus > a {
        background: #333;
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }
    #flexmenu > ul > li.has-sub > a:after,
    #flexmenu > ul > li.has-sub > a:before,
    #flexmenu ul ul > li.has-sub > a:after,
    #flexmenu ul ul > li.has-sub > a:before {
        display: none;
    }

    #flexmenu .submenu-button {
        position: absolute;
        z-index: 9999999999999999999999;
        right: 0;
        top: 0;
        display: block;
 /*padding: 45px;*/
        height: 46px;
        width: 46px;
        cursor: pointer;
 
    }
    #flexmenu ul ul .submenu-button {
        height: 34px;
        width: 34px;
    }
    #flexmenu .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #FFF;
        content: '';
    }
    #flexmenu ul ul .submenu-button:after {
        top: 15px;
        right: 13px;
    }
    #flexmenu .submenu-button.submenu-opened:after {
        background: #FFF;
    }
    #flexmenu .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #FFF;
        content: ''
    }
    #flexmenu ul ul .submenu-button:before {
        top: 12px;
        right: 16px;
    }
    #flexmenu .submenu-button.submenu-opened:before {
        display: none;
    }   
  
  .note{
    font-size: 3vw;
  }
  .phone span{
      display: none;
  }
    .phone{
         background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='512px' height='512px' viewBox='0 0 512 512' fill='%23fff'%3e%3cg%3e%3cpath d='M256,0C114.609,0,0,114.609,0,256c0,141.391,114.609,256,256,256c141.391,0,256-114.609,256-256 C512,114.609,397.391,0,256,0z M256,472c-119.297,0-216-96.703-216-216S136.703,40,256,40s216,96.703,216,216S375.297,472,256,472z '/%3e%3cpath d='M327.125,383.969c5.703,0.016,56.875-37.828,56.875-42.656s-57.266-40.905-62.219-40.905s-21.578,19.938-26.062,22.155 c-4.5,2.22-32.5,1.422-63.703-29.78c-31.219-31.188-41.875-67.109-41.875-72.75c0-5.641,26.031-23.062,26.75-27.156 c0.719-4.094-34.313-64.876-40-64.876S128,180.5,128,184.875s3.953,60.656,75.219,131.906S321.422,383.938,327.125,383.969z'/%3e%3c/g%3e%3c/svg%3e ");
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    right: 17%;  }
    
#main-menu > li:last-child { padding-bottom: 15px; }
#main-menu > li:last-child > .submenu-button{    top: -10px;}
}
.t-popup.t-popup_show {

    z-index: 999999999;
}


/*.t-popup__block-close {*/
/*     top: 5vmax;*/
/*    right: 32vmax;*/

}
.t-popup__close {
    position: absolute;

}

/* Скрываем стандартный крестик Tilda внутри контейнера */
.t-popup__container .t-popup__close,
.t-popup__container .t-popup__block-close,
.t-popup__close.t-popup__block-close{
    display: none !important;
}



.custom-tilda-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 999999 !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.custom-tilda-close:before, 
.custom-tilda-close:after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 24px !important;
    height: 2px !important;
    background: #fff !important;
    transform-origin: center !important;
}

.custom-tilda-close:before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.custom-tilda-close:after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.custom-tilda-close:hover {
    opacity: 0.8 !important;
}