body{
    background-image: url("../../bundles/catalog/images/presentationMateriauxonline.jpg");
    background-repeat:no-repeat;
    background-size: cover;
    background-color: #e0e1dc;
    background-size: 110%;
    font-family: "Geneva","Helvetica Neue",Helvetica,Arial,sans-serif;
}


#form-recherche-mobile{
    margin: 2em 1em 0 1em;
}

#to-help-google{
    display: none;
}


#polygon-triange-left{
    fill: yellow;
}

#form-recherche{
    width: 340px;
    position: absolute;
    bottom: 20px;
    left: 30px;
    opacity: 0;
}

#form-recherche .glyphicon-search{
    float: left;
    font-size: 24px;
    margin-top: 6px;
    color: #880;
    transition: 0.3s ease;
}

#form-recherche input{
    margin-left: 30px;
    background-color: transparent;
    border-width: 0 0 2px 0;
    border-color: #880;
    box-shadow: none;
    border-radius: 0;
    transition: 0.3s ease;
    padding: 0px;
    width: 160px;
    font-size: 20px;



}
#form-recherche:hover > .glyphicon-search {
    color: #000;

}
#form-recherche input:focus{
    border-width: 0 0 3px 0;
    border-color: #000;
    color: #000;
    width: 315px;
    font-weight: bold;
}

.mobile-header, .mobile-header-left{
    display: none;
}


.category-logo-fleche{
    display: none;
}
.all{
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.triangle{
    /*z-index: 1;*/
    left:-100%;
}

#category-under-categories{
    top: 0px; left: 50%; position: absolute; color:#FFF; z-index: 2; right:0; width: 50%; z-index: 20;
}
.subcategory-a{
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
    width:auto;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 35px;
    position: absolute;
    font-weight: lighter;
    z-index: 5;
    color: #fff;
}
.subcategory-a:hover{
    color: #FFF;
}

.category{
    position: absolute;
    bottom: 20px;
    /*left:30%;*/
    /*right: 65px;*/
    right: 30%;
    width: 70%;
    text-align: right;
    z-index: 1;
}
.category h2{
    right: 0;
    text-align: right;
    opacity: 0;
    cursor: pointer;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.category h2:hover{
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 45px;
}
.left-triangle-container {
    position:absolute;
    width:100%;
    height:100%;
    left: -70%;
}
.right-triangle-container{
    display:none;
    opacity: 0;
    position:fixed;
    width:100%;
    height:100%;
    right: 0%;
}
.right-triangle-content > *{
    color: #FFF;
    position: absolute;
    top: 0;
    width: 60%;
    right: 0;
}

#category-content{

}
#category-content h2{
    font-size: 60px;
    color: #ffff00;
}

#category-content A{
    font-size: 15px;
    color: white;

}

/*
#triangle-smartphone{
    display: none;
}*/


#mobile-category-title{
    color: yellow;
    font-size: 22px;
    display: inline-block;
    padding: 10px;
    width: 100%;
    text-align: left;

}

#mobile-category-title small {
    color: yellow;
}
@media (min-width: 769px) {
    #mobile-category-title{
        display: none!important;
    }
}
@media (max-width: 767px) {
    #mobile-category-title{
        text-align: center;
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    body{
            /*background-color: yellow*/;
        background-image: none;


        background-color: #444;

        font-family: "Geneva","Helvetica Neue",Helvetica,Arial,sans-serif;
    }


    .mobile-header{
        display: block;
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        height: 200px;
        background-color: yellow;
        background-image: url("../../bundles/catalog/images/materiauxonline.gif");
        background-repeat:no-repeat;
        background-position: center;
        background-size: 80%;


    }



    .category{
        /*position: absolute;
        left: 0;
        width: 100%;
        bottom: 20px;
        top: 200px;
        background-color: #444;*/

        left: 0;
        width: 100%;
        height: auto;
        position: relative;
        padding-top: 5px;
        background-color: #444;
        margin-top: 200px;



    }
    .category h2{
        font-size: 16px;
        margin: 15px 0px 10px 0px !important;
        padding: 0px 10px 15px 10px;
        bottom: auto;
        opacity: 1;
        color: #FFF;
        transition: none;
        text-align: left;
        border-bottom: 1px #888 solid;
        /*font-weight: lighter;*/
    }
    .category h2:hover{
        font-size: 16px;
    }



    .triangle-left{
        display: none;
    }
    .left-triangle-container{
        left: 0px;
    }
    #triangle-left{
        display: none;
    }
    /*
    #triangle-smartphone{
        position: absolute;
        display: block;
        height: 50px;
        right: 0px;
        left: 0px;
        top:200px;
    }*/
    .panel-sub-category{
        position: absolute;
        top: 180px;
        bottom: 0px;
        left: 100%;
        z-index: 10;
        background-color: #444;
        width: 100%;
        color:#FFF;
        border-left: 1px #888 solid;
        padding: 10px 5px 0px 5px;
        /*overflow-y: auto;*/

    }
    .sub-category-items a{
        font-size: 15px;
        display: block;
        margin-left: 10px;
        color: #FFF;
    }

    #close-panel{
        margin-top: 5px;
        margin-bottom: 20px;
        display: inline-block;
        font-size: 18px;
        color:#ffff00;

    }
    #close-panel:hover{
        color:#FFF;
        text-decoration: none;

    }
    .header-sub-category{
        position: fixed;
        top: 0;
        height: 200px;
        left: 0;
        width: 100%;
        background-color: #000;
        opacity: 0;
    }

    .header-sub-category h1{
        color: #ffff00;
        position: absolute;
        width: 100%;
        font-size:40px;
        text-align:center;
        top:50px;
    }
    .category-logo-fleche{
        display: inline;
        float: right;
    }
}

@media (min-width: 800px) {
    ::-webkit-input-placeholder { color:#880 !important; font-weight: 100;}
    ::-moz-placeholder { color:#880 !important; font-weight: 100;} /* firefox 19+ */
    :-ms-input-placeholder { color:#880 !important; font-weight: 100;} /* ie */
    input:-moz-placeholder { color:#880 !important; font-weight: 100;}
}

@media (min-width: 600px) and  (max-width: 900px){


    .mobile-header{



        position: absolute;
        top: 0px;
        left: 60%;
        right: 0px;
        height: 300px;
        background-repeat:no-repeat;
        background-position: center;
        background-size: 80%;

    }

    .mobile-header-left{

        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        right: 40%;
        height: 300px;
        background-repeat:no-repeat;
        background-position: center;
        background-size: 120%;
        background-image: url("../../bundles/catalog/images/presentationMateriauxonline.jpg");

    }

    .header-sub-category{
        height: 300px;
    }

    .panel-sub-category{
        top: 280px;
    }

    .category{
        margin-top: 300px;
    }
}


