/* 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:#eee;
 	border-bottom-left-radius:1em;
 	border-bottom-right-radius:1em;
 	box-shadow:0 1px 1px #777;
 	display:block;
 	margin-right:7em;
 	position:absolute;
 	right:0;
 	width:19em;
 	z-index:500;
 	padding:1em;
 }

 #shareWithList {
 	list-style-type:none;
 	padding:.5em;
 }

 #shareWithList li {
 	padding-top:.1em;
 }
 
 #shareWithList li:first-child {
	 white-space:normal;
 }

 #shareWithList .cruds {
	 margin-left:-10px;
 }

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

 #dropdown label {
 	font-weight:400;
 }

 #dropdown input[type="checkbox"] {
 	margin:0 .2em 0 .5em;
 }

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

 a.unshare {
 	display:inline;
 	float:right;
 	opacity:.5;
 	padding:.3em 0 0 .3em !important;
	margin-top:-5px;
 }

 #link {
 	border-top:1px solid #ddd;
 	padding-top:.5em;
 }

#dropdown input[type="text"],#dropdown input[type="password"] {
    width:90%;
}

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

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

 #link #showPassword img {
 	padding-left:.3em;
 	width:12px;
 }

 .reshare,#link label,#expiration label {
 	padding-left:.5em;
 }

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

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

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