/* TEMP */
#site-top-bar{
	width: 100%;
	padding:5px;
	text-align: center;
	background-color: #fff;
	color:#444;
    box-shadow: 0px -4px 14px #cacaca;
}

/* Rouge #ff370d */
body{
	font-family: 'Noto Sans', sans-serif;
	background-color: #f3f3f3;
	font-size: 14px;
	color:#252526;
}
a,a:hover,a:focus,a:active,input[type="submit"],input[type="submit"]:active,input[type="submit"]:focus{
    text-decoration: none;
    outline: none;
}
img.alignleft{
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}
@media (min-width: 768px){
  mark {
      position: relative;
      background: 0 0;
      z-index: 999;
  }
  mark:before {
      content: " ";
      display: block;
      height: 90%;
      width: 100%;
      margin-left: -3px;
      margin-right: -3px;
      position: absolute;
      background: rgb(255 240 0/52%);
      transform: rotate(0deg);
      top: 0;
      left: -1px;
      border-radius: 20% 25% 20% 24%;
      padding: 10px 3px 3px 10px;
      z-index: -1;
  }
}
.h2, h2{
	font-size: 26px;
}
.page p,
.single p{
	line-height: 1.7;
  margin-bottom:20px;
}
.titre-infolettre-subscribe,
.aside-voirtous,
.entry-title,
.home-lirelasuite{
	font-family: 'PT Serif', serif;
}
/*@font-face {
	font-family:"MerriweatherSans-Regular";
	src:url("../fonts/MerriweatherSans-Regular.eot?") format("eot"),
	url("../fonts/MerriweatherSans-Regular.woff") format("woff"),
	url("../fonts/MerriweatherSans-Regular.ttf") format("truetype"),
	url("../fonts/MerriweatherSans-Regular.svg#MerriweatherSans-Regular") format("svg");
	font-weight:normal;
	font-style:normal;
}*/

::-webkit-input-placeholder {
   color: #a6a6a7;
}

:-moz-placeholder { /* Firefox 18- */
   color: #a6a6a7;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #a6a6a7;  
}

:-ms-input-placeholder {  
   color: #a6a6a7;  
}
input[type="email"],input[type="text"],input[type="search"]{
	border:1px solid #7d7d7d;
	padding:10px 13px;
	line-height: 1;
	-webkit-appearance:none;
	-moz-appearance:none;
	transition:0.1s;
	width: 100%;
}
input[type="email"]:focus,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:active,
input[type="text"]:active,
input[type="search"]:active{
	outline: none;
	border:1px solid #B18500;
}
#mce-responses{
	margin-top: 15px;
	margin-bottom: 15px;
}

