/*
Theme Name: SLM theme
Author: Altitude Stratégies
Author URI: https://www.altitudestrategies.ca/
Description: SLM theme is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/



h1, h2, h3, h4, h5, h6 {
 clear: none !important;
}

h2.script-font  {
    font: normal 34px / 44px 'Pacifico', Helvetica, Arial, Verdana, sans-serif !important;
    color: #f6993c !important;
}



/* Liste ul avec Awesome Font */

/*#content ul {
 list-style: none !important;
 padding: 0;
}*/

#content ul li {
 padding-left: 1.3em;
}

#content ul li:before {
 content: "\f105";
font-family: "Font Awesome 5 Free";
  font-weight: 900;
 display: inline-block;
 margin-left: -1.3em; 
 width: 1.3em; 
}
 
#footer ul {
 list-style: none !important;
 padding: 0;
}

#footer li {
 padding-left: 1.3em;
}

#footer li:before {
 content: "\f105"; 
font-family: "Font Awesome 5 Free";
  font-weight: 900;
 display: inline-block;
 margin-left: -1.3em; 
 width: 1.3em; 
} 

.testimonial-item ul {
 list-style: none !important;
 padding: 0;
}

.testimonial-item li {
 padding-left: 0 !important;
}

.testimonial-item li:before {
 display: none!important;
 margin-left: 0; 
 width: 0; 
}

.testimonial-item .ts-slide {
 padding-top: 0px !important;
 box-sizing: border-box;
}

.fullwidth-slider ul {
 list-style: none !important;
 padding: 0;
}

.fullwidth-slider li {
 padding-left: 0 !important;
}

.fullwidth-slider li:before {
 display: none!important;
 margin-left: 0; 
 width: 0; 
}


.woocommerce li:before {
 content: "\f105"; 
 font-family: "Font Awesome 5 Free";
  font-weight: 900;
 display: none !important;
 margin-left: -1.3em; 
 width: 1.3em; 
} 

.gform_wrapper li:before {
 content: "\f105"; 
 font-family: "Font Awesome 5 Free";
  font-weight: 900;
 display: none !important;
 margin-left: 0px; 
 width: 0px; 
} 

#content .gform_wrapper ul li {
    padding-left: 0px !important;
}


.buddypress ul {
 list-style: none !important;
 padding: 0;
}

.buddypress li {
 padding-left: 0 !important;
}

.buddypress li:before {
 display: none!important;
 margin-left: 0; 
 width: 0; 
}

/*.bp-nouveau ul {
 list-style: none !important;
 padding: 0;
}*/

.bp-nouveau li {
 padding-left: 0 !important;
}

.bp-nouveau li:before {
 display: none!important;
 margin-left: 0; 
 width: 0; 
}




.woocommerce-product-details__short-description { display:none !important;}

#footer h4 {
	color: #5c2d88 !important;
}



.blanc {
	color: #ffffff !important;
}



.product .woo-buttons-on-img {
    height: 170px !important;
}

.wc-img-hover .woo-buttons-on-img {
    overflow: visible !important;
}

#bottom-bar .wf-float-left:last-of-type {
    width: 100% !important;
}
.box-tdl, .box-tdl-1 {
	top: -130px;
	position: relative;
	    height: 190px;
}
.row-tdl {	
    z-index: 20;
	margin-top: -160px !important;
}

.row-tdl-responsive{
	margin-top: -33px !important;
}

footer.solid-bg {
    background-size: cover !important;
    padding-top: 80px;
}
.entry-excerpt {
	border-top: 1px solid #f8cc4f;
	padding-top: 10px;
}
#footer .soc-ico a {
	background: #007096 !important;
}
.header-bar {
	padding-top: 5px !important;
}
.blog-carousel-shortcode.content-bg-on.classic-layout-list article {
	border-radius: 16px 16px 16px 16px;
	height: 535px;
}
a.post-thumbnail-rollover {
	border-radius: 16px 16px 0 0;
}
.blanc h2 {
	color: #fff;
}
i.icon-ar-017-r:before {
	background-image: url('https://tdlbsl.ca/wp-content/uploads/arrow-r.png') !important;
    background-size: 20px 20px !important;
    display: inline-block;
    width: 20px; 
    height: 20px;
	background-repeat: no-repeat;
    content:"";
	background-position-x: 2px !important;
	background-position-y: 1px !important;
}
i.icon-ar-017-l:before {
	background-image: url('https://tdlbsl.ca/wp-content/uploads/arrow-l.png') !important;
    background-size: 20px 20px !important;
    display: inline-block;
    width: 20px; 
    height: 20px;
	background-repeat: no-repeat;
    content:"";
	background-position-x: -2px !important;
	background-position-y: 1px !important;
}
.drts-display-group-inline {
    justify-content: space-between;
	
}
.drts-view-filter-form .drts-bs-card-body>.drts-display-element[data-name=group]>.drts-display-element {
	width: 24%;
}
.drts-view-filter-form .drts-bs-card-body>.drts-display-element[data-name=group]>.drts-display-element.block-filtre {
	width: 100%;
}
.drts-display-group-inline {
    align-items: normal !important;
}
.drts-entity-fieldlist:not(.drts-entity-fieldlist-no-inline) .drts-entity-field-value {
    text-align: left !important;
}
.drts-bs-badge {
	display: none !important;
}
.drts-view-post-entities .drts-display-default-summary {
	border: 1px solid rgba(0, 0, 0, .125) !important;
    border-radius: 25px !important;
}
/*a {
	text-decoration: none;
}*/
.drts img {

    border-radius: 25px 25px 0 0 !important;
}

