/* Définition des polices personnalisées */

@font-face {
  font-family: 'Droid Arabic Naskh';
  font-style: normal;
  font-weight: normal;
  src: url('polices/DroidNaskh-Regular.eot');
  src: url('polices/DroidNaskh-Regular.eot?#iefix') format('embedded-opentype'),
	   url('polices/DroidNaskh-Regular.ttf') format('truetype'),
       url('polices/DroidNaskh-Regular.woff2') format('woff2'),
       url('polices/DroidNaskh-Regular.woff') format('woff');
}

/* Eléments principaux de la page */

::-webkit-scrollbar
{
	width: 12px;
}

::-webkit-scrollbar-track
{
	box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

body
{
    background: url('images/fond_jaune.png');
    font-family: 'Droid Arabic Naskh', 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
}

#bloc_page
{
    width: 900px;
    margin: auto;
}

.test
{
	display: none;
}

section
{
	margin: 10px;
}

section h1, footer h1, nav a
{
    font-family: 'Droid Arabic Naskh', 'Trebuchet MS', Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}

/* Header */

header
{
    background: url('images/separateur.png') repeat-x bottom;
}

#titre_principal
{
    display: block;
	text-align: right;
}

header h1
{
    font-family: 'Droid Arabic Naskh', 'Trebuchet MS', Arial, sans-serif;
    font-size: 2.5em;
    font-weight: normal;
}

h1
{
	font-size: 1.5em;
}

#logo, header h1
{
    display: inline-block;
    margin-bottom: 0px;
}

#logo
{
	vertical-align: middle;
    width: 88px;
	height: 88px;
}

header h2
{
    font-family: 'Droid Arabic Naskh', 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: normal;
	margin-bottom: 0px;
}

header .social-lien
{
	display: inline;
	float: left;
}

/* Navigation */

.drawer-hamburger
{
	display: none;
}

nav
{
    display: inline-block;
    width: 100%;
	text-align: center;
}

nav ul
{
    list-style-type: none;
	margin-top: 5px;
	padding-right: 0px;
}

nav li
{
    display: inline-block;
    margin-right: 7.5px;
	margin-left: 7.5px;
}

nav a
{
    font-size: 1.3em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover, .onglet-active
{
    color: #760001;
    border-bottom: 3px solid #760001;
}

/* Corps */

article, aside
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
}

article
{
    width: 600px;
    margin-right: 15px;
	text-align: right;
}

.bubble
{
    vertical-align: initial;
}

article p
{
    font-size: 0.8em;
}

aside
{
    position: relative;
    width: 235px;
    background-color: #706B64;
    box-shadow: 0px 2px 5px #000;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
}

.createur, .email
{
	text-align: center;
}

aside p a
{
	color: white;
    text-decoration: none;
    font-style: italic;
}

#fleche_bulle
{
    position: absolute;
    top: 100px;
    left: -12px;
}

#photo
{
    text-align: center;
}

aside .social-lien
{
	display: block;
	margin: 0 auto;
}

.social-lien a img
{
	width: 43px;
	border-radius: 6px;
	transition-duration: 500ms;
}

.social-lien a img:hover
{
	border-radius: 25px;
	transition-duration: 500ms;
}

/* Presentation */
#presentation {
	background-color:#fff6d7;
	padding:20px;
	border: 1px solid #706B64;
	border-radius: 20px;
	box-shadow: 0 4px 10px 5px rgba(0, 0, 0, 0.08);
}

#presentation h4 {
	text-align: center;
	font-weight: bold;
}

ul.list_check {
	display: table-footer-group;
}

ul.list_check li {
	list-style-type: none;
}

ul.list_check li:before {
	content: '\2713';
	font-weight: bold;
	display: inline-block;
	color: green;
	padding: 5px 0px 5px 10px;
}

/* Prix */

#prix {
	text-align: center;
}

ul.list_check_prix {
	display: flex;
}

ul.list_check_prix strong {
	display: block;
}

ul.list_check_prix li {
	list-style-type: none;
}

ul.list_check_prix li {
	width: 80px;
	margin-left: 10px;
	background-color:#fff6d7;
	padding: 35px;
	border: 1px solid #706B64;
	border-radius: 20px;
	box-shadow: 0 4px 10px 5px rgba(0, 0, 0, 0.08);
}

ul.list_check_prix li:before {
	content: '\1F550';
	font-weight: bold;
	display: block;
	color: green;
	font-size: 30px;
}

