
.logos-wrapper{
  display: flex;
  align-items: flex-start;
}

.minobrnauki-logo{
	height:47px;

}
.notification-banner {
  background-color: var(--red);
  color: var(--white);
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 32px;
}

.notification-banner span {
  font-size: 20px !important;
  line-height: 1.4;
}

.notification-banner ol {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 0 0 26px;
}

.notification-banner li::marker {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
}

.notification-banner p {
  margin-top: 16px;
  margin-bottom: 0;
}

.notification-banner p:first-child {
  margin-top: 0;
}

.notification-banner p:last-child {
  margin-bottom: 0;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 38px 0 31px;

  border-bottom: 1px solid var(--black);
}

header.container {
  position: relative;
  margin-bottom: 50px;
}

header a,
header .menu nav>span:has(>.dropdown),
header .blind-version {
  color: var(--black);
  transition: color .2s;
}

header a:hover,
header .menu nav>span:has(>.dropdown):hover,
header .blind-version:hover {
  color: var(--blue);
}

.header-wrapper .minobrnauki-link {
  order: -1;
  margin-right: 30px;
}

.header-wrapper a {
  display: flex;
  align-items: center;
}

.header-wrapper .menu {
   order: 3;
}

.header-wrapper .controls {
   order: 4;
}

header .logo {
  height: 60px;
}

header .menu {
  display: flex;
  align-items: center;
  gap: 29px;
}

header .menu nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
}

header .menu nav>* {
  padding: 15px 0;
}

header .menu nav .dropdown {
  display: flex;
  position: absolute;
  top: 100%;
  left: -50%;

  width: max-content;
  padding: 26px;

  background: var(--white);
  box-shadow: 0px 0px 3.1px 1px #D8D8D8;
  border-radius: 20px;

  gap: 20px;
  flex-direction: column;
  z-index: 10;


  transition: transform 0.3s;
  transform: scale(1, 0);
  transform-origin: top center;
}

