/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 1 avr. 2021, 11:05:12
    Author     : kola
*/


.body4 { 
    position: fixed; right: 0; bottom: 0; left:0;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto; z-index: -100;
    background: url(../img/migrant.jpg) no-repeat;
    background-size: cover;
}


body, select, textarea {
    font-weight: normal;
    line-height: 1.5em;
    letter-spacing: -0.015em;
    width: 100%;
    margin: 0;
    padding: 0;
}

.body_all{
    padding:50px 20%;
}
*, ::before, ::after {
    box-sizing: inherit;
}

p {
    font-family: sans-serif;
    text-align: left;
    font-size:17px;
    line-height: 1.8em;
}

.service .service_texte > :last-child {
    margin-bottom: 0;
}

.service_texte > :last-child {
    margin-bottom: 0;
}

.bande_menu{
    display: flex;
    background: white;
    justify-content: space-between;
}

.bande_entete{
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    z-index: 9;
    background:gray;
    color:white;
}

.fab{
    margin-left: 30px;
    font-size: 20px;
}

a { color: inherit; } 

a:link{
    text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

button a:link{
    text-decoration: none;
}
.container{
    display: flex;
    flex-direction: column;
    min-width: 300px;
}
.topnav {
  display: flex;
  justify-content: flex-end;
  z-index: 9;
  overflow: hidden;
  height: 180px;
  align-items: center;
}

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
    margin: auto;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
    background-color: #951711;
    color: white;
    font-weight: bold;
}

.logo_anakadroits .icon {
  display: none;
}.logo_anakadroits2{
    background: whitesmoke;
}

.menu_anakadroits, .logo_anakadroits{
    display: flex;
    margin: auto 0;
}

.logo_anakadroits{
    display: flex;
    justify-content: flex-start;
    width: 150px;
    height: 100px;
    align-items: center;
    padding-left: 0.5%;
}

.logo_anakadroits img{
    display: flex;
    /* height: 90%; */
    align-items: center;
}

.logo_anakadroits a:hover{
    background-color: white;
}


.accueil_message{
    display: flex;
    flex-direction: column;
    background: whitesmoke;
    color:#4c4847;
    padding: 5% 30%;
}


.message h3{
    line-height: 1.3em;
    font-family: "Times New Roman", Times, serif;
}
.button{
    padding: 10px;
    width:100px;
    color:white;
    font-weight: bold;
    background-color: #951711;
    border: none;
    border-radius: 10px;
}




.image_slider{
    /*
    max-height: 450px;
    */
    z-index: 9;
}

.image_slider img{
    max-height: 600px;
}


.groupe_presentation{
    margin: 2% 15%;
}

.groupe_partenaire{
    padding: 5% 0;
}
.logo_partenaire {
    display: flex;
    justify-content: center;
    padding:0px 15% 10px 15%;  
}

.logo{
    display:flex;
    margin: auto;
    width: 145px;
    height: 100px;
    
}

.logo img{
    margin:auto;
    width: 100%;
    height: 100%;
}
.body1{
    z-index: 9;
    /*
    display: flex;
    flex-direction: column;
    background: linear-gradient(#147cc0,rgba(255,255,255,0.5));
    padding:50px 20px 120px 20px;
    */
    display:flex;
    flex-direction: column;
    background: #4c4847; 
    border-bottom: solid 2px #eeeeee;
    color: white;
    padding-bottom:50px;
}

.titre_service {
    padding: 20px auto;
    padding-bottom: 5px;
    border-bottom: 4px solid #147cc0;
    /*
    line-height: 48px;
    */
    margin:auto;
    text-align: center;
}

.titre_service_2 {
    padding: 20px auto;
    padding-bottom: 5px;
    border-bottom: 4px solid #cf5e58;
    /*
    line-height: 48px;
    */
    margin:auto;
    text-align: center;
    margin-bottom: 30px;
}


.groupe_services{
    margin-left: auto;
    margin-right: auto;
    padding: 5% 0;
    /*
    width: 70em;
    background: rgba(255, 255, 255, 1);
    */
}

