* {
	box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --orangelight: #E68D2D;
  --orange: #D4740C;
  --primary: #004676;
  --primarylight: #dfe7ee;
}

.u-bg-primary {
	background-color: var(--primary);
	color: #fff;
}

.u-bg-primary300 {
	background-color: var(--primarylight);
	color: var(--primary);
}

/* Container */
.o-container {
	max-width: 100%;
	width: 80vw;
	margin: 0 auto;
	padding: 0 15px;

	@media (max-width: 1500px) {	  
	    width: 90vw;	  
	}

	@media (max-width: 768px) {	  
	    width: 100%;
	    padding: 0 20px;
	}
}

/* Btn */
.c-btn {
	display: table;
	background-color: var(--orange);
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
	border-radius: 3px;
	padding: 14px 30px;
	text-align: center;
	text-decoration: none;
	transition: 0.25s background-color ease-in;

	&:hover {
		background-color: var(--orangelight);
	}
}

/* Header */
.c-header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	padding: 30px;
	background-color: transparent;
	transition: 0.25s ease-in;
	z-index: 99999999;

	&:before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
		opaciy: 1;
		transition: 0.25s opacity ease-out;
	}

	.c-header_right {
		display: flex;
		align-items: center;;
	}

	.c-header_wrap {
		display: flex;
		align-items: center;
		width: 100%;
		position: relative;
		z-index: 2;
	}

	.c-header_navs {
		display: flex;
		align-items: center;
		flex-grow: 1;

		ul {
			flex-grow: 1;
			padding-right: 30px;
			display: flex;
			align-items: center;
			justify-content: center;

			li {
				list-style-type: none;
				margin-right: 30px;

				&.-sub {
					padding-right: 20px;
					position: relative;

					> a {
						&:before {
							content: "";
						    position: absolute;
						    right: 0;
						    top: 50%;
						    transform: translateY(-50%);
						    width: 0;
						    height: 0;
						    border-left: 6px solid transparent;
						    border-right: 6px solid transparent;
						    border-top: 6px solid #fff; 
						}
					}

					&:hover {
						.submenu {
							opacity: 1;
							left: 50%;
						}

						> a{
							&:before {
								border-left: 6px solid transparent;
							    border-right: 6px solid transparent;
							    border-top: 6px solid var(--orange)!important;
							    transition: 0.25s ease-in;
							}
						}
					}
				}

				&:last-of-type {
					margin-right: 0;
				}

				a {
					color: #fff;
					text-decoration: none;
					text-transform: uppercase;
					font-weight: 700;
					transition: 0.25s color ease-in;
				}

				.subwrap {
					position: absolute;
					width: 100%;
					left: 50%;					
					transform: translateX(-50%);
					padding-top: 35px;
				}

				.submenu {
					background-color: #fff;
					position: absolute;
					flex-direction: column;
					padding: 24px 20px;
					min-width: 300px;
					align-items: flex-start;
					top: 100%;
					transform: translateX(-50%);
					left: 50%;
					opacity: 0;
					left: -99999999px;
					transition: 0.25s opacity ease-in;

					&:hover {
						li {
							a {
								opacity: 0.4;

								&:hover {
									opacity: 1;
								}
							}
						}
					}

					&:before {
						content: '';
						position: absolute;
						left: 50%;
						background-color: #E68D2D;
						top: 0;
						transform: translateX(-50%);
						height: 4px;
						display: block;
						width: calc(100% - 40px);
					}

					li {
						margin-bottom: 10px;
						margin-right: 0;

						a {
							color: var(--primary);
							text-transform: uppercase;
							font-size: 13px;
							opacity: 1;
							transition: 0.25s opacity ease-out;
						}

						&:last-of-type {
							margin-bottom: 0;
						}
					}
				}
			}
		}
	}

	.c-header_logo {
		@media (max-width: 1200px) {
			position: relative;
			z-index: 22;
		}
	}

	.-menu-open & {
		.c-header_logo {
			img {
				filter: brightness(1) invert(0);
			}
		}
	}

	.-scrolled & {
		background-color: #fff;
		padding: 20px 30px;

		&:before {
			opacity: 0;
		}

		.c-contactBox {
			a {
				color: var(--primary);
			}
		}
		
		.c-header_navs {
			ul {
				li {
					a {
						color: var(--primary);
					}

					&.-sub {
						> a {
							&:before {
							    border-left: 6px solid transparent;
							    border-right: 6px solid transparent;
							    border-top: 6px solid var(--primary);
							}
						}
					}
				}
			}
		}

		.c-header_logo {
			img {
				filter: brightness(1) invert(0);
			}
		}
	}

	.c-header_logo {
		img {
			filter: brightness(0) invert(1);
			transition: 0.25s filter ease-in;
		}

		
	}

	.c-contactBox {
		margin-right: 30px;
	}

	@media (max-width: 1350px) {	 
		.c-header_right {
			flex-direction: column;
			align-items: flex-end;;
		}

		.c-contactBox {
			margin-right: 0;
		}
	}

	@media (max-width: 1200px) {
			&:after { 
				content: '';
				display: block;
				width: 100vw;
				height: 100vh;
				position: fixed;
				left: 0;
				bottom: 0;
				background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), rgba(0, 70, 118, 0.5);
				backdrop-filter: blur(2px);
				opacity: 0;
				transform: translateY(-100%);
				transition: 0.25s opacity ease-in;
			}

			.-menu-open & {
				&:after {
					transform: translateY(0);
					opacity: 1;
				}
			}
		
			.o-container {
				width: 100%;
				padding: 0;
			}

			

		.c-header_navs {
			background-color: #fff!important;
			position: fixed;
			left: 0;
			top: 0;
			width: 100%;
			padding: 140px 30px 0;
			flex-direction: column;;
			transform: translateY(-100%);
			transition: transform .3s ease, opacity .3s ease;

			ul {
				flex-direction: column;
				width: 100%;
				align-items: flex-start;
				padding: 0;

				li {
					margin-right: 0;
					margin-bottom: 30px;

					&:last-of-type {
						margin-bottom: 0;
					}

					&.-sub {
						a {
							position: relative;

							&:before {
								border-top: 6px solid var(--primary);
								right: -20px;
							}
						}

						&.-open {
							a {
								&:before {
									border-top: 6px solid var(--orange);
								}
							}
						}

						&:hover {
							.subwrap {
								.submenu {
									left: 0;
								}
							}
						}
					}

					.subwrap {
						position: relative;
						transform: none;
						left: 0;

						.submenu {
							padding: 10px 0;
							position: relative;
							opacity: 1;
							left: 0;
							transform: none;
							display: none;

							&:before {
								display: none;
							}
						}
					}	

					a {
						color: var(--primary);
					}
				}
			}
		}

		.c-header_right {
			flex-direction: column;
			width: 100%;
			align-items: flex-start;

			.c-contactBox {
				margin-top: 45px;
				margin-bottom: 30px;

				p {
					text-align: left;;
				}

				a {
					color: var(--primary);
				}
			}

			.c-btn {
				width: calc(100% + 60px);
				margin-left: -30px;
				border-radius: 0;
				padding: 25px 30px;
			}
		}
	}
}

