/* Make the image fully responsive */
.carousel-inner img {
    width: 100%;
    height: 120% !important;
    vertical-align: bottom;
    background-size: contain;
    background-position: bottom !important;
}

.carousel-item{
    max-height: 100vh;
}
.carousel-caption{
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    left: 0 !important;
    bottom: 0 !important;
    font-family: 'Helvetica, Arial, Verdana, sans-serif' !important;
    text-shadow: 3px 3px 4px #545454 !important;
    font-size: 4.5em !important;
    line-height: 4.5rem !important;
    text-align: left !important;
    font-weight: bolder;
}

.carousel-caption p{
  width: 60%;
  position: absolute;
  color: #fff !important;
  display: block;
  letter-spacing: -0.4px !important;
  padding-left: 20px;
  padding-top: 60px !important;
  bottom: 10px;
  padding-bottom: 10px !important;
}

.carousel-caption a{
  text-shadow: none !important;
}
@media only screen and (max-width: 870px){
  .carousel-caption p{
    width: 80% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 30px !important;
    line-height: 1em !important;
    bottom: 30px;
  }
  .carousel-caption{
    padding-top: 5px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

}

.float-b{
    position:absolute;
    width:60px;
    height:60px;
    bottom:-30px;
    right:25px;
    background-color:rgb(235, 235, 235);
    color: black;
    border-radius:50px;
    text-align:center;
    /*box-shadow: 2px 2px 3px rgb(216, 154, 64);*/
    z-index: 999;
}
.float-b:hover{
    color: rgb(234, 130, 12) !important;
}

@media only screen and (max-width: 770px) {
  .float-b{
    position:absolute;
    width:40px;
    height:40px;
    bottom:-20px;
    right:20px;
    background-color:rgb(235, 235, 235);
    color: black;
    border-radius:50px;
    text-align:center;
    /*box-shadow: 2px 2px 3px rgb(216, 154, 64);*/
    z-index: 999;
  }
}

.my-float{
    margin-top:13px;
}
.col-md-4 .bg-gray{
    background-color: rgb(235, 235, 235);
    width: 100%; height: auto;
    margin-left: auto !important; margin-right: auto !important; margin-bottom: 30px;
    text-align: left; padding: 20px;
    min-height: 350px !important;
}
.bg-gray h2, .my-h2{
    color: black;
    font-weight: bold;
    font-size: 26px;
}
.bg-gray hr{
    clear: both;
    border-bottom: 2px solid rgb(234, 130, 12);
}
.bg-gray .btn{
    color: rgb(234, 130, 12);
    font-weight: bolder;
}
.bg-gray .mya{
  color: rgb(234, 130, 12);
  font-weight: bolder;
}

.bg-gray .mya:hover{
  text-decoration: none;
}

.bg-gray .atit{
  text-decoration: none;
  color: black;
}
.bg-gray .atit:hover{
  text-decoration: none;
  color: black;
}

.bg-gray1{
    width: 100%; height: auto;
    text-align: center;
    min-height: 350px !important;
    margin-bottom: 30px;
}
.bg-gray1 img{
  width: fit-content;
  max-width: 100% !important;
  min-height: 350px !important;
  border-bottom-left-radius: 25%;
  border-bottom: solid gray 0.2px;
}

.privitanie{
    margin-top: 30px;
    padding: 40px !important;
    max-width: 100%; background-color: rgb(235, 235, 235);
}

.my-img{
    width: 180px !important; height: 180px !important;
    margin-top: 50px;
}
.align-img{
    margin-top: 20%;
}

/************************************************/
.img{
    transition: .5s ease;
    max-width: 100%;
    max-height: 100%;
    width: 100% !important;
    object-fit: contain;
}

.mycol .center {
    position: absolute;
    top: 45%;
    width: 100%;
    text-align: center;
    font-size: 28px;
    color: white;
    font-weight: bolder;
    opacity: 1;
}
.mycol .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(0, 0, 0, 0.7);
    /*background-color: rgba(162, 84, 5, 0.5);*/
}
.mycol .overlay-dark{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 1;
    transition: .5s ease;
    background-color: rgba(0, 0, 0, 0.5);
}
.mycol .text {
    color: white;
    font-size: 20px;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.mycol .col-md-4{
    cursor: pointer;
}
.mycol .col-md-4:hover .img{
    opacity: 0.6;
}
.mycol .col-md-4:hover .center{
    opacity: 0;
}
.mycol .col-md-4:hover .overlay{
    opacity: 1;
}
.mycol .col-md-4:hover .overlay-dark{
    /* opacity: 0; */
    background-color: rgba(224, 110, 12, 0.3) !important;
}
/********************************************************/

.col-img img{
    max-width: 80%;
}
.dropdown:hover>.dropdown-menu {
    display: block;
}

/*******************************************************/
/* pour la page fotogaleria, on droit ajouter le truc grid auto */
.fimg{
    max-width: 85%;
    margin: auto;
    overflow: hidden;
    /*border-radius: 7px;*/
    height: 190px;
}

.fimg > img{
    width: 100%;
    height: 100%;
    /*border-radius: 7px;*/
    transition: all 1.5s linear;
}
.fimg > img:hover{
    transform: scale(1.1);
    /*border-radius: 7px;*/
    cursor: pointer;
}
.fotowrap{
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    justify-content: center;
    color: rgba(0,0,0,0.7);
    text-align: center;
}
.fotowrap .itmfo{
    /* display: grid; */
    /* border: 0.2px solid gray; */
    justify-content: center;
    padding: 20px 0;
}
.itmfo p{
    font-size: 22px;
}
figure{
    position: relative;
}
figure figcaption{
    background-color: rgba(0,0,0,0.5);
    color: white;
    position: absolute;
    top: 71%;
    height: 20%;
    width: 85%;
    opacity: 0.96;
    /*border-bottom-left-radius: 7px;*/
    /*border-bottom-right-radius: 7px;*/
    padding-top: 15px;
}
figure span{
    background-color: rgba(0,0,0,0.5);
    color: white;
    position: absolute;
    bottom: 8%;
    height: 8%;
    width: 85%;
    left: 7.6%;
    /*border-radius: 7px;*/
    padding-top: 15px;
    z-index: 1;
    padding-top: 40px;
    opacity: 0;
    transition: all 0.2s linear;
}
figure span:hover {
    opacity: 0;
    cursor: pointer;
}
/***********************************/
.mybigbutton{
    width: auto;
    height: auto;
    padding: 40px;
    border-radius: 50%;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid rgb(234, 130, 12);
    background-color: white;
    color: rgb(234, 130, 12);
    font-weight: bolder;
    font-size: 40px;
    transition: All 0.3s ease-in-out;
}
.mybigbutton:hover{
    background-color: rgb(234, 130, 12);
    color: white;
}
.mybigbutton:focus{
  outline: none !important;
}
a:focus,
button:focus,
input:focus,
textarea:focus {
outline: none;
}

.row a{
  /* color: rgb(234, 130, 12) !important; */
  text-decoration: none !important;
}
.row a:hover{
  text-decoration: none !important;
}
.mya a{
  color: rgb(234, 130, 12) !important; text-decoration: none !important;
}
.mya a:hover{
  text-decoration: none !important;
}
.card-2{
  box-shadow: 0 0 7px 0 rgba(100, 100, 100, 0.26);
  padding-top: 20px; padding-bottom: 15px;
}

table td{
  vertical-align: middle !important;
}

.my-img_cont{
  width: 152px !important; height: 152px !important;
  display: flex; margin-left: auto; margin-right: auto; overflow:hidden; position: relative;
  border-radius: 50%;
}
.my-img_cont img{
  min-width: 100% !important; position: absolute;

  overflow: hidden;
  -ms-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
.my-img-uc{
    width: 100% !important; height: auto !important;
    margin: auto;
    transition: all .6s linear;
}
.my-img-uc:hover{
    /* width: 160px !important; height: 160px !important; */
    margin: auto;
    overflow: hidden;
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
.newmya a{
  margin-bottom: 10px !important;
}

.mybtn{
    border-radius: 5px;
    border: 1px solid rgb(234, 130, 12);
    color: black;
    background-color: rgb(234, 130, 12);
    padding: 8px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.mybtn:hover{
    background-color: white; color: rgb(234, 130, 12); text-decoration: none;
}

/* ****************************EduPoint***************************** */
.edupoint{
  background: url('../images/bp1.png');
  min-height: 400px;
  height: auto !important;
  background-size: cover;
  padding: 0 !important;
  /* position: relative; */
  color: white;
}
.edupoint .edup{
  background-color: rgba(234, 130, 12, 0.65);
  width: 100%; height: auto;
  /* position: absolute; */
  margin: 0 !important;
  padding-top: 40px;  padding-bottom: 30px !important;
  margin-left: 0 !important;
}
.edubutton{
    width: 250px; max-width: 90%;
    height: 250px;
    padding: 40px;
    margin-bottom: 10px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid rgb(208, 208, 208);
    background-color: rgb(208, 208, 208);
    color: white;
    font-size: 20px;
    transition: All 0.3s ease-in-out;
}
.edubutton:hover{
    background-color: rgb(208, 208, 208);
    color: white;
}
.edubutton img{
  width: 90%; height: auto;
}
.edubutton:focus{
  outline: none !important;
}

.educard{
  min-height: 200px;
  position: relative;
  margin-bottom: 30px;
  cursor: pointer;
}

.educard .educardtext{
  width: 100%;
  height: 60%;
  bottom: 0;
  background-color: rgb(208, 208, 208);
  padding: 8px;
  position: absolute;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.phide{
  display: none;
  transition: all 2.8s ease-in-out;
}
.educard .educardtext:hover{
  height: 100%;
}
.educardtext:hover .phide{
  display: block;
}

.educardtext p{
  font-weight: 200;
}

.educardimg{
  height: 100px;
  position: relative;
}
