/* 
Theme Name:		 BROWARE Proteo
Theme URI:		 https://www.broware.fr/
Description:	 Theme based on YITH Proteo
Author:			 BROWARE
Author URI:		 https://www.broware.fr/
Template:		 yith-proteo
Version:		 1.0.1
Text Domain:	 yith-proteo-child
*/

/**********/
/* SLIDER */
/**********/
.yith-slider .yith-slider-nav {
	top:60%;filter:invert(1);
}
/* Adds banner padding */
.yith-slider .yith-slider-slide h1, .yith-slider .yith-slider-slide h2, .yith-slider .yith-slider-slide h3, .yith-slider .yith-slider-slide h4, .yith-slider .yith-slider-slide h5, .yith-slider .yith-slider-slide h6, .yith-slider .yith-slider-slide p {	
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
	text-align: center;
	text-align-last: center;
}
/* Removes header padding*/
.yith-slider .yith-slider-slide .slide-container {
	top: 0;
	max-width: unset;
	padding: unset;
}
.yith-slider.alignfull .yith-slider-slide, .yith-slider.fullscreen .yith-slider-slide {
	padding-top: 0 !important;
}
.yith-slider.alignfull .wp-block-cover, .yith-slider.fullscreen .wp-block-cover {
	padding: 8rem 2rem 4rem !important;
}
/* Fixes alignfull slider height */
.yith-slider.alignfull {
	height: 100% !important;
}
/* Fixes page slider full width */
@media (max-width: 768px) {
	.home .yith-slider.alignfull {
	height: 100vh !important;
	min-height: 100vh !important;
	max-height: 100vh !important;
	max-height: -webkit-fill-available !important;
	overflow: hidden;
	}
	.home .yith-slider.alignfull .yith-slider-slide .slide-container {
		height: 100%;
		max-height: 100vh;
		max-height: -webkit-fill-available;
	}
	.home .yith-slider.alignfull .yith-slider-slide .slide-container .wp-block-cover {
		height: 100vh;
	}
	.home .yith-slider.alignfull .yith-slider-nav {
		top: 45%;
	}
	/* Adds bottom arrow */
	.home .yith-slider.alignfull:not(.slick-dotted):after {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 1;
		text-align: center;
		content: "\21F3";
		font-weight: 100;
		font-size: 3rem;
		animation: bounce 0.35s ease infinite alternate;
	}
}
@media (min-width: 769px) {
	.home .yith-slider.alignfull .wp-block-cover {
		min-height: 33vh;
	}
}
/* Fixes safari slider full screen */
.yith-slider.fullscreen {
	height: 100% !important;
	max-height: 100vh !important;
	max-height: -webkit-fill-available !important;
	overflow: hidden;
}
.yith-slider.fullscreen .yith-slider-slide .slide-container {
	height: 100%;
	max-height: 100vh;
	max-height: -webkit-fill-available;
}
.yith-slider.fullscreen .yith-slider-slide .slide-container .wp-block-cover {
	height: 100vh;
}
.yith-slider.fullscreen .yith-slider-nav {
	top: 45%;
}
/* Adds bottom arrow */
.yith-slider.fullscreen:not(.slick-dotted):after {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	text-align: center;
	content: "\21F3";
	font-weight: 100;
	font-size: 3rem;
	animation: bounce 0.35s ease infinite alternate;
}
@keyframes bounce {
     from {transform: translateY(0);}
     to   {transform: translateY(-1.5rem);}
}
/* Colors sticky header */
.site-header.with-header-slider #topbar {
	background: transparent;
}
.site-header.with-header-slider #topbar .widget.widget_text p {
	color: var(--proteo-sticky_header_menu_color, #404040);
}
.site-header.with-header-slider.header-bottom-separator-line:not(.sticky)::after {
	height: 0;
}
.site-header:not(.sticky).with-header-slider .main-navigation:not(.toggled) a:hover,
.site-header:not(.sticky).with-header-slider .main-navigation:not(.toggled) .widget_shopping_cart .proceed-to-cart-icon:hover span.lnr,
.main-navigation:not(.toggled) ul ul li a:hover {
	color: var(--proteo-header_menu_hover_color, #448a85) !important;
}