/* Стили логотипа */
.logo {
  position: absolute;
  float: left;
  left: 20px;
  top: 1px;
}

.brand-logo {
  display: block;
  width: 205px;
  height: 84px;
}
/* Логотип мобильных устройств */
.brand-logo-mobile {

  display: none;
}

/*
nav.nav-center ul li {
  display: inline;
  float: none;
}
*/

#dropdown-personal {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style-type: none;
}


.navbar-links {
  flex-direction: row;
  align-items: center;
  display: flex;
  font-family: Lora;
  color: black;
  background-color: #FFFFFF;
  font-size: 16px;
  padding: 0 0px;
  cursor: pointer;
  text-decoration: none;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}




.links-li {
  position: relative;
  display: block;
}

.links-li a{
  position: relative;
  color: black;
  background-color: #FFFFFF;
  font-size: 16px;
  padding: 0 12px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}

/* Стили кнопок */
.navbar-links li a {
  display: inline-block;
  font-family: Lora;
  
}

/* Стили кнопок hover */
.navbar-links li a:hover {
  background-color: #D3D3D3;
 /* border-bottom: 1px solid black; */
   transition-duration: 1s;
  transition-timing-function: ease-out;
}

/* Стили кнопок hover */
.navbar-links li a:active {
  background-color: #D3D3D3;
 /* border-bottom: 1px solid black; */
   transition-duration: 1s;
  transition-timing-function: ease-out;
}



.navbar-links {
  text-align: center;
}



/* Стили главного меню */
.nav-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  color: red;
  background-color: white;
  width: 100%;
  height: 74px;
  position: relative;
  z-index: 1111;
  line-height: 74px;
  margin-top: 0px;
  padding-top: 0px;
  /*box-shadow: 0 0 10px rgba(0,0,0,0.5); Параметры тени */ 
  box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 0 1px rgba(1,0,0,.1);
}
.navbar-main {
  display: block;
  text-align: center;
  font-family: Lora;
}


.navbar-personal-area {
  position: absolute;
  right: 0px;
  height: 50px;
  float: left;
}
/* Кнопка вход на сайт */
.btn_navbar_login {
  margin-right: 20px;
}



.btn_auth {
  position: relative;
  width: 45px;
  height: 74px;
  margin-right: 20px;
  top: 15px;
  cursor: pointer;
  float: right;
}

.personal-email {
  
  font-size: 14px;
  font-family: lora;
  font-weight: 700;
  padding: 5px;
  cursor: pointer;
}

.navbar-personal-area ul {
  padding: 0 0 0 15px ;
  background-color: #FFFFFF;
  height: 74px;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}





/* Кнопка вход на сайт */
 a.btn_navbar_login {
  color: black;
  text-decoration: none;
  padding: 7px 14px; /* отступ от текста */
  border: 1px solid black;
  border-radius: 5px;
}
/* Кнопка вход на сайт */
a.btn_navbar_login:hover {
  color: white;
  background-color: #000000;
  }

/* ********** Стили мобильного меню **********  */
.main-mobile {
  display: none;
  left: 0px;
  position: absolute;
  cursor: pointer;
  top: 20px;
  z-index: 102;
}

.main-bar-top {
  background-color: #b6b6b6;
  display: block;
  width: 38px;
  height: 3px;
  margin: 6px auto;
  -webkit-transition: all .25s cubic-bezier(.46,.03,.52,.96),background .3s ease-in-out;
  transition: all .25s cubic-bezier(.46,.03,.52,.96),background .3s ease-in-out;
}

.main-bar-middle {
  background-color: #b6b6b6;
  display: block;
  width: 38px;
  height: 3px;
  margin: 6px auto;
  -webkit-transition: all .25s cubic-bezier(.46,.03,.52,.96),background .3s ease-in-out;
  transition: all .25s cubic-bezier(.46,.03,.52,.96),background .3s ease-in-out;
}

.main-bar-bottom {
  background-color: #b6b6b6;
  display: block;
  width: 38px;
  height: 3px;
  margin: 6px auto;
  -webkit-transition: all .25s cubic-bezier(.46,.03,.52,.96),background .3s ease-in-out;
  transition: all .25s cubic-bezier(.46,.03,.52,.96),background .3s ease-in-out;
}

.main-mobile._active .main-bar-middle {
    width: 0;
}

.main-mobile._active .main-bar-top {
    -webkit-transform: translateY(9px) rotate(45deg);
    transform: translateY(9px) rotate(45deg);
}

.main-mobile._active .main-bar-bottom {
    -webkit-transform: translateY(-9px) rotate(-45deg);
    transform: translateY(-9px) rotate(-45deg);
}




.nav-center._active {
    position: relative;
}

.navbar-mobile-name._active {
    left: 0;
    transition: left .2s ease-in-out;
}

.overlay_open {
   overflow: hidden;
   position: relative;
}

.navbar-mobile-name {
  visibility: hidden;
  display: flex;
  position: fixed;
  background-color: #ffffff;
  width: 100%;
  top: 0px;
  left: -100%;
  right: 0;
  bottom: 0;
  z-index: 100;
  transition: left .2s ease-in-out;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: auto;
 
}

.navbar-mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #a1a09d;
  list-style-type: none;
  z-index: 999;
}



.navbar-mobile-nav li:hover{
  color: #000;
}