.navbar-nav a{
	color: #333435;
	font-size: 1em;
	border-bottom:4px solid transparent;
    letter-spacing:0.02rem;
    font-size:1.55rem;
}
.navbar-nav>li>a{
	padding:14px 12px;
}
.nav>li>a:focus, .nav>li>a:hover{
	background-color: transparent;
	transition: 0.1s;
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover{
	border-color:#FF370D; 
}
.dropdown-header{
	display: none;
}
.dropdown-menu{
	border-radius: 0;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover{
	background: #f9340a;
}
@media (min-width: 768px){
	.navbar-nav{
        float: none;
        display:flex;
        text-align: center;
    }
    .navbar-collapse{
        background:#ffffff;
        padding-left:0;
        padding-right:0;
    }
	.navbar-nav li:last-child a{padding-right: 0;}
	.navbar-nav > li > a:hover{
		border-bottom: 4px solid #ff360d;
	}
	.dropdown-menu>li>a{
		line-height: 2;
	}
}
.socialicons{
    width: 35px;
    height: 35px;
    transition:0.12s;
}
.socialicons:hover{
	opacity: 0.7;
}
.top-contactlink{
	color: #ff370d;
	line-height: 35px;
	vertical-align: top;
	margin-right: 20px;
    font-size:1.6rem;
}

/* ACCUEIL */
.home-featured{
	background-color: #fff;
	border-top:8px solid #ff370d;
}
.home-featured-copy{
	position: relative;
}
.home-featured header{
	padding:48px 30px 0 30px;
}
.home-featured-header{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	gap: 16px;
}
.home-featured section{
	padding:0 30px;
}
.home-featured .entry-title{
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
	min-width: 0;
	font-size: 1.5em;
	margin-top: 0;
	font-weight: bold;
}
.home-featured .entry-title a{
	color:#636466;
	font-weight: bold;
}
.quebecdesregions{
	margin-top: 20px;
	margin-bottom: 20px;
}
.quebecdesregions a{
	font-size: 1.15em;
	margin-top: 0;
	color:#636466;
	margin-bottom: 20px;
}
.home-featured img{
	width: 100%;
	max-width: 100%;
	height: auto;
}
.home-featured .entry-content{
	border-top:1px solid #f3f3f3;
	padding-top: 22px;
	margin-top: 20px;
}
.home-featured-more{
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 45px;
	        flex: 0 0 45px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	width: 45px;
	height: 45px;
	background-color: transparent;
	transition: 0.2s;
}
.home-featured-more svg{
	width: 24px;
	height: 24px;
	fill: #ff370d;
}
.home-featured-more:hover,
.home-featured-more:focus{
	background-color: transparent;
}
.home-lirelasuite{
	position: absolute;
	bottom:0;
	left:15px;
	padding: 13px 30px;
	line-height: 1;
	background-color: #ff370d;
	color:#fff;
	font-style: italic;
	font-weight: bold;
	transition:0.2s;
}
.home-lirelasuite:hover,
.home-lirelasuite:active,
.home-lirelasuite:focus{
	color:#fff;
	padding-right:40px;
}
.home-catname{
	font-size: 1.428571428571429em;
	text-transform: uppercase;
	margin-top: 0;
	font-weight: 700;
}
.home-catname a{
	color:#ff370d;
}
.homecat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.homecat-head svg {
	max-width: 24px;
	width: 24px;
	height: 24px;
	color:inherit;
	fill:#ff370d;
}
.featured-homebox{
	margin-bottom: 40px;
	margin-top: 25px;
}
.homebox{
	margin-bottom: 35px;
}
.homebox img{
	max-width: 100%;
	width: 100%;
	height: auto;
}
.homebox header{
	background-color: #ffffff;
	padding:20px 30px;
    border-top:1px solid #6d6d6d;
}
.homebox header h2{
    font-size: 1.142em;
    margin:0;
    padding:0;
}
.homebox header a{
	font-weight: 700;
	color:#38393d;
}
.meta-date,
.entry-meta{
	font-size: 0.8571428571428571em;
	color:#ff370d;
	margin-bottom: 8px;
}
.homebox section{
	padding:15px 30px;
	background-color: #fff;
}
.homebox .entry-content{
	font-size: 1em;
	word-break: break-word;
}

@media (min-width: 992px){
	.home-featured > .row{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	.home-featured-copy,
	.home-featured-image{
		float: none;
	}
	.home-featured-copy{
		padding-bottom: 46px;
	}
}

@media (max-width: 991px){
	.home-featured .home-lirelasuite{
		position: static;
		display: inline-block;
		margin: 0 0 20px 15px;
	}
}

/* SIDEBAR */
.blancbg{
	background-color: #fff;
}
.sidebar-section{
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #fff;
	display: inline-block;
	width: 100%;
}
.aside h3{
	color:#38393d;
	font-size: 1.6em;
	font-weight: 700;
}
.aside h3 a{
	color:#38393d;
	font-weight: 700;
}
.aside-repertoire-title{
	text-transform: uppercase;
}
.icone-lettre-container{
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	background:#fff;
	display:inline-block;
	padding:12px;
}

.titre-infolettre-subscribe{
	font-weight: bold;
	font-size: 1em !important;
	margin: 0 0 10px 0;
	padding:12px;
	background:#fff;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	border-top-right-radius: 4px;
	width: 100%;
	display: inline-block;
}
.aside-voirtous{
	font-weight: bold;
	font-size: 2em;
	margin: 0;
	padding:12px;
}
.aside-voirtous img{
	float:left;
	margin-right: 25px;
}
.section-voirtous{
	padding-bottom: 10px;
	border-radius: 4px;
}
.aside input[type="submit"],
#searchsubmit{
	border:0;
	background:#ff360d;
	color:#fff;
	line-height: 1;
	-webkit-appearance:none;
	-moz-appearance:none;
	padding:10px 13px;
	margin-top: 10px;
	float:right;
	transition:0.2s;
}
.aside input[type="submit"]:focus,
#searchsubmit:focus{
	transform:scale(0.95);
	transition:0.2s;
}
.btn-recherche-regions{
	background-color: #ff360d;
	color:#fff;
	padding:8px 48px 8px 15px;
	font-style: italic;
	line-height: 1;
	transition:0.2s;
    font-weight: 700;
    font-style: italic;
    font-family: 'PT Serif', serif;
    margin-top: 10px;
    background-image: url(../images/flechebtnrecherche.png);
    background-repeat: no-repeat;
    background-position: right center;
    height: 29px;
    max-height: 29px;
    display: block;
    font-size: 16px;
}
.btn-recherche-regions:hover{
	color:#fff;
	transition:0.2s;
}
.sidebar-section-recherche-regions{
	width: 100%;
}
.woocommerce-MyAccount-navigation ul li a{
    background-color: #ff360d;
    color: #fff;
    padding: 8px 48px 8px 15px !important;
    line-height: 1;
    transition: .2s;
    margin-top: 10px;
    background-image: url(//amecq.ca/wp-content/themes/amecq/library/css/../images/flechebtnrecherche.png);
    background-repeat: no-repeat;
    background-position: right center;
/*     height: 29px;
    max-height: 29px; */
    font-size: 14px;
}
.woocommerce-MyAccount-navigation ul li a:hover{
	color:#fff;
	transition:0.2s;
    background-color:#ec340e;
}
.woocommerce-account .woocommerce-MyAccount-navigation{
    width:20%;
}
.woocommerce-account .woocommerce-MyAccount-content{
    width:78%;
}

/* FOOTER */
#site-footer{
	border-top:1px solid #ff370d;
	border-bottom:1px solid #ff370d;
	padding-top:40px;
	padding-bottom: 40px;
	color:#a6a6a7;
}
#site-footer p{
	margin-bottom: 20px;
}
.footer-links ul{
	list-style: none;
	padding-left: 0;
    display:flex;
    flex-direction:column;
}
.footer-links li>a{
	padding:0 0 30px;
	line-height: 1;
}
.footer-nav > li > a{
	color: #626466;
	text-transform: uppercase;
}
.footer-nav li ul li a{
	color:#a6a6a7;
	font-size: 0.9285714285714286em;
}

