/*
Theme Name: KEYO
Author: Emma Satti
Author URI: https://emmasatti.fr
Version: 1.0.0
*/

/*------------------------------------------------------
>>> TABLE OF CONTENTS:
--------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Accessibility
# Alignments
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


@import url('styles-perso.css');
@import url('menu.css');

:root {
	--principal: #46a5a8;
	--secondaire: #fbcc2b;
	--noir: #000;
	--gris: #666;
	--texte: #666;
	--menu: #000;
	--footer: #000;
	--txtfoot: #000;
}


/*------------------------------------------------------
# Normalize
------------------------------------------------------*/
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

strong {
	font-weight: 500;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img { border: none }
#content img {
	border:  solid 1px #CCC;
	padding: 5px;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
	border-top: 1px dotted green;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

th, td { padding: 8px }
th { font-weight: 600 }

.list tr:nth-child(even) { background: #f8f8f8 }
.list tr:nth-child(odd) { background: #ffff }
.list th { background: #fff }
.dec th { background: #46a5a8; color: white }


.list th, .list td { padding: 8px; border-bottom: 1px solid #aaa }

/*------------------------------------------------------
# Typography
------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #000;
}

h1, h1 input[type="text"], h2, h3 { font-family: "Funnel Display", sans-serif; }

h1, h1 input[type="text"] {
	font-size: 30px;
	font-weight: 600;
	color: #000;
	margin: 0 0 20px 0;
}

h2 {
	font-size: 20px;
	color: #888;
	font-weight: 600;
	margin: 0 0 15px 0;
}

h3 {
	font-size: 18px;
	color: #000;
	font-weight: 500;
}

p {
	margin: 0 0 20px 0;
}
em {
	font-style: italic;
}

/*------------------------------------------------------
# Elements
------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*------------------------------------------------------
# Forms
------------------------------------------------------*/
button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	border-radius: 5px;
	background: var(--principal);
	color: #FFF !important;
	font-size: 12px;
	font-weight: 300;
	padding: 7px 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
		background: #aaa
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border: 1px solid #ccc;
}

label {
	display: inline-block;
	width: 110px;
	line-height: 24px;
	text-align: right;
	margin-right: 10px;
	font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea {
	width: 100%;
	max-width: 400px;
	height: 24px;
	border: none;
	border-bottom: 1px solid #ccc;
	border-radius: 0;
	padding: 5px;
	background: #fcfcfc;
	color: #000;
	vertical-align: top;
}

@media screen and (max-width: 760px) {
label { display: block; width: auto; text-align: left }
	
}

input[type="text"]:read-only,
input[type="email"]:read-only,
input[type="url"]:read-only {
	background: #fff;
	color: #878787;
}
input[type="text"].montant { width: 150px }

table input[type="text"],
table input[type="email"],
table input[type="url"],
table input[type="tel"] {
	width: 100% ;
}

select {
	border: 1px solid #ccc;
}

textarea {
	height: auto;
}

/*------------------------------------------------------
# Content
------------------------------------------------------*/
/* PAGE */
.site-content {
	width: calc(100% - 60px);
	max-width: 1200px;
	min-height: calc(100vh - 155px);
	margin: 30px auto;
}
.site-content a {
	color: var(--principal);
	font-weight: 500;
	text-decoration: none;
}

.site-content a:hover {
	color: #666;
}
.site-content ul,
.site-content ol {
    padding-left: 15px;
    text-indent: -15px;
	margin: 0 0 10px 0;
}

.site-content ul {
	list-style: none;
}

.site-content ol {
	list-style: decimal;
}

.site-content li:before {  content: "● "; color: #fbcc2b; font-weight: 700 }

.site-content li { margin: 0 0 5px 0 }

.site-content li > ul,
.site-content li > ol {
	margin: 0 0 10px 0;
}
