/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----------------------------- GLOBAL -----------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/*====== Style commun à toutes les pages ======*/

/* Remise à 0 */
html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body{
    margin: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

main:not(.home) a:not(.cta) {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    border-bottom: dotted 1px #000;
	transition: .25s ease;
}

main:not(.home) a:not(.cta):hover{
	color:var(--main-color);
}
side
strong {
    font-weight: 600;
}


/* Variables des couleurs */

:root{
  --main-color: rgba(18, 181, 192, 1);
  --main-shade-color: rgba(0, 67, 119, 1);
  --secondary-color: rgba(131, 188, 45, 1);
  --punchy-color: rgba(237, 102, 69, 1);
}


/* Fonts */

@font-face { 
	font-family: Helvetica; 
	src: url(https://dev.saintgeorgesdubois17.fr//wp-content/themes/saint-georges-du-bois/fonts/Helvetica.woff); 
    font-style: normal;
	font-weight: 500; 
}

*, .title__prefix, h1, h2, h3, h4, p, li, a, span {
    font-family: 'Raleway', sans-serif;
    line-height: 1.5;
}

.cursive {
    font-family: 'Damion', 'Raleway', sans-serif !important;
}

img {
    max-width: 100%;
}

.limited-width, .simple-sitemap-container {
    max-width: 1000px;
    margin: 0 auto !important;
}

.limited-width--margin {
    max-width: 1000px;
    margin: 0 auto 100px;
}

/* Enlever le logo ReCAPTCHA */
.grecaptcha-badge{
	display: none !important;
}

/* Titres */

.title {
    margin: 70px 0 60px;
    font-size: 1.6rem;
    position: relative;
}

.title__content {
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-size: 4rem;
    color: var(--main-color);
    font-weight: 500;
    line-height: 1;
}

.title__prefix {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-150%, -10%);
    font-size: 2.3rem;
    color: #000000;
    font-weight: 400;
    width: max-content;
}

h3 {
    font-weight: 600;
    font-size: 1.9rem;
    font-family: 'Raleway', sans-serif;
    background-color: var(--secondary-color);
    padding: 0 7px;
	margin-top: 10px;
    color: #fff;
    display: inline-block;
}

h3 a {
    color: #fff;
}

.breadcrumb {
    margin: 20px auto;
    max-width: 1000px;
    font-family: 'Raleway', sans-serif;
    padding: 0 20px;
    text-align: center;
}

.breadcrumb a {
    color: #000;
    font-weight: inherit;
    border-bottom: 0 !important;
}

.breadcrumb .fas {
    font-weight: 500;
    margin: 0 5px;
}


/* Texte */

.texte__container {
    font-size: 1.6rem;
    margin: 20px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.texte__container > p:not(:first-child) {
    margin-top: 10px;
}


/* Bouton CTA */

.cta, .cta--simple, .booking_form input[type="button"] {
    font-size: 1.8rem;
    padding: 10px 15px;
    background-color: var(--punchy-color);
    position: relative;
    display: block;
    margin: 50px auto;
    color: #fff;
    width: max-content;
    transition: .25s ease;
    cursor: pointer;
    z-index: 10;
}

.booking_form input[type="button"] {
    margin: 20px auto;
}

.cta::before {
    content: "";
    display: block;
    background-color: var(--punchy-color);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: .5;
    transform: translate(-.5rem, .5rem);
    transition: .25s ease;
}

.cta:hover {
    transform: translate(.2rem, -.2rem);
}

.cta:hover::before {
    transform: translate(-.9rem, .9rem);
}

.booking_form input[type="button"]:hover {
    letter-spacing: 2px;
    color: #fff;
}

/* Sidebar */

.sidebar {
    position: absolute;
    right: 0;
    top: 30%;
    transform: translate(0, -50%);
    background-color: var(--main-color);
    z-index: 150;
    display: flex;
    flex-direction: column;
    opacity: .8;
    transition: .5s ease;
}

.sidebar a {
    border-bottom: 0;
}

.sidebar:hover {
    opacity: 1;
}

.sidebar__icon {
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
    padding: 2px 5px;
}


/* Back to top */

.btt {
    font-size: 5rem;
    color: var(--main-shade-color);
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 90;
    transform: translate(0, 0) rotate(0);
    transition: .25s ease;
    border-bottom: 0;
}

.btt--hide {
    transform: translate(200%, 0) rotate(45deg);
}



/*===== Page "Plan du site" =====*/

.simple-sitemap-container .post-type {
    display: none;
}

/*===== Page "Erreur 404" =====*/
.erreur {
	padding-bottom: 50px;
}
    

/*----- Écran > 650px -----*/

@media screen and (min-width: 650px) {
    
    /* Sidebar */
    
    .sidebar {
        position: fixed;
		opacity: .5;
		top: 50%;
    }
    

/*    Titres    */
    
    .title__content {
        display: table;
        margin: 0 auto;
        position: relative;
        font-size: 6rem;
    }
    
    .home .title__content::before {
        display: none;
    }
    
    .title__content::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(-50%, -59%);
        background-image: url(/wp-content/uploads/2021/06/tache-croix-bleus.png);
        width: 120px;
        height: 120px;
        background-size: contain;
        background-repeat: no-repeat;
        z-index: -1;
    }
    
}

/* Ecran > 800px */
@media screen and (min-width: 800px) {
    
/*    Zone de contact et des téléchargements     */
    
    .bottom__container {
        width: 50% !important;
        margin: 0 auto !important;
    }
    
    .classic__total {
        width: 100%;
        margin: inherit;
    }
    
    .classic__section > .classic__total:nth-child(2n+2) .classic__content {
        padding: 0 0 0 30px;
    }
    
    .classic__section > .classic__total:nth-child(2n+2) .classic__photo {
        padding: 0 30px 0 0;
    }
    
}

/*----- Écran > 1250px -----*/

@media screen and (min-width: 1250px) {
    
    main {
        margin-top: 150px;
    }

    .limited-width--margin {
        margin: 150px auto 100px;
    }
    
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----------------------------- HEADER ------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/*===== Menu principale =====*/

.stop-scroll {
    overflow: hidden;
}

.menu__top {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background-color: #fff;
    position: relative;
    z-index: 100;
    box-shadow: 0px 0px 5px rgba(0,0,0,.1);
}

.menu__top--active {
    height: 100vh;
    position: fixed;
    width: 100%;
    overflow: scroll;
}

/* Logo */

.custom-logo {
    height: 80px;
    width: auto;
    padding: 10px;
    position: relative;
    z-index: 90;
    background-color: #fff;
}


/* Menu Burger */

.menu__burger {
    width: 50px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

.menu__burger .menu__bar {
    height: 5px;
    background-color: var(--main-color);
    display: block;
    transition: .3s ease;
}

.menu__bar--large {
    width: 100% !important;
}

.menu__burger > .menu__bar:first-child {
    width: 100%;
}

.menu__burger > .menu__bar:last-child {
    width: 60%;
    margin-top: 10px;
    margin-left: auto;
}

.menu__open .menu__bar:first-child {
    transform: rotate(-45deg);
}

.menu__open .menu__bar:last-child {
    margin-top: -5px;
    transform: rotate(45deg);
    width: 100%;
}


/* Liens du menu */

.menu__nav {
    display: flex;
    align-items: center;
    user-select: none;
    flex-direction: column;
    background-color: #fff;
/*	z-index: 500;*/
}

.menu__nav li {
    list-style: none;
    font-size: 1.8rem;
    padding: 0 20px;
    padding-top: 25px;
    font-weight: 300;
}

.menu__nav a {
    font-weight: 300;
    color: #000;
    border-bottom: 0;
    text-decoration: none;
}

.menu__nav li:hover {
    font-weight: 500;
}

.menu__nav li:hover a {
    color: var(--main-shade-color);
}

#menu__list > li {
    padding: 25px 0;
    border-bottom: solid 1px var(--main-color);
}

.menu__nav .menu-item-has-children > a::after {
    content: "\f078";
    color: var(--punchy-color);
    font-family: "Font Awesome 5 Pro";
    font-weight: 600;
    margin-left: 10px;
}

#menu__list {
    width: 80%;
    height: 100%;
    background-color: #fff;
    transform: translateY(-150%);
    top: 0;
    left: 0;
    transition: .4s ease;
    margin: 0;
    padding-left: 0;
    padding-top: 10px;
    display: none;
	z-index: 800;
}

.menu__list--active {
    transform: translateY(0) !important;
    display: block !important;
}

.menu__list--mobile {
    display: flex;
    flex-direction: column;
}

.menu__nav .menu-item-has-children {
    cursor: pointer;
}

.menu__nav #menu__list > .menu-item-has-children:last-child {
    padding-bottom: 20px;
}

