/*

Theme:    Foliox
Demo URL: http://t.starck.io/foliox

---

Author:   Christopher Boutillé
URL:      https://www.starck.io
Twitter:  @starckio

*/


/* Reset
-------------------------------------------------- */
*, *:before, *:after {
	margin: 0;
	padding: 0;
	border: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
	display: block;
}


/* Media
-------------------------------------------------- */
img {
	display: block;
	max-width: 100%;
	height: auto;
	border-width: 0;
	outline: 0;
	width: 100%;
}


/* Links
-------------------------------------------------- */
a {
	color: #e67e22;
	text-decoration: none;
}
a:hover {
	color: #d35400;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
	content: "";
	display: table;
	clear: both;
}


/* Site
-------------------------------------------------- */
html {
	height: 101%;
	font-family: "Roboto", sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
}
body {
	margin: 0 auto;
	font-size: 1.25em;
	line-height: 1.5em;
	padding: 0 1.5em;
	max-width: 40em;
	background: #fff;
	color: #444;
}


/* Header
-------------------------------------------------- */
.header {
	line-height: 1.5em;
	margin-top: 2.5em;
	text-align: center;
}
.logo {
	font-size: 1.4em;
	font-weight: 700;
	margin-bottom: .5em;
	display: block;
	color: #e67e22;
}

@media screen and (min-width: 30em) {
	.header {
		text-align: inherit;
	}
	.logo {
		float: left;
		margin-bottom: 0;
	}
}


