@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400;600&display=swap');

body,
input,
select,
button,
textarea,
label {
	font-family: 'Jost', sans-serif;
}

/* ----- LOGOS -------------------------------------------------------------- */

#headerwrap .link-home {
	background-image:	url('../images/logo_gillesplains.png');
}

#globalfooter .link-makris {
	background-image:	url('../images/logo_makris.svg');
}

.home #events > h2:after {
	content:			'  at Gilles Plains.';
}

p,
li {
	line-height:		130%;
}

/* ----- COLOURS ------------------------------------------------------------ */

body,
#headerwrap {
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);

	background-color: rgb(255,255,255);
}

h4,
h5,
input,
select,
button,
textarea,
label,
#subscription,
#subscription h2,
.home #events,
.home #events h2,
.post.panel header h2,
.event.panel header h2,
.offer.panel header h2,
.offer.panel header h2,
.in-page-title h2,
.store.panel header h3,
#contentwrap input,
#contentwrap label,
#contentwrap select,
#contentwrap textarea {
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);
}

hr {
	border-top: 2px solid rgba(0,116,178,1);
}

a,
a:link,
a:visited {
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);
}

a:active,
a:focus,
a:hover {
	color: rgba(205,163,90,1);
}

/* ----- LAYOUT ------------------------------------------------------------ */

h1,
h2,
h3 {
	font-weight: 200;	
}

h1 strong,
h2 strong,
h3 strong {
	font-weight: 300;
}

h4,
h5 {
	font-weight: 300;
}

h4 strong,
h5 strong {
	font-weight: 400;
}

.btn,
.btn:link,
.btn:visited,
.wp-block-button__link,
.wp-block-button__link:link,
.wp-block-button__link:visited {
	font-weight: 400;
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);
	border: 1px solid rgba(119,120,123,1);
	border: 1px solid rgba(0,116,178,1);
}

#globalheader,
#headerwrap:after {
	display: none;
}


#headerwrap {
	padding: 77px 5% 10px 5%;
	/* STUPID FONT LINE HEIGHT */

	transition: all 0.5s;
}

.scrolled #headerwrap {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;

	padding: 10px 5% 10px 5%;
	/* STUPID FONT LINE HEIGHT */

	width: 100%;
}

#headerwrap .link-home {
	top: 10px;
	left: 50%;

	margin-left: -50px;

	width: 100px;
	height: 100px;

	transition: all 0.5s;
}

.scrolled #headerwrap .link-home {
	top: 5px;

	margin-left: -56px;

	width: 112px;
	height: 42px;
}

#navwrap {
	margin-left: -5.555%;
	margin-right: -5.555%;

	width: auto;
}

#navwrap > div {
	border-bottom: 1px solid rgba(119,120,123,1);
	border-bottom: 1px solid rgba(0,116,178,1);
}

#navwrap a,
#navwrap a:link,
#navwrap a:visited {
	font-weight: 300;
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);
}

#navwrap>div>ul>li:nth-child(3) {
	display: none;
}

#navwrap .sub-menu,
#navwrap .sub-menu>li {
	background-color: rgb(255, 255, 255);
	border-color: rgb(242, 242, 242);
}

#navwrap a:active,
#navwrap a:focus,
#navwrap a:hover,
#navwrap .current-menu-item>a,
#navwrap .current-menu-ancestor>a {
	color: rgba(0,116,178,1);
	color: rgba(205,163,90,1);	
}

#navtrigger {
	top: 80px;
	left: 10px;
	right: auto;

	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);	

	transition: all 0.5s;	
}

.scrolled #navtrigger {
	top: 10px;
}


#socialwrap {
	z-index: 1000;
	padding: 0;
	bottom: auto;
	top: 5px;

	background-color: transparent;
}

.scrolled #socialwrap {
	display: none;
}

#menu-social-menu a,
#menu-social-menu a:link,
#menu-social-menu a:visited {
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);
}

#menu-social-menu a:active,
#menu-social-menu a:focus,
#menu-social-menu a:hover {
	color:			rgba(205,163,90,1);
}

.home #promos-video {
	position: relative;

	display: block;

	margin: 0 -5.555% 5% -5.555%;
	margin: 0 0 5% 0;
	padding: 0;

	overflow: hidden;
}

.home #promos-video:before {
	content: '';
	display: block;

	float: left;

	z-index: 2;

	width: 1px;
	height: 1px;

	margin: 0;
	padding: 56.25% 0 0 0;
}

.home #promos-video:after {
	content: '';
	display: block;
	clear: both;
}

.home #promos-video figure {
	position: absolute;
	top: 50%;
	left: 50%;

	width: 100%;

	overflow: hidden;

	margin: -28.125% 0 0 -50%;
	padding: 56.25% 0 0 0;

	box-sizing: border-box;

}

.home #promos-video video {
	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	height: 100%;

	overflow: hidden;

	margin: 0;
	padding: 0;
}

.home #newsflash .post {
	border: none;
}

.home #newsflash .post .img {
	background-color: rgba(119,120,123,0.1);
	background-color: rgba(0,116,178,0.1);
}

