/*
Theme Name:     Gridlove Child
Theme URI:      http://mekshq.com
Description:    Child theme for Gridlove theme
Author:         Gba
Template:       gridlove
Version:        1.0.2
*/

/* Utiles */

.flex, .loader-p {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

/* Alignement à la ligne pour chaque élément */

.column {
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}

/* Alignement centré */

.em-pagination, .loader-p  {
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
}

/* Espace entre les élements partagé + version responsive */

.s-between {
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
}

@media (max-width:800px) {
	.s-between {
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-justify-content: flex-start;
		-ms-justify-content: flex-start;
		justify-content: flex-start;
	}
}

/* Aligné à la fin */

.f-end {
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-justify-content: flex-end;
	-ms-justify-content: flex-end;
	justify-content: flex-end;
}

/* Effet de transition progressif */

.transition {
	-webkit-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

/* Minimum 1024px de largeur */

@media (min-width:1024px) {
	
	/* Header recherche */
	
    body.search .gridlove-actions-search .gridlove-search-form {
        display: none;
    }
    
    .gridlove-slot-r .gridlove-actions-search .gridlove-search-form, .gridlove-slot-r .gridlove-actions-search .gridlove-search-form input, .gridlove-slot-r .gridlove-actions-search .gridlove-button-search:hover {
        background: #F0F0F0;
    }
    
    .gridlove-slot-r .gridlove-search-form input {
        font-style: italic;
        width: 100px;
    }
    
    .gridlove-slot-r .gridlove-actions-search .gridlove-search-form input {
        border-color: #F0F0F0;
    }
    
    .gridlove-slot-r .gridlove-actions-search .gridlove-button-search {
        font-size: 18px;
        color: #222222;
        padding: 0 15px 0 0;
        box-shadow: none;
        background: none;
    }
    
    .gridlove-header-sticky .gridlove-slot-r {
        margin-top: 4px;
    }
    
    /* Taille icone menu */
    
   .gridlove-actions-button i.fa {
        font-size: 18px;
    }
    
    /* Categorie menu */

    li.menu-item-has-children a {
        background: #F0F0F0;
        padding-bottom: 10px;
    }
    
    ul.gridlove-main-nav > li.menu-item-has-children {
        cursor: pointer;
        margin: 0 11px 0 11px;
    }
    
    .gridlove-header-bottom .gridlove-main-nav>li>a, .gridlove-header-sticky .gridlove-main-nav>li>a {
        height: 40px;
        line-height: 40px;
    }
    
    .gridlove-main-nav li>a {
        padding: 0 13px;
    }
    
    .gridlove-site-header .menu-item-has-children {
        background: #FCFCFC;
    }
    
    .gridlove-site-header ul.sub-menu {
        background: #F0F0F0;
        border-top: 1px solid #F0F0F0;
    }
	
	/* Zone commentaire */
	
	.comment-respond {
		max-width: 80%;
	}
	
	.comment-form-comment textarea {
		min-height: 150px;
		max-height: 150px;
	}
	
}

@media (max-width:1100px) {
    .gridlove-slot-r .gridlove-search-form input {
        width: 50px;
    }
}

/* Navigation fix background */

.gridlove-main-navigation {
    background: #ffffff;
}

/* Couleur boutons */

.gridlove-header-middle .gridlove-button-search, .submit, .gridlove-button, .mks_autor_link_wrap a, .mks_read_more a, input[type="submit"], .gridlove-button-search, .gridlove-header-sticky .gridlove-button-search {
    background-color: #111111;
}

.gridlove-header-middle .gridlove-button-search:hover, .submit:hover, .gridlove-button:hover, .mks_autor_link_wrap a:hover, .mks_read_more a:hover, input[type="submit"]:hover, .gridlove-pill:hover, .gridlove-button-search:hover, .gridlove-header-sticky .gridlove-button-search:hover {
    background-color: #E40520;
}

.gridlove-pill {
    color: #111111;
    background-color: #efefef;
}

/* Angle boutons */

.gridlove-button, .gridlove-button-search, .mks_autor_link_wrap a, .mks_read_more a, .submit, a.mks_button, input[type=submit] {
    border-radius: 0px;
    -webkit-box-shadow: 0 3px 5px 0 rgba(0,0,0,.1), inset 0 0 0 transparent;
    box-shadow: 0 3px 5px 0 rgba(0,0,0,.1), inset 0 0 0 transparent;
}

/* Bouton charger plus */

.gridlove-load-more a {
    width: 100%;
    color: #222222;
    background: #eaeaea;
    text-transform: none;
    font-size: 18px;
    font-weight: 500;
}

.gridlove-load-more a::before {
    content: "\f13a";
    font-family: FontAwesome;
    font-size: 27px;
    color: #009cff;
    padding-right: 15px;
}

/* Boutons partage */

.gridlove-share i.share-icon {
	font-size: 23px;
    color: rgba(17, 17, 17, .8);
	padding-bottom: 12px;
}

@media (max-width:1020px) {
	.gridlove-share-wrapper {
		top: 0;
		left: -65px;
		position: absolute;
		z-index: 1001;
	}
	
	.gridlove-share i.share-icon {
		font-size: 28px;
		padding: 5px 6px;
	}
}

/* Miniature en haut d'un article */

.vignette-article {
	position: absolute;
	top: -28px;
	right: 42px;
	z-index: 8999;
    -webkit-box-shadow: 0 3px 5px 0 rgba(0,1,1,.5);
    box-shadow: 0 3px 5px 0 rgba(0,1,1,.5);
}

.gridlove-single-layout-9 .vignette-article {
	top: -480px;
	-webkit-box-shadow: 0 3px 5px 0 rgba(255,255,255,.5);
	box-shadow: 0 3px 5px 0 rgba(255,255,255,.5);
	opacity: .8;
}

.gridlove-single-layout-1 .vignette-article, .gridlove-single-layout-2 .vignette-article, .gridlove-single-layout-3 .vignette-article, .gridlove-single-layout-4 .vignette-article, .gridlove-single-layout-5 .vignette-article, .gridlove-single-layout-6 .vignette-article {
	top: 28px;
}

@media (min-width: 1260px) {
	
	/* on laisse plus de place à la vignette */
	
	.box-single  .entry-title, .entry-category {
		max-width: 960px;
	}
}

@media (min-width: 1041px) {
	
	/* on laisse plus de place à la vignette */
	
	.box-single .entry-title, .entry-category {
		max-width: 83%;
	}
}

@media (max-width: 1040px) {
	.vignette-article {
		top: -140px;
		-webkit-box-shadow: 0 3px 5px 0 rgba(0,1,1,.5);
		box-shadow: 0 3px 5px 0 rgba(0,1,1,.5);
	}
	
	.gridlove-single-layout-5 .vignette-article, .gridlove-single-layout-6 .vignette-article, .gridlove-single-layout-9 .vignette-article {
		display: none;
	}
}

/* Espace sous categorie */

.single .entry-category .gridlove-cat {
	margin-bottom: 5px;
}

/* Catégories non affichées */

.entry-category .gridlove-cat-56, .entry-category .gridlove-cat-93, .entry-category .gridlove-cat-83, .entry-category .gridlove-cat-41, .entry-category .gridlove-cat-6451, .entry-category .gridlove-cat-6452, .entry-category .gridlove-cat-6452, .entry-category .gridlove-cat-1756, .entry-category .gridlove-cat-42, .entry-category .gridlove-cat-855, .entry-category .gridlove-cat-6453, .entry-category .gridlove-cat-1756, .entry-category .gridlove-cat-6203, .entry-category .gridlove-cat-1097, .entry-category .gridlove-cat-4144, .entry-category .gridlove-cat-96, .entry-category .gridlove-cat-2047, .entry-category .gridlove-cat-46, .entry-category .gridlove-cat-43, .entry-category .gridlove-cat-44, .entry-category .gridlove-cat-3105, .entry-category .gridlove-cat-3105, .entry-category .gridlove-cat-1746, .entry-category .gridlove-cat-45, .entry-category .gridlove-cat-508 {
    display: none;
}

/* Espace sous article */

.single .box-inner-p-bigger.box-single, .page-template-default .box-inner-p-bigger.box-single {
    padding-bottom: 1px;
}


/* Bouton newsletter à la fin de l'article */

.newsletter-article {
	display: -webkit-flex;
	display: -ms-flexbox;
    display: flex;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
}

.newsletter-article a {
	color: #fff;
	background: #e84c3d;
	border-radius: 3px;
	padding: 10px 19px;
}

/* Post relatif à l'article */

@media (min-width: 1041px) {
	
	#related-large > .row {
		margin-left: 15px;
		margin-right: 15px;
	}

	.gridlove-related .gridlove-post {
		height: 236px;
		overflow: hidden;
	}

	.col-lg-12 .box-col-b {
		padding: 17px 30px 26px 0;
	}

	.col-lg-12 .gridlove-post-b .h3 {
		padding-top: 1px;
		font-size: 19px;
	}

	.entry-content {
		font-size: 15px;
	}
	
	.gridlove-related .module-title > h4 {
		line-height: 8px;
		font-size: 22px;
	}
}

@media (max-width: 1040px) {
	
	body .col-lg-12 .gridlove-post-b .h3, body .h2, body h2 {
		font-size: 22px;
	}
	
	#related-large > .row {
		margin-left: 5px;
		margin-right: 5px;
	}
}

