
/*TODO : prendre en compte les style de l'éditeur */



/* style global */
h2, h1{
	margin:0;
}
a{
	text-decoration:none;
	color: #2D2D2D;
}

body{
	margin: 0;
	font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
	color: #2D2D2D;
	background-color: #B0B0B0;
}

.title1{
	color: #2D2D2D;
	font-size: 21px;
}

.shadow {
	box-shadow: 0 0 10px 0 #888;
}

.btn-orange{
	padding: 10px;
	background-color: #FF7901;
	text-align: center;
	color:white;
	font-weight: bold;
	align-items: center;
	border-radius: 3px;
}
.btn-orange:hover{
	background-color: #cd6100;
}
.btn-green{
	padding: 10px;
	background-color: #488d3f;
	text-align: center;
	color:white;
	font-weight: bold;
	align-items: center;
	border-radius: 3px;
	border:0;
}
.btn-green:hover{
	background-color: #396932;
	cursor: pointer;
}

input[type='text']{
	padding: 10px;
	font-size: 18px;
	border:0;
}

.default-container{
	margin-top: 10px;
	background-color: #F0F0F0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	padding:20px;
	gap:29px;
}

/* tools-share */
.tools-share .btn-icon{
	height: 32px;
	width: 32px;
	padding: .45rem 0 0;
	text-align: center;
	top: auto;
    font-size: 1rem;
    color: #FFF;
	display: inline-block;
	box-sizing: border-box;
}
.tools-share .btn-icon:first-child {
	border-radius: 3px 0 0 3px;
}
.tools-share .btn-icon:last-child {
	border-radius: 0 3px 3px 0;
}

.tools-share .btn-tools-share-facebook{
	background: #3c5b9b;
}
.tools-share .btn-tools-share-twitter{
	background: #00aced;
}
.tools-share .btn-tools-share-linkedin{
	background: #007bb6;
}
.tools-share .btn-tools-share-email{
	background: #888888;
}
.coco-social{
	display: none;
}

/* header */
body > header{
	width: 100%;
	height: 65px;
	position: sticky;
	top:0;
	background-color:#005D8C;
	display: flex;
	align-items: center;
	z-index: 11;
}
body > header #header-flex-wrap{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	overflow: hidden;
}

body > header #header-flex-wrap > a.site-name-and-logo{
	height: 100%;
	display: flex;
	align-items: center;
	/* max-width: 600px; */
	min-width: 375px;
	padding-right: 15px;
}
body > header #header-flex-wrap > a.site-name-and-logo:hover{
	background-color:#006D9C;
}

body > header .site-title{
	font-size: 23px;
	color: white;
	font-weight: bold;
}

body > header .site-subtitle{
	font-size: 13px;
	font-style: italic;
	color: white;
}

body > header .btn-orange:not(:last-child){
	margin-right: 10px;
}

body > header .btn-orange:nth-of-type(2){
	margin-left: auto;
}

body > header .search-icon-container{
	height: 100%;
	display: flex;
	align-items: center;
	color:white;
	width: 60px;
	justify-content: center;
}
body > header .search-icon-container:hover{
	background-color:#006D9C;
	cursor: pointer;
}

body > header #search-form{
	position: absolute;
	top: 65px;
	background-color: #005D8C;
	right: 0;
	display: none;
}
body > header #search-form input{
	padding: 7px;
	font-size: 17px;
}

#header2{
	background-color: #39C;
	display: flex;
	justify-content: center;
	position:sticky;
	top:65px;
	z-index:10
}

/* main-navigation */
.main-navigation-header{
	height: 100%;
}
.main-navigation-header ul{
	list-style: none;
	display: flex;
	padding: 0;
	margin: 0;
	align-items: center;
	height: 100%;
}
.main-navigation-header li{
	height: 100%;
	display: flex;
	align-items: center;
}
.main-navigation-header li:hover{
	background-color:#3389BC;
}
.main-navigation-header li a{
	color: white;
	font-size: 20px;
	padding: 7px 20px;
}

.main-navigation-header .sub-menu{
	display: none;
}


/* left-side-bar*/
#left-side-bar-button-container{
	display: flex;
	height: 100%;
	width: 70px;
	align-items: center;
	justify-content: center;
}
#left-side-bar-button-container:hover{
	background-color:#006D9C;
}
#left-side-bar-button-container.left-side-bar-button-container-mobile-only{
	display: none;
}
#left-side-bar-button{
	display:inline-block;
	width: 35px;
	height: 40px; 
	padding:5px 10px;
	cursor:pointer;
	z-index: 300;
	right:0;
}
#left-side-bar-button .bar{
	width: 100%;
	height: 4px;
	border-radius: 5px;
	background-color: white;
	margin-top:7px;
}

#left-side-bar {
	display: none;
	position: fixed;
	top: 103px;
	left: 0;
	background-color: #3399cc;
	width: 330px;
	height: 100%;
	transition: transform .4s cubic-bezier(.25, .1, .25, 1);
	z-index: 10;
	box-shadow: 0 10px 10px 0 #888;
	overflow-y: scroll;
	scrollbar-width: none;
	max-height: calc(-103px + 100vh);
}

.main-navigation-side-bar{
	display: none;
}

