/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 1.6.2
*/

@media screen and (max-width: 600px) {
	.sections_group {
		padding-top: 30px !important;
	}
	
	.h2-footer {
		font-size: 3rem !important;
		line-height: 3rem !important;
	}
	
	.h2-min-footer {
		font-size: 2rem !important;
		line-height: 2rem !important;
	}
	
	.btn-footer {
		margin: 2rem 0 0 0 !important;
	}
	
	.sub-menu {
		display: block !important;
	}
	
	.sub-menu > li {
		padding-bottomÈ 10px;
	}
	
	#menuClick {
		font-size: 2rem !important;
	}
}

.h2-footer {
	font-size: 6rem;
	font-weight: 900;
	line-height: 6rem;
}

.h2-min-footer {
	font-size: 3rem;
	line-height: 4rem;
}

.btn-footer {
	margin: 5rem 0 0 0;
}

#lp_eu_container {
	opacity: 1 !important;
	border: solid 1px;
	border-radius: 0px !important;
	box-shadow: none !important;
	font-size: 0.9rem;
}

#lp_eu_table tbody tr td {
    text-align: left;
}

#lp_eu_close_button {
    display: none;
}

.espace-media {
    display: flex;
    justify-content: space-between;
    width: 85%;
    color: #a8aabe !important;
}

.copyright {
    display: flex;
    justify-content: space-between;
    width: 85%;
}

.copyright a,
.espace-media a {
    padding-left: 20px;
}

.copyright a:hover,
.espace-media a:hover {
    color: #cccccc !important;
}

ul.teaser-wrapper {
	display: grid;
	grid-gap: 1rem;
	
	@media screen and (min-width: 1024px) {
		grid-template-columns: 2fr 1fr;
		
		> li:first-child {
			grid-row: 1 / 3;
		}
	}

	> li:first-child {
		float: none;
		width: auto;
		margin: 0;
	}
	
	> li:not(:first-child) {
		float: none;
		width: auto;
		margin: 0;
	}

	> li {
		float: none;
		width: auto;
	}
}

.padding-2rem {
	padding: 2rem 0 0 0;
}

.easyLink {
	width: 100% !important;
	float: none;
	padding: 0;
	margin: 0;
	
	> div {
		display: grid;
		grid-template-columns: auto auto;
		grid-gap: 2rem;

		@media screen and (min-width: 1024px) {
			grid-template-columns: auto auto auto;
		}

		&.clearfix:before {
			display: none;
			content: "";
		}
		
		> div {
			transition: transform 0.1s;
			
			&:hover {
			    transform: scale(1.1);
			}
		}
	}
}

a.btn-link {
	background-color: #1c5ba8 !important;
	color: #fff ! important;
	padding: 11px 20px !important;
	margin: 0 0 0 auto !important;
	padding-left: 35px !important;
	padding-right: 35px !important;
	letter-spacing: 0.1em !important;
	font-weight: 500 !important;

	border-radius: 50px;
	text-decoration: none;
	cursor: pointer;
	
	&.square {
		border-radius: 0;

		&:hover {
			text-decoration: none;
			opacity: 1;
		}
	}

	&.transparent {
		opacity: 0.9;
	}
}

>div {
	display: flex;
	flex-direction: row;
	padding: 2rem;
}

.slider {}
.quickLink {
	display: grid;
	grid-gap: 1rem;
	
	@media screen and (min-width: 1024px) {
		grid-template-columns: 1fr 1fr 1fr;
		
		> a:first-child {
			grid-column: 1 / 3;
		}
	}

	> a {
		display: grid;
		height: 32rem;
		align-items: end;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: top;
		text-decoration: none;

		transition: transform 0.1s;

		@media screen and (min-width: 1024px) {
		    background-position: center;
		}
		
		&:hover {
			transform: scale(1.1);
		}

		> p {
			margin: 0;
			padding: 2rem;
			text-align: center;
			color: #ffffff;
			background-color: #1C5BA8;
		}
	}
}

