/* ms2026mb.test.cosmos.ru-550-header-2026-05-26.1.css */

nav a {
	text-decoration: none !important;
}

#navbar-top {
  position: absolute;
  right: 10%;
  left: auto;
  transform: none;
}

.horizontal-menu > li > a,
.horizontal-menu > li > span,
.region-featured-top nav .nav-item a,
.region-featured-top nav .nav-item span {
	display: inline-block;
	padding: 0.5vw 0.75vw 0.25vw 0.75vw;
	background-color: transparent;
	color: #b7e3ff;
/*	
	font-size: calc(0.45rem + 0.7vw);
*/
	font-size: calc(8px + 0.725vw);
	font-weight: 400;
	line-height: 1.2;
	font-variation-settings: "wght" 350;
}
/*
.horizontal-menu > li:not(:first-child)::before {
  content: "|";
  color: #b7e3ff;
  font-size: calc(8px + 0.75vw);
  position: relative;
  left: 3px;
}
*/
#horizontal-menu > li.menu-item.menu-item--expanded ul a:hover {
	color: #fff!important;
  background-color: var(--ms3-neptune-blue)!important;
}

#navbar-top {
	padding-bottom: 0;
	padding-top: 0;
	width: fit-content;
	z-index: 3040;
	position: absolute;
	right: 8%;
	top: 0;
	background-color: transparent;
}

#horizontal-menu, 
.region-featured-top .menu--sidebar-menu {
	background-color: rgba(0,0,0,0.75);
}

.horizontal-menu > li ul {
	width: 15em;
	background: rgb(207, 226, 255);
}

.horizontal-menu > li li > a {
	color: #000;
}

.horizontal-menu > li li {
	border-top: 1px solid #000;
}

.ms3-header {
  display: block;
  background-size: cover;
}

.ms3-header-text * {
	color: #fff;
}

.ms3-header-text h2 {
	margin-bottom: 0;
}

@media (prefers-color-scheme: dark) {
  .ms3-header {
    filter: brightness(100%) !important;
  }
}


/*
@media (min-width: 576px) {
  .ms3-header {
    padding:0 0 25% 0;
    background-image: url("/img/2026/17ms3-desktop-high.jpg");
    background-image: image-set(
      url("/img/2026/17ms3-desktop-high.webp") type("image/webp"),
      url("/img/2026/17ms3-desktop-high.jpg") type("image/jpeg")
    );
  }
}

@media (min-width:1340px) {
  :not(.path-frontpage) .ms3-header {
  	padding:0 0 12.5% 0;
	  background-image: url("/img/2026/17ms3-desktop-narrow.jpg");
	  background-image: image-set(
	    url("/img/2026/17ms3-desktop-narrow.webp") type("image/webp"),
	    url("/img/2026/17ms3-desktop-narrow.jpg") type("image/jpeg")
	  );  
  }
  .path-frontpage .ms3-header {
    padding:0 0 22.2656% 0;
    background-image: url("/img/2026/17ms3-desktop-3b.jpg");
    background-image: image-set(
      url("/img/2026/17ms3-desktop-3b.webp") type("image/webp"),
      url("/img/2026/17ms3-desktop-3b.jpg") type("image/jpeg")
    );
  }  
  body:not(.path-frontpage) .ms3-header-text {
    bottom: 0.5rem;    
  }
}
*/

@media (max-width:959px) {
  .ms3-header {
    padding:0 0 25% 0;
    background-image: url("/img/2026/17ms3-desktop-high.jpg");
    background-image: image-set(
      url("/img/2026/17ms3-desktop-high.webp") type("image/webp"),
      url("/img/2026/17ms3-desktop-high.jpg") type("image/jpeg")
    );
  }
  .ms3-header-text {
	  margin: 0;
	  position: absolute;
	  bottom: calc(1vw - 0.5em);
		left: 52%;
	  transform: translate(-50%);
	  width: 74vw;
	  text-align: center;
	  color: #fff;
	  font-variation-settings: "wdth" 92, "wght" 400;
	  text-shadow: 3px 2px 2px #000;
	  /* background-color: rgba(0,0,0,0.65); */
	  /* h2 font-size: clamp(1rem, calc(20px + 1vw), 2.5rem);
	  line-height: 1; */
	}
	
	.ms3-header-text h2 {
		margin-bottom: 0.25em;
	  font-size: clamp(1rem, calc(16px + 1vw), 2.5rem);
	  line-height: 1;
	  margin-bottom: 0;
	}
	.ms3-header-text h3 {
		font-size:2.75vw;
	}
	.horizontal-menu > li > a, .horizontal-menu > li > span {
    font-size: 2vw;
	}
}

@media (max-width:575px) {
  .ms3-header {
		display: block;
		margin: 0;
		padding:0 0 55% 0;
	  background-image: url("/img/2026/17ms3-mobile-2.jpg");
	  background-image: image-set(
	    url("/img/2026/17ms3-mobile-2.webp") type("image/webp"),
	    url("/img/2026/17ms3-mobile-2.jpg") type("image/jpeg")
	  );
	  background-size: cover;
	}
	.ms3-header-text {
		display:none;
	}
}


@media (min-width:960px) {
	.ms3-header {
	  padding:0 0 11.4% 0;
	  background-image: url("/img/2026/17ms3-desktop-low-1.jpg");
	  background-image: image-set(
	    url("/img/2026/17ms3-desktop-low-1.webp") type("image/webp"),
	    url("/img/2026/17ms3-desktop-low-1.jpg") type("image/jpeg")
	  );
	}
	.ms3-header-text h2 {
	  font-size: clamp(0rem,calc(0px + 2.1vw),25rem);
	}
	.ms3-header-text h3 {
		margin-top: 0.25em;
		/*font-size: clamp(0rem,calc(0px + 1.75vw),25rem);*/
		font-size: clamp(1.2rem,calc(0px + 1.7vw),1.75rem);
		line-height: 1.2;
	}
	.ms3-header-text {
	  text-align: left;
	  position: absolute;
	  left: 39.25%;
	}
}

/*  
.ms3-header-text {
  bottom: calc(16px + 1vw);
  text-align: left;
  position: absolute;
  left: 40%;
}
*/

@media (max-width:1199px) {
	.ms3-header-text {
	  bottom: 0.5vw;
	}
}

@media (min-width:1200px) {
	.ms3-header-text {
	  bottom: 1.25vw;
	}
}

@media (max-width:1600px) {
		body.ms3-header-text {
	  bottom: calc(4px + 1vw);
	}
}
