/*
 Theme Name:   CMSL2WP
 Theme URI:    http://dix-onze.ca/wp-blank/
 Description:  Theme par Dix-Onze inc.
 Author:       Dix-Onze inc.
 Author URI:   http://dix-onze.ca/
 Version:      5.0.0
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, main, input, textarea  {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary, main {
	display: block;
}

/*---Universal Selector to add additional resets, such as text-size adjust and tap highlighting---*/

* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration: none;
}


ol, ul {list-style-type: none;}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

/*---Additional Form resets---*/

button, input[type="button"] {
	background: none;
}

:required {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
	-ms-box-shadow: none;
	box-shadow: none;
}

/*---Typographic Styling---*/

em, i {
	font-style: italic;
}

strong, b {
	font-weight: bold;
}

u {
	text-decoration: underline;
}

pre, code {
	font-family: Monaco, Courier, monospace;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	white-space: pre-line;
	word-wrap: break-word;
}

blockquote, q {
	quotes: "" "";
}

blockquote:before, blockquote:after, q:before,	q:after {
	content: "";
}

/*---Interactive Element Settings---*/

a, input[type="submit"], input[type="button"], button, label[for] {
	cursor: pointer;
}

/* End strppd.css */

/* Proper box model */
* { }

/* General styles */

html {
	font-family: Arial, sans-serif;
    font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
    color: #4d4d4d;
}

body {
    background: #444444;
}

a{	
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
    color: #02A9BD;
    text-decoration: underline;
}

a:hover {
    color: #22dbf0;
}

address {
}

aside {
}

b, strong {
}

blockquote {
}

button {
	cursor: pointer;
}
button:hover {
}

caption, th, td {
	vertical-align: middle;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px #000000;
    animation-name: slideInFromLeft;
    animation-duration: 1s;
    animation-fill-mode: forwards;    
}
h2 {
    font-size: 1.625rem;
    margin: 0 0 10px 0;
    padding: 10px 0 3px 0;
    font-weight: normal;
    text-transform: uppercase;
}
h3 {
}
h4 {
}
h5 {
}
h6 {
}

i, em {
}

img {
}

input, select, textarea {
}

input[type="radio"] {
}
input[type="checkbox"] {
}
input[type="text"] {
}

label {
}

li {
}

p {
	margin-bottom: 20px;
}

select {
}
select option {
}

table {
	border: 0; border-spacing:0; empty-cells:show;
}

textarea {
	resize: none;
}

ul, ol {
	margin-left: 60px;
	margin-bottom: 20px;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}

hr {
    margin: 40px 0 20px 0;
    border: 0;
    border-top: 1px solid #eee;
}
hr.sans-top {
    margin-top: 0px;
}

/* Custom styles */

#pre-entete {
    width: 100%;
    height: 20px;
    background: rgb(225,227,225);
    background: linear-gradient(180deg, rgba(230,230,230,1) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);    
}

#entete-principale {
	width: 100%;
    height: 64px;
    background-color: #02a9bd;
    background-image: url("assets/images/fade-container.png");
    background-repeat: repeat-x;
    position: relative;
}

#logo-principal {
    margin-top: -5px;
    display: flex;
}

#menu-principal {
    height: 100%;
    display: inline-block;
}
	#menu-principal .sf-menu {
		margin: 0;
	}
	#menu-principal li {
		margin-left: 15px;
		background: none;
		border: none;
	}

	#menu-principal > ul {
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    #menu-principal > ul > li {
        height: 100%;
    }
    #menu-principal > ul > li > a {
        height: 100%;
        display: flex;
        align-items: center;   
        font-weight: bold;
    }
	#menu-principal li a {
		color: #fff;
		font-size: 0.875rem;
		margin: 0;
		padding: 0;
		border: none;
        text-transform: uppercase;
	}
	#menu-principal li a:hover {
		color: white;
	}
	#menu-principal ul.sub-menu {
        width: 275px;
		background: #02a9bd;
		border: 1px solid #02a9bd;        
		border-top: 4px solid white;
        padding: 10px 0;
	}
	#menu-principal ul.sub-menu li {
		text-align: left;
		margin: 0;
		padding: 2px 12px;
	}
	#menu-principal ul.sub-menu li a {
		color: #fff;
        text-wrap: wrap;
	}
	.sf-menu ul {
		min-width: 10em !important;
	}
 	#menu-principal ul.sub-menu i {
		font-size: 14px;
		color: #fff;
		margin-right: 6px;
	}

#menu-mobile {
	cursor: pointer;
	display: none;
    color: white;
    position: absolute;
    right: 70px;
    top: 20px;
}
#menu-mobile:before {
	font-size: 24px;
}

.selecteur-langue {
    padding: 4px 6px;
    font-size: 0.875rem;
    font-weight: bold;
    background: white;
    position: absolute;
    right: 0;
    top: 18px;
}


