/* upload */
#dropzone input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}
.progressbar {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: -1;
}
.progressbar>div {
	width: 0;
	height: 2px;
	background-color: rgba(40, 167, 69, .8);
}

/* files */
.filelistwrap {
	padding-top: 46px;
}
.topnavmenu {
	position: fixed;
	top: 50px;
	left: 0;
	right: 0;
	z-index: 3;
}
.bottomnavmenu {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
}
#emailfolders {
	position: fixed;
	top: 50px;
	left: 0;
	bottom: 0;
	width: 100%;
	margin-left: -100%;
	z-index: 4;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	transition: margin 0.2s ease;
}
#emailfolders.open {
	margin-left: 0;
}
.item, a.item {
	display: block;
	position: relative;
	text-decoration: none;
	color: #343a40!important;
	border-bottom: 1px solid #eee;
	padding: 8px 0 8px 90px;
	min-height: 96px;
	clear: both;
}
.img {
	float: left;
	position: relative;
	font-size: 3.5rem;
	text-align: center;
	line-height: 80px;
	width: 80px;
	height: 80px;
	margin: 0 0 0 -90px;
	overflow: hidden;
}
.bigger-list .item {
	min-height: 160px;
	padding: 8px 0 8px 150px;
}
.bigger-list .item .img {
	background-color: #ddd;
	width: 140px;
	height: 140px;
	margin: 0 0 0 -150px;
}
.img img {
	width: auto;
	height: 100%;
}
.bigger-list .item .img img {
	display: block;
	width: auto;
	height: 100%;
	margin: 0 auto;
}
.img:before {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
}
.img.play-img:before {
	position: absolute;
	top: 50%;
	left: 50%;
	font-family: Ionicons;
	content: "\f488";
	font-size: 26px;
	line-height: 38px;
	color: rgba(255, 255, 255, .9);
	border: 2px solid rgba(255, 255, 255, .9);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	padding: 0 0 0 4px;
	margin: -14px 0 0 0;
}
.item.contact, .item.group, .post .item {
	min-height: 50px;
}
.item.contact, .item.group {
	padding: 8px 0 8px 50px;
}
.item.contact .img, .item.group .img {
	font-size: 2.25rem;
	line-height: 1.2;
	width: 40px;
	height: 40px;
	margin: 0 0 0 -50px;
}
.item h5 {
	font-size: 1rem;
	font-weight: 400;
	max-height: 2.6rem;
	padding: 0 0 2px 0;
	margin: 0 30px 0 0;
	overflow: hidden;
}
.item h5 a {
	display: inline-block;
	text-decoration: none;
	color: #000!important; /* #343a40 */
}
.item.selected {
	background-color: #eee;
	border-color: #ccc;
}
.item-select {
	display: block;
	background-color: rgba(255, 255, 255, 0);
	border: none;
    outline: 0!important;
}
.item-select div {
	font-size: 14px;
	text-align: center;
	line-height: 20px;
	color: #eee;
	background-color: #fff;
	border: 1px solid #bbb;
	border-radius: 50%;
	width: 22px;
	height: 22px;
}
.item .item-select {
	position: absolute;
	top: 6px;
	left: auto;
	right: 6px;
	padding: 2px 1px;
	z-index: 1;
}
.grid-item .item-select {
	position: absolute;
	top: 2px;
	left: 2px;
	padding: 0 10px 10px 0;
	z-index: 2;
}
.selected .item-select div, .btn-selall.active div {
	color: #fff;
	border-color: #007BFF;
	background-color: #007BFF;
}
.tools {
	display: block;
	position: absolute;
	top: 40px;
	right: 3px;
	text-align: center;
	line-height: 24px;
	min-width: 28px;
	min-height: 28px;
	background-color: transparent;
	border: none;
	padding: 0 2px;
	z-index: 1;
	cursor: pointer;
	outline: 0;
	box-shadow: none!important;
}
.dropdown-menu#filetoolbox, .dropdown-menu#tagtoolbox, .dropdown-menu#commenttoolbox {
	float: none;
	top: 62px;
	left: auto;
	right: 6px;
}
.galleryitem .item-shared {
	display: inline-block;
	position: absolute;
	top: -9px;
	left: 34px;
/*	-webkit-text-stroke: 1px #999;
	text-shadow: -1px -1px 0 #999, 1px -1px 0 #999, -1px 1px 0 #999, 1px 1px 0 #999;*/
	padding: 0 8px;
	z-index: 1;
}
.gallery-wrap {
	padding-bottom: 80px;
	margin-bottom: -60px;
}
.galleryitem {
	position: relative;
	text-decoration: none;
	color: #343a40!important;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 2px;
}
.galleryitem.tag {
	border-color: #FEA223;
}
.galleryitem.selected {
	border-color: #007BFF;
}
.galleryitem.file a.h-100:after, .galleryitem.subtag a.h-100:after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .1), rgba(0, 0, 0, .3));
	content: '';
	z-index: 1;
}
.galleryitem img {
	width: 100%;
	height: auto;
}
.gi-info {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	color: #fff;
	padding: .5rem;
	z-index: 2;
}
.gi-name {
	font-weight: 600;
	max-height: 2.35rem;
	overflow: hidden;
}
.gi-blog-desc {
	color: #5a5a5a;
	max-height: 2.3125rem;
	overflow: hidden;
}
.gi-blog-meta {
	color: #5a5a5a;
}
.galleryitem.smallgallery .duration {
	right: 2px;
	top: 2px;
}
.galleryitem.videogallery .duration {
	top: auto;
	bottom: 5px;
}
.galleryitem .item-select {
	position: absolute;
	top: 5px;
	left: 5px;
	padding: 0 12px 12px 0;
	z-index: 1;
}
.galleryitem .tools {
	top: auto;
	bottom: 0;
	right: 0;
	text-align: center;
	padding: 4px 6px 2px 16px;
	z-index: 2;
}
.grid-item .tools {
	top: 6px;
	right: 6px;
	background-color: #fff;
	z-index: 2;
}
.galleryitem .dropdown-menu#filetoolbox {
	float: none;
	top: auto;
	bottom: 8px;
	left: auto;
	right: 25px;
}
.text-pdf, a.text-pdf {
	color: #FF3500;
}
.text-word, a.text-word {
	color: #2B579A;
}
.text-fav, a.text-fav {
	color: #FEA223;
}
.text-music, a.text-music {
	color: #B64645;
}
.text-video, a.text-video {
	color: #f00;
}
.text-tag, a.text-tag {
	color: #FEA223;
}
.filelist .pagination {
	margin-top: 1rem;
}

