/* top */

#block-vesta-theme-nazvanieuchrezhdeniya-3 .field--name-body {
    font-size: 25px;
    color: #FFFFFF;
    font-family: "Stroke(RUS BY LYAJKA)";
}


/* bottom */

.region-headerbottomnav {
    display: flex;
    align-items: center;
}

.container__header-bottom {
    display: flex;
    justify-content: space-between;
}

.region-headerbottomnav {
    width: calc(100% - 240px);
}

.header-bottom {
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background-repeat: no-repeat;
}
/* меню */
#superfish-main {
    display: flex;
    align-items: center;
   flex-wrap: wrap;
  }
/* каждый раздел меню   */
ul.sf-menu li {
    display: block !important;
    float: none !important;
}
/* каждый раздел меню */
  #superfish-main li {
    /*max-width: 25%;*/
    position: relative;
  }

  #superfish-main li a {
   text-decoration: none !important;
  }

/* вложенное меню само */
  #superfish-main li > ul{
    background-color: whitesmoke;
    width: 200px !important;
    border-radius: 2px;
  }

  #superfish-main li ul li ul{
    background-color: whitesmoke;
    width: 120px !important;
    border-radius: 2px;
  }

  #superfish-main li ul li ul li {
    border-left: 1px solid rgba(0, 0, 0, 0.521);
  }

  #superfish-main li ul .sf-sub-indicator{
    display: none;
  }
 /* для ли во вложенном меню  */
  #superfish-main li ul li{
    width: 100%;
    max-width: 100%;
    text-align: center;
    border-bottom: 1px solid black;
  }

  #superfish-main li ul li:hover{
    background-color: rgb(241, 240, 240);
  }

  #superfish-main li ul li:first-child:hover{
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
  }

  #superfish-main li ul li:last-child:hover{
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
  }

  #superfish-main li ul li:last-child{
    border-bottom: none;
  }

/* для а во вложенном меню */
  #superfish-main li ul li a{
    padding-right: 0px;
    padding-left: 0px;
    color: #b12860 !important;
    text-decoration: none !important;

  }

  #superfish-main li ul li a:hover{
        color: blue !important;
        opacity: 0.5;
  }
  
  #superfish-main > li {
    color: #FFF;
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-size: 40px;
    height: 100%;
  }

  #superfish-main > li:after {
    content: '';
    display: block;
    position: absolute;
  }
  #superfish-main > li:before {
    content: '';
    display: block;
    position: absolute;
  }

  #superfish-main > li:after {
    transform-origin: right;
    transform: scaleX(0);
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #FFF;
    transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  }
  #superfish-main > li:hover:after {
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  }



  .header-bottom__section-2 {
    width: 240px;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
  }

  .btn-nav {
    font-size: 0;
    background: transparent;
    padding: 0;
    border: 0px solid;
  }

@media(max-width: 1920px) {
    .conatiner__header-bottom {
        max-width: 1200px !important;
    }
}

@media(max-width: 1200px) {
    #superfish-main li a {
        font-size: 12px !important;
      }

    #superfish-main {
        gap: 5px;
    }

    #superfish-main li a {
        padding-left: 0px;
    }

}

@media(max-width: 996px) {
    .header-bottom__section-2 {
        justify-content: center;
        gap: 10px;
    }

    .header-bottom {
    
    } 

    #block-vesta-theme-nazvanieuchrezhdeniya-3 .field--name-body {
        font-size: 20px;
    }

    #custom-button {
        font-size: 15px;
        flex: none;
        width: 185px;
    }

    #superfish-main li a {
        padding-right: 13px;
      }

    .header-bottom__section-2 img {
        width: 27px;
        height: 27px;
    }

    ul.sf-menu .sf-sub-indicator {
        right: 1px;
    }

}
@media(max-width: 996px) {
    .region-headerbottomnav {
        display: none;
    }

    .container__header-bottom {
        
    }

    .header-bottom__section-2 {
        /*width: 300px;
        gap: 20px;*/
    }
    .header-bottom__section-2{
        /*width: 100%;*/
        max-width: 490px;
    }
}
@media(max-width: 746px) {
    
}
@media(max-width: 576px) {
    #header .bvi-open{
        font-size: 16px !important;
    }
  #custom-button {
    flex: 1;
    max-width: 185px;
    font-size: 13px;
  }


    
  .header-bottom__section-2 {
    width:  80%;
    gap: 10px;
    justify-content: end;
}

.header-bottom__section-2{
    flex-wrap: wrap;
}
.header-bottom .bvi-open{
    font-size: 12px !important;
}
.header-bottom #custom-button{
    height: 40px;
}
}


ul.sf-menu .sf-sub-indicator:after {
  content: url("/sites/all/themes/vesta_theme/icons/arrow.svg") !important;
  top: -3px
}