@media (min-width: 1024px) {
	.col-lg-12 {
		-webkit-box-flex: 0;
		-webkit-flex: 0 0 50%;
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	
	.single .gridlove-related .row, .page-template-default .gridlove-related .row {
		flex-direction: row;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

}

/* Textarea commentaire */

.comment-form-comment textarea {
	min-height: 150px;
}

/* Sidebar fond gris */

.gridlove-site-background {
	margin-top: 10px;
	padding: 10px 0 8px 0;
	width: 100%;
	background: #eaeaea;
}

.related-background {
	padding: 34px 0 0 0;
}

#comments.gridlove-box {
    -webkit-box-shadow: none;
    box-shadow: none;
}

#comments.box-inner-p-bigger {
    padding: 40px 60px 0px;
}

/* Home Sidebar */

.home-sidebar {
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
    flex-direction: row;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
    justify-content: space-between;
	-webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.home-sidebar > div:first-child {
	width: 27%;
}

.home-sidebar > div:nth-child(2) {
	width: 72%;
}

@media (max-width:1120px) {
    .home-sidebar > div:first-child {
		width: 30%;
	}

	.home-sidebar > div:nth-child(2) {
		width: 69%;
	}
}

@media (max-width:1028px) {
    .home-sidebar > div:first-child {
		width: 38%;
	}

	.home-sidebar > div:nth-child(2) {
		width: 61%;
	}
}

@media (max-width:800px) {
    .home-sidebar > div:first-child {
		width: 44%;
	}

	.home-sidebar > div:nth-child(2) {
		width: 55%;
	}
}

@media (max-width:700px) {
    .home-sidebar > div:first-child, .home-sidebar > div {
		width: 48%;
	}

	.home-sidebar > div:nth-child(2) {
		width: 51%;
	}
}

@media (max-width:620px) {
    .home-sidebar {
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
        flex-direction: column;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
    }
    
    .home-sidebar > div:first-child,.home-sidebar > div:nth-child(2), .home-sidebar > div {
		width: 100%;
	}
}


/* Sidebar large sous le contenu */

.gridlove-site-sidebar-large {
	margin-top: 16px;
	width: 100%;
}

.single #content .row, .page-template-default #content .row {
    position: relative;
}

