/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* Webbax - tuto 41 - amélioration du menu */
.top-menu img{max-width:100%;}
.top-menu .popover .li_depth_1{width:16.2%!important;}
.top-menu .popover .li_depth_2 img{width:20px;margin-right:5px;}
.top-menu span.depth1{display:none!important;}

/* Mobile */
@media(max-width:600px){
    .top-menu img{display:none;}
    .top-menu .popover .li_depth_1{width:inherit!important;}
    .top-menu span.depth1{display:block!important;}
}

.case {
    font-family: "Arial",georgia;
    font-size: 18px;
    font-weight: bold;
    color:white;
    text-align: center;
    background-color:#747474;
    margin:2px;
    padding:10px;}

.box
{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin : 30px;

}

.item
{
    width: calc(25% - 2rem);
    min-width: 200px;
    margin-bottom: 2rem;
    font-size: 1rem;
    padding: 2rem 0;
    text-align: center;
    background-color: #7599a5;
    color: #000;
    font-family: Impact;
    border-radius: 10px;
}

.title-bdt{font-family: Verdana; font-size: 40px; border:solid;}

#header .logo{margin-top : -42px; margin-left:-60px;width:190px;}

#header .header-top .position-static{background-color: #fff;}
#header .header-top a[data-depth="0"]{color:#000;font-size: 15px!important;}

#header{background-color: #bdfef975;}

.footer-container{background:#e1fffc;}

#wrapper{background:#ffffeea1!important;}

.card-body{padding-top:20px;}

.block{display:block!important;}

#product #encaps{background:#fff;padding:30px;}
#product .product-manufacturer img{height:70px;margin-bottom:15px;}


/* Grille de contenu page personnalisée by Jeyson */

#pageperso img{
    height: 300px;
    width: auto;
}
#pageperso{
    margin: 50px;
    grid-area: div;
    display:grid;
		grid-template-areas:
            "image1 h1 h1"
		    "image1 texte1 texte1"
            "h2 h2 image2"
		    "texte2 texte2 image2";
		grid-template-columns: 1fr 1fr 1fr;
        border:1px solid black;
}
#pageperso img:first-of-type{
    margin: 50px;
    grid-area: image1;
}
#pageperso p:first-of-type{
    grid-area: texte1;
    font-size: 25px;
    text-align: left;
    margin-top:-30px;
}
#pageperso img:nth-of-type(2){
    grid-area: image2;
    margin-left: 100px;
    margin-top: 50px;
    margin-right: 200px;
    border: solid 1px black;
}
#pageperso p:nth-of-type(2){
    margin-right: 100px;
    grid-area: texte2;
    font-size: 25px;
    text-align: center;
    padding-left:150px;
    width:75%;
    margin-top:-10px;
}
#pageperso h1:first-of-type{
    grid-area: h1;
    text-align: left;
    padding-top: 30px;
}
#pageperso h1:nth-of-type(2){
    grid-area: h2;
    text-align: center;
    padding-top: 30px;
    padding-left: 150px;
    width:75%;
}
@media (max-width: 1370px){
    #pageperso p:first-of-type{
        font-size: 20px;
        margin-right: 10px;
    }
    #pageperso p:nth-of-type(2){
        font-size: 20px;
    }
    #pageperso h1:first-of-type{
        margin-right: 10px;
    }
}
@media (max-width: 1253px){
    #pageperso p:first-of-type{
        width: 450px;
        margin-right: 15px;
        font-size: 18px;
    }
    #pageperso p:nth-of-type(2){
        font-size: 18px;
    }
    #pageperso h1:first-of-type{
        margin-right: 15px;
    }
}
@media (max-width: 1215px){
    #pageperso p:first-of-type{
        width: 450px;
        margin-right: 15px;
        font-size: 16px;
    }
    #pageperso p:nth-of-type(2){
        font-size: 16px;
    }
    #pageperso h1:first-of-type{
        font-size : 18px;
    }
    #pageperso h1:nth-of-type(2){
        font-size: 18px;
    }
}
@media (max-width: 1182px){
    #pageperso p:first-of-type{
        width: 300px;
    }
    #pageperso p:nth-of-type(2){
        width: 300px;
    }
    #pageperso h1:first-of-type{
        width: 300px;
    }
    #pageperso h1:nth-of-type(2){
        width: 300px;
    }
}
@media (max-width: 1055px){
    #pageperso p:first-of-type{
        width: 200px;
        margin-top: -5px;
    }
    #pageperso p:nth-of-type(2){
        width: 200px;
    }
    #pageperso img:nth-of-type(2){
        margin-left: 10px;
    }
    #pageperso h1:first-of-type{
        width: 200px;
    }
    #pageperso h1:nth-of-type(2){
        width: 200px;
    }

}
@media (max-width: 1000px){
    #pageperso{
        display: block;
    }
    #pageperso p:first-of-type{
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    #pageperso p:nth-of-type(2){
        width: 80%;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
    }
    #pageperso img:nth-of-type(2){
        margin-left: 40%;
        margin-bottom: 40px;
    }
    #pageperso img:first-of-type{
        margin-left: 20%;
    }
    #pageperso h1:first-of-type{
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    #pageperso h1:nth-of-type(2){
        width: 80%;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 900px){
    #pageperso img:nth-of-type(2){
        width: 40%;
        height: auto;
        margin-left: 30%;
        margin-bottom: 40px;
    }
    #pageperso img:first-of-type{
        margin-left: 15%;
        width: 70%;
        height: auto;
    }
}
