body , html{
    background-color:white;
    font-family: 'Lato', serif;
    margin:0px;
    height:100%;
    color:#002C2C;
    background-color:#fafafa;
}

img {
    image-orientation: from-image;
}

body {
    overflow-y: scroll;
}

.header {
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    border-bottom-style: solid;
    border-color: #990000;
    position:fixed;
    width:100%;
    top:0;
    background-color:white;
    z-index: 1;
    height: 15vh;
}

.logo img{
    margin-left:5vw;
    height:14vh;
}

.menu {
    font-weight:bold;
    font-size:1.5em;
    margin-right:5vw;
}

.menu ul {
    margin-bottom:10px;
    margin-right:20px;
    list-style-type: none;
}

.menu li{
    display:inline-block;
    padding:10px;
    margin:0px;
    text-align: center;
}

.menu li a {
    text-decoration: none;
    color: #555;
}

.menu li a:hover {
    color: #B81414;
}

.image {
    background-image: url(../images/accueil1.jpg);
    height: 100vh; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.image2 {
    background-image: url(../images/accueil2.jpg);
    height: 40vh; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.caption {
    position: absolute;
    left: 0;
    top: 35%;
    width: 100%;
    text-align: center;
    color: #000;
}

.border {
    background-color:rgba(255, 255, 255, 0.5);
    color: #000;
    padding: 20px;
    font-size: 3.5em;
    border-radius: 10px;
    width:50%;
    margin: 0 auto;
}
.border span {
    font-size: 1.5em;
}

.index1 {
    background-color:white;
    color:#002C2C;
    /* background-color: #0d401a;
    color:#fff; */
    padding-top:20px;
    padding-bottom:10px;
}

.index2 {
    background-color: white;
    color:#002C2C;
    padding-top:20px;
    padding-bottom:10px;
}

.index {
    font-size:1.5em;
}

.index ul{
    padding:0;
    text-align: center;
    list-style-type: none;
}

.index h1 {
    text-align: center;
}

.index p {
    text-align: center;
    width:75%;
    margin:auto;
    margin-bottom:20px;
}

#boxes {
    display: flex; /* or inline-flex */
    justify-content:  space-evenly;
    align-items: center;  
    padding:20px;
    text-decoration: none;
    font-weight: bold;
    font-size:0.8em;
}

#boxes .box15 {
    border-radius: 15px;
    background: #fff;
    color:#990000;
    border-style:solid; 
    border-color:#990000;
    padding:10px;
    margin:10px;
    margin-top:0px;
    font-size:1.2em;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 12vh;  
    width:15vw;
    transition: 0.5s;
    text-decoration: none;
    box-shadow:0px 0px 7px 0px #888;
}
#boxes .box15:hover:before{
    text-decoration: none;
}

#boxes .box15:hover{
    border-radius: 15px;
    width:17vw;
    background: #990000;
    transition: 0.5s;
    color:#fff;
    border-color:#990000;
}

.page h1 {
    text-align:left;
}

.page p {
    text-align: left;
    width:100%;
}

.page {
    display:flex;
    align-items:top;
    text-align: left;
    padding:20px;
    margin:auto;
    padding-top:calc(15vh + 20px);
    font-size:1em;
    width:75%;
    min-height:calc(100vh - 30px - 15vh - 40px);
}

.adress {
    order:1;
    width:50%;
}

.adressform {
    margin-right:20px;
    font-size:1.2em;
    height:100%;
}

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

.adressform .mui-panel {
    padding:auto;
    padding-left: 0px;
    padding-right:0px;
    margin:0px;
    height: calc(100%-30px);
}
.adressform .addresspadding {
    padding:10px;
    text-align: center;
}

.mui-btn {
    padding:15px;
    font-size:1.5em;
    height:auto;
}

.button-send {
    width:100%;
    margin-bottom:15px;
}

.adress .carrousel {
    width:100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition:all 1s ease-in;
    -moz-transition:all 1s ease-in;
    -o-transition:all 1s ease-in;
    -ms-transition:all 1s ease-in;
    transition:all 1s ease-in;
}

.map {
    order:2;
    width:50%;
    height:calc(100vh - 15vh - 30px - 40px);
}

.mui-textfield input{
    font-size:1em;
}

.mui-textfield textarea{
    /* padding-top:15px; */
  border-top: 1px solid rgba(0, 0, 0, 0.26);
  border-bottom: 1px solid rgba(0, 0, 0, 0.26);
  height:120px;
  max-width:100%;
  min-width:100%;
}

.mui-textfield {
    padding-top:0px;
}

.mui-container {
    padding-top:15px;
}

.center {
    display: flex;
    justify-content: center;
}

.mui-appbar {
    min-height:30px;
    /* background-color: #DA3535; */
}

iframe { 
    width: 100%; 
    height: 100%; 
}

.ref h1, h2, h3, h4 {
    font-size:2.2em;
    text-align: center;
    margin:0;
    padding-bottom: 30px;
    padding-top:10px;
    width:100%;
}

.ref img {
    width:40%;
    float: right;
    margin-left: 10px;
    margin-top: 0;
    clear:both;
}

.ref p {
    font-size:1.5em;
    margin-right: 0px;
    /* overflow:auto; */
    display:block;
}

.ref {
    width:100%;
}

.ref a{
    font-size:1.5em;
}

