.homepage h2{
  font-size:28px;
}
.btn-header-home{
  margin: 0 0 40px 0;
  font-size: 20px !important;
  font-family: 'balder';
  background-color:white;
  border-radius: 8px;
}
.btn-header-home:hover{
  color:#ed143d;
}
.row-grey{
  background: rgb(231, 231, 231);
  padding: 20px 0 !important;
  margin-top:0px;
  margin-bottom:40px;
}
.section-title{
  font-family: 'balder';
  color:#ed143d;
  font-style: italic;
}
.section-search-title{
  font-family: 'balder';
  color:#000;
  font-size: 25px;
  width:100%;
  text-align:center;
  display:inline-block;
  font-style: italic;
}

.card-image{
  width: 100% !important;
  min-height: 200px !important;
  /* max-height: 300px !important; */
}
.carousel-item{
  height:150px !important;
  text-align:center;
}
.bubble-grey{
  border-radius: 30px;
  background: rgb(231, 231, 231, 0.7);
  padding: 20px;
}
.img-arbitre{
  position:absolute;
  bottom:0px;
  left:-2em;
}


.input-text-search input{
  display: inline;
  padding-right:50px;
}
.btn-search{
  margin-left:-40px;
  display: inline;
}

.search-item{
  margin:10px;
  display:inline-block;
}

.search-item-name{
  padding: 5px 7px;
  border-radius: 6px;
  background-color:#cfcfcf;
  color:rgb(15, 15, 15);
  text-transform: uppercase;
  font-size:16px;
}

.search-item-name:hover, 
.search-item-name.selected{
  background-color:#ed143d;
  color:white;
  cursor: pointer;
}


.card-small {
  box-shadow: none !important;
}

.card-post{
  background: #ececec75;
  border-radius:10px;
}
.card-post .card-image{
  border-radius: 10px 10px 0 0;
}
.card-title{
  font-size: 21px;
  line-height: 20px;
  text-transform:uppercase;
  font-weight:200;
}
.card-description {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 150px;
  width: 100%;
  border-radius: 10px 10px 0 0;
  background-color: rgba(73, 73, 73, 0.58);
  color: #ffffffbd;
  display: none;
  padding: 11%;
  text-align: left;
  font-size: 14px;
  line-height: 15px;
}
.card-desc-ctn:hover .card-description{
  display:inline;
}
.card-desc-ctn .carousel-control-prev,
.card-desc-ctn .carousel-control-next{
  z-index:10px;
}

.course_card .carousel{
  box-shadow: none !important;
}
.course_card .carousel-control-next, 
.course_card .carousel-control-prev{
  opacity: 1;
}

.link-slider{
  font-size:16px; 
  color:#ed143d;
}

.course-photo-container{
  overflow: hidden;
  margin-bottom:50px;
  width: 100%;
}

.course-photo-slider{
  /* left:0px; */
  /* position: relative; */
  animation-duration: 50s;
  animation-name: mySlider;
  animation-iteration-count:  infinite;
  width: 100%;
}
.course-photo-slider:hover{
  animation-play-state: paused;
}
@keyframes mySlider {
  0%    { transform: translateX(0);     }
  15%   { transform: translateX(-75%);  }
  30%   { transform: translateX(-125%); }
  45%   { transform: translateX(-200%); }
  60%   { transform: translateX(-125%); }
  75%   { transform: translateX(-75%);  }
  100%  { transform: translateX(0);     }
}
.course-photo-item .carousel-item{
  text-align: center;
}

.course-photo-img{
  width:100%; 
  height:200px !important; 
  max-height:200px !important; 
  background-size: cover;
  background-position-y: center;
}
.course-photo-name{
  position: absolute;
  bottom:0px;
  background-color: rgba(44, 44, 44, 0.671);
  color:white;
  font-weight: bold;
  width:100%;
  padding:8px 8px;
  display: none;
}
.course-photo-img:hover .course-photo-name{
  display: inline;
}

@media (max-width: 960px) {
  .bubble-grey{
    border-radius:0px;
  }
  
}

.col-event-type{
  height:300px; 
  overflow:hidden;
  text-align:center;
  border:1px solid white;
}

.img-event-type{
  min-height:300px;
  max-width:800px;

  -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;

}

.img-event-type:hover{
  -webkit-transform: scale(1.2);
	transform: scale(1.2);
}
@keyframes photoZoom {
  0%    { transform: scale(1);     }
  100%  { transform: scale(1.3);     }
}

.img-event-type-name{
  position: absolute;
  bottom: 30px;
  right: 5px;
  padding: 5px 15px;
  background-color: #ed143d;
  color: white;
  font-size: 20px;
  font-family: 'balder';
  min-width: 180px;
  height: 45px;
  border: 1px solid #000;
  box-shadow: 2px 2px 0px rgba(0,0,0,1);
  line-height: 30px;
}

.block-txt-home{
  color:black;
  font-size:20px;
  font-weight:bold;
}
@media (max-width: 600px) {
  .block-txt-home{
    font-size:16px;
    font-weight:bold;
    font-weight: 200;
  }
}