.body1 > .groupe_services > :first-child {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.body1 > .groupe_services > * {
    /*border-top: solid 2px #eeeeee;*/
    margin-bottom: 0;
    /* margin-top: 3em; */
    padding-top: 3em;
}

.groupe_services ul{
    list-style: square;
    margin: 0;
    margin-bottom: 10px;
}

.service{
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    margin: 0 0 2em 0;
    margin-top: 0px;
    margin-bottom: 2em;
}

.service .service_image{
    width: 150px;
    margin: 0 3em 0 0;
    display: block;
}

.service_image {
    border-radius: 6px;
    border: 0;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.service .service_image img {
    display: block;
    width: 100%;
}

.service_image img {
    display: block;
    width: 100%;
}

.service_texte {
    width: 70%;
}

h3 {
    font-size: 1.5em;
    line-height: 1.5em;    
}

h2 {
    font-weight: bold;
    color: #cf5e58;
}

h1, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 1em;
    margin: 0 0 1em 0;
    letter-spacing: -0.0125em;
    text-align: left;
}
                


.body2{
    display: flex;
    flex-direction: column;
    z-index: 9;
    background: #4c4847;
    color:white;
}

.body5{
    display: flex;
    flex-direction: column;
    z-index: 9;
    background: white;
    padding: 5%;
}

.duo_titre{
    display: flex;
    justify-content: space-between; 
    padding: 50px 0;
}
.duo{
    display: flex;
}
.image_service{
    display: flex;
    position: relative;
    width:100%;
    flex-basis: 400px;
    flex-grow: 2;
    margin: 5px;
}

.image_service img{
    margin: auto;
    width: 100%;
    height: 100%;
}

.legende_image{
    display: flex;
    margin: auto;
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    bottom:0;
    width:100%;
    padding: 5px 0 5px 0;
}

.legende_image b{
    margin: auto;
    font-size: 22px;
    font-weight: bold;
}

.body3 {
    /*
    display: flex;
    background-color: rgba(255,255,0, 0.5);
    */
    height: 400px;
}

video#bgvid {
  position: fixed; right: 0; bottom: 0; left:0;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto; z-index: -100;
  background: url(../img/image_menage.jpg) no-repeat;
  background-size: cover;
}


.body6{
    display: flex;
    flex-direction: column;
    color: #4c4847;
    background-color: whitesmoke;
}

.footer{
    background:gray;
    z-index: 9;
    color:white;
}
.duo_footer{
    display:flex;
    justify-content: space-between;
    flex-basis: 200px;
    padding:50px 100px 50px 100px;
    z-index: 9;
    color: white;
    font-weight: bold;
    font-size: .8em;
    line-height: 20px;
}

.footer_elt ul{
    list-style: none;
    padding:0;
    margin: 0;
}

.footer_elt {
    margin-bottom: 20px;
    color: white;
    text-align: center;
    line-height: 1.5em;
    font-size: 1em;
}

.footer_elt h3{
    text-decoration: underline;
    color: white;
    text-align: center;
}

/* Style the button used to pause/play the video */
#vidpause,#button_devis {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #147cc0;
  color: #fff;
  cursor: pointer;
}

#vidpause:hover,#button_devis:hover {
  background: #ddd;
  color: black;
}

.contact_service a:link{
    text-decoration: none;
}

.contact_service{
    margin: 20px auto;
}

video#bgvid { transition: 1s opacity; }
.stopfade { opacity: .5; }


#mapid { 
    height: 400px; 
}

.logo_anakadroits img{
    width:100%;
}


.body_page {
    /*
  display: flex;
  flex-direction: column;
    */
  margin:auto;
  /*
  border-radius: 5px;
  filter: drop-shadow(0 0 0.75rem gray);*/

  color: #4c4847;
}

.body_page form{
    margin: auto; 
    padding: 20px;
}

.container_page{
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-width: 300px;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    word-break: break-word;
    word-wrap: break-word;

}

