
:root{
	--color-white: #ffffff;
	--color-white-50: rgba(255,255,255,0.5);
	--color-blue: #002D74;
	--color-dark-blue: #00015f;
	--color-red: #FF6A6A;
	--font: 'Hurme Geometric Sans 1', Arial, Helvetica, sans-serif;
}

@font-face {
	font-family: 'Hurme Geometric Sans 1';
	font-style: normal;
	font-weight: 300;
	src: url("fonts/HurmeGeometricSans1-Light.woff2") format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Hurme Geometric Sans 1';
	font-style: normal;
	font-weight: 400;
	src: url("fonts/HurmeGeometricSans1-Regular.woff2") format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Hurme Geometric Sans 1';
	font-style: italic;
	font-weight: 400;
	src: url("fonts/HurmeGeometricSans1-RegularObl.woff2") format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Hurme Geometric Sans 1';
	font-style: normal;
	font-weight: 600;
	src: url("fonts/HurmeGeometricSans1-SemiBold.woff2") format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Hurme Geometric Sans 1';
	font-style: normal;
	font-weight: 700;
	src: url("fonts/HurmeGeometricSans1-Bold.woff2") format('woff2');
	font-display: swap;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-size: 1rem;
	font-family: var(--font);
	font-weight: 400;
	color: var(--color-white);
	background: var(--color-blue);
	margin: 0;
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

header {
	background-image: url('images/hero.jpg');
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: 11% top;
	-webkit-mask-image: linear-gradient(black 80%, transparent);
	mask-image: linear-gradient(black 80%, transparent);
}

@supports (background-image: url("images/hero.webp")) {
	header {
		background-image: url("images/hero.webp");
	}
}

header section{
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 11.75rem 3.5rem;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

header div{
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 778px;
	width: 100%;
}

header h1{
	font-family: var(--font);
	font-size: 5.25rem;
	line-height: 4.875rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-white);
	margin: 3.5rem 0 0 0;
	text-align: center;
}

header h1 span{
	white-space: nowrap;
	display: block;
}

header h2{
	font-family: var(--font);
	font-size: 3rem;
	line-height: 4rem;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-white);
	text-align: center;
	margin: 0 0 2.375rem 0;
}

header .logo{
	margin: 0 auto;
	display: block;
	height: auto;
}

header .logo-io{
	margin: 0 auto;
	display: inline-flex;
	position: relative;
	top: 0.5rem;
}

