/*
Theme Name: ABC
Theme URI: 
Author: the 
Author URI: https://wordpress.org
Version: 1.0
*/

@-webkit-keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 17px;
	line-height: 1.5;
}

@media(max-width: 800px) {
	body {
		font-size: 15px;
	}
}


/* Splash Screen */


@keyframes fadeSplash {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}


#splash_screen {
/*	display: none;*/
	
	visibility: visible;
	opacity: 1;

  animation-name: fadeSplash;
  animation-duration: 1.2s; 
  animation-timing-function: linear; 
  animation-delay: 1.7s;
  animation-direction: normal;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
/*  animation-play-state: running;
  animation-composition: add;*/

	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #051629;
	z-index: 999;

	display: flex;
	justify-content: center;
	align-items: center;
}

.splash_screen_logo {
	height: auto;
	max-width: 300px;
	margin-top: -30px;
}


/* Themes */

body.dark-theme {
	background-color: #051629;
	color: #fff;
}
body.dark-theme a,
body.dark-theme p a,
body.dark-theme h1 a,
body.dark-theme h2 a,
body.dark-theme h3 a,
body.dark-theme h4 a,
body.dark-theme li a {
	color: #fff;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}
.container {
	max-width: 1210px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 0 auto;
}
.header {
	background-color: #051629;
	background-color: rgba(5, 22, 41, 0.8);
	padding: 18px 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

@media(max-width: 800px) {
	.header {
		background-color: rgba(5, 22, 41, 1);
		position: relative;
	}
}

.header .container {
	display: flex;
	gap: 20px;
	justify-content: space-between;
	align-items: center;
}

@media(max-width: 800px) {
	.header .container {
		align-items: flex-start;
		flex-wrap: wrap;
		flex-direction: column;
	}
}

@media(max-width: 1100px) {
	.header-logo img {
		width: auto;
		max-height: 46px;
	}
}

@media(max-width: 800px) {
	.header-logo img {
		width: auto;
		max-height: 30px;
	}
}

@media(max-width: 800px) {
	.header-nav {
		display: none;

		width: 100%;
	}

	.header-nav.visible {
		display: block;
	}
}

.header-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 25px;
	flex-wrap: wrap;
}

@media(max-width: 800px) {
	.header-nav ul {
		display: block;
		text-align: flex-start;
	}
}

.header-nav ul li {
	position: relative;
}

@media(max-width: 800px) {
	.header-nav ul li {
		opacity: 1;
		visibility: visible;
		top: 0 !important;
		width: 100% !important;
		left: 0;
		text-align: left;
		margin-top: 20px !important;
	}

	.header-nav ul.sub-menu li {
		margin-top: 0 !important;
	}

	ul.sub-menu li a {
		padding: 8px 8px;
	}
}

#nav_toggle {
	display: none;
}

@media(max-width: 800px) {
	#nav_toggle {
		display: inline-block;
		position: absolute;
		top: 14px;
		right: 15px;
		color: #fff;
		padding: 5px 10px;
		cursor: pointer;
		border: 1px solid #fff;
	}
}

.header-nav ul li a {
	text-decoration: none;
	color: #fff;
	padding-bottom: 3px;
	border-bottom: 3px solid transparent;
}

.header-nav > ul > li > a:hover {
	border-bottom-color: rgba(255,255,255,0.3);
}


.header-nav > ul > li.current-menu-item > a,
.header-nav > ul > li.current-menu-ancestor > a {
/*	border-bottom-color: #02cce7;*/
	border-bottom-color: var(--accent-color);
}

.hero {
	background-color: #eee;
	background-image: url('/wp-content/themes/abc/img/hero-bg.png');
	background-size: cover;
	padding: 250px 10px 10px 10px;
	color: #fff;
	box-sizing: border-box;
}

@media (max-width: 800px) {
	.hero--large {
		background-color: #eee;
		background-image: url('/wp-content/themes/abc/img/hero-bg-vertical.jpg') !important;
		background-position: bottom center !important;
		background-size: cover;
		padding: 240px 10px 30px 10px !important;
	}
}

.hero--compact {
	height: auto;
	padding: 100px 10px 10px 10px;
}