.facebookFeed {
	flex-direction: column;

	>.title {
		display: grid;
		grid-template-columns: auto auto;
		justify-content: space-between;
		align-items: center;
		margin: 1rem 0;

		>h3, >a {
			padding: 0;
			margin: 0;
		}
	}

	> .news {
		display: grid;
		grid-template-columns: 2fr 1fr;
		grid-gap: 1rem;

		> div:first-child {
			grid-row: 1 / 3;
		}

		> div {
			float: none;
			width: auto;
		}
	}
}
.instagramFeed {
	flex-direction: column;

	> .title {
		display: grid;
		grid-template-columns: auto auto;
		justify-content: space-between;
		align-items: center;
		margin: 1rem 0;

		>h3, >a {
			padding: 0;
			margin: 0;
		}
	}
	> .news {
		display: grid;
		grid-template-columns: auto auto auto auto;
		grid-gap: 2rem;
		margin-bottom: 1rem;
	}
	> .footer {
		text-align: center;
	}
}
.subFooter {}

.no-display {
	display: none;
}

#Header_wrapper {
	position: fixed;
    top: 0;
    z-index: 999999999999;
    left: 0;
    right: 0;
}

.formulaires .four-cols .mcb-wrap-inner{
	display: grid;
	grid-template-rows: 1fr 1fr;
	grid-template-columns: 1fr 1fr;
	grid-gap: 30px 20px;
}

.formulaires{
	h2{
		font-size: 65px;
		line-height: 65px;
		font-weight: 500;
		color: #0b1649;
	}
}
	
.formulaires {
	
	.btn-v:hover, .btn-h:hover{
		transition: all .2s ease;
		background: #888;
	}
	
	.btn-h, .btn-v{
		a:hover{
			text-decoration: none;
		}
	}
	.btn-v {
		background: #225ba7;
		padding: 1em 2em;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin:0;

		h3{
			font-size: 34px;
			line-height: 30px;
			font-weight: 800;
			letter-spacing: 0px;
			color: #FFF;
			margin-top: 10px;
			margin-bottom: 0;
		}
	}	
	
	.btn-h{
		background: #225ba7;
		padding: 2em 2em;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		margin:0;
		
		h3{
			font-size: 45px;
			line-height: 45px;
			font-weight: 600;
			letter-spacing: 0px;
			color: #FFF;
			margin-top: 10px;
			margin-bottom: 0;
		}
	}
}




@media only screen and (min-width: 980px) {
  	#Small_menu {
		opacity: 0;
		transition: opacity 0.3s ease, padding 0.3s ease;
		margin: auto 0;
	}

	#Small_menu > ul {
		display: flex;
	}
	
	#Small_menu > ul > li {
		position: relative;
		padding: 0 20px;
		font-size: 1.2vw;
	}
	
	#Small_menu > ul > li > a > .nom:hover {
		color: rgb(254, 235, 1) !important;
	}
	
	#Small_menu > ul > li:not(:last-child):after {
		content: "";
		display: block;
		width: 6px;
		height: 6px;
		top: calc(50% - 3px);
		right: -3px;
		position: absolute;
		background-color: #fff;
	}

	#Small_menu .nom {
		color: #fff !important;
	}

	#Top_bar .LeftTopBar {
		display: flex;
		gap: 0px;
	}

	.scrolled #Small_menu {
		opacity: 1;
		transition: opacity 0.1s ease, padding 0.3s ease;
	}

	.scrolled #logo img {
		max-height: 50% !important;
		transition: max-height 0.3s ease, padding 0.3s ease;
	}
}

@media only screen and (max-width: 980px) {
	#Small_menu {
		display: none !important;
	}
}

.cursor {
	cursor: pointer !important;
}

.hide {
	display: none !important;
}

