/*
Theme Name: Les Films de la Gorgone
Author: MattDev
Author URI: https://mattdev.fr
Description: Theme WordPress personalisé pour l'association Les Films de la Gorgone.
Version: 1.3
Requires at least: 5.0
Tested up to: 7.4
Requires PHP: 7.4
*/

/* 
    GENERAL
*/

body {
    font-family: "Open Sans", sans-serif;

    --fdlg-50: #f6f6f6;
    --fdlg-100: #e7e7e7;
    --fdlg-200: #d1d1d1;
    --fdlg-300: #b0b0b0;
    --fdlg-400: #888888;
    --fdlg-500: #6d6d6d;
    --fdlg-600: #5d5d5d;
    --fdlg-700: #4f4f4f;
    --fdlg-800: #454545;
    --fdlg-900: #3d3d3d;
    --fdlg-950: #000000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Zilla Slab", sans-serif;
    text-transform: uppercase;
}

.main-bg {
    background-color: var(--fdlg-50);
    height: 100%;
}

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

a[target="_blank"]::after {
	content: "\F1C5";
	font-family: "bootstrap-icons";
	font-size: 11px;
	margin-left: 5px;
}

.mdv-logo {
	margin-left: 2px;
	width: 75px;
	height: auto;
	margin-top: -3px;
}

/* 
	MOBILE 
*/

@media (max-width: 1000px) {
	.fdlg-slider .splide__slide__infos {
		margin-left: 60px;
		margin-right: 70px;
		margin-top: 320px;
	}
	.splide__slide__infos h2 {
		font-size: 20px !important;
		text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
	}

	.card img {
		width: 100% !important;
		height: 250px;
		object-fit: cover;
	}

	.col-md-4 {
		margin-bottom: 15px;
	}

	.splide_partners img {
		width: 190px !important;
		height: 120px;
		object-fit: contain;
	}

	.col-4 {
		width: 100% !important;
	}

	.col-8 {
		width: 100% !important;
		padding-right: 0px !important;
		padding-left: 0px !important;
	}

	footer .text-right {
		text-align: center;
		margin-top: 10px;
	}

	footer .col {
		flex: content;
	}

	.pod-logo {
		height: 180px !important;
	}
	
	.podcast-info {
		margin-top: -80px !important;
	}
	
	.pod-info {
		margin-top: 100px !important;
	}

	.card.episode-page {
		flex-direction: column !important;
		margin-bottom: 20px;
	}

	.plyr__controls__item.plyr__volume {
		display: none;
	}
  
}

@media (min-width: 1000px) AND (max-width: 1540px) {


	.fdlg-slider .splide__slide__infos {
		margin-left: 140px;
		margin-right: 140px;
		margin-top: 320px;
	}
	.splide__slide__infos h2 {
		font-size: 35px !important;
		text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
	}

}


/* 
    HEADER
*/

.bg-gray {
    background-color: var(--fdlg-600);
    color:white;
}

.bg-gray a {
    color:white !important;
}   

.fdlg-logo {
    margin-right: 25px;
}

.nav-link {
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: none;
    margin-right: 10px;
    transition: 0.3s ease;
}

.nav-link:hover {
	color: var(--fdlg-100) !important;
    border-bottom: 1px solid white;
    transition: 0.3s ease;
}

.nav-link a {
	color: white;
	text-decoration: none;
}

.color-page img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  z-index: 1;
}

/* 
    SEARCH FORM
*/

.fdlg-search {
	display: flex;
	gap: 15px;
}

.fdlg-search span.search-icon {
    font-size: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
}

  .search-icon::after {
    content: url();
    margin-left: 10px;
    border-left: 2px solid var(--bs-gray-500);
    position: absolute;
    display: -webkit-inline-box;
    margin-top: 2px;
  }
  
.search-form {
    background: var(--fdlg-50);
    padding-top: 5px;
    padding-bottom:5px;
}

.search-form .form-control {
    border: none;
    background: none;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 5px;
}

.search-form .form-control:focus {
    box-shadow: none; 
}

/* 
    MAIN
*/

/* 404 */
.py-404 {
	padding-top: 80px;
	padding-bottom: 80px;
}

/* SLIDER */
#splide01 {
	height: 600px;
}

