/***********************************************
Theme Name: FGC Bretagne
Theme URI: 
Description: FGC Bretagne
Version: 1.0
Author: Ben Ben Ben
Author URI: http://www.benbenben.fr
*************************************************/

/************************************************
				COLORS
************************************************/

.vert{
	color: rgb(92,158,136,1);
	}

.noir{
	color: rgb(116,114,116,1);
}


/************************************************
		FONTS
************************************************/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@font-face {
    font-family: 'Nexa Rust';
    src: url('fonts/NexaRustSansDemo-Black.woff2') format('woff2'),
        url('fonts/NexaRustSansDemo-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Desyrel';
    src: url('fonts/Desyrel.woff2') format('woff2'),
        url('fonts/Desyrel.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/************************************************
		GENERAL
************************************************/

body{
	margin: 0;
	padding: 0;
	width:100%;
	font-family: "Roboto", sans-serif;
	color: rgb(116,114,116,1);
	font-size:1.1em;
}

.rounded-edge {
	height: 100px;
    width: 100%;
    clip-path: ellipse(85% 100% at 50% 100%);
    background: #ebf6dc;
    float: left;
    margin-top: -50px;
}

/************************************************
				TYPOGRAPHY
************************************************/

h1{
	font-size:4em;
}

h2{
	font-family: 'Desyrel';
	font-size:3em;
}

h1, h3, h4{
	font-family: 'Nexa Rust';
}

/************************************************
		BREADCRUMBS
************************************************/

.yoast-breadcrumbs a{
	color:#FFF!important;
	text-decoration:underline!important;
}

/************************************************
		HEADER
************************************************/

#header {
	width: 90%;
    padding: 1% 5%;
    margin: 0%;
    float: left;
    background-color: #FFF;
}

#logo {
    padding: 0%;
    margin: 0%;
    text-align: center;
    float: left;
}

#logo img {
	width:auto;
    max-height: 70px;
}

.sticky {
	position: fixed!important;
    background-color: #FFFFFF;
	z-index:1;
	-moz-box-shadow: 0px 0px 15px 5px rgba(30,30,30,0.05);
    -webkit-box-shadow: 0px 0px 15px 5px rgb(30 30 30 / 5%);
    -o-box-shadow: 0px 0px 15px 5px rgba(30,30,30,0.05);
    box-shadow: 0px 0px 15px 5px rgb(30 30 30 / 5%);
}

/************************************************
		MENU
************************************************/

#menu {
	display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    float: right;
    margin: 0;
    padding: 0;
	height:70px;
	font-family: 'Nexa Rust';
	font-size: 0.9em;
	text-transform:uppercase;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: inline-block;
}

#menu li {
	display: inline-flex;
	float:left;
	margin:auto;
	padding:10px;
}

#menu li a {
    display: block;
    text-decoration: none;
    cursor: pointer;
	color: rgb(116,114,116,1);
}

#menu li a:hover {
	color: rgb(92,158,136,1);
}

.current_page_item a{
	color: rgb(92,158,136,1)!important;	
	
}

/************************************************
				MENU OVERLAY
************************************************/

.overlay {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color:#ebf6dc;
	overflow-x: hidden;
	transition: 0.5s;
	text-align: center;
	text-transform:uppercase;
	padding: 60px 0px 0px;
}

.overlay-content {
	position: relative;
	top: 25%;
	width: 100%;
	text-align: center;
	margin-top: 30px;
}

.overlay a {
	padding: 8px;
	text-decoration: none;
	font-family: 'Nexa Rust';
	font-size: 0.8em;
	color: #000000;
	display: block;
	transition: 0.5s;
}

.overlay ul{
	margin: 0;
    padding: 0;
}

.overlay a:hover, .overlay a:focus {
	color: #5c9e88;
}

.overlay .closebtn {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 2em;
	color:#000;
}

.overlay .sub-menu li a:hover{
	color:#5c9e88!important;
}

.overlay .sub-menu .current_page_item a{
	color:#5c9e88!important;
}

.overlay .current_page_item a{
    color:#5c9e88!important;
}

#button-menu{
	display:none;
}

.menu li{
	list-style-type:none;
}

.closemenu{
	text-align: right;
	font-family: 'Desyrel'!important;
	font-size:5em!important;
	line-height:0em!important;
}

#myNav .sub-menu{
	margin: 0;
    padding: 0;
	font-size:1.2em;
}

#myNav .menu li ul {
	display:none;
 }

#myNav .menu li:hover ul {
	display:block;
}

#myNav ul li a{
	font-size:1.5em;
}

#myNav ul li ul li a{
	font-size:1em;
}

#myNav img{
	width:90%;
	height:auto;
}

/************************************************
					INDEX
************************************************/

#cover{
	width: 80%;
    padding: 0 10%;
    float: left;
    margin: 0;
    height: 60vh;
    background-repeat: no-repeat!important;
    -webkit-background-size: cover!important;
    -moz-background-size: cover!important;
    -o-background-size: cover!important;
    background-size: cover!important;
    background-position: center!important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cover h1{
	color:#FFF;
}

#cover img{
	width:70%;
	height:auto;
}

/************************************************
					PAGE
************************************************/

#content{
	width: 100%;
	float: left;
    background-color: #ebf6dc;
}

/************************************************
					SINGLE GUIDE
************************************************/

#cover-guide{
	width: 80%;
    padding: 0 10%;
    float: left;
    margin: 0;
    height: 50vh;
	background-color: rgb(92, 158, 136, 1);
	display:flex;
	align-items:center;
	justify-content:center;
}

#cover-guide-left{
	width:50%;
	float:left;
	text-align: center;
}

#cover-guide-right{
	width:50%;
	float:left;
	color:#FFF;
}