/* player */
#songtitle {
	background-color: #505963;
}
#playprogress {
	position: absolute;
	left: .75rem;
	right: .75rem;
	bottom: .5rem;
	background-color: #52687C;
	border-radius: 2px;
	height: 2px;
	overflow: hidden;
}
#playprogress div {
	background-color: #007BFF;
	width: 0;
	height: 100%;
}
#playlist {
	position: absolute;
	left: 0;
	bottom: 100%;
	width: 100%;
}
#playlisttitle {
	color: #fff;
	background-color: #273541;
}
#playlist div.list {
	height: 320px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
#playlist li {
	border-bottom: 1px solid #ddd;
}

.socialcard .post {
	background-color: #fff;
	border: 1px solid rgba(0,0,0,.125);
	border-radius: .25rem;
}

#cropplace canvas {
	display: block;
	width: 100%;
	height: auto;
}

#slider {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	padding: 15px;
	z-index: 10100;
}
#sider {
	position: fixed;
	top: 0;
	right: 0;
	width: 280px;
	min-height: 100%;
	background-color: #fff;
	margin: 0 -280px 0 0;
	z-index: 10101;
}

.icon-list-item {
	padding: 0 0 0.0 2rem;
}
.icon-list-item i {
	float: left;
	margin: .3rem 0 0 -2rem;
}
.icon-list-item a {
	display: block;
	text-decoration: none;
	padding: .5rem 0;
}

.original {
	border: 1px solid #fff;
}

.mboxname {
	max-width: 140px;
	text-overflow: ellipsis;
    white-space: nowrap;
	overflow: hidden;
}
.msg {
	position: relative;
	padding:  4px 0 4px 36px; /*4px 0 4px 12px */
}
.msg.unread {
	background-color: #EAEDF0;
}
.msg.unread .msgname {
	font-weight: bold;
}
.msgtext {
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #999;
	overflow: hidden;
}
.tolabel {
	min-width: 60px;
	text-align: right;
}
.tobox {
	width: 32px;
	padding-right: 0;
	padding-left: 0;
}
.aclist {
	max-height: 220px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.aclist a {
	display: block;
}
@media (max-width: 991px) {
	.msg {
		position: relative;
		padding-left: 10px;
	}
	.msgcheck {
		display: none;
	}
	.selmode .msg {
		padding-left: 36px;
	}
	.selmode .msgcheck {
		display: block;
	}
	.msgname {
		font-weight: 600;
	}
	.msgdate {
		font-size: .875rem;
		text-align: right;
		color: #999;
		padding-right: .75rem!important;
	}
	.msgsubject {
		font-size: .925rem;
/*		color: #6c757d;*/
	}
	.msgtext {
		white-space: normal;
		line-height: 1.2;
		max-height: 2.25rem;
		overflow: hidden;
	}
}

@media (min-width: 768px) {
	#imageviewer {
		padding: 2rem;
	}
}
@media (min-width: 1024px) {
	#slider {
		width: calc(100% - 280px);
	}
	#sider {
		margin: 0;
	}
	.topnavmenu, .bottomnavmenu, #emailfolders {
		left: 200px;
	}
	#emailfolders {
		max-width: 320px;
		margin-left: -320px;
	}
}

@media (min-width: 576px) {
	.card-columns {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
}
@media (min-width: 1024px) {
	.fastbody #playingnow {
		left: 200px;
	}
	#playlist {
		left: 5px;
		width: 50%;
	}
	#imageviewer a {
		color: #000;
	}
}
@media (min-width: 1200px) {
	.card-columns {
		-webkit-column-count: 3;
		-moz-column-count: 3;
		column-count: 3;
	}
}
