
.grid_view {
    height: 100%;
    overflow: auto;
    /* text-align: justify; */
    padding: 20px;
}
.grid_view * {
    font-family: AlbertaSans, Roboto, sans-serif;
}
.grid_view .fa {
	font-family: FontAwesome !important;
}

.grid_view .fal {
    font-family: "Font Awesome 5 Pro" !important;
}

.grid_view .trailing_element:after {
    content: "";
    display: inline-block;
    width: 100%;
}

/**/

.grid_view DIV.item {
    position: relative;
    display: inline-block;
    vertical-align: top !important;
    width: 100%;
    background-color: #f8f8f8;
    margin: 0 1px 1px 0;
    line-height: 1em;
    color: #C5C5C5;
    text-align: center;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    aspect-ratio: 1;
    overflow: hidden;
    max-width: 300px;
    min-height: 195px;
}
.grid_view DIV.item.file:before {
	content: "";
	height: 50px;
	left: 0;
	top: 0;
	right: 0;
	z-index: 1;
	position: absolute;
	background: transparent;
	transition: opacity 0.5s ease;
	opacity: 0;
	background: -moz-linear-gradient(bottom, rgb(0, 0, 0, 0.4) 0%,rgba(255, 255, 255, 0) 100%);
	background: -webkit-linear-gradient(bottom, rgb(0, 0, 0, 0.4) 0%,rgba(255, 255, 255, 0) 100%);
	background: linear-gradient(to bottom, rgb(0, 0, 0, 0.4) 0%,rgba(255, 255, 255, 0) 100%);
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.grid_view DIV.item.file.active-hover:before {
	opacity: 1;
}


.grid_view DIV.item:is(.upload, .category):before,
.grid_view DIV.item:is(.upload, .category):after {
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;

    z-index: 1;
    position: absolute;
    background: transparent;
    transition: opacity 0.5s ease;
    opacity: 0;

    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%,rgba(255, 255, 255, 0) 150px);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%,rgba(255, 255, 255, 0) 150px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%,rgba(255, 255, 255, 0) 150px);
    transition: 0.5s ease;
    pointer-events: none;
}

@media screen and (max-width: 500px) {
    .grid_view DIV.item:is(.upload, .category):after {
        background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%,rgba(255, 255, 255, 0) 130px);
        background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%,rgba(255, 255, 255, 0) 130px);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%,rgba(255, 255, 255, 0) 130px);
    }
}

.grid_view DIV.item:is(.upload, .category):before {
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
}

@media screen and (max-width: 500px) {
    .grid_view DIV.item:is(.upload, .category):before {
        opacity: 0;
        
    }
}

.grid_view DIV.item:is(.upload, .category):not(.show-icon):after {
    opacity: 1;
}

@media screen and (max-width: 500px) {
    .grid_view DIV.item:is(.upload, .category):not(.show-icon):after {
        opacity: 1;
    }
}

.grid_view DIV.item:is(.upload, .category).show-icon .item_name .full-file-name,
.grid_view DIV.item:is(.upload, .category).show-icon .item_name .file-name,
.grid_view DIV.item:is(.upload, .category).show-icon .item_name .metadata svg *,
.grid_view DIV.item:is(.upload, .category).show-icon .item_name .metadata,
.grid_view DIV.item:is(.upload, .category).show-icon .item_name .metadata .divider:before {
    color: #242424;
    fill: #242424;
    transition: color 0.5s ease, fill 0.2s ease;
}

.grid_view DIV.item:is(.upload, .category).show-icon:is(:hover, .active-hover, .item_selected, .active-hover.item_selected) .item_name .full-file-name,
.grid_view DIV.item:is(.upload, .category).show-icon:is(:hover, .active-hover, .item_selected, .active-hover.item_selected) .item_name .file-name,
.grid_view DIV.item:is(.upload, .category).show-icon:is(:hover, .active-hover, .item_selected, .active-hover.item_selected) .item_name .metadata,
.grid_view DIV.item:is(.upload, .category).show-icon:is(:hover, .active-hover, .item_selected, .active-hover.item_selected) .item_name .metadata svg *,
.grid_view DIV.item:is(.upload, .category).show-icon:is(:hover, .active-hover, .item_selected, .active-hover.item_selected) .item_name .metadata .divider:before {
    color: white;
    fill: white;
}

