/*

Theme:    Foliox
Demo URL: http://kirby.dsply.fr/foliox

---

Author:   Christopher Boutille
URL:      http://www.dsply.fr
Twitter:  @bydsply

*/
:root {
  --link-bg-hover: #ec971f;
  --button-bg: #EEA236;
  --button-bg-hover: #ec971f;
  --button-arrow-bg: #EA236;
  --link-text-color: #ffffff;
  --link-text-color-hover: #ffffff;
  --button-arrow-text-color: #ffffff;
  --button-text-color: #ffffff;
  --button-text-color-hover: #ffffff;
  --masonry-columns: 5;
  --fs-nav: 1rem;
  --fs-font-title: 24px;
  --fs-body-text: 1.2rem;
  --fs-h1: 2.5rem;
  --fs-h2: 1.5rem;
  --fs-h3: 1.2rem;
  --fs-form-label: 1.2rem;
}

/* 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;
}


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

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


/* Site
-------------------------------------------------- */
html {
  height: 100%;
  font-family: 'typewritherregular', 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: var(--fs-body-text);
  line-height: 1.5em;
  color: #444;
  padding-bottom: 6rem;
}

/*Bootstrap*/

.thumbnail{
  border : 0px;
}

.carousel-control.left{
 background:transparent;
}

.carousel-control.right{
 background:transparent;
}

.carousel-control:hover{
 opacity:0.6;
}

.badge {
border-radius: 1px;
padding: 5px;
}

.carousel-indicators .active {
background-color: #615050;
}

.carousel-indicators li {
    border: 1px solid #615050;
    width: 17px;
    height: 17px;
}

.carousel-indicators .active {
    width: 18px;
    height: 18px;
}

.btn-default {
color: #333;
background-color: #fff;
border-color: #ccc0;
}

.btn-default:hover {
color: #333;
background-color: #e6e6e600;
border-color: #adadad00;
}

 .btn:active, .btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, .125);
  box-shadow: inset 0 0px 0px rgba(0, 0, 0, .125);
  }

 .btn-default:active:hover, .btn-default.active:hover, .open > .dropdown-toggle.btn-default:hover, .btn-default:active:focus, .btn-default.active:focus, .open > .dropdown-toggle.btn-default:focus, .btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus {
  color: #333;
  background-color: #ffffff;
  border-color: #ffffff;
 }

 .dropdown-toggle.btn-default {
  color: #333;
  background-color: #e6e6e600;
  border-color: #adadad00;
  }

.panel-heading {
  padding: 10px 15px;
  border-bottom: 0px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
 }
 .panel-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 0px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
 }
 #pull-right{
  font-size: 40px;
  display:flex;
  margin-top: -106px;
  }

 .thumbnail{
    padding: 0px;
    margin-bottom: 3px;
  }

  .arrow{
    width:100px;
   }

   @media screen and (max-width:586px){
    .arrow{
    width:40px;
    }
    #pull-right{
      margin-top: -37px;
    }
   }

/* Header
-------------------------------------------------- */
.header {
  line-height: 1.5em;
  text-align: center;
}
.logo {
  display: block;
}

@media screen and (min-width: 30em) {
  .logo {
    margin-bottom: 0;
  }
}


/* Headings
-------------------------------------------------- */
h1 {
  font-size: var(--fs-h1);
  line-height: 1em;
  font-weight: 300;
  margin-bottom: .5em;
  color: #202020;
}
.title {
  text-align: center;
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  color: #e67e22;
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
  color: #202020;
}
h4 {
  font-size: 1.125em;
  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
-------------------------------------------------- */
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}
.main a {
  border-bottom: 2px solid #ddd;
}

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


/* Button
-------------------------------------------------- */
button, .button, a.button {
  font-family: inherit;
  font-size: .9em;
  font-weight: 400;
  color: #1c505f;
  background-color: transparent;
  border: 1px solid #1c505f;
  padding: 1.2em 1em .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: #1c505f;
  outline: none;
}
button:active, .button:active, div.toggle.active {
  color: #FFF;
  background-color: #1c505f;
  border-color: #1c505f;
}


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


/* Page Home
-------------------------------------------------- */
ul.teaser {
  list-style: none;
  margin-top: 2.5em;
  margin-bottom: 1em;
}
ul.teaser li {
  width: 100%;
  float: left;
  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;
}
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: 20em) and (max-width: 29.99em) {
  ul.teaser li {
    width: 47.5%;
    margin-right: 5% !important;
  }
  ul.teaser li:nth-child(2n+2) {
    margin-right: 0 !important;
  }
}

@media screen and (min-width: 30em) {
  ul.teaser li {
    width: 30%;
    margin-right: 5% !important;
  }
  ul.teaser li:nth-child(3n+3) {
    margin-right: 0 !important;
  }
}


