/*
 Theme Name:     MapWeb
 Theme URI:      http://www.mapweb.fr
 Description:    MapWeb Theme
 Author:         Maximilien PLATEAU
 Author URI:     http://www.mapweb.fr
 Template:       islemag
 Version:        1.0.0
*/
 
/* = Custom CSS
------------------------------------------------------- */

/* Couleurs
*/

/* Global */

body {
	font-family: 'Montserrat';
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	margin-top: 0;
	color: #303030;
	font-family: "Raleway", Arial, sans-serif;
	font-weight: 700;
	line-height: 1;
}

p {
	word-wrap: break-word;
}

.mp_image img, img.mp_image {
	border-radius: 5px;
	box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.5);
}

.wp-pagenavi {
	text-align: center;
	margin-bottom: 20px;
	margin-top: -20px;
}

.wp-pagenavi a {
	color: #333;
}

.grecaptcha-badge, .inv-recaptcha-holder {
	display: none;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
	border: 1px solid #ccc;
}

.about-author figure img {
	border-radius: 5px;
	box-shadow: 0 0 3px 1px rgba(0,0,0,0.2);
	padding: 5px;
}

.addtoany_header {
	display: inline;
	margin: 0 10px 0 0;
}

.a2a_button_facebook .a2a_count {
	width: 32px !important;
}

@media (min-width: 768px) {
    .row.vertical-align {
        display: flex;
        align-items: center;
    }
}

.entry-format {
	top: 130px;
}

/* Modal */

#myModal {
	padding: 10px;
}

#myModal .modal-content {
	background-color: #F5F5F5;
}

#myModal .modal-title {
	clear: none;
}

#myModal input,
#myModal label,
#myModal select,
#myModal textarea,
#myModal span.wpcf7-not-valid-tip {
	width: 100%;
	max-width: 400px;
	display:block;
	margin:0 auto;
}

#myModal input[type="submit"] {
	width: auto;
}

/* Menus*/

.navbar-top .mp-slogan {
	display: none;
	float: left;
	margin-right: 15px;
	font-size: 14px;
	font-weight: bold;
}

@media (min-width: 800px) {
   .navbar-top .mp-slogan {
	   display: block;
   }
}

.navbar-top .mp-slogan p {
	margin: 0;
}

.navbar-btn {
	margin: 0 !important;
}

.navbar-right .navbar {
	height: 0;
}

.navbar-form button {
	font-size: 14px;
	color: #FFF;
	padding: 0 16px;
}

.navbar-brand {
	height: 100px;
	padding: 0 15px;
	text-align: left;
}

.navbar-brand .header-logo-wrap {
	display: block;
}

.navbar-brand .header-logo-wrap h1.site-title {
	display: none;
}

.navbar-brand .header-logo-wrap .site-description {
	font-size: 14px;
	font-weight: bold;
	line-height: 1.6;
	font-family: 'Montserrat';
	color: #333;
}

.islemag-banner img {
	max-height: 100px;
}

.header-content #gdlv-slogan {
	font-weight: bold;
}

.sticky-menu {
	position: fixed;
	border: none;
}

#navbar .mp-menu-logo {
	display: none;
}

#navbar.sticky-menu .mp-menu-logo {
	display: block;
}

#navbar .mp-menu-logo a {
	padding: 0;
}

#navbar .mp-menu-logo img {
	height: 55px;
	padding: 5px;
}

.nav-menu li a{
	text-align: center;
}

.nav-menu li li a{
	text-align: left;
}

@media (min-width: 768px) {
	.sticky-menu .nav-menu > li:nth-child(1) {
		width:6%;
	}

	.sticky-menu .nav-menu > li:nth-child(2) {
		width:15%;
	}

	.sticky-menu .nav-menu > li:nth-child(3) {
		width:14%;
	}

	.sticky-menu .nav-menu > li:nth-child(4) {
		width:22%;
	}

	.sticky-menu .nav-menu > li:nth-child(5) {
		width:16%;
	}

	.sticky-menu .nav-menu > li:nth-child(6) {
		width:15%;
	}

	.sticky-menu .nav-menu > li:nth-child(7) {
		width:12%;
	}
}

@media (max-width: 767px) {
	
	.navbar-brand {
		text-align: center !important;
		display: block;
		width: 100%;
		padding: 0;
	}
	
	.islemag-banner {
		text-align: center !important;
		display: block;
		width: 100%;
		padding: 0;
		margin-top: 15px;
	}
	
	.main-navigation .nav-menu {
		overflow-y: auto;
		max-height: calc( 100vh - 230px);
	}
	
	.sticky-menu .main-navigation .nav-menu {
		max-height: 100vh;
	}
	
	.main-navigation li a {
		padding: 13px 0;
	}
	
	.main-navigation .sub-menu a {
	padding: 5px 0;
	}
}

.top-navigation.toggled-on .menu-menu-haut-container {
	background: #FFFFFF;
	z-index: 1;
	position: relative;
	max-width: 150px;
}


.sticky-menu .main-navigation .menu-toggle {
	width: auto;
	position: fixed;
	z-index: 1000;
	top: 0;
	right: 0;
}


/* Accueil */

/* Widgets */

.sidebar #text-6 {
	text-align: center;
}

.sidebar #text-6 img {
	padding-bottom: 20px;
}

.sp-latest-posts-widget .st-lp-time {
	display: none;
}

.islemag-small-banner {
	width: 120px;
	height: 120px;
}

/* De Vous A Nous */

.post-type-archive-de_vous_a_nous .page-header {
	margin-top: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.post-type-archive-de_vous_a_nous #archive-filters {
	text-align: left;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 20px;
	margin-bottom: 20px;
	background-color: #F5F5F5;
}

