*
{ 
   text-decoration: none;
   list-style: none;
   box-sizing: border-box; 
}

/*Polices personnalisées */
@font-face {
    font-family: 'Raleway-Medium';
    src: url(police/Raleway-Medium.ttf);
    font-display: auto;
}


  /* Début body*/

body
{
   
    font-family: 'Raleway-Medium';
}


/* Header*/

header
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 100px;
    margin-right: 100px;

}

#logo
{
    margin-right: auto;
    margin-left: 10px;
    margin-top: 5px;
}

#logo img
{
    width: 50%;
    height: 100%;
}


nav 
{
    list-style-type: none;
    display: flex;
}

nav a
{
    
    font-size: 12px;
    padding: 18px 18px 0 18px;
    color: black;
   
}

.active 
{
    color: #0065FC;
    border-top: 2px solid #0065FC;
}


.active2
{
    border-top: 2px solid #fffdfd00;
        
} 

nav a:hover
{
     color: #0065FC;
     border-top: 2px solid #0065FC;
        
}

main{
    margin-left: 100px;
    margin-right: 100px;
  }


/* Div vacances*/

.holidays p
{
    margin-top: -30px;
    font-size: 12px;
    
}


/* Form  rechercher*/
form{
    display: flex;
}

form .fas
{
    color: #080808;
    padding: 10.3px;
    background-color: #F2F2F2;
    border: #F2F2F2 1px solid;
    border-radius: 10px 0 0 10px;
    font-size: 11px;
  
}

form input
{
    padding: 8.3px;
    font-size: 12px;
    font-weight: bold;
    border: #F2F2F2 1px solid;
    margin-left: -3px;
    overflow: auto;
 }


 form input::placeholder
 {
     color: #080808;
 }



 form button
 {
    color: #F2F2F2;
    background-color: #0065FC ;
    border: #0065FC 1px solid;
    padding: 8px;
    border-radius: 0 10px 10px 0;
    position: relative;
    font-size: 12px;
    margin-left: -4px;
 }

 .fa.fa-search
 {
     display: none;
 }
 


/* Filtre*/
.filters_list 
{
   display: flex;
   flex-wrap: wrap;
   font-size: 12px;
   margin-bottom: 20px;
   margin-top: 20px;
}

.filters_title
{
    font-weight: bold;
    margin-right: 10px;
    margin-top: 18px;
    
 }


.filters-groupe 
{
    padding: 0px 15px 0 0;
    text-align: center;
    border: #F2F2F2 2px solid;
    border-radius: 25px;
    font-weight: bold;
    background-color: white;
    margin: 8px;
    
}

.filters-groupe:active
{
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, .6),
    inset 2px 2px 3px rgba(0, 0, 0, .6);

}

.filters-groupe:hover 
{
    background-color: rgb(193, 171, 223);
}

.filters-groupe a
{
    color: black;
}


.filters-groupe .fas 
{
    color: #0065FC;
    background-color:#DEEBFF;
    padding: 8px;
    border-radius: 50px;
    margin-right: 8px;
    margin-left: -2px;
    min-width: 28px;
    min-height: 28px;
}

.filters-groupe .fas:hover 
{
    background-color: rgb(111, 0, 255);
}
.news
{
    font-size: 12px;
    display: flex;
    
}

.news p
{
    margin-top: 5px;
    
}

.news .fas 
{
    width: 20px;
    height: 20px;
    padding: 4px 6px 2px 6px;
    border: 2px solid #F2F2F2;
    border-radius: 20px;
    color: #0065FC;
    margin-left: 10px;
    margin-right: 8px;
}



/*  Section Destinations */


.box_hebergements{
    background-color: #F2F2F2;
    width: 65%;
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 50px;
}

#box_hebergements_title
{
    margin-left: 25px;
    margin-bottom: -10px;
}

.block_contenaire{
  display: flex;
  justify-content: space-between;
  
}



.box_hebergements_cards
{ 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px; 
    margin: 0 10px 0 10px;
    animation: box_hebergements_cards 1000ms;

}

@keyframes box_hebergements_cards {

    0% {
        transform: scaleY(0.5);
    
    }
    
    100% {
        transform: scaleY(1.0);
    }
  }

.hebergements
{
    width: 30%;
    background-color: rgb(255, 255, 255);
    font-size: 9px;
    border-radius: 15px; 
    border: rgb(255, 255, 255) 3px solid; 
    box-shadow: 0px 2px 5px #a5a0a0;
    margin: 10px;
}

