/*
 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:      0.1
*/

@font-face {
    font-family: 'Flama Book';  
    src: url(/wp-content/fonts/Flama-Book.otf);  
    font-weight: normal;  
}

@font-face {
    font-family: 'Flama Extra Bold';  
    src: url(/wp-content/fonts/Flama-Extrabold.otf);  
    font-weight: normal;  
}


@font-face {
    font-family: 'Flama Bold';  
    src: url(/wp-content/fonts/Flama-Semibold.otf);  
    font-weight: normal;  
}

h1, h2, h3, h4, div {
	font-family: 'Flama Extra Bold';
}

h5, h6, p, a {
	font-family: 'Flama Book';
}

header#masthead, .site-footer {
    display: none;
}

.entry-content > [class*="wp-block-"]:not(:last-child) {
    margin-bottom: 0 !important;
}

.logo-group {
    display: inline-block;
    text-align: center;
    line-height: 0.5;
	position: absolute;
	top: 0;
	left: 0;
}

.logo-group hr {
    width: 20%;
    margin: -10px auto 10px auto;
    height: 5px;
}

.logo-group h6 {
    font-size: 80%;
    width: 70%;
    line-height: 1.3;
    margin: 0 auto;
}

.header-btn {
    position: fixed;
    top: 30px;
    right: 30px;
}

.relive {
	overflow: hidden;
}

.relive img {
    max-width: none;
    position: absolute;
    right: -40%;
    margin-top: 0;
    z-index: 10;
    width: 150%;
}

.header-logo {
    position: absolute;
    z-index: 100;
    right: 5%;
}

.video-placeholder {
	height: 50vw;
	border-top: 5px solid #ee2123;
}

.video-placeholder .gb-block-layout-column-inner {
    height: 100%;
}

.video-title {
	position: absolute;
	bottom: 0;
	margin-left: 1em;
	font-family: 'Flama Bold';
}

.divider {
	max-width: 1320px;
	margin: 0 auto;
}

.video-play {
    position: relative;
    top: 40%;
	z-index: 1000;
}

.video-play img {
    width: calc(100vw / 10);
	cursor: pointer;
}

.col-mod {
	display: flex;
}

.col-mod-text-inner {
    margin-top: 25%;
}

.col-mod-img .wp-block-image {
    height: 100%;
}

.col-mod img {
    height: 100%;
    object-fit: cover;
}

.col-mod-text .gb-block-layout-column-inner {
    padding: 3em;
}

.grid-img img {
    width: 100%;
}

.margin-cut-50 {
	margin-top: -150px;
}

.form-mod {
    border-top: 3px solid white;
    border-bottom: 3px solid white;
    padding: 3em 0;
}

.grid-item p, .grid-item h4 {
    margin-bottom: 0;
}

.grid-item {
	margin-bottom: 50px;
}

.grid-item a {
    line-height: 3;
    border-bottom: 3px solid #ee2123;
    padding-bottom: 5px;
    font-family: 'Flama Extra Bold';
	color: #fff;
}

.video-placeholder iframe {
    width: 100%;
    height: 50vw;
}

.product-item .title {
    font-family: 'Flama Extra Bold';
    font-size: 1.8em;
    padding-right: 40px;
    color: #ee2123;
    line-height: 1.3;
}

.footer {
	margin-top: -35px;
}

.products {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
	padding: 1em;
    grid-template-columns: repeat(3,33%);
}

.find-title {
	margin-top: 2em;
}

.find img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

.find a {
    color: #ffff;
    border-bottom: 1px solid #ee2123;
    padding-bottom: 5px;
}

.find {
	margin-top: -20px;
}

.product-item {
    margin-bottom: 3em;
}

.product-item .description {
    padding-right: 40px;
}

.product-item a {
    color: #ee2123;
    font-style: italic;
}

.product-item img {
    width: 100%;
	height: calc(100vw /2);
    max-height: 400px;
    object-fit: contain;
}

.relive h2 {
    line-height: 0.8;
}

