/*header text */
.header_text {
  position: absolute;
  margin-left: auto;
  /*font-family: 'RobotoNorm';*/
  /*margin-right: auto;*/
  width:790px;
  text-align: center;
  /*margin-left: -335px;*/
  bottom: 80px; 
}
.header_text h1,h2 {
  font-size: 3.2em;
  font-weight: 600;
  color: black;
  text-shadow: 1px 1px 1px #FAC916;
}
.header_text span {
  display: block;
}
.header_text p {
  display: block;
  margin-top: 10px;
  font-size: 1.6em;
  font-weight: 600;
  color: black;
  text-shadow: 1px 1px 1px #FAC916;
}

@media screen and (max-width: 1680px) {
  .header_text h1,h2 {
      font-size: 2.2em;
  }
  .header_text span:first-child {
    display: block;
    /*font-size: 1.4em;*/
    /*font-size: 2.1em;*/
  }
}

@media screen and (max-width: 1400px) {
  .header_text {
    width: 720px;
    margin-left: -40px;
  }
  .header_text p {
    font-size: 1.5em;
  }
}
/*END header text*/



.wrap_nav {
  position: relative;
  /*border:1px solid red;*/
  bottom:100px;
  width:100%;
}
nav {
  position: absolute;
  /*flex-direction: row;*/
  /*border:1px solid green;*/
  bottom:250px;
  /*left: calc(50% - 383px);*/
  left: calc(50% - 308px);
  /*margin-left: auto;
margin-right: auto;
left: 0;
right: 0;*/
}
nav ul li{
  display: inline-block;
}
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(250,196,2, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}
.navbar-toggler{
  border-color: rgba(250,196,2,0.7) !important;
  border-bottom:2px dashed rgba(250,196,2,0.7) !important;
  border-top:2px dashed rgba(250,196,2,0.7) !important;
}
.navbar-toggler{
  /*border:2px solid rgba(250,196,2,1);*/
  background-color: rgba(250,196,2,0.6);
  transition: 0.5s;
}
.navbar-toggler:hover{
 background-color: rgba(250,196,2,0.8);
}

.flip {
  /*border-bottom:1px dashed #FAC002;*/
  border-left:1px dashed #FAC002;
  /*position: absolute;*/
  width: 120px;
  height: 35px;
  border-top:1px solid #FAC402;
  /*-webkit-perspective: 500px;
  -moz-perspective: 500px;
  -ms-perspective: 500px;
  perspective: 300px;*/
  /*top: 50%;
  left: 50%;*/
  /*margin: -24px 0 0 -80px;*/
}
.flip a {
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  width: 120px;
  height: 100%;
  position: absolute;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(-25px);
  -moz-transform: translateZ(-25px);
  -o-transform: translateZ(-25px);
  -ms-transform: translateZ(-25px);
  transform: translateZ(-25px);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  -o-transition: -o-transform 0.3s;
  -ms-transition: -ms-transform 0.3s;
  transition: transform 0.3s;
  cursor: pointer;
}
.flip a .front,
.flip a .back {
  margin: 0;
  /*width: 150px;
  height: 48px;*/
  width: 120px;
  height: 35px;
  font-size: 12px;
  /*line-height: 48px;*/
  line-height: 39px;
  position: absolute;
  text-align: center;
  /*letter-spacing: 0.4em;*/
}
.flip a .back {
    font-weight: 600;
}
.flip a .front {
  background-color: rgba(0,0,0,0.4);
  color: #FAC402;
  -webkit-transform: rotateY(0) translateZ(24px);
  -moz-transform: rotateY(0) translateZ(24px);
  -o-transform: rotateY(0) translateZ(24px);
  -ms-transform: rotateY(0) translateZ(24px);
  transform: rotateY(0) translateZ(24px);
}
.flip a .back {
  background-color: rgba(250,196,2,0.8);
  color: rgba(34,34,34,0);
  -webkit-transform: rotateX(90deg) translateZ(24px);
  -moz-transform: rotateX(90deg) translateZ(24px);
  -o-transform: rotateX(90deg) translateZ(24px);
  -ms-transform: rotateX(90deg) translateZ(24px);
  transform: rotateX(90deg) translateZ(24px);
  overflow: hidden;
}
.flip a .back:after {
  content: '';
  position: absolute;
  top: -32%;
  left: -10%;
  width: 120%;
  height: 50%;
  background: #222;
  -webkit-transform: rotate(8deg);
  -moz-transform: rotate(8deg);
  -o-transform: rotate(8deg);
  -ms-transform: rotate(8deg);
  transform: rotate(8deg);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-transition-delay: 0.15s;
  -moz-transition-delay: 0.15s;
  -o-transition-delay: 0.15s;
  -ms-transition-delay: 0.15s;
  transition-delay: 0.15s;
}
.flip a:hover {
  -webkit-transform: translateZ(-24px) rotateX(-90deg);
  -moz-transform: translateZ(-24px) rotateX(-90deg);
  -o-transform: translateZ(-24px) rotateX(-90deg);
  -ms-transform: translateZ(-24px) rotateX(-90deg);
  transform: translateZ(-24px) rotateX(-90deg);
}
.flip a:hover .front {
  background: #000;
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  transition: all 0.8s ease;
}
.flip a:hover .back {
  color: #222;
  -webkit-transition: color 0.4s linear;
  -moz-transition: color 0.4s linear;
  -o-transition: color 0.4s linear;
  -ms-transition: color 0.4s linear;
  transition: color 0.4s linear;
  background: #fff;
}
.flip a:hover .back:after {
  -webkit-transform: rotate(6deg) translate(100px, -18px);
  -moz-transform: rotate(6deg) translate(100px, -18px);
  -o-transform: rotate(6deg) translate(100px, -18px);
  -ms-transform: rotate(6deg) translate(100px, -18px);
  transform: rotate(6deg) translate(100px, -18px);
}

