/* These are the new styles for the borders of the panels
   Note that there are no background images required */
   
.new-panel-container{
	/* The width of all elements in the body should be 600px */
	/*width:645px;*/
	margin-left:3px;
	margin-bottom:35px;
	background:#fff;
	border:1px solid #e5e5e5;
	border-bottom:1px solid #e8e8e8;

	/* consider using ie-css3.htc for IE rounded corners */
}

.narrow-panel{
	/* The width of all elements in the body should be 300px */
	width:300px;
	margin-left:0px;
}

.panel-column-one{
	/* The width of all elements in the body should be 300px */
	float:left;
	width:450px;		
	clear: both;
}

.panel-column-two{
	/* The width of all elements in the body should be 300px */
	float:left;
	width:450px;		
	margin-left: 10px;
}

.new-panel-heading{
	padding:12px 5px 5px 15px;
	margin-bottom:5px;
	font-weight:bold;
	font-size:22px;
	background-color:#0a0a0a; /* d4ebe6; */
    font-family:"Univers Condensed", Arial, sans-serif;
	color:#FFF;
	text-transform:uppercase;
	text-align: left;
}

.mini-panel-sub-heading
{
    font-weight:bold;
    font-size:18px;
    color:#33544d;
    text-transform:uppercase;
    text-align: left;
    display: block;
    margin-bottom: 8px;
}

.mini-panel-heading
{
    color: #777;
    font-size: 12px;
    font-weight: bold;
    display: block;
    text-transform: uppercase;
    margin-bottom: 0px;
}

.new-panel-heading span{
	/* To make this effective the first word in the heading
	   should be surrounded by <span> tags */
	color:#000;
	font-size:11px;
	display:block;
	text-transform:uppercase;
}

.new-panel-content{
	color:#333;
	padding:12px 8px 15px 8px;
}

.new-panel-links{
	background-color:#ddd;
	text-align:right;
	padding:10px;
}

.new-panel-bottom{
	/* this is the bit of trickery to fake the drop shadow
	   should work cross browser without any fancy CSS3 */
	height:1px;
	border-top:1px solid #7f7f7f;
	background-color:#9d9d9d;
	border-bottom:1px solid #cacaca;	
    display:none;
}

/* overrides of existing classes hence the (over) use of !important and extreme selectors */

h2{
	margin:20px 18px 20px 5px;
	padding:0px;
	color:#575757;
	font-weight:bold;
	font-size:20px;
	
}

.messageTable, .msgTable{
	/* width:560px !important; */
	margin-bottom:10px;
}

.messageTable td, .msgTable td{
	padding:8px;
}

table.mates tr.heading td, #heading td, table.messageTable tr.headingMsg td, .mates .messageTable tr.heading td
{
	background-color:#ddd !important;
	color: #000;
	font-weight: bold;
    padding:2px 4px;
}
table.mates tr.heading td a, #heading td a, table.messageTable tr.headingMsg td a, .mates .messageTable tr.heading td a
{
	color: #000 !important;
	font-size: 11px;
	font-weight: bold;
}

tr.heading td, #heading td, table.messageTable tr.headingMsg td, .mates .messageTable tr.heading td
{
	background-color:#ddd !important;
	color:#000;
}
tr.heading td a, #heading td a, table.messageTable tr.headingMsg td a, .mates .messageTable tr.heading td a
{
	color: #00785F !important;
}
table.mates td {
    padding:4px;
}

.msgSigTopBorder{
	background-color: #fff !important;
}
#groupMsgReply_ReplyMessage{
	width:530px !important;
}

#rightcolumn{
	width:300px;
	float:left;
	margin:0px;
	padding:62px 20px 10px 0px;
}
#StdAd{
	width:300px !important;
}
table.mates{
	margin:0px !important;
}
.mates table td{
	padding:0px 4px 0px 4px;
	font-size: 11px;
}

table.OOMsummaryTable td {
	padding:0px 4px 0px 4px;
	font-size: 11px;
    height: 18px;
}

.mates table.infoTable td
{
	font-size: 13px;
}

