/*
Theme Name: Institut Francais Maroc
Text Domain: ifmaroc
Version: 1.3
Requires at least: 5.0
Requires PHP: 7.1
Description: 
Author: Nindo
Author URI: https://nindo.ma/
Theme URI: https://nindo.ma/
License: MIT
License URI: https://opensource.org/licenses/MIT
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------*/

body{
	text-align: justify;
}

input[type="button"] {
	background: #67bcee;
	color: #000000;
	font-size: 14px;
	font-weight: 300;
}

.text-left{
	text-align: left;
}

/*gestion de la fenetre Fiche MapSvg*/

.mapsvg-wrap-all {
	margin-top: 30px;
	margin-bottom: 30px;
}

.mapsvg-details-container .mapsvg-controller-view-content {
	padding-left: 9px;
	padding-right: 4px;
	padding-top: 25px !important;
}

.mapsvg-details-container .mapsvg-controller-view-content {
	padding-top: 0;
	background: rgba(255, 255, 255, 0.15);
}

.mapsvg-filters-wrap label {
	text-transform: uppercase;
	color: black !important;
	margin: 0 0 4px 0;
	margin-top: 0px;
	display: block;
	line-height: 12px;
	text-align: left;
	font-weight: 700 !important;
}

.nano>.nano-content {
	position: absolute;
	overflow: scroll;
	overflow-x: scroll;
	overflow-x: hidden;
	top: 2em !important;
	right: 0;
	bottom: 0;
	left: 0;
}

.mapsvg-directory .mapsvg-filters-wrap label {
	margin-top: 2em !important;
}

.select2-container {
	padding: 6px 12px;
	padding-bottom: 6px;
	height: 36px;
	padding-bottom: 3em;
}

.col-md-6 {
	position: relative;
	min-height: 1px;
	padding-left: 25px;
	padding-right: 5px;
	width: 50%;
	float: left;
}

.alignleft {
	float: left;
	margin: 0 12px 12px 0;
}

.container-fullwidth .row .row {
	margin-left: 0;
	margin-right: 0;
}

.row:after,
.row:before {
	content: " ";
	display: table;
}

.row:after {
	clear: both;
}

.post-content .gallery {
	margin: 15px 0 15px 0;
	padding: 0;
	display: inline-block;
	width: 100%;
}

.post-content .gallery .gallery-item {
	float: left;
	margin: 0;
	padding: 0;
}

.post-content .gallery .gallery-icon {
	position: relative;
	width: 100%;
	padding: 1px;
	margin: 0;
	border: 0;
}

.post-content .gallery .gallery-icon img {
	position: relative;
	width: 100%;
}

.post-content .gallery.gallery-columns-2 .gallery-item {
	width: 50%;
}

.post-content .gallery.gallery-columns-3 .gallery-item {
	width: 33.333333333%;
}

.post-content .gallery.gallery-columns-4 .gallery-item {
	width: 25%;
}

.post-content .gallery.gallery-columns-5 .gallery-item {
	width: 20%;
}

.post-content .gallery.gallery-columns-6 .gallery-item {
	width: 16.666666666%;
}

.post-content .gallery.gallery-columns-7 .gallery-item {
	width: 14.285714285%;
}

.post-content .gallery.gallery-columns-8 .gallery-item {
	width: 12.5%;
}

.post-content .gallery.gallery-columns-9 .gallery-item {
	width: 11.111111111%;
}

.post-content .gallery.gallery-columns-10 .gallery-item {
	width: 10%;
}

.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme input[type="email"]:focus,
.gform_wrapper.gravity-theme input[type="email"]:focus-visible,
.gform_wrapper.gravity-theme input[type="tel"]:focus,
.gform_wrapper.gravity-theme input[type="tel"]:focus-visible,
.gform_wrapper.gravity-theme input[type="text"]:focus,
.gform_wrapper.gravity-theme input[type="text"]:focus-visible,
.gform_wrapper.gravity-theme textarea:focus,
.gform_wrapper.gravity-theme textarea:focus-visible {
	color: rgba(97, 97, 97, 1);
	background-color: rgba(245, 245, 245, 1);
	border: 2px solid rgba(245, 245, 245, 1);
	box-shadow: none;
	outline: 0;
}