.hero--large {
	height: 100vh;
	max-height: 780px;
	padding: 0;
}

@media (max-width: 800px) {
	.hero--large {
		height: auto;
		padding: 420px 10px 30px 10px !important;
	}
}

.hero--large .container {
	height: 100%;
/*	background-color: red;*/

	display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.hero--large h1 {
	font-size: 43px;
	margin: 0;
	padding-bottom: 50px;
}

@media (max-width: 600px) {
	.hero--large h1 {
		padding-bottom: 10px;
		font-size: 22px;
	}
}

@media(max-width: 800px) {
	.hero--large {
		padding: 110px 10px 30px 10px;
	}	
}

.hero h1 {
	font-size: 40px;
	line-height: 1.35;
}


@media(max-width: 800px) {
	.hero h1 {
		font-size: 24px;
		line-height: 1.35;
	}
}

main {
/*			padding: 50px 0;*/
}

.pb-block {
	margin: 65px 0;
}

@media(max-width: 800px) {
	.pb-block {
		margin: 35px 0;
	}
}

.article {
	max-width: 960px;
	margin: 0 auto;
}

.article p {
	margin: 25px 0;
}

.article a {
	color: inherit;
/*	text-decoration-color: #02cce7;*/
	text-decoration-color: var(--accent-color);
	text-decoration-thickness: 2px;
}

/* PROMO SECTION */

.promoSection {
/*			border: 1px solid red;*/
}

.promoSection-intro {
	max-width: 1070px;
	margin: 0 auto;			
	text-align: center;
	font-weight: 600;
	font-size: 21px;
	line-height: 1.35;
	padding-bottom: 55px;
}

@media(max-width: 800px) {
	.promoSection-intro {
		font-size: 16px;
		padding-bottom: 35px;
	}
}

.promoSection-intro p {
	margin: 0;
}

.promos {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(4, 1fr);
	text-align: center;
}

@media(max-width: 800px) {
	.promos {
		grid-template-columns: repeat(1, 1fr);
	}
}

.promos img {
	border-radius: 5px;
}

.promos--thirds {
	grid-template-columns: repeat(3, 1fr);
}

@media(max-width: 800px) {
	.promos--thirds {
		grid-template-columns: repeat(1, 1fr);
	}
}

.promos--quarters {
	grid-template-columns: repeat(4, 1fr);
}


@media(max-width: 800px) {
	.promos--quarters {
		grid-template-columns: repeat(1, 1fr);
	}
}

.promos--halves {
	grid-template-columns: repeat(2, 1fr);
}

@media(max-width: 800px) {
	.promos--halves {
		grid-template-columns: repeat(1, 1fr);
	}
}

.promo .promo-image {
	overflow: hidden;
	border-radius: 5px;

	outline: 3px solid var(--accent-color);
}

body.home .promo:nth-child(1n) .promo-image {
	outline: 3px solid #f4c633;
}

body.home .promo:nth-child(2n) .promo-image {
	outline: 3px solid #62c9e3;
}

body.home .promo:nth-child(3n) .promo-image {
	outline: 3px solid #b6d479;
}

body.home .promo:nth-child(4n) .promo-image {
	outline: 3px solid #ff8fac;
}

body.home .promo:nth-child(1n):hover h3 a {
	color: #f4c633 !important;
}

body.home .promo:nth-child(2n):hover h3 a {
	color: #62c9e3 !important;
}

body.home .promo:nth-child(3n):hover h3 a {
	color: #b6d479 !important;
}

body.home .promo:nth-child(4n):hover h3 a {
	color: #ff8fac !important;
}





iframe {
	outline: 6px solid var(--accent-color);
}

.promo .promo-image img {
	transition: 0.4s;
/*	transition-delay: 0.1s;*/
}

.promo:hover .promo-image img {
	transform: scale(1.1);
}

.promo:hover h3 {
  -webkit-animation-name: tada;
  animation-name: tada; 
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;

}

.promo img {
	width: 100%;
}

.promo h3 {
	font-size: 17px;
	margin: 10px 0 0 0;
}

.promos--thirds .promo h3 {
	font-size: 21px;
	line-height: 1.25;
}

@media(max-width: 800px) {
	.promos--thirds .promo h3 {
		font-size: 17px;
	}
}

.promos--halves .promo h3 {
	font-size: 21px;
}

@media(max-width: 800px) {
	.promos--halves .promo h3 {
		font-size: 17px;
	}
}

.promo:hover h3 a {
	color: var(--accent-color) !important;
}

.promo h3 a {
	transition: 0.2s color ease-in-out;
	color: #051629;
	text-decoration: none;
}

.slider {
	width: 100%;
	position: relative;
}

.cycle-slideshow img {
	width: 100%;
	border-radius: 5px;
}


.slider_nav {
/*	background-color: red;*/
	position: absolute;
	top: calc(50% - 30px);
	left: -1px;
	right: -1px;
	z-index: 999;
	display: flex;
	justify-content: space-between;
}

#adv-custom-caption {
	padding-top: 20px;
	text-align: center;
}

