/*
* Theme Name: Autoworld van Boven
* Theme URI: https://www.van-boven.nl/
* Description: Autoworld van Boven door Webba
* Version: 1.0
* Author: Webba
* Author URI: https://webba.nl
*/

/* Old */
:root {
	--primary-color: #fe9430;
	--secondary-color: #e1e3e4;
	--tertiary-color: #37444c;
	--font-regular: "RobotoRegular";
	--font-medium: "RobotoMedium";
	--font-bold: "RobotoBold";
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

body {
	font-family: var(--font-regular);
	overflow-x: hidden !important;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden !important;
}

/** FONTS **/
@font-face {
	font-family: "Sailec";
	src: url("fonts/Sailec Bold.eot");
	src: url("fonts/Sailec Bold.eot?#iefix") format("embedded-opentype"),
		url("fonts/Sailec Bold.woff2") format("woff2"),
		url("fonts/Sailec Bold.woff") format("woff"),
		url("fonts/Sailec Bold.ttf") format("truetype"),
		url("fonts/Sailec Bold.svg#Sailec Bold") format("svg");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "RobotoBold";
	src: url("fonts/Roboto-Bold.eot");
	src: url("fonts/Roboto-Bold.eot?#iefix") format("embedded-opentype"),
	url("fonts/Roboto-Bold.woff2") format("woff2"),
	url("fonts/Roboto-Bold.woff") format("woff"),
	url("fonts/Roboto-Bold.ttf") format("truetype"),
	url("fonts/Roboto-Bold.svg#Roboto-Bold") format("svg");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: "RobotoMedium";
	src: url("fonts/Roboto-Medium.eot");
	src: url("fonts/Roboto-Medium.eot?#iefix") format("embedded-opentype"),
	url("fonts/Roboto-Medium.woff2") format("woff2"),
	url("fonts/Roboto-Medium.woff") format("woff"),
	url("fonts/Roboto-Medium.ttf") format("truetype"),
	url("fonts/Roboto-Medium.svg#Roboto-Medium") format("svg");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "RobotoRegular";
	src: url("fonts/Roboto-Regular.eot");
	src: url("fonts/Roboto-Regular.eot?#iefix") format("embedded-opentype"),
	url("fonts/Roboto-Regular.woff2") format("woff2"),
	url("fonts/Roboto-Regular.woff") format("woff"),
	url("fonts/Roboto-Regular.ttf") format("truetype"),
	url("fonts/Roboto-Regular.svg#Roboto-Regular") format("svg");
	font-weight: normal;
	font-style: normal;
}

/** EXTRA **/
.container {
	width: 70rem;
	padding-left: 1rem;
	padding-right: 1rem;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.container--large {
	padding-left: 1rem;
	padding-right: 1rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 80rem;
}

section {
	position: relative;
}

span {
	font-family: var(--font-medium);
}

a {
	color: var(--primary-color);
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	color: var(--tertiary-color);
}

.bottom-footer span {
	color: var(--tertiary-color);
}

.owl-carousel {
	z-index: 0 !important;
}

@media only screen and (max-width: 990px) {
	.about {
		display: block;
	}
}

/** BLOCKS **/
.colorBlock {
	width: 300%;
	padding: 5rem 0;

	margin-left: -100%;
	margin-right: -100%;
}

@media only screen and (max-width: 990px) {
	.colorBlock {
		width: 100%;
		margin: 0 !important;
	}
}

h1.title {
	font-size: 2.5rem;
	font-family: "Sailec";
	line-height: 3rem;
}

/** BUTTONS **/
button:focus,
button:active,
.menu-toggler {
	outline: none !important;
	box-shadow: none !important;
}

button {
	height: 48px;
	padding: 0 1.5rem;
	font-family: var(--font-medium);
	font-size: 1rem;
	cursor: pointer;
	border-style: solid;
	border-width: 1px;
	border-radius: 4px;
	position: relative;
}

/* COLOR BUTTON */
.color-btn {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #ffffff;
}

.color-btn:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
		0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* WHITE BUTTON */
.white-btn {
	background: #ffffff;
	border-color: #d5d5d5;
	color: var(--tertiary-color);
}

.white-btn .fa-long-arrow-right {
	font-size: 1rem;
	padding-left: 0.75rem;
}

.white-btn:hover .fa-long-arrow-right {
	padding-left: 1.5rem;
}

.back-btn {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #d5d5d5;
}

/** HEADERS **/
header {
	position: relative;
	display: flex;
	width: 100%;
}

.home-header {
	height: 900px;
	display: flex;
	align-items: center;
	position: relative;
}

.half-header {
	height: 500px;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: top center !important;
}

.quarter-header {
	height: 300px;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: top center !important;
}

/** SCROLL LINE **/
.home-header .scroll-down {
	position: absolute;
	right: 60px;
	bottom: 0;
	display: flex;
	align-items: end;
}

.home-header .scroll-down .scroll-for-more {
	color: rgba(255, 255, 255, 0.75);
	transform: rotate(-90deg);
	margin-top: 50px;
	margin-right: -35px;
}

.home-header .scroll-down .v-line {
	width: 1px;
	height: 220px;
	background: RGBA(255, 255, 255, 0.5);
	position: relative;
}

.home-header .scroll-down .v-line .bigger-line-moving {
	position: absolute;
	width: 1px;
	background: #ffffff;
	height: 110px;
	top: 0;
	animation: moving-up-down 2s ease-in-out infinite;
}

.scroll-down {
	display: none;
}

@keyframes moving-up-down {
	0%,
	100% {
		transform: translate(0, 0);
	}
	50% {
		transform: translate(0, 110px);
	}
}

/** VIDEO **/
.home-header video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -9999;
}

/** NAV **/
nav.desktop-menu {
	position: absolute;
	width: 100%;
	z-index: 1;
}

nav.desktop-menu .current-menu-item {
	border-bottom: 2px solid #ffffff;
	padding-bottom: 0.5rem;
}

nav.mobile-menu {
	display: none;
}

/* TOP MENU */
.top-menu {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.top-menu .container {
	width: unset;
}
.bottom-menu .container {
	width: unset;
}

.top-menu .container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 100px;
}

.top-menu .brands,
.top-menu .social-media {
	display: flex;
}

.top-menu .brands .brand-logo {
	height: 40px;
}

.top-menu .brands .brand-logo + * {
	margin-left: 1.5rem;
}

.top-menu .brands .brand-logo:first-child {
	padding: 10px;
}

.top-menu .brands .brand-logo img,
.top-menu .social-media .social-media-logo img {
	height: 100%;
}

.top-menu .login {
	margin: 0 1.5rem;
}

.top-menu .login a {
	color: #ffffff;
	text-decoration: none;
}

.top-menu .social-media {
	margin-right: 0.5rem;
}

.top-menu .social-media .social-media-logo {
	height: 30px;
	margin: 0 0.2rem;
}

.top-menu .van-boven-ribbon {
	position: absolute;
	right: 12px;
	top: 12px;
	width: 80px;
}

.top-menu .van-boven-ribbon svg {
	width: 100%;
	height: 100%;
}

/* BOTTOM MENU */
.bottom-menu .menu-logo {
	position: absolute;
	left: 35px;
	top: 40px;
	width: 25rem;
	display: flex;
	z-index: 1;
	max-width: 320px;
}

.bottom-menu .menu-logo img {
	width: 100%;
}

.bottom-menu .container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.bottom-menu .primary-menu {
	display: flex;
	border-top: 1px solid RGBA(255, 255, 255, 0.2);
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.bottom-menu .primary-menu .menu-item {
	list-style: none;
	margin-left: 1rem;
	margin-right: 1rem;
	font-family: var(--font-medium);
}

.bottom-menu .primary-menu .menu-item a {
	color: #ffffff;
	text-decoration: none;
	position: relative;
}

.bottom-menu .primary-menu .menu-item a::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #ffffff;
	content: "";
	opacity: 0;
	transition: height 0.3s, opacity 0.3s, transform 0.3s;
	transform: translateY(0rem);
}

.bottom-menu .primary-menu .menu-item a:hover::after {
	height: 2px;
	opacity: 1;
	transform: translateY(0.5rem);
}

/* SUBMENU */
.menu-item-has-children {
	padding-bottom: 0.5rem;
}

.menu-item-has-children .sub-menu {
	background: #ffffff;
	position: absolute;
	margin-top: 0.5rem;
	padding: 1rem;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s, visibility 0.3s;
}

.menu-item-has-children .sub-menu.active {
	pointer-events: visible;
	visibility: visible;
	opacity: 1;
}

.menu-item-has-children .sub-menu .menu-item {
	margin-left: 0;
	margin-right: 0;
	padding-bottom: 0;
}

.menu-item-has-children .sub-menu .menu-item + * {
	margin-top: 0.5rem;
}

.menu-item-has-children .sub-menu a {
	color: #1f1f1f !important;
}

.menu-item-has-children .sub-menu a:hover {
	color: var(--primary-color) !important;
}

/** HERO INTRO **/
.home-header .container {
	position: absolute;
	width: 55rem;
	margin-left: 15%;
}

.home-header .hero_intro {
	padding: 2rem;
}

.home-header .hero_intro .hero_intro-title {
	font-family: "Sailec";
	font-size: 5rem;
	color: #ffffff;
	line-height: 5.5rem;
}

.home-header .hero_intro .hero_intro-text {
	font-size: 1.2rem;
	color: #ffffff;
	margin: 1.5rem 0 2.5rem;
	line-height: 2rem;
}

/** TERTIARY MENU **/
section .tertiary-menu {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	-webkit-box-shadow: 6px 10px 58px -5px rgba(0, 0, 0, 0.06);
	-moz-box-shadow: 6px 10px 58px -5px rgba(0, 0, 0, 0.06);
	box-shadow: 6px 10px 58px -5px rgba(0, 0, 0, 0.06);
	padding: 2.5rem 0;
	background: #ffffff;
}

@media only screen and (max-width: 1130px) and (min-width: 990px) {
	section .tertiary-menu {
		/*width: 90%;*/
	}
}

section .tertiary-menu .tertiary-block {
	text-align: center;
	padding: 10px;
}

section .tertiary-menu .tertiary-block + * {
	border-left: 1px solid #d5d5d5;
}

section .tertiary-menu .tertiary-block .name {
	margin: 1rem 0;
	font-size: 1.25rem;
}

section .tertiary-menu .icon img {
	width: 96px;
	height: 96px;
}

/** USPS **/
section .usps {
	padding: 2.5rem 0;
	display: flex;
	justify-content: center;
}

section .usp-item {
	font-family: var(--font-medium);
	margin-right: 40px;
	color: var(--tertiary-color);
}

section .owl-item .usp-item {
	margin-right: 40px;
}

section .usps .fa-check {
	margin-right: 0.5rem;
}

@media (max-width: 992px) {
	section .usps {
		justify-content: unset;
		flex-direction: column;
	}
	section .usp-item {
		margin-right: unset;
		padding-left: 40px;
	}
}

/** FOOTER **/
footer {
	width: 100%;
}

/* TOP */
footer.top-footer {
	background: var(--primary-color);
	color: white;
	padding: 5rem 0;
}

footer.top-footer .container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 1.5rem;
}