.home #newsflash .post h3 {
	font-weight: 300;
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);	
}

.home #contentwrap {
	padding: 0 1%;
}

#primary > article:first-child > header {
	margin: 0 -5.55%;
	padding: 5.55%;

	border: none;

	background: linear-gradient(0deg, rgba(119,120,123,0.25) 0%, rgba(119,120,123,0) 100%);		
	background: linear-gradient(0deg, rgba(0,116,178,0.25) 0%, rgba(0,116,178,0) 100%);		
}

#primary > article:first-child > header h1 {
	font-weight: 200;
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);		
}

#primary .filter span.active,
#primary .filter span:hover {
	color: rgb(205,163,90);
}

#primary .filter span,
#primary .filter span.child {
	border-color: rgb(205,163,90);
}

#primary article main h4 > a,
#primary article main h4 > a:link,
#primary article main h4 > a:visited,
#primary article main h5 > a,
#primary article main h5 > a:link,
#primary article main h5 > a:visited,
#primary article main p > a,
#primary article main p > a:link,
#primary article main p > a:visited {
	text-decoration: underline;
}

#primary .filter,
.stores,
.news,
.events,
.offers,
#primary > article.page.full main,
#primary > article.post.full main,
#primary > article.event.full main,
#primary > article.offer.full main {
	padding-left: 0;
	padding-right: 0;
}

.post.panel,
.event.panel,
.offer.panel,
.store.panel {
	border: 1px solid rgba(119,120,123,0.1);
	border: 1px solid rgba(0,116,178,0.1);

	box-shadow: none;
}

.store.panel header h3:after {
	background-color: rgb(205,163,90);
}

.store.panel footer .btn {
    padding: 5px 16% !important;
}

.store.full .columns {
	margin-bottom: 5%;
}

.page.full main .column.withform,
.store.full .bodycopy,
.store.full .column:first-child {
	border: none;
	padding-top: 0;

	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);		

	background: linear-gradient(0deg, rgba(119,120,123,0.25) 0%, rgba(119,120,123,0) 100%);	
	background: linear-gradient(0deg, rgba(0,116,178,0.25) 0%, rgba(0,116,178,0) 100%);	
}

#contentwrap .wpcf7-form input[type='submit'] {
	background-color: transparent;

	padding: 10px 25px;

	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);
	font-weight: 300;

	border: 1px solid rgba(119,120,123,1);
	border: 1px solid rgba(0,116,178,1);
}

#contentwrap .wpcf7-form input[type='submit']:hover {
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);
}

.icon.map:before {
	color:rgba(119,120,123,0.33);	
	color:rgba(0,116,178,0.33);	
}

#gmap {
	margin: 1% 0;
}

#store-carousel {
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);	
	background-color: transparent;
}

.news h1,
.events h1,
.offers h1,
#primary > article:first-child main h1,
#primary > article:first-child main h2,
#primary > article:first-child main h3 {
	color: rgb(205,163,90);	
}

.page.full main h2,
.post.full main h2,
.event.full main h2,
.offer.full main h2 {
	font-weight: 300;
	color: rgba(119,120,123,1) !important;	
	color: rgba(0,116,178,1) !important;	
}

.page.full main h3,
.post.full main h3,
.event.full main h3,
.offer.full main h3 {
	font-weight: 300;
	color: rgba(119,120,123,1) !important;		
	color: rgba(0,116,178,1) !important;		
}

.page.full main .column:nth-child(2n),
.post.full main .column:nth-child(2n),
.event.full main .column:nth-child(2n),
.offer.full main .column:nth-child(2n) {
	border: none;
	padding-top: 0;

	background: linear-gradient(0deg, rgba(119,120,123,0.25) 0%, rgba(119,120,123,0) 100%);		
	background: linear-gradient(0deg, rgba(0,116,178,0.25) 0%, rgba(0,116,178,0) 100%);		
}

#footerwrap22 {
	position: 			relative;
	
	margin:				0;
	padding:			10% 5%;
	
	font-weight: 		300;	

	overflow: hidden;

	background: linear-gradient(0deg, rgba(119,120,123,0.66) 0%, rgba(119,120,123,0.1) 100%);	
	background: linear-gradient(0deg, rgba(0,116,178,0.66) 0%, rgba(0,116,178,0.1) 100%);	
}

#footerwrap22 #subscription {
	background-color: transparent;
}

#footerwrap22 #subscription h2 {
	margin: 0;
}

#footerwrap22 #subscription p {
	font-size: 150%;
	margin: 0 5% 1% 5%;
	text-transform: uppercase;
} 

#footerwrap22 #subscription input {
	width: 100%;

	margin: 0 0 1% 0;
	padding: 10px;

	border: 1px solid rgba(255,255,255,1);
}

#footerwrap22 #subscription button {
	width: auto;
	height: auto;

	margin-top: 2%;
	padding: 2px 32px 0 32px;

	text-indent: 0;
	text-transform: uppercase;

	border: 1px solid rgba(119,120,123,1);
	border: 1px solid rgba(0,116,178,1);
	background-color: rgba(255,255,255,0);

	transition: all 0.5s;
}