.hebergements:hover
{
    cursor: pointer;
    transform: scale(1.1);
    color: hsl(0, 2%, 82%);
}

.hebergements a
{
    color: rgb(16, 16, 17);
}

.hebergements img
{
    height: 120px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0px 0px;
    padding: 0 0 42px 0;
}

.hebergements .name
{
    font-weight: bold;
    font-size: 11px;
}


.card
{
    line-height: 7px;
    margin-top: -38px;
    margin-left: 5px;
    padding: 5px;
}

.card .fas{
    font-size: 9px;
    color: #0065FC;
}


.card .far{
    font-size: 9px;
    color: hsl(0, 2%, 82%);
    font-weight: 900;
}

.box_hebergements h5
{
    margin-left: 30px;
}




  /* Hebergement 2 */

.box_popular
{
    background-color: #F2F2F2;
    border-radius: 15px;
    width: 33%;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: 20px;
    margin-bottom: 50px;
}

#box_popular_title{
    display: flex;
    justify-content: space-between;
    margin-left: 11px;
    margin-right: 14px;
    margin-bottom: 12px;
    
}

.box_popular_cards
{
    position: relative;
    display: flex;
    flex-direction: column;
    
}

.popular_lodging{
    display: flex;
    height: 100px;
    font-size: 9px; 
    background-color: rgb(255, 255, 255);
    border: rgb(255, 255, 255) 3px solid; 
    border-radius: 15px;
    margin: 12px; 
    box-shadow: 0 2px 5px 0 #a5a0a0;
    padding: 0px
    
}

.popular_lodging:hover{
    cursor: pointer;
    transform: scale(1.1);
    color: hsl(0, 2%, 82%);
}


.popular_lodging img
{  
    height: 100%;
    width: 120px;
    object-fit: cover;
    padding: 0 35px 0 0;
    border-radius: 15px 0px 0px 15px;
}

.popular_lodging a{
    color: rgb(16, 16, 17);
} 

.popular_lodging .flottants{
    padding: 5px;
    margin-left: -30px;
  
}

.popular_lodging .second_name{
    margin-top: -10px;
    font-size: 11px;
    font-weight: bold;
   
}
.popular_lodging .name
{
    font-size: 11px;
    font-weight: bold;
}

.popular_lodging .price
{
    margin-top: -5px; 
}


.popular_lodging .fas
{
   margin-top: 20px;
   font-size: 9px;
   color: #0065FC;
}


.popular_lodging .far
{
   margin-top: 20px;
   font-size: 9px;
   color: hsl(0, 2%, 82%);
   font-weight: 900;
}



/* Activités à Marseille */
#activities_title
{
    margin-top: 10px;
    margin-bottom: -2px;  
}

.activities_list 
{
    display: flex;
    margin-bottom: 50px;
    width: 100%;  
}

  .activities 
{
    margin: 15px;
    font-size: 12px;
    width: 100%;
    
}

     .activities:hover
     {
    cursor: pointer;
    transform: scale(1.1);
     }

     .activities .a img
    {
     box-shadow: 0 2px 5px #a5a0a0;
     border-radius: 15px;
    }


    .activities img
    {
      object-fit: cover;
      height: 300px;
      width: 100%;
      padding: 0 0 42px 0; 
    }

    .activities p 
    {
       margin-left: 15px;
       margin-top: -30px;
       color: black;
       font-weight: bold;
    }


  .second_activities 
  {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-gap: 10px;
    margin: 15px;
    font-size: 12px;
    width: 100%; 
  }

  .second_activities .hotel:hover{
    cursor: pointer;
    transform: scale(1.1);
    }


  .second_activities .hotel img{
      border-radius: 15px;
      box-shadow: 0 2px 5px #a5a0a0; 
     }

     .second_activities .hotel p{
      margin-left: 15px;
       margin-top: -30px;
       color: black;
       font-weight: bold;
     }



.second_activities .auberge img{
    border-radius: 15px;
    box-shadow: 0 2px 5px #a5a0a0; 
}

.second_activities .auberge:hover{
    cursor: pointer;
    transform: scale(1.1);
}

.second_activities .auberge p{
     margin-left: 15px;
     margin-top: -30px;
     color: black;
     font-weight: bold;
   }

  .second_activities img{
    padding: 0 0 42px 0;
    
}

.second_activities .b img{
    object-fit: cover;
    height: 155px;
    width: 100%;
    
}
.second_activities .c img{
    object-fit: cover;
    height: 115px;
    width: 100%;
    
}

.second_activities .e img{
    object-fit: cover;
    height: 130px;
    width: 100%;
}