/* PAGE */
.page article,
.single article,
.archive:not(.post-type-archive-formation) article{
	background-color: #fff;
	padding:40px;
	margin-top: 40px;
	margin-bottom: 40px;
	display: inline-block;
	width: 100%;
}
.post-type-archive-rencontre article{
    margin-bottom:0 !important;
}
.post-type-archive-formation article .innercontainer{
	background-color: #fff;
	padding:30px;
  height:100%;
}
.tax-volume article{
	margin-top: 15px;
	margin-bottom: 15px;
}
.page article h1,
.single article h1,
.archive h1.page-title {
    margin-top: 0;
    border-bottom: 2px solid #b18500;
    padding-bottom: 5px;
    margin-bottom: 20px;
}
.page aside,
.single aside{
	margin-top: 40px;
}
.page .aside-repertoire-title,
.single .aside-repertoire-title{
	margin-top: 0;
}
.page h2,
.page .h2,
.single h2,
.single .h2{
	clear: both;
}
.entry-header img{
	max-width: 100%;
	width: 100%;
	height: auto;
	margin-bottom: 20px;
}
.article-footer a{
	color: #B18500;
}
.entry-meta{
	color: #C3C3C3;
}

/* Personnel et C.A. */
.personnel-container{
	margin-bottom: 30px;
	display: inline-block;
	width: 100%;
}
.personnel-photo{
	float: left;
	margin-right: 15px;
}