/* Navigation
-------------------------------------------------- */
div.toggle {
	margin-top: 1em;
	display: inline-block;
}
.menu {
	display: none;
}
.menu li {
	list-style: none;
	position: relative;
}
.menu li.span, .menu li:last-child.span {
	display: none;
	font-weight: 700;
	color: silver;
}
.menu li a {
	color: #e67e22;
	padding: .5em .5em;
	border-top: 1px solid #ddd;
	font-weight: 700;
	display: block;
}
.menu li a:hover {
	color: #d35400;
	text-decoration: none;
}
.menu li a.active,
.menu li a.active:hover {
	color: #202020;
}
.menu.active {
	display: block;
	border: 1px solid #ddd;
	margin-top: 1em;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.menu.active li:first-child a {
	border-top: none;
}

@media screen and (min-width: 30em) {
  div.toggle {
  	display: none;
  }
	.menu {
		display: block;
		float: right;
		margin-right: -.5em;
	}
	.menu li {
		float: left;
	}
	.menu li a {
		padding: 0 .5em;
		border: 0;
	}
	.menu li.span {
		display: inherit;
	}
}


/* Headings
-------------------------------------------------- */
h1 {
	font-size: 2em;
	line-height: 1em;
	font-weight: 300;
	margin-bottom: .5em;
	color: #202020;
}
.title {
	text-align: center;
}
h2 {
	font-size: 1.5em;
	line-height: 1.25em;
	font-weight: 300;
	margin-bottom: .5em;
	color: #e67e22;
}
h3 {
	font-size: 1.2em;
	line-height: 1.5em;
	font-weight: 600;
	margin-bottom: .5em;
	color: #202020;
}
h4 {
	font-size: 1.1em;
	font-weight: 700;
	line-height: 1.5em;
	margin-bottom: .5em;
	color: #e67e22;
}
h1 a, h2 a, h3 a, h4 a {
	color: inherit;
	border: 0 !important;
}



/* Main
-------------------------------------------------- */
#intro { margin: 100px 0 0 0;  }

.main {
	margin-top: 2.5em;
	margin-bottom: 1em;
}
.main hr {
	margin: 3em 0;
	height: 2px;
	background: #205080;
}
.main p,
.main figure,
.main ul,
.main ol {
  font-size: 0.8em;
	margin-bottom: 1.5em;
}
.main a {
	border-bottom: 2px solid #ddd;
}
.main a:hover {
	border-color: #202020;
}

/* Text blocks */
.text ul,
.text ol {
	margin-left: 1em;
}


/* Button
-------------------------------------------------- */
button, .button, a.button {
	font-family: inherit;
	font-size: .9em;
	font-weight: 400;
	color: #e67e22;
	background-color: transparent;
	border: 1px solid #e67e22;
	padding: .5em 1em;
	display: inline-block;
	cursor: pointer;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
button:hover, .button:hover, button:focus, .button:focus {
	color: #FFF;
	background-color: #e67e22;
	outline: none;
}
button:active, .button:active, div.toggle.active {
	color: #FFF;
	background-color: #222;
	border-color: #222;
}


/* Notifications
-------------------------------------------------- */
.alert {
	width: 100%;
	display: block;
	background-color: #333;
	color: white;
	margin-bottom: 1.5em;
  padding: 1em;
	position: relative;
	overflow: hidden;
	text-align: center;
	font-weight: 400;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.alert p {
	line-height: 1;
	margin-bottom: .5em;
}
.alert p:last-of-type {
	margin-bottom: 0;
}
.alert.success {
	background: #2fdab8;
}
.alert.error {
	background: #D52C2C;
}


/* Footer
-------------------------------------------------- */
.footer {
	padding-bottom: 3em;
}
.footer {
	color: silver;
	font-size: .8em;
}
.footer a {
	color: #e67e22;
}
.footer a:hover {
	color: #e67e22;
	border-bottom: 2px solid #ddd;
}
.copyright {
	float: left;
}
.colophon {
	display: none;
	float: right;
}
.colophon .heart-icon {
	background: url("../images/heart.svg") no-repeat;
	display: inline-block;
	height: 12px;
	margin: 0 .1rem;
	width: 14px;
}

@media screen and (min-width: 30em) {
	.colophon {
		display: block;
	}
}


/* Page Home
-------------------------------------------------- */
ul.teaser {
	list-style: none;
	margin-top: 2.5em;
	margin-bottom: 1em;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
ul.teaser li {
	width: 100%;
	flex: 0 0 100%;
	display: block;
	position: relative;
	vertical-align: top;
	margin-bottom: 1.5em;
	line-height: 0;
	overflow: hidden;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 auto 20px auto;
	}
ul.teaser li a {
	border: none;
	display: block;
}
ul.teaser li a:hover img {
	opacity: 0.5;
}
ul.teaser li a img {
	width: 100%;
}

@media screen and (min-width: 767px)  {
	ul.teaser li {
		flex: 0 0 47.5%;
		width:47.5%;
	}

}



/* Page Folio
-------------------------------------------------- */
article.aucun {
	text-align: center;
	margin-top: 2.5em;
	margin-bottom: 1.5em;
}
article.aucun p {
	padding: 1em 1.5em;
	background-color: #333;
	border: 1px solid #333;
	color: white;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

ul.folio {
	list-style: none;
	margin-top: 2.5em;
	margin-bottom: 1em;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
ul.folio li {
	width: 100%;
	flex: 0 0 100%;
	display: block;
	position: relative;
	vertical-align: top;
	margin-bottom: 1.5em;
	line-height: 0;
	overflow: hidden;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 auto 20px auto;
}
ul.folio li a {
	border: none;
	display: block;
}
ul.folio li a:hover img {
	opacity: 0.5;
}
ul.folio li a img {
	width: 100%;
}
.pagination {
	text-align: center;
	margin-bottom: 1.5em;
	clear: both;
}
a.next {
	font-size: .9em;
	font-weight: 700;
	display: inline-block;
	text-align: center;
	padding: .5em 1em;
	background-color: white;
	border: 1px solid #e67e22;
	color: #e67e22;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
	cursor: pointer;
}
a.next:hover {
	color: white;
	background-color: #e67e22;
	border-color: #e67e22;
}
.end {
	width: 100%;
	display: block;
	text-align: center;
	margin-top: -1em;
	padding: 1em 1.5em;
	background-color: #333;
	border: 1px solid #333;
	color: white;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

@media screen and (min-width: 767px) {
	ul.folio li {
  	flex: 0 0 47.5%;
		width: 47.5%;
	}
}



/* Page Work
-------------------------------------------------- */
.meta {
	text-align: center;
	margin-bottom: 1.5em;
}
.meta li {
	display: inline-block;
	list-style: none;
	margin: 0 .3em;
	color: silver;
}
a.tweet {
	color: #FFF;
	background: #55acee;
	font-weight: 400;
	font-size: .85em;
	margin-top: 1.5em;
	padding: .5em 1em;
	border: none;
	display: inline-block;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.tweet:hover {
	color: #FFF;
	background: #2174D9;
}
.tweet:active {
	color: #FFF;
	background: #222;
}


/* Page About
-------------------------------------------------- */
.cover img {
	width: 100%;
	height: auto;
	margin-bottom: 1.5em;
	display: block;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}


/* Page Contact
-------------------------------------------------- */
form label {
	font-family: "Roboto", sans-serif;
	color: #333;
	font-size: 1.125em;
	line-height: 1.5em;
	padding-bottom: .5em;
	display: block;
}
form label span {
	font-weight: 400;
	cursor: pointer;
	color: #D52C2C;
}
form div {
	margin-bottom: 1.5em;
}
form div:last-of-type {
	margin-bottom: 0;
}
form input[type="text"],
form input[type="email"],
form textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	width: 100%;
	font-size: 1em;
	line-height: 1.5em;
	padding: .5em;
	margin: 0;
	font-family: "Roboto", sans-serif;
	color: #333;
	background: transparent;
	border: 1px solid #333;
	position: relative;
	display: block;
	appearance: none;
	outline: none;
}
form textarea {
	min-height: 150px;
	resize: vertical;
	display: block;
}
form input[type="text"]:hover,
form input[type="email"]:hover,
form textarea:hover {
	border-color: #DDD;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
	border-color: #e67e22;
}
form .error input[type="text"],
form .error input[type="email"],
form .error textarea,
form .error select {
	border-color: #D52C2C;
}
form button {
	margin-top: .5em;
}
form button:active {
	color: #FFF;
	background-color: #333;
	border-color: #333;
}
form .help {
	font-family: "Roboto", sans-serif;
	color: #333;
	font-weight: 300;
	margin: 1.5em 0;
}

@media screen and (min-width: 40em) {
	form .help {
		line-height: 1em;
	}
}
.uniform__potty {
  position: absolute !important;
  left: -9999px !important;
	top: -9999px !important;
}
form .inpt {
	list-style: none;
	margin-bottom: 0;
}
form .inpt:first-child {
	margin-bottom: 1.5em;
}

@media screen and (min-width: 50em) {
	form .inpt {
		float: left;
		width: 47.5%;
		margin-left: 5%;
	}
	form .inpt:first-child {
		margin-left: 0;
		margin-bottom: 0;
	}
}


/* Page Contact success
-------------------------------------------------- */
article.ok {
	text-align: center;
	margin-top: 2.5em;
	margin-bottom: 2.5em;
}
article.ok p { color: silver }


/* Page Error
-------------------------------------------------- */
#error article {
	text-align: center;
	margin-top: 2.5em;
	margin-bottom: 2.5em;
}
#error article p { color: silver }



/* Kirby Grid
-------------------------------------------------- */
.grid {
    --columns: 12;
    --gutter: 2rem;
    display: grid;
    grid-gap: var(--gutter);
    grid-template-columns: repeat(2, 1fr);
  }
  .grid > .column {
    margin-bottom: 0px;
  }

  .autogrid {
    --gutter: 3rem;
    --min: 10rem;
    display: grid;
    grid-gap: var(--gutter);
    grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
    grid-auto-flow: dense;
  }

  .text :first-child {
    margin-top: 0;
  }
  .text :last-child {
    margin-bottom: 0;
  }
  .text p,
  .text ul,
  .text ol {
    margin-bottom: 1.5rem;
  }
  .text ul,
  .text ol {
    margin-left: 1rem;
  }
  .text ul p,
  .text ol p {
    margin-bottom: 0;
  }
  .text ul > li {
    list-style: disc;
  }
  .text ol > li {
    list-style: decimal;
  }
  .text ul ol,
  .text ul ul,
  .text ol ul,
  .text ol ol {
    margin-bottom: 0;
  }

  .quote blockquote {
    font-size: 1.25rem;
    line-height: 1.325em;
    border-left: 2px solid black;
    padding-left: 1rem;
    margin: 0 0 1rem 0;
    max-width: 25rem;
  }
  .quote blockquote footer {
    font-size: .875rem;
    font-style: italic;
  }

  .text figcaption {
    padding-top: .75rem;
    color: var(--color-text-grey);
  }

  .align-center {
    text-align: center;
  }


  .video,
  .img {
    position: relative;
    display: block;
    --w: 1;
    --h: 1;
    padding-bottom: calc(100% / var(--w) * var(--h));
    background: var(--color-black);
  }
  .img img,
  .video iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
  }
  .img[data-contain] img {
    object-fit: contain;
  }
  .img-caption,
  .video-caption {
    padding-top: .75rem;
    line-height: 1.5em;
  }





  .grid { margin-bottom: 80px;  }

  @media screen and (min-width: 60rem) {

    .grid {
      --gutter: 3rem;
      grid-template-columns: repeat(12, 1fr);
    }
    .grid > .column {
      grid-column: span var(--columns);
    }

  }