footer.top-footer .footer-title {
	font-family: var(--font-medium);
	font-size: 1.075rem;
	margin-bottom: 1.5rem;
}

footer.top-footer .footer-title .fa-clock {
	margin-right: 0.4rem;
}

footer.top-footer ul li {
	list-style: none;
	line-height: 25px;
}

footer.top-footer ul li a {
	color: #ffffff;
	text-decoration: underline;
}

footer.top-footer .social-media-logo {
	margin-bottom: 0.4rem;
}

footer.top-footer .social-media img {
	margin-right: 1rem;
	height: 30px;
	width: 30px;
}

footer.top-footer .social-media .social-media-logo a {
	display: flex;
	align-items: center;
	color: RGBA(255, 255, 255, 0.85);
	text-decoration: underline;
}

/* BOTTOM */
footer.bottom-footer {
	padding: 2rem 1rem;
}

footer.bottom-footer .container {
	display: grid;
	grid-template-columns: 1.2fr 2fr 1fr;
	grid-gap: 30px;
}

footer.bottom-footer a {
	color: var(--tertiary-color);
	text-decoration: none;
}

footer.bottom-footer .middle a {
	margin-right: 1.5rem;
}

/** TEXTPAGE */
.textpage h2 {
	margin-bottom: 1.5rem;
}