.new-panel-content .mates table td{
	background-color:#fff;
}
table.messageTable tr.headingMsg td, tr.headingMsg{
	background-color:#f4f4f4 !important;
}

table.leader tr.header td
{
	background-color:#f4f4f4 !important;
	color: #000;
}

/* styles that override mates.css styles */

h2, h1, p, h3 
{
	margin: 0px 40px 10px 5px;
}

.mates #ContentWrapper 
{
	margin-top: 0px;	
}

/* Popup styles - overrides existing ones */

body.mates, body.matesmasters 
{		
	background: none;
}

body.mates form, body.matesmasters form
{
	background: url(/images/mates/bg_gradient.gif) repeat-y;	
	width: 1090px;		
	margin: 0 auto;
}

#AdversitingBottom , #AdversitingBottom 
{
	height: 110px;
}

#Footer dt
{
	color: #FFFFFF;
    font-size: 14px;
	font-weight: bold;	
}

#Footer dd a
{
	color: #FFFFFF;
    font-size: 11px;
}

.mates #Footer
{
	/* background: #7DA868 url(../images/mates/bg_footer.jpg); */
	background: #eee;	
}

.privacypolicy
{
	color: #000;
}

/* end of styles that overrides GLStyle.css */


.inner-two-column { width:645px; margin-left:3px; }
.inner-two-column .new-panel-container { width: 300px; }
.inner-two-column > div.first, .inner-two-column > div.second { width: 300px; }
.inner-two-column > div.first { float:left; }
.inner-two-column > div.second { float:right; }
body.popup .new-panel-container { margin: 0px; }
body.popup div.body { text-align: left; }
.text-right { text-align: right !important;}