.container_contact{
    padding: 50px 20%;
}
@media screen and (max-width: 1300px)       {
    .body_all {
        padding: 50px 10%;
    }
    
    
    .accueil_message {
        padding: 5% 25%;
    }
    
    .body_page {
        margin:10px 50px;
      }


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

        .groupe_services_old{
            padding: 0 5% 0 5%;
        }
        /* ########################################### @media screen and (max-width: 1050px) ############################################## */
        @media screen and (max-width: 1050px) {
            .groupe_services{
                padding: 0 1%;
            }  

            .body_all {
                padding: 50px 0;
            }
            
            .accueil_message {
                padding: 5% 20%;
            }
            
            .body6,.body2 {
                padding-left: 50px;
                padding-right: 50px;
            }
            
            /* ########################################### @media screen and (max-width: 950px) ############################################## */

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


                .topnav {
                    display: block;
                    height: 80px;
                    margin: auto;
                }
                
                .logo_anakadroits{
                    margin: auto;
                    height: 100px;
                }
                
                .logo_anakadroits img{
                    width: 120px;
                }
                .bande_menu{
                    display: flex;
                    flex-direction: column;
                }


                .image_service img{
                    margin: auto;
                }
                
                .accueil_message {
                    padding: 5% 10%;
                }

                    
                @media screen and (max-device-width: 800px) {
                #bgvid { display: none; }

                #vidpause{
                    display: none;
                }
                
                .body6,.body2 {
                    padding-left: 20px;
                    padding-right: 20px;
                }


                /* ########################################### @media screen and (max-width: 750px) ############################################## */
                @media screen and (max-width: 750px) {
                    
                    .topnav a {display: none;}
                    .logo_anakadroits a.icon {
                        float: right;
                        display: block;
                    }

                    .topnav.responsive {position: relative;}
                    .topnav.responsive .icon {
                        position: absolute;
                        right: 0;
                        top: 0;
                    }
                    .topnav.responsive a {
                        float: none;
                        display: block;
                        text-align: left;
                    }
                
                    .service {
                    -moz-flex-direction: column !important;
                    -webkit-flex-direction: column !important;
                    -ms-flex-direction: column !important;
                    flex-direction: column !important;
                    }
                    
                    
                    .logo_anakadroits{
                        justify-content: space-between;
                        width: 94%;
                    }

                    .topnav {
                        height: auto;
                    }

                   .service .service_image{
                        width: 100%;
                        max-width: 30%;
                    }

                    .service .service_texte {
                        width: 90%;
                        padding: 0 1%;
                    }

                    h3 {
                        font-size: 1.2em;
                    }

                    .logo_partenaire {
                        padding:0;  
                    }
                    .duo_titre{
                        flex-direction: column;
                    }

                    .legende_image b{
                        font-size: 16px;
                    }

                    .duo_footer{
                        flex-direction: column;
                        margin:0px auto 5px auto;
                        padding:50px;
                    }
                    
                    #mapid {
                        height: 200px;
                    }

                     /*
                    .body4{
                        display:block;
                        height: auto;
                        width: auto;
                        background-repeat: no-repeat;
                        background-size: 100% 100%;  
                        position: fixed;
                        bottom: 100px;
                        right: 0;
                        left: 0;
                        margin: 0 auto;
                        z-index: 0;
                    }
                        */
                /* ########################################### @media screen and (max-width: 600px) ############################################## */
                    @media screen and (max-width: 600px) {
                        
                        .topnav {
                            margin: 0;
                        }
                        .duo{
                            flex-direction: column;
                        }

                        .image_service{
                            flex-basis: auto;
                            margin: 15px;
                        }

                        .image_service img{
                            width: 100%;
                            height: 100%;
                            max-height: 160px;
                        }
                        
                        .logo_anakadroits img{
                            width: 100px;
                        }
                        
                        .container_contact{
                            padding: 50px 5%;
                        }

                        
                        /* ########################################### @media screen and (max-width: 480px)) ############################################## */
                        @media screen and (max-width: 480px) {
                        .accueil_message {
                            padding: 8% 5%;
                        }
                        
                        .logo_anakadroits{
                            justify-content: space-between;
                            width: 90%;
                        }

                        .logo_anakadroits img{
                            width: 100px;
                        }

                        /* ########################################### @media screen and (max-width: 400px)) ############################################## */
                        @media screen and (max-width: 400px) {
                            .duo_titre{
                                padding:2%;
                            }

                            .body_page {
                                margin:10px 10px;
                                width:90%;
                            }
      
                        }
                        }
                    }
                }
                }
            }
        }
    }
}
/********************************************************************** contact ************************************************************/
input[type=text],input[type=email], input[type=tel], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #951711;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #00ccff;
}