/* counter стили */
.textCounter {
  font-size: 20px;
}

.counterNum {
  font-size: 22px;
  color: #FAC402;
  font-weight: 600;
}
.spanInline {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 25px;
}
.animationStart {
  color:red;
  transition: 1s;
}
.animationEnd {
  color:#F48E03;
  transition: 1s;
}

.animated {
  -webkit-animation-delay: .5s;
  -o-animation-delay: .5s;
  -moz-animation-delay: .5s;
  animation-delay: .5s;
}

@media screen and (min-width: 1400px) {
  nav {
  bottom:350px;
  left: calc(50% - 383px);
  }
  .flip a .front,
  .flip a .back {
    width: 150px;
    height: 48px;
    font-size: 16px;
    line-height: 48px;
  }
  .flip {
    width: 150px;
    height: 48px; 
  }
  .flip a {
    width:150px;
  }
  /*.header_text {
    margin-left: 4%;
  }*/
  /*.flip a .back {
    font-weight: 600;
  }*/

}

@media screen and (min-width: 1700px) {
nav {
  bottom:450px;
  /*left: calc(50% - 383px);*/
  }
}

/* MAIN VARIABLES FOR CUSTOMIZATION */
/* -------------------------------- */
.nav {
  overflow: hidden;
  position: absolute;
  left: 50%;
  bottom:110px;
  width: auto;
  height: 60px;
  /*height: 90px;*/
  margin-top: -45px;
  background: rgba(255,255,255,0.5);
  border-radius: 5px;
  border-top:1px solid #FAC402;
  transform: translate3d(-50%, 0, 0);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.nav__cb {
  z-index: -1000;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
}
.nav__content {
  position: relative;
  width: 40px;
  height: 100%;
  transition: width 1s cubic-bezier(0.49, -0.3, 0.68, 1.23);
}
.nav__cb:checked ~ .nav__content {
  transition: width 1s cubic-bezier(0.48, 0.43, 0.29, 1.3);
  width: 315px;
}
.nav__items {
  position: relative;
  width: 315px;
  height: 100%;
  padding-left: 5px;
  padding-right: 20px;
  list-style-type: none;
  font-size: 0;
}
.nav__item {
  display: inline-block;
  /*vertical-align: top;*/
  /*width: 20px;*/
  /*text-align: center;*/
  /*color: #6C7784;*/
  /*font-size: 14px;*/
  /*line-height: 60px;*/
  font-family: Helvetica, Arial, sans-serif;
  /*font-weight: bold;*/
  perspective: 1000px;
  transition: color 0.3s;
  cursor: pointer;
  margin-top:5px;
  margin-right:15px;
}
.nav__item span {
  padding:1px;
  border-top:2px solid #FAC402;
  border-bottom:1px solid #FAC402;
}
.nav__item span img{
  width:41px;  
}


.nav__item:hover {
  color: #FAC402; /*#1539CF*/
}
.nav__item-text {
  display: block;
  height: 100%;
  transform: rotateY(-70deg);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.48, 0.43, 0.7, 2.5), opacity 0.7s;
}
.nav__cb:checked ~ .nav__content .nav__item-text {
  transform: rotateY(0);
  opacity: 1;
  transition: transform 0.7s cubic-bezier(0.48, 0.43, 0.7, 2.5), opacity 0.2s;
}
.nav__item:nth-child(1) .nav__item-text {
  transition-delay: 0.3s;
}
.nav__cb:checked ~ .nav__content .nav__item:nth-child(1) .nav__item-text {
  transition-delay: 0s;
}
.nav__item:nth-child(2) .nav__item-text {
  transition-delay: 0.2s;
}
.nav__cb:checked ~ .nav__content .nav__item:nth-child(2) .nav__item-text {
  transition-delay: 0.1s;
}
.nav__item:nth-child(3) .nav__item-text {
  transition-delay: 0.1s;
}
.nav__cb:checked ~ .nav__content .nav__item:nth-child(3) .nav__item-text {
  transition-delay: 0.2s;
}
.nav__item:nth-child(4) .nav__item-text {
  transition-delay: 0s;
}
.nav__cb:checked ~ .nav__content .nav__item:nth-child(4) .nav__item-text {
  transition-delay: 0.3s;
}
.nav__btn {
  position: absolute;
  right: 3px;
  top: 10px;
  width: 31px;
  height: 60px;
  /*padding: 36px 31px;*/
  cursor: pointer;
}
.nav__btn:before, .nav__btn:after {
  content: "";
  display: block;
  margin-top:10px;
  width: 28px;
  height: 5px;
  border-radius: 2px;
  background: black;
  transform-origin: 50% 50%;
  transition: transform 1s cubic-bezier(0.48, 0.43, 0.29, 1.3), background-color 0.3s;
}
.nav__btn:before {
  margin-bottom: 10px;
}
.nav__btn:hover:before, .nav__btn:hover:after {
  background: black;
}
.nav__cb:checked ~ .nav__btn:before {
  transform: translateY(7px) rotate(-225deg);
}
.nav__cb:checked ~ .nav__btn:after {
  transform: translateY(-7px) rotate(225deg);
}