/* Edit Profile */
.popup .matesBackgroundColor .new-panel-container { text-align: left; }
.popup-no-background { background: none; }
.avatar-image-cell img.avatar { border: 1px solid black; }
.avatar-image-cell div { text-align: center; }
.avatar-image-cell a:link { font-size: 10px; }
.avatar-image-cell td { text-align: center !important; }
.popup-no-background .new-panel-container { margin: auto; }
.popup .new-panel-container .new-panel-heading { text-align: left; } 
.popup .new-panel-container { margin-left: 0px; }
.content .buttons { padding-top: 20px; padding-bottom: 20px; }
.popup div.body .content.crop-image-container { text-align: center; }
table.crop-image-container { margin-top: 20px; margin-left: auto; margin-right: auto;  }
.crop-image-container { margin-top: 10px; }		
.crop-image-container .crop-image-header td { background-color: #dddddd; font-weight: bold; }
.crop-image-container .crop-image-body td { vertical-align: top; text-align: left; }
.crop-image-container td.spacer { width: 40px; background: none; }
.crop-image-container tr.crop-image-body td { padding: 0px;  }
#Profiles .new-panel-content { padding-bottom: 25px; }
.mates td.optin-ins ul { margin: 0px; padding: 0px; font-size: 10px; font-family: Arial, Helvetica, sans-serif; }
.mates td.optin-ins ul li { list-style-type: none; clear: both;  }
.mates td.optin-ins input { display: block; float: left; clear: left; height: 12px; padding: 0; margin: 0;  }
.mates td.optin-ins label {  display: block; clear: none; width: 500px; margin-left: 20px; *float: left;  *margin-left: 5px;}
.remove-picture-panel div.body { text-align: center !important; }
.new-panel-content td.profile-label { width: 125px; *width: 80px;}
.mates.popup table { margin-left: 0 !important; margin-right: 0 !important; }
.sms-alert-optin-container { margin-top: 10px; *margin-top: 5px;  }
.sms-alert-optin-container input, .sms-alert-optin-container label { float: left; *margin-top: 5px; }
.sms-alert-optin-container label { margin-left: 5px; *margin-top: 10px; }


body.popup
{
	background: none;
}

body.popup form
{
	background: none;
	width: auto;
	margin: 0;
}

.scoreHighlight
{
    background-color: #ED7600;
    color: white;
}

.rightnav-panel-separator
{
    clear:both;
    border-top: 1px solid #d5d5d5;
    margin: 15px 0px 15px 0px;
    width:285px;
}

/* badges */
.badge-small-icon
{
    width:16px;
    height:16px;
}

.badge-medium-icon
{
    width:32px;
    height:32px;
}

.badge-large-icon
{
    width:64px;
    height:64px;
}

.badge-xlarge-icon
{
    width:200px;
    height:200px;
}

/*  Find Mates mini panel */

#find-mates-mini
{
    clear:both;
}

#find-mates-mini span
{
    line-height:24px;
}

#find-mates-mini input[type=text]
{
    width:190px;
    color:Gray;
}

#find-mates-mini input[type=image]
{
    width:75px;
    height:31px;
    vertical-align:middle;
    top: -1px;
    position:relative;
}

/* Mates Membership Info */

#mates-membership-info
{
    text-align:left;
    width:240px;
    font-size:13px;
}

#mates-membership-info #mates-member-name
{
    font-size:18px;
    font-weight:bold;
}

#mates-membership-info #badge-description-line1
{
    font-weight:bold;
}

#mates-membership-info #badge-description-line2
{
    font-style:italic;
}

#mates-membership-info #badge-panel
{
    background-color:#dedede;
    overflow:hidden;
    width:230px;
    clear:both;
    padding:5px;
    margin-bottom:5px;
    font-size:14px;
    border-radius: 5px;
}

#mates-membership-info #badge-descriptionz
{
    padding: 5px 0px 5px 0px;
}

#mates-membership-info #badge-panel img
{
    vertical-align:top;
    float:left;
    margin-right:10px;
}

#mates-membership-info #membership-details-panel,
#mates-membership-info #membership-home-club-panel-other,
#mates-membership-info #membership-send-a-message,
#mates-membership-info #about-me
{
    margin-bottom:14px;
}

#mates-membership-info #membership-details-panel
{
    margin-top:18px;
}

/* Handicap predictor mini panel */

#handicap-predictor-mini
{
    position:relative;
    width:300px;
}

#handicap-predictor-mini #predicted-score-panel
{
	width:120px;
	height:83px;
	text-align:center;
	border-radius: 5px;
	float:right;
}

#handicap-predictor-mini #predicted-score
{
	font-size: 32px;
}

#handicap-predictor-mini #predicted-title
{
    padding-top: 15px;
    text-align:center;
    font-size: 14px;
}

#handicap-predictor-mini input.score-entry
{
    width: 56px;
    height: 37px;
    font-weight:bold;
    font-size:26px;
    text-align:center;
}

#handicap-predictor-mini #next-round-entry-form
{
    float:left;
    width: 150px;
}

#handicap-predictor-mini #next-round-entry-label
{
    float:left;
    padding: 0px 5px 0px 5px;
    text-align:right;
}

#handicap-predictor-mini #next-round-entry-label strong
{
    font-size:13px;
}

#handicap-predictor-mini #predictor-content
{
    float:left;
    width:280px;
    margin: 10px 10px 10px 5px;
}

#handicap-predictor-mini #next-round-entry-form input[type=image]
{
    width:135px;
    height:37px;
    padding-right: 2px;
    padding-top: 4px;
    float:right;
}

#handicap-predictor-mini #predictor-footer
{
    position:relative;
    clear:both;
    padding-right: 15px;
}

#handicap-predictor-mini #predictor-footer div
{
    text-align:right;
    line-height: 1.5em;
}

#handicap-predictor-mini #tryme
{
    position:absolute;
    background-color: Yellow;
    border: 1px solid black;
    top:0px;
    left:120px;
    width:80px;
    height:25px;
    display:none; 
    font-size: 18px;
    font-weight: bold;
    text-align:center;
    padding-top: 3px;
}

/* Mates Handicap display */

.HandicapsDisplay /* Overridden from GLStyles.css */
{
	float:left;
	font-size:26px;
	font-weight:bold;
	padding: 5px 3px 5px 3px;
	width:40%;
	border:1px white solid;
	text-align:center;
}

.Handicaps /* Overridden from GLStyles.css */
{
	float:left;
	font-size:10px;
	font-weight:bold;
	padding: 5px 3px 5px 3px;
	background-color:#333333;
	color:white;
	width:40%;
	border:1px white solid;
	text-align:center;
	text-transform:uppercase;
}

/* Mates messages mini panel */

#messages-mini
{
    width:300px;
    text-align:left;
    margin-top:10px;
}

#messages-mini #messages-mini-title
{
    float:left;
    width: 110px;
}

.message-block
{
    clear:both;
    cursor:pointer;
    margin-bottom:10px;
}

.message-block-header
{
    margin-bottom:10px;
}

#messages-mini #view-all-messages
{
    width:150px;
    float:left;
    vertical-align:bottom;
    margin-left:5px;
    margin-top:18px;
}

/* Mates Landing Page Personal info panel */

#mates-right-nav-controls
{
    padding-top: 15px;
}

#mates-personal-info-panel
{
    width:100%;
    overflow:hidden;
}

#mates-personal-info-panel #mates-personal-info-panel-col1
{
    float:left;
    width:145px;
    padding-left: 6px;
}

#mates-personal-info-panel #mates-personal-info-panel-col2
{
    float:left;
    margin-left:20px;
    overflow:hidden; /* should not be needed */
}

#mates-personal-info-panel #mates-personal-info-panel-col3
{
    float:left;
    margin-top: 20px;
    margin-left: 20px;
    padding-left: 15px;
    border-left: 1px solid #dedede;
    height: 100%;
}

#mates-handicap-history-container
{
    margin-top:15px;
}

.mates-stats-summary
{
    width:640px;
}

.mates-stats-summary td
{
    background-color: #E6E6E6;
    padding: 0 4px;
}

.mates-stats-summary th
{
    background-color: #DDEADE;
    padding: 0 4px;
}

/* Tables for images/advertisements */
table.advertisement td, table.advertisement th
{
    padding: 0;
    height: inherit;
}

/* Styles for the stats table on profile popup and mates home page */

.stats-table
{
    clear: both;
}

.stats-table td
{
    padding: 3px;
}

.stats-table .label
{
    font-weight: bold;
}

.stats-table .value
{
    background-color: #EDEDED;
}

/* My Mates mini control */

#my-mates-mini
{
    width:300px;
    text-align:left   
}

#my-mates-mini #my-mates-mini-intro
{
    overflow: hidden;
    width: 100%;
}

#my-mates-mini #my-mates-mini-intro div
{
    float:left;
}

#my-mates-mini #my-mates-mini-intro-title
{
    width: 75px;
}

#my-mates-mini #my-mates-mini-intro-more
{
    padding-top:18px;
}

#my-mates-mini .mate-name
{
    font-size: 16px;
    font-weight: bold;
}

#my-mates-mini .mate-name a
{
    text-decoration: none;
}

#my-mates-mini .mate-score
{
    padding: 5px 5px 5px 5px;
    margin-top: 5px;
    background-color: #ED7600;
    color: white;
    border-radius: 5px;
    position:relative;
}

#my-mates-mini .mate-details
{
    float:left;
    width:210px;
    margin-left: 10px;
    vertical-align:bottom;
}

#my-mates-mini .mate-score span
{
    text-transform:uppercase;
}

#my-mates-mini .mate-score .handicap-line
{
    font-size:14px;
}

#my-mates-mini .mate-score .rank-line
{
    font-size:11px;
}

.mate-container
{
    margin: 0px 0px 10px 0px;
    clear:both;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
}

.mates-mini-avatar
{
    width:65px;
    height:65px;
    float:left;
}

.badge-placeholder
{
    position:absolute;
    left:170px;
    top: 4px;
}

.rankIncreased
{
    background-image: url('images/icon/rank/rankup.png');
}

.rankDecreased
{
    background-image: url('images/icon/rank/rankdown.png');
}

.rankNoChange
{
    background-image: url('images/icon/rank/rankequal.png');
}

/* Mates Search */

#max-row-warning
{
    text-align:center;
    color:Red;
}

/* ajax loader */

.ajax-loader-container { position: relative; }
.ajax-loader-container .ajax-loader { position: absolute; top:180px; left:40%; z-index: 1000; }
.ajax-loader-container .ajax-loader img { background-color: Black; padding: 1px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