header .btn{
	font-family: var(--font);
	font-size: 2.375rem;
	font-weight: 700;
	color: var(--color-blue);
	border-radius: 4rem;
	background-color: var(--color-white);
	text-align: center;
	padding: 1.875rem 3.625rem;
	text-decoration: none;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.search {
	margin: 3.5rem 0;
	background-image: url('images/line.svg'), url('images/line.svg');
	background-repeat: no-repeat, no-repeat;
	background-position: top center, bottom center;
	background-size: 100% 5px, 100% 5px;
}

.search section{
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.search h3{
	font-family: var(--font);
	font-size: 3rem;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-white);
	text-align: center;
	margin: 0 0 2rem 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.search h3 span span:last-child:after{
	content: "";
	width: 51px;
	height: 51px;
	background-image: url('images/icon-map.svg');
	background-repeat: no-repeat;
	display: inline-flex;
	margin: 0 0 0 0.5rem;
}

h3>span span:last-child {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.search form{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.search form>div{
	display: flex;
	width: 100%;
	justify-content: center;
	gap: 2rem;
}

.search form>div:first-child{
	
}

.search form>div:last-child{
	
}

.search form>div:first-child div{
	flex: 1;
	max-width: 32.75rem;
}

.search label{
	font-family: var(--font);
	font-size: 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-white);
	display: block;
	padding: 0.5rem 1.875rem;
}

.search input{
	-webkit-appearance: none;
	appearance: none;
	border-radius: 23px;
	border: 2px solid var(--color-white);
	font-family: var(--font);
	font-size: 1.25rem;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	width: 100%;
	padding: 2rem;
	background-color: transparent;
	color: var(--color-white);
}

.search input:active,
.search input:focus-visible{
	outline: 1px solid var(--color-white);
}

.search input::placeholder {
	color:var(--color-white);
	font-style: italic;
}

.search button:not([aria-controls]){
	-webkit-appearance: none;
	appearance: none;
	font-family: var(--font);
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-blue);
	border-radius: 3rem;
	background-color: var(--color-white);
	text-align: center;
	padding: 1.5rem 3rem;
	border: 0;
	margin: 3rem auto 0 auto;
	cursor: pointer;
}

.search small{
	color: var(--color-red);
	font-size: 1rem;
	line-height: 1rem;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 600;
	font-family: var(--font);
	padding: 0.5rem 0 0 0;
	text-align: center;
	display: none;
}

.search .error input{
	border-color: var(--color-red);
	outline-color: var(--color-red);
	color: var(--color-red);
}

.search .error small{
	display: block;
}

.search .results{
	display: none;
	flex-direction: column;
}

.search .results>button{
	-webkit-appearance: none;
	appearance: none;
	font-family: var(--font);
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-white);
	border-radius: 3rem;
	background-color: transparent;
	text-align: center;
	padding: 1.5rem 3rem;
	border: 0;
	margin: 2rem auto 0 auto;
	cursor: pointer;
	border: 1px solid var(--color-white);
	display: inline-block;
}

.search .header>div{
	display: grid;
	grid-template-columns: 1fr 1fr 160px;
	background-image: url('images/line-thin.svg');
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% 100%;
	padding: 0 0 0.75rem 0;
	gap: 1rem;
}

.search .header>div span{
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	font-family: var(--font);
	display: flex;
	align-items: center;
}

.search .results .noresult{
	padding: 3.75rem 0 0 0;
	font-size: 2.25rem;
	font-family: var(--font);
	color: var(--color-red);
	font-style: italic;
	text-align: center;
	font-weight: 600;
}

.search .list{
	display: flex;
	flex-direction: column;	
}

.search .row>div{
	display: grid;
	grid-template-columns: 1fr 1fr 160px;
	font-size: 1.25rem;
	font-family: var(--font);
	padding: 0.625rem 0 1.25rem 0;
	margin: 1rem 0 0 0;
	background-image: url('images/line-thin.svg');
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% 100%;
	gap: 1rem;
}

.search .row>div *{
	display: flex;
	align-items: center;
}

.search .row>div a{
	-webkit-appearance: none;
	appearance: none;
	font-family: var(--font);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-blue);
	border-radius: 3rem;
	background-color: var(--color-white);
	text-align: center;
	padding: 0.625rem 2.625rem;
	border: 0;
	margin: 0 auto;
	text-decoration: none;
}

.search .row>div span:first-child{
	font-weight: 700;
}

.search .row>div a{
	align-self: center;
}

.search.null *{
	text-align: center;
}

.search.null h3,
.search.null form,
.search.null .header,
.search.null .lists{
	display: none !important;
}

.search.null .results{
	display: block !important;
}

.search:not(.null) .noresult{
	display: none !important;
}

main section{
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 1rem;
}

main .image{
	max-width: 100%;
	display: block;
	height: auto;
	margin: 0 auto;
	border-radius: 2rem;
}

main .logo{
	margin: 3.5rem 0 1rem 0;
	display: block;
	width: 40%;
}

main p{
	font-family: var(--font);
	font-size: 2.25rem;
	font-weight: 400;
	color: var(--color-white);
	text-transform: uppercase;
	text-align: center;
	margin: 0.75rem 0 1rem 0;
}

main strong{
	font-size: 3rem;
	font-weight: 700;
	display: block;
}

footer {
	margin: 3rem 0 0 0;
}