nav#navMenu {
	#Top_bar {
		border: none;
		> div {
			background-color: rgba(11, 22, 73, 1);
			display: flex;
			justify-content: space-between;

			.logo {
				float: none;
				
				transition: content 0.3s ease;
				
				img {
					transition: max-height 0.3s ease, padding 0.3s ease;
				}
				
				
				@media (max-width:767px){
					#logo{
						margin: 10px;
					}
				}
				
			}

			.rightTopBar {
				display: flex;
				align-items: center;
				padding: 0 30px;
				gap: 1rem;

				a {
					padding: 1rem;
					font-size: 1.7vw;
					color: #ffffff;

					&#menuClick {
						transition: all 250ms ease;
					}

					&.phoneNumber {
						display: none;
						@media screen and (min-width: 1024px) {
							display: block;
						}
					}
				}

				form {
					display: none;
					align-items: center;
					@media screen and (min-width: 1024px) {
						display: flex;
					}

					input {
						margin: 0;
						font-size: 1.6rem;
						transition: all 250ms ease;
						
						@media screen and (min-width: 1366px) {
							min-width: 400px;
						}

						&.hide {
							display: none;
						}
					}
				}
			}
		}
	}

	.container_menu {
		opacity: 0;
		pointer-events: none;
		position: fixed;
		z-index: 99;
		top: -100vh;
		left: 0;
		width: 100%;
		height: 100%;
		padding: 2rem 1rem;
		background-color: rgba(11, 22, 73, 1);
		transition: top 250ms ease, opacity 250ms ease;
		box-sizing: border-box;

		&.open {
			top: 80px;
			opacity: 1;
			pointer-events: auto;
		}

		.container_scroll {
			overflow-y: auto;
			overflow-x: hidden;
			-webkit-overflow-scrolling: touch;
			max-height: 100%;
			height: 100%;
			padding-bottom: 75px;
			padding-right: 20px;

			.container_contenu_menu {
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;

				@media screen and (max-width: 1180px) {
					gap: 4%;
				}

				.menu_principal {
					width: 100%;
					display: grid;
					margin: 0;
					grid-gap: 20px;
					
					@media screen and (max-width: 1180px) {
						margin-bottom: 2em;
					}

					@media screen and (min-width: 1180px) {
						width: calc(60% - 20px);
					}
					@media screen and (min-width: 520px) {
						grid-template-rows: 1fr 1fr 1fr;
						grid-template-columns: 1fr 1fr;
						margin-left: -15px;
					}
					@media screen and (min-width: 768px) {
						grid-template-rows: 1fr 1fr;
						grid-template-columns: 1fr 1fr 1fr;
					}

					a.block_item {
						background-color: #1c5ba8;
						display: grid;
						grid-gap: 0px;
						justify-items: center;
						align-items: center;
						grid-template-rows: 2fr 1fr;
						padding: 15px;
						text-decoration: none;
						transition: background-color 250ms ease;

						span.nom {
							display: block;
							width: 100%;
							text-align: center;
							font-size: 24px;
							font-weight: 800;
							font-family: "DM Sans", Helvetica, Arial, sans-serif;
							color: #ffffff;
							transition: color 250ms ease;
						}

						&:hover {
							background-color: #888888;
						}
					}
				}

				.menu_culture {
					width: 100%;
					@media screen and (min-width: 520px) {
						width: 48%;
					}
					@media screen and (min-width: 1180px) {
						width: 20%;
					}
					display: grid;
					justify-items: stretch;
					align-items: stretch;
					margin: 0;
					grid-gap: 20px;

					a.block_item_culture {
						display: block;
						background-color: #1c5ba8;
						padding: 20px;
						grid-gap: 10px;
						display: grid;
						grid-template-columns: 1fr 3fr;
						align-items: center;
						justify-content: flex-start;
						text-decoration: none;
						transition: background-color 250ms ease;

						img {
							width: 100%;
							min-width: 50px;
							max-height: 50px;
							object-fit: contain;
						}

						span.nom {
							display: block;
							width: 100%;
							text-align: left;
							font-size: 24px;
							font-weight: 700;
							font-family: "DM Sans", Helvetica, Arial, sans-serif;
							color: #ffffff;
							transition: color 250ms ease;
						}

						&:hover {
							background-color: #888888;
						}
					}
				}

				.menu_secondaire {
					width: 100%;
					margin: 15px;
					@media screen and (min-width: 520px) {
						width: 48%;
						margin:0;
					}
					@media screen and (min-width: 1180px) {
						width: calc(20% - 20px);
					}
					display: grid;
					justify-items: stretch;
					align-items: stretch;
					

					.block_item_secondaire {
						display: grid;
						grid-template-columns: 1fr 3fr;
						text-decoration: none;
						margin: 0;
						padding: 20px 0;
						opacity: 1;
						align-items: center;

						border-bottom: #1c5ba8 solid 2px;
						&:last-of-type {
							border-bottom: none;
						}

						span.nom {
							font-size: 22px;
							font-weight: 800;
							font-family: "DM Sans", Helvetica, Arial, sans-serif;
							color: #ffffff;
							transition: color 250ms ease;
						}
						&:hover span.nom {
							color: #FEEB01;
						}
						
						img{
							max-width: 50px;
							max-height: 50px;
							object-fit: contain;
						}
					}
				}
			}

			.sub-menu {
				margin-top: 2em;
				display: flex;
    			gap: 40px;
				li {
					&:last-of-type {
						margin-right: 0;
					}

					a.link {
						font-size: 26px;
						color: #ffffff;
						position: relative;
						border-right: #fff solid 1px;

						&:hover {
							color: #FEEB01;
						}

						&:last-of-type {
							border-right: none;
						}

						&.after:after {
							content: "";
							position: absolute;
							top: 10px;
							right: -21px;
							width: 1px;
							height: 1rem;
							display: block;
							background-color: #FEEB01;
						}
					}
				}
			}
		}
	}
}