#prev,
#next {
	cursor: pointer;
}

#prev {

}

#next {

}

.footer {
	border-top: 1px solid #122234;
	background-color: #051629;
	padding: 20px 0;
	color: #fff;
	text-align: center;
	font-size: 14px;
}

.footer a {
	color: #fff;
	text-decoration: none;
}

.footer img {
	display: inline-block;
	max-height: 76px;
	margin-bottom: 15px;
}


/*Sub Menu Dropdowns*/

ul.sub-menu {
  position: absolute;
  left: calc(50% - 110px);
  width: 220px;
  margin: 0;
  background: #051629;
  list-style: none;
  padding: 4px 0;
  border-radius: 4px;
  z-index: 1;
  display: block;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  opacity: 0;
  visibility: hidden;
  top: 68px;
}


@media(max-width: 800px) {
	ul.sub-menu {
			position: relative;
			display: block;
			opacity: 1;
			visibility: visible;
			top: 0;

			width: 100%;
			left: 0;
	}

	ul.sub-menu li a {
		text-align: left !important;
	}
}

ul.sub-menu::before {
  content: "";
  z-index: 99;
  width: 0;
  height: 0;
  border: 9px solid transparent;
    border-top-width: 9px;
    border-bottom-color: transparent;
  border-top-width: 9px;
  border-bottom-color: transparent;
  border-top-width: 9px;
  border-bottom-color: transparent;
  border-bottom-color: #051629;
  border-top-width: 0;
  margin: 0;
  position: absolute;
  top: -8px;
  left: calc(50% - 9px);
}

ul.sub-menu li {
  border: 0;
  position: relative;
}

ul.sub-menu li a {
  color: #fff !important;
  text-decoration: none;
  display: block;
  padding: 11px 8px;
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
}

li.menu-item-has-children:hover > ul.sub-menu, 
li.menu-item-has-children:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  top: 48px;
}


@media(max-width: 800px) {
	li.menu-item-has-children:hover > ul.sub-menu {
	  opacity: 1;
	  visibility: visible;
	  top: 0 !important;
	}
}

 .nf-form-content button, .nf-form-content input[type="button"], .nf-form-content input[type="submit"] {
	background-color: var(--accent-color) !important;
 }

.nf-form-content input[type="submit"] {
	color: #fff !important;
	cursor: pointer;
}

.nf-form-fields-required {
	padding-bottom: 15px;
}

@media(max-width: 800px) {
	.footer-logo {
		width: auto;
		max-height: 80px;
	}
}

.nf-form-content input[type="submit"] {
	font-weight: 600;
	font-family: "Inter", sans-serif;
	padding: 10px 20px;
 }

.ccbanner,
.ccbanner a,
.ccbanner-content li a,
.ccbanner-content p a {
	color: #000 !important;
}

#ccbanner-button--reject,
#ccbanner-button--accept {
	color: #fff !important;
}

#ccbanner-button--preferences {
	color: #000 !important;
}

/*Contact Page only*/
body.contact .article {
	display: flex;
	gap: 40px;
}

@media(max-width: 700px) {
	body.contact .article {
		display: block;
	}
}

body.contact .article p {
	order: 2;
}

body.contact #nf-form-1-cont {
	flex: 1;
	order: 1;
}

iframe[role="presentation"] {
	border: 0 !important;
	outline: none !important;
}