footer section:first-child{
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
}

footer section:last-child{
	background: var(--color-dark-blue);
}

footer p{
	font-family: var(--font);
	font-weight: 400;
	font-size: 0.75rem;
	line-height: 1.25rem;
	text-align: center;
}

footer a{
	color: var(--color-white);
}

footer ul{
	display: flex;
	justify-content: space-between;
	list-style-type: none;
	padding: 1rem;
	margin: 0 auto;
	max-width: 1440px;
	width: 100%;
}

footer li{
	text-align: center;
}

footer li a{
	text-decoration: none;
	font-size: 0.75rem;
}

footer li a:hover{
	text-decoration: underline;
}

footer small{
	font-size: 0.75rem;
	text-align: center;
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem 3rem 1rem;
	display: block;
}

strong{
	font-weight: 700;
}

 small{
	font-family: var(--font);
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--color-white);
	text-align: center;
}

.tns-nav{
	margin: 2rem 0 0 0;
	display: flex;
	gap: 0.8rem;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.tns-outer [aria-controls]{
	-webkit-appearance: none;
	appearance: none;
	display: block;
	border-radius: 50%;
	width: 0.875rem;
	height: 0.875rem;
	background-color: var(--color-white-50);
	border: 0;
}

.tns-outer [aria-controls].tns-nav-active{
	display: block;
	border-radius: 50%;
	width: 1.375rem;
	height: 1.375rem;
	background-color: var(--color-white);
	border: 0;
}

@media only screen and (max-width: 1360px) {
	header{
		background-position: 30% top;
	}
}

@media only screen and (max-width: 1200px) {
	header{
		background-position: 20% top;
	}
	header section{
		padding: 9.75rem 3.5rem 9.75rem 3.5rem;
	}
	header div{
		max-width: 538px;
	}
	header .btn{
		font-size: 1.625rem;
		padding: 1.25rem 2.5rem;
	}
	header .logo{
		width: 209px;
	}
	header .logo-io{
		width: 129px;
        height: auto;
        top: 0.25rem;
	}
	header h1{
		font-size: 3.375rem;
		line-height: 3.5rem;
		margin: 2rem 0 0 0;
	}
	header h2{
		font-size: 1.875rem;
		line-height: 2.875rem;
		margin: 0 0 1.375rem 0;
	}
	.search{
		margin: 0 0 3.5rem 0;
	}
	.search h3{
		font-size: 2rem;
	}
	.search h3 span span:last-child:after{
		margin: 0 0 0 0.25rem;
	}
	.search input{
		padding: 1.5rem;
	}
	.search label{
		font-size: 1.125rem;
	}
	.search button:not([aria-controls]),
	.search .results>button{
		font-size: 1.625rem;
		padding: 1rem 3rem;
	}
	main p{
		font-size: 1.625rem;
	}
	main strong{
		font-size: 2.25rem;
	}
	main .logo{
		max-width: 517px;
		height: auto;
	}
	small{
		font-size: 0.75rem;
	}
}

@media only screen and (max-width: 992px) {
	header{
		background-position: 30% top;
	}
}

@media only screen and (max-width: 768px) {
	header{
		background-position: 30% top;
	}
	header section{
		padding: 6.25rem 1rem 10rem 1rem;
	}
	header .btn{
		font-size: 0.875rem;
		padding: 0.625rem 1.25rem;
	}
	header .logo{
		width: 107px;
	}
	header .logo-io{
		width: 76px;
        top: 0.125rem;
	}
	header h1{
		font-size: 1.75rem;
		line-height: 1.625rem;
	}
	header h2{
		font-size: 1rem;
		line-height: 1.1rem;
	}
	.search form>div{
		flex-direction: column;
	}
	.search form>div:first-child div{
		margin: 0 auto;
   		width: 100%;
	}
	.search .results .noresult{
		padding: 0;
		font-size: 1.5rem;
	}
}

@media only screen and (max-width: 640px) {
	header h1{
		line-height: 1.825rem;
	}
	.search{
		margin: 0 0 1.5rem 0;
	}
	.search section{
		padding: 2rem 1rem 1rem 1rem;
	}
	.search h3{
		font-size: 1.5rem;
		text-align: left;
	}
	.search h3 span span:last-child:after{
		display: none;
	}
	.search h3>span span:last-child{
		display: inline;
	}
	.search h3>span{
		display: initial;
	}
	.search h3:before{
		content: "";
		width: 51px;
		height: 51px;
		background-image: url('images/icon-map.svg');
		background-repeat: no-repeat;
		flex: none;
		margin: 0 0.5rem 0 0;
	}
	.search label{
		font-size: 1rem;
	}
	.search input{
		font-size: 1.125rem;
		padding: 1rem;
	}
	.search button:not([aria-controls]),
	.search .results>button{
		font-size: 1.25rem;
		padding: 0.5rem 3rem;
		margin: 1.5rem auto 0 auto;
	}
	.search .header{
		display: none;
	}
	.search .row>div{
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
	}
	.search .row>div span:first-child{
		text-transform: uppercase;
		display: block;
		margin: 1rem 0 0 0;
		text-align: center;
	}
	.search .row>div span:nth-child(2){
		font-size: 0.875rem;
		display: block;
		margin: 0 0 0.5rem 0;
		text-align: center;
	}
	main .logo{
		max-width: 75%;
		height: auto;
		margin: 1.5rem 0 1rem 0;
	}
	main p{
		font-size: 1.125rem;
	}
	main strong{
		font-size: 1.5rem;
	}
	footer ul{
		flex-direction: column;
		gap: 1rem;
	}
	.tns-nav{
		margin: 1rem 0 0 0;
	}
}

@media only screen and (max-width: 480px) {
	header{
		background-image: url('images/hero_mob.jpg');
		background-size: auto 110%;
        background-position: -110px 0;
		-webkit-mask-image: linear-gradient(black 84%, transparent 100%);
		mask-image: linear-gradient(black 84%, transparent 100%);
	}
	@supports (background-image: url("images/hero_mob.webp")) {
		header {
			background-image: url("images/hero_mob.webp");
		}
	}
	header section{
		padding: 6.25rem 1rem 10rem 1rem;
	}
	header div{
		max-width: fit-content;
	}
	header h1{
		margin: 0.5rem 0 0 0;
	}
	header h2{
		line-height: 1.1rem;
		margin: 0 0 0.5rem 0;
	}
	footer p{
	font-family: var(--font);
	font-weight: 400;
	font-size: 0.5rem;
	line-height: 1.25rem;
	text-align: center;
}
footer li a{
	text-decoration: none;
	font-size: 0.5rem;
}
footer small{
	font-size: 0.5rem;
	text-align: center;
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem 3rem 1rem;
	display: block;
}
}

@media only screen and (max-width: 390px){
	header{
        background-position: -130px 0;
	}
}

@media only screen and (max-width: 320px){
      header h1 span{
            white-space: normal;
      }
      header section{
            padding: 2rem 1rem 4rem 1rem;
      }
      header h2{
            font-size: 0.875rem;
            line-height: 1rem;
      }
      .search section{
            padding: 1rem;
      }
      .search button:not([aria-controls]),
      .search .results>button{
            width: 100%;
            padding: 0.5rem 1rem;
      }
}
@media only screen and (orientation: landscape) and (max-height: 500px){
      header section{
            padding: 2rem 1rem;
      }
      header h1{
            font-size: 1.5rem;
            line-height: 1.5rem;
            margin: 0.5rem 0 0 0;
      }
      header h2{
            font-size: 0.875rem;
            line-height: 1rem;
            margin: 0 0 0.5rem 0;
      }
      footer ul{
            flex-wrap: wrap;
            gap: 0.5rem;
      }
}