/*
 Theme Name:   Axenergie Adhérents
 Theme URI:    http://kookline.net
 Description:  Thème adhérents
 Author:       KOOKline
 Author URI:   http://www.kookline.net
 Template:     axenergie
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  axenergie-child
*/

/*HEAD*/
.page-head {
	background-color: rgba(255, 255, 255, 0.8);
	margin-bottom: 30px;
}
.page-head .custom_h1 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 95px;
	text-transform: none;
}
.contenu .page-head h1 {
	float: left;
	font-size: 32px;
	margin-bottom: 0;
	width: 750px;
}
.page-head h1 span {
	text-transform: uppercase;
}
.page-head img {
	margin-right: 30px;
	max-height: 70px;
	max-width: 150px;
	width: auto;
}
/*POPUPS*/
.fancybox-inner .h2 {
	color: #58628a;
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: bold;
	margin-top: 0;
}
#popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 20;
}

#adh-popup {
	width: 650px;
	background: white;
	background: rgba(0, 0, 0, 0.7);
	left: 50%;
	margin-left: -325px;
	top: 40px;
	position: absolute;
	z-index: 21;
	padding: 10px;
	border-radius: 10px;
}

#adh-popup .content {
	background: white;
	padding: 10px 10px 20px 10px;
	height: 100%;
}
#adh-popup .content .fa-close {
	float: right;
	color: #58628a;
}
#adh-popup .content span.chauffagiste {
	text-transform: uppercase;
	font-weight: bold;
}

.popup-title {
	font-family: 'Montserrat';
	font-weight: bold;
	line-height: 25px;
	font-size: 20px;
	color: #58628a;
	margin: 0;
}

header .nav > .container > ul > li.current_page_item > a {
	color: #7e87aa;
	background: transparent none repeat scroll 0 0;
}

header .nav > .container > ul > li.current-menu-item:hover > a {
	background: #c3cee3;
	color: #59628b;
}

body .wrapper {
	padding-top: 130px;
}
.wrapper .header-container {
	height: 130px;
}
/*CONTENU*/
div.main-container {
	width: 710px;
	float: right;
}
div.main-container .main {
	float: none;
	width: 100%;
}

/*Quatre boutons*/
.quatre-boutons {
	text-align: center;
	margin-bottom: 40px;
}
.quatre-boutons .red-bouton + .red-bouton,
.red-bouton.souscrire,
.red-bouton.ssouscription,
#paypal,
.red-bouton.panne {
	margin-left: 20px;
}
.quatre-boutons .red-bouton {
	display: inline-block;
	width: 145px;
	height: 146px;
	background: #c1001f;
	border: 2px solid #fff;
	border-radius: 2px;
	vertical-align: top;
	line-height: 146px;
}
.quatre-boutons .red-bouton span.valigner.hover {
	display: none;
}
.quatre-boutons .red-bouton i {
	color: white;
	vertical-align: middle;
	line-height: 140px;
}

.quatre-boutons .red-bouton:hover i {
	display: none;
}
.quatre-boutons .red-bouton:hover span.valigner.hover {
	display: inline-block;
}
.quatre-boutons .red-bouton.rouge:hover span.valigner.hover {
	font-size: 12px;
	color: #b3081b;
	padding: 10px 0;
	border-top: 1px solid #b3081b;
	border-bottom: 1px solid #b3081b;
}
.quatre-boutons .red-bouton.rouge:hover span.valigner.hover .fat {
	font-size: 18px;
}
.quatre-boutons .red-bouton.rouge:hover {
	background: white;
}
.quatre-boutons .red-bouton.grey-bouton {
	border: none;
	background: #d4cfcb;
	color: #727272;
}
.quatre-boutons .red-bouton span.valigner {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	display: inline-block;
	line-height: normal;
	vertical-align: middle;
}
.quatre-boutons .red-bouton span.valigner span.fat {
	font-size: 24px;
	font-weight: bold;
}
form.red-bouton button {
	background: none;
	border: none;
}
/*SIDEBAR*/
aside.adh-sidebar {
	float: left;
	width: 230px;
	margin-bottom: 20px;
}
aside.adh-sidebar.top {
	margin-bottom: 0;
}
aside.adh-sidebar .menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
aside.adh-sidebar .menu li + li {
	margin-top: 5px;
}
aside.adh-sidebar .menu li {
	display: table;
	position: relative;
	width: 100%;
	z-index: 9;
}
aside.adh-sidebar .menu li a {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	background: white;
	color: #58628a;
	display: table-cell;
	width: 100%;
	padding: 0 10px;
	height: 45px;
	line-height: normal;
	vertical-align: middle;
}
aside.adh-sidebar .menu li a:hover,
aside.adh-sidebar .menu li.current-menu-item a,
aside.adh-sidebar .menu li.current_page_item a {
	text-decoration: none;
	background: #58628a;
	color: white;
}
aside.adh-sidebar .menu li a:after {
	font-family: 'FontAwesome';
	content: '\f054';
	position: absolute;
	right: 4px;
	top: 17px;
}
aside.adh-sidebar .bloc {
	padding: 10px;
	margin-top: 20px;
}
aside.adh-sidebar .bloc.promos {
	background: #f0f2f7;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
}