#entete-titre {
    width: 100%;
    height: 290px;
    background: black;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#diapo-accueil {
    width: 100%;
    height: 490px;
    background: white;
    position: relative;
}
.une-diapo {
    width: 100%;
    height: 100%;
    background: black;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: none;
    position: absolute;
    left: 0;
    top: 0;
}
.une-diapo  h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 24px;
    animation-name: none;
}
.une-diapo  p.sous-titre {
    font-size: 1.875rem;
    text-shadow: 0 1px 1px #333;
    color: white;
}
.une-diapo  p.bouton a {
    color: black;
    margin-bottom: 0;
    font-size: 1.25rem;
    background: white;
    border-radius: 7px;
    padding: 8px 15px;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
}
.une-diapo  p.bouton a:hover {
    background: #eee;
}

.diapo-bullets {
    position: absolute;
    right: 40px;
    bottom: 20px;
}

.diapo-bullets span {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background: #02a9bd;
    border: 1px solid #ffffff;
    display: inline-block;
}

.diapo-bullets span.active {
    background-color: #555;
}


#contenu-principal {
    padding: 50px 0;
    border-top: 10px solid #aaaaaa;
    background: white;
}





#infolettre {
    width: 100%;
    background: url("assets/images/back-newsletter.jpg") no-repeat center center;
    background-size: cover;
    border-top: 10px solid #e1e1e1;
    border-bottom: 10px solid #e1e1e1;
    box-sizing: border-box;
    padding: 20px 0;    
    text-align: center;
    font-size: 1.375rem;
    font-weight: bold;
}

#appel-action {
    width: 100%;    
    min-height: 200px;
    background: white;
    box-sizing: border-box;
    padding: 20px 0 40px 0;
}

#piedpage-principal {
    width: 100%;
    background: #444444;
    color: #888888;
    font-size: 0.75rem;
    box-sizing: border-box;
    padding: 20px 0;
}

#piedpage-principal hr {
    margin: 0 0 15px 0;
    border: 0;
    border-top: 1px solid #888888;
}

.bloc-blanc {
    font-size: 1.125rem;
    font-weight: 700;
    background: white;    
    color: black;
}
#piedpage-principal .bloc-blanc {
    display: inline-block;
    padding: 5px 10px;
}


.a-gauche {
    text-align: left;
}
.au-centre {
    text-align: center;
}
.a-droite {
    text-align: right;
}

.bg-dark * {
    color: white;
}

img.avec-padding {
    padding: 0 20px;
}

.flex-centre {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}

.full-height {
    height: 100%;
}


.une-galerie {
    margin: 60px 0;
    position: relative;
}
.une-galerie .photo-cache {
    display: none !important;
}
.une-galerie h3 {
    font-weight: bold;
    background-color: #02a9bd;
    color: white;
    padding: 2px 15px 2px 15px;
    border-bottom: 5px solid white;
    border-right: 5px solid white;
    font-size: 1.875rem;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 20;
}
.grid-galerie {
	display: grid !important;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 5px;
	position: relative;
    z-index: 10;
}
.grid-galerie > div {
    width: 100%;
    padding-top: 100%;
    position: relative;
    display: flex;
}
.grid-galerie > div > * {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.grid-galerie > div > a > img {
    width: 100%;
    height: 100%;
    display: flex;
    object-fit: cover;
    object-position: center center;
    border-bottom: 10px solid white;
}
.grid-galerie > div:nth-child(1) > a > img {
    border-bottom-color: #fafafa;
}
.grid-galerie > div:nth-child(2) > a > img {
    border-bottom-color: #eaeaea;
}
.grid-galerie > div:nth-child(3) > a > img {
    border-bottom-color: #dadada;
}
.grid-galerie > div:nth-child(4) > a > img {
    border-bottom-color: #cacaca;
}
.grid-galerie > div:nth-child(5) > a > img {
    border-bottom-color: #bababa;
}
.grid-galerie > div:nth-child(6) > a > img {
    border-bottom-color: #aaaaaa;
}
.grid-galerie > div > a:hover > img {
    border-bottom-color: #02a9bd;
}

.image-droite {
    width: 275px;
    float: right;
    margin: 5px 0px 0px 15px;
    border: 5px solid #eeeeee;
}

.message-special {
    box-sizing: border-box;
    background-color: #02a9bd;
    padding: 5px 10px 5px 10px;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 12px;
}

label {
    font-weight: bold;
}

form {
}

form .message-special {
    box-sizing: border-box;
    display: block;
}
form .message-special p {
    margin: 0;
}
select, input, textarea {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #cccccc;
    border-collapse: collapse;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-weight: normal;
}
select {
    width: auto;
}

select:focus,
input:focus,
textarea:focus {
    border: 2px solid black;
}

input[type="submit"] {
    width: auto;
    color: #ffffff;
    background-color: #02a9bd;
    border: 0;
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-weight: bold;    
}

span.obl {
    color: #c6213d;
}

.form-infolettre input {
    max-width: 300px;
    border-radius: 0;
}
.form-infolettre input[type="email"] {
    color: black;
}
.form-infolettre .wpcf7-spinner,
.form-infolettre .wpcf7-not-valid-tip {
    display: none !important;
}

.form-infolettre .wpcf7 form.invalid .wpcf7-response-output,
.form-infolettre .wpcf7 form.unaccepted .wpcf7-response-output,
.form-infolettre .wpcf7 form.payment-required .wpcf7-response-output {
    font-size: 1rem;
    margin-top: 0;
}

.form-infolettre input {
    border: 2px solid black;
}
.form-infolettre input:focus {
    border: 2px solid black;
}
.form-infolettre input[type="submit"] {
    border: none;
}

div.wpcf7-mail-sent-ok,
div.wpcf7-validation-errors {
	border: 0 !important;
	color: #fff;
	margin: 0 0 30px 0 !important;
	padding: 10px !important;
}
div.wpcf7-validation-errors {
	background-color: #c6213d !important;
}
span.wpcf7-not-valid-tip {
	color: #c6213d !important;
}
div.wpcf7-mail-sent-ok {
	background-color: #398F14;
}
span.wpcf7-not-valid-tip {
	font-size: 14px;
}

.dark * {
    color: white;
}

#annonce-accueil {
    padding: 30px 0;
    background: #444;
    position: relative;
}
#annonce-accueil .grid_24 {
    position: relative;
}
#annonce-accueil .img-promo {
    position: absolute;
    right: 0;
    top: 0;
}
#annonce-accueil h2 {
    font-size: 2rem;
    border-bottom: 1px solid #555;
}
#annonce-accueil .avec-bande {
    border-left: 10px solid #65a8bc;
    padding-left: 15px;
}