.single .large-container .row, .page-template-default .large-container .row {
    -webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
    position: relative;
}

.single .gridlove-content, .page-template-default .gridlove-content {
    max-width: 100%;
}

.single .gridlove-sidebar, .page-template-default .gridlove-sidebar {
	display: -webkit-flex;
	display: -ms-flexbox;
    display: flex;
	-ms-flex: 0 30%;
    flex: 0 30%;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
    flex-direction: row;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
    justify-content: space-between;
	-webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
	flex-wrap: wrap;
    width: 99%;
    max-width: 99%;
    height: auto !important;
}

.single .gridlove-sidebar .gridlove-box, .single .gridlove-content .gridlove-box.box-vm, .page-template-default .gridlove-sidebar .gridlove-box, .page-template-default .gridlove-content .gridlove-box.box-vm {
    box-shadow: none;
}

.single .gridlove-sidebar .widget, .page-template-default .gridlove-sidebar .widget {
    padding: 25px 0 30px;
    width: 30%;
}

@media (max-width:1023px) {
    .menu-item-has-children a i.cat-icon {
        display: none;
    }
    
    .single .gridlove-sidebar, .page-template-default .gridlove-sidebar {
        -webkit-justify-content: space-between;
		-ms-justify-content: space-between;
		justify-content: space-between;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
    }
    
    .single .gridlove-sidebar .widget, .page-template-default .gridlove-sidebar {
        padding: 25px 0 30px;
        width: 48%;
    }
}