.second_activities .f img{
    object-fit: cover;
    height: 140px;
    width: 100%;
}


 


/* Footer */

footer {
    
    background-color: #F2F2F2;
    display: flex;
    margin-top: 50px;
}
 

footer .customer_services{
    display: flex;
    justify-content: space-evenly;
    padding: 30px 0;
    width: 100%;
    margin-left: -100px;
}


footer ul{

    list-style-type: none;
    font-size: 11px;
    margin-left: -40px;
    line-height: 20px;
   
   
}

footer a{

    text-decoration: none;
    color: rgb(16, 16, 17);
    

}

footer a:hover
{
     color: #0065FC;
     border-bottom: 2px solid #0065FC;
     
}

/* Responsive design */

@media screen and (max-width:1040px)
{
    header
    {
       margin-left: 25px;
       margin-right: 25px;
       justify-content: center;
    }
    


}

@media screen and (max-width:1040px)
{
    main{
        margin-left: 25px;
        margin-right: 25px;
    }
    
}

@media screen and (max-width: 1040px)
{
    .box_hebergements
    {
        width: 65%;
    }


    .hebergements
    {
        width: 29%;
    }
    
    .hebergements img{
        height: 130px;
        width: 100%;
        object-fit: cover;
    }

}

@media screen and (max-width: 1004px)
{
    .box_hebergements
    {
        width: 65%;
    }


    .hebergements
    {
        width: 29%;
    }
    
    .hebergements img{
        height: 130px;
        width: 100%;
        object-fit: cover;
    }

}

@media screen and (max-width:870px)
{
    header
    {
       margin-left: 25px;
       margin-right: 25px;
    }
  
}

@media screen and (max-width:870px)
{
    main{
        margin-left: auto;
        margin-right: auto;
    }
    .holidays{
        margin-left: 25px;
        margin-right: 25px;
        
    }

    form{
        margin-left: 25px;
        margin-right: 25px;
    }
    

    .filters_list{
        margin-left: 25px;
        margin-right: 25px;
    }
    

    .news{
        margin-left: 10px;
    }
}

@media screen and (max-width: 870px)
{
    .block_contenaire
    {
        flex-direction: column-reverse;
        
    }

    .box_hebergements{

         width: 100%;
     }
    


}
@media screen and (max-width: 870px)
{
    #box_popular_title
    {
        margin-right: 45px;
        margin-bottom: 5px;
        
    }

   
    .box_popular
    {
        
        border-radius: 15px;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: auto; 
    }

    .popular_lodging{
        padding-right: 8px;
    }

    .box_popular_cards
    {
       flex-direction: row; 
       margin-left: 10px;
       margin-right: 20px;
       margin-bottom: 20px;
       
    }
    
    .popular_lodging .flottants{
        white-space: nowrap;
    }

 }


@media screen and (max-width: 870px)
{

   .second_activities 
    {
      justify-content: flex-start;
    }
 

    .second_activities .hotel
    {
      margin-bottom: 22px;
    }

    .second_activities .auberge
    {
      margin-bottom: 20px;
    }
}

@media screen and (max-width: 870px)
{
    footer .customer_services{
        margin-left: -69px;
    }
  
}


@media screen and (max-width:716px)
{
    header
    {
        margin-left: auto;
        margin-right: auto;
        padding-right: 2px;
        overflow: hidden;
      
    }


    #logo 
    {
        order: -1;
        margin: 0;
        padding: 20px;
        margin-left: 30px;
    }


    #logo img
    {
       width: 100px;
       height: auto;
      
    }

    
    nav 
    {
      flex-basis: 100%;
    }



    nav  a
    { 
      padding-bottom: 10px;
      flex-basis: 50%;
      text-align: center;
      
    }


     nav  a:hover
    {
     color: #0065FC;
     border-bottom: 3px solid #0065FC;
     border-top: none;

        
    }
   
    .active 
    {
      color: #0065FC;
      border-bottom: 3px solid #0065FC;
      border-top: none;
      font-size: initial;
     
    }


    .active2
    {
        border-bottom: 3px solid #F2F2F2;
        font-size: initial;
        border-top: 0;
        
    } 
}