#footerwrap22 #subscription button:hover {
	background-color: rgba(255,255,255,0.5);
}

#footerwrap22 #subscription button:before {
	display: none;
}

#footerwrap22 .widget a,
#footerwrap22 .widget a:link,
#footerwrap22 .widget a:visited {
	color: rgba(119,120,123,1);
	color: rgba(0,116,178,1);
}

#footerwrap22 .widget a:active,
#footerwrap22 .widget a:focus,
#footerwrap22 .widget a:hover {
	color:	rgba(205,163,90,1)
}

#footerwrap22 .link-makris {
	position:			relative;
	
	display:			block;
	
	width:				100px;
	height:				20px;
	overflow:			hidden;
	max-width:			100%;	
	
	margin:				0;
	padding:			0;
	
	text-indent:		-999px;
	pointer-events: 	all;	
	
	background-image:	url('../images/logo_makris.svg');
	background-repeat:	no-repeat;
	background-position:center;
	background-size:	contain;
}

/* ----- TABLET ------------------------------------------------------------ */
@media screen and (min-width: 769px) {

	.home #promos-video {
		margin: 0 -5.555% 2% -5.555%;
		margin: 0 -1.0% 2% -1.0%;		
	}

	.home #promos-video:before {
		padding: 47.5% 0 0 0;
	}

	.home #promos .promo {
		justify-content: flex-start;

		background: linear-gradient(0deg, rgba(119,120,123,0.5) 0%, rgba(119,120,123,0) 100%);
		background: linear-gradient(0deg, rgba(0,116,178,0.5) 0%, rgba(0,116,178,0) 100%);
	}

	.home #promos .promo:before,
	.home #promos .promo:first-child:before {
		padding: 33.33% 0 0 0;
	}

	.home #promos .promo a .hero {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 9;

		width: 50.5%;
		height: 100%;

		overflow: hidden;

		border-left: 15px solid rgb(255, 255, 255) !important;
	}

	.home #promos .promo h3 {
		margin: 0 0 0 5%;

		flex: 0 1 40%;

		text-align: left;
		text-shadow: none;
		font-size: 200%;
		font-weight: 300;
		color: rgba(119,120,123,1);
		color: rgba(0,116,178,1);
	}

	.home #promos .promo h3:after {
		margin: 20px auto 0 0;

		color: rgba(119,120,123,1);
		color: rgba(0,116,178,1);

		border: 1px solid rgba(119,120,123,1);
		border: 1px solid rgba(0,116,178,1);
		box-shadow: none;

		background-color: transparent;
	}

	.home #promos .promo h3 span {
		font-size: 200%;
		font-weight: 500;
	}

	.home #promos .promo img {
		width: auto !important;
		max-width: none !important;
		height: 100% !important;
	}

	.home #promos .promo:nth-child(even) h3 {
		margin: 0 0 0 55%;
	}

	.home #promos .promo:nth-child(even) a .hero {
		left: 0;
		right: auto;

		border-left: none !important;
		border-right: 15px solid rgb(255, 255, 255) !important;
	}

	.loaded.home #promos {
		margin: 0;
	}

	.loaded.home #promos:before {
		display: none;
	}

	.loaded.home #promos .promo,
	.loaded.home #promos .promo:first-child {
		width: 100%;

		margin: 0 0 1% 0;
	}

	#footerwrap22 .wrapper {
		display: 			flex;
	
		justify-content: 	space-between;
		flex-wrap: 			wrap;
	}
	
	#footerwrap22 .wrapper .widget {
		margin: 0 25% 0 0;
		padding: 0 5% 0 0;
		
		flex: 0 0 22.5%
	}

	#footerwrap22 #subscription {
		position: absolute;
		left: 50%;
		top: 0;
	
		width: 30%;
		
		margin: 0 0 0 -15%;
		padding: 5% 0 0 0;
	}	

	#footerwrap22 .wrapper .widget:nth-child(even) {
		margin: 0 0 0 25%;	
	}
	
	#footerwrap22 .copyright {
		position: absolute;
		bottom: 0;
		right: 5%;
	}

}

/* ----- DESKTOP ------------------------------------------------------------ */
@media screen and (min-width: 1025px) {
	
	#navwrap {
		text-align: center;
		padding: 0;
		margin: 0;

		width: 100%;
	}

	#navwrap a,
	#navwrap a:link,
	#navwrap a:visited {
		font-size: 100%;
	}

	#navwrap > div {
		border: none;
	}

	#navwrap > div > ul {
		display: flex;
		justify-content: space-between;
		flex-wrap: nowrap;
	}

	#navwrap > div > ul > li {
		flex: 0 0 16%;
	}

	#navwrap > div > ul > li:nth-child(4) {
		flex-basis: 20%;
	}

	#navwrap > div > ul > li:nth-child(3) {
		display: block;
		flex-basis: 30%;
		visibility: hidden;
		pointer-events: none;
	}


}

