#docstiersform .srch_div{
    width: 100%;
    line-height: 6;
    border-radius: 5px;
    background: aliceblue;
    display: inline-block;
    border: 1px dashed #9fd2ff;
}

#docstiersform .divsofsearch {
    width: 33%;
    float: left;
}

#docstiersform .btn-srch{
    position: relative;
    top: 10px;
}

#docstiersform .tofiltre{
    padding-left: 8px;
}

#docstiersform #affiche_docs .search div.liste_titre{
    background-color: #3c46641f;
    padding: 14px 10px;
    margin-bottom: 10px;
}

#docstiersform #affiche_docs ul.ecmjqft {
    max-height: 100vh;
    overflow: auto;
    font-size: 13px;
}

#docstiersform #affiche_docs ul.ecmjqft li{
    padding-right: 6px;
    padding-left: 0px;
}

#docstiersform #affiche_docs ul.ecmjqft li > a {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

#docstiersform .aclose {
    display: none !important;
}

#docstiersform .search {
    width: 30%;
    float: left;
    border-radius: 2px;
}

#docstiersform .documents {
    width: 69%;
    float: right;
}

#docstiersform .divshow {
    width: 12px;
    display: inline-block;
}

#docstiersform .openfolder span, #docstiersform .closefolder span {
    font-size: 10px;
    padding-right: 5px;
    font-weight: bold;
}

#docstiersform .catgfiles li img.img-doc, #docstiersform li img.img-doc {
    padding-right: 4px;
    vertical-align: text-bottom;
}

#docstiersform .catgfiles li {
    padding-left: 20px !important;
}

#docstiersform ul.catgfiles li, #docstiersform .closefolder {
    display: none;
}

#docstiersform .openfolder, #docstiersform .closefolder{
    cursor: pointer;
}

#docstiersform .choosegridorlist a.icon_list{
    padding-right: 5px;
}

#docstiersform #affiche_docs .pdf-canvas{
    border: 1px solid rgba(0,0,0,0.2);
    height: auto;
    max-width: 59px;
    max-height: 80px;
}

#docstiersform #gridelements{
    width: 100%;
    display: inline-block;
}

#docstiersform #gridelements .onfilegrid {
    width: 33.33%;
    float: left;
}

#docstiersform #gridelements .onfilegrid .contentgrid {
    margin: 4px;
    padding: 7px 0;
    border: 1px solid #eee;
}


/* * * * * * * * * * * * GRID * *  * * * * * * * * * * * */
#docstiersform #gridelements .onfilegrid .contentgrid .pdf-canvas {
    max-height: 200px !important;
    height: auto;
    max-width: 100%;
    border: 1px solid rgba(208, 205, 205, 0.2);
}
#docstiersform #gridelements .onfilegrid .contentgrid .td_img {
    /*margin-bottom: 15px;*/
    height: 200px !important;
    display: block;
}
#docstiersform #gridelements .onfilegrid .contentgrid .td_img img {
    height: auto !important;
    max-height: 200px !important;
    max-width: 100%;
    /*border: 1px solid rgba(208, 205, 205, 0.2);*/
}
#docstiersform #affiche_docs #gridelements .pdf-loader{
    line-height: 200px;
    height: 200px;
}



#docstiersform #gridelements .onfilegrid .contentgrid .pdf-contents>a {
    display: block;
}
#docstiersform #gridelements .onfilegrid .contentgrid .td_img>a {
    display: block;
}
#docstiersform #gridelements .onfilegrid .contentgrid .td_name_doc{
    display: block;
    text-align: center;
    white-space: normal;
    padding: 12px 6px;
}
#docstiersform #gridelements .onfilegrid .contentgrid .actionbuttons{
    display: block;
    text-align: center;
    white-space: normal;
    padding: 0px 6px 6px;
}
#docstiersform #gridelements .onfilegrid .contentgrid {
    margin: 3px;
    padding: 7px 0;
    border: 1px solid #eee;
}
#docstiersform #gridelements .onfilegrid .contentgrid .actionbuttons>a {
    padding: 0 12px;
}
#affiche_docs .onfilegrid.toberemoved>* {
    background-color: rgb(255, 237, 237);
}
@media only screen and (min-width: 700px) and (max-width: 1024px){
    #docstiersform #gridelements .onfilegrid .contentgrid .pdf-canvas {
        max-height: 235px !important;
    }
    #docstiersform #gridelements .onfilegrid .contentgrid .td_img {
        height: 235px !important;
    }
    #docstiersform #gridelements .onfilegrid .contentgrid .td_img img {
        max-height: 235px !important;
    }
    #docstiersform #affiche_docs #gridelements .pdf-loader{
        line-height: 235px;
        height: 235px;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1440px){
     #docstiersform #gridelements .onfilegrid .contentgrid .pdf-canvas {
        max-height: 325px !important;
    }
     #docstiersform #gridelements .onfilegrid .contentgrid .td_img {
        height: 325px !important;
    }
     #docstiersform #gridelements .onfilegrid .contentgrid .td_img img {
        max-height: 325px !important;
    }
     #docstiersform #affiche_docs #gridelements .pdf-loader{
        line-height: 325px;
        height: 325px;
    }
}
@media only screen and (min-width: 700px) and (max-width: 1000px){
     #docstiersform #gridelements .onfilegrid{
        width: 50%;
    }
}
@media only screen and (max-width: 700px){
     #docstiersform #gridelements .onfilegrid{
        width: 100%;
    }
}
@media only screen and (max-width: 1000px){
    #docstiersform .divsofsearch{
        width: 100%;
    }
}