ul.list_check_prix li strong:last-child {
	color: maroon;
}

ul.list_check_prix li:hover {
	transform: scale(1.1);
}

/* Calculateur */

.tab-content
{
	display: none;
}

.tab-content.active
{
	display: inherit;
}

.input, .input option
{
	text-align: center;
	width: 180px;
	height: 15px;
	outline: none;
	border: 1px solid #CCC;
	border-radius: 6px;
	padding: 10px;
	font-size: 15px;
	font-weight: bold;
	box-sizing: content-box;
}

select, input[type="radio"]
{
	height: inherit !important;
	width: inherit !important;
	font-size: 15px !important;
	font-weight: bold !important;
}

input[type="submit"], input[type="button"], input[type="reset"]
{
	font-family: 'Droid Arabic Naskh', 'Trebuchet MS', Arial, sans-serif;
	outline: none;
	border: 1px solid #6F3C22;
	background: #6F3C22 url(images/entrer.png) 0 50% repeat-x;
	font-weight: bold;
	color: #EEE;
	border-radius: 6px;
	padding: 0.5em 1.5em;
	cursor: pointer;
	margin-right: 20px;
}

input[type="button"]
{
	width: 238px;
    height: 40px;
}

input[type="radio"]
{
	vertical-align: middle;
	cursor: pointer;
}

input[type="number"]
{
    width: 40px;
}

input:focus, select:focus
{
	border-color: rgba(165, 80, 47, 0.75);
	box-shadow: 0 0 8px rgba(165, 80, 47, 0.5);
}

input[type="radio"]:focus, input[type="checkbox"]:focus
{
	border-color: inherit;
	box-shadow: inherit;
}

input[type="submit"]:hover, input[type="button"]:hover
{
	border: 1px solid #a5502f;
	background: #a5502f url(images/entrer_clear.png) 0 50% repeat-x;
	font-weight: bold;
	color: #FFF;
}

input[type="submit"]:active, input[type="button"]:active
{
	border: 1px solid #6f3c22;
	background: #6f3c22 url(images/entrer.png) 0 50% repeat-x;
	font-weight: bold;
	color: #000;
	outline: none;
}

#back
{
	float: left;
    width: 100px;
}

label
{
	cursor: pointer;
}

#salaire, #salaire2, #typeSalaire, #typeSalaire2, #typeTravail, #age
{
	display: none;
}

#counter
{
	display: block;
	text-align: center;
}

/* Codes */
img.Tableau-1984
{
	display: block;
	margin: 0 auto;
}

/* Download */
.windows img, .google-play img, .chromewebstore img
{
	width: 100%;
}

/* Inscription */
.form-help
{
	display: none;
	padding: 2px 4px;
	border: 1px solid #555;
	background-color: #f2f684;
	border-radius: 6px;
	font-size: 15px;
	color: red;
}

#wait
{
	display: none;
	text-align: center;
}

.circle-loader
{
	vertical-align: middle;
	fill: transparent;
	stroke: #6F3C22;
	stroke-width: 5;
	animation: dash 2s ease infinite,rotate 2s linear infinite;
}

@keyframes dash
{
	0%
	{
		stroke-dasharray: 1,95;
		stroke-dashoffset: 0;
	}
	50%
	{
		stroke-dasharray: 85,95;
		stroke-dashoffset: -25;
	}
	100%
	{
		stroke-dasharray: 85,95;
		stroke-dashoffset: -93;
	}
}

@keyframes rotate
{
	0% {transform: rotate(0deg);}
	100% {transform: rotate(360deg);}
}

/* Connexion */
fieldset
{
	border: 2px solid #C5531D;
	border-radius: 4px;
	font-weight: bold;
}

#connexion
{
	color: #C5531D;
	text-align: center;
	margin: 0 auto;
}

#connexion  *
{
	font-family: 'Droid Arabic Naskh', 'Trebuchet MS', Arial, sans-serif;
}

/* reCAPTCHA */

.g-recaptcha
{
	width: 304px;
    height: 78px;
	margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
}

/* Statistique */
#save, #send
{
	margin: 0px;
}

#note-texte, #notification-texte
{
	width: inherit;
    height: inherit;
	text-align: right;
	resize: vertical;
}

#statistique
{
	color: #C5531D;
}

h3 span
{
	color: red;
}

table
{
	width: 100%;
	table-layout: fixed;
	text-align: center;
	margin: auto;
	border: 5px solid #C5531D;
	border-spacing: 0;
	overflow: hidden;
	border-radius: 30px;
	margin-bottom: 20px;
}

