@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");

:root{
    --blue:#1CA7EC;
    --blue2:#4ADEDE;
    --orange:#FF8357;
    --black:#354046;
}

*{
    font-family: 'Roboto', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    /* text-transform: capitalize; */
    font-weight: 400;
    transition: all .2s linear;
}

*::selection{
    background:var(--black);
    color: #fff;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.heading{
    text-align: center;
    font-size: 4rem;
    padding: 1rem;
    /* padding-top: 8rem; */
    color: var(--black);
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 2rem 1rem;
    z-index: 3;
}



header .container-fluid button{
    border-radius: 5px;
}

.form-control{
    border-radius: 8px !important;
}

.form-select{
    border-radius: 8px !important;
}

select.form-control:not([size]):not([multiple]) {
    height: auto!important;
  }
header .container-fluid .nav .dropdown .dropdown-content {
    border-radius: 10px;
    margin-top: 1.6rem;
    margin-left: 1rem;
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 230px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  header .container-fluid .nav .dropdown .dropdown-content a {
    border-radius: 10px;
    font-size: 16px;
    color: var(--black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  header .container-fluid .nav .dropdown:hover .dropdown-content {display: block;}

  header .container-fluid .nav .dropdown .dropdown-content a:hover {
    border-radius: 10px;
      background-color: var(--blue);
    color: white;
}



.header-active{
    background-color: #fff;
    box-shadow: 0 .1rem .3rem rgba(0, 0, 0, .3);
    padding: .5rem 1rem;
}

header .container-fluid{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a{
    color: var(--black);
}

header .container-fluid .nav  .under:hover::before{
    transform: scaleX(1);
    transform-origin: left;
}

header .container-fluid .logo{
    font-size: 3rem;

}

header .container-fluid .logo span{
    color: var(--blue);

}

.importantRule{
    color: var(--black);
}

header .nav ul{
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

header .nav ul li{
    margin: 0 1rem;
}

header .nav ul li a{
    font-size: 1.7rem;
}

header .fa-bars{
    font-size: 3.5rem;
    color: var(--blue);
    cursor: pointer;
    display: none;
}

header .fa-times{
    transform: rotate(180deg);
}

#acceuilimg{
    margin-top: 7rem;
}


.acceuil .content h1{
    justify-content: center;
    font-size: 2.6rem;
    color: var(--blue);
}



.canva{
    background-color: var(--blue);
    height: 100vh;
    width: 60%;
    border-radius: 140% 0% 0% 50% / 120% 100% 100% 80% ;
    position: absolute;
    top: 0;
    right: 0;
}

.robot{
    z-index: 1;
    margin-left:-5rem 
}
/* .search-box{
} */
/* .search-sec{
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 5rem;
} */


.gauche{
    margin-top:20vh;
    padding-right: 10rem;
}


.button_acc {
    margin-top: 20vh;
    display: inline-block;
    background: var(--blue);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0px 17px 10px -10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    -webkit-transition: all ease-in-out 300ms;
    transition: all ease-in-out 300ms;
  }
  .button_acc:hover {
    box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translate(0px, -10px) scale(1.0);
            transform: translate(0px, -10px) scale(1.0);
  }
.search-sec input{
    font-size: 15px;
    height: auto;
}

.search-sec select{
    font-size: 15px;
}


.search-doc input{
    font-size: 15px;
    height: auto;
}

.search-doc select{
    font-size: 15px;
}
.search-slt{
    margin: 1rem;
    display: block;
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #55595c;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    height: calc(3rem + 2px) !important;
    border-radius:5px;
}

input {
    font-family: 'Nunito', sans-serif;
  }
  
  /*the container must be positioned relative:*/
  .autocomplete {
    position: relative;
    font-size: 18px;
    /* display: inline-block; */
  }
  
  input {
    border: 1px solid transparent;
    border-radius: 3px;
    background-color: #f1f1f1;
    padding: 15px;
    font-size: 20px;
  }
  

  
  input:focus {
    outline: none !important;
    /*box-shadow: 0 1px 6px rgba(32,33,36,0.28);*/
  }
  
  .autocomplete-items {
      text-align: start;
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 110%;
    left: 0;
    right: 0;
  }
  
  .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    /*border-bottom: 1px solid #d4d4d4; */
  }
  
  /*when hovering an item:*/
  .autocomplete-items div:hover {
    background-color: #e9e9e9; 
  }
  
  /*when navigating through the items using the arrow keys:*/
  .autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
  }



.wrn-btn{
    margin: 1rem 0;
    height: 3.5rem;
    width: 100%;
    font-size: 1.7rem;
    text-transform: capitalize;
    cursor: pointer;
    color:#fff;
    border-radius:.5rem;
    background-color: var(--blue);
    position: relative;
    z-index: 0;
    overflow: hidden;
}


.wrn-btn::before{
    content: '';
    position: absolute;
    top: -100%; left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--orange);
    z-index: -1;
    transition: .2s linear;
}
.wrn-btn:hover:before{
    top: 0%;
}

.Apropos{
    background: #eee;
}
/* .Apropos .heading{
    padding-top: 5rem;
    padding-bottom: 5rem;
} */

.Apropos .content .row{
    margin: 4rem 0;
}

.Apropos .content .row p{
    justify-content: start;
    font-size: 1.7rem;
    padding-left: 6rem;
    color: #666;

}


.Spécialités{
    background: rgb(228, 227, 227);
    background-image: url(../images/cover.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: fill;
    min-height: 110vh;
    /* padding-bottom: 10rem; */
}

.Spécialités .heading{
    /* padding-bottom: 5rem; */

}

.Spécialités .box-container{
    padding-left: 8rem;
    padding-right: 8rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 3rem;
}

.Spécialités .box-container .box{
    border-radius: 10px;
    height: 20rem;
    width: 30rem;
    margin: .3rem;
    overflow: hidden;
}

.Spécialités .box-container .box img{
    border-radius: 10px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.Spécialités .box-container .box:hover img{
    transform: scale(1.3);
    opacity: 0.3;
}

.Spécialités .box-container .box .overlay {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height:0;
    transition: .5s ease;
  }
.Spécialités .box-container .box:hover .overlay {
    bottom: 0;
    height: 100%;
  }  

  .Spécialités .box-container .box .text {
    color:var(--black);
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .footer{
      /* margin-top: 3rem; */
      padding-top: 3rem;
      background-color: var(--black);
  }

  .footer p{
      font-size: 1.5rem;
      color: #eee;
      padding: 1rem 0;
  }

  .footer .col-md-4:nth-child(1) a{
      font-size: 3rem;
      color: #fff;
  }

  .footer .col-md-4:nth-child(1) a span{
      color: var(--blue);
    }

  .footer a{
      font-size: 2rem;
      color: #ccc;
      display: block;
  }
  .footer ul{
    font-size: 2rem;
    color: #ccc;
    /* display: block; */
    text-decoration: none;
    list-style: none;

}

  .footer h3{
      color: #fff;
      font-size: 3rem;
  }


  .footer a:hover{
      color: var(--blue);
  }

  .footer .container{
      margin-bottom: 3rem;
  }
  .footer .credit{
      color: #fff;
      width: 100%;
      padding: 2rem 0;
      margin: 0;
      padding: 1rem 0;
      padding-bottom: 2rem;
      border-top: .1rem solid #ccc !important;
  }
  
  .footer .credit span{
      color: var(--blue);
  }

  #btn_lang:hover{
    background-color: white;
    color: black;
}

#btn_lang:hover{
    background-color: rgb(122, 113, 113);
}




::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}
::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb
{
	background-color: var(--blue);
	
}

/* media queries */
@media (max-width:1240px){
#ap{
    color: whitesmoke !important;
    background-color: transparent;
    border-radius: 24px;
    padding: 4px 6px 4px 6px;
}

}



