@charset "utf-8";
/*-------------------------
	File manager
-------------------------*/


#MediaModal .modal-body, .filemanager {
	position: static;
}

#MediaModal .modal-body {
	min-height:50vh;
}

/*-------------------------
	Breadcrumps
-------------------------*/


.filemanager .breadcrumbs {
	color: var(--bs-primary-text);
	//font-size: 1.2rem;
	//font-weight: 500;
	line-height: 35px;
}

.filemanager .breadcrumbs a:link, .breadcrumbs a:visited {
	color: var(--bs-primary-text);
	text-decoration: none;
}

.filemanager .breadcrumbs a:hover {
	color: var(--bs-link-color);
}

.filemanager .breadcrumbs .arrow {
	color: var(--bs-secondary-border-subtle);
	//font-size: 24px;
	font-weight: 500;
	line-height: 20px;
}


/*-------------------------
	Search box
-------------------------*/


.filemanager .top-right {
	right: 0;
	font-size: 17px;
	background-color: var(--bs-body-bg);
	color: var(--bs-primary-text);
	display: block;
	position: sticky;
	top: 0;
	padding: 0.5rem 1rem 0.5rem;
	z-index:2;
}

.filemanager .search {
	float:right;
    position:relative;
	cursor: pointer;
}


.filemanager .upload {
    margin:3rem;
    padding:0rem;
    padding:1rem;
    border:3px dashed var(--bs-border-color);
    position:relative;
    min-height:200px;
}

.filemanager .upload h3 {
    padding:1rem 4rem;
}

.filemanager .upload button#upload-close {
	position:absolute;
	right:1rem;
	z-index:1000
}

.filemanager .upload input[type=file] {
    position:absolute;
    z-index:100;
    top:0;
    left:0;
    width:100%;
    height:100%;
    padding:7rem 5rem 5rem;
    display:block !important;
    font-size:1rem;
}

.filemanager .upload input[type=file]::-webkit-file-upload-button
/*,.filemanager .upload input[type=file]::file-selector-button */
{
  visibility: hidden;
}

