/*
Theme Name: SmartMag Child
Template: smart-mag
*/

.review-box .overall .number {display: none}

.wrap {
	width: var(--main-width);
}

@media (max-width: 949px) {
	.wrap {
		max-width: 100%;
	}
}

.post-header .post-title, .main-heading {
	font-weight: 600;
}

.main-head header {
	min-height: 80px;
	line-height: inherit;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.main-head .wrap header.default .title {
	width: 270px;
	font-size: 37px;
}

.review-box .overall {
	max-width: 340px;
}

.main-head header.default .right {
	margin-top: 5px !important;
	margin-bottom: 5px !important;
	line-height: 25px;
	margin-left: 10px;
	text-align: center;
	background: transparent;
}

.main-head .title, .main-head .title > a {
	position: relative;
}

#name {
	font-size: 22px;
	font-weight: 600;
	color: #314064;
}

.body-grand-public #name {
	color:#007298;
}

.body-grand-public .navigation-main {
	width: 100%;
	margin-right: 10px;
}

.navigation .menu ul li {
	min-width: 226px;
}
.navigation .menu > li li a {
    font-size: 14px;
}

.navigation .menu > li > a {
    font-size: 16px;
}

@media (min-width: 949px) and (max-width: 1200px) {
    .navigation .menu > li > a {
        padding: 0 13px;
        padding: 0 max(13px, calc(var(--nav-items-space) * .6));
        font-size: initial;
    }
}

.navigation .menu > li > a img {
    height: 22px;
    vertical-align: middle;
    margin-right: 5px;
}

.navigation .menu li li > a:after {
    display: block;
    position: absolute;
    line-height: inherit;
    bottom: 9px;
    right: 12px;
}

ul.posts-list,
ul.slides {
    margin-left: 0;
}

h3.gallery-title {
    color:#dd9f42;
}

.main-logo-link {
    position: relative;
}

.logo-image {
    display: inline-block;
    width: 127px;
}

.logo-image-gp {
    display: none;
}

.txt_pro_logo {
    display: block;
    color: #ad2c73;
    font-size: 30px;
    line-height: 30px;
    position: absolute;
    font-weight: bold;
    left: 194px;
    top: 21px;
}

select {
    height: var(--input-height, 38px);
    vertical-align: baseline;
}

.lower-footer .menu {
    flex-wrap: wrap;
}

@media screen and (max-width: 867px) {
    #name {
        font-size: 18px;
        margin-top: 6px;
        line-height: 16px;
    }
    #main-head.main-head .title {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        overflow: hidden;
    }
    .sidebar .widget_search {
        position: relative;
    }
    .sidebar .widget_search label {
        position: absolute;
        left: 0;
        right: 100px;
    }
    .sidebar .widget_search .search-submit {
        float: right;
    }
    .sidebar .widget_search label .search-field {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .main-head header {
        flex-direction: column;
    }
    #main-head header.default {
        position: relative;
    }
    #main-head header.default .title {
        float: left;
        position: relative;
        z-index: 10;
    }
    .main-head header.default .right {
        margin-top: -5px !important;
        margin-bottom: 15px !important;
    }
    .main-head .adwrap-widget, .main-head .a-widget {
        width: 100%;
    }
    .main-head .wppaszone {
        width: 100% !important;
        height: inherit !important;
        /*padding-top: 30px !important;*/
	}
	.related-posts .highlights article {
		width: 100% !important;
	}
	html body .post-content .question_medecins_recherche_form p {
		width: 100% !important;
		clear: both;
		margin-right: 0 !important;
	}
}
@media screen and (max-width: 499px) {
	.wrap {
	padding: 0 12px;
	}
	#name {
	font-size: 14px;
	}
	.comment-respond .comment-form #author {
		margin-bottom: 0;
	}
	.comment-respond .comment-form #author, .comment-respond .comment-form #email {
		width: 100%;
	}
	.comment-respond p {
		margin-bottom: 15px;
	}
	#main-head.main-head .title {
		margin-bottom: 0;
	}
	#name {
		margin-top: 0;
	}
	.txt_pro_logo {
    font-size: 24px;
    position: absolute;
    left: 138px;
	}
}

}
@media screen and (min-width: 500px) and (max-width: 767px) {
	.comment-respond .comment-form #author, .comment-respond .comment-form #email {
		width: 48%;
	}
	.comment-respond .comment-form #email {
		float: right;
	}
}

@media screen and (min-width: 641px) and (max-width: 867px) {
	.main-head header.default {
		position: relative;
	}
	.main-head header.default .title {
		width: 183px;
	}
}
.sidebar ul li img.img-responsive {
	width: 100%;
	height: inherit;
}

