    :root {
        --color-green: #326E5B;
        --color-green-hover: #408c74;
        --color-green-active: #2c6050;
        --color-black: #444444;
        --color-gray: #B7BDCE;
        --color-white: #FFFFFF;
        --color-gray-white: #FAFAFA;
        --color-gray-rgba: rgba(183, 189, 206, 0.3);
        --font-family-main: 'Source Serif Pro';
        --font-family-add: 'Proxima Nova';
    }


    .file-stream__item {
        display: flex;
        width: 195px;
        /* flex: 1 0 20%; */
        overflow: hidden;

        filter: drop-shadow(0px 2px 15px rgba(0, 0, 0, 0.12));
        border-radius: 8px;
        border-radius: 8px;
    }
    .file-stream__item label {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
    }

    .file-stream__image {
        display: flex;
        overflow: hidden;
        width: 100%;
        height: 155px;
    }
    .file-stream__image.icon {
        justify-content: center;
        align-items: center;
        height: 100%;
        background-color: whitesmoke;
    }
    .file-stream__item img{
        height: auto;
        object-fit: cover;
        /* position: absolute;
        top: 0;
        left: 0;
        transform: translate(-50%,-50%); */
    }


    .file-stream-item__title {


        font-family: var( --font-family-add );
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;

        background: var( --color-white );
        padding: 8px;

        color: var( --color-black );

        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .file-stream-item__active .file-stream-item__title{
        color:var( --color-white );;
        background: var( --color-green-hover );
    }

    .file-stream__item--icon {
        display: none;
    }
    .file-stream-item__active .file-stream__item--icon {
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
    }


    .ndmodal__header.file-stream__header {
        display: flex;
        align-items: center;
        gap: 50px;
        padding-left: 65px ;
        border-bottom: 1px solid rgba(183, 189, 206, 0.3);
    }
    .file-stream_search {
        display: flex;
        position: relative;
        min-width: 50%;
    }
    .file-stream_search svg {
        position: absolute;
        right: 12px;
        top: 50%;
        transform:translateY(-50%);
    }
    input[name='file-stream__search-input'] {
        font-style: normal;
        color: var(--color-gray);
    }
    .ndmodal.file-stream__modal {
        z-index: 55555;
    }
    .ndmodal.file-stream__modal .ndmodal-content__files {
        width: 100%;
    }
    .file-stream__modal .file-stream__nav {
        padding: 0 65px;
        font-family: var( --font-family-add );
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;

        display: flex;
        justify-content: space-between;

        color: var(--color-black);
        border-bottom: 1px solid var(--color-gray-rgba);

        overflow: hidden;
    }

    .file-stream-nav__list {
        display: flex;
        flex-direction: row;
    }

    .file-stream-nav__item {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 25px 12px;
        color: var(--color-gray);
        font-family: var( --font-family-add );
        font-size: 16px;
        font-weight: 700;
    }

    .file-stream-nav__item:first-child {
        margin-left: -12px;
    }
    .file-stream-nav__item:last-child {
        margin-right: -12px;
    }


    .file-stream-nav__item:hover {
        cursor: pointer;
        color: var(--color-green-active);
    }
    .file-stream-nav__item--active {
        color: var(--color-green);

    }
    .file-stream-nav__item--active::after {
        position: absolute;
        content: "";
        width: 85%;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        height: 4px;
        border-radius: 10px 10px 0 0;
        background: var(--color-green-active);
    }




    .file-stream__modal .ndmodal-content {
        padding: 0;
        background: var(--color-white);
    }
    .file-stream__modal .ndmodal-content #file-stream__wrapper {
        position: relative;
        --fs-height: 450px;
        --fs-width: calc( 130px + (195px * 4) + 30px + 8rem);
        min-height: var(--fs-height);
        width: var(--fs-width);

    }
    .file-stream__modal .ndmodal-content .ndmodal-content__files{
        width: 100%;
        min-height: 450px;
    }

    .file-stream__modal .ndmodal__inner {
        position: relative;
        display: flex;
        flex-direction: column;
    }


    .file-stream__modal .file-stream__list,
    .file-stream__modal .file-folder-images__list{
        display: none;
        flex-direction: row;
        flex-wrap: wrap;

        position: relative;
        padding:20px 65px 5px;

        min-height: var(--fs-height);
        max-height: var(--fs-height);
        width: var(--fs-width);
        overflow-y: auto;
        gap: 10px;
        position:relative;
    }
    .file-stream__modal .file-folders__list {
        display: none;
        flex-direction: column;
        padding: 20px 65px 5px;
        font-family: var( --font-family-add );
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        color: var(--color-black);

        min-height: var(--fs-height);
        max-height: var(--fs-height);
        overflow-y: auto;
    }
    .file-stream__modal .file-audio__list {
        display: none;
        flex-direction: row;
        flex-wrap: wrap;

        position: relative;
        padding:20px 65px 5px;

        min-height: var(--fs-height);
        max-height: var(--fs-height);
        width: var(--fs-width);
        overflow-y: auto;
        gap: 10px;
        position:relative;
    }



    .file-stream__modal .file-folders__list ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .file-stream__modal .file-folders__list li {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        /* height: 50px; */
        gap: 15px;
        overflow: hidden;
    }

    .file-stream__modal .file-folders__list img,
    .file-stream__modal .file-folders__list svg {
        height: 40px;
        width: 40px;
        border-radius: 8px;
    }
    .file-stream__modal .file-folders__list .folder-item-str {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        border-radius: 8px;
        min-width: 150px;
        padding-right: 5px;
    }
    .file-stream__modal .file-folders__list .folder-item-str:hover {



    }


    .file-stream__modal .file-folders__list .fs-folder-name:hover,
    .file-stream__modal .file-folders__list .fs-folder-name:active {
        color: var(--color-green);
    }

    .file-stream__modal .file-folders__list .folder-item-str .folder-item-info {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;

        padding-right: 55px;
    }

    .file-stream__modal .file-folders__list .folder-item-str .folder-item-image {

        border-radius: 4px;
        background: rgba(183, 189, 206, 0.30);
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;


    }
    .file-stream__modal .file-folders__list .folder-item-str .folder-item-image svg{

        width: 20px;
        height: 20px;


    }

    .file-stream__modal .file-folders__list .folder-item-str .folder-item-info .folder-item__count {
        position: relative;
        color: var(--color-green);
        font-size: 12px;
        margin-left: -5px;
        margin-top: -10px;
    }


    .file-stream__modal .file-folders__list .folder-item-str .dropdown-arrow {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 24px;
        width: 24px;
        border-radius: 100%;
    }
    .file-stream__modal .file-folders__list .folder-item-str .dropdown-arrow:hover {
        background-color: rgba(183, 189, 206, 0.2);
    }

    .file-stream__modal .file-folders__list .folder-item-str .dropdown-arrow:active {
        background-color: var(--color-gray-rgba);
    }


    .file-stream__modal .file-folders__list .folder-item-str .dropdown-arrow.dropdown-arrow--hide i {
        transform: rotate(0deg);
    }
    .file-stream__modal .file-folders__list .folder-item-str i {
        width: 100%;
        height: 100%;
        cursor: pointer;
        transform: rotate(180deg);
    }

    .file-stream__modal .file-folders__list .folder-item-str i::before{
        background-color: var(--color-gray);
    }
    .file-stream__modal .file-folders__list .folder-item-str i:hover::before,
    .file-stream__modal .file-folders__list .folder-item-str i:active::before{
        background-color: var(--color-black);
    }


    .file-stream__modal .file-folders__list .folder-item > .folder-children{
        margin-left: 40px;

        transition: 1s all ease-in-out;

    }
    .file-stream__modal .file-folders__list .folder-item > .folder-children.sub-folder--hide {
        position: absolute;
        top: 0;
        height: 0;
        opacity: 0;
    }




    .file-stream__modal .file-stream__section.file-list--active {
        display: flex;
    }


    .file-stream_breadcrumbs {
        padding: 20px 65px 20px;
        color: var(--color-black);
        font-family: var( --font-family-add );
        font-size: 16px;
        font-weight: 400;
        display: flex;
        gap: 5px;
    }
    .file-stream_breadcrumbs span:first-child {
        color: var(--color-gray);
    }
    .file-stream_breadcrumbs span:not(:last-child) {
        cursor: pointer;
    }
    .file-stream_breadcrumbs span:not(:last-child):hover {
        color:var(--color-green);
    }

    .file-stream_breadcrumbs i{
        display: block;
        width: 20px;
        height: 20px;
        transform: rotate(-90deg);
    }
    .file-stream_breadcrumbs i::before{
        background-color: var(--color-gray);
    }

    .file-stream__list p.none_item{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .file-stream__proccess {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 25px;
        padding: 15px;
        width: 100%;
        height: 100%;
        background-color: var(--color-gray-white);
        z-index: 10;
    }
    .file-stream__proccess .ndmodal-img-container{
        display: flex;
        width: 150px;
        height: 150px;
        border: 1px solid;
    }
    .file-stream__proccess .ndmodal-img-container .nd-icon.nd-icon__image{
        display: flex;
        width: 150px;
        height: 150px;
    }

    .file-stream__modal  .ndmodal-content__footer {
        width: 100%;

        display: flex;
        flex-direction: row;
        gap: 20px;
        padding: 12px 65px;
        background: var(--color-white);
        box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0px 0px 15px 15px;
    }

    .file-stream__modal button {
        padding: 12px 24px;
    }

    .file-stream__modal .file-stream__nav p {
        margin: unset;
    }

    .file-stream__btn-upload {
        padding: 8px 0;
        font-family: var( --font-family-add );
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
    }
    .file-stream__btn-upload label {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 10px 20px;
        color: var(--color-white);
        background: var(--color-green);
        border-radius: 100px;
    }
    .file-stream__btn-upload label:hover {
        cursor: pointer;
        color: var(--color-green-hover);
    }
    .file-stream__btn-upload label:hover  svg * {
        stroke: var(--color-green-hover);
    }
    .file-stream__btn-upload svg {
        display: flex;
        flex: 0 0 auto;
    }
    .file-stream__btn-upload svg * {
        stroke: var(--color-white);;
    }




    .file-stream__modal [type="file"] {
        display: none;
    }



.file-stream__item:hover label  {
    cursor: pointer;
}


.file-stream__empty {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ndmodal p.file-stream-empty__title {
    margin: 20px 0 8px 0;
    font-family: var( --font-family-main );
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    color: var(--color-black);
}
.file-stream__empty span {
    font-family: var( --font-family-add );
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: var(--color-black);
}

@media screen and (max-width: 650px) {

    /* html {
        margin-top: 0 !important;
    }

    #wpadminbar {
        display: none;
    } */

    .ndmodal.file-stream__modal .ndmodal__inner{

        height: calc( 100svh - 65px );
        overflow: hidden;

    }
    .file-stream__modal .ndmodal-content {
        height: calc( 100%);
        overflow: hidden;
    }
    .file-stream__modal .ndmodal-content .ndmodal-content__files {
        min-height: unset;
        height: 100%;
    }

    .file-stream__modal .ndmodal__inner{
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .ndmodal__header.file-stream__header {
        padding: 12px 10px;
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .file-stream__modal .ndmodal__close {
        right: 10px;
        top: 10px;
        transform: unset;
    }
    .file-stream_search {
        /* display: none; */
        width: 100%;
    }

    .file-stream__modal  .ndmodal-content__footer {
        position: absolute;
        width: 100%;
        bottom: 0;

    }

    .file-stream__modal .ndmodal-content #file-stream__wrapper {
        position: relative;
        --fs-width: calc( 130px + (195px * 4) + 30px + 8rem);
        --fs-item-height: 165px ;
        min-height: unset;
        width: 100%;
        height: calc(100% - 85px);
        overflow: hidden;

    }
    .file-stream_breadcrumbs {
        align-items: center;
        padding: 20px 15px 20px;
        color: var(--color-black);
        font-family: var( --font-family-add );
        font-size: 16px;
        font-weight: 400;
        display: flex;
        gap: 5px;
    }
    .fs-breadcrumbs__home {
        display: none;
    }
    .file-stream_breadcrumbs i {
        width: 30px;
        height: 30px;
        transform: rotate(90deg);
    }
    .file-stream_breadcrumbs i::before {
        background-color: var(--color-black);
    }

    .file-stream__modal .file-stream__list,
    .file-stream__modal .file-folder-images__list {
        padding: 10px;
        width: 100%;
        min-height: unset;
        max-height: unset;
        gap: unset;
        height: 100%;
    }

    .file-stream__modal .file-folders__list {
        padding: 10px;
        max-height: unset;
        min-height: unset;
        height: 100%;
    }

    .file-stream__list {
        width: 100%;
        padding: 10px;
    }


    .file-stream__item {
        flex: 0 0 calc(50% - 6px);
        margin: 3px;
    }
    .ndmodal-content {
        order: 2;
    }

    .file-stream__modal .ndmodal-content .ndmodal-content__files{
        width: 100%;
    }
    .file-stream__modal .ndmodal-content__footer {
        display: none;
        flex-direction: column;
        padding: 12px 15px;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .file-stream__modal button {
        padding: 18px 24px;
    }
    .file-stream__modal .file-stream__nav {
        flex: 0 0 auto;
        justify-content: flex-start;
        padding: 0 15px;
        border-top: 1px solid #eee;
        border-bottom: 1px solid var(--color-gray-rgba);
    }
    .file-stream-nav__item {
        padding: 25px 12px;
    }
    .file-stream__btn-upload {
        position: absolute;
        bottom: 68px;
        left: 0;
        z-index: 5;
        background: var(--color-white);
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 20px 0;
    }
    .file-stream__btn-upload label {
        justify-content: center;
        width: 100%;
        margin: 0 10px;

        text-align: center;
        font-family: var( --font-family-add );
        font-size: 16px;
        font-weight: 700;
    }

    .file-stream__modal .file-stream__nav p {
        display: none;
    }
    .file-stream__modal #btnUploadFilesStream {
        font-family: var( --font-family-add );
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
    }
}
@media (max-width: 650px) and (orientation: landscape) {

    .ndmodal__header.file-stream__header {
        padding: 10px;
    }


    .ndmodal__inner {
        overflow-y: scroll;
        height: 100%;
    }

    .file-stream__modal .file-stream__list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        min-height: 350px;
        max-height: 350px;
        width: calc( 130px + (195px * 4) + 30px + 8rem);
        overflow-y: auto;
        gap: 10px;
        position: relative;
    }


}