/* Répertoire */
.nolist{
	padding-left: 0;
	list-style: none;
}
.nolist a{
	color: #38393d;
}
.repertoire-journaux-liste{
	background-color: #fff;
	margin-top: 40px;
	padding: 40px;
}
.map_container{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 ( 100%/16*9 = 56.25% ) */
}
.map_container .map_canvas{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

/* Images */
.entry-content img{
	max-width: 100%;
	height: auto;
}
.archive .entry-content img{
	margin-bottom: 20px;
}
.archive .entry-title a,
.taxonomy .entry-title a,
.page-template .entry-title a{
	color: #38393d;
}
.archive h1.page-title{
	margin-top: 40px;
    margin-bottom: 40px;
}

/* social */
.social-share-icons{
	display: block;
	margin-top:25px;
	margin-bottom: 25px;
}
.social-share-icons .fab{
	font-size: 24px;
	margin-right: 17px;
  font-style:normal;
}

/*IMG*/
.wp-caption.alignleft,
.wp-caption.aligncenter,
.wp-caption.alignright{
	width: 100%;
	max-width: 100%;
}

/* FLUIDBOX */
@-webkit-keyframes a{0%{-webkit-transform:translate(-50%,-50%) rotateX(0) rotateY(0);transform:translate(-50%,-50%) rotateX(0) rotateY(0)}50%{-webkit-transform:translate(-50%,-50%) rotateX(-180deg) rotateY(0);transform:translate(-50%,-50%) rotateX(-180deg) rotateY(0)}to{-webkit-transform:translate(-50%,-50%) rotateX(-180deg) rotateY(-180deg);transform:translate(-50%,-50%) rotateX(-180deg) rotateY(-180deg)}}@keyframes a{0%{-webkit-transform:translate(-50%,-50%) rotateX(0) rotateY(0);transform:translate(-50%,-50%) rotateX(0) rotateY(0)}50%{-webkit-transform:translate(-50%,-50%) rotateX(-180deg) rotateY(0);transform:translate(-50%,-50%) rotateX(-180deg) rotateY(0)}to{-webkit-transform:translate(-50%,-50%) rotateX(-180deg) rotateY(-180deg);transform:translate(-50%,-50%) rotateX(-180deg) rotateY(-180deg)}}.fluidbox{outline:none}.fluidbox__overlay{background-color:hsla(0,0%,100%,.85);cursor:pointer;cursor:zoom-out;opacity:0;pointer-events:none;position:fixed;top:0;left:0;bottom:0;right:0;-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fluidbox--opened .fluidbox__overlay{pointer-events:auto}.fluidbox__wrap{background-position:center center;background-size:cover;margin:0 auto;position:relative;-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.fluidbox--closed .fluidbox__thumb,.fluidbox__thumb{-webkit-transition:opacity 0s ease-in-out 0s;transition:opacity 0s ease-in-out 0s}.fluidbox__ghost{background-size:100% 100%;background-position:center center;background-repeat:no-repeat;position:absolute;transition-duration:0s,.5s;transition-delay:0s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:opacity,transform}.fluidbox--opened .fluidbox__ghost{cursor:pointer;cursor:zoom-out}.fluidbox--closed .fluidbox__ghost{-webkit-transition-delay:.5s,0s;transition-delay:.5s,0s}.fluidbox__loader{opacity:0;-webkit-perspective:200px;perspective:200px;pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}.fluidbox__loader:before{background-color:hsla(0,0%,100%,.85);content:'';-webkit-transform-style:preserve-3d;transform-style:preserve-3d;position:absolute;top:50%;left:50%;width:20%;padding-bottom:20%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-delay:0s;transition-delay:0s}.fluidbox--loading .fluidbox__loader{opacity:1;-webkit-transition:opacity .5s ease-in-out .5s;transition:opacity .5s ease-in-out .5s}.fluidbox--loading .fluidbox__loader:before{-webkit-animation:a 1s 0s infinite ease-in-out forwards;animation:a 1s 0s infinite ease-in-out forwards}

/* Galleru */
.gallery-item .wp-caption-text{
	font-size: 12px;
	padding:0 10px;
}
.wp-caption-text{
	font-size: 12px;
	padding:10px 0 0 0;
}

/*Ajustements*/
/* MEDIAS */
@media (max-width: 767px){
	.featured-homebox{
		margin-top: 0;
	}
	.home-featured header{
		padding: 20px 30px 0 30px;
	}
	.home-featured .entry-content{
		margin-bottom: 20px;
	}
	.home-featured .entry-title{
		font-size: 1.8em;
	}
	.footer-links li>a{
		padding:0 0 9px;
	}
	.navbar-brand{
		float: none;
	}
	.navbar-brand img{
		max-width: 160px;
	}
	.icon-bar{
		background-color: #000;
	}
	.navbar-toggle{
		margin-top: 33px;
	}
	.navbar{
		margin-bottom: 0;
	}
	.page article, .single article, .archive article{
		margin-top: 0;
	}
	.nav .open>a, .nav .open>a:focus, .nav .open>a:hover{
		border:none;
	}
	.navbar-nav>li>a{
		text-align: left;
	}

}
.copyright a{
	color: #ada6a7;
}

.page-template-template-touslesarticles .entry-content img{
	float: left;
	max-width: 200px;
	margin-right: 20px;
}
.page-template-template-touslesarticles .entry-header .entry-title{
	margin-top: 0;
}
.page-template-template-touslesarticles .entry-header .entry-title a{
	color: #38393d;
}

.socialmenumobile{
	text-align: center;
}
.socialmenumobile img{
	margin:0 7px;
}
@media (max-width: 767px){
	.page article h1, .single article h1, .archive h1.page-title{
		font-size: 20px;
		line-height: 22px;
	}
	.page article, .single article, .archive article{
		padding:15px;
	}
}

#Container .mix{
    display: none;
    font-size: 0;
}
#Container img{
	max-width: 200px;
	height: auto;
	padding:10px;
}
#Container.listejournaux{
	padding-left: 0;
	list-style: none;
}
#Container.listejournaux .mix{
/*	width: 100%;*/
}
.mixitselect{
	margin-bottom: 20px;
	border: 1px solid #38393d;
	padding:7px 13px;
}
.mixitselect:active,
.mixitselect:focus{
	outline: none;
	border:1px solid #a98700;
}
#JournauxFilters fieldset{
	display: inline-block;
}