.cookieConsentContainer {
	z-index: 999;
	width: 350px;
	min-height: 20px;
	box-sizing: border-box;
	padding: 30px 30px 30px 30px;
	background: #232323;
	overflow: hidden;
	position: fixed;
    bottom: 30px;
	right: 30px;
	display: none;
}
.cookieConsentContainer .cookieTitle a {
	color: #FFF;
	font-size: 22px;
	line-height: 20px;
	display: block;
}
.cookieConsentContainer .cookieDesc p {
	margin: 0;
	padding: 0;
	color: #FFF;
	font-size: 13px;
	line-height: 20px;
	display: block;
	margin-top: 10px;
} .cookieConsentContainer .cookieDesc a {
	color: #FFF;
	text-decoration: underline;
}
.cookieConsentContainer .cookieButton a {
	display: inline-block;
	font-family: OpenSans, arial, "sans-serif";
	color: #FFF;
	font-size: 14px;
	font-weight: bold;
	margin-top: 14px;
	background: #000000;
	box-sizing: border-box; 
	padding: 15px 24px;
	text-align: center;
	transition: background 0.3s;
}
.cookieConsentContainer .cookieButton a:hover { 
	cursor: pointer;
	background: #3E9B67;
}

@media (max-width: 949px) {
	.cookieConsentContainer {
		bottom: 0px !important;
		left: 0px !important;
		width: 100%  !important;
	}
}

#mj-w-overlay {
	overflow-y: auto;
}

/*===================================================*/
/*  Surcharges pour Grand Public */
/*===================================================*/

.body-grand-public .block-head-g,
.body-grand-public .smart-head-main .smart-head-bot {
	background-color: #fff;
}

.body-grand-public .navigation .menu li {
	transition: none;
}

.body-grand-public .navigation-main .menu > ul {
	width: 100%;
}

.body-grand-public .navigation-main .menu ul,
.body-grand-public .navigation-main .menu .sub-menu {
	background-color: #007298;
}

.body-grand-public .smart-head-bot .navigation-main .menu li {
	flex-grow: 1;
}

.body-grand-public .smart-head-bot .navigation-main .menu > li:first-child {
	border-radius: 9px 0 0 9px;
}
.body-grand-public .smart-head-bot .navigation-main .menu > li:first-child a {
	justify-content: center;
}

.body-grand-public .smart-head-bot .navigation-main .menu > li:last-child {
	border-radius: 0 9px 9px 0;
}

.body-grand-public .smart-head-bot .items-right {
	max-width: 300px;
}

.body-grand-public .smart-head-bot .items-right li:hover {
	background-color: #005b98;
	border-radius: 9px;
}

.body-grand-public .smart-head-top {
	display: none;
}

.body-grand-public .main a {
	color: #ad2c73;
}

.body-grand-public .main .share-links a,
.body-grand-public .cat-title a,
.body-grand-public .cat-labels a,
.body-grand-public .cat-labels .category {
	color:#fff;
}

.body-grand-public .post-content .sc-button,
.body-grand-public .post-content .sc-button:hover {
	color: var(--c-contrast-0);
}

.body-grand-public .headH1 {
	display: block !important;
}

.body-grand-public .logo-image.logo-image-pro {
	display: none !important;
}

.body-grand-public .txt_pro_logo {
	display: none !important;
}

.body-grand-public .logo-image.logo-image-gp {
	display: block;
}

.body-grand-public #menu-main-menu-public, .body-grand-public #menu-main-menu-public-1 {
	background-color: #007298;
	border-radius: 9px;
}

.body-grand-public #off-canvas #menu-main-menu-public, .body-grand-public #off-canvas #menu-main-menu-public-1 {
	background-color: transparent;
}

#menu-main-menu-public-right {
	display: none;
}

.body-grand-public #menu-main-menu-public-right {
	display: flex;
	background-color: #007298;
	border-radius: 9px;
}

#menu-main-menu-public-mobile-bottom, #menu-main-menu-medecins-mobile-bottom {
	
	display: none;
}

.body-grand-public #menu-main-menu-public-mobile-bottom {
	display: inherit;
}

body:not(.body-grand-public) #menu-main-menu-medecins-mobile-bottom {
	display: inherit;
}

#menu-main-menu-public-mobile-bottom a, #menu-main-menu-medecins-mobile-bottom a {
	font-weight: bold;
	font-size: 16px;
}

.body-grand-public .smart-head-bot.wrap .inner {
	padding: 0;
	justify-content: normal;
}

.body-grand-public .nav-hov-b .menu > li:hover > a:before,
.nav-hov-b .menu > .current-menu-item > a:before,
.nav-hov-b .has-parent-state .current-menu-parent > a:before,
.nav-hov-b .has-parent-state .current-menu-ancestor > a:before {
	border-color: transparent;
}