.grid_view DIV.item:is(.upload, .category).item_selected:before,
.grid_view DIV.item:is(.upload, .category).active-hover.item_selected:before, 
.grid_view DIV.item:is(.upload, .category).active-hover:before,
.grid_view DIV.item:is(.upload, .category):hover:before {
    opacity: 1;
}

@media screen and (max-width: 500px) {
    .grid_view DIV.item:is(.upload, .category).show-icon:is(:hover, .active-hover, .item_selected, .active-hover.item_selected) .item_name .full-file-name,
    .grid_view DIV.item:is(.upload, .category).show-icon:is(:hover, .active-hover, .item_selected, .active-hover.item_selected) .item_name .file-name,
    .grid_view DIV.item:is(.upload, .category).show-icon:is(:hover, .active-hover, .item_selected, .active-hover.item_selected) .item_name .metadata,
    .grid_view DIV.item:is(.upload, .category).show-icon:is(:hover, .active-hover, .item_selected, .active-hover.item_selected) .item_name .metadata .divider:before {
        color: white;
    }

    .grid_view DIV.item:is(.upload, .category).item_selected:before,
    .grid_view DIV.item:is(.upload, .category).active-hover.item_selected:before, 
    .grid_view DIV.item:is(.upload, .category).active-hover:before,
    .grid_view DIV.item:is(.upload, .category):hover:before {
        opacity: 1;
    }
}

.grid_view DIV.item:is(.upload, .category).item_selected:after,
.grid_view DIV.item:is(.upload, .category).active-hover.item_selected:after,
.grid_view DIV.item:is(.upload, .category).active-hover:after,
.grid_view DIV.item:is(.upload, .category):hover:after {
    opacity: 0;
}


@media screen and (max-width: 500px) {
    .grid_view DIV.item:is(.upload, .category).item_selected:after,
    .grid_view DIV.item:is(.upload, .category).active-hover.item_selected:after,
    .grid_view DIV.item:is(.upload, .category).active-hover:after,
    .grid_view DIV.item:is(.upload, .category):hover:after {
        opacity: 0;
    }
}


.grid_view DIV.item:is(.upload, .category) {
	cursor: pointer;
	border: unset;
}

.grid_view DIV.item.file.active-hover {
	border: 1px solid #D5D5D5;
}
.grid_view DIV.item.file.active-hover .item_name {
	border-top: 1px solid #D5D5D5;
}
.grid_view DIV.item.file.item_selected,
.grid_view DIV.item.file.active-hover.item_selected {
	background: #EDF4FA !important;
	border: 1px solid #C3E3FF !important;
}
.grid_view DIV.item.file.item_selected .item_name,
.grid_view DIV.item.file.active-hover.item_selected .item_name {
	/* border-top: 1px solid #C3E3FF !important; */
	/* background: #EDF4FACC !important; */
	font-weight: bold !important;
}

.grid_view DIV.item.file.item-is-public {
	background: #f8f8f8;
	border: 1px solid #6CBF00;
}
.grid_view DIV.item.file.item-is-public .item_name {
	border-top: 1px solid #71D57C;
	background: #F2FFE2CC;
}
.grid_view DIV.item.file.item-is-public.active-hover {
	background: #DEF7BC !important;
	border: 1px solid #6CBF00;
}
.grid_view DIV.item.file.item-is-public.active-hover .item_name {
	border-top: 1px solid #71D57C;
	background: #DEF7BCCC !important;
}
.grid_view DIV.item.file.item-is-public.item_selected,
.grid_view DIV.item.file.item-is-public.active-hover.item_selected {
	background: #DEF7BC !important;
	border: 1px solid #6CBF00 !important;
}
.grid_view DIV.item.file.item-is-public.item_selected .item_name,
.grid_view DIV.item.file.item-is-public.item_selected.item_selected .item_name {
	border-top: 1px solid #6CBF00 !important;
	background: #DEF7BCCC !important;
    font-weight: bold !important;
}

.grid_view DIV.item.file.contextmenu-opened,
.grid_view DIV.item.file.item-is-public.contextmenu-opened,
.grid_view DIV.item.file.item-is-public.active-hover.contextmenu-opened {
	background: #DEF7BC !important;
	border: 1px solid #D5D5D5 !important;
}
.grid_view DIV.item.file.contextmenu-opened .item_name,
.grid_view DIV.item.file.item-is-public.contextmenu-opened .item_name,
.grid_view DIV.item.file.item-is-public.item_selected.contextmenu-opened .item_name {
	border-top: 1px solid #D5D5D5 !important;
	background: #F7F7F7CC !important;
}