.gform_wrapper.gravity-theme .gfield_label {
	color: rgba(119, 117, 119, 1);
	font-size: 1.125rem;
	font-weight: 700;
}

.gform_wrapper.gravity-theme input[type="submit"] {
	padding: 0.5rem 0.75rem;
	background-color: #e3041b;
	color: #fff;
	border-width: 1px;
	border-color: transparent;
	cursor: pointer;
	transition: all 300ms ease-in-out;
}

.gform_wrapper.gravity-theme input[type="submit"]:focus,
.gform_wrapper.gravity-theme input[type="submit"]:focus-visible,
.gform_wrapper.gravity-theme input[type="submit"]:hover {
	background-color: transparent;
	color: #e3041b;
	border-color: #e3041b;
}

.gform_required_legend {
	display: none;
	visibility: hidden;
	opacity: 0;
}

.gform_title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #0076a6;
	text-transform: uppercase;
	margin-bottom: 2rem;
}

.popup-cta.apprendre-fr {
	width: 540px;
	height: 540px;
	background-color: #65a200;
	background-image: url(https://if-maroc.org/wp-content/uploads/2021/07/popup_background.jpeg);
	background-position: center bottom;
	background-size: contain;
	background-repeat: no-repeat;
	max-width: 100vw;
	max-height: 100vw;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.popup-cta.apprendre-fr .popup-content {
	margin-left: 41px;
	max-width: 42vw;
}

.popup-cta.apprendre-fr .popup-content .title,
.popup-cta.apprendre-fr .popup-content .date-range {
	margin-bottom: 40px;
	max-width: 100%;
}

.popup-cta.apprendre-fr .popup-content .button {
	margin-bottom: 8px;
	max-width: 100%;
}

.popup-cta.apprendre-fr *:focus-visible {
	outline: none;
}

.language-switcher {
	display: flex;
	font-family: GeDinarOne;
}

#footer .wpml-ls-statics-shortcode_actions a{
    font-family: GeDinarOne;
    color: #fff !important;
}

@media screen and (max-width: 767px) {
	.popup-cta.apprendre-fr .popup-content {
		margin-left: 31px;
	}

	.popup-cta.apprendre-fr .popup-content .title,
	.popup-cta.apprendre-fr .popup-content .date-range {
		margin-bottom: 24px;
	}

	.language-switcher>a {
		color: transparent;
	}
	.language-switcher .wpml-ls-native{
	    display: none;
	}
	.wpml-ls-statics-shortcode_actions{
        display: flex;
        align-items: center;
    }
}

.session-date-text {
	text-align: right;
}

.bg-primary .gform_wrapper .gfield_label {
	color: #e5f4ff;
}

.bg-primary .gform_wrapper .ginput_container input[type=text],
.bg-primary .gform_wrapper .ginput_container input[type=email],
.bg-primary .gform_wrapper .ginput_container input[type=tel],
.bg-primary .gform_wrapper .ginput_container textarea {
	background-color: rgba(255, 255, 255, 0.2);
	border-color: transparent;
}

.page-template-page-custom-courses .contact-form-section .gform_wrapper,
.page-template-page-pro-courses .contact-form-section .gform_wrapper,
.single-certifications .contact-form-section .gform_wrapper {
	width: 66%;
	margin: 46px auto;
}

@media screen and (max-width: 767px){
	.page-template-page-custom-courses .contact-form-section .gform_wrapper,
	.page-template-page-pro-courses .contact-form-section .gform_wrapper,
	.single-certifications .contact-form-section .gform_wrapper {
		width: 100%;
	}
}

.alternating-cards-section .card-item {
	margin-bottom: 46px;
	display: flex;
	background-color: #fff;
}

.alternating-cards-section .card-item:nth-of-type(even) {
	flex-direction: row-reverse;
}

.alternating-cards-section .card-item .item-image-wrapper {
	width: 320px;
	/* height: 320px; */
	flex-shrink: 0;
	overflow: hidden;
}

@media screen and (max-width: 767px) {
	.alternating-cards-section .card-item .item-image-wrapper {
		display: none;
	}
}

.alternating-cards-section .card-item .item-content {
	display: flex;
	background-color: white;
	flex-direction: column;
	justify-content: center;
	padding: 24px 46px;
	width: 100%;
}

.alternating-cards-section .card-item .item-content .post-content {
	font-size: 1.125rem;
	color: #000000;
}

.alternating-cards-section .card-item .item-content .buttons-wrapper {
	display: flex;
	margin-top: 28px;
}

@media screen and (max-width: 767px) {
	.alternating-cards-section .card-item .item-content .buttons-wrapper {
		flex-direction: column;
		gap: 16px;
	}
}

.horizontal-cta .container{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.horizontal-cta .container .font-title{
	margin-bottom: 0;
    width: 520px;
	max-width: 100%;
    font-size: 26px;
}

.horizontal-cta .container .post-content{
    width: 264px;
	max-width: 100%;
}

.horizontal-cta .container .post-content a{
	color: #fff;
	text-decoration: none;
}

@media screen and (max-width: 767px) {
	.horizontal-cta .container{
		flex-direction: column;
	}
	.horizontal-cta .container .post-content{
		margin-top: 16px;
    	width: 100%;
	}
}

.certifications-grid a{
	text-decoration: none;
}

.no-underline{
	text-decoration: none !important;
}

.home-carousel{
	height: 500px;
}

.home-carousel .carousel-item{
	background-size: cover;
	background-position: center;
	height: 500px;
	position: relative;
}

.home-carousel .carousel-item:before {
    content: "";
    background-color: rgba(0, 0, 0, .4);
    width: 100%;
    height: 100%;
    position: absolute;
}

.home-carousel .carousel-item .carousel-item-content-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 80px);
}