.homebox-mobile{
	margin-bottom: 20px;
}
.homebox-mobile img{
	max-width: 100%;
	height: auto;
}
.homebox-mobile .entry-title{
	font-size: 14px;
	margin-top: 0;
}
.homebox-mobile .meta-date{
	margin-bottom: 0;
}
.homebox-mobile .entry-title a{
	color: #38393d;
}
aside .widget_search{
	display: inline-block;
}
@media (max-width: 767px){
	.sidebar-section{
		width: 100%;
	}
	aside.aside{
		padding-bottom: 20px;
	}
}
.col-editions-prix-amecq{
	margin-bottom: 25px;
}
.sidebar-section-menu-congres h3{
	text-transform: uppercase;
	margin-top: 0;
}
.sidebar-section-menu-congres ul{
	list-style: none;padding-left: 0;
}
.sidebar-section-menu-congres ul li a{
	color: #38393d;
}
aside .widget_search{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fff;
}
.section-mcc p{
	font-size: 12px;
	margin-bottom: 15px !important;
}
.section-mcc img{
}
@media (min-width: 768px){
	.sidebar-section-menu-congres .page_item_has_children ul{
		padding-left: 20px;
	}
}
.surtitre-accueil-featured{
	text-transform: uppercase;
}

.page-id-49 .col-editions-prix-amecq img{
	transition: 0.2s;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	backface-visibility: hidden;
	transform: translateZ(0);
}
.page-id-49 .col-editions-prix-amecq img:hover{
	transform: translateZ(0) scale(1.04) rotate(2deg);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.excerpt-read-more{
	color: #b18500;
}
.readmore-rubrique{
	color: #eec51f;
}
.amecdote-versionpdf{
	text-align: right;
	float: right;
	font-size: 16px;
	line-height: 36px;
    color: #a88600;
    font-style: italic;
}
.amecdote-versionpdf:hover{
	color: #a88600;
}
.tax-volume article h3{
	margin-top: 0;
}
.single-img-caption{
	margin-top: -15px;
	font-style: italic;
}

/* EMBED */
/*.embed-container { 
	position: relative; 
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}*/
.capsulesvideo .embed-container{
	margin-bottom: 20px;
}
.accueil-titrevideos{
	font-size: 14px;
	margin-bottom: 5px;
}
.creditsfooter{
	letter-spacing: 0.05em;
}
.videotitle49{
    font-size: 14px;
    margin-bottom: 5px;
}

#nf-form-6-cont #nf-field-39-container{
	display: none;
}

