/**
 *   share item modal
 */
.modal .member-left {
	border-right: solid 1px #EEE;
	margin-left: 15px;
	min-height: 300px;
	width: 45%;
	min-width: 230px;
}

.modal .member-right {
	width: 45%;
	min-width: 230px;
}

.modal .member-search input.search-query{
  background: url("../img/search-white.png") no-repeat 10px 6px;
  padding-left: 35px;
  width: 219px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  margin: 10px 0 15px 0;
}

.modal .add-member-button {
	margin-top: 10px;
}

.modal .friend.span4{
  border-right: solid 1px #eee;
  padding-top: 15px;
  padding-bottom: 15px;
  min-height: 300px;
}

.modal .share-target.span4{
  padding-top: 15px;
  padding-bottom: 15px;
}

.modal div.memberlist{
  border: 1px solid #eee;
  margin-right: 15px;
  height: 285px;
  
  overflow-y: auto;
  
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.modal div.targetlist{
  border: 1px solid #eee;
  margin-top: 10px;
  height: 330px;
  
  overflow-y: auto;
  
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.modal .select-friend{
  padding: 12px;
  float: left;
}

.modal .friend-info{
  padding: 12px 12px 0px 12px;
  float: left;
}

.modal .friend-info{
  padding-left: 0px;
}

ul.memberlist{
  margin-bottom: 0px;
}

ul.memberlist>li{
  border-bottom: solid 1px #eee;
}

ul.targetlist>li{
  border-bottom: solid 1px #eee;
}

ul.targetlist{
  margin-bottom: 0px;
}

.modal div.remove-target{
  cursor: pointer;
}

.modal .name .display-name{
  font-weight: bold;
}

.modal .name .username{

}
div.clear {
  clear: both;
}



/*
 *  Upload user photo popup
 */

.upload-user-photo-modal {
	width: 500px;
}

.upload-user-photo-modal .modal-body{
	position: relative;
}

.upload-user-photo-modal .attachment-item {
	height: 74px;
	border: #CCC 1px solid;
	position: relative;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.upload-user-photo-modal .attachment-preview {
	width: 64px;
	height: 64px;
	position: absolute;
	top: 5px;
	left: 5px;
	background-color: #EEE;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.upload-user-photo-modal .attachment-preview img {
	width: 64px;
	height: 64px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	display: none;
}

.upload-user-photo-modal .attachment-tool {
	position: absolute;
	top: 5px;
	right: 5px;
}

.upload-user-photo-modal form {
	width: 400px;
	margin: 0px;
}

.upload-user-photo-modal input {
	width: 400px;
}

.upload-user-photo-modal .spin {
	position: absolute;
	top: 32px;
	left: 32px;
}

.upload-user-photo-modal .form-container {
	margin: 10px 0 15px 0;
	position: relative;
}

.upload-user-photo-modal .upload-bt {
	position: absolute;
	right: 0px;
	top: 0px;
}

.upload-user-photo-modal .progress {
	margin: 0;
	height: 5px;
	width: 470px;
	display: none;
	position: absolute;
	bottom: 10px;
	left: 15px;
}

.upload-user-photo-modal .bar {
	width: 0;
	height: 5px;
}

/*
 *  Backup/Restore modal
 */

.modal#confirmBackupModal .alert-warning, .modal#restoreAllModal .alert-error {
	margin-top: 15px;
	margin-bottom: 0;
}

.modal#restoreOrgMailModal .alert-error, .modal#restoreUserMailModal .alert-error {
	margin-top: 0px;
	margin-bottom: 0;
}

.modal#restoreOrgMailModal .control-label {
	width: 170px !important;
	margin-right: 20px;
}

.modal#restoreOrgMailModal .help-inline {
	margin-left: 30px;
}

.modal#checkServiceModal  {
	padding: 20px;
}

.modal#checkServiceModal a#checkService {
	margin-top: 10px;
}