/*.nav__items_r1 {
  height:45%;
}
.nav__items_r2 {
  height:45%;
}*/

.n_item1 {
  line-height: 25px;
  height: 40px;
}
.n_item2 {
  line-height: 70px;
  height: 40px;
}

#menu_mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  #menu_mobile {
    display: block;
  }
  .bl_center{
    display: none;
  }
  #menu_desktop {
    display: none;
  }
}

.crumbs_block {
  display: inline-block;
  width: 15%;
  position: relative;
  top: 2px;
  left:3px;
  height: 18px;
  border-right:1px solid #FAC402;
  /*background-color: rgba(250,196,2,0.2);*/
  background: linear-gradient(to left, rgba(250,196,2,0.3), #3F3F3F);

}

.hr_crumb {
  padding-left: 10px;
  padding-bottom: 5px;
  font-size: 20px;
  margin-top: -20px;
  margin-left:auto;
  margin-right:auto;
  width:94%;
  border-left:1px solid #7A682E;
  border-bottom: 1px solid #7A682E;
  color:#FAC402;
  font-weight: 600;
  text-shadow: 1px 1px 1px black;
  /*border:1px solid white;*/
}
.hr_crumb i {
  font-size: 17px;
}
.hr_crumb h1 {
  display: inline-block;
  font-size: 30px;
  font-weight: bold;
  color:#FAC402;
  text-shadow: 1px 1px 1px black;
}
@media screen and (max-width: 1000px) {
  .hr_crumb h1 {
    font-size: 24px;
  }
}


@media screen and (max-width: 321px) {
  .nav {
    bottom: 10px;
  }
}
/*.target_switch {
  position: relative;
  height: 30px;
  width: 30px;
  border:1px solid red;
}*/