/* 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);
}
#activeuploads {
	display: none;
	position: fixed;
	top: 55px;
	left: 10px;
	right: 10px;
	background-color: #fff;
	max-height: 360px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	z-index: 4;
}

.bg-current {
	background-color: #EAEDF0;
}

/* 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: 19px;
	color: #eee;
	background-color: #fff;
	border: 1px solid #ccc;
/*	border-radius: 50%;*/
	width: 21px;
	height: 21px;
}
.item .item-select {
	position: absolute;
	top: 6px;
	left: auto;
	right: 6px;
	padding: 2px 1px;
	z-index: 1;
}
.grid-item .item-select {
	position: absolute;
	top: 7px;
	left: 7px;
	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#gettoolbox {
	float: none;
	top: 28px;
	left: auto;
	right: 6px;
}

.filelist .pagination {
	margin-top: 1rem;
}

.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;
}


.msg {
	position: relative;
	padding:  10px 0 10px 36px; /*4px 0 4px 12px */
}
.msgname {
	font-weight: 600;
}
.msgdate {
	font-size: .875rem;
	text-align: right;
}
.msgtext {
	color: #999;
	max-height: 2.625rem;
	overflow: hidden;
}
.unread {
	background-color: #F2F3FE;
}
.unread .msgname {
	font-weight: 800;
}
.unread .msgsubject {
	font-weight: 600;
}
#mobileselwrap {
	display: none;
}

.tolabel {
	flex: 0 0 60px;
	text-align: right;
}
.tobox {
	width: 32px;
	padding-right: 0;
	padding-left: 0;
	max-width: 100%!important;
}
.aclist {
	max-height: 220px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.aclist a {
	display: block;
}

#calendar {
	position: fixed;
	top: 53px;
	left: 15px;
	bottom: 15px;
	right: 15px;
	background-color: #fff;
	overflow: hidden;
}
#calendarbody {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.cal-row {
	position: relative;
	border-bottom: 1px solid #ccc;
	padding-left: 40px;
}
.cal-hour {
	position: absolute;
	top: 0;
	left: 0;
	font-size: .875rem;
	width: 40px;
	overflow: hidden;
}
.cal-dayhour, .cal-weekhour {
	position: relative;
	height: 64px;
	border-left: 1px solid #ccc;
}
.cal-dayhour:after, .cal-weekhour:after {
	content: '';
	position: absolute;
	left: 0;
	top: 32px;
	width: 100%;
	height: 1px;
	border-top: 1px solid #e7e7e7;
	z-index: -1;
}
.cal-dayhour .event, .cal-weekhour .event {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	font-size: .925rem;
	line-height: 1.2;
	text-decoration: none!important;
	color: #212529!important;
	background-color: rgba(91,71,251,.2);
    border-left: 2px solid #5b47fb;
	max-width: 100%;
	width: 100%;
	padding: .25rem .5rem;
	overflow: hidden;
	z-index: 1;
}
.allday .event {
	display: block;
	font-size: .925rem;
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-decoration: none!important;
	color: #212529!important;
	background-color: rgba(0,204,204,.25);
    border-left: 2px solid #00cccc;
	width: 100%;
	min-height: 1rem;
	padding: .25rem .5rem;
	margin: .5rem 0;
	overflow: hidden;
}
.allday .event span {
	display: none;
}
#nowline {
	position: absolute;
	left: 40px;
	right: 0;
	height: 1px;
	border-top: 1px solid #f00;
	z-index: -1;
}
#nowline:before {
	content: '';
	position: absolute;
	left: -5px;
	top: -6px;
	width: 0; 
	height: 0; 
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid #f00;
}
#calmonth {
	height: 100%;
}
.calmonth-head {
	height: 2.3875rem;
}
.calmonth-body {
	height: calc(100% - 2.3875rem);
}
.calmonth-row {
	border-bottom: 1px solid #ccc;
}
.calmonth-day {
	position: relative;
	border-right: 1px solid #ccc;
	padding: 5px;
	overflow: hidden;
}
.calmonth-day:before {
	content:attr(data-day);
	position: absolute;
	top: 0;
	left: 3px;
	font-size: .925rem;
}
.calmonth-day.notcurrent:before {
	color: #bbb;
}
.calmonth-day:first-child {
	border-left: 1px solid #ccc;
}
.calmonth-day .event {
	display: none;
	position: absolute;
	left: 1rem;
	right: .25rem;
	font-size: .875rem;
	line-height: 1.5;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-decoration: none!important;
	color: #212529!important;
	background-color: rgba(91,71,251,.2);
    border-left: 2px solid #5b47fb;
	max-width: 100%;
	min-width: 50%;
	padding: 0 .25rem;
	overflow: hidden;
}
.eventsum {
	position: absolute;
	top: 2px;
	left: 2px;
	bottom: 2px;
	right: 2px;
	background-color: rgba(91,71,251,.2);
    border: 1px solid #5b47fb;
}