.categorie-header {
    width:100%;
    background-color:#990000;
    color:white;
    text-align: center;
    font-size:3em;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding:15px 0;
    transition-duration: 0.5s;
    cursor: pointer;
}

.anchor {
    position:relative;
    top: -15vh;
}

.categorie-body {
    height:0;
    overflow: hidden;
}

.categorie-header:hover {
    color:#fcb6b6;
}

.categorie {
    background-color:#990000;
    padding-bottom:1px;
    margin-bottom:20px;

}

.categorie .mui-panel {
    margin:0px 1px;
    margin-top:1px;
    padding-left:3vw;
    padding-right:3vw;
}

.copyright {
    font-size:0.8em;
}

.bandeaux {
    padding-top:15vh;
    width:75%;
    margin:auto;
}

.bandeaux a {
    text-decoration: none;
    -webkit-touch-callout: none; 
    -webkit-user-select: none;
     -khtml-user-select: none; 
       -moz-user-select: none; 
        -ms-user-select: none; 
            user-select: none;
}

.bandeau {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align:center;

    width:100%;
    background-size:cover;
    background-position: center;
    height:calc((100vh - 15vh - 30px) / 4);
    filter: saturate(0%);
    -webkit-filter: saturate(0%);
    -moz-filter: saturate(0%);
    -o-filter: saturate(0%);
    -ms-filter: saturate(0%);
    cursor: pointer;
}

.sujet {
    font-size:2em;
    color:white;
    font-weight:bold;
}

.bandeau:hover {
    filter: saturate(100%);
    -webkit-filter: saturate(100%);
    -moz-filter: saturate(100%);
    -o-filter: saturate(100%);
    -ms-filter: saturate(100%);
}

.MOE {
    background-image:url(../images/moe.jpg);
}

.AMO {
    background-image:url(../images/amo.jpg);
}

.OPC {
    background-image:url(../images/opc.jpg);
}

.DIAG {
    background-image:url(../images/diag.jpg);
}

.box {
    overflow: hidden;
    height:0;
}

.description {
    margin:0px auto;
    padding:30px 5%;
    width:90%;
}


.description p {
    margin:10px 0;
}

.description h1 {
    width:100%;
}
.description h1,h2,h3,h4,h5 {
    text-align: center;
    color:#990000;
}

.description strong {
    color:#990000;
}

.description ul {
    list-style-type: circle;
}

.description ul ul{
    list-style-type: circle;
}

.description .double ul {
    columns:2;
    -webkit-columns:2;
    -moz-columns:2;
}
.columns ul {
    list-style-type: circle;
}
.columns {
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
}

.description .left {
    width:45%;
}

.description .right {
    width:45%;
    float: right;
}

.gallery {
    padding-top:calc(15vh + 20px);
    min-height:calc(100vh - 30px - 15vh - 40px);
    padding-left:0;
    padding-right:0;
    padding-bottom:0;
    width:70%;
    margin:auto;
    flex-wrap: wrap;
    justify-content:center;
    align-items: top;
}

.gallery .descript {
    margin-bottom:20px;
    padding-left:20px;
    padding-right:20px;
}

.gallery .descript h1, h2, h3, h4, h5{
    margin-bottom:20px;
    text-align: center;
    color:#990000;
}

.gallery .descript img {
    width:0;
    height:0;
    padding:0;
    margin:0;
}

.gallery p img {
    display:none;
}

.gallery .galleryimage img{
    width:100%;
    height:auto;
}

.gallery .galleryimage {
    margin:0;
    padding:0;
    width:100%;
}

.gallery p {
    text-align: left;
    width:100%;
    margin:5px;
}


@media screen  and (max-width: 979px) {
    .menu ul {
        margin: 0px auto;
        padding-left:0px;
    }

    .header {
        height:auto;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position:relative;
    }
    .border {
        width:80%;
    }
    .logo {
        margin-top:10px;
    }
    .logo img {
        margin-left:0;
    }
    .menu {
        margin-right:0;
        display:flex;
        justify-content: center;
    }

    .page {
        padding:0px;
        padding-top:20px;
        flex-direction: column;
        width:100%;
        margin:0;
    }

    .carrousel {
        display:none;
    }

    .space {height:0px;}

    .adress {
        margin-top:0px;
        padding-top: 0px;
        margin-bottom:20px;
        width:100%;
    }
    .adressform {
        margin-right:0px;
        font-size:1.5em;
    }

    .map {
        float:none;
        width:100%;
        margin-bottom:20px;
    }

    .bandeaux {
        padding:0px;
        width:100%;
    }
    .sujet {
        font-size:1.5em;
        justify-content: center;
    }
    .description {
        width:95%;
        padding:0 10px;
    }
    .description .left {
        width:100%;
    }

    .description .right {
        width:100%;
    }

    .description .double ul {
        columns:1;
        -webkit-columns:1;
        -moz-columns:1;
    }
    
    .index {
        font-size:1.5em;
    }

    .gallery {
        padding-top: 0;
        width:100%;
    }
}


@media screen and (max-width: 580px) {
    .menu ul {
        width:100%;
        margin: 0px;
        padding-left:0px;
    }

    .menu li{
        display:block;
        margin:auto;
        padding:5px;
    }

    .caption {
        top:50%;
    }
}
.google-copyright {
    font-size:0.8em;
}
.grecaptcha-badge { visibility: hidden; }
