/*
	Theme Name: Malcolm France
	Theme URI: http://malcolm-france.com
	Description: Tout sur la série Malcolm : news quotidiennes, guide des épisodes, biographies des acteurs, dossiers inédits, galeries de photos, extraits vidéos, forums...
	Version: 3.2025.08.02
	Author: Jérôme BAS
	Author URI: https://www.linkedin.com/in/j%C3%A9r%C3%B4me-bas-56002a79/
	Tags: Malcolm, Wordpress

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-webkit-box-sizing:border-box;
	        box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/



@media only screen and (min-width:320px) {

}

@media only screen and (min-width:480px) {

}

@media only screen and (min-width:768px) {

}

@media screen and (max-width: 767px) {
	
}

@media only screen and (min-width:1024px) {

}

@media only screen and (min-width:1140px) {

}

@media only screen and (min-width:1280px) {

}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.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 {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		-webkit-box-shadow:none !important;
		        box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/*
** VOD
*/
body.home .main-content .broadcasts article a {
	align-items: center;
	display: flex;
    font-family: Roboto Condensed,sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 19px;
    padding: 7px 15px;
	text-align: left;
	text-decoration: none;
}

body.home .main-content .broadcasts article a img {
	display: block;
	flex: 1;
	margin-right: 15px;
	max-width: 100px;
	min-width: 100px;
	width: 100px;
}

body.home .main-content .broadcasts .alert {
	align-items: center;
	display: flex;
	text-align: left;
}

body.home .main-content .broadcasts .alert :last-child {
	margin-bottom: 0;
}

body.home .main-content .broadcasts .alert img {
	display: block;
	flex: 1;
	margin-right: 15px;
	max-width: 100px;
	min-width: 100px;
	width: 100px;
}

.sidebar section.vod article a {
	align-items: center;
	display: flex;
	text-align: left;
}

.sidebar section.vod article a img {
	display: block;
	flex: 1;
	margin-right: 15px;
	max-width: 100px;
	min-width: 100px;
	width: 100px;
}

.sidebar section.broadcasts .alert {
	align-items: center;
	display: flex;
	text-align: left;
}

.sidebar section.broadcasts .alert img {
	flex: 1;
	margin-right: 15px;
	max-width: 100px;
	min-width: 100px;
	width: 100px;
}

.main-content .illustration .copyright {
	background-color: rgba(0,0,0,.5) !important;
	color: #fff !important;
}

/*
** Bernard
*/
/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

.bernard {
	background-color: transparent;
	border-radius: 50%;
	border: none;
	bottom: 0;
	color: transparent;
	display: block;
	height: 100px;
	left: -200px;
	padding: 0;
	position: fixed;
	text-indent: -2000em;
	width: 100px;
	z-index: 10;

 	-webkit-box-shadow: 0px 50px 50px -10px rgba(0,0,0,0.75); 
	box-shadow: 0px 50px 50px -10px rgba(0,0,0,0.75);

	-webkit-animation: ballPosition 60s linear infinite alternate;
	animation: ballPosition 60s linear infinite alternate;
}

.bernard:before,
.bernard::before {
	background-image: url('img/bernard.png');
	background-position: center center;
	background-size: cover;
	content: "";
	display: block;
	height: 100px;
	width: 100px;

	-webkit-animation: ballRotate 60s linear infinite alternate;
	animation: ballRotate 60s linear infinite alternate;
}