footer#Footer {
	@media only screen and (max-width: 1200px) {
		.footerAmbulanciere .section_wrapper .mcb-wrap .mcb-wrap-inner .mcb-column .column_attr h3 {
			padding-right: 30px;
		}
		.wp-btn-text {
    		letter-spacing: 0em;
    		font-weight: 300;
		}
		.button_align.align_right {
			padding-right: 5px;
		}
	}
	.vigile {
		background-image:url(https://www.fphq.ca/wp-content/uploads/2022/10/la-vigile-1-scaled.jpg);
		background-repeat:no-repeat;
		background-position:center;
	}

	.devenirMembre {
		padding-top: 25px;
		padding-bottom: 25px;
		background-image: url(http://www.fphq.ca/wp-content/uploads/2020/08/FPHQ-bas-de-page-bleu.jpg);
		background-repeat: no-repeat;
		background-position: right top;

		a.button {
			background-color: #1c5ba8 !important;
			color: #ffffff;
		}
	}

	#Bottom {
		background-color: rgba(11, 22, 73, .96);
		padding: 0;
		
		@media screen and (max-width: 1180px) {
			padding: 2em 2em 3.5em 1em;
		}
		
		@media screen and (max-width: 425px) {
			padding: 2em 1em 3.5em 1em;
		}
		
		.address{
			position: relative;
			
			a{
				display: block;
				max-width: 400px;
				
				img{
					max-width: 100%;
				}
			}
		}
		
		.socials{
			position: absolute;
			top:0;
			right:0;
			
			display: flex;
			gap: 10px;
			
			svg{
				fill: white;
			}
			
			@media screen and (max-width: 600px) {
				position: relative;
				margin-top: 3em;
				justify-content: center;
				
			}
		}
		
		small{
			position: absolute;
			bottom:10px;
			left:0;
			right:0;
			text-align: center;
			width: 100%;
			font-size: .75em;
		}
		
		.content{
			padding-left: 3em;
		}
		.phoneNumber{
			font-size: 1.6em;
		}
	}
}

#Footer h1, #Footer h1 a, #Footer h1 a:hover, #Footer h2, #Footer h2 a, #Footer h2 a:hover, #Footer h3, #Footer h3 a, #Footer h3 a:hover, #Footer h4, #Footer h4 a, #Footer h4 a:hover, #Footer h5, #Footer h5 a, #Footer h5 a:hover, #Footer h6, #Footer h6 a, #Footer h6 a:hover  {
	color: #ffffff;
}

#Footer p {
	color: #a8aabe
}

.copyright span {
	color: #a8aabe
}

.copyright a {
	color: #FFFFFF
}

a#back_to_top.button.button_js, #popup_contact > a.button {
    color: #65666C;
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#Footer.button_label {
	color: #FFFFFF;
}

#Footer .footer_copy {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.frm_color_block {
	background-color: #F5FBFF;
	padding: 0px;
}

.nouvelles-espace-haut {
	margin-top: 80px;
}

#bouton-toute-les-nouvelles {
	width: auto;
}
.section-post-related .section-related-adjustment {
	padding-top: 60px;
}

.with_frm_style select.frm_time_select {
	padding-right: 30px !important;
}