/* Burger */
.c-burger_trigger {
	display: none;

	@media (max-width: 1200px) {
		display: block;
		border-radius: 200%;
		border: 1px solid rgba(252, 243, 232, 0.3);
		width: 45px;
		min-width: 45px;
		max-width: 45px;
		height: 45px;
		min-height: 45px;
		max-height: 45px;
		position: absolute;
		right: 0px;
		top: 0;
		background-color: transparent;
		transition: 0.25s background-color ease-in, 0.25s border ease-in;
		cursor: pointer;
		z-index: 22;
	
		span {
			display: block;
			width: 18px;
			height: 2px;
			background-color: #FCF3E8; 
			margin-bottom: 3px;
			margin-left: auto;
			margin-right: auto;
			transition: 0.25s background-color ease-in;

			&:last-of-type {
				margin-bottom: 0;
			}
		}

		&:hover {
			background-color: #fff;
			border: 1px solid rgba(0, 71, 118, 0.3);

			span {
				background-color: var(--primary);
			}
		}
	}

	.-menu-open &, .-scrolled & {
		background-color: #fff;
		border: 1px solid rgba(0, 71, 118, 0.3);

		span {
			background-color: var(--primary);
		}
	}
}


/* Contact box */
.c-contactBox {
	text-align: right;
	a {
		color: #fff;
		text-decoration: none;
		font-weight: 700;
		font-size: 16px;

		&:hover {
			span {
				opacity: 1;
			}
		}
	}

	span {
		display: block;
		opacity: 0.7;
		font-weight: 500;
		font-size: 13px;
		transition: 0.25s opacity ease-in;
	}
}


/* FOOTER */
footer {
	overflow: hidden;
	padding: 30px 0 0;

	.c-contactBox {
		margin-left: 75px;
	}

	.c-footer_wrap {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.c-footer_navs {
		display: flex;
		align-items: center;

		ul {
			list-style-type: none;
			margin: 0;
			padding: 0;
			display: flex;

			li {
				margin-right: 2vw;

				&:last-of-type {
					margin-right: 0;
				}

				a {
					color: #fff;
					text-transform: uppercase;
					font-size: 14px;
					text-decoration: none;
					font-weight: 600;
					opacity: 1;
					transition: 0.25s opacity ease-in;

					&:hover {
						opacity: 0.5;
					}
				}
			}
		}
	}

	.c-footer_legal {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-top: 30px;
		border-top: 1px solid rgba(222, 231, 237, 0.1);
		padding: 30px 0;

		a {
			color: #fff;
		}

		p {
			margin: 0;
			color: #fff;
			opacity: 0.6;
			font-size: 14px;
		}

		ul {
			list-style-type: none;
			margin: 0;
			padding: 0;
			display: flex;

			li {
				margin-right: 24px;
				&:last-of-type {
					margin-right: 0;
				}

				a {
					color: #FCF3E8;
					text-decoration: none;
					opacity: 1;
					font-weight: 500;
					font-sie: 14px;
					transition: 0.25s opacity ease-in;

					&:hover {
						opacity: 0.5;
					}
				}
			}
		}
	}

	@media (max-width: 1200px) {
		.c-footer_wrap {
			flex-direction: column;

			img {
				margin-bottom: 30px;
			}
		}

		.c-footer_legal {
			flex-direction: column;

			p {
				margin: 30px 0;
			}
		}
	}

	@media (max-width: 992px) {
		.c-contactBox {
			text-align: center;
			margin-top: 30px;
		}

		.c-footer_wrap {
			.c-footer_navs {
				flex-direction: column;
			}
		}
	}
}