.sgi {
	border: 3px solid #fff;
	opacity: .7;
}
.sgi.active {
	border-color: #28A745;
	opacity: 1;
}

.tagboxwrap .form-control {
	width: 32px;
	height: auto;
}
.suggestlist {
	max-height: 220px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	z-index: 100;
}
.suggestlist a.active {
	background-color: rgba(91, 71, 251, .2);
}
.text-folder {
	color: #E3CA60!important;
}

.folder-select {
	height: 280px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.folder-entry>.sub-folders {
	display: none;
}
.folder-entry.expanded>.sub-folders {
	display: block;
}
.sub-folders {
	padding-left: 2rem;
}
.sub-icon>i:before {
	content: "\f2c7";
	display: inline-block;
	font-family: "Ionicons";
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	text-rendering: auto;
	line-height: 1;
}
.sub-icon.expanded>i:before {
	content: "\f2f4";
}
.folder-main {
	cursor: pointer;
}
.folder-item.selected>.folder-main {
	background-color: rgba(91, 71, 251, .2);
}
.folder-main .ion-checkmark {
	position: absolute;
	top: .275rem;
	right: 0;
	font-size: .75rem;
	text-align: center;
	line-height: 1rem;
	color: #fff;
	width: 1rem;
	height: 1rem;
}
.folder-item.selected>.folder-main .ion-checkmark {
	background-color: #007BFF;
}

#mount {
	width: 600px;
	max-width: 100%;
}
#mount canvas {
	display: block;
	width: 100%;
	height: auto;
}

#uploadpanel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	background-color: #fff;
	border-left: 1px solid #ddd;
	padding: 0 15px;
	z-index: 1031;
	margin-right: -100%;
	transition: margin 0.2s ease;
}
#uploadpanel.opened {
	margin-right: 0;
}
#uploadlist {
	width: 100%;
	height: 100%;
	padding: 10px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.post-item>.border {
	border-color: #ced4da!important;
}
.post-thumb {
	width: 120px;
	height: 90px;
}
.post-in {
	height: 90px;
	overflow: hidden;
}

.comments-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
}
.bar {
	height: 5px;
	background-color: #f5f5f5;
	border-radius: 2px;
	overflow: hidden;
}

@media (min-width: 768px) {
	#imageviewer {
		padding: 2rem;
	}
	.calmonth-day .event {
		display: block;
	}
	.calmonth-day .eventsum {
		display: none;
	}
	.allday .event span {
		display: inline-block;
	}
	
	#uploadpanel {
		width: 380px;
		margin-right: -380px;
	}
}

@media (max-width: 991px) {
	.msg {
		position: relative;
		padding-left: 10px;
	}
	.msgcheck {
		display: none;
	}
	.selmode .msg {
		padding-left: 36px;
	}
	.selmode .msgcheck {
		display: block;
	}
	#mobileselwrap {
		display: block;
	}
	#mboxselallwrap {
		display: none;
	}
	.selmode #mobileselwrap {
		display: none;
	}
	.selmode #mboxselallwrap {
		display: block;
	}
}

@media (min-width: 576px) {
	.card-columns {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
}
@media (min-width: 1024px) {
	#slider {
		width: calc(100% - 280px);
	}
	#sider {
		margin: 0;
	}
	.topnavmenu, .bottomnavmenu, #emailfolders {
		left: 200px;
	}
	#emailfolders {
		max-width: 320px;
		margin-left: -320px;
	}
	#calendar {
		left: 215px;
	}
	
	.fastbody #playingnow {
		left: 200px;
	}
	#activeuploads {
		left: 210px;
	}
	#playlist {
		left: 5px;
		width: 50%;
	}
	#imageviewer a {
		color: #000;
	}
	
	#mount {
		width: 800px;
	}
}
@media (min-width: 1200px) {
	.card-columns {
		-webkit-column-count: 3;
		-moz-column-count: 3;
		column-count: 3;
	}
}