@media (max-width:800px) {
    .single .gridlove-sidebar .widget, .page-template-default .gridlove-sidebar .widget {
        padding: 25px 0 30px;
        width: 48%;
    }
    
    .single #gridlove_posts_widget-2, .page-template-default #gridlove_posts_widget-2 {
       margin: auto;
   }
}

@media (max-width:591px) {
    .single .gridlove-sidebar, .page-template-default .gridlove-sidebar {
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
        flex-direction: column;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
    }
    
    .single .gridlove-sidebar .widget, .page-template-default .gridlove-sidebar .widget {
        padding: 25px 0 30px;
        width: 100%;
    }
}

/* Slider sidebar */

.owl-carousel {
    width: 99%;
}

/* Home page sidebar */

.gridlove-text-module-content.gridlove-box {
    padding: 0;
}

.gridlove-text-module-content.gridlove-box {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
}

/* Placeholder champ formulaire */

::-webkit-input-placeholder {
    color: rgba(0, 0, 0, .7)
}

::-moz-placeholder {
    color: rgba(0, 0, 0, .7)
}

:-ms-input-placeholder {
    color: rgba(0, 0, 0, .7)
}

:-moz-placeholder {
    color: rgba(0, 0, 0, .7)
}

/* Widget produit - Footer et Sidebar */

.product {
	background: #ffffff;
	box-shadow: 0 3px 5px 0 rgba(0,1,1,.1);
}

.product > a {
	display: -webkit-flex;
	display: -ms-flexbox;
    display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
    flex-direction: row;
	-webkit-justify-content: space-around;
	-ms-justify-content: space-around;
	justify-content: space-around;
	text-decoration: none;
	border: none;
	padding: 19px 4px 20px 10px;
	height:100%;
}

.product > a:hover {
	text-decoration: none;
	border: none;
}

.gridlove-footer .product-img img {
	display: block;
	max-height: 110px;
	width: auto;
	height: auto;
}

.product-info {
    width: 58%;
	position: relative;
}

.product h4 {
	font-size: 16px;
	color: #222222;
	margin-bottom: 8px;
}

.gridlove-footer .product h4 {
	font-size: 17px;
}

.product p {
	color: #111111;
	padding: 0;
}

.product-footer p {
	padding: 2px 0;
}

.product-info p {
	margin: 0 0 16px;
}

.shop-area {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 12px 8px;
}

.product-info .shop-button {
    color: #fff;
	background: #232323;
	padding: 9px 20px;
	border: 1px solid #232323;
	text-decoration: none;
	transition: all .2s ease-in-out;
	white-space: nowrap;
	text-align: center;
}

.product-info .shop-button:hover {
    color: #ffffff;
	background: #E40520;
	border: 1px solid #E40520;
	box-shadow: 0 3px 5px 0 rgba(0,1,1,.1);
}

.product-footer .shop-button {
	margin: 0 50px 0 0;
}

.product .old-price {
    font-size: 13px;
	color: #cecece;
	text-decoration: line-through;
	padding-right: 6px;
}

.product .price {
    font-size: 16px;
	color: #ffffff;
}

/* Widget produit sidebar */

.product-widget {
	display: -webkit-flex;
	display: -ms-flexbox;
    display: flex;
	-ms-flex: 0 30%;
    flex: 0 30%;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
    flex-direction: row;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
    justify-content: space-between;
    width: 99%;
    max-width: 99%;
	-webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
	flex-wrap: wrap;
	background: #eaeaea;
}

.product-widget .product h4 {
	margin-bottom: 5px;
}

.product-widget .product {
	border: 1px solid #eaeaea;
	margin: 8px 0 14px 0;
}

.product-widget .product > a {
	padding: 16px 15px 8px 18px;
}

