/* Change this breakpoint if you change the breakpoint of the navbar */

@media (min-width: 992px) {
  .animate {
	animation-duration: 0.3s;
	-webkit-animation-duration: 0.3s;
	animation-fill-mode: both;
	-webkit-animation-fill-mode: both;
  }
  
  .navbar li > a {
	font-size: 130%;
  }
}

@keyframes slideIn {
  0% {
	transform: translateY(1rem);
	opacity: 0;
  }
  100% {
	transform:translateY(0rem);
	opacity: 1;
  }
  0% {
	transform: translateY(1rem);
	opacity: 0;
  }
}

@-webkit-keyframes slideIn {
  0% {
	-webkit-transform: transform;
	-webkit-opacity: 0;
  }
  100% {
	-webkit-transform: translateY(0);
	-webkit-opacity: 1;
  }
  0% {
	-webkit-transform: translateY(1rem);
	-webkit-opacity: 0;
  }
}

.slideIn {
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}

/* Other styles for the page not related to the animated dropdown */

body {
	background-color: #ECF0F4;
}

.navbar {
	background-color: rgb(47, 122, 141);
	color: #fff;
}

.container {
	background-color: #fff;
}

.bg-1 {
	color: #fff !important;
	background-color: #FD8C3B
}

.bg-2 {
	color: #fff !important;
	background-color: rgb(47, 122, 141) !important;
}

.bg-3 {
	color: #fff !important;
	background-color: #40B3CC !important;
}

.bg-4 {
	color: #fff !important;
	background-color: #FF30B0 !important;
}

.navbar li > a {
	color: #fff;
}

.navbar a.active {
	font-weight: bold;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: rgb(47, 122, 141);
}

nav li > a:hover, .card a:hover {
	color: #F9F9F9 !important;
	cursor: pointer;
}


video {
	max-width:100%;
}

h6 {
	text-align: center;
}

.card-img {
	height: 250px;
	width: auto;
	overflow: hidden;
}

.card-title {
	margin-bottom: 0;
	background: #00000073;
	padding: 10px;
}


.hvrbox,
.hvrbox * {
  box-sizing: border-box;
}

.hvrbox {
  position: relative;
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}

.hvrbox img {
  max-width: 100%;
}

.hvrbox_background {
  width: 400px;
  height: 250px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hvrbox .hvrbox-layer_bottom {
  display: block;
}

.hvrbox .hvrbox-layer_top {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 15px;
  -moz-transition: all 0.4s ease-in-out 0s;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -ms-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.hvrbox:hover .hvrbox-layer_top,
.hvrbox.active .hvrbox-layer_top {
  opacity: 1;
}

.hvrbox .hvrbox-text {
  text-align: left;
  font-size: 18px;
  display: inline-block;
  position: absolute;
  top: 40%;
  left: 40%;
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.hvrbox .hvrbox-text h3, h4, h5, h6 {
  color: white
}

.hvrbox .footer {
  text-align: center;
  position: fixed;
  bottom: 2rem;
  width: 100%;
}

.hvrbox .hvrbox-text_mobile {
  font-size: 15px;
  border-top: 1px solid rgb(179, 179, 179);
  /* for old browsers */
  border-top: 1px solid rgba(179, 179, 179, 0.7);
  margin-top: 5px;
  padding-top: 2px;
  display: none;
}

.hvrbox.active .hvrbox-text_mobile {
  display: block;
}

.hvrbox .hvrbox-layer_image {
  padding: 0;
  background: none;
}

.hvrbox .hvrbox-layer_slideup {
  -moz-transform: translateY(100%);
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
}

.hvrbox:hover .hvrbox-layer_slideup,
.hvrbox.active .hvrbox-layer_slideup {
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

form label {
	display: none;
	float: left;
}

form input {
	margin: 10px;
	width: 48%;
	float: left;
	padding: 10px;
	display: inline;
}

form textarea {
	margin: 10px;
	width: 98%;
	padding: 10px;
}

.conditions input {
	width: 30px;
}

.conditions:after {
	content: "EN SOUMETTANT CE FORMULAIRE, J'ACCEPTE QUE LES DONNÉES SAISIES PUISSENT ETRE UTILISEES DANS LE CADRE DE LA RELATION QUI PEUT EN DECOULER.";
	display: block !important;
	position: absolute;
	width: 62vw;
	height: 100px;
	float: right;
	margin-left: 50px;
	margin-top: 5px;
}

#conditions input { 
	width: 5%;
}

#contact_submit {
	margin-top: 100px;
	float: right;
	margin-right: 10vw;
}
