/*
* Style file for User Private Files plugin
*/
.upvf-hidden{
	display: none !important;
}
#upf_upload_sec, .upf_files_sec, .swm_all_items {
    padding: 25px;
}
.uploader, .doc_prvw{
	text-align: center;
}
.upload-area {
    width: 50%;
    background: #f7f7f7;
    margin: 0 auto 25px;
    padding: 2rem 0;
    border: 2px dashed #ddd;
}
.uploader button {
    background: #0b5ea8;
    color: #fff;
    border: none;
    padding: 10px 50px;
    box-shadow: 0 0 10px 5px #ccc;
    transition-duration: 0.3s;
}
.uploader button:hover, #upf_allowed_usr_sbmt:hover {
    background: #4c4c4c;
}
.uploaded-doc {
    float: left;
    padding: 15px;
    width: 100%;
}
.doc_prvw_img{
	max-width: 100%;
	max-height: 350px;
}
.upvf-popup{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgb(0,0,0,0.3);
    z-index: 99999;
	overflow-y: scroll;
}
.upvf-popup .upf_inner {
    width: 50%;
    background: #eee;
    margin: auto;
    margin-top: auto;
    margin-top: 10%;
    position: relative;
}
.upvf-popup .closePopup {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 20px;
    background: #0071a1;
}
.fill-dets {
    padding-top: 15px;
    width: 80%;
    margin: 0;
    float: left;
}
.fill-dets input {
    width: 47%;
    margin: 0 1.3%;
    border: none;
    background: transparent;
    border-bottom: 1px solid #aaa;
    font-size: 15px;
    padding: 5px 10px;
    width: 45%;
}
#submitFile {
    float: left;
    margin: 17px 0 0 0;
    padding: 0 25px;
    text-transform: uppercase;
    background: green;
    border: none;
    color: #fff;
    height: 30px;
    box-shadow: 0px 0px 10px 5px #ccc;
    width: 20%;
}
.progress_bar {
    background: #0071a1;
    height: 5px;
    width: 0%;
    float: left;
    transition-duration: 0.3s;
}
.all-docs.docs-list, .swm_all_items {
    display: inline-block;
    /* flex-wrap: wrap; */
}
.doc-item, .swm-doc-item {
    margin: 5px;
    position: relative;
	display: inline-block;
	/* flex: 1 0 15%; */
}
.edit-doc img {
    border: 1px solid #ddd;
}
.upf_doc_inner {
    width: 94%;
    height: 90%;
    margin: 3%;
    background: #fff;
    padding: 25px;
    position: relative;
}
.doc_view {
    width: 75%;
    float: left;
    height: 100%;
    overflow: auto;
    text-align: center;
}
.doc_tool {
    width: 25%;
    float: left;
    margin: 0;
    background: #ddd;
    padding: 25px;
    height: 100%;
	overflow-y: scroll;
}
.doc_view img {
    max-width: 100%;
}
#upf_allow_access_frm input#allowed_usr_mail {
    border: none;
    padding: 5px 10px;
    width: 100%;
    border-bottom: 2px solid #ccc;
    margin-bottom: 15px;
}
.rmv-file-acs{
	cursor: pointer;
	color: orangered;
}
#dlt-doc-file {
	margin-top: 10px;
	clear: both;
}
#upf_allowed_usr_sbmt, #dlt-doc-file {
    float: right;
    padding: 10px 25px;
    text-transform: uppercase;
    background: #0b5ea8;
    border: none;
    color: #fff;
    box-shadow: 0px 0px 10px 5px #ccc;
    width: 175px;
}
#dlt-doc-file {
    background: #ff0000;
}
.doc_tool h5{
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}
.doc_tool p {
    min-height: 25px;
    color: #444;
}
/* ------------------- File Type Filter CSS --------*/
.filter_box {
    width: 100%;
    display: inline-block;
}
.switch_btn {
    float: right;
}
.filter_box h3 {
    float: left;
}
#grp_by {
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	border: 0;
	outline: 0;
	cursor: pointer;
	margin: 10px;
	float: right;
}
#grp_by:after {
	content: '';
	width: 60px;
	height: 28px;
	display: inline-block;
	background: rgba(196, 195, 195, 0.55);
	border-radius: 18px;
	clear: both;
}
#grp_by:before {
	content: '';
	width: 32px;
	height: 32px;
	display: block;
	position: absolute;
	left: 0;
	top: -3px;
	border-radius: 50%;
	background: rgb(255, 255, 255);
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
#grp_by:checked:before {
	left: 32px;
	box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.6);
}
#grp_by:checked:after {
	background: #16a085;
}
/* -------------------- MOBILE CSS ------------------ */
@media only screen 
  and (max-width: 950px)
{
    .upvf-popup .upf_inner {
        width: 90%;
        margin-top: 15%;
    }
    .fill-dets input {
        width: 94%;
        margin: 0 2%;
    }
    .fill-dets {
    	width: 100%;
    }
    #submitFile {
        float: right;
        width: 50%;
    }
    .doc_view, .doc_tool {
        width: 100%;
        height: auto;
    }
    .upf_doc_inner {
        height: 95%;
		padding: 0;
    }
    #dlt-doc-file {
        width: 48%;
        float: right;
        position: relative;
        bottom: auto;
        right: auto;
		clear: none;
		margin-top: 0;
		padding: 10px;
    }
    #upf_allowed_usr_sbmt {
        float: left;
        width: 48%;
        padding: 10px 5px;
    }
}
@media only screen and (max-width: 374px){
	#upf_allowed_usr_sbmt, #dlt-doc-file{
		font-size: 12px;
	}
}