.outils_dir_ltg .post-thumbnail {
	display: none;
}

.drts-display-element.col-ass {
    min-height: 0 !important;
}
.directory-listing-contact-info-container.drts-display-element[data-name=columns]>.drts-row>[class*=drts-col-]  {
    min-height: auto !important;
}
.drts .drts-bs-btn-outline-primary {
    border-color: #007096 !important;
    color: #007096 !important;
    border-radius: 25px !important;
	font-family: 'Montserrat Alternates';
    font-weight: normal;
    border-radius: 25px;
    border-width: 2px;
    padding: 15px 20px !important;
}
.drts .drts-bs-card-group>.drts-bs-card.btn-ret {
    flex: auto !important;
    margin-bottom: 0;
}
a.btn-filtre {
	font-family: 'Montserrat Alternates';
    font-weight: normal;
    border-radius: 25px;
    border-width: 2px;
    border-color: #007096;
    border-style: solid;
    color: #007096;
    FONT-SIZE: 14px;
    padding: 10px;
}
a.btn-filtre:hover {
	font-family: 'Montserrat Alternates';
    font-weight: normal;
    border-radius: 25px;
    border-width: 2px;
    border-color: #007096;
    border-style: solid;
    color: #fff;
	background: #007096;
    FONT-SIZE: 14px;
}
.drts .drts-bs-btn-outline-primary:hover {
    border-color: #007096 !important;
    color: #fff !important;
	background: #007096 !important;
	
}
.drts .fas {
	color: #007096 !important;
}
.block-filtre {
	display: inline;
	width: auto !important;
}
.block-recherche {
	display: inline-block;
	width: auto !important;
}
.row-filtre {
	display: flex;
    align-items: center;
    justify-content: space-between;
	flex-wrap: wrap;
}

.fancy-header .wf-wrap {
    min-height: 535px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.fancy-title-head, .page-title-head {
    max-width: 60%;
	text-align: right;
}
.blanc h2 {
	color: #fff;
}
.drts .drts-bs-mb-n4 {
    margin-bottom: -2rem !important;
}
.video-rtdlq {
	position: relative;
    bottom: -190px;
    right: -210px;
}
.blanc h3 {
	color: #fff;
}
#footer a {
	color: #444444;
}
.box-services h3 {
	margin-bottom: 35px;
}
.box-services button {
	margin-left: 40px !important;
}
/* Chaque colonne devient un conteneur flex vertical */
.box-services .vc_column-inner {
    display: flex;
    flex-direction: column;
}

/* Le wrapper interne prend toute la hauteur */
.box-services .wpb_wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Le bouton est poussé en bas */
.box-services .ubtn-ctn-inline  {
    margin-top: auto;
	margin-bottom: 40px;
	text-align: left;
}
.footer-copyright a {
	color: #fff !important;
}
.list-serv .uavc-list-content span.uavc-list-desc {
    color: #fff !important;
}
/* Responsive native VC (480, 768, 992, 1200) */
/* @media (max-width: 480px) {} */
/* @media (max-width: 600px) {} */
/* @media (max-width: 767px) {} */
/* @media (min-width: 768px) {} */
/* @media (min-width: 768px) and (max-width: 991px) {} */
/* @media (min-width: 992px) {} */
/* @media (min-width: 992px) and (max-width: 1199px) {} */
/* @media (min-width: 1200px) {} */