.page-numbers{
	list-style: none;padding-left: 0;
}
.page-numbers li{
	display: inline-block;
	margin-right: 10px;
	line-height: 1;
}
.page-numbers li a{
	padding:15px;
	background:#fff;
	line-height: 1;
}
.post-type-archive-amecqdote article{
	margin-top: 0;
	height: 100%;
}

.row-eq{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}
.row-eq > [class*='col-'] {
  display: flex;
  flex-direction: column;
}
@media (max-width:767px){
	.secondfooterlogo{
		margin-top:20px;
	}
}
@media (min-width:768px){
	.secondfooterlogo{
		text-align: right;
	}
}
.navbar-brand{
  height:auto;
}
@media (min-width:768px) and (max-width: 1199px){
	.navbar-brand,
	.navbar-header{
		float: none;
	}
	.navbar-brand>img{
		margin: 0 auto;
	}
	#menu-menu-principal{
		width: 100%;
		text-align: center;
		display:block;
	}
	#menu-menu-principal.navbar-nav>li {
	    display: inline-block;
	    float: none;
	    vertical-align: top;
	}
}
.caret{
	margin-left: 0;
}
.navbar{
	margin-bottom: 0;
}
.heateor_sss_horizontal_sharing{
	margin-top: 20px;
	clear:both;
}
.memo-surtitre{
	margin-top: 7px;
}
.memo-titre{
	margin-top: 7px;
}
.memo-content{
	margin-bottom: 40px;
}
.memonumerique.type-memonumerique{
	margin-top: 0;
}
.btn-download{
    border: 0;
    background: #ff360d;
    color: #fff;
    line-height: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 13px;
    margin-top: 10px;
    transition: 0.2s;
}
.single-formation .submit-wrap{
  text-align:center;
}
.single-formation .submit-wrap input{
    border: 0;
    background: #ff360d;
    color: #fff;
    line-height: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 13px;
    margin-top: 10px;
    transition: 0.2s;
}
/* Lazy Load Youtube Videos */
.youtube-player {
  position: relative;
  padding-bottom: 56.23%;
  /* Use 75% for 4:3 videos */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 5px;
}
.youtube-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: transparent;
}
    
.youtube-player img {
  bottom: 0;
  display: block;
  left: 0;
  margin: auto;
  max-width: 100%;
  width: 100%;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  height: auto;
  cursor: pointer;
  -webkit-transition: .4s all;
  -o-transition: .4s all;
  -moz-transition: .4s all;
  transition: .4s all;
}
.youtube-player img:hover {
  -webkit-filter: brightness(75%);
}
.youtube-player .play {
  height: 72px;
  width: 72px;
  left: 50%;
  top: 50%;
  margin-left: -36px;
  margin-top: -36px;
  position: absolute;
  background: url("../images/play-button2.png") no-repeat;
  cursor: pointer;
}
.fa-twitter:before{content:"\f099"}
.fa-facebook:before{content:"\f09a"}
.btn-ensavoirplus{
  border: 0;
  background: #ff360d;
  color: #fff;
  line-height: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 17px;
  margin-top: 10px;
  display:inline-block;
  border-radius:0;
}
.btn-ensavoirplus:hover{
  color:#fff;
  background:#e6310c;
}
.page-id-49 .embed-container iframe{
	width: 100%;
	height:auto;
}