.menu__nav .menu-item-has-children .sub-menu {
    display: none;
    cursor: auto;
}

.menu-item--open .sub-menu {
    display: block !important;
}

.menu-item--open > a::after {
    content: "\f077" !important;
}

.menu__nav .menu-item ul li a:hover{
	font-weight: 400;
}


/* Zone droite du menu : barre recherche et météo */

.menu__widget {
    display: none;
    top: 20%;
    right: 0;
}

.menu__widget--open {
    display: block;
}


/* Barre de recherche */

.search {
    color: #fff;
    background-color: var(--secondary-color);
    padding: 15px 0 20px;
    text-align: center;
    font-size: 2rem;
    cursor: pointer;
	display: flex;
	justify-content: center;
}

.search i {
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    position: relative;
    margin-left: 10px;
    transform: translateY(5px);
}

.search__popup {
    position: fixed;
    top: 0;
    left: 0;
    /* transform: translate(-60%, -15%); */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin: 0;
    display: none;
    margin-top: 100px;
}

.search__popup::before {
    content: "";
    display: block;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .5);
    z-index: 110;
    position: fixed;
    top: 0;
    left: 0;
}

.search__popup form {
    position: relative;
    z-index: 120;
    width: 250px;
    margin: 0 auto;
}

.search__popup--show {
    display: block !important;
    z-index: 110;
}

