.drivectn{
    width: 98%;
    margin-left: .5%;
}

.drivectn .header, .drivectn .body .ctn, .drivectn .body .sidebar, body .drive_modal, .drivectn .drive_context{
    background: white;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.drivectn .header{
    padding: 15px 0px 0px 15px;
    margin-bottom: 10px;
}

.drivectn .header .hdrbas, .drivectn .header .hdrhaut{
    display: flex;
    align-items: center;
    width: 98%;
    justify-content: space-between;
    margin-left: 1%;
}

.drivectn .header .hdrbas{
    padding: 2% 0 1% 0;
}

.drivectn .header .hdrfilter{
    padding: 6px;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;

    & .cat-change {
        margin-left: auto;
        display: flex;
        gap: 6px;

        & a button {
            margin: 0;
            padding: 4px 8px 4px 8px;
            color: white;
        }
    }
}

.drivectn .header .hdrhaut #drive_usersel{
    line-height: 30px;
    font-size: 20px;
    text-overflow: ellipsis;
    color: #585858;
}

.drivectn .header .size_show .grad{
    height: 5px;
    display: inline-block;
    width: 100%;
}

.drivectn .header .size_show .back{
    background: white;
}

.drivectn .header .searchbar_ctn{
    width: 40%;
    line-height: 40px;
    visibility: visible;
}

.drivectn .header .searchbar_ctn i.fa.fa-search{
    float: right;
    margin-top: -37px;
    position: relative;
    font-size: 28px;
    color: #a5a5a4;
}

.drivectn .header .searchbar_ctn input[type="text"]{
    width: 100%;
    line-height: 30px;
    font-size: 20px;
    text-overflow:ellipsis;
}

.drivectn .header .searchbar_ctn input[type="text"]::placeholder{
    color: #a5a5a4;
    max-width:89%;
}

.drivectn .header .controls{
    display: flex;
    margin-right: 2%;
}

.drivectn .header .controls a{
    margin: 0px 5px 0px 5px;
}

.drivectn .header .controls .btn_remove i.fa,
.drivectn .header .controls .btn_share i.fa,
.drivectn .header .controls .btn_download i.fa,
.drivectn .header .controls .btn_type i.fa {
    font-size: 30px;
    color: #797979;
}

.drivectn .header .controls button.new-folder{
    font-family: "Open sans", arial, sans-serif;
}

.drivectn .header .controls button.new-folder, .drivectn .header .controls button.emptytrash,.drivectn .header .controls button.btn_sel{
    min-width: 165px;
    padding: 8px;
}
.drivectn .header .controls button.btn_sel{
    background-color: #da328a;
}
.drivectn .header .controls button.btn_sel:hover{
    background-color: #91225c;
}

.drivectn .header .controls *:not(.dropdown){
    align-self: center;
}