.bernard:hover {
	-webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

.bernard:hover:before,
.bernard:hover::before {
	-webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

@keyframes ballPosition {
  0%   { left: -200px; }
  45%   { left: calc(100% - 100px); }
  55%   { left: calc(100% - 100px); }
  100%   { left: -200px; }
}

@-webkit-keyframes ballPosition {
  0%   { left: -200px; }
  45%   { left: calc(100% - 100px); }
  55%   { left: calc(100% - 100px); }
  100%   { left: -200px; }
}

@keyframes ballRotate {
  0%   { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  45%   { -webkit-transform: rotate(1080deg); transform: rotate(1080deg); }
  55%   { -webkit-transform: rotate(1080deg); transform: rotate(1080deg); }
  100%   { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
}

@-webkit-keyframes ballRotate {
  0%   { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  45%   { -webkit-transform: rotate(1080deg); transform: rotate(1080deg); }
  55%   { -webkit-transform: rotate(1080deg); transform: rotate(1080deg); }
  100%   { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
}

/*
** Logo spécial 20 ans
*/
.main-header .main-navbar .logo.fixed>span>img {
	height: 47px;
}

@media screen and (max-width: 1199px) {
	.main-header .main-navbar .logo>span>img {
		height: 47px;
	}
}

/*
** Blockquote
*/
body .main-content blockquote {
	border-left: 3px solid #fdc800;
	margin-left: 45px;
	padding-left: 10px;
}

body .main-content blockquote::before {
	left: -45px;
}

body .main-content blockquote p {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.125rem;
	font-style: normal;
	font-weight: 500;
	line-height: 1.75rem;
}

body .main-content blockquote.wide {
	margin-left: 75px;
	padding-left: 10px;
}

body .main-content blockquote.wide::before {
	left: -75px;
}

body .main-content blockquote.wide p {
	color: #414141;
}

/*
**
*/
body.single .page-template-product .owl-container {
	background-color: #fff;
}

body.single .page-template-product .main-content {
	float: none;
	padding: 0;
	width: 100%;
}

body.single .page-template-product .main-content .price {
    margin-bottom: 30px;
    text-align: center;
}

body.single .page-template-product .main-content .price span {
	font-family: Roboto Condensed, sans-serif;
	font-size: 2.5rem;
	font-weight: 500;
	line-height: 42px;
}

body.single .page-template-product .main-content .price span>span {
	font-size: 1.5rem;
}

body.single .page-template-product .btn-yellow {
	font-size: .9375rem;
    font-weight: 700;
    line-height: 33px;
}

body.single .page-template-product .btn-yellow svg {
	display: inline-block;
    height: 33px;
    margin-left: 5px;
    max-width: 100%;
    vertical-align: middle;
    width: auto;
}

body.single .page-template-product .btn-yellow svg path,
body.single .page-template-product .btn-yellow svg polygon {
	fill: currentColor !important;
}

/* 30/04/2025 */
body .main-footer .social-networks a {
	align-items: center;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
}

body .main-footer .social-networks a > svg {
    display: inline-block;
    fill: currentColor;
    height: 1em;
    line-height: 1;
    stroke: currentColor;
    vertical-align: middle;
    width: auto;
}

body .main-footer .social-networks a > svg :not([fill]):not([stroke]),
body .main-footer .social-networks a > svg [fill] {
	fill: currentColor;
	stroke: none;
}

body .main-footer .social-networks a > svg [stroke] {
	fill: none;
	stroke: currentColor;
}

body .main-footer .social-networks a:hover.bluesky {
    border-color: #208bfe;
    color: #208bfe;
}

/*
* 02/08/2025
*/

.sidebar section.shop img {
    aspect-ratio: 16/9;
    -o-object-fit: contain;
       object-fit: contain;
}

/*
* 11/08/2025
*/

.wq_singleAnswerCtr .wq_answerTxtCtr {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
	gap: 5px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    min-height: 19px;
}

/*
**
*/
body .gform_button {
	background: #414141 !important;
    border: 1px solid #414141 !important;
    color: #fdc800 !important;
    display: inline-block !important;
    font-family: Roboto Condensed, sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    padding: 9px 20px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    transition: all .3s ease !important;
}

body .gform_button:focus,
body .gform_button:hover {
    background: #fdc800 !important;
    border-color: #fdc800 !important;
    color: #414141 !important;
}

body .btn-yellow,
body .btn-yellow:focus,
body .btn-yellow:hover {
	font-size: 18px !important;
	line-height: 20px !important;
    padding: 9px 20px !important;
}

/*
** Hal GIF — traverse l’écran de droite à gauche puis retour à droite (CSS only).
*/
@keyframes hal-gif-cross {
	0% {
		right: 0;
	}
	50% {
		right: 100%;
		transform: translateX(100%);
	}
	100% {
		right: 0;
	}
}

#hal_gif_dismiss {
    bottom: 0;
	position: fixed;
    right: 0;
    z-index: 101;
}

#hal_gif {
	animation: hal-gif-cross 7.34s ease-in-out infinite;
	appearance: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	aspect-ratio: 480/270;
	background: url("img/hal.gif") no-repeat center center/cover;
	bottom: 0;
	display: block;
	max-width: 480px;
	padding: 0;
	position: fixed;
	right: 0;
	width: 100%;
	will-change: transform;
	z-index: 100;
}

@media (prefers-reduced-motion: reduce) {
	#hal_gif {
		animation: none;
		transform: none;
	}
}

#jeuConcours .modal-header .close {
	color: inherit;
	text-shadow: none;
}

#jeuConcours .modal-content {
	background-color: #fff;
	color: inherit;
}

#jeuConcours .modal-body label,
#jeuConcours .modal-body legend {
	font-weight: 700;
}