.fdlg-slider img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.fdlg-slider .splide__slide {
	height: 600px;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

.splide__slide__category {
	text-transform: uppercase;
	width: fit-content;
	color: white;
	display: block;
    margin-bottom: 15px;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}

.splide__slide__category img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.splide__slide__infos {
	color: white;
	margin-left: 200px;
	margin-right: 200px;
	margin-top: 320px;
    
}

.splide__slide__infos h2 {
	font-size: 45px;
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}

.card.episode hr {
    margin: 10px 0px 10px 0px;
}

.title {
	width: fit-content;
	background: white;
	padding: 10px 20px 10px 20px;
	margin-bottom: 20px;
	margin-top: 40px;
	color: var(--fdlg-900);
	font-weight: bold;
	text-transform: uppercase;
    font-size: auto;
    margin-bottom: 0px;
}

.subtitle {
	font-family: "Zilla Slab", sans-serif;
	width: fit-content;
	background: var(--fdlg-700);
	padding: 5px 20px 7px 20px;
	margin-bottom: 20px;
	margin-top: 0px;
	color: white;
	text-transform: uppercase;
	font-size: 20px;
	margin-bottom: 0px;
}

.partners-title {
	font-family: "Zilla Slab", sans-serif;
	width: fit-content;
	margin-bottom: 20px;
	margin-top: 20px;
	color: var(--fdlg-800);
	text-transform: uppercase;
	font-size: 20px;
	margin-bottom: 0px;
    font-weight: bold;
}


.splide_partners .splide__slide {
    text-align: center;
    height: 150px;
}

.splide_partners img {
    width: 450px;
    height: 120px;
    object-fit: contain;
}

/* CATEGORIES AND SINGLE PAGES */

.color-page {
    height: 300px;
    background: var(--fdlg-500);
}
  
.contain-content h1 {
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 17px;
	text-shadow: 3px 3px 12px rgba(0,0,0,0.42);
}
  
.container.contain-content.py-4 {
    margin-top: -122px;
    padding-bottom: 40px !important;
}
  
.content {
	background: white;
	padding: 45px 70px 45px 70px;
	text-align: justify;
	z-index: 9999;
	position: relative;
}

.page-link {
    color: var(--fdlg-800);
    text-decoration: none;
    font-weight: bold;
    font-size: large;
}

.post-img img {
	width: 200px;
	height: 100px;
	object-fit: cover;
}
  
.card img {
	width: 100% !important;
	height: 250px;
	object-fit: cover;
}

.gray {
	color: var(--fdlg-400);
}

.wp-block-image img {
	width: 100%;
	box-sizing: initial;
}

/* 
   PODCAST PAGE
*/

.podcast-info {
	margin-top: -115px;
    margin-bottom: 15px;
}

.flex {
	display: flex;
}

.pod-logo {
	width: 180px;
	border-radius: 15px;
	border: 4px solid white;
}

.pod-info {
	margin-top: 145px;
	margin-left: 25px;
}

.pod-info a {
	text-decoration: none;
	color: inherit;
}

.pod-info h4 {
    font-size: 30px;
    font-weight: bold;
}

.plyr--audio {
	display: block;
	border: 1px solid var(--fdlg-100);
	border-radius: 6px;
}

.card.episode-page img {
	width: 240px !important;
	object-fit: cover;
}

.card.episode-page {
  flex-direction: row;
  margin-bottom: 20px;
}

/* 
    FOOTER
*/

.bg-fdlg-fullb {
    background-color: var(--fdlg-700);
    color: white;
}

.footer {
    padding-top: 30px !important;
}

.footer hr {
    color: white;
}

.filmgorgone-footer {
    padding-bottom: 30px !important;
}

.infos {
    margin-bottom: 15px;
    display: block;
    color: var(--fdlg-200);
    font-style: italic;
    font-weight: normal;
}
  
footer span {
    font-weight: bold;
    color: white;
}
  

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

.filmgorgone-footer a {
	color: white;
	text-decoration: none;
	font-weight: 500;
	font-size: 17px;
	display: block;
	margin-top: 4px;
}

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

html, .bg-footer-end {
    background: url(/wp-content/themes/filmsdelagorgone/assets/img/end_footer_bg.png);
}

.filmgorgone-footer-end {
    color: white;
    padding: 20px;
    font-size: 13px;
}

.filmgorgone-footer-end a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    margin-right: 15px;
    
}

.social {
    display: flex;
}

.social a {
	margin-right: 10px;
	font-size: 20px;
}

.footer-menu {
	list-style: none;
	text-transform: uppercase;
}

/*
    WOOCOMMERCE
*/

.price {
	font-size: 23px;
}

.badge.promo {
	border-radius: 0;
	overflow: hidden;
	position: absolute;
	text-transform: uppercase;
	font-size: 15px;
}

.product-status::before {
	display: inline-block;
	background: ;
	width: 15px;
	height: 15px;
	background: #188ff7;
	content: "";
	vertical-align: middle;
	border-radius: 20px;
	margin-left: 8px;
	margin-top: -3px;
}

.product-status.out::before {
	background: red;
}

.product-status.warn::before {
	background: orange;
}

.product-status.ok::before {
	background: green;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
	color: var(--fdlg-900);
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
	color: var(--fdlg-900);
	font-size: 25px;
}

.woocommerce .quantity .qty {
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--bs-body-color);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: var(--bs-body-bg);
	background-clip: padding-box;
	border: var(--bs-border-width) solid var(--bs-border-color);
	border-radius: var(--bs-border-radius);
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

a[rel="tag"] {
	text-decoration: none;
	background: var(--fdlg-100);
	padding: 5px 10px 5px 10px;
	color: black;
	text-transform: uppercase;
	margin-left: 3px;
}

.woocommerce-loop-product__title {
	font-size: 20px !important;
}

.page-title {
	color: black !important;
	border-bottom: 1px solid var(--fdlg-100);
	padding-bottom: 6px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
	background-color: var(--bs-secondary);
    transition: 0.2s ease;
	height: 38px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:hover {
	background-color: var(--fdlg-700);
    transition: 0.2s ease;
	color: #fff;
}

.woocommerce span.onsale {
	height: 80px;
	width: 80px;
	padding: .202em;
	font-size: 1em;
	font-weight: 700;
	position: absolute;
	text-align: center;
	line-height: 70px;
	top: -2em;
	left: -1.6em;
	margin: 0;
	border-radius: 100%;
	background-color: #e84e12;
	color: #fff;
	font-size: .857em;
	z-index: 9;
}

.product_title.entry-title {
	color: black;
}

.woocommerce #review_form #respond textarea {
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--bs-body-color);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: var(--bs-body-bg);
	background-clip: padding-box;
	border: var(--bs-border-width) solid var(--bs-border-color);
	border-radius: var(--bs-border-radius);
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

label {
	font-weight: bold;
	margin-top: 7px;
}

.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    background: var(--bs-secondary);
    color: white;
    text-decoration: none;
    font-family: "Zilla Slab", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
  }
  
.wc-block-cart-item__remove-link {
    color: var(--bs-red) !important;
}

.components-button {
	border: 1px solid #8080802e;
	border-radius: 5px;
}
  





