/*
 Theme Name:   OnePress Child
 Theme URI:    https://www.famethemes.com
 Description:  OnePress sample child theme
 Author:       Odile Georgallides
 Author URI:   https://webmaster-lausanne.ch
 Template:     onepress
 Version:      1.0.0
 Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */



.site-content {
    border-top: 0px solid #e9e9e9;
}


#site-header {text-align:center; }


#site-header figure {
    display:table; 
	margin:auto; 
	text-align:center; 
	 max-width:100%;
}
#site-header img {
	display:block;
	width:100vw ; 
	}
#site-header figcaption {
	background-color: #4f656e;
	color: #fff;
	padding:10px 30px;
	font-size:40px;
	text-align:left;
	margin-left:15%;
	margin-top:-30px;
	position:relative;
	z-index:10
}


.onepress-menu.onepress-menu-mobile
	{max-width:300px; background-color:#F7F7F9}
.onepress-menu.onepress-menu-mobile li {background-color:#F7F7F9}



.slideshow-wrapper {
     width:100vw !important; max-width:100%
}
.slideshow-fullsize {position:absolute; left:0; right:0; bottom:0; top:0;  width:100vw !important;
 }
.slideshow-fullsize a {
    position: absolute !important;
    background-color: #ffffff;
    height: 100% !important;
    width: 100% !important; width:100vw !important;
    left: 0 !important; right:0;
    z-index: 149;
    opacity: 0;
    filter: alpha(opacity=0);	
}
.slideshow-image {
    width: 100%; width:100vw !important; 
}
.slideshow-fullsize img {
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: absolute !important;
    height: auto !important; height:100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
	
}

.slideshow-imgnext.imgnav::before {right:20px !important;}




/*	mobiles et petits écrans jusqua 960
-----------------------------------------------    */

@media screen
and (max-width : 960px)
{
 	
	#site-header figcaption {
		font-size:30px;
		margin-left:0px;
		line-height:36px
		}
		
	.slideshow-wrapper {min-width:100vw !important; min-height:300px !important;}
	.slideshow-fullsize {min-height:300px !important; }
	.slideshow-fullsize a {min-height:300px !important;}
	.slideshow-image {width: auto !important;  min-height:300px !important;}
	.slideshow-fullsize img,
	#slideshow-wrappergallery175 #imagegallery175 img	{
			min-height:300px !important;
			width:auto !important;
			object-fit: cover;
		}
}

/*	écrans dès 960
-----------------------------------------------    */
@media screen
and (min-width : 960px)
{
 	

}