header {
  height:150px;
  margin-bottom: 20px;
}

.home header {
  margin-bottom: 10px;
}

.wpdmi-topbar {
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  text-transform: uppercase;
}

.wpdmi-topbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.logo-sakhamedia {
  flex:0 0 170px;
  width:170px;
  height:30px;
  background-size: contain;
  background-image: url('../images/logo-sakhamedia.svg');
  background-repeat: no-repeat;
  background-position: left center;
  margin-right: 5px;
  position: relative;
  color: #ffffff;
  cursor: pointer;
}

.logo-sakhamedia.wpdmi-desktop {
  flex:0 0 190px;
  width:190px;
  height:30px;
  margin-right: 60px;
  position: relative;
  padding-right:20px;
}

.wpdmi-modal .logo-sakhamedia {
  flex:0 0 auto!important;
  width:170px;
  height:30px;
  margin-right: 0;
  position: relative;
  color: #ffffff;
  margin-bottom: 10px;
}
/*
.menu-sakhamedia-updown {
  width:auto;
  height: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  border: 1px solid #000;
  right:0;
  z-index: 99;
}*/

.logo-sakhamedia.wpdmi-desktop:after {
  /* 05.07.2021 */
  display: none;
  /*content: '';
  background-image: url("../images/icon/icon-down-white.svg");
  background-repeat: no-repeat;
  background-position: center right;
  position: absolute;
  width: 20px;
  height: 20px;
  top:2px;
  right:0;*/
}

.logo-sakhamedia.wpdmi-desktop.logo-sakhamedia-active:after {
  background-image: url("../images/icon/icon-up-white.svg");
  top:9px;
}


/* */

.wpdmi-topbar-widgets {
  
}

.wpdmi-topbar-widgets .wpdmi-col {
  display: flex;
  align-items: center;
  height:30px;
  padding: 0 10px;
  border-right: 1px solid #c2807d;
  font-size: 14px;
  line-height: 30px;
  font-weight: bold;
}

.wpdmi-topbar-widgets .wpdmi-col:last-child {
  padding-right: 0;
  border-right: 0;
}

.wpdmi-topbar-widgets .wpdmi-col.wpdmi-widget-day {
  border-right: none;
}

.wpdmi-widget-day-mobile {
  display: none;
}

.icon-lang {
  width:95px;
  height:16px;
  background-size: contain;
  background-image: url('../images/icon/icon-rus.svg');
  background-repeat: no-repeat;
  background-position: center;
}

.wpdmi-weather, .wpdmi-exchangerates {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.wpdmi-exchangerates li:first-child {
  margin-right: 20px;
}

.wpdmi-exchangerates li span:last-child {
  font-weight: normal
}

/* */

.wpdmi-navbar {
  height: 80px;
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.wpdmi-navbar .wpdmi-row {
  flex-direction: row;
  justify-content: space-between;
}

.wpdmi-navbar-sticky {
  position: fixed;
  width: 100%;
  height: 70px;
  background-color: #ffffff;
  z-index: 9999;
  top: 0;
  -webkit-box-shadow: 0px 0px 5px 0px rgb(204 204 204);
  -moz-box-shadow: 0px 0px 5px 0px rgba(204,204,204,1);
  box-shadow: 0px 0px 5px 0px rgb(204 204 204);
}

.logged-in .wpdmi-navbar-sticky {
  top:32px;
}

.wpdmi-navbar-nav {
  display: flex;
  flex-direction: row;
  flex:1 1 auto;
  margin-right: 60px;
}

.wpdmi-logo {
  width: 153px;
  flex:0 0 153px;
  height: 53px;
  margin-right: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.wpdmi-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wpdmi-icon-search {
  flex: 0 0 23px;
  margin-left: auto;
}

.icon-search {
  display: block;
  width:23px;
  height:23px;
  background-size: contain;
  background-image: url('../images/icon/icon-search.svg');
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.wpdmi-icon-mobile-menu {
  width:32px;
  height:24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.wpdmi-icon-mobile-menu span {
  height:2px;
  background-color: #9b302a;
}

/* */

.wpdmi-socialbar .wpdmi-row {
  position: relative;
}

.wpdmi-socialbar .wpdmi-row:before {
  content: '';
  position: absolute;
  width: 100%;
  height:1px;
  background-color: #d4d4d4;
  z-index: 1;
  top:50%;
}

.wpdmi-socialbar .wpdmi-row .wpdmi-col {
  position: relative;
  z-index: 9;
  background-color: #ffffff;
}

.wpdmi-socialbar .wpdmi-row.justify-content-between .wpdmi-col:first-child {
  padding-right:20px;
  font-size: 20px;
  line-height: 20px;
  font-weight: bold;
}

.wpdmi-socialbar .wpdmi-row.justify-content-between .wpdmi-col:first-child a {
  color: #000000;
}

.wpdmi-socialbar .wpdmi-row.justify-content-between .wpdmi-col:first-child a:hover {
  color: #9b302a;
}

.wpdmi-socialbar .wpdmi-row.justify-content-between .wpdmi-col:last-child, .wpdmi-socialbar .wpdmi-row.justify-content-end .wpdmi-col:last-child {
  padding-left:20px;
}

/*@media only screen and (max-width: 1024px) {*/
@media only screen and (max-width: 1149px) {
  header {
    height: 110px;
    -webkit-box-shadow: 0px 0px 5px 0px rgb(204 204 204);
    -moz-box-shadow: 0px 0px 5px 0px rgba(204,204,204,1);
    box-shadow: 0px 0px 5px 0px rgb(204 204 204);
  }
  
  .wpdmi-socialbar {
    display: none;
  }
  
  .wpdmi-navbar {
    height: 60px;
  }
  
  .wpdmi-navbar-nav {
    display:none;
  }
  
  .wpdmi-icon-mobile-menu {
    display: flex;
    order: 3;
  }
  
  .wpdmi-logo {
    margin-right: 0;
    order: 2;
    width: 120px;
    flex: 0 0 120px;
    height: 40px;
    
    /*height: 50px;*/
  }
  
  .wpdmi-logo .item .information {
    height: 100%!important;
    width: 100%!important;
  }
  
  .wpdmi-icon-search {
    margin-left: 0;
    order: 1;
  }  
}

@media only screen and (max-width: 768px) {
  .menu-sakhamedia-updown {
    display: none;
  }
  
  header .logo-sakhamedia {
    flex: 0 0 56px;
    width: 56px;
    background-image: url(../images/logo-sakhamedia-small.svg);
  }
  
  .logged-in .wpdmi-navbar-sticky {
    top: 0;
  }
}

@media only screen and (max-width: 480px) {
  .wpdmi-topbar-widgets .wpdmi-col {
    padding: 0 5px;
    font-size: 11px;
  }
  
  .icon-lang {
    width: 65px;
    height: 11px;
  }
  
  .wpdmi-widget-day-desktop {
    display: none;
  }
  
  .wpdmi-widget-day-mobile {
    display: block;
  }
  
  .wpdmi-exchangerates li:first-child {
    margin-right: 5px;
  }  
}