.body-grand-public .smart-head .items.items-right .navigation,
.body-grand-public .smart-head .items.items-right .navigation li,
.body-grand-public .smart-head .items.items-right .navigation li a {
	width: 100%;
	justify-content: center;
}
.navigation .menu li > a:after {
	color: #ffffff;
}

.body-grand-public .smart-head .items > * {
	margin-right: 0;
}

.body-grand-public .smart-head-row.smart-head-bot .items-center {
	display: none;
}

.body-grand-public h1,
.body-grand-public h2,
.body-grand-public h3 {
	color: #007298;
}

.body-grand-public .custom-search input {
	height: 48px;
}

.body-grand-public .custom-search button {
	display: flex;
	align-items: center;
	background-color: #007298;
	height: 48px;
	border-radius: 9px;
	margin-left: -9px;
}

.body-grand-public .custom-search button:hover {
	background-color: #c881b1;
}

.sidebar-big-link-button {
	display: flex;
	align-items: center;
	background: #ad2c73;
	font-size: 16px;
	font-weight: normal;
	color: #ffffff !important;
	padding: 9px 14px;
	height: 48px;
}

.sidebar-big-link-button:hover {
	background-color: #161616;
}

.body-grand-public .sidebar-big-link-button {
	background: #007298;
	border-radius: 9px;
}

.body-grand-public .sidebar-big-link-button:hover {
	background-color: #c881b1;
}

.sidebar-big-link-button  img {
	height: 26px;
	margin-right: 5px;
}

.body-grand-public .main-sidebar .widget_custom_html,
.body-grand-public .main-sidebar .widget_question_medecins {
	margin-bottom: 20px;
}

.body-grand-public .widget_question_medecins .widget-title {
	display: none;
}

.body-grand-public .block-head-g .heading,
.body-grand-public .widget_recent_comments .widget-title .heading,
.body-grand-public .widget_question_medecins h4 {
	color: #007298;
}

div.fl_recherche_medecins_bouton a,
.body-grand-public div.fl_recherche_medecins_bouton a,
#fl_recherche_medecins_access_map_button,
#fl_recherche_medecins_form_map .main-submit,
#zoneBoutonsMedecin .btn-primary,
.question_medecins_recherche_form input[type='submit'],
.medecins_appartenance_recherche_form button,
#questions_medecins_widget_show_popup_button {
	background-color: #bf6da5;
	color: #fff;
	border-radius: 9px;
}

div.fl_recherche_medecins_bouton a:hover,
.body-grand-public div.fl_recherche_medecins_bouton a:hover,
#fl_recherche_medecins_access_map_button:hover,
#fl_recherche_medecins_form_map .main-submit:hover,
#zoneBoutonsMedecin .btn-primary:hover,
.question_medecins_recherche_form input[type='submit']:hover,
.medecins_appartenance_recherche_form button:hover,
#questions_medecins_widget_show_popup_button:hover {
	background-color: #c881b1;
}

.widget.widget_search.custom-search img {
	height: 16px;
	margin-top: 10px;
}

.body-grand-public .widget.widget_search.custom-search img {
	height: initial;
	margin-top: 0;
}

.mobile-menu .mega-menu {
	display: block;
}

.mobile-menu-container .off-canvas-widgets .widget {
	margin-bottom: 0;
	font-size: 16px;
}

.mobile-menu li a {
	max-width: 100%;
}

.mobile-menu-container .fa {
	margin-right: 5px;
	text-align: center;
	width: 1.25em;
}

.off-canvas .mobile-menu {
	margin-bottom: 12px;
}

.questions-medecins-mobile-menu-wrapper {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #007298;
	box-shadow: 0 0 0 1px white, 0 0 0 2px #007298;
	z-index: 1;
	height: 50px;
	align-items: stretch;
	justify-content: space-around;
	font-size: 12px;
	font-weight: bold;
}

.questions-medecins-mobile-menu-wrapper a {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
	color: white;
}

.questions-medecins-mobile-menu-wrapper a:first-child {
	border-right: 1px solid white;
}

.questions-medecins-mobile-menu-wrapper a img {
	height: 26px;
	margin-right: 5px;
}

.body-grand-public .questions-medecins-chat-wrapper {
	display: none;
}

.body-grand-public .questions-medecins-chat-wrapper.show {
	display: block;
}

@media screen and (max-width: 940px) {
	.body-grand-public .questions-medecins-mobile-menu-wrapper {
		display: flex;
	}

	.body-grand-public .questions-medecins-chat-wrapper, .body-grand-public .questions-medecins-chat-wrapper.show {
		display: none;
	}

	.body-grand-public .lower-footer {
		margin-bottom: 50px;
	}
}