#searchform {
    margin-bottom: 0;
}

.screen-reader-text, #searchsubmit {
    display: none;
}

.search__popup input {
    border: 2px solid var(--secondary-color) !important;
    width: 100%;
    border: 0;
    outline: 0;
    padding: 7px 10px;
}


/* Météo */

.weather {
    background-color: var(--main-color);
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 100px;
}

.weather::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 15px;
    background-color: var(--main-color);
    bottom: 0;
    left: 0;
}





/*----- Écran > 1250px -----*/

@media screen and (min-width: 1250px) {
    
    /*===== Menu principal =====*/
    
    
/*  Menu burger  */
    .menu__burger {
        display: none;
    }
    
    
/*  Liens du menu  */
    
    .custom-logo-link {
        margin-left: 20px;
    }
    
    .menu__top {
        flex-direction: row;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
    }
    
    #menu__list {
        display: flex;
        flex-direction: row;
        transform: translateY(0);
        position: inherit;
        align-items: center;
        margin-left: 20px;
        padding-top: 0;
        overflow: visible;
        justify-content: center;
    }    
    
    #menu__list > li {
        border-bottom: none;
        padding: 0 20px;
    }
    
    .menu__nav {
        width: 100%;
    }
    
    .menu__nav li {
        position: relative;
    }
    
    .menu-item--open {
        position: absolute;
        bottom: 0;
        z-index: 90;
    }
    
    .sub-menu {
        position: absolute;
        transform: translateX(-20%);
        z-index: 120;
        left: 0;
        width: 130%;
        background-color: #fff;
        padding: 20px 25px 0 25px;
    }
    
    .sub-menu li {
        margin: 20px auto;
        padding: 0;
    }
    
    .sub-menu li a {
        padding: 5px 10px;
        display: block;
        text-align: center;
        line-height: 1.2;
    }

    .menu__nav .menu-item-has-children > a::after, .menu-item--open > a::after {
        content: "" !important;
    }
    
    .menu__nav {
        display: flex;
        flex-direction: row;
    }
    
    .menu__nav #menu__list > .menu-item-has-children:last-child {
        padding-bottom: 0;
    }
    
    
/*  Partie droite du menu : barre de recherce et météo  */
    
    .menu__widget {
        display: flex;
        position: initial;
        margin-top: 0;
    }
    
    
/*  Barre de recherche  */
    
    .search {
        position: relative;
        padding: 0 40px;
        font-size: 1.8rem;
        display: flex;
        align-items: center;
        font-weight: 200;
        margin-right: 0;
    }

    .search__popup {
        display: none;
        position: absolute;
        bottom: 0;
        transform: translate(0, 100%);
    }
    
    .search__popup::before {
        display: none;
    }
    
    .search i {
        margin: 0 0 10px 10px;
    }
    
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----------------------------- FOOTER ------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/*     Pied de page     */

.footer {
    background-color: var(--main-color);
    color: #fff;
    position: relative;
    padding: 20px;
    padding-top: 50px;
}