.post-type-archive-de_vous_a_nous  #archive-filters div.col-md-9 {
	text-align: right;
}

.post-type-archive-de_vous_a_nous div.col-md-3 {
	text-align: center;
}


.post-type-archive-de_vous_a_nous #archive-filters #recherche {
	padding: 5px;
	margin: 10px;
	min-width: 300px;
}

.post-type-archive-de_vous_a_nous .no-results .navbar-form {
	display: none;
}

.post-type-archive-de_vous_a_nous .mp-navi-top .wp-pagenavi {
	margin: 30px 0;
}

.post-type-archive-de_vous_a_nous article h3 {
	padding-bottom: 10px;
}

.post-type-archive-de_vous_a_nous article {
	line-height: 1.8;
}

.post-type-archive-de_vous_a_nous article .dvan_message {
	padding-bottom: 10px;
}

.post-type-archive-de_vous_a_nous article .dvan_reponse {
	padding: 20px;
	background-color: #F5F5F5;
}

@media (max-width: 767px) {
    .post-type-archive-de_vous_a_nous  #archive-filters div.col-md-9 {
		text-align: center;
	}
	
	.post-type-archive-de_vous_a_nous #archive-filters #recherche {
		min-width: 100%;
		margin: 10px 0;
	}
}

/* Annuaire */

.post-type-archive-annuaire_voyance .page-header {
	margin-top: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.post-type-archive-annuaire_voyance #archive-filters {
	text-align: left;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 20px;
	margin-bottom: 20px;
	background-color: #F5F5F5;
}

.post-type-archive-annuaire_voyance  #archive-filters div.col-md-10 {
	text-align: right;
}

.post-type-archive-annuaire_voyance div.col-md-2 {
	text-align: center;
}

.post-type-archive-annuaire_voyance #archive-filters #departement {
	padding: 5px;
	margin: 10px;
	min-width: 300px;
}

.post-type-archive-annuaire_voyance #archive-filters #recherche {
	padding: 5px;
	margin: 10px;
	min-width: 300px;
}

.post-type-archive-annuaire_voyance .no-results .navbar-form {
	display: none;
}

.post-type-archive-annuaire_voyance .mp-navi-top .wp-pagenavi {
	margin: 30px 0;
}

.post-type-archive-annuaire_voyance article .annuaire:after {
    clear: both;
    height: 0;
    width: 100%;
    content: '';
    display: block;
}

.post-type-archive-annuaire_voyance article .annuaire .fiche_photo {
	float: left;
}

.post-type-archive-annuaire_voyance article .annuaire .fiche_photo img {
	max-width: 150px;
	margin-right: 20px;
	box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.5);
}

.post-type-archive-annuaire_voyance article .annuaire .fiche {
	float: left;
	width: 75%;
}

.post-type-archive-annuaire_voyance article .annuaire .fiche .fiche_desc {
	text-align: justify;
}

.post-type-archive-annuaire_voyance article .annuaire .fiche .fiche_info {
	background-color: #F5F5F5;
	padding: 20px;
}

.post-type-archive-annuaire_voyance article .annuaire .fa{
	margin-right: 5px;
}

@media (max-width: 767px) {
    .post-type-archive-annuaire_voyance  #archive-filters div.col-md-10 {
		text-align: center;
	}
	
	.post-type-archive-annuaire_voyance #archive-filters label {
		display: block;
	}
	
	.post-type-archive-annuaire_voyance #archive-filters #departement {
		min-width: 100%;
		margin: 10px 0;
		max-width: 100%;
	}
	
	.post-type-archive-annuaire_voyance #archive-filters #recherche {
		min-width: 100%;
		margin: 10px 0;
	}
}

/* Page */

body.page article .entry-content {
	margin-left: 20px;
}

/* Articles */

body.single article.entry.single {
	margin-bottom: 50px !important;
}

body.single #comments {
	margin-bottom: 30px !important;
}

body.single #comments ul.comments-list {
	margin: 25px 0 !important;
}

@media all and (max-width:767px) {
	
	body.single article.entry.single {
		padding-left: 0;
	}
	
	body.single article.entry.single::after {
		display: none;
	}
	
	body.single article.entry.single .entry-date {
		position: relative;
	}
}

/* Contact Form*/

.wpcf7-validation-errors {
	border: 2px solid #009688 !important;
}

/* Social */

article .mp-share .fb-like {
	float: left !important;
	/*width: 90px !important;*/
	margin-top: 4px;
}

/* Footer */

#footer-inner {
	padding: 20px 0 !important;
}

#footer-inner h3 {
	color: #CCC !important;
}

#footer-inner a,
#footer-inner p {
	color: #DDD !important;
	font-family: 'Montserrat' !important;
	font-weight: Normal !important;
}

#footer-inner input {
	width: 100%;
	background-color: #252525;
	border: none;
}

#footer-inner input[type="submit"] {
	width: auto;
	background-color: #009688;
}

#footer-inner textarea{
	max-height: 150px;
}

#footer-inner input,
#footer-inner textarea {
	color: #F5F5F5 !important;
}

#footer-inner input::-moz-placeholder,
#footer-inner textarea::-moz-placeholder {
	color: #CCC !important;  
}

#footer-bottom {
	padding: 20px 0 0 0;
	text-align: center;
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
	border: none !important;
}

#footer-bottom h5 {
	color: #F5F5F5;
	line-height: 1.8;
}

#footer-bottom h5 img {
	height: 25px;
	margin-bottom: 5px;
	vertical-align: middle;
}

#footer-bottom a {
	color: #DDD !important;
}

#footer-bottom .footer-social-icons .fa {
	font-size: 22px;
}