th
{
	border-radius: 30px;
}

th, td
{
	border: 1px solid #C5531D;
	padding: 5px;
	position: relative;
}

tr:nth-child(odd)
{
	background-color: #BFE7F1;
}

tr
{
	word-wrap: break-word;
	background-color: #E5F5F9;
	position: relative;
}

.delete
{
	display: inline-block;
	background-image: url('images/close.png');
	background-position: center;
	background-repeat: no-repeat;
	height: 14px;
	width: 14px;
	vertical-align: middle;
}

.delete:hover
{
	background-image: url('images/close-h.png');
}

.refus
{
	display: inline-block;
	background-image: url('images/refus.png');
	background-position: center;
	background-repeat: no-repeat;
	height: 14px;
	width: 14px;
	vertical-align: middle;
}

.refus:hover
{
	background-image: url('images/refus-h.png');
}

.visibility
{
	display: inline-block;
	background-image: url('images/eye.png');
	background-position: center;
	background-repeat: no-repeat;
	height: 14px;
	width: 14px;
	vertical-align: middle;
}

.visibility:hover
{
	background-image: url('images/eye-h.png');
}

.visibleNo
{
	background-image: url('images/eye-h.png');
}

.visibleNo:hover
{
	background-image: url('images/eye.png');
}

/* About */
#exemple, #disable_abp
{
	display: block;
	margin: 0 auto;
}

/* Footer */

footer
{
    background: url('images/separateur.png') repeat-x top, url('images/ombre.png') repeat-x top;
	text-align: right;
}

footer #top
{
	display: block;
	width: 54px;
	height: 30px;
	margin: 0 auto;
    background: url('images/ico_top.png') no-repeat top center;
}

footer p, footer ul
{
    font-size: 0.8em;
}

footer h1
{
    font-size: 1.1em;
}

#copyright, #sites, #social-page
{
    display: inline-block;
    vertical-align: top;
}

#copyright
{
    width: 28%;
}

#sites
{
    width: 35%;
}

#social-page
{
    width: 31%;
}

#sites img
{
    border: 1px solid #181818;
    margin-right: 2px;
}

#social-page a
{
    text-decoration: none;
    color: #760001;
}

.fb-like-box iframe
{
	border-radius: 3px;
}

/* Darkmode */

.darkmode--activated .drawer-brand
{
	color: white;
}

.darkmode--activated .drawer-hamburger-icon, .darkmode--activated .drawer-hamburger-icon:before, .darkmode--activated .drawer-hamburger-icon:after
{
	background-color: white;
}

.darkmode--activated .drawer-brand:hover
{
	border-bottom: 3px solid #760001;
}

/* Media Queries */

@media all and (max-width: 1024px)
{
	#bloc_page
	{
		width: auto;
	}

	header
	{
		padding-bottom: 1px;
	}

	header .social-lien
	{
		display: none;
	}

	header h1
	{
		display: block;
		text-align: center;
		margin: 0;
	}

	#logo
	{
		margin: 0 auto;
		display: block;
	}

	#titre_principal h2
	{
		text-align: center;
	}

	.drawer-hamburger
	{
		display: block;
	}

	.darkmode--activated .drawer-nav
	{
		background-color: black;
	}

	.darkmode--activated .drawer-menu
	{
		background-color: black;
	}

	nav
	{
		width: auto;
		text-align: right;
		display: block;
	}

	nav ul
	{
		padding: 0;
	}

	nav li
	{
		display: block;
		padding-left: 4px;
		margin-bottom: 5px;
	}

	nav a
	{
		font-size: 1.1em;
	}

	nav a:hover
	{
		border-bottom: 0;
	}

	article, aside
	{
		width: auto;
		display: block;
		margin-bottom: 15px;
	}

	#fleche_bulle
	{
		display: none;
	}

	#photo img
	{
		width: 110px;
		/*float: right;*/
		/*margin-left: 15px;*/
	}

	aside p:last-child
	{
		text-align: center;
	}

	ul.list_check_prix {
		flex-direction: column;
	}

	ul.list_check_prix li {
		width: auto;
		margin-bottom: 10px;
		margin-left: 0px;
	}

	#social-page, img.Tableau-1984, #exemple, #disable_abp
	{
		width: 100%;
	}

	#connexion
	{
		width: auto;
	}
}

/* @media (prefers-color-scheme: dark)
{
	body
	{
		background: black;
	}
} */