.product-widget .product-img {
	width: 40%;
	height: auto;
}

p.product-ref {
	font-size: 12px;
	color: #5e5e5e;
	padding-top: 20px;
	text-align: center;
}

/* boutons charger plus de produits et loader*/

.show-more-product {
	width: 100%;
	padding: 6px;
	font-size: 16px;
	text-align: right;
	margin: 3px 38px 9px 0;
	cursor: pointer;
}

.show-more-product:hover {
	color: #009cff;
}

.loader-p {
	font-size: 38px;
	text-align: center;
	-webkit-animation: spin 4s linear infinite;
	-moz-animation: spin 4s linear infinite;
	animation: spin 4s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }

@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }

@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

@media (min-width:1024px) {
	
	.product-widget .product {
		width: 31%;
	}
}

@media (max-width:1023px) {
	
	.product-widget .product {
		width: 48%;
	}
}

@media (max-width:700px) {

	.product-img {
		padding-top: 7px;
	}
}

@media (max-width:600px) {
	
    .product-widget {
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
	}
	
	.product-widget .product {
		width: 100%;
	}
	
	.product-widget .product > a {
		padding: 16px 15px 17px 18px;
	}
	
	/* .product a {
		white-space: wrap;
	} */
}

.product-widget .product-img {
	width: 30%;
	height: auto;
}

/* Footer */

.gridlove-footer {
    background: #eaeaea;
    color: #111111;
}

.gridlove-copyright {
    font-size: 16px;
    color: #fff;
    background: #222222;
	padding: 20px 0;
    opacity: 1;
}

.gridlove-copyright a {
    color: #fff;
}

.gridlove-copyright a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Nouvelle disposition colonnes footer */

