/* css */

/* * {
    margin: 0;
    padding: 0;
    list-style-type: none;
} */

/* p, span, div, h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #bbb;
}

p, span, div {
    font-size: 1.5rem;
} */


/*@media (max-width: 640px) {

    #divcanvas {
        width: 100%;
        height: 250px;
    }

    #canvas {
        width: 100%;
        height: 250px;
        align-self: center;
    }
}*/


@media (max-width: 799px) {

    #main {
        display: flex;
        flex-direction: column;
    }

    #map {
        width: 100%;
        height: 450px;
    }

    #Footer {
        display: block;
        width: 100%;
        /*display: flex;
        flex-direction: row;*/
        height: 50px;
    }
}

@media (min-width: 800px) {


    #main {
        display: flex;
        flex-flow: row wrap;
    }

    #details_reservation {
        display: block;
        width: 100%;
        margin-top: 20px;
        padding: 30px;
        text-align: center;
    }
 

    #Footer {
        display: block;
        width: 100%;
        height: 50px;
        /*display: flex;
        flex-direction: row;
        height: 50px;*/
    }
}


@media (min-width: 1150px) {



}

/* end media queries ---------------------------------*/

/* 
body {
    margin: 0;
    padding: 0;
    width: 100%;
    /*height: 100%;*/
} */

/* header ----------------------------------------------*/

header {
    display: block;
    height: 60px;
    width: 100vw;
    /* background: lawngreen; */
    -webkit-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    -moz-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    margin: 0;
    padding: 0;
}
/* 
    header .logo {
        float: left;
        width: 201px;
        height: 60px;
        background: #fde624 url(https://projet3.webimpact.fr/theme/images/logo-contract.png) no-repeat center/75%;
    } */

    /* header .headTxt {
        padding: 10px;
    }

        header .headTxt > h2 {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #fff;
        } */

/* footer ----------------------------------------------*/
/* #Footer {
    color: red;
} */


.mapInfos {
    width: 100%;
    height: 300px;
    align-self: flex-start;
    padding: 25px;
    margin-top: -120px;
    background: red;
    -webkit-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    -moz-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    margin-bottom: 50px;
    display: none;
}



.footerEnd {
    display: block;
    width: 100%;
    height: 40px;
    background: lawngreen;
    -webkit-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    -moz-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    color: #fff;
    text-align: center;
}

/* --------------- map -----------------*/


#map {
    min-height: 250px;
    margin-bottom: 20px;
}


#divMap {
    width: 100%;
    min-height: 250px;
}
#map {
    background-color: #fff;
}

#dbDetails {
    width: 100%;
    height: auto;
    padding: 20px;
    text-align: center;
    font-size: 10px;
    line-height: 15px;
    align-self: flex-start;
    /* background: lawngreen;
    -webkit-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    -moz-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67); */
}

#reservation {
    display: block;
    height:250px;
    background-color: #fff;;
    width: 70%;
}


/* for script only ----------------------------------------------------------------*/

#box {
    width: 100%;
    border: 1px solid red;
    margin-top: 20px;
    padding: 5px;
    background-color: yellow;
}

#openSession {
    width: 90%;
    border: 1px solid yellow;
    margin-top: 20px;
    padding: 5px;
    background-color: red;
    color: #fff;
    display: block;
}

#reponse {
    display: block;
    width: 100%;
    height: auto;
}

#details_reservation {
    margin-top: 20px;
    padding: 10px;
}

#finaliser {
    display: block;
    width: 100%;
    height: auto;
    font-size: 1.5rem;
    font-weight: bold;
    color: red;
    text-align: center;
    vertical-align: middle;
    margin: 20px auto;
    cursor: pointer;
}


/* in footer*/

#infosMap {

    width: 100%;
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    align-items: flex-start;
    color: yellow;
}
#dbDetails p {
    text-justify: auto;
    text-align: center;
    line-height: 2rem;
}

#dbDetails h2 {
    text-align: center;
}

#dbCounter {
    width: 100%;
    color: red;
    align-items: center;
    justify-content: center;
    /*display: block;
    width: 100%;
    /*height: 250px;*/
    /*padding-top: 25px;
    padding: 10px;*/
}

div#dbCounter {
    font-size: 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
}

div#reservation {
    display: block;
    width: 100%;
    color: red;
    align-items: center;
    font-size: 2rem;
    text-align: center;
    line-height: 40px;
}


button#finaliser {
    background-color: transparent ;
    border: block !important;
}

canvas#canvas {
    display: block;
    margin: 0 auto;
   
}

#divcanvas {
    width: 100%;
    height: 100%;
    /* 
    background: lawngreen;
    -webkit-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    -moz-box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67);
    box-shadow: inset 2px -5px 69px 1px rgba(0,0,0,0.67); 
    */
    text-align: center;

}

#canvas {
    width: 100%;
    height: 250px;
    align-self: center;
    
    /* -webkit-box-shadow: inset 0px 0px 10px 8px rgba(140,146,255,1);
    -moz-box-shadow: inset 0px 0px 10px 8px rgba(140,146,255,1);
    box-shadow: inset 0px 0px 10px 8px rgba(140,146,255,1); */

    -webkit-box-shadow: 10px 10px 28px -11px rgba(135, 134, 125, 1);
    -moz-box-shadow: 10px 10px 28px -11px rgba(135, 134, 125, 1);
    box-shadow: 10px 10px 28px -11px rgba(135, 134, 125, 1);

}



#btn_reserver {
    text-decoration: none;
    padding: 10px;
    font-family: arial;
    font-size: 1.3em;
    color: #FFFFFF;
    background-color: #00710d;
    border-radius: 24px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border: 4px solid #FFFFFF;
    box-shadow: 3px 3px 12px #444444;
    -webkit-box-shadow: 3px 3px 12px #444444;
    -moz-box-shadow: 3px 3px 12px #444444;
}


    #btn_reserver:hover {
        padding: 10px;
        box-shadow: 1px 1px 4px #777777;
        -webkit-box-shadow: 1px 1px 4px #777777;
        -moz-box-shadow: 1px 1px 4px #777777;
    }

#btn_finaliser {
    margin: 10px auto;
    text-decoration: none;
    padding: 10px;
    font-family: arial;
    font-size: 1em;
    color: #FFFFFF;
    background-color: red;
    border-radius: 24px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border: 4px solid #FFFFFF;
    box-shadow: 3px 3px 12px #444444;
    -webkit-box-shadow: 3px 3px 12px #444444;
    -moz-box-shadow: 3px 3px 12px #444444;
    cursor: pointer;
    line-height: 30px;
    color: gold;
    font-weight: bold;
    /*display:none*/
}


    #btn_finaliser:hover {
        padding: 10px;
        box-shadow: 3px 3px 12px #444;
        -webkit-box-shadow: 3px 3px 12px #444;
        -moz-box-shadow: 3px 3px 12px #444;
    }

#commentaire {
    font-size: 2rem;
    line-height: 2rem;
}

.dbHide {
    display: block;
}

#dbCounter > span {
    color: red;
    font-size: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}