.textpage p + * {
	margin-top: 1.5rem;
}

.wp-block-image img {
	height: 300px;
	object-fit: cover;
}

.textBlock {
	width: 100%;
	padding: 5rem 0;
}

@media only screen and (max-width: 1440px) {
	.home-header .container {
		width: 75vw;
		margin-left: 0;
	}

	.top-menu .van-boven-ribbon {
		display: none;
	}
}

@media only screen and (max-width: 1025px) {
	/** EXTRA **/

	.container {
		width: 64rem;
	}

	.padding {
		padding: 0 !important;
	}

	/** NAVBAR **/
	nav.desktop-menu {
		display: none;
	}

	.mobile-menu {
		position: absolute;
		height: 100px;
		width: 100%;
		display: flex !important;
		justify-content: space-between;
		z-index: 1;
		padding: 1rem;
	}

	.mobile-menu.open {
		position: fixed;
	}

	.mobile-menu .menu-logo {
		display: flex;
		width: 45vw;
		margin-right: 3rem;
	}

	.mobile-menu .menu-logo img {
		width: 100%;
	}

	.mobile-menu .mobile {
		background: var(--primary-color);
		color: #ffffff;
		height: 65px;
		width: 65px;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 100%;
		margin-right: 15px;
		padding: 16px;
	}

	.mobile-menu .mobile svg {
		width: 100%;
		height: 100%;
	}

	/* TOGGLE */
	.menu-toggler {
		background: #ffffff;
		border: 2px solid #ffffff;
		z-index: 9999;
		padding: 0;
		border-radius: 100%;
		height: 65px;
		width: 65px;
		padding: 12px;
	}

	.top-bar {
		width: 100%;
		height: 3px;
		background: #01354d;
	}

	.top-bar.open {
		transform: rotate(-45deg);
		margin-top: 2px;
	}

	.middle-bar {
		width: 75%;
		height: 3px;
		background: #01354d;
		margin: 8px 0px;
	}

	.middle-bar.open {
		display: none;
	}

	.bottom-bar {
		width: 100%;
		height: 3px;
		background: #01354d;
	}

	.bottom-bar.open {
		transform: rotate(45deg);
		margin-top: -3px;
	}

	/** MENU **/
	.mobile-collapse {
		position: fixed;
		z-index: 100;
		text-align: center;
		visibility: hidden;
		opacity: 0;
		overflow: auto;
		top: 0px;
		right: 0px;
		bottom: 0px;
		left: 0px;
		background: var(--primary-color);
		padding: 6rem 1rem 2rem;
		width: 100vw;
		height: 100%;
	}

	.mobile-collapse.open {
		visibility: visible;
		opacity: 1;
	}

	.mobile-nav {
		width: 100%;
		height: 100%;
		position: relative;
		display: flex;
		justify-content: center;
	}

	.mobile-navigation {
		display: table;
	}

	.mobile-navigation .menu-item {
		list-style: none;
		padding: 0.75rem 0;
	}

	.mobile-navigation .menu-item a {
		color: #ffffff;
		text-decoration: none;
		font-family: var(--font-medium);
		font-size: 1.75rem;
	}

	.mobile-navigation ul.sub-menu {
		position: fixed;
		width: 100vw;
		height: 100%;
		top: 0;
		left: 0;
		margin-top: 0;
		padding: 6rem 6rem;
		background: var(--primary-color);
	}

	.mobile-navigation ul.sub-menu .menu-item a {
		color: #ffffff !important;
	}

	/* NAVBAR FOOTER */
	.mobile-nav-footer {
		position: absolute;
		bottom: 0;
		display: grid;
		grid-gap: 1.25rem;
	}

	.mobile-nav-footer .login a {
		font-family: var(--font-regular);;
		color: #ffffff;
		text-decoration: none;
	}

	.mobile-nav-footer .social-media {
		display: flex;
		justify-content: center;
	}

	.mobile-nav-footer .social-media .social-media-logo {
		width: 40px;
	}

	.mobile-nav-footer .social-media .social-media-logo + * {
		margin-left: 1.25rem;
	}

	.mobile-nav-footer .social-media .social-media-logo img {
		width: 100%;
	}

	.mobile-nav-footer .brands {
		display: flex;
		justify-content: center;
	}

	.mobile-nav-footer .brands .brand-logo {
		height: 60px;
	}

	.mobile-nav-footer .brands .brand-logo + * {
		margin-left: 1.5rem;
	}

	.mobile-nav-footer .brands .brand-logo:first-child {
		padding: 10px;
	}

	.mobile-nav-footer .brands .brand-logo img {
		height: 100%;
	}

	/** INTRO **/
	.home-header .container {
		margin-left: auto;
		width: 100%;
	}

	.home-header .hero_intro .hero_intro-title {
		font-size: 3rem;
		line-height: 3.5rem;
	}

	.home-header .scroll-down {
		right: 15px;
		bottom: 100px;
	}

	/** TERTIARY MENU **/
	section .tertiary-menu {
		grid-template-columns: none;
		background: transparent;
		padding: 0;
	}

	section .tertiary-menu .tertiary-block + * {
		border-left: none;
		margin-top: 1.25rem;
	}

	section .tertiary-menu .tertiary-block {
		text-align: center;
		padding: 2.5rem;
		-webkit-box-shadow: 6px 10px 58px -5px rgba(0, 0, 0, 0.06);
		-moz-box-shadow: 6px 10px 58px -5px rgba(0, 0, 0, 0.06);
		box-shadow: 6px 10px 58px -5px rgba(0, 0, 0, 0.06);
		background: #fff;
	}

	/** USPS **/
	section .usps-carousel {
		justify-content: start !important;
	}

	/** TOP FOOTER **/
	footer.top-footer {
		padding: 2.5rem 0;
	}

	footer.top-footer .container {
		display: grid;
		grid-template-columns: auto;
	}

	footer.bottom-footer .container {
		display: grid;
		grid-template-columns: auto;
		text-align: center;
	}

	/** TEXTPAGE **/
	.textpage {
		width: 100%;
	}
}

