/*!
Theme Name: Fromagerie Vanséenne
Theme URI: http://underscores.me/
Author: Augustine Plume
Author URI: https://augustineplume.com
Description: Thème graphique sur-mesure pour la Fromagerie Vanséenne
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fromagerie
*/


body {
	font-family: "houschka-rounded", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 20px;
	margin: 0;
}


body::-webkit-scrollbar {
	width: 0.50rem;
}

body::-webkit-scrollbar-track {
	background: #eb994c;
}

body::-webkit-scrollbar-thumb {
	background: #654d25;
}

a {
	-o-transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

a:link,
a:visited {
	color: #a39071;
	text-decoration: none;
}

a:hover,
a:active {
	color: #654d25;
}

::selection {
	background: #f9f3ea;
	/* WebKit/Blink Browsers */
}

::-moz-selection {
	background: #f9f3ea;
	/* Gecko Browsers */
}

strong {
	font-weight: 900;
}

.btn-marron:link,
.btn-marron:visited {
    color: #fee5c8;
    background-color: #985c30;
    border: 0;
    padding: 8px 40px;
    border-radius: 50px;
}

.btn-marron:hover,
.btn-marron:active {
    background-color: #eb994c;
    color: #FFF;
}

.balance {
	text-wrap: balance;
}

.uppercase {
	text-transform: uppercase;
}

.spaceTop {
	margin-top: 80px;
}

.navbar-toggler {
    border: 0;
    font-size: 1.8rem;
    color: #fee4c7;
	font-family: "ivysoft-variable", sans-serif;
	font-variation-settings: "slnt" 0, "wght" 500;
}

#masthead {
    background-color: #815334;
}

.offcanvas-title {
    font-size: 1.6rem;
    text-wrap: balance;
}

.offcanvas-title span {
    font-weight: 400;
    color: #815334;
}

.homeintro .pictoLogo {
    max-width: 600px;
}

a.nav-link:link,
a.nav-link:visited {
	color: #fadcb7;
	font-weight: 900;
    text-transform: uppercase;
	font-size: 1.4rem;
	font-family: "ivysoft-variable", sans-serif;
	font-variation-settings: "slnt" 0, "wght" 700;
}

a.nav-link:hover,
a.nav-link:active {
	color: #FFF;
}

.offcanvas.show:not(.hiding) a.nav-link:link,
.offcanvas.show:not(.hiding) a.nav-link:visited,
.offcanvas.showing a.nav-link:link,
.offcanvas.showing a.nav-link:visited {
	color: #815334;
}

#primary-menu .dropdown {
    position: static;
}

.navbar-nav .dropdown-menu {
    display: block;
    border: 0;
    margin-left: 10px;
}

.main-navigation li.dropdown li a.nav-link {
    font-size: 1.3rem;
}

.offcanvas.show #primary-menu .dropdown-menu {
    display: block;
    border: 0;
    margin-left: 20px;
}

@media (min-width: 992px) {
    .dropdown-menu {
        display: grid;
        /* grid-template-columns: 1fr 1fr;  */
        grid-gap: 10px;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        overflow: hidden;
        transition: all 0.2s ease-in-out;
        -webkit-transition: all 0.2s ease-in-out;
        background-color: #815334;
    }

    .dropdown:hover .dropdown-menu {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 0;
        opacity: 1;
        transform: scaleY(1);
        overflow: visible;
        padding-bottom: 20px;
    }
}

.iconHomeMenu i {
	font-size: 2rem;
}

.homePresentation {
	background: url("images/background-home-presentation.jpg") no-repeat;
	background-size: cover;
}

.homePresentation .itembox {
	border-top: 2px solid #985d2f;
	background-color: #f7debf;
	color: #000;
}

.homePresentation .itembox.itemEnd {
    border-bottom: 2px solid #985d2f;
}

