/* -------------------------------------------------------------
Specific styles template.
------------------------------------------------------------- */
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html, body {
	font-size: 18px;
	line-height: 1.2em;
}

html, body, button, input, select, textarea {
	/* font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; 
	font-family: Verdana, sans-serif;
	*/
	font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	line-height: 1.2em;
}

body {
	margin: 1.5em 2.5em;
}

:hover, :focus, :active {
	outline: none;
}

h1, h2, h3, h4, h5, h6, .w3-slim, .w3-wide {
	font-family: "Segoe UI", Arial, sans-serif;
	line-height: 1em;
}

h1 {
	font-size: 30px;
	margin-top: 1.5em;
	margin-left: 0em;
	margin-bottom: 1em;
	border-radius: 15px;
	/* color: #82C47C; */
	color: #50883e;
}

h2 {
	font-size: 24px;
	margin-top: 1.2em;
	margin-left: 1em;
	margin-bottom: 1em;
	border-radius: 10px;
	color: #50883e;
}

h3 {
	font-size: 20px;
	margin-top: 1em;
	margin-left: 2.5em;
	margin-bottom: 1em;
	border-radius: 8px;
	color: #50883e;
}

h4 {
	font-size: 18px;
	color: #50883e;
	margin-top: 0.8em;
	margin-left: 4.5em;
	margin-bottom: 0.5em;
	border-radius: 4px;
}

h5 {
	font-size: 16px;
	color: #50883e;
}

h6 {
	font-size: 14px;
	color: #50883e;
}

a {
	color: #49753a;
	font-weight: normal;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.2s ease;
	-moz-transition: color 0.2s ease;
	-webkit-transition: color 0.2s ease;
	-o-transition: color 0.2s ease;
}

a:hover {
	color: #000;
	text-decoration: underline;
	background: rgba(0, 0, 0, .025);
}

::-moz-selection {
	background: #49753a;
	color: #fff;
	text-shadow: none;
}

::selection {
	background: #49753a;
	color: #fff;
	text-shadow: none;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

a:visited {
	opacity: 0.9;
}

a:active, a:focus {
	position: relative;
	top: 1px;
}

ul {
	margin-top: 0em;
	margin-bottom: 1em;
}
ul li {
	padding-bottom: 0.2em;
}
ul li.padding-bottom-1em {
	padding-bottom: 1em;
}
/* -------------------------------------------------------------
======	Navbar template
------------------------------------------------------------- */
#top_menu_horiz {
	height: 6em;
	margin-bottom: 25px;
}

#top_menu_horiz .w3-button {
	padding: 8px 8px;
	margin: 24px 2px;
}

#top_menu_horiz .w3-hover-theme-d3:hover {
	color: #fff !important;
	background-color: #447434 !important; 
}
 .w3-hover-theme-d3:hover {
	color: #fff !important;
	background-color: #447434 !important; 
}

.logo_cell {
	padding: 10px 10px 5px 10px;
	margin: 0px 0px;
	border-radius: 20px;
}

#top_menu_horiz #top_menu_home_anchor {
	padding: 10px 8px 8px 8px;
	margin: 0px 0px;
	text-align: left;
}

.logo_cell_mini_text {
	padding: 0px 0px 0px 4px;
	margin: 0px;
}

.logo_cell_main_text {
	padding: 0px 0px 0px 0px;
	margin: 0px;
}

/* -------------------------------------------------------------
======	MISC
------------------------------------------------------------- */
.w3-tiny-ultra {
	font-size: 0.3em !important
}

.w3-tiny {
	font-size: 0.75em !important
}

.w3-small {
	font-size: 0.85em !important
}

.w3-medium {
	font-size: 1em !important
}

.w3-large {
	font-size: 1.2em !important
}

.w3-xlarge {
	font-size: 1.5em !important
}

.w3-xxlarge {
	font-size: 2.1em !important
}

.w3-xxxlarge {
	font-size: 3.1em !important
}

.w3-jumbo {
	font-size: 4.3em !important
}

.w3-margin-right-small {
	margin-right: 6px;
}

.hidden {
	display: none !important;
	visibility: hidden
}