.home-carousel .carousel-item .carousel-item-content{
	text-align: left;
}

.home-carousel .slick-arrow {
    width: 32px;
    height: 32px;
    position: absolute;
    bottom: 20px;
    color: transparent;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(data:image/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KDTwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIFRyYW5zZm9ybWVkIGJ5OiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGNsYXNzPSJpY29uIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjZmZmZmZmIj4KDTxnIGlkPSJTVkdSZXBvX2JnQ2FycmllciIgc3Ryb2tlLXdpZHRoPSIwIi8+Cg08ZyBpZD0iU1ZHUmVwb190cmFjZXJDYXJyaWVyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KDTxnIGlkPSJTVkdSZXBvX2ljb25DYXJyaWVyIj4KDTxwYXRoIGQ9Ik0yNTYgMTIwLjc2OEwzMDYuNDMyIDY0IDc2OCA1MTJsLTQ2MS41NjggNDQ4TDI1NiA5MDMuMjMyIDY1OS4wNzIgNTEyeiIgZmlsbD0iI2ZmZmZmZiIvPgoNPC9nPgoNPC9zdmc+);
}

.home-carousel .slick-arrow.slick-next {
	right: calc(50% - 60px);
}

.home-carousel .slick-arrow.slick-prev {
	left: calc(50% - 60px);
    transform: scaleX(-1);
}

.home-hero{
	position: relative;
}

.home-hero .city-selector-container{
	position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-hero-city-selector{
	position: absolute;
    top: 50%;
    right: calc((100% - 1480px) / 2);
    width: 370px;
    transform: translateY(-50%);
}

@media screen and (max-width: 1480px) {
    .home-hero-city-selector{
        right: 10px;
    }
}