.innercontainer{
  background-color: #fff;
  padding: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
  display: inline-block;
  width: 100%;
}
.acf-form-submit .acf-button{
  background-color: #ff360d;
  color: #fff;
  padding: 8px 48px 8px 15px;
  font-style: italic;
  line-height: 1;
  transition: .2s;
  font-weight: 700;
  font-style: italic;
  font-family: 'PT Serif', serif;
  margin-top: 10px;
  background-image: url(//amecq.ca/wp-content/themes/amecq/library/css/../images/flechebtnrecherche.png);
  background-repeat: no-repeat;
  background-position: right center;
  height: 29px;
  max-height: 29px;
  display: block;
  font-size: 16px;
  border:0;
}
.acf-input .hide-if-value p{
  color:#bfbfbf;
}
.acf-input .hide-if-value p a{
  display:block;
}
.tribe-events-view,
#tribe-events-pg-template{
    background-color:#ffffff;
}
.tribe-events-event-image img{
    max-width:100%;
    height:auto;
}

.row-flex{
  display:flex;
  flex-wrap:wrap;
}
.row-flex .col-flex-6{
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  padding-right: 15px;
  padding-left: 15px;
}

.post-type-archive-video .innermain{
  background-color:#fff;
  padding:20px 40px;
}
.post-type-archive-video .bloc{
  margin-bottom: 30px;
}
.post-type-archive-video .entry-content img{
  margin-bottom:auto;
}
.post-type-archive-video .entry-content .youtube-player{
  margin:0;
}

.tribe-community-events{
    border:0;
    background-color:#ffffff;
}
.tribe_community_edit .tribe-button.submit,
.tribe_community_list .tribe-button.submit{
    background-color:#ff370d;
    border:0;
}
.tribe_community_edit .tribe-button.submit:hover,
.tribe_community_list .tribe-button.submit:hover{
    background-color:#ec340e;
}
.tribe_community_edit .button-primary, .tribe_community_edit .tribe-button.tribe-button-primary, .tribe_community_list .button-primary, .tribe_community_list .tribe-button.tribe-button-primary{
    background-color:#ff370d;
}
.tribe_community_edit .button-primary:hover,
.tribe_community_edit .tribe-button.tribe-button-primary:hover,
.tribe_community_list .button-primary:hover,
.tribe_community_list .tribe-button.tribe-button-primary:hover{
    background-color:#ec340e;
}

.my_account_memberships .membership-content-excerpt{
    display:none;
}
.wc-memberships-members-area-navigation .woocommerce-MyAccount-navigation-link--my-membership-products,
.wc-memberships-members-area-navigation .woocommerce-MyAccount-navigation-link--my-membership-discounts,
.wc-memberships-members-area-navigation .woocommerce-MyAccount-navigation-link--my-membership-details{
    display:none;
}

.woocommerce-MyAccount-navigation-link--subscriptions {
    display:none;
}
.woocommerce table.my_account_orders .button:not(:last-child){
    margin-bottom:10px;
}

@media (min-width:992px){
    .membership-content-actions.order-actions a{
        float:right;
    }
}
#archiveteamid{
    display:none !important;
}
@media (min-width:768px){
    .mobile-menu-intranet{
        display:none !important;
    }
}
.submit-wrap input[type="button"]{
    border: 0;
    background: #ff360d;
    color: #fff;
    line-height: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 13px;
    margin-top: 10px;
    float: right;
    transition: 0.2s;
}
.nf-form-fields-required{
    display:none !important;
}
.menu-small{font-size:0.875em;}
.row-flex{
    display: flex;
    justify-content: center;
    align-items: center;
}
.post-container{
    overflow:hidden;
    border-radius:6px;
}
.aside h3{
    font-size: 1.6em;
}
.footerlogos img{
    max-width:200px;
    margin-left:auto;
    margin-right:auto;
}

#site-footer p.footer-adresse{
    margin-bottom:0;
}
#site-footer p:last-child{
    margin-bottom:0;
}

/* Wrapper général */
.amecq-footer {
    background: #f1f1f1;
    border-top: 3px solid #c52126; /* rouge AMECQ */
    padding: 30px 0 20px;
    color: #555;
    font-size: 1rem;
}