/* For the medium size specific designs */
@media ( max-width :992px) and (min-width:601px) {
	#top_menu_horiz {
		font-size: 1em;  
		height: 2.4em;
	}
 
	#top_menu_horiz .w3-bar-item {
		/* padding: 8px 16px; */
		padding: 1px 6px;  
		line-height: 1em;
	}
	.w3-topnav #top_menu_horiz a {
		border-bottom: 1px solid transparent;
	}
	.w3-topnav #top_menu_horiz a:hover {
		border-bottom: 1px solid #fff; 
		color: #fff !important;
		background-color: #447434 !important; 
	}
	
}


/* For the small size specific designs */
@media ( max-width :600px) {
	#navMenuSmallScreens {
		font-size: 1em;  
		border-radius: 15px;
		text-align: left;
	}
	#navMenuSmallScreens .w3-bar-item {
		/* padding: 8px 16px; */
		padding: 3px 6px;  
		display: inline;
		float: none;
	}
	.w3-topnav #navMenuSmallScreens a {
		border-bottom: 1px solid transparent;
	}
	.w3-topnav #navMenuSmallScreens a:hover {
		border-bottom: 1px solid #fff; 
		color: #fff !important;
		background-color: #447434 !important; 
	}
	
}

/* -------------------------------------------------------------
/* -- Specifique, a moi moi moi... 
------------------------------------------------------------- */
.sty_p_padding_bottom_0em {
	padding-bottom: 0em;
}
.sty_p_padding_bottom_0_5em {
	padding-bottom: 0.5em;
}
.sty_p_padding_bottom_1em {
	padding-bottom: 1em;
}
.sty_p_margin_bottom_0em {
	margin-bottom: 0em;
}
.sty_p_margin_bottom_0_25em {
	margin-bottom: 0.25em;
}
.sty_p_margin_bottom_0_5em {
	margin-bottom: 0.5em;
}
.sty_p_margin_bottom_1em {
	margin-bottom: 1em;
}
/* voir : https://www.youtube.com/watch?v=ulB2Vcp-0f0 */
.sty_p_youtube_video_global_div_gen {
	/*
	width: 100%;
	height: 100vh;
	*/
	display: flex;
	align-items: center;
	justify-content: center;	
}
.sty_p_youtube_video_usual_gen {
	width: 70%;
}
.sty_p_youtube_video_usual_gen iframe {
	aspect-ratio: 16/9;
}

/* --------------------------- 
# Group of styles Encarts : .sty_p_encart_ 
# --------------------------- */

/* une autre manière de faire cela :
class="w3-border w3-border-amber w3-round-large w3-padding-medium"
*/
.sty_p_encart_citation_usual { 
	font-style: italic;
	padding: 8px 16px;
	border: 1px solid #FCE78D; /*  !important  */
	border-radius: 8px;
}

.sty_p_encart_code_usual { 
	font-style: normal;
	padding: 8px 16px;
	border: 1px solid #ff7800; /*  !important  */
	border-radius: 8px;
}

.sty_p_encart_elements_mis_en_avant { 
	font-style: normal;
	padding: 16px 24px;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 3em;
	margin-right: 3em; 
	background-color: #f7f8fd;
	border: 3px solid #eef1fd; /*  !important  */
	border-radius: 8px;
}

.sty_p_encart_important {
	font-style: normal;
	padding: 8px 16px;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 3em;
	margin-right: 3em;
	border: 3px solid #AA3A03; /*  !important  */
	border-radius: 8px;
}

.sty_p_encart_indication_de_lecture_usual { 
	font-style: normal;
	padding: 16px 24px;
	margin-top: 2em;
	margin-bottom: 2em;
	margin-left: 3em;
	margin-right: 3em;
	border: 5px solid #418648;
	background-color: #fafdf9;
	border-radius: 16px;
}


.sty_p_encart_maintenance_indication_usual { 
	font-style: normal;
	padding: 16px 24px;
	margin-top: 2em;
	margin-bottom: 2em;
	margin-left: 3em;
	margin-right: 3em;
	border: 5px solid #613583;
	background-color: #ffa4a4;
	border-radius: 16px;
}

