/*
Copyright 2010 Mike Brevoort http://mike.brevoort.com @mbrevoort

v1.0 jquery-facebook-multi-friend-selector

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#jfmfs-friend-selector input {
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    font: 11px verdana, arial, helvetica, sans-serif;
    margin: 2px 0;
    padding: 2px 4px;
	/* 
	 * Saxon Druce 30 Jun 2011: 
	 * Added height to make it fit within the header. 
	 */
	height: 16px;
}
.jfmfs-friend {                
    cursor:pointer;
    display:block;
    float:left;
	/* 
	 * Saxon Druce 30 Jun 2011: 
	 * Changed height from 56px, to have equal distance above/below profile pic. 
	 */
    height:52px;
    margin:3px;
    padding:4px;
    width:126px;
    border: 1px solid #FFFFFF;
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px;
	-webkit-user-select:none;
	-moz-user-select:none;
	overflow:hidden;
}

.jfmfs-friend img {
    border: 1px solid #CCC;
    float:left;
    margin:0;
}

.jfmfs-friend.selected img {
    border: 1px solid #233E75;
}

.jfmfs-friend div {
    color:#111111;
    font-size:11px;
    overflow:hidden;
    padding:2px 0 0 6px;
}

#jfmfs-friend-container {
    overflow:scroll;
    overflow-x: hidden;
    -ms-overflow-x: hidden;
    width:100%;
    height:400px;  
    font-family: 'lucida grande', tahoma, verdana, arial, sans-serif;
    color: #333;
    font-size: 12px;
}

#jfmfs-friend-selector {
	/* 
	 * Saxon Druce 30 Jun 2011: 
	 * Increased width from 725px, to allow room for 5 columns of friends.
	 */
    width:730px;
	/* 
	 * Saxon Druce 30 Jun 2011: 
	 * Increased height from 376px, as the bottom of the scrollbar was clipped 
	 * off.
	 */
    height:430px;
    overflow-y:hidden;
}

#jfmfs-inner-header {
	/* 
	 * Saxon Druce 30 Jun 2011: 
	 * Changed header colour from #f7f7f7 to #ffffff.
	 */
    background:none repeat scroll 0 0 #ffffff;
    border-bottom:1px solid #CCCCCC;
    color:#3B5998;
    font-size:11px;
    font-weight:bold;
    height:25px;
    padding:2px;
}

.jfmfs-friend.selected {
    background-color: #3B5998;
    border: 1px solid #3B5998;
    
    background: #6D84B4; /* for non-css3 browsers */

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#233E75', endColorstr='#6D84B4'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#233E75), to(#6D84B4)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #233E75,  #6D84B4); /* for firefox 3.6+ */    
}

.jfmfs-friend.selected div {
    color: #FFFFFF;
}

.hover {
    background-color: #EFF2F7;
}

.hide-non-selected, .hide-filtered {
    display: none;
}

div.jfmfs-button {
    background:none repeat scroll 0 0 #6D84B4;
    border:1px solid #3B5998;
    color:white;
    cursor:pointer;
    margin:4px 5px 0 4px;
    padding:2px 5px;
    text-decoration:none;
}

#jfmfs-friend-selector a.filter-link:link, a.filter-link:visited {
    font-weight: bold;
    text-decoration: none;
	/* 
	 * Saxon Druce 30 Jun 2011: 
	 * Added link colour to override link colour of the page.
	 */
	color: #3B59B9;
}

#jfmfs-friend-selector a.filter-link:hover, #jfmfs-friend-selector a.selected {
    background-color: #6D84B4;
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px;
    color: #FFFFFF;
}

/* 
 * Saxon Druce 30 Jun 2011: 
 * Added style to counteract the effect of the above link colour override,
 * for the selected link.
 */
#jfmfs-friend-selector a.selected:link, a.filter-link:visited {
    color: #FFFFFF;
}

#jfmfs-friend-selector .filter-link {
    margin:4px 5px 4px 5px;
    padding:3px 5px 3px 5px;
}

#jfmfs-inner-header .filter-link {
    float:right;
}

#jfmfs-inner-header div.jfmfs-button-hover {
    text-decoration: underline;
}


#jfmfs-friend-filter-text {
    height: 23px;
}


#jfmfs-inner-header span.jfmfs-title {
    color: #333333;
    font-weight: bold;
    margin: 3px 0 2px;
}

#jfmfs-max-selected-wrapper {
    float: right;
    margin:4px 5px 4px 5px;
    padding:3px 5px 3px 5px;  
}