@media only screen and (max-width: 990px) {
	.container {
		width: 100%;
	}
}

@media only screen and (max-width: 600px) {
	.home-header .hero_intro {
		padding: 0;
	}
}

@media only screen and (max-width: 475px) {
	h1.title {
		font-size: 2rem;
		font-family: "Sailec";
		line-height: 3rem;
	}

	.mobile-navigation .menu-item a {
		font-size: 1.25rem;
	}
}

@media only screen and (max-width: 320px) {
	.mobile-collapse {
		padding: 2rem;
	}

	.primary-menu .menu-item a {
		font-size: 1rem;
	}

	.mobile-nav-footer {
		grid-gap: 0.5rem;
	}

	.mobile-nav-footer .brands .brand-logo img {
		width: 100%;
		height: auto;
	}
}
@media only screen and (max-width: 350px) {
	.home-header .hero_intro .hero_intro-title {
		font-size: 2rem;
		line-height: 3.5rem;
	}
}

.team .team-container .team-block {
	background-size: 90% !important;
}

/* Gravity Forms */
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type="submit"] {
	margin-right: 0 !important;
}

.gfield_radio li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Global form styling */
input[type="checkbox"] {
  width: 100%;
	max-width: 1.5rem !important;
	max-height: 1.5rem !important;
  min-height: 1.5rem !important;
	border-radius: 0.25rem !important;
	border: 1px solid #E2E2E2 !important;
	appearance: none;
	outline: 0;
	cursor: pointer;
	position: relative;
}

input[type="checkbox"]::before {
	position: absolute;
	content: "";
	display: block;
	width: 5px;
	height: 10px;
	border-style: solid;
	border-color: rgb(255, 255, 255);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	left: 7px;
	top: 3px;
	opacity: 0;
}

input[type="checkbox"]:checked {
	color: #fff;
	background-color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

input[type="checkbox"]:checked::before {
	opacity: 1;
}

input[type="radio"] {
	max-width: 1.5rem !important;
	max-height: 1.5rem !important;
  min-height: auto !important;
	border-radius: 50% !important;
	border: 1px solid #E2E2E2 !important;
	appearance: none;
	outline: 0;
	cursor: pointer;
	position: relative;
  padding: 0.65rem !important;
}

input[type="radio"]::before {
	position: absolute;
	content: "";
	display: block;
	width: 5px;
	height: 10px;
	border-style: solid;
	border-color: rgb(255, 255, 255);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	left: 8px;
	top: 4px;
	opacity: 0;
}

input[type="radio"]:checked {
	color: #fff;
	background-color: var(--primary-color);
	border: 1px solid var(--primary-color) !important;
}

input[type="radio"]:checked::before {
	opacity: 1;
}
