

/* --------------------------------
	Basics
-------------------------------- */ 

@import url('https://fonts.googleapis.com/css?family=Lora:400i|Raleway:400,400i,600,600i');

* {
	box-sizing: border-box;
}

:root {
    --color-dark: #714220;
    --color-medium: #FFAA4D;
    --color-light: #FFFAEE;
    
    --font: #444444;
    --font-light: #777777;
    --font-lighter: #BBBBBB;
    
    --hover: #FFAA4D;
}

html, body{
    height: 100%;
    margin: 0;
}

body {
    margin: 0;
    display: flex; 
    flex-direction: column;
}

.container {
    padding: 0 1em;
    max-width: 720px;
    margin: 0 auto;
}
/* --------------------------------
	Text
-------------------------------- */

h1, h2, h3 {
    display: block;
    margin: 0;
    font-weight: normal;
    
    /* ---- */
    
    color: var(--font);
    
    font-family: 'Lora', serif;
    font-style: italic;
}

h1 {
    font-size: 24px;
    text-align: center;
    margin: 0em 0em 1em 0em;
}

h2 {
    font-size: 22px;
    margin: 0em 0em 0.75em 0em;
}

h3 {
    font-size: 20px;
    font-family: 'Raleway', sans-serif;
    color: var(--font);
    font-weight: normal;
    font-style: normal;
    margin: 0em 0em 0.5em 0em;
}

p {
    display: block;
    margin: 1em 0em;
    
    /* ---- */
    
    color: var(--font);
    
    font-size: 16px;
    text-align: justify;
    
    line-height: 1.5;  /* if 1.5 == 1.5*size of the font */
    margin: 24px 0px;
    
    font-family: 'Raleway', sans-serif;
}

/* Lien -------------------------------- */

a, a:link, a:visited, a:active {
	text-decoration: none;
    color: inherit;
}

a:hover {
	color: var(--color-medium);
    transition: 0.15s;
}

/* Effets de texte -------------------------------- */

small {
	font-size: 14px;
}

strong {
	font-weight: 600;
}

em {
	font-style: italic;
}

/* Liste -------------------------------- */

ul {
    padding: 0;
	margin: 24px 0; /* Same as p */
    list-style-type: none;
}

/* Not essential */
ul.glued {
    margin-top: -24px;
}

li {
	font-family: 'Raleway', sans-serif;
    color: var(--font);
    
	font-size: 16px;
    font-weight: 300;
    
    line-height: 1.5;
    margin-left: 40px; /* Default value */
}

li::before {
    content: '\2013\a0';
}

.no-list li::before {
	content: '';
}

/* --------------------------------
	Header
-------------------------------- */

header {
	margin: 0.5em 0em 0em 0em;
    border-bottom: 2px solid var(--color-medium);
}

.header-bar {
    background: var(--color-medium);
}

.navbar {
}

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

.navbar .navbar-brand svg {
    height: 100px;
    margin: 0;
    padding: 0;
    margin: 0.5em;
}

.navbar .active {
    color: var(--color-medium);
}

.navbar ul {
    padding: 0;
    margin: 0;
    
    /* Flexbox */
    display: flex;
    flex-direction: row;            /* flex-flow: row wrap */
    flex-wrap: wrap;                /* What to do if longer */
    
    /* Custom */
}

.navbar li {
    display: inline-block;
    margin: 0;
    text-align: center;
    
    /* Flexbox */
    flex-grow: 1;                   /* Element proportions */
    flex-basis: 20%;                /* Default size */
    justify-content: space-between;
    min-width: 120px;
    
    /* Custom */
    margin: 0.5em 0em 0.75em 0em;
    
    /* Styling */
    text-transform: uppercase;
}

.navbar li a:hover {
    transition: 0.15s;
}

.navbar li::before {
    content: '';
}
/* --------------------------------
	Section
-------------------------------- */ 

section {
	margin: 2.5em 0em;
}
/* --------------------------------
	Footer
-------------------------------- */

footer {
    margin: 5em 0em 0em 0em;
    
    height: 75.4px;
    margin-top: auto; 
}

footer .sub {
    border-top: 2px solid var(--color-medium);
}

footer .sub p {
    margin: 0.1em 0;
    font-size: 14px;
    color: var(--font-light);
}

/* --------------------------------
	Button
-------------------------------- */ 

.btn {
    text-align: center;
    
    padding: 0.5em 1.2em;
    display: inline-block;
    
    margin: 0em 0.5em 0em 0em;
    
    border-radius: 0.5em;
    
    /* min-width: 4em; */
    transition: 0.15s;
}

.round {
    border-radius: 2em;
}

.btn-primary {
    border: 2px solid var(--color-medium);
}

.btn-secondary {
    border: 2px solid var(--color-dark);
}

.btn-primary:hover {
	background: var(--color-medium);
    color: #FFFFFF;
}

.btn-secondary:hover {
	background: var(--color-dark);
    color: #FFFFFF;
}

a.btn {
	text-decoration: none;
    font-family: 'Raleway', sans-serif;
	color: var(--font);
}
/* --------------------------------
	Boxes
-------------------------------- */ 

.boxes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
    justify-content: space-evenly;
    align-content: space-evenly;
}

.box {
    min-width: 100px;
    margin: 0.75em 0.75em;
}

.big {
    flex-basis: 30%;
    margin: 2em 0.1em;
}
.principal {
    margin: 1em 0.1em;
}

.box h3, .box p {
    text-align: center;
}

.box p {
	margin: 0;
    color: var(--font-light);
}

footer .boxes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
    justify-content: space-between;
}

/* --------------------------------
	Quotations
-------------------------------- */

.testimonial-quote {
    position: relative;
    margin-bottom: 1em;
}


.testimonial-quote blockquote {
    font-style: italic;
    position: relative;
    text-shadow: 0 1px white;
    z-index: 600;
    min-height: 3em;
    margin: 0;
}

.testimonial-quote blockquote p:first-child:before {
    content: '\00AB';
    color: var(--color-medium);
    font-size: 7.5em;
    font-weight: 700;
    opacity: .4;
    position: absolute;
    top: -.6em;
    left: -.4em;    
    text-shadow: none;
    z-index: -300;
}
/* --------------------------------
	Carousel
-------------------------------- */

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: relative;
  padding: 20px;
  color: var(--font-lighter);
  font-weight: bold;
  font-size: 24px;
  transition: 0.15s ease;
  user-select: none;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  color: var(--color-medium);
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 2px 2px;
  background-color: var(--font-lighter);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.15s ease;
}

.dot.active, .dot:hover {
  background-color: var(--color-medium);
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 0.5s;
  animation-name: fade;
  animation-duration: 0.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


