/*!
Theme Name: snury
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: snury
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

#page {
	position: relative;
	min-height: calc(100% - 50px);
}

html {
	height: 100%;
}

body {
	font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
	height: 100%;
}

h2 {
	font-weight: normal;
	font-size: 35px;
}

.skip-link.screen-reader-text {
	display: none;
}

.site-title {
	display: none;
}

.site-branding img {
	width: 200px;
    height: auto;
}

.site-branding {
	text-align: center;
	padding-top: 40px;
	margin-bottom: 60px;
}

.site-branding p {
	margin: 5px 0 0 0;
	font-size: 17px;
}

.menu-toggle {
	display: none;
}

.main-navigation ul {
	padding: 0;
	text-align: center;
	margin: 50px 0 30px;
}

.main-navigation ul li {
	list-style: none;
	display: inline-block;
	margin: 0 20px;
	position: relative;
}

.main-navigation ul li::after {
	content: "|";
	position: absolute;
	margin-left: 20px;
	top: 3px;
}

.main-navigation ul li:last-child::after {
	content: "";
}

.main-navigation ul li a {
	color: black;
	text-decoration: none;
	font-size: 19px;
	-webkit-transition: all 0.5s; 
  	transition: all 0.5s;
}

.main-navigation ul li:first-child a {
	text-decoration: underline;
	opacity: 0.5;
}

.main-navigation ul li a:hover {
	opacity: 0.5;
}

/*-----*/

.archive .site-main h1 {
	text-align: center;
	margin-bottom: 40px;
}

#portfolio, .archive .site-main {
	max-width: 1000px;
    margin: auto;
    padding-bottom: 40px; 
}

#portfolio ul, .archive ul {
	padding: 0;
}

#portfolio li, .archive li {
	width: calc(33.3% - 20px);
    float: left;
    list-style: none;
    margin: 0 10px 15px;
    position: relative;
    overflow: hidden;
}

#portfolio li a, .archive li a {
    font-size: 0;
}

#portfolio li img, .archive li img {
	max-width: 100%;
	height: auto;
	transition: all .35s ease-in-out;
	aspect-ratio: 1;
	object-fit: cover;
}

#portfolio li h3, .archive li h3 {
	opacity: 0;
	font-size: 25px;
    color: black;
    font-weight: 100;
    text-align: center;
    margin: 0;
    position: absolute;
    top: 40px;
    left: 40px;
    height: calc(100% - 80px);
    width: calc(100% - 80px);
    background-color: #f3f3f3;
    transition: all 0.5s ease-in-out;
}

#portfolio li h3::after, .archive li h3::after {
	content: "+";
    position: absolute;
    right: 10px;
    bottom: 2px;
    font-size: 30px;
}

#portfolio li h3 span, .archive li h3 span {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 20px);
    left: 0;
    padding: 0 10px;
}

#portfolio li:hover h3, .archive li:hover h3 {
	opacity: 1;
}

#portfolio li:hover img, .archive li:hover img {
	transform: scale(1.2);
	filter: brightness(80%);
        -webkit-filter: brightness(80%);
        -moz-filter: brightness(80%);
        -o-filter: brightness(80%);
        -ms-filter: brightness(80%);
}

/*------*/

.site-footer {
	clear: both;
	width: 100%;
	position: absolute;
	bottom: 0;
}

.site-footer p {
	text-align: center;
	font-size: 13px;
	margin-bottom: 0 !important;
	height: 30px;
}

/*------*/

.single-post h1 {
    font-size: 35px;
    font-weight: 100;
    margin-top: 0px;
    margin-bottom: 15px;
}

.single-post p {
	margin-top: 10px;
	margin-bottom: 50px;
}

.single-post a {
	color: black;
}

.single-post a:hover {
	text-decoration: none;
}

.single-post .entry-meta {
	display: none;
}

.single-post .post {
	max-width: 800px;
	margin: auto;
	margin-top: 50px;
	background-color: whitesmoke;
	position: relative;
	padding: 40px 50px 60px;
	width: calc(100% - 100px);
}

