#header .menu {
  float: left;
  width: auto;
  overflow: visible;
  position: relative;
}
#header .menu_section {
  min-width: 600px;
}

#header .menu .menu-item {
  float: left;
  width: auto;
  margin: 0 5px;
  overflow: visible;
  cursor: pointer;
}
#header .menu .menu-item .link {
  width: auto;
  padding: 0 8px;
  color: #fff;
  font-family: "SourceSansPro-Bold";
  font-size: 14px;
  line-height: 50px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.1s linear;
}

#header .menu .menu-item.selected .link {
  background: #b88b58;
}

/* #header .menu .menu-item .top_arrow {
  opacity: 0;
  position: absolute;
  top: 44px; 
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 6px;
  background: url("/static/img/backgrounds/arrow_sub_menu.png") no-repeat center
    center;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
} */
#header .menu .menu-item:hover .top_arrow {
  opacity: 1;
  bottom: 1px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

#header .menu .menu_mob {
  display: none;
}

#header .menu .card {
  visibility: hidden;
  position: absolute;
  left: -140px;
  max-width: 950px;
  width: auto;
  margin: 0;
  background: #2c3e50;
  padding: 1rem 1rem 0 1rem;
}

#header .menu .menu-item.active .card {
  visibility: visible;
}

#header .menu .card .card-wrapper {
  padding: 0 0 1rem 0;
}

#header .menu .card h4.card-list-header {
  color: #b88b58;
  padding: 0 0 0 10px;
  margin: 0 0 13px 0;
}

#header .menu .card .card-list-wrapper {
  float: left;
}

#header .menu .card .card-list-wrapper.multimedia {
  width: 50%;
}

#header .menu .card .card-list-wrapper.news {
  width: 33%;
}


#header .menu .card .card-list-wrapper.article {
  width: 25%;
}

#header .menu .card .card-list-wrapper.article.wd-1 {
  width: 26%;
}

#header .menu .card .card-list-wrapper.article.wd-2 {
  width: 29%;
}

#header .menu .card .card-list-wrapper.article.wd-3 {
  width: 20%;
}

#header .menu .card .card-list-wrapper.article.wd-4 {
  width: 23%;
}

#header .menu .card .card-list .card-list-item {
  min-width: 220px;
  padding: 0 10px;
}

#header .menu .card .card-list .link {
  width: auto;
  padding: 0 8px;
  color: #fff;
  font-family: "SourceSansPro-Regular";
  font-size: 16px;
  line-height: 35px;
  border-top: solid 1px #585858;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.1s linear;
}

#header .menu .card .card-list .link:hover {
  color: #b88b58;
  padding-left: 15px;
  transition: all 0.2s;
}

#header .menu .menu-item .link .link-chevron {
  padding: 7px;
  -webkit-transition: color 0.4s;
  transition: color 0.4s;
}