/**************** Logo X ********/
.dt-icon-twitter:before, .icomoon-the7-font-twitter:before, .twitter .soc-font-icon:before  {
   
    background-image: url('/templates/the7/wp-content/uploads/x-logo-white-1.png');
    background-size: 12px 12px;
    display: inline-block;
    width: 12px; 
    height: 12px;
	background-repeat: no-repeat;
    content:"";	
}

 @media (max-width: 767px) {
	 .box-tdl {
    top: -70px;
    position: relative;
    height: 145px;
	}
}
	  @media (max-width: 767px) {
	 .box-tdl-1 {
    top: -70px;
    position: relative;
    height: 170px;
	}
}

	 
		 
	  .wpb_text_column.box-tdl {
   background-position-y: 0 !important;
}
	 .drts-view-entities-list-row>div>.drts-view-entity-container, .drts-view-entities-masonry-container>.drts-view-entity-container {
    margin-bottom: 10px;
    width: 100% !important;
}
}
@media (max-width: 778px) {
	.fancy-title-head {
		    text-align: right !important;
    width: 75%;
	}
	.page-title-head {
		    text-align: right !important;
    width: 55%;
	}
}
@media (max-width: 905px) {
	.drts-view-filter-form .drts-bs-card-body>.drts-display-element[data-name=group]>.drts-display-element {
	width: 100%;
}
}
@media (min-width: 576px) {
.drts .drts-bs-card-group>.drts-bs-card {
    flex: auto !important;
    margin-bottom: 0;
}
	}

/*****/
.single-postlike li h4 {
	    display: inline-block !important;

}
@media (min-width: 1100px) and (max-width: 1161px) {
	.main-nav > li > a .menu-text {
		font-size: 16px;
	}
}
@media (min-width: 1041px) and (max-width: 1099px) {
	.main-nav > li > a .menu-text {
		font-size: 14px;
	}
}

@media (max-width: 600px) {
.page-title-head {
    right: 0;
    position: relative;
}
	.fancy-title-head, .page-title-head {
    max-width: 100%;
    text-align: center;
}
	.fancy-header {
	/*background-image: url(https://tdlbsl.ca/wp-content/uploads/header_mobile.jpg) !important;	   
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #222222;*/
	 background-color: #c1efd8 !important;
}

@media screen and (max-width: 778px) {
    #fancy-header > .wf-wrap {
	background-color: #e6fdf2 !important;
	}
	}
	
	.page-title.solid-bg.bg-img-enabled {
   background-image: url(https://tdlbsl.ca/wp-content/uploads/header_mobile.jpg) !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
}
@media (min-width: 601px) and (max-width: 778px) {
.page-title-head {
    text-align: right !important;
    width: 55%;
    right: -120px;
    position: relative;
}
}


blockquote {
    padding-right: -100px;
    margin-left: 100px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-left: 4px solid #f3c863;
    background-color: transparent !important;
}

blockquote p {
    color: #89c3a2 !important;
    font-size: 30px !important;
    line-height: 36px;
    font-weight: normal !important;
    text-align: left !important;
}	
	
.chiffre {
    color: #007096 !important;
    font-size: 26px !important;
    line-height: 36px;
    font-weight: black !important;
	vertical-align: -2px !important;
}	

:focus {
	outline: 0.5px solid #007096 !important;
	outline-offset: 0px !important;
}

@media screen and (max-width: 500px)  {
.home h1 {
line-height: 38px !important;
}
	
blockquote {
    padding-right: -50px;
    margin-left: 50px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-left: 4px solid #f3c863;
    background-color: transparent !important;
}	
	
}
@media (min-width: 1500px) and (max-width: 1580px) {
	.video-rtdlq {
	position: relative;
    bottom: -190px;
    right: -170px;
}
}
@media (min-width: 1355px) and (max-width: 1499px) {
	.video-rtdlq {
	position: relative;
    bottom: -190px;
    right: -50px;
}
}
@media (min-width: 992px) and (max-width: 1354px) {
	.video-rtdlq {
	position: relative;
    bottom: -190px;
    right: -30px;
}
}
@media (min-width: 1355px) and (max-width: 1500px) {
	.row-tdl .upb_row_bg {
	background-position-x: -850px;
}
}
@media (min-width: 1275px) and (max-width: 1354px) {
	.row-tdl .upb_row_bg {
	background-position-x: -900px;
}
}
@media (min-width: 1213px) and (max-width: 1274px) {
	.row-tdl .upb_row_bg {
	background-position-x: -990px;
}
}
@media (min-width: 1145px) and (max-width: 1212px) {
	.row-tdl .upb_row_bg {
	background-position-x: -1100px;
}
}
@media (min-width: 1110px) and (max-width: 1144px) {
	.row-tdl .upb_row_bg {
	background-position-x: -1125px;
}
}
@media (min-width: 992px) and (max-width: 1109px) {
	.row-tdl .upb_row_bg {
	background-position-x: -1500px;
}
}
@media screen and (max-width: 991px) {
	.video-rtdlq {
	position: relative;
    bottom: 0;
    right: 0;
}
}
@media screen and (max-width: 767px)  {
.adapter .upb_row_bg {
background-color: #4ccb9e8a !important;
        background-image: none !important;
}
	.accomp .upb_row_bg {
background-color: #FFCB276E !important;
        background-image: none !important;
}
}

.cky-btn {
	border-radius: 25px !important;
}
#the7-body .outils_dir_ltg-template-default ..drts-entity{
	position: inherit !important;
}

       #cp_id_8aa4f::before {
            content: url('https://tdlbsl.ca/wp-content/uploads/logo-semaine.png') !important;
            display: inline-block !important;
            margin-right: 10px; 
		   z-index: 1111 !important;
        }




