/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      1.0.9
*/

/* GENERAL */
.nowrap {
	white-space: nowrap;
}

/* HEADER */
#hero .subtitle span {
	background-color: #FFFFFF;
}

@media screen and (max-width: 500px) {
	#hero > .wp-block-group__inner-container {
		padding: 0;
	}
}

@media screen and (min-width: 1200px) {
	#hero .content {
		max-width: 50% !important;
	}
}

/* CONTACT PAGE */
.contact-form .form-submit {
	text-align: center;
}

.contact-form input:not([type="submit"]) {
	width: 100%;
}

.contact-form input[type="submit"] {
	margin-top: 20px;
	border-radius: 20px;
	color: #ffffff;
	background-image: linear-gradient(270deg,rgb(2,69,245) 0,rgb(3,115,251) 100%);
	padding: 10px 100px;
	font-size: 18px;
	font-weight: bold;
}

@media screen and (max-width: 600px) {
	.contact-form input[type="submit"] {
		padding: 10px 20px;
		width: 70%;
	}
}

.contact-form .wpcf7-spinner {
	display: none;
}

/* SLIDER */
#slider .slick-slider figure:not(.slider-icon) img {
  transform: scale(.8);
  transition: all .4s ease;
}

#slider .slick-slide.slick-center figure:not(.slider-icon) img,
#slider .slick-slide.slick-current figure:not(.slider-icon) img,
#slider .slick-slide.slick-temporary-active figure:not(.slider-icon) img {
  transform: scale(1);
}

#slider .slick-slide.slick-center p,
#slider .slick-slide.slick-temporary-active p,
#slider .slick-slide.slick-current p {
	font-size: 20px;
	font-weight: bold;
	transition: font-size 1s;
}

#slider .slick-next:before, #slider [dir=rtl] .slick-prev:before {
	content: "";
	background-image: url(images/chevron-right-solid.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	padding: 20px 30px 20px 0;
}

#slider .slick-prev:before, #slider [dir=rtl] .slick-next:before {
	content: "";
	background-image: url(images/chevron-left-solid.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	padding: 20px 0 20px 30px;
}

#slider .slick-slide figure {
  text-align: center;
}

@media screen and (max-width: 650px) {
	#slider .wp-block-buttons > .wp-block-button {
		width: 70%;
	}
}

/* VIDEO */
#home-video > .wp-block-group__inner-container {
  padding: 0;
}

#home-video .video-mobile-container {
	display: none;
	position: relative;
}

#home-video .video-container {
	padding: 40% 0 0 0;
	position: relative;
}

@media screen and (max-width: 768px) {
	#home-video .video-mobile-container {
		padding: 100% 0 0 0;
		display: block;
	}
	
	#home-video .video-container {
		display: none;
	}
}

/* PROFILE */
#profile {
	position: relative;
}

#profile::after {
	z-index: 1;
	content: '';
	background-image: url(images/newsletter_mountains-2.png);
	background-position: center left;
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding-top: 22%;
}

#profile .profile-text {
	padding: 150px 0;
}

@media screen and (max-width: 768px) {
	#profile .profile-text {
		padding: 40px 0;
	}
}

#profile .profile-text p {
	position: relative;
	z-index: 110;
}

#profile .wp-block-columns {
	margin-bottom: 0;
}

#profile > .wp-block-group__inner-container {
	padding: 0;
}

@media screen and (min-width: 782px) {
	#profile img {
		float: right;
	}
}

#profile .languages {
	flex-wrap: inherit !important;
}

#profile .profile-infos > .wp-block-group > .wp-block-group__inner-container {
	padding: 0;
	display: flex;
	align-items: center;
}

/* NEWSLETTER */
#newsletter .mc4wp-form {
	text-align: center;
}

#newsletter .mc4wp-form input[type="email"] {
	border-radius: 15px;
	border: none;
	padding-right: 300px;
	font-size: 20px;
}

#newsletter .mc4wp-form input[type="submit"] {
	border-radius: 15px;
	background: linear-gradient(270deg, #0373FB 50%, #0247F5 100%);
	border: none;
	font-size: 20px;
	font-weight: 600;
	padding: 15px 80px;
	margin-left: 30px;
}

@media screen and (max-width: 910px) {
	#newsletter .mc4wp-form input[type="email"] {
		width: 100%;
		padding-right: 15px;
	}

	#newsletter .mc4wp-form input[type="submit"] {
		margin-top: 20px;
	}
}

#newsletter .mc4wp-response {
	margin-top: 20px;
	color: #fff;
}

/* FOOTER */
.site-footer .footer-widgets, 
.site-footer .site-info {
	background-color: #242530;
}

.site-footer p, 
.site-footer div, 
.site-footer a,
.site-footer a:link, 
.site-footer a:visited, 
.site-footer a:hover, 
.site-footer a:active {
	color: #EBF2FF;
	text-decoration: none;
}

#menu-footer {
  text-align: center;
}

#menu-footer li {
  display:inline;
  padding-right: 15px;
}

#footer-widgets .footer-widgets-container {
	padding: 20px;
}
