/*
 Theme Name:	Folio Child
 Theme URI:		http://press75.com/view/folio/
 Description:	Folio Child Theme
 Author:		Press75
 Author URI:	http://press75.com
 Template:		folio
 Version:		1.0.0
 License:		GNU General Public License v2 or later
 License URI:	http://www.gnu.org/licenses/gpl-2.0.html
 Tags:			light
 Text Domain:	folio-child
*/

/* ----------------------------------------------------------
   Police locale : Yummo
   Fichiers dans : wp-content/themes/folio-child/fonts/
---------------------------------------------------------- */

@font-face {
  font-family: 'Yummo';
  src: url('fonts/yummo-thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: 'Yummo';
  src: url('fonts/yummo-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yummo';
  src: url('fonts/yummo-semi-bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yummo';
  src: url('fonts/yummo-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: 'Yummo Light';
  src: url('fonts/yummo-light.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------
   Application de Yummo
   Titres, navigation, noms de projets
---------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.site-description,
.entry-title,
.post-title,
.page-title,
.portfolio-title,
.portfolio-item-title,
.project-title,
.work-title,
.main-navigation,
.main-navigation a,
.menu,
.menu a,
.nav-menu,
.nav-menu a {
  font-family: 'Yummo', sans-serif !important;
}

/* ----------------------------------------------------------
   Texte courant
   Police par défaut du site : Yummo Regular
---------------------------------------------------------- */

body,
p,
li,
input,
textarea,
select,
button {
  font-family: 'Yummo', sans-serif;
  font-weight: 400;
}

.item-content .item-title {
  font-family: 'Yummo Bold', sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 1.6em;
  margin: 0 !important;
}

.item-content .item-category {
  display: block;
  font-family: 'Yummo Light', sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  margin-top: 2.8px;
}

.mfp-close {
  font-size: 0 !important;
}

.mfp-close::before {
  content: "fermer";
  font-size: 1rem;
}

.mfp-title,
.mfp-title-video,
.mfp-description,
.mfp-description-video {
  color: #d8d8d8 !important;
  font-family: 'Yummo', sans-serif !important;
  font-weight: 400 !important;
}

.mfp-title,
.mfp-title-video {
  font-family: 'Yummo Bold', sans-serif !important;
  font-weight: 400 !important;
  font-size: 1.1rem !important;
  line-height: 1.35 !important;
}

.mfp-description,
.mfp-description-video,
.mfp-description p,
.mfp-description-video p {
  font-size: 1rem !important;
  line-height: 1.45 !important;
}

.site-title {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.site-title a {
  font-family: 'Yummo Bold', sans-serif !important;
}

.site-title a:hover {
  color: #d2d2d2 !important;
}

.site-description,
.site-description-nologo {
  font-size: 1rem;
  line-height: 1;
  margin-top: 0;
  letter-spacing: 0.03em;
}

.home .isotope {
  margin-left: -4px;
  margin-right: -4px;
}

.home .isotope .item {
  box-sizing: border-box;
  padding-left: 4px;
  padding-right: 4px;
  padding-bottom: 8px;
}

.item-content-container {
  background: rgba(255, 255, 255, 0.72);
}

.item-content .item-title,
.item-content .item-category,
.item-content .dashicons {
  color: #626262 !important;
}

.filter-group button {
  font-size: 0.9em;
  color: #dddddd;
}

.filter-group button.active {
  color: #ffffff;
}

/* Protection visuelle d'une adresse e-mail écrite a l'envers dans le HTML */
.email-protected {
  unicode-bidi: bidi-override;
  direction: rtl;
}

.contact-portrait {
  margin: 0 0 2rem 0;
  padding: 0;
}

.contact-portrait img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 auto;
}

.main-navigation ul li a {
  color: #6f6f6f !important;
}

.main-navigation ul li a:hover,
.main-navigation ul li a.active {
  color: #4f4f4f !important;
}

.single .entry-content {
  max-width: 700px;
}

.single-post-body {
  display: block;
  width: 100%;
}

.single-post-body p {
  display: block;
  margin: 0 0 1.5rem;
}

.image-text-overlay-content {
  background: #525256;
  color: #e1e1e1;
  margin: 40px auto;
  max-width: 820px;
  padding: 0;
  width: calc(100% - 40px);
}

.image-text-overlay-inner {
  display: block;
}

.image-text-overlay-media img {
  display: block;
  height: auto;
  width: 100%;
}

.image-text-overlay-media-video iframe,
.image-text-overlay-media-video video,
.image-text-overlay-media-video embed,
.image-text-overlay-media-video object {
  display: block;
  min-height: 420px;
  width: 100%;
}

.image-text-overlay-body {
  padding: 28px 30px 36px;
}

.image-text-overlay-body-gallery {
  margin: 0 auto;
  max-width: 820px;
}

.image-text-overlay-title {
  color: #e1e1e1;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 0 0 1.25rem;
  text-align: center;
  text-transform: uppercase;
}

.image-text-overlay-text,
.image-text-overlay-text p,
.image-text-overlay-text a {
  color: #e1e1e1;
}

.image-text-overlay-text p {
  margin: 0 0 1.5rem;
}

.image-text-overlay-text a:hover {
  color: #ffffff;
}

.image-text-gallery-popup .mfp-bottom-bar {
  margin-top: 0;
}

.image-text-gallery-popup .image-text-overlay-body-gallery {
  background: #525256;
  margin-top: 1.5rem;
  padding: 28px 30px 36px;
  position: relative;
}

.image-text-gallery-popup .mfp-content {
  max-width: 820px;
}
