/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
 This file is licensed under the Affero General Public License version 3 or later.
 See the COPYING-README file. */

#dropdown {
  background: #fff;
  border-radius: 5px;
  /* border-bottom-right-radius: 5px; */
  box-shadow: 0 0px 20px 3px #eee;
  display: block;
  margin-right: 0;
  border: 1px solid #eee;
  position: absolute;
	right:0;
  width: 420px;
  z-index: 500;
  padding: 16px;
}
/*share drop down custom css*/
#dropdown .top_arrow{
  position: absolute;
}
#dropdown.shareDropDown{
  top: 0px;
  padding: 4%;
  width: 92%;
  /* height: 92%; */
  z-index: 9999;
  bottom: 0px;
  position:fixed;
  background-color: rgba(255, 255, 255, 0.9);  
}
#dropdown.shareDropDown .share_title{




    display: block;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding: 5px 0px;
    margin-bottom: 0.5em;
}
#dropdown.shareDropDown .unshare.icon-loading-small {
	margin-top: 1px;
}
#dropdown .close_dropdown{
  display: block;
  float: right;
  margin-top: -3%;
  width: 3%;
  /* margin-right: -3%; */
}
#dropdown .close_dropdown > img{
width:100%;
cursor:pointer;
}
#dropdown.shareDropDown .shareWithLoading,
#dropdown.shareDropDown .linkShare .icon-loading-small {
	display: inline-block !important;
	padding-left: 10px;
}

#dropdown.shareDropDown .icon-loading-small.hidden {
	display: none !important;
}
#allowPublicUploadWrapper,#linkPass, #allowPublicdownloadWrapper{
position:relative; 
margin: 0.5em 0em;   
}
#allowPublicUploadWrapper .icon-loading-small{
 position:absolute;
 right:0px;
}
#allowPublicdownloadWrapper .icon-loading-small{
 position:absolute;
 right:0px;
}
#linkPass .icon-loading-small{
  position: absolute;
  right: 8px;
  top: 14px;    
}
#shareWithList {
    list-style-type: none;
    padding: 8px;
}
#shareWithList.auto_scroll{
    max-height: 80px;
    overflow-y: scroll;    
}
#shareWithList li {
  /*padding-top: 10px;
  padding-bottom: 10px;*/
  font-weight: bold;
  line-height: 21px;
  white-space: normal;
  position: relative;
}

#shareWithList .unshare img, #shareWithList .showCruds img {
	vertical-align:text-bottom; /* properly align icons */
}

#shareWithList label input[type=checkbox]{
	margin-left: 0;
	top: 3px;
	position: relative;
}
#shareWithList .username{
	padding-right: 8px;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 254px;
	display: inline-block;
	overflow: hidden;
	vertical-align: middle;
	text-transform: capitalize;	
}
#shareWithList li label{
	margin-right: 8px;
	text-transform: capitalize;	
}
#dropdown label {
	font-weight:400;
	white-space: nowrap;
}

#dropdown input[type="checkbox"] {
	margin:0 3px 0 8px;
}

a.showCruds {
	display:inline;
	opacity:.5;
}

a.unshare,
#dropdown a.unshare {
  /* display: inline; */
  /* float: right; */
  opacity: .5;
  padding: 0px !important;
  /* margin-top: -5px; */
  width: 25px;
  position: absolute;
  right: 0px;
  top: 4px;
}

#link {
  /* border-top: 1px solid #ddd; */
  padding-top: 5px;
}

#dropdown input[type="text"],#dropdown input[type="password"] {
	width:98%;
  box-shadow: 0 0px 20px 3px #eee;	
  margin: 0.5em 0em;  
}

#dropdown form {
	font-size: 100%;
	margin-left: 0;
	margin-right: 0;
}

#linkText,#linkPass,#expiration {
	display:none;
}

#link #showPassword img {
	padding-left:5px;
	width:12px;
}

.reshare,#link label,#expiration label {
	padding-left:8px;
}

a.showCruds:hover,a.unshare:hover {
	opacity:1;
}

#defaultExpireMessage, /* fix expire message going out of box */
.reshare { /* fix shared by text going out of box */
	white-space:normal;
}

#defaultExpireMessage { /* show message on new line */
	display: block;
	padding-left: 4px;
	/* TODO: style the dropdown in a proper way - border-box, etc. */
	width: 90%;
}

.ui-autocomplete { /* limit dropdown height to 4 1/2 entries */
	max-height:103px;
	overflow-y:auto;
	overflow-x:hidden;
}

.notCreatable {
	padding-left: 12px;
	padding-top: 12px;
	color: #999;
}
.inner_section{
  border: 1px dashed #ccc;
  padding: 2%; 
margin:1em 0em;  
}

#copy-button{
  /* float: left; */
  clear: right;
  margin: 10px 2px;
  display: block;
}
#copy-button, #emailButton{
  width: 10%;
  background: #5091d5;
  color: #fff;
  border-radius: 40px;
  border: 0px;
}
#emailButton{
  margin: 0em 1em;
}
.clipboardlink{
    background-color: #666;
    display: block;
    padding: 4px;
    color: #fff;
    width: inherit;
    margin: 0.5em 0em;
    width: 98%;
    white-space: pre-wrap;  
}

/*exclude container*/
.exclude_item{
cursor: pointer;  
color:red;
}
#fileList .exclude_container .icon-loading-small{
    display: block !important;
    background-position: 10px 5px;
    text-indent: 26px;
}
.exclude_container{
  position: fixed;
  z-index: 999999;
  top: 28%;
  width: 90%;
  padding: 1%;  
  min-height: 30px;
  border: 2px solid #dde7f0;
  background-color: #eef3f6;
  box-shadow: 1px 1px 10px #ddd;        
}
.exclude_container p{
 margin:0.5em 0em;  
text-transform: uppercase; 
}
.exclude_container .ex_innercontainer{
   margin-bottom: 1em;   
}
.exclude_container .ex_innercontainer .inner_scroll{
  max-height: 120px;
  overflow-y: scroll;
  border: 1px dashed #aaa;
  padding: 0.5em;    
}
.exclude_container .user_filterarea{
    overflow: hidden;    
}
.exclude_container .close_excontainer{
  width: 24px;
  float: right;
  margin-top: -1%;
  margin-right: -0.5%;
  padding: 0px; 
}
.exclude_container .close_excontainer > img{
  width:100%; 
  cursor: pointer;
}
#dropdown .exclude_container input[type="text"], #dropdown .exclude_container select{
  width: 48%;
  float: left;
  margin: 0.5em 0.6em;
  background: #eee;
}
.exclude_container .ex_group{
    float:none;
}
.exclude_container span{
display: block;
  float: left;
  padding: 0.4em;    
}
.usersInGroups{
  margin: 0.5em 0em;    
}
.exclude_container span.yes{
    background: brown;
    margin: 0.2em;
    color: #fff;
    min-width: 11%;
    text-align: center;
}