.navbar-mobile-name-logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  top: 10px;
}

.navbar-mobile-name-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  bottom: 0px;
}

.navbar-mobile-nav-drop-down {
  display: flex;
  position: relative;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  background-color: #f4f4f4;
  height: 0;
  width: 100%;
  align-items: center;
  transition: height .3s ease-in-out;
   z-index: 999; 
   
}

.nav-down {
  height: 100%;
  visibility: visible;
  opacity: 1;
  transition: height .3s ease-in-out;
  transition: opacity .3s ease-in-out;
}

.rotate-arrow {

  background-color: #ededed;
  width: 100%;
  text-align: center;
}



.navbar-mobile-nav-drop-down li{
   font-size: 1.1rem;
   color: #000;
   border-bottom: 1px solid #fff;
   width: 100%;
   text-align: center;
}

.open-drop-down {
  display: flex;
  align-items: center;
}

#open-drop-down img{
  position: relative;
  margin-left: 10px;
  bottom: 2px;
  transform: rotate(-90deg);
  transition: transform 300ms ease-in-out;
}

.rotate-arrow#open-drop-down img {
  transform: rotate(0deg);
  transition: transform 300ms ease-in-out;
}

/* ********** Стили мобильного меню ////финиш**********  */

/* Выпадающее меню */
.dropdown {
  background-color: #fff;
  margin: 0;
  display: none;
  width: 200px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2); /* Параметры тени */
  max-height: 650px;
  overflow-y: auto;
  opacity: 1;
  left: 0px;
  position: absolute;
  z-index: 999;
  will-change: width, height;
  line-height: 50px;
  overflow: hidden;
}

.dropdown li a{
  clear: both;
  color: rgba(0, 0, 0, 0.87);
  cursor: pointer;
  min-height: 25px;
  overflow: hidden;
  min-width: 200px;
  display: block;
  line-height: 25px;
  padding: 15px;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0;

}

/* Меню личного кабинета */
.nav-personal-main {
  width: 250px;
  height: 400px;
  position: absolute;
  display: none;
  opacity: 1;
  background-color: white;
  right: 0px;
  top: 74px;
  z-index: 99;
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 0 10px rgba(0,0,0,0.2); /* Параметры тени */
  transition: top 2s;
}


.nav-personal-main-header {
  position: relative;
  width: 100%;
  height: 75px;
  z-index: 99;
  border-bottom: 1px solid #EFEFEF;
}

.nav-personal-main-header-pic {
  position: relative;
  width: 45px;
  height: 45px;
  margin-left: 20px;
  top: 15px;
  float: left;
}

.nav-personal-name {
  position: relative;
  top: 25px;
  font-size: 16px;
  left: 15px;
  line-height: 25px;
  font-family: Lora;
   font-weight: 700;

}

.nav-personal-main-ul {
  background-color: #fff;
  margin: 0;
  display: block;
  max-height: 650px;
  overflow-y: auto;
  opacity: 1;
  left: 0px;
  position: absolute;
  z-index: 999;
  will-change: width, height;
  overflow: hidden;
}

.nav-personal-main-ul ul {
  margin: 0;
  padding: 0;
  position: relative;

  margin-left: 0px;
  display: block;
  float: none;
   
}

.nav-personal-main-ul li {
  
}

.black-text {
  background-color: #FFFFFF;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}

.black-text:hover {
  background-color: #E5F3FE;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}

.nav-personal-main-ul .grey-text a{
  color: #A9A9A9;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.nav-personal-main-ul .grey-text a:hover{ 
  background-color: #E5F3FE;
  color: #000000;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.nav-personal-main-ul li a{
  color: #000000;
  position: relative;
  padding: 5px 25px;
  line-height: 35px;
  font-family: lora;
  font-size: 16px;
  display: block;
  float: none;
  cursor: pointer;
  text-decoration: none;
}

.devider {
  height: 1px;
  overflow: hidden;
  background-color: #EFEFEF;
}

.arrow {
  position: relative;
  margin-left: 5px;
  top: -18px;
}

/* Для разрешения меньше 1299px */

@media only screen and (max-width: 1299px) {
  .navbar-main {
  display: none;  
}
  .logo {
  left: 50%;
  margin-left: -70px; 
}
.main-mobile {
  display: block;
  width: 35px;
  position: absolute;
  left: 20px;
}

.navbar-mobile-name {
  visibility: visible;
}

.personal-email {

  display: block;
}

.navbar-mobile-nav li{
  font-family: Lora;
  font-size: 1.3rem;
  line-height: 60px;
  color: #757575;
  cursor: pointer;
}

}

/* Для разрешения меньше 599px */
@media only screen and (max-width: 599px) {
  .navbar-main {
  display: none;  
}
  .logo {
  left: 50%;
  margin-left: -40px; 
}

.brand-logo {
  display: none;
}

.brand-logo-mobile {
  display: block;
  margin-top: 5px;
  z-index: 8;
}

.personal-email {
  display: none;
}

.navbar-mobile-nav li{
  font-family: Lora;
  font-size: 1.1rem;
  line-height: 60px;
  color: #757575;
  cursor: pointer;
}


}
@media only screen and (min-width: 1030px) {
  .navbar-personal-area ul:hover {
  background-color: #D3D3D3; 
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}
}