/* For borders around citation (usually put in a div) */
.cite_frame_with_border_usual {
	background-color: #f6f5f4;
	border: #3F597A 2px solid;
	border-radius: 8px;
	padding: 8px 20px;
	margin-left: 2em;
	margin-right: 2em;
	margin-bottom: 1em;
}

/* --------------------------- 
# End of Group of styles Encarts : .sty_p_encart_ 
# --------------------------- */

/* --------------------------- 
# Group of styles Cards : .sty_p_card_ 
# --------------------------- */


.sty_p_card_simple_marg_and_border_usual {
	border:  4px solid #726bc4;
	margin-top: 6px;
	margin-bottom: 6px;
	margin-left: 6px;
	margin-right: 6px;
}

.sty_p_card_simple_header_usual {
	padding: 8px 16px;
	background-color: #f3f1ff;
}

.sty_p_card_simple_cbody_usual {
	padding: 8px 16px;
}

/* --------------------------- 
# End of Group of styles Cards : .sty_p_card_  
# --------------------------- */


.sty_p_citation_titre {
	padding-bottom: 0.5em;
	padding-top: 0.5em;
}

.sty_p_citation_titre {
	font-style: normal;
	line-height: 1.5em;
	font-weight: bold;
	text-align: center;
	background-color: #6F8CAA;
	color: #000000;
	border: #3F597A 2px solid;
}

.sty_w_exergue_light {
	font-weight: bold;
}

.sty_w_exergue_bright {
	font-weight: bold;
	color: #B60039; /* rouge sur fond lilas */
}

.sty_w_exergue_suggestion_usual {
	font-weight: normal;
	font-style: italic;
	color: black;
}

.sty_w_exergue_suggestion_small_fsize {
	font-weight: normal;
	font-size: 0.9em;
	font-style: italic;
	color: black;
}

strong {
	font-weight: bold;
	color: #290c7f; 
}

.sty_w_exergue_title_mini {
	font-weight: bold;
	font-style: oblique;
	/* color: #a31e48;  */
}

.sty_p_photo_image_centered_usual { 
	display: block;
    margin-left: auto;
    margin-right: auto; 
    margin-bottom: 0.5em;
	border: 1px solid #CCCCCC;
}

.sty_p_text_paragraph_centered_usual { 
	display: block;
    margin-left: auto;
    margin-right: auto; 
    margin-bottom: 0.5em;
}



.sty_p_line_height_1_6_em {
	line-height: 1.6em;
}

.sty_p_info_light {
	color: #9aaa95;
}

.sty_icon_colors_standard {
    background: #b50000;  /* red */
    color: white;
}

.sty_icon_in_round_background_40x40 {
    height: 40px;
    width: 40px;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
    font-size: 18px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
}
.sty_icon_in_round_background_25x25 {
    height: 25px;
    width: 25px;
    line-height: 25px;
    vertical-align: middle;
    text-align: center;
    font-size: 14px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}

.sty_telephone_number_banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    line-height: 45px; /* for proper tuning of the hidden second line. */
    cursor: pointer;
    overflow: hidden;
    z-index: 20;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
}
/* not_used_A_VIRER
.sty_telephone_number_banner img {
    float: left;
    margin-top: 10px;
    margin-left: 9px;
} */
.sty_telephone_number_banner span a {
    margin-left: 2px;
    color: white;
    text-decoration: none;
}
.sty_telephone_number_banner:hover {
  width: 173px;
}

/* For the small size specific designs */
@media ( max-width :600px) {

	/* adapt the size of the icon, for the small screens. */
	.sty_icon_in_round_background_40x40 {
	    height: 20px;
	    width: 20px;
	    line-height: 20px;
	    vertical-align: middle;
	    text-align: center;
	    font-size: 14px;
	    -webkit-border-radius: 20px;
	    -moz-border-radius: 20px;
	    border-radius: 20px;
	}
		
	.sty_telephone_number_banner {
	    bottom: 10px;
	    right: 10px;
	    line-height: 22px; /* for proper tuning of the hidden second line. */
	}
	.sty_telephone_number_banner:hover {
	  width: 153px;
	}
	
}


/* -------------------------------------------------------------
======	END
------------------------------------------------------------- */