@media screen and (max-width: 716px)
{
    main{
        overflow: hidden;
        margin: 0;
    }



    .holidays {
        width: 78%;
        margin-left: 26px;
        font-size: 140%;
    }

    .holidays p{
        font-size: 70%;
    }

    form 
    {
        margin-top: 30px;
        margin-left: 25px;
        margin-right: 50px;
        
    }

     form button
    {
       border-radius: 15px;
       padding: 15px;
    }

    form .search_text
    {
        display: none;
    }
    
    .fa.fa-search
    {
        display: inline;
        font-size: medium;
    }
    form .fas
    {
       font-size: initial;
       padding: 15px;
       border-radius: 15px 0 0 15px;
        
    }

    form input
    {
       
        font-size: medium;
        padding-left: 20px;
        margin-left: 0px;
    }
   

     form input::placeholder
    {
        color: #080808;  
        
    }
   
}



@media screen and (max-width: 716px)
{
    .filters_list
    {    
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        font-size: initial;
        margin-left: 0px;
        margin-right: 0px;
    }


    .filters_title
    {
        margin-left: 10px;
        margin-top: 10px;
    }
    
    .filters_famillial{
       display: flex;
       white-space: nowrap;
       
    }
   
    .filters-groupe .fas 
    {
    
    padding: 12px;
    }
    
}

@media screen and (max-width: 716px)
{
    .news 
    {
        margin-left: 12px;
        margin-right: 12px;
         
    }
    
    .news .fas 
    {
        margin-top: 5px;
    }
    .news p
    {
        font-size: medium;
    }
    
}





@media screen and (max-width: 716px)
{
    .block_contenaire
    {
        flex-direction: column-reverse;
        
    }
    
}

@media screen and (max-width: 716px)
{
    #box_hebergements_title
     {
        margin-left: 15px;
        margin-bottom: -10px;
     }

    .box_hebergements{

        background-color: white;
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        margin-top: 0; 
        margin-bottom: 5px; 
    }
    
    .box_hebergements_cards{
        flex-direction: column;
        padding: 15px;
        margin: 0;
        
    }

    .hebergements{
        width: 100%;
        margin: 0;
        margin-bottom: 14px;
    }

    
    .hebergements img{
        height: 150px;
        width: 100%;
        object-fit: cover;
    }

    .box_hebergements h5
    {
        margin-top: 0;
        margin-left: 8px;
    }
}


@media screen and (max-width: 716px)
{
    #box_popular_title
    {
        padding-top: 25px; 
        display: flex;
        margin-left: 10px;
        margin-right: 15px;
        
    }

    .box_popular
    {
        
        border-radius: 0px;
        padding-left: 0px;
        padding-right: 10px;
        padding-left: 10px;
        padding-bottom: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: auto; 
    }

    .box_popular_cards
    {
      flex-direction: column;
      margin: 0;
      margin-bottom: 10px;
    }

    .popular_lodging{
        height: 120px;
        margin-bottom: 5px;
    }

    .popular_lodging img
    {  
    height: 100%;
    width: 140px;
    object-fit: cover;
    padding: 0 35px 0 0;
    border-radius: 15px 0px 0px 15px;
    }

    .popular_lodging .flottants{
        padding: 10px;
        margin-left: -25px;
      
    }

    .popular_lodging .fas
    {
        margin-top: 32px;

    }

 }

@media screen and (max-width: 716px)
{
    #activities_title
    {
        margin-left: 20px;
        margin-bottom: -2px;  
    }

    .activities_list
    {
        flex-direction: column;
        padding: 23px;
        margin-bottom: 0;
    }
    
    .second_activities{
        flex-direction: column;
        margin: 0px;
        margin-bottom: 25px;
    }

    .activities{
        margin: 0px;
        margin-bottom: 25px;
    }
    .activities img
    {
        height: 160px;
        width: 100%;
        
    }

    .second_activities .b img{
        object-fit: cover;
        height: 160px;
        width: 100%;
        
    }
    .second_activities .c img{
        object-fit: cover;
        height: 150px;
        width: 100%;
        
    }
    
    .second_activities .e img{
        object-fit: cover;
        height: 160px;
        width: 100%;
    }
    
    .second_activities .f img{
        object-fit: cover;
        height: 160px;
        width: 100%;
    }
    
    .second_activities .b
    {
       margin-bottom: 25px; 
    }

    .second_activities .e
    {
       margin-bottom: 25px; 
    }

    .second_activities .f
    {
       margin-bottom: 25px; 
    }
}


@media screen and (max-width: 716px)
{

    footer .customer_services{
        flex-direction: column;
        padding: 23px;
        margin-top: 0; 
        margin-left: 10px; 
    
    }

    footer ul
    {
        line-height: 25px;
    }  

    #a_propos
    {
        margin-top: 25px;
        
    }

    
    #nos_hebergements
    {
        margin-top: 25px;
        
    }

    #assistance
    {
        margin-top: 25px;
        
    }
}