aside.adh-sidebar .bloc.promos p.promo-title .fa-stack {
	font-size: 15px;
}
aside.adh-sidebar .bloc.promos p.promo-title {
	font-weight: bold;
	color: #c1001f;
	font-size: 20px;
	margin-top: 0;
	text-align: left;
	padding-left: 30px;
}
aside.adh-sidebar .infos {
	background: white;
	padding-top: 10px;
	margin-top: 20px;
}
.bloc-title {
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	border-bottom: 1px solid #58628a;
	color: #58628a;
	font-weight: bold;
	font-size: 20px;
	margin: 0;
	padding-bottom: 15px;
}
aside.adh-sidebar .infos .content {
	padding: 10px;
}
aside.adh-sidebar .infos .content p {
	margin-top: 5px;
}
aside.adh-sidebar .infos .content p.subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	color: #58628a;
	text-transform: uppercase;
	margin: 5px 0;
}
aside.adh-sidebar .bloc p.texte {
	color: #58628a;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
}
.contenu .main-container .main {
	margin-top: 21px;
	margin-bottom: 20px;
}

.contenu .infos-locales .bloc-title {
	text-align: left;
	border: 0;
	padding-bottom: 0;
}
.contenu .infos-locales {
	background: white;
	padding: 10px;
	margin-bottom: 20px;
}
.contenu .info + .info {
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid #58628a;
}
.contenu .info p,
.fancybox-inner h2 {
	font-family: 'Montserrat', sans-serif;
	color: #58628a;
}

.contenu .promo h2 {
	margin-bottom: 10px;
}

body.single .contenu .promo .botbar {
	margin-top: 10px;
}
body.single .contenu .promo h2 {
	margin-top: 10px;
}
.contenu .infos-locales .info .details {
	display: none;
}
.contenu .infos-locales .info {
	position: relative;
}

.contenu .infos-locales .info .actuzoom {
	position: absolute;
	right: 10px;
	bottom: 10px;
}
.contenu a.devis {
	background: #c1001f;
	color: white;
	padding: 1.5rem 2rem;
	text-decoration: none;
	font-size: 1.8rem;
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	transition: transform 0.3s ease;
}
.contenu a.devis:hover {
	text-decoration: none;
	color: white;
	transform: scale(1.1);
}
body.device div.main-container {
	width: 100%;
	display: block;
}
body.device .contenu .main-container .main {
	margin-top: 251px;
}
@media only screen and (max-width: 1010px) {
	body.device .contenu .main-container .main {
		margin-top: 121px;
	}
}
@media only screen and (max-width: 800px) {
	.contenu .page-head h1 {
		width: auto;
	}
}
@media only screen and (max-width: 755px) {
	body.device .contenu .main-container .main {
		margin-top: 21px;
	}
	.wrapper-content {
		background: #e9eae7 !important;
	}
	.quatre-boutons .red-bouton i {
		vertical-align: top;
	}
	.quatre-boutons .red-bouton {
		width: 21.8%;
	}
	.quatre-boutons .red-bouton + .red-bouton,
	.red-bouton.souscrire,
	.red-bouton.panne,
	.red-bouton.ssouscription {
		margin-left: 2%;
	}
	.page-head img {
		display: none;
	}
	aside.adh-sidebar {
		float: none;
		width: 100%;
		margin-bottom: 20px;
		text-align: center;
	}
}

@media only screen and (max-width: 565px) {
	.wrapper-content .contenu h1 {
		font-size: 2em;
		line-height: normal;
		margin-bottom: 20px;
	}
	#adh-popup {
		position: fixed;
		top: 0;
		left: 0;
		margin-left: 0;
		max-width: 100%;
		max-height: 100%;
		overflow-y: scroll;
	}
	#adh-popup .radio {
		margin: 3px auto;
	}
	.quatre-boutons .red-bouton i {
		font-size: 3em;
	}
	.quatre-boutons .red-bouton span.valigner {
		font-size: 15px;
	}
	.quatre-boutons .red-bouton.grey-bouton {
		display: block;
		clear: both;
		color: #c1001f;
		background: none;
		width: 100%;
		height: auto;
		line-height: normal;
		margin-bottom: 20px;
		padding-top: 1rem;
	}
}
@media only screen and (max-width: 400px) {
	.quatre-boutons .red-bouton i {
		font-size: 2.5em;
	}

	.quatre-boutons .red-bouton span.valigner {
		font-size: 13px;
	}

	.quatre-boutons .red-bouton {
		height: 64px;
		line-height: 64px;
	}
}