.drivectn .body{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.drivectn .body .sidebar{
    width: 20%;
    height: 1%;
}

.drivectn .body .ctn{
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}
.drivectn .body .sidebar + .ctn{
    width: 79%;
    overflow-y: auto;
    max-height: calc(100vh - 400px);
}

.drivectn .body .ctn .nothingfound{
    width: 100%;
    text-align: center;
    margin-top: 15px;
    display: block;
}

.drivectn .sidebar ul.sidebar_lst{
    text-align: justify;
    padding-left: 15px;
}

.drivectn .sidebar ul.sidebar_lst > a, .drivectn .drive_context ul > a{
    text-decoration: none;
    color: #000;
}

.drivectn .sidebar ul.sidebar_lst li.active, .drivectn .drive_context ul li:hover{
    background: #f1f1f0;
}

.drivectn .sidebar ul.sidebar_lst li{
    list-style: none;
    padding: 7px;
    margin: 0;
    transition: background .5s ease-out;
    line-height: 25px;
    font-size: medium;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.drivectn .sidebar ul.sidebar_lst li:hover{
    background: #f1f1f0;
}

.drivectn .upload_ctn{
    box-shadow: -2px -2px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    position: fixed;
    bottom: 5px;
    right: 15px;
    background: #fff;
    width: 300px;
    height: 30px;
    transition: height .2s ease-in;
    display: flex;
    flex-flow: column;
}

.drivectn .upload_ctn .loadbar{
    display: block;
    line-height: 30px;
}

.drivectn .upload_ctn .upload_content{
    display: none;
    background: url(/img/import_files.png);
    background-repeat: no-repeat;
    background-size: 100px;
    background-position-x: center;
    background-position-y: center;
    height: 90%;
    margin-top: 5px;
}

.drivectn .upload_ctn .upload_content.draggedon{
    border: 2px solid #00b9d3;
    background: rgb(0, 133, 177, .2) url(/img/import_files.png);
    background-repeat: no-repeat;
    background-size: 100px;
    background-position-x: center;
    background-position-y: center;
}

.drivectn .upload_ctn .upload_content .upload_item{
    display: flex;
    width: 95%;
    padding: 2% 0 2% 5%;
    margin: 0;
    background: white;
    align-items: center;
    justify-content: space-evenly;
    height: 0;
}

.drivectn .upload_ctn .upload_content .upload_item .desc{
    width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drivectn .upload_ctn .upload_content .upload_item progress{
    max-width: 35%;
}

.drivectn .upload_ctn .upload_content .upload_item.finished_upload{
    justify-content: left;
}

.drivectn .upload_ctn .upload_content .upload_item.finished_upload .desc{
    max-width: 100%;
}

.drivectn .upload_ctn .upload_content .upload_item.finished_upload progress{
    display: none;
}

.drivectn .upload_ctn.ext{
    height: 40%;
}

.drivectn .upload_ctn.ext .upload_content{
    display: flex;
    flex-direction: column;
}

.drivectn .upload_ctn.ext .upload_content .upload_item{
    height: 15px;
}

.drivectn .upload_ctn .upload_content .desc{
    display: flex;
    align-items: center;
}

.drivectn .upload_ctn .upload_content .desc .fa-spinner.tournant, .drivectn .upload_ctn .upload_content .desc .fa-check, .drivectn .upload_ctn .upload_content .desc .fa-remove {
    margin-right: 5px;
    font-size: large;
}

.drivectn .upload_ctn .upload_content .desc .fa-check.green{
    color: green;
}

.drivectn .upload_ctn .upload_content .desc .fa.red{
    color: red;
}

.drivectn .upload_ctn .upload_content.nofile{
    flex: auto;
    justify-content: center;
    align-items: center;
}

.drivectn .upload_ctn.ext .upload_content.nofile i{
    display: block;
    position: absolute;
    top: 75%;
}

.drivectn .upload_ctn .upload_content.nofile i{
    display: none;
}

.drivectn .upload_ctn .upload_loadbar{
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.16), 0 2px 5px rgba(0, 0, 0, 0.23);
    width: 100%;
    height: 100%;
    background: #0086b1;
    color: #fff;
    cursor: pointer;
    display: flex;
}

.drivectn .upload_ctn.ext .upload_loadbar{
    height: 30px;
}

.drivectn .upload_ctn .upload_loadbar .icon.etat{
    font-size: 22px;
    width: 15%;
}

.drivectn .upload_ctn .upload_loadbar .icon.etat .fa{
    transition: all .4s linear;
}

.drivectn .upload_ctn.ext .upload_loadbar .icon.etat .fa{
    transform:rotate(90deg);
}

.drivectn .body .ctn .drive_item, .drivectn .body .ctn .ctn_hdr{
    display: grid;
    grid-template-columns: 5% 5% 20% 20% 20% 5% 15% 10%;
    width: 100%;
    font-size: 16px;
    cursor: default;
    align-items: center;

    & .hdr_confidentiality, & .confidentiality {
        justify-self: center;
    }

    & .hdr_checkbox {
        justify-self: center;
    }
}

.drivectn .body .ctn .ctn_hdr {
    margin: 10px 0 10px 0;
    & div {
        display: flex;
        align-items: center;
    }
}

.drivectn .body .ctn .drive_item > div{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 95%;
}

.drivectn .body .ctn .drive_item > .category > .category-tag:not(:empty){
    padding: 2px 10px 2px 10px;
    border-radius: 100px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: fit-content;
    font-size: 70%;
}

.drivectn .drive-checkbox {
    margin: 0;
}

.drivectn .body .ctn .drive_item .icon{
    display: inline-block;
    font-size: 100%;
    vertical-align: middle;
    text-align: center;
}

.drivectn .body .ctn .drive_item :is(.icon,.desc) {
    line-height: normal;
}

.drivectn .body .ctn .drive_item .icon i{
    color: #DDD;
}

.drivectn .body .ctn .drive_item .icon i:before{
    transition: none;
}

.drivectn .body .ctn .drive_item{
    padding: 10px 0 10px 0;
    border-top: 1px #DDD solid;
    transition: background .2s linear;
}

.drivectn .body .ctn .drive_item.selected{
    background: #0085b1;
    color: #ffffff;
}

.drivectn .body .ctn .drive_item.selected i.fa{
    color: white;
}

.drivectn .drive_context{
    position: fixed;
    background: white;
}

.drivectn .drive_context ul{
    margin: 0;
    list-style: none;
}

.drivectn .drive_context ul li{
    margin: 0;
    padding: 10px 10px 10px 10px;
}

.drivectn .paginator{
    width: auto;
    height: 35px;
    background:white;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    padding: 15px 0px 0px 15px;
    margin-bottom: 10px;
    display: none;
    justify-content: center;
    align-items: center;
}

.drivectn .paginator_required{
    display: flex;
}

.drivectn .paginator .paginator_ctn{
    width: 100px;
    display: flex;
    justify-content: space-evenly;
}

.drivectn .paginator .paginator_previous{
    opacity: 0;
}

.drivectn .paginator .paginator_next{
    opacity: 0;
}

.drivectn .paginator .paginator_allow{
    opacity: 1;
}

.drive_modal{
    position: absolute;
    top: 20%;
    left: 35%;
    right: 35%;
    padding-bottom: 1%;
    z-index: 1000000;
    text-align: center;
}

.drive_modal.contact{
    top: 35%;
    left: 50%;
    right: 23%;
}

.drive_modal.big{
    top: 25%;
    left: 20%;
    right: 30%;
}

.drive_modal.big.contact{
    top: 30%;
    left: 45%;
    right: 10%;
}

.drive_modal input.modal_input{
    margin: 5% 0% 5%;
    width: 75%;
    line-height: 25px;
    border-radius: 3px;
    color: #0085b1;
    font-size: 16px;
}

.drive_modal.big input.modal_input{
    width: 50%;
}

.drive_modal .grid_share{
    display: flex;
    flex-direction: column;
}

.drive_modal .grid_share .file_share_line{
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin-left: 14%;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16), 0 0 0px rgba(0, 0, 0, 0.23);
    margin-bottom: 5px;
    padding: 2px 5px 2px 5px;
    align-items: center;
}

.drive_modal .grid_share .file_share_line .name_share{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 60%;
    padding-left: 15px;
}

.drive_modal .grid_share .btn_ok{
    align-self: center;
    width: fit-content;
}

.dropdown{
    border: none;
    color: white;
    background-color: var(--title1-bg-color);
    border-radius: var(--radius-input);
    margin: 3px;
    width: 135px;
    display: inline-block;
    padding-left: 0;
    font-size: 15px;
    min-width: 135px;
}

.dropdown .label{
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    padding-left: 5px;
    cursor: default;
}

.dropdown .ctn{
    padding: 0;
    visibility:hidden;
    opacity:0;
    height: 0;
    transition:visibility 0.3s linear,opacity 0.3s linear,height 0.3s linear;
    width: 135px;
    margin: 0;
    background: var(--title1-bg-color);
}

.dropdown:hover .ctn{
    visibility:visible;
    opacity:1;
}


.dropdown .ctn button{
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 3px 0px 3px;
}

.fa-spinner.tournant{
    animation: spin 2s linear infinite;
}

.load-progress{
    width: 0;
    height: inherit;
    position: absolute;
    background: #E4C0EE;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media screen and (max-width: 1380px){
    .searchbar_ctn{
        width: 0;
        visibility: hidden;
    }
}

.container_typedoc_choice{
    position: relative;
    padding: 20px 20px 0px 20px;
}

.container_drive_modal {
    position: relative;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 10px;

    & label {
        width: fit-content;
    }

    & select {
        width: 40%;
    }

    & button {
        width: fit-content;
        padding: 5px 15px 5px 15px;
        margin: 0 0 0 auto;
    }
}

.btn-close-type{
    position: absolute;
    top: -30px;
    right: 0px;
    color: #c0392b;
}

/*drive popup contact*/
.ubi_popup_contact .drivectn .header .searchbar_ctn input[type="text"] {
    font-size: 12px;
}
.ubi_popup_contact .drivectn .body .ctn .drive_item,
.ubi_popup_contact .drivectn .body .ctn .ctn_hdr,
.ubi_popup_contact .drivectn .body .ctn .drive_item .dmod{
    font-size: 12px;
}
.ubi_popup_contact .drivectn .body .ctn .drive_item .desc,
.ubi_popup_contact .drivectn .body .ctn .ctn_hdr .hdr_desc {
    width: 38%;
}
.ubi_popup_contact .drivectn .body .ctn .ctn_hdr .dmod,
.ubi_popup_contact .drivectn .body .ctn .drive_item .dmod{
    width: 20%;
}
.ubi_popup_contact .drivectn .header .controls .btn_remove i.fa,
.ubi_popup_contact .drivectn .header .controls .btn_share i.fa,
.ubi_popup_contact .drivectn .header .controls .btn_download i.fa,
.ubi_popup_contact .drivectn .header .controls .btn_type i.fa {
    font-size: 20px;
}
.ubi_popup_contact .drivectn .header .controls .dropdown,
.ubi_popup_contact .drivectn .header .controls .new-folder{
    min-width: auto;
    font-size: 12px;
}