@font-face {
	font-family: Helvetica_Normal;
	src: url('/css/fonts/Helvetica-Normal.woff2') format('woff2'),
		url('/css/fonts/Helvetica-Normal.woff') format('woff'),
		url('/css/fonts/Helvetica-Normal.ttf') format('truetype');
}
@font-face {
	font-family: Helvetica_Condensed;
	src: url('/css/fonts/Helvetica_Condenced.woff2') format('woff2'),
		url('/css/fonts/Helvetica_Condenced.woff') format('woff'),
		url('/css/fonts/Helvetica_Condenced.ttf') format('truetype');
}

.nav_check {
    display: none;
}

header {
	contain: content;
	scroll-snap-align: none;	
    position: sticky;
    top: 0;
    left: 0;
	height: var(--hh);
    background: #fff;
/*    background: #ffffffd0;
	backdrop-filter: blur(5px);*/
    z-index: 100;
	padding: 7px 15px 7px 20px;
    display: flex;
	gap: 3vw;
    justify-content: space-between;
    box-shadow: 0 2px 6px 0 rgba(0,0,0,.12), inset 0 -1px 0 0 #dadce0;
	transition: box-shadow .5s;
}
#show_menu:checked ~ header {
	box-shadow: 0 0 0 0 #fff;
}
.menu_button {
    flex: 0 1 40px;
    display: inline-flex;
    justify-content: end;
    align-items: center;
	padding-bottom: 2px;
}
.hamburger {
    border: 2px solid transparent; 
    border-radius: 100%;
    width: 38px;
    height: 38px;
    padding: 4px 0;
	position: relative;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.hamburger:active	 {
    border: 2px solid #99c; 
}
.hamburger > div {
  background-color: #000;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#show_menu:checked ~ header .hamburger {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hamburger:before {
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  border: 2px solid transparent;
  top: calc(50% - 19px);
  left: calc(50% - 19px);
  border-radius: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#show_menu:checked ~ header .hamburger:before {
  border: 2px solid #000;
}

#show_menu:checked ~ header .hamburger > div {
  width: 22px;
} 

#show_menu:checked ~ header .hamburger > div:nth-child(2){
  opacity: 0;
}

#show_menu:checked ~ header .hamburger > div:nth-child(1){
  -webkit-transform: translateY(7px);
  -ms-transform: translateY(7px);
  -o-transform: translateY(7px);
  transform: translateY(7px);
}

#show_menu:checked ~ header .hamburger > div:nth-child(3){
  -webkit-transform: translateY(-7px) rotate(90deg);
  -ms-transform: translateY(-7px) rotate(90deg);
  -o-transform: translateY(-7px) rotate(90deg);
  transform: translateY(-7px) rotate(90deg);
}

nav {
	position: fixed;
	top: -100%;
	left: 0;
	min-height: 100%;
	height: 100%;
	width: 100%;
	overflow-x: hidden;
    overflow-y: auto;
	margin: 0;
	padding: 75px 20px 30px;
	background: #fff;
	transition: all 0.3s ease-in-out;
	z-index: 99;
}
#show_menu:checked ~ nav {
	top: 0;
}	

.menu_holder { 
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.menu_holder > div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.main_menu {
    flex: 1 0 99%;
}
.main_menu a {
	font-size: 1.2rem;
	margin: 4px 0;
}	

.logo {
	height: 100%;
	width: auto;
	max-width: 100%;
	display: block;
}
.logo text:first-child {
	letter-spacing:.25px;
}	
@media (max-width: 425px) {
	.logo .txt {
		transform: translate(30px, 3px) scale(0.97, 0.98);
	}
	.logo .fig {
		stroke-width: 6; 
	}
}

.menu {
    display: none;
	flex-flow: column;
	justify-content: space-between;
    padding: 6px 0;
    font-size: 1.1rem;
	width: 100%;
}	
.menu > div {
    display: flex;
    justify-content: end;
	gap: 40px;
	white-space: nowrap;
}
.menu .lnks a {
	padding: 0 0 3px;
	border-bottom: 2px solid transparent;
	transition: border-color .5s;	
}
.menu .lnks a:hover {
	color: #00229b;
	border-bottom-color: #3b58be;
}
.menu .btns {
	text-align: right;
	flex-wrap: nowrap;
}
.menu .btns a {
	flex-shrink: 0;
}

@media (min-width: 1180px) {
 header {
	padding: 5px 20px 8px;
 }
 header > div:first-child {
	flex-shrink: 0;
 }	 
 nav, .menu_button { 
	display: none;
 }
 .menu {
    display: flex;
 } 
}

.menu .btns a.hot {
	animation: button-hot-progress auto linear;
	animation-timeline: scroll();
}
@keyframes button-hot-progress {
	to { filter: hue-rotate(115deg) brightness(1.2); } 
}

.search_widget {
	width: 120px;
	position: relative;
	transition: width .3s ease-out;
}
.search_widget:focus-within {
	width: 100%;
}
.search_widget input {
	font: 300 1.1rem "Roboto", Helvetica, Arial, sans-serif;
	width: inherit;
	min-height: 42px;
	padding: 0 3rem 2px 16px;
	border: 1px solid #afb6d5;
	border-radius: 48px;
	text-overflow: ellipsis;
}
.search_widget:focus-within input {
	padding-right: 5.5rem;
}
.search_widget input:focus {
	outline: none;
	border-color: #185abc;
}	
.search_widget:hover input {	
	border-color: #185abc;
}
.search_widget input:invalid {
    text-decoration: underline #185abc solid .15rem;
	text-underline-offset: .1em;
}
.search_widget:focus-within input:invalid {
    animation: blink_cursor 1s step-end infinite;
    caret-color: #0000;
}
@keyframes blink_cursor {	
	0%, 100% {
		text-decoration-line: none;
	}
	50% {
		text-decoration-line: underline;
	}
}
.search_widget button {
	position: absolute;
    top: 50%;
    right: 1rem;
    translate: 0 -50%;
    width: 2rem;
    height: 2rem;
	padding: 0;
	background: none;
    border: 0;
    border-radius: 10px;
	cursor: pointer;
}
.search_widget .clear {
    right: 3rem;
	display: none;
}
.search_widget:focus-within .clear {
	display: inline-block;
	opacity: 1;
}
.search_widget:invalid .clear {	
	opacity: 0;
}
.search_widget button span {
	background-color: #afb6d5;
	display: inline-block;
	width: 100%;
	height: 100%;
}
.search_widget .search span {
    mask: url(/pic/search.svg) center / 1.2rem no-repeat;
}
.search_widget .clear span {
    mask: url(/pic/clear.svg) center / 1.2rem no-repeat;
}
.search_widget button:hover {
	border: 1px solid #afb6d5;
}	
.search_widget button:active {
	border-color: #185abc;
}	
.search_widget button.search:active {	
	background-color: #185abc;
}
.search_widget:invalid button,
.search_widget:invalid button:active {
	cursor: default;
    border: 0;
	background: none;
}
.search_widget:focus-within button.search span,
.search_widget button:hover span {
    background-color: #185abc;
}	
.search_widget button.search:active span {
	background-color: #fff;
}	
.search_widget:invalid button span,
.search_widget:invalid button:hover span,
.search_widget:invalid button:active span,
.search_widget:invalid:focus-within button span {
    background-color: #afb6d5;
}

