/*!
Theme Name: righttofoodandnutrition
Theme URI: https://them.es/starter
Author: Tactic
Author URI: https://them.es/
Description: 
Version: 3.5.3
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: righttofoodandnutrition
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.woff2') format('woff2'),
        url('fonts/Roboto-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto italic';
    src: url('fonts/Roboto-Italic.woff2') format('woff2'),
        url('fonts/Roboto-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto bold italic';
    src: url('fonts/Roboto-BoldItalic.woff2') format('woff2'),
        url('fonts/Roboto-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto bold';
    src: url('fonts/Roboto-Bold.woff2') format('woff2'),
        url('fonts/Roboto-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto light italic';
    src: url('fonts/Roboto-LightItalic.woff2') format('woff2'),
        url('fonts/Roboto-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto light';
    src: url('fonts/Roboto-Light.woff2') format('woff2'),
        url('fonts/Roboto-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


body {font-family: 'Roboto';}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, strong {font-family: 'Roboto bold'; font-weight: 700;}
.fw-lighter { font-family: 'Roboto light';}
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.home .entry-title {display: none;}
.font-italic {font-style: italic;}

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

.color-white {color: white !important;}

.multispan > span:after {content:'- '}
.multispan > span:last-child:after {content:' '}

.blocks a{color: black;}


.carousel-item { height: 60vh; position: relative; min-height: 500px;	
	background-attachment: fixed;
	background-position: top; 
	background-repeat: no-repeat;
	background-size: cover;
}
.carousel-item-container {position: absolute; bottom: 0; left: 0;right: 0; background-color: rgba(0, 101, 51, 0.75);width: 100%;padding: 2rem;}
.carousel-item-title a {color: white;}

.carousel-control-next, .carousel-control-prev {
	align-items: end !important;
	margin-bottom: 2rem;
  }

  .carousel-control-next-icon, .carousel-control-prev-icon {

	background-size: 70% 70% !important;
	height: 3rem !important;
	width: 3rem 	!important;
	border-radius: 50%;
	padding: 1rem;
	border: solid 1px white;
  }



  .d-flex {flex-wrap: wrap !important;}

  #navbar {align-items: center;
	justify-content: center;}

.menu-item {text-transform: uppercase; }
.menu-item a, .searchmenu {color: white;font-weight: bold;}
.dropdown-menu .menu-item a {color:black}

#footer .menu-item a, #footer  .searchmenu {color: black;font-weight: bold;}

#navbar {
	background-color: #BDBDBD;
  
  }

.alignfull {
	margin: 0px calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}


.boxlangliees {background-color: #EBEBEB;
	padding: 10px 15px;
}
.boxlangliees a {color: black;}


.col-single-gauche, .col-single-droite {position: -webkit-sticky;
	position: sticky;
	top: 1rem;
	-ms-flex-item-align: start;
	align-self: flex-start;}

.col-single-droite {border-left: solid 1px rgb(199, 199, 199);}


@media (min-width: 768px) { 
.home #navbarcol {position: relative;z-index: 9;}
#carouselExampleIndicators {margin-top: -2.5rem;}
 }


.home #main {position: relative; background-color: white; margin-top: -0.7rem !important;}



.searchandfilter {
	margin: 1rem 0;
	border: solid 1px black;
	padding: 1rem 0;
  }
  
  .searchandfilter > ul {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(3, minmax(200px, 1fr));
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .searchandfilter > ul > li {
	  list-style: none;
	display: block;
	padding: 10px 0;
	margin: 0;
	margin-right: 1rem;
	width: 90%;
  }
  
  .searchandfilter .sf-input-select, .searchandfilter .sf-input-text, .searchandfilter .sf-label-checkbox, .chosen-container .chosen-drop, .chosen-container-single .chosen-single, .chosen-container-multi .chosen-choices {
	border: solid 1px black !important;
	background-color: #FAF9F8;
	color: black !important;
	font-size: calc(8px + 0.3125vw) !important;
	letter-spacing: 0.025em;
	border-radius: 0 !important;
	cursor: pointer;
	width: 100%;
	background-image: none;
	box-shadow: none;
  }
  
  .pagination {border-top:solid 1px rgb(179, 179, 179);border-bottom:solid 1px rgb(179, 179, 179); margin: 2rem 0;}
  .wp-pagenavi {margin: 0rem auto; padding: 2rem 0; }


  #footer {border-top: solid 1px black;
	padding-top: 2rem;
	margin-top: 3rem;
	padding-bottom: 1rem;
	border-bottom: solid 5px black;}

.text-right {text-align: right;}

.iconopacity span {opacity: 0.7;}
.slideicone {color:white}
.slideicone > span {font-size: 2rem;}