.footer::before {
    content: "";
    display: block;
    background-color: var(--main-color);
    width: 100%;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-99%);
    clip-path: polygon(0 100%, 0% 100%, 100% 100%, 100% 0);
}

.footer__top, .footer__bottom {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


/*     Haut du pied de page     */

.footer__top {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.footer__title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer a {
    color: #fff;
    font-size: 1.6rem;
    transition: .25s ease;
    border-bottom: 0;
}

.footer__top > div {
    margin-bottom: 30px;
}

.footer__top li a:hover, .footer__top li a:hover::before {
    color: var(--main-shade-color) !important;
    font-weight: 600;
}

.footer__top li {
    margin: 15px 0;
}


/*     Partie contact    */

.footer__contact .contact__list {
    max-width: 250px;
    margin: 0 auto;
/*    text-align: left;*/
}

.footer__contact .contact__list > li a::before {
    font-family: 'Font Awesome 5 Pro';
    color: #fff;
    padding-right: 10px;
    margin-left: -10px;
}

.footer__contact .contact__list > li:first-child a::before {
    content: "\f3c5";
}

.footer__contact .contact__list > li:nth-child(2) a::before {
    content: "\f879";
}

.footer__contact .contact__list > li:nth-child(3) a::before {
    content: "\f0e0";
}

.footer__contact .contact__list > li:nth-child(4) a::before {
    content: "\f082";
    font-family: 'Font Awesome 5 Brands';
}


/*     Partie heures    */

.footer__hours {
    padding-bottom: 20px;
}

.footer__hours .hours__info {
    margin-bottom: 40px;
}

.footer__hours .hours__info .widgettitle {
    display: flex;
    align-items: center;
    width: max-content;
    margin: 0 auto;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.footer__hours .hours__info .widgettitle::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 16px;
    transform: skewX(-20deg);
    background-color: #fff;
    margin-right: 12px;
}

.footer__hours .hours__info p {
    font-size: 1.6rem;
}

.footer__cta {
    color: var(--punchy-color) !important;
    font-weight: 600;
    position: relative;
    padding: 10px 17px;
    z-index: 2;
    margin: 10px 0;
    text-transform: uppercase;
}

.footer__cta::before {
    content: "";
    background-color: #fff;
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -52%) skewX(-20deg);
    z-index: -1;
    transition: .25s ease;
}

.footer__cta:hover::before {
    transform: translate(-50%, -52%) skewX(0deg);
}


/*     Partie Raccourcis    */

.footer__shortcut li{
	margin: 2px;
}

.footer__shortcut li a{
    margin: 5px 0;
}

/*     Partie partie basse    */

.footer__bottom ul {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    margin: 20px auto 0;
    justify-content: space-between;
    width: 100%;
    max-width: 500px;
    border-top: solid rgba(255, 255, 255, .4) 1px;
}

.footer__bottom li {
    padding: 0 5px;
    margin: 10px;
    text-align: center;
}

.footer__bottom li a {
    text-align: center;
    font-size: 1.2rem;
}

.footer__link:hover {
/*    color: var(--main-shade-color);*/
    font-weight: 600;
}



/* Logo Instant Urbain */

.IU__link { 
	position: absolute;
    bottom: 10px;
}

.IU__logo {
	padding: 10px;
}


/* Ecran > 450px */

@media screen and (min-width: 450px) {
    
/*     Partie partie basse    */

.footer__bottom ul {
    flex-direction: row;
}

.footer__bottom li {
    margin: 0 10px;
}
    
}



/* Ecran > 800px */

@media screen and (min-width: 800px) {
    
    /* Footer */
    
    .footer__title {
        text-align: left;
    }
    
    .footer__top {
        flex-direction: row;
        justify-content: space-around;
    }
    
    
    /* Section contact gauche */
    
    .footer__contact .contact__list {
        margin: 0 auto 0 10px;
		text-align: left;
    }
    
    
    /* Section horaire milieu */
    
    .footer__hours .footer__title {
        text-align: center;
    }
    
    .hours__info {
        display: flex;
    }
    
    .hours__info > li:first-child {
        margin-right: 20px;
    }
    
    
    /* Section raccourcis droite */
	
	.footer__shortcut{
		width: 170px;
	}
    
    .footer__shortcut ul, .footer__shortcut .footer__title {
        text-align: left;
    }
    
}