.grid_view DIV.upload_header {
    position: relative;
    display: flex;
    vertical-align: middle !important;
    width: auto;
    padding: 0;
    line-height: 12px;
    color: #2b3d52;
    text-align: center;
    clear: both;
    margin: 0 15px 0 15px;
	height: 20px;
    min-height: 20px;
    color: #2b3d52;
}

.grid_view .item .overlay-on-hover {
	display: block;
	height: calc(100% - 51px) !important;
	height: 170px;
	position: absolute;
	left: 0;
	right: 0;
	z-index: 10001;
	background-color: transparent !important;
}

.grid_view .item.upload .overlay-on-hover {
    height: 100% !important;
}

.grid_view .item .overlay-on-hover .buttons {
	position: absolute;
	bottom: 47px;
	left: 0;
	right: 0;
	background-color: transparent !important;
}
.grid_view .item.file.active-hover .overlay-on-hover {
	height: 100%;
}

.grid_view .item .overlay-on-hover:not(.off-hover) .tools-top-left,
.grid_view .item .overlay-on-hover:not(.off-hover) .tools-top-right,
.grid_view .item .overlay-on-hover:not(.off-hover) .buttons {
	display: none !important;
}
.grid_view .item.active-hover .overlay-on-hover:not(.off-hover) .tools-top-left,
.grid_view .item.active-hover .overlay-on-hover:not(.off-hover) .tools-top-right,
.grid_view .item.active-hover .overlay-on-hover:not(.off-hover) .buttons {
	display: none !important;
}
.grid_view .item.active-hover  .overlay-on-hover:not(.off-hover) .tools-middle {
    display: flex !important;
}

.grid_view DIV.item SPAN.item-type,
.grid_view DIV.item SPAN.item-type-directory {
	display: none;
}

.grid_view DIV.item SPAN.item-type-directory,
.grid_view DIV.item SPAN.filename-extension {
	color: #2c3e52;
}


.grid_view DIV.item .glyphicon {
    display: none;
}


.grid_view DIV.item .modified_date ,
.grid_view DIV.item .date_created {
    display: none;
}

.grid_view DIV.item.is_folder {
    background-color: #f2f2f2 !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

#ie8 .grid_view DIV.item {
    border: 1px solid #d2d2d2;
}

.grid_view DIV.item A {
    text-decoration: none;
}

.grid_view DIV.item.blank {
    background-color: transparent;
    border: none !important;
    box-shadow: none; /* CSS3 */ 
    -moz-box-shadow: none; /* Firefox */  
    -webkit-box-shadow: none; /* Safari, Chrome */ 
    cursor: default; 
}


.grid_view DIV.item .file_size,
.grid_view DIV.item .file_count {
    position: absolute;
    z-index: 2;
    bottom: 0px;
    right: 12px;
    height: 17px;
    color: #a2aeb4;
    background-color: #fff !important;
    padding-left: 6px;
    display: none !important;
}
	.grid_view DIV.item .file_size .fa {
		font-size: 10px;
    	vertical-align: bottom;
	}


.grid_view DIV.item .thumb,
.grid_view DIV.item .file-icon,
.grid_view DIV.item .shared_folder_icon {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 170px;
    background-color: #f8f8f8;
    vertical-align: middle;
    font-size: 0.1px;
    overflow: hidden;
    text-align: center;
    text-align-last: center;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 0;
}

.grid_view DIV.item .file-icon {
    height: calc(100% - 20px);
}

.grid_view DIV.item.file .file-icon {
    height: calc(100% - 51px);
}

.grid_view DIV.item:is(.upload, .category) .thumb,
.grid_view DIV.item:is(.upload, .category) .file-icon,
.grid_view DIV.item:is(.upload, .category) .shared_folder_icon {
    background-color: #f2f2f2;
}



.grid_view DIV.item .shared_folder_icon {
    height: 100%;
}
.grid_view DIV.item .thumb IMG {
	position: absolute;
	top: 0;
	left: 0;
    width: 100%;
    min-height: calc(100% - 51px);
    max-height: 100%;
    object-fit: scale-down;
}
.grid_view DIV.item:is(.upload, .category) .thumb IMG {
    min-height: 100%;
    object-fit: cover;
}
.grid_view DIV.item .thumb:is(.upload-two-thumbs, .upload-three-thumbs) > img {
    display: inline-block;
    align-self: center;
    width: 50%;
    height: 100%;
    object-fit: cover;
}
.grid_view DIV.item .thumb .side-thumbs {
    display: inline-flex;
    flex-direction: column;
    border-left: 3px solid white;
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
}
.grid_view DIV.item .thumb.upload-three-thumbs .side-thumbs img {
    width: 100%;
    height: calc(50% - 1px);
    object-fit: cover;
    position: unset;
    min-height: unset;
}
.grid_view DIV.item .thumb.upload-two-thumbs .side-thumbs img {
    height: 100%;
    object-fit: cover;
}
.grid_view DIV.item .thumb.upload-three-thumbs .side-thumbs img:first-child {
    border-bottom: 3px solid white;
}