header .menu nav>span:has(>.dropdown) {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

header .menu nav>span:has(>.dropdown)::after {
  content: '';
  width: 22px;
  height: 22px;

  mask-image: url('data:image/svg+xml,<svg width="22" height="23" viewBox="0 0 22 23" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.5 8.75L11 14.25L16.5 8.75" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: currentColor;

  position: static;
  display: block;

  transition: transform 0.3s;
}

header .menu nav>span:has(>.dropdown):hover::after {
  transform: scale(1, -1);
}

header .menu nav>span:hover .dropdown {
  transform: scale(1);
}

header .menu .mob-menu-btn {
  display: none;
  cursor: pointer;
}

header .controls {
  display: flex;
  align-items: center;
  gap: 29px;
  position: relative;
}

header .controls .eye {
  cursor: pointer;
}

header .btn-leave-request {
  	min-width: 155px;
}

header .mob-dropdown-menu {
  overflow: hidden;
  width: calc(100% - 32px);
  position: absolute;

  transform: scale(1, 0);
  z-index: 10;
  transition: transform 0.3s;
  transform-origin: top center;
}

header .mob-dropdown-menu>div {
  padding: 20px 18px 22px;
  background-color: var(--white);
}

header .mob-dropdown-menu.open {
  transform: scale(1, 1);
}

header .mob-dropdown-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 29px;
}

header .mob-dropdown-menu nav a {
  padding: 27px 0;
}


header .mob-dropdown-menu__footer {
  margin-top: 27px;
  padding-top: 22px;
  border-top: 1px solid var(--black);

  display: flex;
  gap: 24px;
}


body .bvi-body[data-bvi-theme="white"] .mob-menu-btn:not(.bvi-no-styles) {
  background-color: var(--black) !important;
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
	header.container {
		max-width: 1180px;
	  	padding: 0;
	}

	header .menu {
		gap: 20px;
	}

	header .menu nav {
  		gap: 20px;
		font-size: 16px;
	}

	header .controls {
    	gap: 20px;
  	}

	header .btn-leave-request {
		min-width: 100px;
		
		text-align: center;
	}


	.logo {
		width: 180px;
	}

	.header-wrapper {

	}
}

@media screen and (max-width: 1200px) {

  header .menu nav,
  header .controls {
    display: none;
  }

  header .menu .mob-menu-btn {
    display: block;
  }

  header .menu {
	flex-direction: row-reverse;
  }

  header .btn-leave-request {
    font-size: 15px;
    min-width: 115px;
  }

  header .menu {
    gap: 24px;
  }

  header .logo {
    height: 30px;
  }

  .header-wrapper {
    padding: 21px 0 21px;
  }

  .minobrnauki-logo {
	height: 15px;
  }

  .header-wrapper .minobrnauki-link {
    order: 2;
  	margin-right: 0px;
  }
  .header-wrapper a {
    order: 1;
  }
}

.search-input {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 10;
  padding: 8px 16px;
  border: 1px solid var(--black);
  border-radius: 30px;
}

.search-input .search-icon {
  display: flex;
  align-items: center;
  height: 22px;
  border-right: 1px solid var(--black);
  margin-right: 16px;
}

.search-input .icon {
  height: 16px;
  border-right: 1px solid var(--black);
  color: var(--gray);
}

.search-input input {
  border: none;
  outline: none;
  padding: 0;
  width: 100%;
}

.B_crumbBox {
  display: flex;
  list-style-type: none;
  gap: 10px;
  padding: 0;
  width: 100%;
  margin-top: -10px;
  margin-bottom: 50px;
  color: #00000099;
  font-size: 15px;
  line-height: 1.3;
}

.B_lastCrumb {
  display: none;
}

.B_crumbBox:has(.B_lastCrumb .B_currentCrumb) .B_lastCrumb {
  display: block;
}

a.B_crumb,
a.B_homeCrumb {
  color: var(--blue);
}

.B_currentCrumb {
  color: var(--black);
}

a.B_crumb:hover,
a.B_homeCrumb:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .notification-banner {
    padding: 12px 20px;
  }

  .notification-banner span {
    font-size: 16px !important;
  }

  .notification-banner ol {
    gap: 16px;
    padding: 0 0 0 20px;
  }

  .notification-banner li::marker {
    font-size: 22px;
  }

  .notification-banner p {
    margin-top: 12px;
  }

  .header-wrapper {
    padding: 16px 0 16px;
  }

  header.container {
    margin-bottom: 32px;
  }

  header .logo {
    height: 28px;
  }

  .minobrnauki-logo {
	height: 18px;
  }

  header .btn-leave-request {
    font-size: 14px;
    min-width: 100px;
  }

  header .menu {
    gap: 20px;
  }

  header .mob-dropdown-menu {
    width: calc(100% - 24px);
  }

  header .mob-dropdown-menu>div {
    padding: 16px 16px 18px;
  }

  header .mob-dropdown-menu nav {
    margin-top: 20px;
  }

  header .mob-dropdown-menu nav a {
    padding: 18px 0;
  }

  header .mob-dropdown-menu__footer {
    margin-top: 20px;
    padding-top: 18px;
    gap: 16px;
  }

  .B_crumbBox {
    gap: 8px;
    margin-bottom: 40px;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .notification-banner {
    padding: 10px 16px;
  }

  .notification-banner span {
    font-size: 14px !important;
  }

  .notification-banner ol {
    gap: 14px;
    padding: 0 0 0 16px;
  }

  .notification-banner li::marker {
    font-size: 18px;
  }

  .notification-banner p {
    margin-top: 10px;
  }

  .header-wrapper {
    padding: 14px 0 14px;
  }

  header.container {
    margin-bottom: 24px;
  }

  header .logo {
    height: 26px;
  }

  .header-wrapper .minobrnauki-link {
    display: none;
  }

  header .btn-leave-request {
    font-size: 13px;
    min-width: 95px;
  }

  header .mob-dropdown-menu {
    width: calc(100% - 16px);
  }

  header .mob-dropdown-menu>div {
    padding: 14px 14px 16px;
  }

  header .mob-dropdown-menu nav {
    margin-top: 16px;
  }

  header .mob-dropdown-menu nav a {
    padding: 14px 0;
  }

  header .mob-dropdown-menu__footer {
    margin-top: 16px;
    padding-top: 16px;
    gap: 14px;
  }

  .B_crumbBox {
    gap: 6px;
    margin-bottom: 32px;
    font-size: 13px;
  }
}