input[type="radio"] {
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
    position: relative;
    top: 5px;
    margin-right: 5px;
}

input[type="radio"]:after {
    width: 25px;
    height: 25px;
    border-radius: 15px;
    background-color: #000;
    position: relative;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid #fff;
}

input[type="radio"]:checked:after {
    width: 25px;
    height: 25px;
    border-radius: 15px;
    background-color: #ee2123;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid #fff;
}

span.wpcf7-list-item {
    margin-left: 0;
    margin-right: 25px;
}

input.wpcf7-form-control.wpcf7-submit {
    background-color: #ee2123;
    font-family: 'Flama Bold';
}

input.wpcf7-form-control.wpcf7-text {
    width: 100%;
    background-color: transparent;
	color: #fff;
}

.header {
	position: relative;
	z-index: 1000;
}

.wp-social-link {
    display: inline-block;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #ee2123;
    color: #fff;
}

.lang-head {
	background-color: #000;
}

.lang-btn img {
	vertical-align: middle;
}

.lang-btn a {
    font-family: 'Flama Bold';
    font-size: 14px !important;
}

.lang-btn a:hover {
	color: #ee2123 !important;
}

.lang-btn {
    margin: 0 !important;
}

@media screen and (max-width: 1320px){
	.wp-block-genesis-blocks-gb-columns.gb-layout-columns-2.gb-2-col-equal.gb-columns-center, .timeline {
		padding: 0 15px;
	}
	.form-mod {
		padding: 3em 15px !important;
	}
}

@media screen and (max-width: 768px){
	.slick-prev {
		left: 5%;
		top: -10%;
	}
	.slick-next {
		left: 15%;
		top: -10%;
	}
	.logo-group .wp-block-group__inner-container {
		padding: 30px 0;
		margin: -15px 0 0 -20px;
		line-height: 0;
	}
	.gb-layout-column-wrap.gb-block-layout-column-gap-0.gb-is-responsive-column {
		overflow: hidden;
	}
	.col-mod-text .gb-block-layout-column-inner {
		padding: 0;
	}
	.video-title {
		font-size: 200%;
		font-family: 'Flama Bold';
		bottom: -20px;
		left: -5px;
		width: 60%;
		line-height: 1;
	}
	.products {
		grid-template-columns: repeat(2,50%);
	}
	.hero-hide {
		display: none;
	}
	.relive img {
		position: relative;
		right: 15%;
		margin-top: 0;
		width: 125%;
		margin-bottom: -100px;
	}
	.hero-intro .gb-block-layout-column-inner {
		padding-top: 2em !important;
		padding-bottom: 0 !important;
	}
	.sous-vide {
		font-size: 18px !important;
		font-family: 'Flama Bold';
		letter-spacing: 1px;
	}
	.egg-bites {
		font-size: 72px !important;
	}
	.video-placeholder, .video-placeholder iframe {
		height: 80vw;
	}
	.row-mod {
		margin-top: 0 !important;
		margin-bottom: 50px !important;
	}
	.col-mod-text-inner {
		margin-top: 0;
	}
	.col-mod-text-inner .wp-block-group__inner-container {
		padding: 0;
	}
	.col-mod-text-inner h1, .product-mod-title h2 {
		font-size: 42px;
	}
	.product-item img {
		width: 100%;
		height: auto;
		max-height: none;
	}
	.product-item .title {
		margin-top: -50px;
	}
	.find-title {
		padding: 1em !important;
	}
	.margin-cut-50:nth-of-type(2) {
		margin-top: 0;
	}
	.grid-img img {
		width: 110%;
		max-width: none;
		margin-left: -5%;
	}
	.footer, .footer p {
		text-align: center;
	}
	.divider {
		width: 80%;
		height: 2px;
	}
}

@media screen and (max-width: 500px){
	.products {
		grid-template-columns: 100%;
	}
}
div.ppms_cm_popup_overlay div.ppms_cm_popup_wrapper {
	margin-top: 0px !important;
}
div.ppms_cm_popup_overlay div.ppms_cm_popup {
	padding: 5px 15px !important;
}