@media (min-width: 1024px) {
	.gridlove-footer .col-lg-3 {
		-webkit-box-flex: 0;
		-webkit-flex: 0 0 50%;
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	
	.gridlove-footer .row div:first-child .widget, .row div:nth-child(2) .widget {
		margin-bottom: 0px;
		margin-top: 40px;
	}
	
	.row div:nth-child(3) .widget, .gridlove-footer .row div:last-child .widget {
		margin-top: 40px;
	}
}

@media (max-width: 1023px) {
	.gridlove-footer .col-lg-3 {
		-webkit-box-flex: 0;
		-webkit-flex: 0 0 100%;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	
	.gridlove-footer .widget:first-child {
		margin-top: 46px;
	}
	.gridlove-footer .widget:last-child {
		margin-bottom: 4px;
	}
	
	.gridlove-footer .row > div:last-child .widget {
		margin-top: 20px;
		margin-bottom: 40px;
	}
}

/* Colonnes footer */

.gridlove-footer .footer-cases {
	display: -webkit-flex;
	display: -ms-flexbox;
    display: flex;
	-webkit-flex-align-items: flex-start;
	-ms-flex-align-items: flex-start;
	align-items: flex-start;
}

.gridlove-footer .textwidget.custom-html-widget .footer-case-1 img {
	margin: 12px 10px 0 10px;
}

.gridlove-footer .textwidget.custom-html-widget .footer-case-1 a {
	color: #fff;
	background: #222;
	font-size: 19px;
	padding: 12px 18px;
	border: none;
	text-decoration: none;
}

.gridlove-footer .textwidget.custom-html-widget .footer-case-2 img.follow {
	margin: 0 14px 0 14px;
	width: 42px;
	height: 42px;
}

.gridlove-footer .textwidget.custom-html-widget .footer-case-2 a {
	width: 42px;
	height: 42px;
	border: none;
	margin-left: 15px;
}

.gridlove-footer .widget:nth-child(1), .gridlove-footer .widget:nth-child(2) {
    line-height: 1;
}

/* Footer 3 colonnes de liens */

.gridlove-footer .widget ul.menu {
    display: -webkit-flex;
	display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.gridlove-footer .widget ul.menu > li {
    width: 31.5%;
}

.gridlove-footer .gridlove-nav-widget-acordion {
    display: none;
}

.gridlove-footer ul.sub-menu {
    display: block !important;
}

.gridlove-footer .widget ul.menu > li > a {
	color: #fff;
	font-size: 16px;
	font-family: Arial, Helvetica, sans serif;
	font-weight: 400;
	border: none;
	border-left: 6px solid;
	background: #e84c3d;
    font-weight: normal;
	padding: 6px 4px 6px 9px;
}

.gridlove-footer .widget ul.menu > li:nth-child(2) > a {
	background: #8d44ad;
}

.gridlove-footer .widget ul.menu > li:nth-child(3) > a {
	background: #3598db;
}

.gridlove-footer .widget_nav_menu .sub-menu {
    background: #eaeaea;
}

.gridlove-footer ul.sub-menu {
	margin-top: 8px;
}

.gridlove-footer .widget ul.sub-menu li a {
    font-weight: 400;
    color: #444;
	font-size: 14px;
	padding: 12px 8px;
	background: #eaeaea;
	white-space: nowrap;
}

.gridlove-footer .widget ul.sub-menu li a {
    padding: 10px 8px 5px 8px;
}

@media (max-width:600px) {
	
	.footer-case-2 h3 {
		width: 100%;
	}
	
	.footer-cases.footer-case-2 {
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	
	.footer-cases.footer-case-2 a {
		margin: 6px 0;
	}
	
	.gridlove-footer .widget ul.menu {
		flex-direction: column;
	}
	
	.gridlove-footer .widget ul.menu > li {
		margin-bottom: 11px;
	}
	
	.gridlove-footer .widget ul.menu > li.menu-item {
		width: 100%;
	}
}

/* Stylage Widgets */

/* Google Events Manager */

.page-id-78 .em-location-map-container {
	background: #ffffff !important;
	width: 100% !important;
}

.all-events .event-element {
	border: 1px solid #e5e5e5;
	padding: 20px 32px;
	margin: 15px 0;
}

@media (min-width:801px) {
	.event-element p.place {
		margin: 0;
	}
}

.events-content h4, .events-content h2 {
	color: #444444;
}

.event-element h5 {
	color: #333333;
}

.event-element a {
	color: #222222;
}

.event-element h4 a:hover {
	color: #009cff;
}

.event-element .event-link a {
	font-size: 16px;
	background: #eaeaea;
	padding: 10px 15px;
}

.event-element .event-link a:hover {
	background: #cdcdcd;
    -webkit-box-shadow: 0 3px 5px 0 rgba(0,0,0,.1), inset 0 0 0 transparent;
    box-shadow: 0 3px 5px 0 rgba(0,0,0,.1), inset 0 0 0 transparent;
}

.em-pagination {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
}

.em-pagination a, .em-pagination strong {
	padding: 6px 12px;
	margin: 5px 3px;
	background: #cdcdcd;
}

.em-pagination strong, .em-pagination a:hover {
	color: #f2f2f2;
	background: #666;
}

@media (max-width:700px) {
	.em-location-map-container {
		max-width: 300px !important;
	}
}

/* Carte et calendrier */

.event-map-case {
    width: 65%;
}

.event-calendar-case {
    width: 33%;
}

@media (max-width:1000px) {
	.page-event-grid {
        -webkit-flex-direction: column;
    	-ms-flex-direction: column;
    	flex-direction: column;
    }
    
    .event-map-case, .event-calendar-case {
        width: 100%;
    }
	
	.event-calendar-case {
		margin-top: 16px;
	}
}

/* Calendrier Events Manager */

table.em-calendar tbody td {
    font-size: 14px;
    padding: 10px;
}

table.em-calendar td.eventful a {
    color: #009cff;
}

table.em-calendar td.eventful-today a {
    font-weight: 600;
    color: #5e5e5e;
}

.em-calendar tr.days-names {
    background: rgba(0,0,0,.05);
}

/* Google Map */

#map {
	height: 500px;
	width: 100%;
}

#map .gm-style-iw {
    height: 96px;
}

#map .gm-style-iw h3 {
	font-size: 18px;
	color: #222;
}

#map .gm-style-iw p {
	color: #111;
}

/* Formulaire 7 form */

.wpcf7-form label {
    font-size: 14px;
}

.wpcf7-radio span {
    padding-top: 12px;
}

textarea.wpcf7-textarea {
    height: 110px;
    min-height: 110px;
}

.wpcf7-form {
    padding-bottom: 6px;
}