/*
Theme Name: Blueflipper Diving
Theme URI: http://www.blueflipperdiving.co.uk/
Description: BF Theme for BuddyPress.
Version: 1.0
Author: Simon Goodchild
Author URI: http://www.htsuk.net/
Template: bp-default
Tags: buddypress, blueflipper, diving
*/

/* Above... Templte says which is parent template */
/* Tags: include buddypress to say is compatible with Buddypress */

/* Copy (for example) header.php here to over-ride, don't change default */
/* Only exception is functions.php which will be added to parent theme functions.php */

/* -------------------------------------------------------------------- */


/* Inherit the default theme styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );

/* Inherit the default theme adminbar styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );

/* Page */

body {
	background-color: #000;
	background-image: url(/wp-content/themes/blueflipper/images/background2.png); 
	background-repeat: repeat;
	font-size: 12px;
	font-family: Arial, Tahoma, Verdana, sans-serif;
	line-height: 170%;
	color: #555;
	width: 90%;
	min-width: 960px;
	max-width: 2000px;
	margin: 0 auto;
	padding-top: 0 !important; /* Remove the top padding space for the admin bar in this theme */
}
	body.activity-permalink {
		min-width: 960px;
		max-width: 2000px;
	}

#header {
	position: relative;
	color: #fff;
	-moz-border-radius-bottomleft: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-webkit-border-top-left-radius: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-right-radius: 6px;
	margin-bottom: 20px;
	height: 100px;
	padding-top: 25px;
}

div#content .padder {
	margin-right: 211px;
}

div#sidebar {
	width: 210px;
	margin-left: -212px;
}

#footer {
	padding: 25px;
	text-align: center;
	color: #bbb;
	text-shadow: #666 1px 1px 0;
}