.grid_view DIV.item .file-icon I {
    font-size: 50px;
    line-height: 170px;
}
.grid_view DIV.item .file-icon img {
    height: 65px;
    max-height: 38%;
}
.grid_view DIV.item.category .file-icon .handle_image {
    display: none;
}

.grid_view DIV.item:is(.upload, .category) .file-icon img.folder-icon-closed {
	display: inline-block;
}
.grid_view DIV.item:is(.upload, .category) .file-icon img.folder-icon-opened {
	display: none;
}
.grid_view DIV.item:is(.upload, .category).active-hover .file-icon img.folder-icon-closed {
	display: none;
}
.grid_view DIV.item:is(.upload, .category).active-hover .file-icon img.folder-icon-opened {
	display: inline-block;
}

.grid_view DIV.item .file-icon .file-icon-ext {
    display: none;
    position: absolute;
    top: 6px;
    left: 0px;
    font-size: 12px;
    font-weight: bold;
    width: 100%;
}
.grid_view DIV.item .file-icon.gif .file-icon-ext {
    display: inline;
}

.grid_view DIV.item .file-icon .file-icon-locked ,
.grid_view DIV.item .thumb I.file-icon-locked ,
.grid_view DIV.item .file-icon .file-icon-signing-status ,
.grid_view DIV.item .thumb I.file-icon-signing-status {
    display: none;
}