.filemanager .upload input[type=file]::before {
  content: 'Choose files';
  color: white;
  display: inline-block;
  background: -webkit-linear-gradient(top, #0d6efd, #0a58ca);
  border: 1px solid #0d6efd;
  border-radius: 3px;
  padding: 0.7rem 1.4rem;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  //text-shadow: 1px 1px var(--bs-body-bg);
  font-size: 1rem;
  font-weight:500;
  box-shadow:1px 1px 2px 1px rgba(0, 0, 0, 0.07), -1px 1px 2px 0px rgba(255, 255, 255, 0.15) inset;
}
.filemanager .upload input[type=file]:hover::before {
  border-color: black;
}
.filemanager .upload input[type=file]:active {
  outline: 0;
}
.filemanager .upload input[type=file]:active::before {
  background: -webkit-linear-gradient(top, #0a58ca, #0d6efd); 
}


.filemanager .search:before {
	content: '';
	position: absolute;
	margin-top:7px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid var(--bs-tertiary-color);
	right: 10px;
}

.filemanager .search:after {
	content: '';
	width: 3px;
	height: 10px;
	background-color: var(--bs-tertiary-color);
	border-radius: 2px;
	position: absolute;
	top: 18px;
	right: 9px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.filemanager .search input[type=search] {
	border-radius: 2px;
	color: var(--bs-secondary);
	background-color: var(--bs-border-color);
	width: 250px;
	height: 35px;
	padding-left: 20px;
	text-decoration-color: var(--bs-secondary);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	display: none;
	outline: none;
	border: none;
	padding-right: 10px;
	-webkit-appearance: none;
}

::-webkit-input-placeholder { /* WebKit browsers */
	color:    var(--bs-secondary);
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color:    var(--bs-secondary);
	opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color:    var(--bs-secondary);
	opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color:    var(--bs-secondary);
}


/*-------------------------
	Content area
-------------------------*/

.filemanager .data {
	margin: 0px;
	padding: 0px;
	z-index: -3;
}

.filemanager .data.animated {
	-webkit-animation: showSlowlyElement 500ms; /* Chrome, Safari, Opera */
	animation: showSlowlyElement 500ms; /* Standard syntax */
}

.filemanager .data li {
	border-radius: 3px;
	/*background-color: #fafafa;*/
	border: 1px solid var(--bs-border-color);
	width: 300px;
	height: 118px;
	list-style-type: none;
	margin: 10px;
	display: inline-block;
	/*
	position: relative;
	*/
	overflow: hidden;
	padding: 0.3em;
	z-index: 1;
	cursor: pointer;
	box-sizing: border-box;
	transition: 0.3s background-color;
	padding:0;
}

.filemanager .data li:hover, .filemanager .data li.active {
	padding:0px;
	border-color: #007bff;
	border-width: 1px;
	outline: 1px solid #007bff;	
	box-shadow:0px 0px 1px 3px rgba(0, 0, 0, 0.07);

}

.filemanager .data li.folders {
	padding-top:1.5rem;
	padding-left:1.5rem;
}

.filemanager .data li a {
	text-decoration:none;
}

.filemanager .data li label.form-check {
	font-size:1.2rem;
	height:100%;
	padding:0;
}

.filemanager .data li label.form-check .form-check-input {
    border-color: #ddd;
    float:right;
	margin:0.5rem;
}

.filemanager .data li .info {
	//margin-top:1rem;
	//margin-top: 15px;
}

.filemanager .data li .name {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4rem;
	max-height:3rem;
	overflow: hidden;
	text-overflow: ellipsis;
}

.filemanager .data li .details {
	color:var(--bs-secondary-text);
	font-size: 13px;
	font-weight: 400;
	white-space: nowrap;
	display:block;
}

.filemanager .nothingfound {
	/*background-color: rgba(var(--bs-primary-rgb), 0.1);*/
	border:1px solid var(--bs-primary-bg-subtle);
	width: 23em;
	height: 21em;
	margin: 0 auto;
	border-radius:20px;
	text-align:center;
	-webkit-animation: showSlowlyElement 500ms; /* Chrome, Safari, Opera */
	animation: showSlowlyElement 500ms; /* Standard syntax */
}

.filemanager .nothingfound .nofiles {
	margin: 30px auto;
	border-radius: 50%;
	position:relative;
	background-color: var(--bs-primary-bg-subtle);
	width: 11em;
	height: 11em;
	line-height: 15em;
}

.filemanager .nothingfound .nofiles i { 
    font-size: 7rem;
    transform: rotate(270deg);
    line-height: 1rem;
}
/*
.filemanager .nothingfound .nofiles:after {
    content: 'x';
    position: absolute;
    color: var(--bs-body-bg);
    font-size: 12em;
    margin-right: 2rem;
    line-height: 0.76;
    font-weight: 600;
    right: 0;
}
*/

.filemanager .nothingfound span {
	margin: 0 auto auto;
	//color: var(--bs-body-bg);
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	height: 13px;
	position: relative;
	top: 2em;
}

@media all and (max-width:965px) {

	.filemanager .data li {
		width: 100%;
		margin: 5px 0;
	}

}

/* Chrome, Safari, Opera */
@-webkit-keyframes showSlowlyElement {
	100%   	{ transform: scale(1); opacity: 1; }
	0% 		{ transform: scale(0.9); opacity: 0; }
}

/* Standard syntax */
@keyframes showSlowlyElement {
	100%   	{ transform: scale(1); opacity: 1; }
	0% 		{ transform: scale(0.9); opacity: 0; }
}


/*-------------------------
		Icons
-------------------------*/

.files .image
{
	display:inline-block;
	margin:0px 10px 0px 0px;
	max-width:200px;
	max-height:120px;
	background-position: center center;
	background-size: 100%; 
	background-repeat:no-repeat;
	float:left;
}
.files .preview 
{
	display:none;
	position:absolute;
	top:0;
	right:0;
	z-index:10000;
	max-width:50%;
	max-height:100%;
	background-color:var(--bs-body-bg);
	border-left:1px solid var(--bs-border-color);
	border-bottom:1px solid var(--bs-border-color);
}

.files .preview img {
	max-width:100%;
}

.files .preview-link:hover + .preview, 
.files .preview-link:focus + .preview, 
.files .preview-link + .preview:hover {
	display:block;
}

.files .preview > img {
	display:block;
	margin:auto;
}
.files .preview > div {
    padding: 2rem; 
}

.icon {
	font-size: 23px;
	float:left;
}
.icon.folder {
	display: inline-block;
	margin:0px 20px 0px 5px;
	background-color: transparent;
	overflow: hidden;
}
.icon.folder:before {
	content: '';
	float: left;
	//background-color: rgba(var(--bs-primary-rgb), 0.5);
	background:linear-gradient(var(--bs-primary-bg-subtle), rgba(var(--bs-primary-rgb), 0.4));
	background:linear-gradient(var(--bs-primary-border-subtle), rgba(var(--bs-primary-rgb), 0.6));

	width: 1.5em;
	height: 0.45em;

	margin-left: 0.07em;
	margin-bottom: -0.07em;

	border-top-left-radius: 0.1em;
	border-top-right-radius: 0.1em;

	box-shadow: 1.25em 0.25em 0 0em rgba(var(--bs-primary-rgb), 0.6);
}
.icon.folder:after {
	content: '';
	float: left;
	clear: left;

	//background-color: rgba(var(--bs-primary-rgb), 1);
	//background-color: var(--bs-primary-border-subtle);
	background:linear-gradient(var(--bs-primary-border-subtle), rgba(var(--bs-primary-rgb), 0.6));
	width: 3em;
	height: 2.25em;

	border-radius: 0.2em;
}
.icon.folder.full:before {
	height: 0.55em;
}
.icon.folder.full:after {
	height: 2.15em;
	box-shadow: 0 -0.12em 0 0 var(--bs-body-bg);
}

.icon.file {
	width: 2.5em;
	height: 3em;
	line-height: 3em;
	text-align: center;
	border-radius: 0.25em;
	color: var(--bs-body-bg);
	display: inline-block;
	margin: 15px 20px 0px 5px;
	position: relative;
	overflow: hidden;
	box-shadow: 1.74em -2.1em 0 0 #A4A7AC inset;
}
.icon.file:first-line {
	font-size: 13px;
	font-weight: 500;
}
.icon.file:after {
	content: '';
	position: absolute;
	z-index: -1;
	border-width: 0;
	border-bottom: 2.6em solid #DADDE1;
	border-right: 2.22em solid rgba(0, 0, 0, 0);
	top: -34.5px;
	right: -4px;
}

.icon.file.f-avi,
.icon.file.f-flv,
.icon.file.f-mkv,
.icon.file.f-mov,
.icon.file.f-mpeg,
.icon.file.f-mpg,
.icon.file.f-mp4,
.icon.file.f-m4v,
.icon.file.f-wmv {
	box-shadow: 1.74em -2.1em 0 0 #7e70ee inset;
}
.icon.file.f-avi:after,
.icon.file.f-flv:after,
.icon.file.f-mkv:after,
.icon.file.f-mov:after,
.icon.file.f-mpeg:after,
.icon.file.f-mpg:after,
.icon.file.f-mp4:after,
.icon.file.f-m4v:after,
.icon.file.f-wmv:after {
	border-bottom-color: #5649c1;
}

.icon.file.f-mp2,
.icon.file.f-mp3,
.icon.file.f-m3u,
.icon.file.f-wma,
.icon.file.f-xls,
.icon.file.f-xlsx {
	box-shadow: 1.74em -2.1em 0 0 #5bab6e inset;
}
.icon.file.f-mp2:after,
.icon.file.f-mp3:after,
.icon.file.f-m3u:after,
.icon.file.f-wma:after,
.icon.file.f-xls:after,
.icon.file.f-xlsx:after {
	border-bottom-color: #448353;
}

.icon.file.f-doc,
.icon.file.f-docx,
.icon.file.f-psd{
	box-shadow: 1.74em -2.1em 0 0 #03689b inset;
}

.icon.file.f-doc:after,
.icon.file.f-docx:after,
.icon.file.f-psd:after {
	border-bottom-color: #2980b9;
}

.icon.file.f-gif,
.icon.file.f-jpg,
.icon.file.f-jpeg,
.icon.file.f-pdf,
.icon.file.f-png {
	box-shadow: 1.74em -2.1em 0 0 #e15955 inset;
}
.icon.file.f-gif:after,
.icon.file.f-jpg:after,
.icon.file.f-jpeg:after,
.icon.file.f-pdf:after,
.icon.file.f-png:after {
	border-bottom-color: #c6393f;
}

.icon.file.f-deb,
.icon.file.f-dmg,
.icon.file.f-gz,
.icon.file.f-rar,
.icon.file.f-zip,
.icon.file.f-7z {
	box-shadow: 1.74em -2.1em 0 0 #867c75 inset;
}
.icon.file.f-deb:after,
.icon.file.f-dmg:after,
.icon.file.f-gz:after,
.icon.file.f-rar:after,
.icon.file.f-zip:after,
.icon.file.f-7z:after {
	border-bottom-color: #685f58;
}

.icon.file.f-html,
.icon.file.f-rtf,
.icon.file.f-xml,
.icon.file.f-xhtml {
	box-shadow: 1.74em -2.1em 0 0 #a94bb7 inset;
}
.icon.file.f-html:after,
.icon.file.f-rtf:after,
.icon.file.f-xml:after,
.icon.file.f-xhtml:after {
	border-bottom-color: #d65de8;
}

.icon.file.f-js {
	box-shadow: 1.74em -2.1em 0 0 #d0c54d inset;
}
.icon.file.f-js:after {
	border-bottom-color: #a69f4e;
}

.icon.file.f-css,
.icon.file.f-saas,
.icon.file.f-scss {
	box-shadow: 1.74em -2.1em 0 0 #44afa6 inset;
}
.icon.file.f-css:after,
.icon.file.f-saas:after,
.icon.file.f-scss:after {
	border-bottom-color: #30837c;
}
