#docs_tabs{
    overflow-x: auto;
    overflow-y: hidden;
    height: 35px;
    white-space: nowrap;
    right: 18px;
    left: 0;
    padding: 0;
}

#docs_tabs li.sel {
    background-color: #2190f2;
}

#docs_tabs li.sel .title * {
    color: white;
}

.docs_cont{
	position: relative;
	padding-top: 60px;
}
@media (max-width: 680px){
	.docs_cont {
		padding-top: 87px;
	}
}

#docs_contents{
    position: absolute;
    padding-top: 34px;
    width: 100%;
    height: 100%;
    top: 0;
}
#docs_contents.no-tabs{
    padding-top: 0;
}

#docs_contents .docs_cont{
	border-top: 1px solid #e6e6e6;	
	height: 100%;
}
#docs_contents.no-tabs .docs_cont{
	border-top: 0;	
}

#docs_contents .head{
	padding: 10px 0 10px 0;
	position: absolute;
	top: 0;
	width: 100%;
}
#docs_contents.no-tabs .head{
	padding-top: 0;
}

@media (max-width: 680px){
	#docs_contents .head{
		padding: 5px 0;
	}
}

#docs_contents .head .sort{
	width: 300px;
	float: left;
	margin-bottom: 2px;
}
@media (max-width: 680px){
	#docs_contents .head .sort{
	    width: 100%;
	    padding-left: 1px;
	}
}

#docs_contents .head .buts{
	float:right;
	height: 30px;
	position: relative;
}
@media (max-width: 680px){
	#docs_contents .head .buts{
	    width: 100%;
	}
	#docs_contents .head .buts td:nth-of-type(1){
		padding-left: 0;
		text-align: left;
	}
	#docs_contents .head .buts td:nth-of-type(2){
		text-align: center;
	}
	#docs_contents .head .buts td:nth-of-type(3){
		padding-right: 0;
		text-align: right;
	}
	#docs_contents .head .buts td button{
	    width: 95%;
	    margin-top: 3px;
	}

	
	#boss.invite #docs_contents .head .buts td {
	    padding: 0;
	}
	
	#boss.invite #docs_contents .head .buts td button{
	    width: 100%;
	}
}


.uploadBtn_ {
	position: relative;
	cursor: pointer;
}
.uploadBtn_ form,
.uploadBtn_ input[type='file']{
	position: absolute;
	height: 100%;
	width: 100%;
	opacity: 0;
	left: 0;
	top: 0;
	cursor: pointer;
	font-size: 0;
}

#docs_contents .files-hold {
	max-height: 100vh;
	overflow-y: auto;
}
#documents .docs_cont .files-hold {
	height: 100%;
}


#attached .files-hold{
	/*max-height: 70vh;
	overflow-y: auto;*/
}

table.files{
	width: 100%;
	border-collapse: collapse;
}

table.files tbody tr:first-child {
    border-top: 1px solid #e8e8e8;
}

table.files td {
    vertical-align: middle;
    height: 52px;
    text-align: center;
    padding: 5px;
    /*border-bottom: 1px solid #e8e8e8;*/
}

table.files tr {
    border-bottom: 1px solid #e8e8e8;
}



table.files td:nth-child(1) {
    width: 30px;
    text-align: left;
    padding-top: 15px;
    vertical-align: top;
}
table.files td:nth-child(2) {
  width: 40px;
  padding-top: 8px;
}

table.files td:nth-child(2) svg {
  height: 30px;
}

table.files td.name{
  text-align: left;
	word-break: break-all;
}


table.files td:nth-child(5){
  width: 140px;
  text-align: right;
}

table.files td:nth-child(6){
  text-align: right;
  width: 80px;
}

table.files td:nth-child(7){
  padding-top: 8px;
  width: 30px;
}
table.files td:nth-child(8) {
  padding-top: 5px;
  width: 30px;
}

table.files td.end {
	display: none;
	height: unset;
	left: unset;
}

table.files td svg {
    stroke: none;
    fill: #9a9a9a;
    stroke-width: 0;
    height: 20px;
    cursor: pointer;
}

body[devtype=Mobile] table.files td.download svg {
	/*position: relative;
	top: 1px;*/
}


table.files .filelist #listfiles .file .created_at {
	color: #999999;
    font-size: 14px;
    font-weight: 400;
    margin-right: 6px;
}
table.files .filelist #listfiles .file .badge {
  margin-right: 6px;
  position: relative;
  top: -2px;
  padding-top: 6px;
}
table.files .filelist #listfiles .file a {
	font-size: 16px;
	color: #999;
	display: inline-block;
	padding: 1px 4px;
}

table.files td label {
    margin-bottom: 0;
}

#attached table.files td.check {
	display: none;
}


@media (max-width: 680px)
{
	table.files td{
		border: none;
	}	
	
	table.files td.check,
	table.files td.icon,
	table.files td.name {
    	display: block;
    	float: left;
    	min-height: 30px;
    	height: unset;
	}	
	
	table.files td.date,
	table.files td.size,
	table.files td.download,
	table.files td.delete {
    	display: block;
    	float: left;
    	text-align: left;
    	min-height: 30px;
    	height: unset;
	}	
	
	table.files td.check {
	    padding-top: 13px;
    	width: 8%;
	}
	
	table.files td.icon {
    	width: 20%;
	}
	
	table.files td.name {
	    padding-top: 15px;
    	width: 70%;
	}

	table.files td.date {
	    padding-top: 0;
	    /*padding-top: 15px;*/
    	width: 40%;
	}
	
	table.files td.size {
	    padding-top: 0;
	    /*padding-top: 15px;*/
    	width: 40%;
	}
	
	#boss.invite table.files td.size {
    	width: 50%;
	}	
	
	table.files td.download {
	    padding-top: 0;
    	width: 10%;
    	position: relative;
    	top: -4px;
	}
	
	table.files td.delete {
	    padding-top: 0;
    	width: 10%;
    	position: relative;
    	top: -5px;
	}
	
	table.files td.end {
		display: block;
		padding-bottom: 0;
	}
}



#fileprbox, 
.fileprbox {
	position: relative;
    right: 0px;
    bottom: 0px;
    border: 1px solid #e6e6e6;
    margin: 0;
    padding: 5px 25px 7px 5px;
    background-color: white;
    font-size: 15px;
}
#fileprbox div,
.fileprbox div {
    display: inline-block;
    padding: 5px 7px;
}
#fileprbox div.line,
.fileprbox div.line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background-color: #00B599;
    font-size: 0;
}
#fileprbox div.stop,
.fileprbox div.stop {
	position: absolute;
    top: -10px;
    right: -2px;
    font-size: 25px;
    cursor: pointer;
    color: #9a9a9a;
}


#uploads-unit{
	position: fixed;
	right: 0;
	bottom: 0;
  z-index: 20001;
}


#boss.invite .file-delete,
/*#boss.invite .files td:nth-of-type(8),*/
#boss.invite #docs_tabs{
	display: none;
}

#boss.invite #docs_contents{
	padding-top: 0;
}