@media only screen /*and (min-width: 1024px) */and (max-width: 1249px) {
  #header .menu {
    position: absolute;

    width: 200px;
    height: auto;
    overflow: hidden;
    max-height: 450px;
    max-height: 100vh;
  }

  #header .menu .menu_section {
    visibility: hidden;
  }

  #header .menu.open .menu_section {
    visibility: visible;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
  }


  #header .menu .menu-item {
    position: initial;
    width: 100%;
    padding: 0;
    margin: 0;
    background: #2c3e50;
  }
  #header .menu .menu-item .submenu {
    display: none;
  }
  #header .menu .menu-item .top_arrow {
    display: none;
  }

  #header .menu .menu-item .link {
    font-size: 18px;
    text-align: left;
    padding-left: 20px;
    border-bottom: solid 1px #585858;
  }

  #header .menu .menu-item.active .link {
    border-top: solid 2px #585858;
    border-bottom: solid 2px #585858;
    border-left: solid 1px #585858;
    border-right: solid 1px #585858;
  }

  #header .menu .menu-item .link .link-chevron {
    padding: 16px 7px;
    float: right;
  }

  #header .menu .menu-item.more .link {
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
  }
  #header .menu .menu-item.more .submenu {
    display: block;
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    visibility: visible;
    opacity: 1;
  }
  #header .menu .menu-item.more .submenu .sublink {
    opacity: 1;
    font-size: 18px !important;
    text-align: center;
  }

  #header .menu .menu_mob {
    display: block;
    float: left;
    height: 50px;
    width: 50px;
    margin: 0 0 0 150px;
    /* margin: 0; */
    padding: 5px 0px;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }

  #header .menu .menu_mob .first,
  #header .menu .menu_mob .second,
  #header .menu .menu_mob .fird {
    display: block;
    opacity: 1;
    height: 5px;
    width: 50px;
    margin: 0 0 13px;
    padding: 0;
    background: #fff;
    overflow: hidden;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }
  #header .menu.open .menu_mob {
    padding: 0;
    margin-bottom: 5px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }
  #header .menu.open .menu_mob .first {
    transform: rotate(45deg);
    margin: 25px 0 0;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }
  #header .menu.open .menu_mob .fird {
    transform: rotate(-45deg);
    margin: -22px 0 0;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }
  #header .menu.open .menu_mob .second {
    opacity: 0;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }
  #header .menu.open {
    height: auto;
    width: 100%;
  }

  #header .menu .card {
    visibility: unset;
    display: none;
    position: unset;
    left: -140px;
    max-width: 100%;
    width: auto;
    margin: 0;
    background: #2c3e50;
    padding: 1rem 1rem 0 1rem;
  }


  #header .menu .menu-item.active .card {
    visibility: visible;
    display: block;
    padding: 0;
  }

  #header .menu .card h4.card-list-header {
    color: #b88b58;
    padding: 0 0 0 40px;
    margin: 13px 0 0 0;
  }

  #header .menu .card .card-list-wrapper.multimedia,
  #header .menu .card .card-list-wrapper.news,
  #header .menu .card .card-list-wrapper.article.wd-1,
  #header .menu .card .card-list-wrapper.article.wd-2,
  #header .menu .card .card-list-wrapper.article.wd-3,
  #header .menu .card .card-list-wrapper.article.wd-4 {
    width: 100%;
  }

  #header .menu .card .card-list .card-list-item {
    padding: 0;
  }

  #header .menu .card .card-list .link:hover {
    width: 100%;
    color: #fff;
    background-color: #b88b58;
    padding-left: unset;
    transition: all 0.2s;
  }
  #header .menu .card .card-list .link {
    border: unset;
    padding-left: 40px;
  }
  
  #header .menu .card .card-list .link:hover {
    width: 100%;
    color: #fff;
    background-color: #b88b58;
    padding-left: 40px;
    transition: all 0.2s;
  }

  .not-visible {
    display: none;
  }
  
  #header .menu .card .card-list .link {
    font-size: 18px;
  }
}

@media only screen and (min-width: 1920px) {
  /*submenu*/
  #header .menu .menu-item:hover .submenu {
    height: 387px;
  }
  #header .menu .menu-item .submenu .subitem {
    width: 264px;
    height: 320px;
    margin-right: 30px;
    margin-bottom: 28px;
  }
  #header .menu .menu-item .submenu .subitem .sub_title {
    padding-top: 14px;
    font-size: 19px;
    line-height: 24px;
  }
  #header .menu .menu-item .submenu .section_link {
    height: 37px;
    padding: 0 37px;
    font-size: 18px;
    line-height: 37px;
  }
}

/* screen width 1280px START */
@media only screen and (min-width: 1250px) and (max-width: 1365px) {
  #header .menu .menu-item {
    margin: 0;
  }
}

/* screen width 1366px START */
@media only screen and (min-width: 1366px) and (max-width: 1439px) {
  #header .top_gazeta {
    margin-right: 23px;
    margin-left: 15px;
  }
  #special-theme .container .logo {
    margin: 5px 0 5px 0;
  }
  #header .lang {
    margin-left: 15px;
  }
  #header .top_user {
    margin-left: 15px;
  }
  #header .top_like {
    margin-left: 15px;
  }
}
/* screen width 1366px END */