/* ===== BASE GRID ===== */
.dt-css-grid {
    display: grid !important;
    gap: 30px; /* ajuste si besoin */
}

/* ===== DESKTOP - 3 COLONNES ===== */
@media (min-width: 992px) {

    .dt-css-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Si un seul élément sur la dernière rangée → centre */
    .dt-css-grid > .wf-cell:last-child:nth-child(3n+1) {
        grid-column: 2 / 3;
    }

}

/* ===== TABLETTE - 2 COLONNES ===== */
@media (min-width: 768px) and (max-width: 991px) {

    .dt-css-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Important : on reset le centrage desktop */
    .dt-css-grid > .wf-cell {
        grid-column: auto !important;
    }

}

/* ===== MOBILE - 1 COLONNE ===== */
@media (max-width: 767px) {

    .dt-css-grid {
        grid-template-columns: 1fr;
    }

    .dt-css-grid > .wf-cell {
        grid-column: auto !important;
    }

}




/* Supprime complètement l’overlay rollover */
.rollover i {
    display: none !important;
}

/* Supprime tout background ajouté au hover */
.rollover::before,
.rollover::after {
    display: none !important;
}

/* Désactive tout effet hover */
.rollover:hover {
    background: transparent !important;
}

/* Animation fluide */
.dt-css-grid .rollover img {
    transition: transform 0.3s ease;
}

/* Remplace le zoom par un léger shrink */
.dt-css-grid .rollover:hover img {
    transform: scale(0.95) !important;
}

/* Empêche le clic */
.dt-css-grid .team-media a {
    cursor: default;
}

.dt-css-grid .team-media a[href] {
    pointer-events: auto;
}

/* Désactive la navigation */
.dt-css-grid .team-media a {
    pointer-events: auto;
}

.dt-css-grid .team-media a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
}

/* Désactive seulement le clic sur la photo */
.dt-css-grid .team-media a {
    pointer-events: none;
    cursor: default;
}

/* Applique le hover sur le parent au lieu du lien */
.dt-css-grid .team-container:hover img {
    transform: scale(0.97);
}

/* Transition smooth */
.dt-css-grid .rollover img {
    transition: transform 0.4s ease;
}


/* Courriel et tel enlever de la page à propos */
.page-id-5207 .team-content a[href^="tel"],
.page-id-5207 .team-content a[href^="mailto"] {
    display: none;
}


/* Formulaire bouton */
.gform_wrapper .gform_button,
.gform_wrapper .button {
    background-color: #5c2d88 !important;
    color: #ffffff !important;
    border: 2px solid #5c2d88 !important;
    font-weight: 700 !important;
    border-radius: 0 !important; /* Coins carrés */
    transition: all 0.3s ease !important;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper .button:hover {
    background-color: #ffffff !important;
    color: #5c2d88 !important;
    border: 2px solid #5c2d88 !important;
    border-radius: 0 !important; /* Coins carrés au hover aussi */
}



/* Supprime les flèches automatiques des listes The7 */
ul li::before,
ul li::after {
    content: none !important;
    display: none !important;
}

/* Si tu utilises les listes stylisées The7 */
.dt-fancy-list li::before,
.dt-fancy-list li::after {
    content: none !important;
    display: none !important;
}

ul {
    list-style-position: outside; 
    padding-left: 18px !important;
}

ul li {
    padding-left: 0 !important;
}



/* Appliquer seulement à ce media grid */
.vc_media_grid .vc_gitem-zone {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Empêche le crop du vrai <img> */
.vc_media_grid .vc_gitem-zone-img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Retire le ratio forcé */
.vc_media_grid .vc-gitem-zone-height-mode-auto-1-1 {
    padding-top: 0 !important;
}



/* Cacher l’image à la une automatique dans les articles */
.single-post .post-thumbnail,
.single-post .featured-image,
.single-post .entry-featured,
.single-post .wp-post-image {
    display: none !important;
}

/* Logo responsive */
.mobile-header-bar .mobile-branding img {
    max-width: 50% !important
  
}
/*Btn Center responsive */
@media screen and (max-width: 767px)  {
.center-btn-responsive{
	    text-align: center !important;
}
}
/* Titlre end mobile */
@media (min-width: 601px) and (max-width: 778px) {
    #fancy-header > .wf-wrap {
        align-items: end !important;
    }
}