/* 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;
}
ul.folio li {
  width: 100%;
  float: left;
  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;
}
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: 20em) and (max-width: 29.99em) {
  ul.folio li {
    width: 47.5%;
    margin-right: 5% !important;
  }
  ul.folio li:nth-child(2n+2) {
    margin-right: 0 !important;
  }
}

@media screen and (min-width: 30em) {
  ul.folio li {
    width: 30%;
    margin-right: 5% !important;
  }
  ul.folio li:nth-child(3n+3) {
    margin-right: 0 !important;
  }
}


/* Page Work
-------------------------------------------------- */
.font-info {
  background-color: #fff;
  padding: 1rem;
  margin: 1.5em 0;
  text-align: center;
}

@media (min-width: 40rem) {
  .font-info {
    text-align: left;
    width: 99%;
  }
}

@media (min-width: 40rem) {
  .font-info__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
}

.font-info__header .title {
  font-weight: 700;
}

@media (min-width: 40rem) {
  .font-info__header .title {
    margin: 0;
  }
}

/*
.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-color: #55acee;*/
  background-color: #f15525;
  font-weight: 400;
  font-size: .85em;
  padding: .5em 1em;
  border: none;
  display: inline-block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.tweet:hover,
.tweet:active {
  color: #FFF;
  background-color: red;
}


/* 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: var(--fs-form-label);/*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 input[type="search"],
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 input[type="search"]:hover,
form textarea:hover {
  border-color: #DDD;
}
*/
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="search"]:focus,
form textarea:focus {
  border-color: #e67e22;
}
form .error input[type="text"],
form .error input[type="email"],
form .error input[type="search"],
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;
  }
}
.duff {
  position: absolute;
  top: -9999px;
  left: -9999px;
}
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 }




/* Overrides
-------------------------------------------------- */

body {
  max-width: 100%;
  padding: 0;
}

.header {
  margin-bottom: .5em;
  margin-top: 2em;
}

.logo img {
  margin: 0 auto;
  width: 80%;
}

@media (min-width: 40rem) {
  .logo img {
    margin-bottom: 10px;
    width: 1000px;
  }
}



/* Footer
-------------------------------------------------- */
.footer {
  background-color: #000000;
  color: silver;
  font-size: 14px;
  padding: 5px;
  text-align: center;
  width: 100%;
}

.footer--fixed {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
}

.main a {
  border-bottom: 2px solid transparent;
  transition: all .2s ease-in-out;
}

.main a:hover {
  border-color: #17434f;
}

@media (min-width: 40rem) {
  article.text {
    margin: 0 auto;
    max-width: 800px;
  }
}

article.font-page {
  max-width: 100%;
}

@media (min-width: 40rem) {
  .form {
    margin: 0 auto;
    max-width: 800px;
  }
}

/*
.meta .random-link {
  margin-left: 10px;
}
*/

#work article figure {
  border: 5px solid #fff;
}

@media (min-width: 40rem) {
  #work article figure {
    display: inline-block;
    margin: 0;
    margin-right: .5%;
    width: 49%;
  }
}

.text ul, .text ol {
  margin: 0;
}

.promos {
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 40rem) {
  .promos {
    max-width: 90%;
  }
}

.promo {
  border: 5px solid #fff;
  margin-bottom: 10px;
  width: 99%;
}

.is-hidden {
  clip: rect(0,0,0,0);
  opacity: 0;
  position: absolute;
  width: 0;
}


/* Menu
-------------------------------------------------- */
.menu {
  margin: 10px 0;
}

.menu-item {
  display: inline-block;
}

.menu-link {
  font-size: var(--fs-nav);
  padding-top: 16px;
  color: #333;
  font-weight: 700;
  transition: all .2s ease-in-out;
  -webkit-appearance: none;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  padding: 5px 24px 0 24px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  height: 50px;
  line-height: 50px;
  margin-bottom: 12px;
  border: none;
}

.menu-link:hover {
  color: var(--link-text-color-hover) !important;
  background-color: var(--button-bg-hover);
  text-decoration: none;
  border-radius: 4px;

}

.menu-separator {
  color: #bbb;
  display: inline-block;
}

.menu-separator:last-child {
  display: none;
}


/* Tags
-------------------------------------------------- */
.font-info .tags {
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  margin-right: 5px;
  padding: 0;
}

.tag a {
  background-color: #f15525;
  border: 0 none;
  color: #fff;
  font-size: 14px;
  padding: 5px 0.5rem;
  text-transform: uppercase;
}

.tag a:hover {
  background-color: red;
  border: 0 none;
  text-decoration: none;
}


/* --------------- */
/* --- Masonry --- */
/* --------------- */
.grid {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}



.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-item {
  border: 0px solid #ededed;
  float: left;
  list-style-type: none;
  margin: 10;
  margin-bottom: 1%;
}

.grid-sizer,
.grid-item {
  width: 24%;
}

.gutter-sizer {
  width: 1%;
}

.mb-40 {
  margin-bottom: 40px;
}

.btn-nav {
  color: #333 !important;
  background-color: #ffffff !important;
}

.btn-nav:hover {
  color: var(--link-text-color-hover) !important;
  background-color: var(--button-bg-hover) !important;
}

.uniform__potty {
  position: absolute;
  left: -9999px;
}