.homePresentation .itemPresent {
	padding: 30px;
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.homePresentation .itemPresent .titre,
.homeAlexis .titre,
.homeEpicerie .titre,
.followus,
.locationBox .titre,
.titrePageH1,
.titreFocus {
	text-transform: uppercase;
	font-family: "ivysoft-variable", sans-serif;
	font-variation-settings: "slnt" 0, "wght" 700;
}

.titrePageH1 {
	color: #f09d4e;
}

.homeAlexis .titre {
	margin-bottom: 2.2rem;
}

.homePresentation .itemPresent p,
.homeAlexis p {
	text-wrap: balance;
}

.pictoBox {
	text-align: center;
}

.pictoBox img {
    max-width: 200px;
    margin: auto;
}

.homeAlexis {
    background-color: #985c30;
    color: #fee5c6;
}

.homeEpicerie .itemEpicerie {
    background-color: #fee5c6;
}

.homeEpicerie .itemEpicerie p {
	margin-bottom: 0;
}

.homeEpicerie .row .row {
    display: flex;
    align-items: center;
}

.homeEpicerie a:link,
.homeEpicerie a:visited {
	color: #000;
}

.homeEpicerie a:hover,
.homeEpicerie a:active,
.homeEpicerie .itemEpicerie:hover a {
	color: #985c30;
}

.homeEpicerie .itemEpicerie:hover {
	cursor: pointer;
	background-color: #fff2e2;
}

.homeBonCadeau {
    background-color: #f09d4e;
}

.homeBonCadeau p {
	margin-bottom: 0;
}

.emailFooter {
	text-transform: lowercase !important;
}

.locationBox address {
    margin: 0;
	display: inline-block;
}

.locationBox {
	background-color: #fee5c8;
	color: #985c30;
	font-size: 1.2rem;
}

@media (max-width: 992px) {
	.homeGalerie .col img {
	    margin: 10px 0 10px;
	}
}

.footer {
    background-color: #985c30;
    color: #fee5c8;
}

.footer a:link,
.footer a:visited {
    color: #fee5c8;
    text-decoration: none;
}

@media (min-width: 992px) {
	.homePresentation .itemPresent {
		max-width: 80%;
		margin: auto;
	}
}

@media (min-width: 1200px) {
	a.nav-link:link,
	a.nav-link:visited {
		font-size: 1.6rem;
	}
}

.current-menu-item>a.nav-link,
.current-menu-ancestor>a.nav-link {
	color: #FFF;
	border-bottom: 1px solid #FFF;
}

#primary-menu .offcanvas.show:not(.hiding) .current-menu-ancestor>a.nav-link,
.offcanvas.show:not(.hiding) li.current-menu-item a.nav-link:link,
.offcanvas.show:not(.hiding) li.current-menu-item a.nav-link:visited {
    color: #eb994c !important;
    border-bottom: 1px solid #eb994c !important;
}

.offcanvas.show:not(.hiding) .dropdown-menu li.current-menu-item a.nav-link,
.dropdown-menu li.current-menu-item a.nav-link {
	border-bottom: 0 !important;
}

.figureHome {
    position: relative;
}

.figureHome span {
    position: absolute;
    top: 10px;
    right: 40px;
}

.figureHome .titre,
.figureHome span {
    font-size: 2rem;
    color: #f09d4e;
}

.itemFigure, .itemContentBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: end;
}

.itemFigureBox, .itemBox {
	background-color: #fee5c6;
	padding: 30px;
    z-index: 100;
	border-right: 10px solid #eb994c;
	color: #985c30;
}

.itemWhiteBox {
	background-color: #fafafa;
	padding: 30px;
    z-index: 100;
	color: #000;
}

.itemFigureBox .subtitle, .itemBox .subtitle, .itemWhiteBox .subtitle {
	text-transform: uppercase;
	font-family: "ivysoft-variable", sans-serif;
	font-variation-settings: "slnt" 0, "wght" 700;
}

#pageActualite .titreFocus,
#pageAlentours .titreFocus {
    color: #815334;
}

#pageActualite .subTitleFigure,
#pageAlentours .subTitleFigure {
    font-size: 1.2rem;
    font-style: italic;
	color: #f09d4e;
}

#pageActualite .contentFigure,
#pageAlentours .contentFigure {
    background-color: #fbf7f4;
    padding: 30px;
}

.itemProduits {
    background-color: #fee5c8;
	cursor: pointer;
}

.itemProduits:hover .btn-marron {
    background-color: #eb994c;
    color: #FFF;
}

.itemProduitsBox {
    padding: 30px 20px;
	text-align: center;
}

.itemProduits .titreFocus {
    color: #815334;
	text-align: start;
}

.itemProduits .description {
	text-align: start;
}

.image {
    max-height: 400px;
    overflow: hidden;
}

.itemProduitsBox .btn-marron {
    margin-top: -100px;
	text-transform: uppercase;
}

nav.navigation.post-navigation {
    text-align: center;
    padding: 20px 10px;
    background-color: #FAFAFA;
    margin-bottom: 3rem;
}

nav.navigation.post-navigation .screen-reader-text {
	margin: 0;
}

nav.navigation.post-navigation .nav-links i {
    vertical-align: middle;
}

.produitBox {
    display: flex;
    align-items: center;
}

.produitBox {
    display: flex;
    align-items: center;
}

.produitDesc {
    background-color: #fbf7f4;
    padding: 30px 20px;
    color: #985c30;
}

.produitDesc p {
    margin-bottom: 0;
}

#pageMentions .titreFocus {
	margin-top: 35px;
}