.single-post .post-thumbnail img {
	width: 100%;
    height: auto;
}

.single-post .entry-content {
	max-width: 700px;
    /*margin: auto;*/
}

.single-post .cat-links {
	display: none;
}

.single-post .post-slide, .single-post .post-thumbnail {
	width: 60%;
    float: left;
    display: none;
}

.single-post .post-slide img {
	width: 100%;
}

.fagsfacf-gallery-slider button.slick-next, .fagsfacf-gallery-slider button.slick-next:hover, .fagsfacf-gallery-slider button.slick-next:focus, .fagsfacf-gallery-carousel button.slick-next, .fagsfacf-gallery-carousel button.slick-next:hover, .fagsfacf-gallery-carousel button.slick-next:focus,
.fagsfacf-gallery-slider button.slick-prev, .fagsfacf-gallery-slider button.slick-prev:hover, .fagsfacf-gallery-slider button.slick-prev:focus, .fagsfacf-gallery-carousel button.slick-prev, .fagsfacf-gallery-carousel button.slick-prev:hover, .fagsfacf-gallery-carousel button.slick-prev:focus {
	width: 40px;
    height: 40px;
    border-radius: 50% !important;
    margin: 0 10px !important;
    background-color: transparent !important;
    border: 1.5px solid white !important;
    background-size: 12px 19px !important;
    padding: 0 !important;
}

.fagsfacf-gallery-slider .slick-dots, .fagsfacf-gallery-carousel .slick-dots {
	bottom: 10px !important;
}

.fagsfacf-gallery-slider .slick-dots li button, .fagsfacf-gallery-carousel .slick-dots li button {
	border-color: whitesmoke;
}

.single-post .content-post {
	width: calc(40% - 70px);
    float: left;
    padding-left: 35px;
    position: absolute;
  	top: 50%; /* poussé de la moitié de hauteur du référent */
  	transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
  	left: 60%;
} 

.single-post .content-post .tags {
	margin-top: 25px;
}

.single-post .content-post .tags a {
	font-size: 13px !important;
	text-decoration: none;
	color: #828282;
	display: inline-block;
	margin-right: 10px;
}

.single-post .content-post .tags a::before {
	content: "#";
}

.single-post .navigation.post-navigation h2 {
	display: none;
}

.single-post .navigation.post-navigation {
	max-width: 1000px;
	margin: auto;
	padding-top: 30px;
    padding-bottom: 80px;
}

.single-post .navigation.post-navigation .nav-previous {
	float: left;
}

.single-post .navigation.post-navigation .nav-next {
	float: right;
}

.single-post .navigation.post-navigation .nav-previous::before {
	content: "< ";
}

.single-post .navigation.post-navigation .nav-next::after {
	content: " >";
}

/*---*/

.error-404 {
	padding-top: 40px;
	padding-bottom: 100px;
}

.error-404 .page-title, .error-404 p {
	text-align: center;
}

.error-404 p a {
	color: black;
}

.error-404 p a:hover {
	text-decoration: none;
}

/*---*/

@media screen and (max-width: 1000px) {
	.single-post .post-slide, .single-post .post-thumbnail {
		width: 100%;
    	float: none;
	}

	.single-post .content-post {
		width: calc(100% - 70px);
    	float: none;
    	position: relative;
    	top: auto;
    	transform: none;
    	left: auto;
    	padding-top: 50px;
    	padding-bottom: 50px; 
	}

	.single-post .navigation.post-navigation {
		width: 80%;
		margin: auto;
	}
}

@media screen and (max-width: 550px) {
	#portfolio li, .archive li {
		width: calc(50% - 20px);
	}


	#portfolio li h3, .archive li h3 {
		top: 10px;
	    left: 10px;
	    height: calc(100% - 20px);
	    width: calc(100% - 20px);
	    font-size: 20px;
	}
}