/* Ligne principale (3 colonnes) */
.amecq-footer-inner {
    margin-bottom: 25px;
}

/* Colonnes */
.amecq-footer-col {
    margin-bottom: 20px;
}

/* Colonne brand */
.amecq-footer-logo {
    max-width: 220px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.amecq-footer-subtitle {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: #777;
}

.amecq-footer-contact {
    margin: 0;
    line-height: 1.5;
    font-size:1.25rem;
}

.amecq-footer-contact a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(0,0,0,0.25);
}

.amecq-footer-contact a:hover {
    border-bottom-style: solid;
}

/* Titres de section (soutien, agence) */
.amecq-footer-section-title {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: #999;
    margin: 0 0 12px;
}

/* Partenaires */
.amecq-footer-partners {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 12px;
}

.amecq-footer-partner {
    margin: 0;
}

.amecq-footer-partner img {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
    padding: 6px 10px;
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
            box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}

/* Agence de publicité */
.amecq-footer-agency-logo {
    margin: 0;
}

.amecq-footer-agency-logo img {
    max-width: 190px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Bas de page */
.amecq-footer-bottom-row {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 12px;
    margin-top: 10px;
}

.amecq-footer-bottom-row p {
    margin-bottom: 5px !important;
    color: #777;
}

.amecq-footer-bottom-row .creditsfooter a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(0,0,0,0.25);
}

.amecq-footer-bottom-row .creditsfooter a:hover {
    border-bottom-style: solid;
}

/* Responsive */
@media (min-width: 992px) {
    .amecq-footer-col-brand {
        max-width: 420px;
    }
}

@media (max-width: 991px) {
    .amecq-footer {
        padding: 25px 15px 18px;
    }

    .amecq-footer-partners {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
}

@media (max-width: 767px) {
    .amecq-footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .amecq-footer-subtitle,
    .amecq-footer-contact {
        text-align: center;
    }
}

.meta-auteur-journal {
    font-size: 13px;
    line-height: 1.4;
    color: #777;
    margin-top:8px;
    margin-bottom:0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.meta-auteur-journal .meta-auteur {
    color: #555;
}

.meta-auteur-journal .meta-journal {
    color: #999;
}

.meta-auteur-journal .meta-separator {
    color: #ccc;
    padding: 0 4px;
}

.home-featured .meta-auteur-journal {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	margin-top: 26px;
	margin-bottom: 0;
}

.home-featured .meta-auteur-journal .meta-auteur,
.home-featured .meta-auteur-journal .meta-journal {
	color: #d13b2f;
}

.home-featured .meta-auteur-journal .meta-auteur + .meta-journal::before {
	content: ",\00a0";
	font-style: normal;
}

.home-featured .meta-auteur-journal .meta-journal {
	font-style: italic;
}

@media (min-width:768px){
    .headersecondcol{
        display:flex;
        align-items:center;
        justify-content:flex-end;
        gap:1rem;
    }
}

/* Conteneur du champ */
.header-search-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    text-align: right;
}

/* Quand actif */
.header-search-wrapper.active {
    max-height: 80px; /* assez pour le champ */
    opacity: 1;
}

/* Formulaire interne */
.header-search-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-search-field {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    width: 170px;
    transition: width 0.3s ease, border-color 0.3s ease;
}

.header-search-field:focus {
    width: 220px;
    border-color: #c72b1f;
}

.header-search-submit {
    padding: 6px 12px;
    background: #000000;
    border: none;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
}

.header-search-submit:hover {
    background: #a92217;
}
.article-after-2025-11-20 .entry-content p:first-child::first-letter {
    float: left;
    font-size: 3.8rem;
    line-height: 0.8;
    font-weight: 700;
    margin-right: 0.15em;
    margin-top: 0.1em;
}
.fullauthor{
    font-size: 1.75rem;
    font-weight: bold;
}

.single .article-header.entry-header{
    margin-bottom: 35px;
    display: block;
    position: relative;
}

.post-type-archive-formation article .innercontainer {
    margin-top: 0;
}