#video-promo{
    position:relative;
    height:0;
    padding-bottom:56.25%; /* 9 ÷ 16 = 0.5625 → 56.25 %  */
    overflow:hidden;
}
#video-promo iframe{
    position:absolute;
    inset:0;          /* top:0; right:0; bottom:0; left:0; */
    width:100%;
    height:100%;
}








@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
















/* Responsive */

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

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

/* Mobile */
@media screen and (min-width: 901px) {
	#menu-mobile {
		display: none;
	}

	#menu-principal > ul {
		display: flex !important;
	}
}
@media screen and (max-width: 900px) {
	#menu-mobile {
		display: block;
	}

	#menu-principal {
        height: auto;
		bottom: 40px;
	}	
    
	#menu-principal > ul,
    #menu-principal > ul > li,
    #menu-principal > ul > li > a {
        height: auto;
        display: block;
    }

	#menu-principal ul {
		display: none;
		width: 100vw;
        box-sizing: border-box;
		padding: 12px;
		background: #02a9bd;
		text-align: center;
		position: absolute;
		left: -50vw;
		top: 60px;
		z-index: 300;
        border-top: 5px solid white;
	}
	#menu-principal > ul {
		border-radius: 2px;
	}
		#menu-principal ul li {
            text-align: left;
			display: block;
			float: none;
			clear: both;
		}

		#menu-principal ul a {
			color: #fff;
            font-size: 0.95rem;
			line-height: 1.4;
            padding: 6px 0;
            font-weight: normal !important;
			margin: 0;
		}
		#menu-principal ul li a:hover:not(.active) {
			border: none;
		}	
		#menu-principal ul.sub-menu {
            width: 100%;
            border-top: 1px solid white;
            border-bottom: 1px solid white;
			position: relative;
			left: auto;
			top: auto;
			right: auto;
			box-sizing: border-box;
		}
		#menu-principal li {
			margin-left: 0;
		}
		#menu-principal ul.sub-menu:before {
			left: 75px;
		}
	.sf-menu ul {
		min-width: inherit !important;
        box-shadow: none !important;
	}
	
	div[class*="grid_"] {
		width: 96% !important;
		padding-left: 2% !important;
		padding-right: 2% !important;
		float: none !important;
		clear: both !important;
		display: block !important;
		text-align: center !important;
	}
	
	div[class*="grid_"].hide-mobile,
	.hide-mobile {
		display: none !important;
	}
	li {
		list-style-position: inside !important;
	}	
    #annonce-accueil .img-promo {
        display: none !important;
    }
    ul, ol {
        margin-left: 0;
    }
    .une-galerie h3 {
        font-size: 1.25rem;
    }
    .grid-galerie {
        grid-template-columns: repeat(3, 1fr);
    }  
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
}