#primary article .post-thumbnail {
    text-align: center;
    margin-bottom: 50px;
}

#primary article .post-thumbnail img.wp-post-image {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
}

#pageAlentours img {
	max-width: 100%;
    height: auto;
}

.photosAlentours img {
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
}

.photosAlentours p {
    font-size: 1.1rem;
    margin-top: 8px;
	color: #985c30;
}

@media (min-width: 992px) {
    .figureHome span {
		top: -65px;
        right: -10px;
    }
	.figureHome .titre,
	.figureHome span {
		font-size: 3rem;
	}
	.itemFigureBox,
	.itemBox {
		border: 0;
    	margin-right: -50px;
	}
	.produitDesc {
		margin-left: -80px;
	}
}

@media (min-width: 1300px) {
	.itemFigureBox,
	.itemBox {
    	padding: 50px;
		margin-right: -90px;
	}
}
























/*
 *
 *	galerie photos
 *
*/

.galerieBox {
	margin-bottom: 100px;
}

.galerie_content {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

.galerie {
	grid-column: 1 / 4;
	border-radius: 10px;
	margin-top: 20px;
}

.galerie {
	margin-top: 60px;
}

.galerie .card {
	border: 0;
}

.galerie a {
	position: relative;
}

.galerie .card i {
	opacity: 0;
	display: none;
}

a.imgZoom {
	cursor: pointer;
}

.imgZoom {
	position: relative;
	display: inline-block;
	border-bottom: 0 !important;
}

.imgZoom i {
	opacity: 0;
	display: none;
}

@media (min-width: 768px) {

	.imgZoom:hover i,
	.galerie .card:hover i {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		background-color: #f09d4e8a;
		opacity: 1;
		z-index: 500;
		color: #FFF;
	}

	.imageBox .imgZoom:hover i {
		border-radius: 50px;
	}

	.imgZoom i,
	.galerie .card i {
		opacity: 0;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
	}

	a.noBorder:hover img,
	a.noBorder:active img {
		-webkit-filter: grayscale(1);
		filter: grayscale(1);
	}
}



.map {
	margin: 0;
}

.map iframe {
	max-width: 100%;
	height: auto;
	border-radius: 0.6rem;
	display: block;
	min-height: 400px;
}

/*
 *
 *	Back to top
 *
*/

.toTop i {
	line-height: 1.6em;
	font-size: 20px;
	color: #985c30;
	position: absolute;
	top: 4px;
	left: 10px;
}

.toTop {
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 100px;
	right: -10px;
	z-index: 10;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	white-space: nowrap;
	background: #f7debf;
	visibility: hidden;
	opacity: 0;
	border-radius: 25px;
	transition: all .2s linear;
	-o-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-webkit-transition: all .2s linear;
}

.toTop.toTopvisible,
.toTop.toTopfadeout,
.toTop:hover,
.toTop:active {
	right: 30px;
}

.toTop:hover {
	background-color: #f09d4e;
	color: #FFF;
	opacity: 1;
}

@media only screen and (min-width: 768px) {
	.toTop {
		right: 20px;
		bottom: 20px;
	}
}

@media only screen and (min-width: 1024px) {
	.toTop {
		height: 50px;
		width: 50px;
		right: -10px;
		bottom: 30px;
	}

	.toTop i {
		top: 9px;
		left: 15px;
	}
}

.toTop:hover i,
.toTop:active i {
	color: #FFF;
}

.toTop.toTopvisible {
	visibility: visible;
	opacity: 1;
	z-index: 1200;
}

/* .toTop.toTopfadeout {
    opacity: .4;
} */


/*
 *
 *	Footer
 *
*/

.footer {
    background-color: #985c30;
    color: #fee5c8;
}

.footerRS {
	display: flex;
	justify-content: center;
	flex-direction: column;
	color: #fee5c8;
	text-transform: uppercase;
}

.footerRS img {
	width: 70px;
	height: auto;
}

.footerRS a:link,
.footerRS a:visited {
	margin-left: 20px;
	margin-right: 20px;
	border: 0;
}

.footerRS a:hover,
.footerRS a:active {
	border: 0;
}

.footerPages li.list-group-item {
	background-color: transparent;
	border: 0;
	color: #fee5c8;
}

.footerPages {
	color: #fee5c8;
}

.footerLogo {
	color: #fee5c8;
}

.footerLogo a:link,
.footerLogo a:visited,
.footerPages a:link,
.footerPages a:visited {
	color: #fee5c8;
	text-decoration: none;
}

.footerLogo a:hover,
.footerLogo a:active,
.footerPages a:hover,
.footerPages a:active {
	color: #FFF;
}

.footerLogo img {
	max-width: 330px;
}