.main-navigation-side-bar ul,
.secondary-navigation ul{
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-navigation-side-bar a,
.secondary-navigation a{
	color:white;
}

.main-navigation-side-bar > ul > li > a,
.secondary-navigation > ul > li > a{
	display:block;
	background-color: #005D8C;
	font-size: 18px;
	font-weight: bold;
	padding: 10px;
	border-top: 1px solid white;
	/* border-bottom: 1px solid white; */
}
.secondary-navigation .sub-menu{
	background-color: #3399cc;
	font-size: 16px;
	font-weight: normal;
	padding-left: 10px;
}
.secondary-navigation .sub-menu a{
	padding: 3px;
	display: block;
}
.secondary-navigation .sub-menu a:hover{
	font-weight: bold;
}
.main-navigation-side-bar .sub-menu{
	display: none;
}

#left-side-bar .actions{
	display: none;
}
.actions .btn-orange{
	display: block;
	border-radius: 0;
	border-top: 1px solid white;
}


#breadcrumb li { display:inline; }
#breadcrumb a { text-decoration:underline; }
#breadcrumb ul { padding-left: 0px; margin-bottom:0;}


/* sidebar */
div#sidebar{
	grid-area: sidebar;
	scrollbar-width: none;
	overflow-y: scroll;
	position: absolute;
	height: 100%;
	color: #2D2D2D;
}

/* si il y a pas d'article, la sidebar prend toute la largeur */
.no-articles div#sidebar{
	position: inherit;
}


#sidebar #combats-title{
	background-color: #488d3f;
	text-align: center;
	color: white;
	height: 65px;
	display: flex;
	justify-content: center;
	align-items: center;
}
div#sidebar #combats-list{
	padding:10px;
	display: grid;
	grid-row-gap: 10px;
	background-color: #F0F0F0;
}
#sidebar .combat{
	display: grid;
	grid-template-columns: 3fr 1fr;
	min-height: 100px;
}
#sidebar .combat h3{
	font-size: 15px;
	margin:0;
}
#sidebar a{
	text-decoration:none;
	color:inherit;
}
#sidebar .combat .date{
	font-size: 10px;
}
#sidebar .combat > div{
	align-self: center;
}
#sidebar .combat > img{
	justify-self: end;
}

/* footer */
div#footer{
	margin-top: 10px;
	background-color: #39C;
	padding: 10px 0 20px 0;
	color:white;
}
/* div#footer .footer-content > div{
	flex: 1;
} */
div#footer2{
	background-color:#005D8C;
	color:white;padding: 20px 0;
}
div#footer2 a{
	color:white;
	text-decoration: underline;
}

.footer-content{
	max-width: 1280px;
	margin: auto;
	display: flex;
	justify-content: center;
}

#footer .footer-content{
	gap:50px;
}



div#footer .footer-content > div#footer-actions{
	margin-bottom: 10px;
	flex:inherit;
	min-width: 270px;
}
#footer-actions .btn-orange{
	display: flex;
	margin-bottom:10px;
}
.newsletter-ko{
	color:#D10000;
}
.newsletter-ok{
	color:#396932;
}
#newsletter-container{
	display: none;
	position: sticky;
	bottom: 0;
	background-color: #f0f0f0;
	box-shadow: 0px -1px 2px 1px #b0b0b0;
	padding:10px 0;
	display: flex;
	justify-content: center;
}
#newsletter-close {
	background-image: url('../images/close.svg');
	position: absolute;
	right: 10px;
	width: 32px;
	height: 32px;
	background-size: contain;
	cursor: pointer;
}
#newsletter-form{
	margin-bottom: 7px;
}
#newsletter-form #newsletter-submit{
	font-size: 18px;
	border-radius: 0 3px 3px 0;
	border: 1px solid #b0b0b0;
}
#newsletter-form #newsletter-email{
	border: 1px solid #b0b0b0;
}


/* responsive */
@media screen and (max-width: 1000px) {
	header #header-flex-wrap > a.site-name-and-logo{
		min-width:auto;
	}
	.site-name-and-logo img{
		display: none;
	}
	.site-name-and-logo h1{
		font-size: 16px;
	}
	.site-subtitle{
		display: none;
	}

	div#sidebar{
		width: 100%;
	}

	#header2{
		display:none;
	
	}
	#header-flex-wrap .btn-orange{
		display:none;
	}

	#left-side-bar-button-container.left-side-bar-button-container-mobile-only{
		display: flex;
	}

	#left-side-bar{
		top:65px;
		max-height: calc(-65px + 100vh);
	}

	.main-navigation-side-bar{
		display: block;
	}

	#left-side-bar .actions{
		display: block;
	}

	div#sidebar{
		position:inherit;
	}

	.footer-content{
		padding: 10px;
		flex-wrap: wrap;
		column-gap: 20px;
	}
	
	div#footer .footer-content > div{
		flex-basis: 320px;
		flex-grow: 0;
		flex-shrink: 0;
	}
	div#footer .footer-content > div#footer-actions{
		margin-bottom: 10px;
		flex:1;
		flex-basis: 320px;
		flex-grow: 0;
		flex-shrink: 0;
	}
}




/* post-content */
#post-content a {
	text-decoration:underline;
}
#post-content a:hover {
	font-weight:bold;
}




/* calendrier de l'avent */
.adventCalendar table{
	width: 100%;
}

.adventCalendar td{
	width: 25%;
}
.adventCalendar td img{
	width: 100%;
	height: auto !important;
	cursor:pointer;
}
.adventCalendar .adventCalendarModal img{
	height: 100% !important;
	cursor:pointer;
}
.adventCalendar .content{
	display: none;
}
.adventCalendar .modal-content .illustration{
	float:left;
	margin-right:20px;
	margin-bottom:5px;
	width:150px;
}

/* The Modal (background) */
.adventCalendar .adventCalendarModal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 150px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.adventCalendar .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	width: 80%;
	max-width: 500px;
	min-height:170px;
	max-height:70%;
	overflow: auto;
}
/* The Close Button */
.adventCalendar .close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.adventCalendar .close:hover,
.adventCalendar .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}