@font-face {
  font-family: Circular Book;
  src: url(../fonts/CircularBook.ttf);
}

/*
 * Globals
 */
 
 body {
 	font-family: Circular Book;
 }
 
 .greybackground {
 	margin: 0px 25px;
 	background-color: #f1f1f1;
 }
 
 .btn-primary {
    color: #fff;
    background-color: #e20506;
    border-color: #e20506;
}

.bg-primary {
    background-color: #e20506!important;
}

.border-primary {
    border-color: #e20506!important;
}

.btn-outline-primary {
    color: #e20506;
    border-color: #e20506;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #e20506;
    border-color: #e20506;
}

.form-check-input:checked {
    color: #e20506;
    background-color: #212529;
    border-color: white;
}

.btn-primary:hover {
    color: #e20506;
    background-color: #f1f1f1;
    border-color: white;
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
    color: #fff;
    background-color: #e20506;
    border-color: #9e0808;
    box-shadow: 0 0 0 0.25rem #e2050680;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    outline: 0;
    border-color: #9e0808;
    box-shadow: 0 0 0 0.25rem #e2050680;
}

.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #e20506;
    border-color: #9e0808;
}

.logo {
    background-color: #e20506;
    height: 100px;
    width: 450px;
	position: absolute;
    z-index: 999;
}

.logo img {
	height: 100%;
}

.logo::before {
    background:  #e20506 none repeat scroll 0 0;
    content: "";
    height: 100px;
    position: absolute;
    right: -25px;
    transform: skew(-20deg);
    width: 50px;
}

.titre {
	text-align: left;
	text-decoration: underline red 5px;
	margin-top: 50px;
	margin-bottom: 25px;
}

.earlybird {
	font-size: 2rem;
}

footer {
	background-color: #e20506;
	padding: 20px 0px;
	margin: 0px -50px;
}

footer p {
	margin-bottom: 0px;
}

footer a {
	text-decoration: none;
}

footer i {
	font-size: 2rem;
    vertical-align: middle;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: grey;
    border-color: #e20506;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}

form {
	text-align: left;
	background: #e20506;
    padding: 25px;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}

form .col-sm-6, form .col-sm-4 {
	margin-bottom: 20px;
}

form label {
	color: white;
}

form .btn-primary {
    color: #fff;
    background-color: #e20506;
    border-color: #fff;
}

.cards i {
	margin-bottom: 20px;
    font-size: 3rem;
}

ul {
    text-align: center;
    list-style-position: inside;
}

.mots .card {
    border: none;
}

.mots .card-header {
    line-height: 100px;
    background-color: #e20508;
    color: white;
	font-size: 2rem;
}

.mots .card-text {
	min-height: 100px;
	text-align: center;
}

ul {
    list-style-type: none;
}

ol, ul {
    padding-left: 0rem;
}

.help-block.with-errors {
    color: white;
    margin-top: 5px;
}

.list-unstyled {
    text-align: left;
}

.suivienligne {
	padding-top: 0px !important;
}

/*
 * Header
 */

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: black;
  border-bottom-color: #fff;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  //margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 40rem;
}

.carousel-item > img {
    position: absolute;
    bottom: 0;
    right: 0;
    min-width: unset;
    height: 100%;
    object-fit: cover;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

@media screen and (max-width: 959px) {
  .logo {
    width: 80%;
  }
  
  .logo img {
    height: 80%;
    margin-top: 4%;
}
  
  .carousel-caption {
  	right: unset;
  	left: unset;
  }
  
  .suivienligne .fs-4{
  	font-size: 15px !important;
  }
  
  .carousel-caption {
    top: 8rem;
}

.carousel-item > img {
    height: 50%;
}

}