#cover-guide-right h1{
	line-height: 0.8em;
}

#cover-guide a{
	color:#FFF;
}

#cover-guide-left img{
	width: 300px;
    height: 300px;
    min-width: 300px;
    max-width: 300px;
    min-height: 300px;
    max-height: 300px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border: 5px solid rgb(255, 255, 255, 1);
}

#content-guide{
	width: 100%;
	float: left;
    background-color: #ebf6dc;
	display:flex;
	justify-content:center;
	align-items:center;
}

#content-guide-in{
	max-width:1140px;
	float: left;
	text-align:center;
	padding: 50px 0px;
}

#content-guide-in a{
	color: rgb(92, 158, 136, 1);
}

#content-guide-in a:hover{
    color: rgb(116, 114, 116, 1);
}

/************************************************
					FILTERS ITEM
************************************************/

.filters{
	float:left;
	width:96%;
	padding:2%;
	background-color: rgb(92,158,136,1);
	color:#FFF;
	display: flex;
    align-items: center;
    justify-content: center;
}

.item {
	width: 29%;
    height: 200px;
    padding: 1%;
    margin: 1%;
    display: flex;
    border-radius: 20px;
    align-items: center;
}

.item h3{
	font-family: 'Nexa Rust';
}

.item h3 a{
	text-decoration:none;
}

.item:hover{
	background-color: #eeeeee;
	-webkit-box-shadow: inset 0px 0px 0px 1px #747274; 
	box-shadow: inset 0px 0px 0px 1px #747274;
}

.item-img{
	width: 100px;
	height:100px;
	min-width:100px;max-width:100px;
	min-height:100px;max-height:100px;
	border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
	border: 5px solid rgb(92,158,136,1);
	 background-repeat: no-repeat!important;
    -webkit-background-size: cover!important;
    -moz-background-size: cover!important;
    -o-background-size: cover!important;
    background-size: cover!important;
    background-position: center!important;
}

.item-txt{
    padding: 0% 2%;
    color: rgb(116,114,116,1);
}

.item-txt a{
	color: rgb(92, 158, 136, 1);
}

.item-txt a:hover{
    color: rgb(116, 114, 116, 1);
}

.grid-item {
	width: 100%;
    margin: 0;
    padding: 0;
    float: left;
    background-color: rgb(255,255,255,0.95);
}

.grid-item-title{
	width:80%;
	float:left;
	text-align:center;
	padding:2% 10%;
}

/* clear fix */
.grid-item:after {
  content: '';
  display: block;
  clear: both;
}

/* ui group */

.ui-group {
  display: inline-block;
  margin-right: 20px;
}

.ui-group h3 {
  display: inline-block;
  margin-right: 0.2em;
  font-size: 16px;
}

.ui-group .button-group {
  display: inline-block;
  margin-right: 20px;
}

.filter-select{
	font-size:1em;
}

.no-results{
 	display:none;
 	float: left;
	height: auto;
	padding:2%;
	width:96%;
}

/************************************************
					CARTE
************************************************/
 
#liens-carte{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/************************************************
				CONTACT FORM
************************************************/

.wpcf7 label{
	font-weight:bold;
}

.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap select, .wpcf7-form-control, .wpcf7-textarea {
    padding: 10px;
    border: 1px solid #000000;
    -webkit-border-radius: 10px 10px 10px 10px;
}

/************************************************
					FOOTER
************************************************/

#footer{
	width: 96%;
    margin: 0;
    padding: 2%;
    float: left;
    background-color: #FFF;
    display: flex;
	column-gap: 40px;
}

.item-footer{
	flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.item-footer .menu-menu-container ul {
	list-style-type: none;
	margin: 0;
    padding: 0;
}

.item-footer .current_page_item a{
	color: rgb(92,158,136,1)!important;	
	border-bottom: none;
}

.item-footer a{
	color: rgb(116,114,116,1);
	text-decoration:none;
}

.item-footer a:hover{
	color: rgb(92,158,136,1);
}

.item-footer img{
	max-width:100%;
	height:auto;
}

#credit{
	width:98%;
	padding:1%;
	background-color:rgb(92,158,136,1);;
	text-align: center;
	float:left;
	color:#FFF;
}

/* -------------------------------------------------------------- */
/* MOBILE
/* -------------------------------------------------------------- */

@media (max-width: 767px) {
	
/************************************************
					GENERAL
************************************************/	
	
body{
	font-size:1em;
}	
	
h1{
	font-size:3em;
}

h2{
	font-size:2.5em;
}	

/************************************************
					HEADER
************************************************/		
	
#logo {
    width: 98%;
    padding: 2%;
    margin: 0%;
    text-align: center;
}	
	
#logo img {
	width:auto;
    max-height: 60px;
}	
	
/************************************************
					FOOTER
************************************************/	
	
#footer{
	width: 80%;
    margin: 0;
    padding: 10%;
    display: block;
}

.item-footer{
	flex: 1;
    display: flex;
    justify-content: left;
    align-items: left;
}
	
/************************************************
					ITEM
************************************************/	
	
.item {
	width: 90%;
    height: auto;
    padding: 4%;
    margin: 1%;
    display: flex;
    border-radius: 20px;
    align-items: center;
}	
	
/************************************************
				FILTERS
************************************************/	
	
.filters{
	display:block;	
	text-align:center;
}
	
.ui-group {
    display: block;
    margin-right: 20px;
}	
	
/************************************************
					MENU OVERLAY
************************************************/	
	
#menu{
	display:none;
}
	
#button-menu{
	position:absolute;
	display: block;
    color: #5c9e88;
    font-size: 3em;
    cursor: pointer;
}

.overlay .closebtn {
  font-size: 3em;
  top: 15px;
  right: 35px;
}		

}