body, html{
  margin: 0 !important;
  padding: 0 !important;
}

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

.carousel-item{
    max-height: 500px;
}
.carousel-caption{
    width: 45%;
    left: 0 !important;
    bottom: 0 !important;
    top: 30% !important;
    text-align: left !important;
    padding-left: 20px;
}

.carousel-caption p{
  padding-top: 20px; font-size: 40px !important; font-weight: bold;
}

.carousel-indicators{
  position: absolute;
  width: 6%;
  right: 0 !important; top: 40% !important; bottom: 0 !important; left: 79% !important;
  text-align: right;
  display: block !important;
  color: white;
}
.carousel-indicators li{
  font-size: 18px; font-weight: 200;
  margin-bottom: 20px !important;
}

@media only screen and (max-width: 630px) {
  .carousel-indicators{
    left: 75% !important;
    top: 30% !important;
  }
  .carousel-indicators li{
    font-size: 14px;
    margin-bottom: 10px !important;
  }

}

@media only screen and (max-width: 940px){
  .carousel-caption{
    width: 70% !important;
    top: 6% !important;
  }
  .carousel-caption p{
    font-size: 20px !important;
  }

}


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

/*******************************************************/
/* pour la page photo , 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;
}
/***********************************/

a:focus,
button:focus,
input:focus,
textarea:focus {
outline: none !important;
}

.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;
}


.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;
}
.myWords{font-weight: bolder; font-size: 18px; color: #01182f !important;}
.myWords:hover{color: #00182d;}
.nav-item{margin-right: 15px;}
.no_un:hover{text-decoration: none !important;}
.firstnav{font-style: italic; font-size: 12px;}

/* **************** */
.footer {
  background-color: rgb(21, 24, 33);
  /* line-height: 20px; */
  border-top: 1px solid #DDDDDD;
  margin-top: 20px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7) !important;
  padding-top: 40px;
}
.footer nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 200;
}
.footer a{
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 100;
}

/* **************Separator******************* */
.separator {
  color: rgb(21, 24, 33);
  margin: 0 auto 20px;
  max-width: 240px;
  text-align: center;
  position: relative;
}
.separator:before, .separator:after {
  display: block;
  width: 40%;
  content: " ";
  margin-top: 10px;
  border: 1px solid rgb(21, 24, 33);
}
.separator:before {
  float: left;
}
.separator:after {
  float: right;
}

/* ***************** */
p.description {
  font-size: 18px;
  color: #222222;
  text-align: justify !important;
}

.mcard{
  position: relative;
  background: white;
  /* border-top: 2px solid gray; */
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2), 4px 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 30px;
  transition: all 0.3s ease-in-out;
}
.mcard .crder{
  margin-top: -15px !important;
  position: absolute;
  width: 96%;
  left: 2%;
}
.mcard .card-content{
  margin-top: 130px;
}

.mcard .card-footer{
  border-top: none;
  font-size: 12px;
}
.mcard .stats{
  border-top: 1px solid gray;
  margin-top: -11px; padding-top: 15px;
}

.mcard:hover{
  margin-top: -20px;
}

.headim{
  background-image: url('../img/cov.jpg');
  background-position: top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  color: #01182f;
  max-width: 100%;
  min-height: 150px; max-height: 180px;
  height: auto;
  padding: 60px 0;
}

@keyframes myanim {
  0% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
  }
}

.myanimgo{
  animation: 12s ease myanim;
}

/* **************************loadMore******************** */
div.loadMe {
    display:none;
}

#loadMore {
    padding: 10px;
    text-align: center;
    background-color: #33739E;
    color: #fff;
    border-width: 0 1px 1px 0;
    border-style: solid;
    border-color: #fff;
    box-shadow: 0 1px 1px #ccc;
    transition: all 600ms ease-in-out;
    -webkit-transition: all 600ms ease-in-out;
    -moz-transition: all 600ms ease-in-out;
    -o-transition: all 600ms ease-in-out;
}
#loadMore:hover {
    background-color: #fff;
    color: #33739E;
}

.ycard{
  position: relative;
  background: white;
  /* border-top: 2px solid gray; */
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2), 2px 4px 4px 2px rgba(0, 0, 0, 0.19);
  margin-bottom: 30px;
  border-top-left-radius: 5px; border-top-right-radius: 5px;
}

.pcard{
  position: relative;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2), 2px 2px 2px 2px rgba(0, 0, 0, 0.19);
  margin-bottom: 20px;
  border-top-left-radius: 5px; border-top-right-radius: 5px;
  max-width: 100%; height: auto; min-height: 200px;
  background-position: center; background-size: cover;
}
.icard{
  /* position: relative; */
  background: white;
  /* border-top: 2px solid gray; */
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2), 2px 2px 2px 2px rgba(0, 0, 0, 0.19);
  margin-bottom: 30px;
  border-top-left-radius: 5px; border-top-right-radius: 5px;
}

/* *****************flip*************** */
.flip-card {
  position: relative;
  background-color: transparent;
  max-width: 100%;
  height: auto;
  min-height: 200px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #2980b9 !important;
  color: black;
  transform: rotateY(180deg);
}

@media only screen and (max-width: 830px) {
  .flip-card-front img{
    max-height: 200px;
  }
}

*:focus{
  outline: none !important;
}