.grid_view DIV.item .thumb I {
    font-size: 64px !important;
    line-height: 170px !important;
	position: absolute;
	top: 0;
	left: 50%;
	margin: 0 0 0 -32px;
	z-index: 10010;
	color: #fff;
    background-color: transparent !important;
    opacity: 0.7;
}
.grid_view DIV.item .overlay-on-hover .tools {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.grid_view DIV.item.file.active-hover .overlay-on-hover .tools,
.grid_view DIV.item:is(.upload, .category).active-hover .overlay-on-hover .tools {
    background-color: transparent !important;
}

.grid_view DIV.item .overlay-on-hover .tools .tools-top-right {
    position: absolute;
    z-index: 2;
    top: 6px;
    right: 6px;
    height: 18px;
    font-size: 17px;
    background-color: transparent !important;
}
.grid_view DIV.item  .overlay-on-hover:not(.off-hover) .tools .tools-top-right {
    display: none !important;
}

.grid_view DIV.item .overlay-on-hover .tools .tools-bottom-right {
    position: absolute;
    z-index: 3;
    bottom: -51px;
    right: 0;
    height: 51px;
    font-size: 17px;
    width: 35px;
    transition: opacity 0.5s ease;
    background-color: transparent !important;
}
.grid_view DIV.item.upload .overlay-on-hover .tools .tools-bottom-right {
    bottom: 0;
    opacity: 0;
    pointer-events: none;
}
.grid_view DIV.item.upload.active-hover .overlay-on-hover .tools .tools-bottom-right {
    opacity: 1;
    pointer-events: unset;
}


.grid_view DIV.item .overlay-on-hover .tools .tools-bottom-right a {
	opacity: 1;
	margin: 0;
	width: 35px;
}
.grid_view DIV.item .overlay-on-hover .tools .tools-bottom-right i {
	color: #1A2533 !important;
	line-height: 51px;
	font-size: 30px;
	transition: 0.5s ease;
}

.grid_view DIV.item .overlay-on-hover .tools A.ellipsis {
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 4px !important;
	background-image: url(/images/UI_icons/more.svg);
    height: 100%;
}
.grid_view DIV.item:is(.upload, .category) .overlay-on-hover .tools A.ellipsis {
	background-image: url(/images/UI_icons/white/more.svg);
}

.grid_view DIV.item .overlay-on-hover .tools .tools-top-left {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 8px;
    height: 18px;
    font-size: 17px;
    font-size: 0;
    background-color: transparent !important;
}
.grid_view DIV.item .overlay-on-hover .tools .tools-middle {
    position: absolute;
    z-index: 2;
    right: 0;
    left: 0;
    height: 100%;
    font-size: 0;
    background-color: transparent !important;
    text-align: center;
    text-align-last: center;
    display: flex;
    align-items: center;
    justify-content: center;
	width: 100%;
}
.grid_view DIV.item .overlay-on-hover:not(.off-hover) .tools .tools-middle .tools_button_download,
.grid_view DIV.item .overlay-on-hover:not(.off-hover) .tools .tools-middle .tools_button_buy,
.grid_view DIV.item .overlay-on-hover:not(.off-hover) .tools .tools-middle img {
	display:none;
} 
.grid_view DIV.item .overlay-on-hover.off-hover .tools .tools-middle {
    height: 100%;
}
	.grid_view DIV.item .overlay-on-hover.off-hover .tools .tools-middle a {
		width: 45px;
		height: 45px;
	    max-width: 30%;
        padding: 0;
	    margin: 0;
        opacity: 1;
	}
		.grid_view DIV.item .overlay-on-hover.off-hover .tools .tools-middle img {
			
		    height: 60px;
		}


.grid_view DIV.item .overlay-on-hover .tools A {
    display: inline-block;
    vertical-align: top !important;
    margin-left: 15px;
    text-align: center;
    background-color: transparent !important;
    color: #fff;
    opacity: 0.6;
    width: 18px;
}
.grid_view DIV.item .overlay-on-hover .tools A:first-child {
	margin-left: 0;
}

.grid_view DIV.item .overlay-on-hover .tools .tools-top A {
    width: 22px;
    height: 22px;
    font-size: 18px;
}
.grid_view DIV.item .overlay-on-hover .tools .tools-top A I {
	line-height: 22px;
	vertical-align: middle;
}

.grid_view DIV.item .overlay-on-hover .tools .tools-middle A {
	width: 100%;
	height: 100%;
    display: flex;
    align-items: center;
}
.grid_view DIV.item .overlay-on-hover .tools .tools-middle A img {
	width: 100%;
}
.grid_view DIV.item .overlay-on-hover.off-hover .tools .tools-middle {
	top: 0;
}


.grid_view DIV.item.file.active-hover .overlay-on-hover .tools A,
.grid_view DIV.item.is_folder.active-hover .overlay-on-hover .tools A,
.grid_view DIV.item.file.active-hover .overlay-on-hover .tools A I,
.grid_view DIV.item.is_folder.active-hover .overlay-on-hover .tools A I {
    background-color: transparent !important;
    color: #fff;
}
.grid_view DIV.item.active-hover .overlay-on-hover .tools A:hover {
    color: #fff;
    opacity: 1;
}


.grid_view DIV.item .download_button {
    display: block;
    position: absolute;
    z-index: 3;
    top: 134px;
    right: 4px;
    height: 13px;
}



.grid_view DIV.item .item_name {
    display: flex;
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 12px;
    min-height: 17px;
    overflow: hidden;
    text-align: left !important;
    width: 100%;
    left: 0;
    bottom: 0;
    word-break: break-all;
    box-sizing: border-box;
    border-top: 1px solid #EDEDED;
    line-height: 14px;
    padding: 5px 10px;
    height: 51px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background: #FFFFFFCC;
    flex-direction: column;
    justify-content: center;
}

.grid_view DIV.item .item_name a {
	display: inline-block;
	display: -webkit-box;
	width: auto;
	max-width: calc(100% - 30px);
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 27px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	color: #383838 !important;
    position: relative;
    font-size: 12px;
}
.grid_view DIV.item .item_name a:hover {
    text-decoration: underline;
}
.grid_view DIV.item:is(.upload, .category) .item_name a {
    max-height: unset;
    -webkit-line-clamp: unset;
    max-width: unset;
}
.grid_view DIV.item:is(.upload, .category) .item_name .file-name {
    display: none;
}

.grid_view DIV.item:is(.upload, .category) .item_name {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    line-height: 14px;
    padding: 15px 20px 12px 20px;
    min-height: 70px;
    justify-content: space-around;
    z-index: 2;
    height: auto;
    background: unset;
    border-top: unset;
}
.grid_view DIV.item:is(.upload, .category) .item_name > * {
    order: 1;
}
.grid_view DIV.item:is(.upload, .category) .item_name .file_delete {
    display: inline-flex;
    color: #EE2B3A;
    background: #fef1f2;
    line-height: 20px;
    padding: 0 10px;
    height: 20px;
    border-radius: 10px;
    font-size: 10px;
    align-items: center;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 5px;
    order: 0;
    width: fit-content;
    margin-bottom: 10px;
    align-content: flex-end;
    overflow: hidden;
}
.grid_view DIV.item:is(.upload, .category) .item_name .file_delete.orange {
    color: #F27330;
    background: #FDE6D9;
}
.grid_view DIV.item .file_delete_wrap {
    display: none;
}
.grid_view DIV.item .file_delete .icon {
    display: none;
}
@media only screen and (max-width: 500px) {
    .grid_view DIV.item .file_delete span {
        display: none;
    }
    .grid_view DIV.item .file_delete .icon {
        display: block;
        height: 10px;
        width: 10px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        background-image: url(/images/UI_icons/red/trash.svg);
    }
    .grid_view DIV.item .file_delete.orange  .icon {
        background-image: url(/images/UI_icons/orange/trash.svg);
    }
}
 
.grid_view DIV.item:is(.upload, .category) .item_name .full-file-name {
    line-height: 16px;
    text-overflow: ellipsis;
    font-size: 14px;
    color: white;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: unset;
    margin-bottom: 3px;
    overflow-wrap: anywhere;
}
.grid_view DIV.item:is(.upload, .category) .item_name .metadata {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: white;
    font-size: 12px;
    line-height: 12px;
    height: 25px;
    margin-top: unset;
    /* margin-right: 20px; */
}
@media screen and (max-width: 500px) {
    .grid_view DIV.item:is(.upload, .category) .item_name .metadata {
        height: 15px;
    }
}
.grid_view DIV.item:is(.upload, .category) .item_name .metadata .divider {
    position: relative;
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 3px;
    height: 100%;
}
.grid_view DIV.item:is(.upload, .category) .item_name .metadata .divider:before {
    content: "|";
    color: white;
    background: unset;
    width: 3px;
    height: 14px;
    position: absolute;
    left: 50%;
    top: 59%;
    transform: translate(-50%, -50%);
}

.grid_view DIV.item .item_name .file-name {
	display: none;
}

.grid_view DIV.item .item_name .file_count {
    float: right;
}


.grid_view A.tools_price_button  {
    color: white !important;
    font-size: 12px;
    padding: 0 13px;
    background-color: #43B21A;
    border-radius: 13px;
    z-index: 10002;
    position: absolute;
    margin: auto;
    line-height: 26px;
    bottom: unset;
    left: 7px;
    transition: 0.5s ease;
}
.grid_view A.tools_price_button:hover {
    background-color: #3A9C17;
}
A.top_button_download {
	position: absolute;
	right: 9px;
	top: 7px;
	z-index: 10002;
	display: none;
}
A.top_button_download img {
	height: 13px;
}
.item A.top_button_download {
	display: block;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.item.active-hover A.top_button_download {
	opacity: 1;
}
    .grid_view .tools_price_button.has_value span {
	    padding: 0 2px;
		font-size: 15px;
	}
	.grid_view .tools_price_button .fal {
		color: white !important;
	}
	.grid_view .tools_price_button.has_value .fa {
		margin: 0 0 0 2px;
	}

.grid_view .show-checkboxes div.item .top_button_download,
.grid_view:not(.face-mode) .show-checkboxes div.item .tools,
.grid_view.face-mode .show-checkboxes div.item .tools .tools-bottom-right,
.grid_view.face-mode .show-checkboxes div.item .item_selection_chkbox_container,
.grid_view .show_select_boxes div.item .top_button_download,
.grid_view .show_select_boxes div.item .tools {
    display: none !important;
}

.list_item_printing_order_button {
    border: 1px solid white;
    border-top-right-radius: 32px;
    padding: 0 20px 0 10px;
    background-color: rgba(45, 62, 80, 0.5) !important;
    border-bottom: 0;
    border-left: 0;
    width: auto !important;
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0.6;
}
.list_item_printing_order_button:hover {
	opacity: 1;
}
	.list_item_printing_order_button .fa {
		margin-right: 5px;
	}
	
DIV.item .overlay-on-hover .buttons A.list_item_eparaksts_button {
    color: black !important;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 0 10px;
    background-color: rgba(184, 213, 245, 0.5);
    width: auto !important;
    position: absolute;
    right: 0;
    bottom: 5px;
    display: none;
}
	.list_item_eparaksts_button img {
		height: 20px;
	    position: relative;
	    top: -1px;
	}
	
.grid_view .preview-icon-svg.dark {
	display: none;
}	
.grid_view .preview-icon-svg.light {
	display: inline-block;
}

.grid_view .download-icon-svg-light {
	display: inline-block;
}
.grid_view .download-icon-svg-dark {
	display: none;
}



.item_selection_chkbox_container {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
   
}
.grid_view .item_selection_chkbox_container {
	padding-left: 2px;
    top: 5px;
    left: 2px;
    height: 14px;
}
.grid_view DIV.item:is(.upload, .category) .item_selection_chkbox_container {
    top: 12px;
    left: 12px;
}
.item_selection_chkbox_container input[type="checkbox"] {
    display: none;
}
.item_selection_chkbox_container input[type="checkbox"] + label {
    background: url(/images/UI_icons/inputs/checkbox_filled.svg) no-repeat left center transparent;
    background-size: 14px;
    padding: 0;
    padding-left: 14px;
    line-height: 14px;
    height: 100%;
}
.grid_view .item.active-hover .item_selection_chkbox_container input[type="checkbox"] + label {
	background-image: url(/images/UI_icons/inputs/checkbox_filled.svg);
}
.item_selection_chkbox_container input[type="checkbox"]:checked + label:after {
    content: ' ';
    font-size: 14px;
    width: 14px;
    height: 14px;
    position: absolute;
    background: url(/images/UI_icons/inputs/checkbox_checked.svg) no-repeat left center transparent;
    background-size: 14px;
    left: 0;
    top: calc(50% - 7px);
}

.grid_view .item_selection_chkbox_container {
    z-index: 10002;
    opacity: 0;
    display: inline-block;
    transition: opacity 0.5s ease;
}
.grid_view .item.active-hover .item_selection_chkbox_container ,
.grid_view .item.item_selected .item_selection_chkbox_container {
    left: 2px;
    top: 5px;
	opacity: 1;
}
.grid_view .item_selection_chkbox_container input[type="checkbox"] + label {
    height: 14px !important;
    position: relative;
}

.grid_view .file_context_menu {
    display: none;
    float: left;
    min-width: 160px;
    padding: 0 0 5px 0;
    font-size: 14px;
    list-style: none;
    background-color: #fff;
    border-radius: 4px;
    max-width: 250px;
    overflow: hidden;
    -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 13%);
    box-shadow: 0 0 10px rgb(0 0 0 / 13%);
    border: 1px solid #E3E3E3;
    margin: 0;
    min-width: 235px;
    text-align: left;
    flex-direction: column;
}
.grid_view .file_context_menu .divider {
    padding: 5px 0;
    background-color: #EDEDED;
    height: 1px;
    overflow: hidden;
    margin: 0;
    background: repeating-linear-gradient( 180deg, #EDEDED 40%, #EDEDED 50%, #fff 50%, #fff 100%);
}
.grid_view .file_context_menu > li {
    padding: 0;
    background: white;
}
.grid_view .file_context_menu > li > a {
    display: block;
    padding: 3px 15px 3px 0;
    clear: both;
    white-space: nowrap;
    height: 26px;
    line-height: 26px;
    color: #1A2533 !important;
    transition: 0.5s ease;
    font-size: 14px;
}
@media only screen and (max-width: 400px) {
    .grid_view .file_context_menu > li > a  {
        padding: 2px 15px 2px 0;
    }
}
    
.grid_view .file_context_menu > li > a:hover, .file_context_menu > li > a:focus {
    color: #1A2533;
    background-color: #F2F5F8;
}
.grid_view .file_context_menu .context-img {
    display: inline-flex;
    min-width: 40px;
    justify-content: center;
}
.grid_view .file_context_menu img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}
.grid_view .file_context_menu I {
    min-width: 24px;
    text-align: left;
    color: #1A2533;
}
.grid_view DIV.item .file_downloads,
.grid_view DIV.item .file_views,
.grid_view DIV.item .file_version,
.grid_view DIV.item .file_comments,
.grid_view DIV.item .file_price
{
    display: none !important;
}

.grid_view A.tools_price_button {
    bottom: 57px;
}
.grid_view DIV.item .folder-access {
	position: absolute;
	display: flex;
	z-index: 11111;
	left: 7px;
	gap: 5px;
    bottom: 57px;
    transition: 0.5s ease;
}
.grid_view DIV.item.item-has-price .folder-access {
    bottom: 88px;
}
.grid_view DIV.item .folder-access .comment,
.grid_view DIV.item .folder-access .vote {
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color .5s ease,color .5s ease;
    display: inline-block;
    background: rgb(0 0 0 / 75%);
    background-repeat: no-repeat !important;
    background-position: center;
    background-image: url(/images/UI_icons/white/like.svg);
    background-size: 13px;
    cursor: default;
    opacity: 0.75;
    transition: opacity 0.5s ease;
}
.grid_view DIV.item .folder-access .comment:hover {
    opacity: 1;
}
.grid_view DIV.item .folder-access .vote:active {
	pointer-events: none;
}

.grid_view DIV.item .folder-access .comment {
    display: inline-block;
    background-image: url(/images/UI_icons/white/chat.svg);
    cursor: pointer;
    opacity: 0.75;
}

.grid_view DIV.item .folder-access .folder-access-image {
    display: none;
}

/*** Mobile ***/
@media only screen and (max-width: 450px) {
    .grid_view DIV.item .file_downloads,
    .grid_view DIV.item .file_views,
    .grid_view DIV.item .file_version,
    .grid_view DIV.item .file_comments,
    .grid_view DIV.item .file_price
    {
        display: none !important;
    }
}

@media only screen and (max-width: 500px) {
    .grid_view DIV.item {
        min-height: 150px;
    }
	.grid_view DIV.item .thumb IMG {
        min-height: calc(100% - 30px);
    }
	.grid_view DIV.item.file .file-icon {
        height: calc(100% - 30px);
    }
	.grid_view DIV.item .item_name{
		height: 30px
	}
    .grid_view .item .overlay-on-hover {
        height: calc(100% - 30px) !important;
    }
    .grid_view A.tools_price_button {
        bottom: 36px;
    }
    .grid_view DIV.item .folder-access {
        bottom: 36px;
    }
	.grid_view DIV.item.item-has-price .folder-access {
        bottom: 67px;
    }
    .grid_view DIV.item:is(.upload, .category) .item_name {
        padding: 15px 25px 15px 15px;
    }
    .grid_view DIV.item:is(.upload, .category) .item_name .full-file-name {
        -webkit-line-clamp: 3;
    }
	.grid_view DIV.item .item_name a {
        -webkit-line-clamp: 1;
        max-width: calc(100% - 38px);
    }
	.grid_view DIV.item .overlay-on-hover .tools A {
	    margin-left: 5px;
	}
    .item_selection_chkbox_container input[type="checkbox"] + label {
        min-height: 18px !important;
        background-size: 18px;
        padding-left: 18px;
        line-height: 18px;
    }
    .item_selection_chkbox_container input[type="checkbox"]:checked + label:after {
        height:18px !important;
        background-size: 18px;
        padding-left: 18px;
        top: calc(50% - 9px);
    }
    .grid_view .item_selection_chkbox_container {
        height: 20px;
    }
	.grid_view .item_selection_chkbox_container input[type="checkbox"] + label {
        min-height: 20px !important;
        background-size: 20px;
        padding-left: 20px;
        line-height: 20px;
    }
    .grid_view .item_selection_chkbox_container input[type="checkbox"]:checked + label:after {
        height:20px !important;
        background-size: 20px;
        padding-left: 20px;
        top: calc(50% - 10px);
    }
	.grid_view .show-checkboxes .item .item_selection_chkbox_container{
		left: 2px;
		top: 5px;
		opacity: 1;
	}
	.grid_view A.top_button_download img {
	    height: 16px;
	}
	.grid_view DIV.item.upload .overlay-on-hover .tools .tools-bottom-right {
        bottom: 0;
    }
    .grid_view DIV.item.file .overlay-on-hover .tools .tools-bottom-right {
        height: 30px;
        bottom: -30px;
    }
    .grid_view DIV.item .overlay-on-hover .tools .tools-bottom-right i {
        line-height: 30px;
    }
}

@media only screen and (min-width: 501px) {
	.grid_view DIV.item .overlay-on-hover .tools .tools-bottom-right a:hover i {
		color: #1389FE !important;
	}
}

@media only screen and (hover: hover) {
    .item:hover A.top_button_download {
        opacity: 1;
    }
    .grid_view .item:hover .item_selection_chkbox_container input[type="checkbox"] + label {
        background-image: url(/images/UI_icons/inputs/checkbox_filled.svg);
    }
    .grid_view .item:hover .item_selection_chkbox_container {
        left: 2px;
        top: 5px;
        opacity: 1;
    }
}