#ad_div {
	clear: both; 
	padding-top: 20px; 
	margin-bottom: 10px; 
	margin-left: auto; 
	margin-right: auto;
	height: 80px; 
	width: 960px; 
	text-align: center;
}
.footer_ad1 {
	float: right;
}
.footer_ad1 img {
	border: 0px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

.footer_facebook {
	float: left;
}
.footer_facebook img {
	border: 0px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

.footer_aware {
	float: right;
	margin-left: 5px;
}

a { color: #66f; }
a:hover, a:active { color: #f00; }
a:focus { outline: 1px dotted #ccc; }

#groups_search, #members_search, #forums_search { width: 100px; padding: 2px; line-height: 17px; }

/* Menu and Heading main styles*/

#nav, h1, h2, h3, h4, h5 { font-family: helsinki; }
h1, h2 { text-shadow: #666 2px 2px 3px; }
.pagetitle { color: #000; }
ul#nav { max-width: 100%; }

.tab {
	height: 20px;
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 6px 5px 4px 5px;
	background: url( /wp-content/plugins/buddypress/bp-themes/bp-default/_inc/images/60pc_black.png );
	-moz-border-radius-topleft: 3px;
	-webkit-border-top-left-radius: 3px;
	-moz-border-radius-topright: 3px;
	-webkit-border-top-right-radius: 3px;
}
@media screen and (-webkit-min-device-pixel-ratio:0)
{
.tab {padding: 5px;}
}

/* Textboxes */
input[type="text"],input[type="password"] {
	box-shadow: inset 0 0 2px 0 #aaa;
	-moz-box-shadow: inset 0 0 2px 0 #aaa;
	-webkit-box-shadow: inset 0 0 2px 0 #aaa;
}


/* Buttons */

.tern_members_search input[type=button], a.button, input[type=submit], input[type=button],
ul.button-nav li a, div.generic-button a {
	background: #0f0 url(/wp-content/themes/blueflipper/images/green-grad.png) top left repeat-x;
	border: 1px solid #0a0;
	padding: 3px 10px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
	color: #030;
	font-size: 12px;
	font-weight: normal;
	vertical-align: bottom;
	cursor: pointer;
}
	a.button:hover, a.button:focus, input[type=submit]:hover, input[type=button]:hover,
	ul.button-nav li a:hover, ul.button-nav li.current a,
	div.generic-button a:hover {
		border-color: #030;
		color: #000;
		outline: none;
	}
	

/* Boxes */

.roundBox {
	color: #000;
	background-image: url(/wp-content/themes/blueflipper/images/grey-background.png); 
	background-position: top left;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	margin-bottom: 20px;
	padding: 15px;
}
.roundBox h1, .roundBox h2 { font-family: helsinki; font-weight: normal; line-height: 27px; margin-bottom: 10px; text-shadow: #666 2px 2px 3px; }
.redBox { background-image: url(/wp-content/themes/blueflipper/images/red2-background.png); color: #fff; }
.redBox a { color: #ff0 } .redBox a:hover { color: #f90 }
.redBox h1 { text-shadow: #000 2px 2px 3px; }
.blueBox { background-image: url(/wp-content/themes/blueflipper/images/blue-background.png); color: #fff; }
.blueBox a { color: #ff0 } .blueBox a:hover { color: #f90 }
.blueBox h1 { text-shadow: #000 2px 2px 3px; }
.blackBox { background-image: url(/wp-content/themes/blueflipper/images/black-background.png); color: #fff; }
.blackBox h1 { text-shadow: #000 2px 2px 3px; }
.greenBox { background-image: url(/wp-content/themes/blueflipper/images/green-background.png); }
.greenBox a { color: #ff0 } .greenBox a:hover { color: #fff }
.greenBox h1 { text-shadow: #fff 2px 2px 3px; }
.orangeBox { background-image: url(/wp-content/themes/blueflipper/images/orange-background.png); }
.orangeBox a { color: #ff0 } .orangeBox a:hover { color: #fff }
.orangeBox h1 { text-shadow: #fff 2px 2px 3px; }
.purpleBox { background-image: url(/wp-content/themes/blueflipper/images/purple-background.png); color: #fff; }
.yellowBox { background-image: url(/wp-content/themes/blueflipper/images/yellow-background.png); }
.yellowBox h1 { text-shadow: #fff 2px 2px 3px; }

.leftBox { width: 49%; float: left; }
.rightBox { width: 49%; float: right; }

/* Picture Gallery */

.picture-middle img { border: 12px solid #ddd; background-color: #999; padding: 2px; }
.picture-description { font-size: 1.6em; margin-top: 10px; margin-bottom: 10px; text-align: center; } 
.picture-meta { text-align: center; }

/* Buddy press admin bar */

#wp-admin-bar .padder {
	background: #d00;
	background-image: url(/wp-content/themes/blueflipper/images/red2-background.png);
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	margin-top: 6px;
}
#wp-admin-bar ul.main-nav li ul {
	padding: 5px;
}
#wp-admin-bar ul.main-nav li:hover, #wp-admin-bar ul.main-nav li.sfhover, #wp-admin-bar ul.main-nav li ul li.sfhover {
	background-color: #333;
}
#wp-admin-bar ul.main-nav li ul li:hover, #wp-admin-bar ul.main-nav li ul li.sfhover, #wp-admin-bar ul.main-nav li ul li.sfhover {
	background: #00d;
	background-image: url(/wp-content/themes/blueflipper/images/black-background.png);
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border: 0px;
}

/* Search */

#search-bar .padder { visibility: hidden; }
	#header #search-bar {
		position: absolute;
		top: 25px;
		right: 0;
		width: 100%;
		text-align: right;
	}

		#header h1 {
			line-height: 230%;
		}

		#header #search-bar .gosearch {
			padding: 10px 20px;
		}

		#header #search-bar input[type=submit] {
			font-size: 11px;
			padding: 1px 4px;
			margin-left: 4px;
		}
		
		
/* Avatars */

img.avatar { 
	border: 0px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

.slideshow-widget {
	border: 0px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	margin-top: 10px;
	margin-bottom: 0px;
}

/* Latest Articles */
/* ----------------------------------------------------------- */

ul.latestbyauthor { list-style-type:disc; margin-left: 25px; }

/* Quiz Table */
/* ----------------------------------------------------------- */

.quiz_table { margin-top: -20px; }

/* Latest Discussion Posts */
/* ----------------------------------------------------------- */

#discussions #latest th { text-align: left; }

/* Other colours */
/* ----------------------------------------------------------- */

span.activity, div#message p {
	background: #FFD60E;
	border-bottom: 1px solid #FF9E19;
	border-right: 1px solid #FF9E19;
	color: #864606;
}
.activity-list div.activity-meta a.acomment-reply {
	background: #FFD60E;
	border-bottom: 1px solid #FF9E19;
	border-right: 1px solid #FF9E19;
	color: #864606;
}

div.activity-comments ul li { margin-top: 10px; }

div#item-header h2 span.highlight { position: relative; top: -10px; width: 200px; padding-right: 20px; text-shadow: none; }
div#item-header h2 span.highlight span { position: absolute; line-height: 10px; height: 10px; top: 5px; right: 4px; padding: 4px; padding-top: 2px; padding-bottom: 2px; text-shadow: none; }

/* Fonts */
/* ----------------------------------------------------------- */


@font-face {
  font-family: 'helsinki';
  src: url('/wp-content/themes/blueflipper/fonts/helsinki.eot');  
  src: local("non-IE"), url('/wp-content/themes/blueflipper/fonts/helsinki.ttf') format("truetype"); 
}

@font-face {
  font-family: 'crimson';
  src: url('/wp-content/themes/blueflipper/fonts/crimson.eot');  
  src: local("non-IE"), url('/wp-content/themes/blueflipper/fonts/crimson.ttf') format("truetype"); 
}

@font-face {
  font-family: 'CaviarDreams';
  src: url('/wp-content/themes/blueflipper/fonts/CaviarDreams.eot');  
  src: local("non-IE"), url('/wp-content/themes/blueflipper/fonts/CaviarDreams.ttf') format("truetype"); 
}


/* Wire */
/* ----------------------------------------------------------- */

#wire-post-list li, #wire-post-new {
	
}
#wire-poster-avatar{float:left;
width:70px;}
	.bp-widget h4, .wire-post-metadata, #wire-post-new-metadata {
		color: #888;
	}
	
	.wire-post-content {
		margin-left: 68px;
	}

.bp-widget h4 span { font-family: arial; font-size: 12px; }

#wire-post-new:hover {
	position: relative;
	
}

#wire-post-new textarea {
	font-size: 14px;
	font-family: inherit;
	padding: 5px;
	border: 1px dotted #999;
	background-color: #f4f4f4;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;

}

form#wire-post-new-form {
	padding: 10px;
	position: relative;
}

div#wire-post-new {
	margin-top: 15px;
}
	p#wire-email-notify {
		float: right;
		margin: 0;
	}

	div#wire-post-new-avatar { 
		float: left;
	}
	
	div#wire-post-new-metadata {
		
	}
		span#wire-by-text {
			display: none;
		}
	
	div#wire-post-new-input {
		margin-left: 70px;
	}
		div#wire-post-new-input textarea {
			height: 80px;
			width: 98%;
			margin: 5px 0 0 0;
		}
		
		input#wire-post-submit { 
			margin-top: 10px;
		}
		
		
/* TABS */

    .tabwidget {
    width: 90%;
    margin: 20px;
    padding: 10px;
    background: #f3f1eb;
    border: 1px solid #dedbd1;
    margin-bottom: 15px;
    }

    .tabwidget a {
    color: #222;
    text-decoration: none;
    }

    .tabwidget a:hover {
    color: #009;
    text-decoration: underline;
    }

    .tabnav li {
    display: inline;
    list-style: none;
    padding-right: 5px;
    }

    .tabnav li a {
    text-decoration: none;
    text-transform: uppercase;
    color: #222;
    font-weight: bold;
    padding: 4px 6px;
    outline: none;
    }

    .tabnav li a:hover, .tabnav li a:active, .tabnav li.ui-tabs-selected a {
    background: #dedbd1;
    color: #222;
    text-decoration: none;
    }

    .tabdiv {
    margin-top: 2px;
    background: #fff;
    border: 1px solid #dedbd1;
    padding: 5px;
    overflow: hidden;
    }

    .tabdiv li {
    list-style-image: url("star.png");
    margin-left: 20px;
    }

    .ui-tabs-hide {
    display: none;
    }


	.tabdiv img {
		padding: 4px;
		border: 1px solid #999;
	}
	
	
/* Travel Guide Boxes */

.guide-box {
	width: 160px; 
	float: left; 
	margin: 10px; 
	padding-left: 10px; 
	padding-right: 10px; 
	text-align: center; 
	border: 1px solid #999; 
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px;
}
.guide-box li {
    list-style: none;
	text-align: left;
	margin-left: -10px;
}
.guide-box img {
	padding: 4px;
	border: 1px solid #999;
}

/* Dive Centres */

.htsshowdivecentresbycountry {
	width: 100%; 
	margin-right: 10px; 
	margin-bottom: 10px; 
	margin-left: -20px;
	padding-top: 10px; 
	padding-left: 10px; 
	padding-right: 10px; 
}
.htsshowdivecentresbycountry li {
	width: 210px;
	border: 1px solid #999; 
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px;
    list-style: none;
    float: left;
	padding-left: 10px; 
	padding-right: 10px; 
	text-align: left;
	margin: 5px;
}
.htsshowdivecentresbycountry_img {
	margin-right: 10px;
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px;
}