@media (max-width:992px){
    html{
        font-size: 60%;
    }


}
@media (max-width:1300px){
    #ap{
        color: var(--blue) !important;
        background-color: white !important;
        border-radius: 24px;
    padding: 4px 6px 4px 6px;

    }

}




@media (max-width:1024px){
    .canva{
        width: 100%;

    }
    #ap{
        color: #f8f9fa!important;
        background-color: transparent !important;
    }

    .connect{
        display: inline;
    }

    #connectt{
        display: none;
    }
    .robot img{
        width: 130%;
        -moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        margin-left: 45%;
    }

   

    .gauche{
        display: none;
    }
}
@media (min-width:768px){
    .head_mob{
        margin-left:8rem; 
        z-index:2 !important;
    }
}
@media (max-width:768px){
    html{
        font-size: 55%;
    }
    .canva{
        background-color: white!important;
    }
    .robot{
        margin: 0 !important;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .robot img{
        padding-top: 5vh;
        margin: auto;
        width: 25%;
    }

    .slogan{
        font-size: 3rem !important;
        color: var(--black) !important;
    }


    .Spécialités .box-container .box{
        border-radius: 10px;
        height: 40vh;
        width: 70vw;
        margin: .3rem;
        overflow: hidden;
    }

    .login img{
        width: 80% !important;
    }
    
    .search-sec{
    box-shadow:  none !important;
   
}
.heading{
    padding-top:5vh;
    font-size: 3rem;
    
}

}

@media (max-width:660px){
    .acceuil , .canva{
        min-height: -webkit-fill-available !important;
    }
 .robot img{
        width: 100%;
        height: 45vh;
    }
}
