/*
Theme Name: Cal Racing
Theme URI: http://baileygardiner.com
Description: Theme for Cal Racing - Fun Runs Here.
Author: Bailey Gardiner
Author URI: http://www.baileygardiner.com
Version: 1
*/
/***************************************************
****************************************************
****************************************************
**
**	Cal Racing Style Sheet
**	----------------------
**
**	1.	Reset
**	2.	Global Styles
**	3.	Navigation
**	4.	Home Page
**	5.	Interior Pages
**	6.	Sidebars
**  7.	Map
**	8.	Main Footer
**	9.	Select Web (Back-end) Styles
**	10.	Non-semantic helper classes
**	11.	jQuery UI Styles
**	12.	Print styles
**
**	Colors
**	----------------------
**	Main Red: rgb(190,30,45)
**
****************************************************
****************************************************
***************************************************/

/************************************************************************
	1. Reset
************************************************************************/
	body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,figure,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
	table {	border-collapse:collapse; border-spacing:0; }
	fieldset,img { border:0; }
	address,caption,cite,code,dfn,em,strong,th,var { font-style:normal;	font-weight:normal; }
	ol,ul { list-style:none; }
	caption,th { text-align:left; }
	h1,h2,h3,h4,h5,h6 {	font-size:100%;	font-weight:normal; }
	q { quotes: none; }
	q:before, q:after { content: ""; content: none; }
	abbr,acronym { border:0; }
	a { text-decoration:none; outline:none; }

/* HTML5 element display
************************************/
	article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
	audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }

/* Base
************************************/
	html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
	body { margin: 0; font-size: 100%; line-height: 1.231; }
	body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* Typography
************************************/
	body { color: #555; font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 100%; }
	abbr[title] { border-bottom: 1px dotted; }
	b, strong { color: #444; font-weight: bold; }
	dfn { font-style: italic; }
	hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
	ins { background: #ff9; color: #000; text-decoration: none; }
	mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
	pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
	pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
	small { font-size: 85%; }
	sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
	sup { top: -0.5em; }
	sub { bottom: -0.25em; }
	/**** Highlight Color ****/
	::-moz-selection { background: rgb(190,30,45); color: #fff; text-shadow: none; }
	::selection { background: rgb(190,30,45); color: #fff; text-shadow: none; }
	/**** Links ****/
	a:link, a:visited { color: rgb(190,30,45); }
	a:focus { outline: thin dotted; }
	a:hover, a:active { outline: 0; }

/* Forms
************************************/
	form { margin: 0; }
	fieldset { border: 0; margin: 0; padding: 0; }
	legend { border: 0; *margin-left: -7px; padding: 0; }
	button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; } /* 1. Correct font-size not inheriting in all browsers * 2. Remove margins in FF3/4 S5 Chrome * 3. Define consistent vertical alignment display in all browsers */
	button, input { line-height: normal; *overflow: visible; } /* 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet) * 2. Correct inner spacing displayed oddly in IE6/7 */
	button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; } /* 1. Display hand cursor for clickable form elements * 2. Allow styling of clickable form elements in iOS */
	input[type="checkbox"], input[type="radio"] { box-sizing: border-box; } /* Consistent box sizing and appearance */
	input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; } /* Consistent box sizing and appearance */
	button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } /* Remove inner padding and border in FF3/4 */
	textarea { overflow: auto; vertical-align: top; } /* Remove default vertical scrollbar in IE6/7/8/9 */
	input:valid, textarea:valid {  } /* Colors for form validity */
	input:invalid, textarea:invalid { background-color: #f0dddd; } /* Colors for form validity */

/************************************************************************
	2. Global Styles
************************************************************************/

/* @Font-Face Upload
************************************/
	/**** DIN Light ****/
	@font-face { font-family: DINWebLight; src: url(fonts/DINWeb-Light.eot); }
	@font-face { font-family: DINWebLight; src: url(fonts/DINWeb-Light.woff) format('woff'); }
	/**** DIN Regular ****/
	@font-face { font-family: DINWebRegular; src: url(fonts/DINWeb.eot); }
	@font-face { font-family: DINWebRegular; src: url(fonts/DINWeb.woff) format('woff'); }
	/**** DIN Bold ****/
	@font-face { font-family: DINWebBold; src: url(fonts/DINWeb-Bold.eot); }
	@font-face { font-family: DINWebBold; src: url(fonts/DINWeb-Bold.woff) format('woff'); }

/* Header
************************************/
	#headWraper {
		font-family: DINWebRegular, sans-serif;
		margin: auto;
		max-width: 1200px;
		position: relative;
		width: 100%;
	}
	#interiorHead {
		background: #333; /* Header BKG color for interior pages */
		font-family: DINWebRegular, sans-serif;
		margin: auto;
		max-width:none;
		position: relative;
		width: 100%;
	}
	.centerHead {
		margin: auto;
		padding: 0 10px;
		width: 960px;
	}
	.mainHead {
		margin-top: 10px;
		position: absolute;
			top: 0;
		width: 960px;
	}
	.page .mainHead {
		margin: 0 auto;
		padding: 10px 0 15px;
		position: inherit;
		width: 960px;
	}
	.mainHead img {
		float: left;
		width:168px;
		margin: 19px 0;
			-webkit-transition:opacity .25s linear;
			-moz-transition:opacity .25s linear;
			-o-transition:opacity .25s linear;
		transition:opacity .25s linear;
	}
	.mainHead img:hover {
		opacity: .9;
	}

/* Page Content
************************************/
	#contentWrap {
		width: 940px;
		margin: 30px auto;
		padding: 0 20px;
	}
	.page #contentWrap {
		width: 960px;
	}
	#body {
		min-height: 500px;
	}
	#body a:hover {
		text-decoration: underline;
	}
	.home #body a:hover {
		text-decoration: none;
	}
	.home #body {
		float: left;
		width: 600px;
	}
	.page #body {
		float: right;
		width: 720px;
	}
	.page #body.bodyfullwidth {
		width: 950px;
	}
	.home .sidebar {
		float: right;
		width: 300px;
	}
	.page .sidebar {
		float: left;
		width: 200px;
		overflow: hidden
	}
	.home #contentWrap header {
		border-bottom: 1px solid rgb(190,30,45);
		margin-bottom: 15px;
	}
	.home #contentWrap section h1 {
		color: rgb(190,30,45);
		font-family: DINWebRegular;
		font-size: 1.25em;
		line-height: 1.5em;
		text-transform: uppercase;
	}

/************************************************************************
	3. Navigation
************************************************************************/

/* Main Site Navigation
************************************/
	.mainHead nav {
		float: right;
		font-family: DINWebRegular, sans-serif;
		width: 780px;
	}
	.mainHead ul {
		float: right;
	}
	.mainHead li {
		float: left;
	}
	.mainHead nav a {
		color: #fff;
	}
	#menu-main-site-nav {
		border: 1px solid rgb(150,35,35);
			-webkit-border-radius: 12px;
			-moz-border-radius: 12px;
		border-radius: 12px;
		margin-top: 10px;
		margin-right: %;
	}
	#menu-main-site-nav a {
		background: rgba(190,30,45,.8);
		border-left: 1px solid rgb(170,60,65);
		border-right: 1px solid rgb(150,35,35);
		display: block;
		font-size: .8em;
		padding: 18px 17px;
		text-transform: uppercase;
			-webkit-transition:background-color .25s linear;
			-moz-transition:background-color .25s linear;
			-o-transition:background-color .25s linear;
		transition:background-color .25s linear;
	}
	#menu-main-site-nav a:hover {
		background: rgb(190,30,45);
	}
	#menu-main-site-nav li:last-child a {
		border-right: none;
			-webkit-border-radius: 0 12px 12px 0;
			-moz-border-radius: 0 12px 12px 0;
		border-radius: 0 12px 12px 0;
		padding: 18px;
	}
	#menu-main-site-nav li:first-child a {
		border-left: none;
			-webkit-border-radius: 12px 0  0 12px;
			-moz-border-radius: 12px 0  0 12px;
		border-radius: 12px 0  0 12px;
		padding: 18px;
	}
	#menu-main-site-nav li:last-child a,
	#menu-main-site-nav li:first-child a {
			-moz-background-clip: padding;
			-webkit-background-clip: padding-box;
		background-clip: padding-box;
	}

/**** Video and Replay Links ****/
	#menu-main-site-sub-nav {
		font-family: DINWebLight;
		font-size: 1em;
	}
	#menu-main-site-sub-nav a {
		padding: 0 22px 0 15px;
	}
	#menu-main-site-sub-nav li:first-child a {
		background: url(images/icons/video.png) no-repeat right;
	}
	#menu-main-site-sub-nav li:last-child a {
		background: url(images/icons/replay.png) no-repeat right;
		border-left: 1px solid #fff;
		margin-left: 18px;
	}

/* Interior Page Sub Nav
************************************/
	.page #body .subnav {
		width: 100%;
	}
	.page #body .subnav a:hover {
		text-decoration: none;
	}
	.page #body .subnav ul {
		background: #eee;
		border: 1px solid #ccc;
			-webkit-border-radius: 8px;
			-moz-border-radius: 8px;
		border-radius: 8px;
		float: right;
		margin-bottom: 20px;
		width: 720px;
	}
/**** Sub Nav Clear Fix ****/
	.page #body .subnav ul:after { content: "."; display: block; height: 0; clear: both;visibility: hidden; }
	* html .page #body .subnav ul {height: 1%;} /* IE6 */
	*:first-child+html .page #body .subnav ul {min-height: 1px;} /* IE7 */

	.page #body .subnav ul a {
		border-left: 1px solid #fff;
		border-right: 1px solid #ccc;
		color: #333;
		display: block;
		float: left;
		font-size: .8em;
	}
	.page #body .subnav ul a:hover {
		color: rgb(190,30,45);
	}
	.page #body .subnav li:first-child a { border-left: none; }
	.page #body .subnav li:last-child a { border-right: none; }

/**** Racing Info Menu Padding ****/
	#body .racingInfo li a { padding: 10px 47px; }

/**** Video & Media Menu Padding ****/
	#body .videoMedia li a { padding: 10px 50px; }
	#body .videoMedia li:first-child a { padding-left:53px; }
	#body .videoMedia li:last-child a { padding-right:53px; }

/**** Horsemen Menu Padding ****/
	#body .horsemen a { padding: 10px 21px; }
	#body .horsemen li:first-child a { padding-left:23px; }
	#body .horsemen li:last-child a { padding-right:23px; }

/**** News & Events Menu Padding ****/
	#body .newsEvents li a { padding: 10px 70px; }

/**** Resources Menu Padding ****/
	#body .resources li a { padding: 10px 28px; }

/* Interior Page Sidebar Sub Nav
************************************/
	a.button {
		background-color: rgb(190,30,45);
		background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee432e), color-stop(50%, #c63929), color-stop(50%, #b51700), color-stop(100%, #891100));
		background-image: -webkit-linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		background-image: -moz-linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		background-image: -ms-linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		background-image: -o-linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		background-image: linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		-moz-background-clip: padding;
		-webkit-background-clip: padding-box;
		background-clip: padding-box;
		border: 1px solid #951100;
		-webkit-border-radius: 8px;
		-moz-border-radius: 8px;
		-ms-border-radius: 8px;
		-o-border-radius: 8px;
		border-radius: 8px;
		-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333333;
		-moz-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333333;
		-ms-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333333;
		-o-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333333;
		box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333333;
		color: #fff;
		display: block;
		font-size: .9em;
		font-weight: bold;
		margin-bottom: 30px;
		max-width: 200px;
		padding: 10px 0 10px 0;
		text-align: center;
		text-transform: uppercase;
		text-shadow: 0px -1px 1px rgba(0, 0, 0, 0.8);
	}
	a.button:hover {
	    background-color: #d21e32;
	    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f37873), color-stop(50%, #db504d), color-stop(50%, #cb0500), color-stop(100%, #a20601));
	    background-image: -webkit-linear-gradient(top, #f37873 0%, #db504d 50%, #cb0500 50%, #a20601 100%);
	    background-image: -moz-linear-gradient(top, #f37873 0%, #db504d 50%, #cb0500 50%, #a20601 100%);
	    background-image: -ms-linear-gradient(top, #f37873 0%, #db504d 50%, #cb0500 50%, #a20601 100%);
	    background-image: -o-linear-gradient(top, #f37873 0%, #db504d 50%, #cb0500 50%, #a20601 100%);
	    background-image: linear-gradient(top, #f37873 0%, #db504d 50%, #cb0500 50%, #a20601 100%);
	    cursor: pointer;
	}
	a.button:active {
	    background-color: #a51e28;
	    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d43c28), color-stop(50%, #ad3224), color-stop(50%, #9c1500), color-stop(100%, #700d00));
	    background-image: -webkit-linear-gradient(top, #d43c28 0%, #ad3224 50%, #9c1500 50%, #700d00 100%);
	    background-image: -moz-linear-gradient(top, #d43c28 0%, #ad3224 50%, #9c1500 50%, #700d00 100%);
	    background-image: -ms-linear-gradient(top, #d43c28 0%, #ad3224 50%, #9c1500 50%, #700d00 100%);
	    background-image: -o-linear-gradient(top, #d43c28 0%, #ad3224 50%, #9c1500 50%, #700d00 100%);
	    background-image: linear-gradient(top, #d43c28 0%, #ad3224 50%, #9c1500 50%, #700d00 100%);
	    -webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
	    -moz-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
	    -ms-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
	    -o-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
	    box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
	}

	.page-template-interior_news_events_fw-php a.button,
	.page-template-interior_racing_info_fw-php a.button,
	.page-template-interior_fullwidth-php a.button {
		width: 190px;
		float: left;
		margin-bottom: 0px;
		margin-left: -10px;
	}

	.sidebar nav ul {
			-moz-background-clip: padding;
			-webkit-background-clip: padding-box;
		background-clip: padding-box;
		border: 2px solid rgb(190,30,45);
			-webkit-border-radius:8px;
			-moz-border-radius: 8px;
		border-radius: 8px;
		margin-bottom: 30px;
	}
	.sidebar nav ul a {
		border-bottom: 1px solid #ccc;
		color: #333;
		display: block;
		padding: 10px;
		font-size: .9em;
	}
	.sidebar nav ul a:hover {
		color: rgb(190,30,45);
	}
	.sidebar nav li:first-child a {
		background-color: rgb(190,30,45);
		background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee432e), color-stop(50%, #c63929), color-stop(50%, #b51700), color-stop(100%, #891100));
		background-image: -webkit-linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		background-image: -moz-linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		background-image: -ms-linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		background-image: -o-linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		background-image: linear-gradient(top, #ee432e 0%, #c63929 50%, #b51700 50%, #891100 100%);
		border-bottom: none;
		color: #fff;
		font-size: .9em;
		font-weight: bold;
		text-transform: uppercase;
		text-shadow: 0px -1px 1px rgba(0, 0, 0, 0.8);
		padding: 9px 0 10px 0;
		text-align: center;
	}
	.sidebar nav li:last-child a {
		border-bottom: none;
	}

/**** Racing Info Nav Hides ****/
	.page-id-30 .sidebar nav ul,
	.parent-pageid-30 .sidebar nav ul,
	.page-id-48 nav .button,
	.parent-pageid-48 nav .button,
	.page-id-48 .sidebar nav ul,
	.page-id-36 .sidebar .advertisment,
	.pagename-racing-101 .sidebar .advertisment,
/**** News & Events Nav Hides ****/
	.page-id-190 .sidebar nav ul,
	.page-id-13 nav .button,
	.parent-pageid-190 .sidebar nav ul,
/**** Featured article ****/
	.single #contentWrap nav { display: none; visibility: hidden; }

/**** Racing Info Sidebar Nav Show ****/
	.page-id-48 .sidebar nav ul,
	.page-id-13 .sidebar nav ul { display: inherit; visibility: visible; }

/* Footer Site Map Nav
************************************/
	#mainFooter .navCol {
		color: #fff;
		float: left;
		margin-bottom: 50px;
		width: 100%;
	}
	#mainFooter .navCol ul {
		float: left;
		margin-right: 30px;
		min-width: 17%;
	}
	#mainFooter .navCol .last {
		margin-right: 0;
	}
	#mainFooter .navCol li:first-child {
		font-size: .9em;
		font-weight:  normal;
		margin-bottom: 10px;
		text-transform: uppercase;
	}
	#mainFooter .navCol li {
		font-size: .8em;
		font-weight: 300;
		margin: 5px 0;
	}

/************************************************************************
	4. Home Page
************************************************************************/

/* FlexSlider Gallery
*********************************/
	.flexslider {
		width: 100%;
			min-width: 980px;
			min-height: 490px;
		z-index: -10;
	}
	.flexslider .slides > li {
		display: none; /* Hide the slides before the JS is loaded */
	}
	.flexslider .slides img {
		display: block;
		max-width: 100%;
	}
	.flex-control-nav,
	.flex-direction-nav {
		display: none;
		visibility: hidden;
	}
	.no-js .slides > li:first-child {
		display: block; /* No JavaScript Fallback */
	}

/* Buttons
************************************/
	.featured {
		padding-bottom: 5px;
	}
	.featured li {
		float: left;
		width: 50%;
	}
	.featured .even a {
		float: left;
		margin:0 0 20px 10px;
	}
	.featured .odd a {
		float: right;
		margin:0 10px 20px 0;
	}
	.featured li a {
		padding: 12px 0;
		width: 200px;
	}

	.featured {
		padding-bottom: 5px;
	}
	.featured div {
		float: left;
		width: 50%;
	}
	.featured .col2 a {
		float: left;
		margin:0 0 20px 10px;
	}
	.featured .col1 a {
		float: right;
		margin:0 10px 20px 0;
	}
	.featured a {
		padding: 12px 0;
		width: 200px;
	}


/* Currently Running
************************************/
	.currentlyRunning article div,
	.currentlyRunning article h1,
	.currentlyRunning div ul,
	.currentlyRunning div img,
	.currentlyRunning .icons li {
		float: left;
	}
	.currentlyRunning,
	.currentlyRunning article {
			-moz-background-clip: padding;
			-webkit-background-clip: padding-box;
		background-clip: padding-box;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
		border-radius: 5px;
	}
	.currentlyRunning {
		background: #eee;
		font-size: .9em;
		margin-top: 10px;
		padding: 8px 10px 10px 10px;
	}
	.currentlyRunning a {
		color: #666;
	}
	.currentlyRunning article {
		background: #fff;
		color: #666;
		margin-top: 15px;
	}
	.currentlyRunning article:first-of-type {
		margin-top: 8px;
	}
	.currentlyRunning article h1 {

		width: 170px;
		margin-top: 33px;
		text-align: center;
	}
	.currentlyRunning article h2,
	.page #body article .weather h2
	{
		font-family: DINWebBold;
		font-weight: bold;
		margin-bottom: 6px;
	}
	.page #body article .weather h2 {
	  font-size: 1.2em;
	  text-transform: uppercase;
	}
	.page #body article .weather a {
	  color: rgb(190,30,45);
	  font-weight: bold;
	}
	.currentlyRunning article p {
		color: rgb(190,30,45);
	}
	.currentlyRunning article > div {
		border-left: 1px solid #eee;
		width: 270px;
	}
	.currentlyRunning div div {
		width: 114px;
		padding: 10px;
	}
/**** Weather ****/
	.currentlyRunning .weather {
		border-left: 1px solid #eee;
		height: 81px;
	}
	.currentlyRunning .weather img {
		margin: 10px 0 0 0;
	}
	.currentlyRunning .weather ul,
	.page #body article .weather ul {
	  list-style: none;
		font-size: .8em;
		margin: 15px 0 0 4px;
	}
	.currentlyRunning .weather li {
	  line-height: 1.4em;
	 	font-size: .8em;
	}

	.page #body article .weather ul li {
		font-size: 1em;
	}

/**** Website & Video Links ****/
	.currentlyRunning .icons {
		border-top: 1px solid #eee;
		padding: 8px 10px 9px;
		width:256px;
	}
	.currentlyRunning .icons li a {
		display: block;
		padding-right: 20px;
	}
	.currentlyRunning .icons .website a {
		background: url(images/icons/link-out-hover.png) top right no-repeat;
		margin-right: 37px;
	}
	.currentlyRunning .icons .video a {
		background: url(images/icons/video-hover.png) top right no-repeat;
	}
	/**** More Info Link List ****/
	.currentlyRunning .list {
		border-left: 1px solid #eee;
		float: right;
		width: 135px;
	}
	.currentlyRunning .list a {
		border-bottom: 1px solid #eee;
		display: block;
		padding: 8px 10px;
	}
	.currentlyRunning .list a:hover {
		color: rgb(190,30,45);
	}
	.currentlyRunning .list li:last-child {
		border-bottom: none;
	}

/* Park Logos
************************************/
	.home #contentWrap .parkLogos {
	margin-top:10px;
	}

/* Racing News
************************************/
	.news {
		margin-top: 25px;
		width: 940px;
	}
	.news header {
		margin-bottom: 0;
	}
	.news article {
		float: left;
		width: 450px;
	}
	.news .right {
		float: right;
	}
	.news ul {
		margin: -13px 0;
	}
	.news li {
		border-bottom: 1px solid #ccc;
	}
	.news li:last-child {
		border-bottom: none;
	}
	.news h1 a {
		color: rgb(190,30,45);
		padding: 0;
	}
	.news a {
		display: block;
		color: #666;
		font-size: .9em;
		padding: 12px 0;
	}
	.news a:hover {
		color: rgb(190,30,45);
	}

/************************************************************************
	5. Interior Pages
************************************************************************/
	.page #body h1 {
		color: rgb(190,30,45);
		font-family: DINWebBold;
		font-size: 2.5em;
		margin: 20px 0 10px 0;
		text-transform: uppercase;
	}
	.pagename-workouts #body h1,
	.pagename-stakes-schedule #body h1,
	.pagename-events-calendar #body h1 {
		float: left;
		margin-top: 0;
		margin-right: 10px;

	}
	.page-template-track-php #body h1 {
		margin-top: -7px;
	}
	.page #body h2 {
		color: #333;
		font-family: DINWebBold;
		font-size: 1.5em;
		margin: 10px 0;
	}
	.page #body h3 {
		font-size: 1.25em;
		margin-bottom: 10px;
	}
	.page #body h4 {
		color: rgb(190,30,45);
		font-family: DINWebBold;
		font-size: 1.15em;
		margin: 20px 0 10px;
		text-decoration: underline;
	}
	.page #body p {
		line-height: 1.4em;
		margin: 10px 0;
	}
	.page #body img {
		border: 10px solid #eee;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
		border-radius: 5px;
	}
	.page #body article ul {
		list-style: circle;
		margin: 10px 40px;
	}
	.page #body article ol {
		list-style: decimal;
		margin: 10px 40px;
	}
	.page #body article li {
		margin-bottom: 8px;
	}
	.page #body blockquote {
		background: #eee;
		font-size: 1.25em;
		font-style: italic;
		margin: 40px;
		padding: 10px 20px;
	}
	.page #body blockquote footer {
		font-size: 1em;
		font-style: normal;
		text-align: right;
	}
	.alignright {
		float: right;
		margin-left: 20px;
	}
	.toc {
		font-size: 12px;
		line-height: 16px;
		text-align: center;
		width: 187px;
	}

/* Racing Info
************************************/
	/* Uncomment if using the inner-jockey.jpg image
	.page-id-30 #body {
		background: url(images/inner-jockey.jpg) no-repeat right;
		height: 710px;
	}
	.page-id-30 #body h3 { width: 400px; }
	.page-id-30 #body p	 { width: 390px; }
	.page-id-30 #body .second { width: 350px; }
	*/

	.pagename-how-to-bet #body h2 {
		border-top: 1px dashed #ccc;
		padding-top: 20px;
		margin-top: 25px;
	}
	.pagename-glossary #body p {
		border-bottom: 1px dashed #ccc;
		padding-bottom: 10px;
	}
	.pagename-glossary #body p:last-of-type {
		border-bottom: none;
		padding-bottom: 0;
	}
	.pagename-how-to-read-the-program #body p {
		margin: 5px 0 20px 0;
	}
	.pagename-technical-support #body h2,
	.pagename-medication-rules #body h2,
	.pagename-handicapping-101 #body h2 {
		border-bottom: 1px dashed #ccc;
		padding-bottom: 5px;
	}

/* 	Press Materials
************************************/
	.pagename-press #body .images {
		list-style: none;
		margin: 0;
	}
	.pagename-press #body .images li:nth-child(5n) {
		margin-right: 0;
	}
	.pagename-press #body img {
		float: left;
		border:none;
		margin-right: 20px;
	}
	.pagename-press #body h2 {
		padding-top: 20px;
	}

/* 	Advertise w/ Us
************************************/
	.adThumb {
		float: left;
		margin: 0 12px 0 0;
		width: 170px;
	}
	.adThumb.last {
		margin: 0;
	}
	.adThumb h5 {
		font-weight: bold;
		text-align: center;
	}
	.page #body .adThumb img {
		border: 1px solid #999;
		border-radius: 0;
		margin: 0;
		padding: 0;
	}
	.page #body .adThumb a {
		margin: 0;
		padding: 0;
	}

/* 	List Style Pages
************************************/
	#body article ul.mainList {
		line-height: 1.5em;
		list-style: none;
		margin: 0;
	}
	.pagename-press #body h2,
	#body article .mainListTitle {
		border-bottom: 1px solid #555;
		padding-bottom: 10px;
	}
	#body article .mainListTitle {
		margin: 15px 0 0 0;
	}
	#body article .mainList li {
		margin: 0;
	}
	.page-id-138 #body article li {
		padding: 12px;
	}
	.mainList li:nth-child(even) {
		background: #eee;
	}
	.mainList .even {
		background: #eee;
	}
	.mainList a {
		font-weight: bold;
	}
	.page-id-15 #body article a,
	.page-id-160 #body article a {
		display: block;
		margin: 0;
		padding: 12px;
	}
	.pagename-radio-shows #body article h2 {
		border-bottom: 1px solid #555;
		padding-bottom: 5px;
		margin:30px 0 15px 0;
	}
	.pagename-radio-shows #body .head2 {
		margin-top:15px;
	}

/************************************************************************
	6. Sidebars
************************************************************************/

/* Carryover
************************************/
	.carryover h2 {
		font-weight: bold;
		margin-bottom: 2px;
		font-size: 110%;
	}
	.carryover p {
		margin-bottom: 2px;
		margin-left: 10px;
	}
	.carryover .amount {
		color: rgb(190,30,45);
		font-weight: bold;
		margin-bottom: 10px;
	}
	.carryover > div {
		margin-bottom: 10px;
		padding-left: 5px;
		border-left: 3px solid #BE1E2D;
	}
	/*
	.carryover div:last-of-type {
		margin: 0;
	}
	*/

/* Social Media Buttons
************************************/
	.sidebar .socialMedia li a {
	   background: url(images/icons/social-media-icons.png) no-repeat top left;
	   float: left;
	   margin-right: 18px;
	}
	/**** Facebook ****/
	.sidebar .socialMedia .facebook a { background-position: 0 0; width: 40px; height: 40px; }
	.sidebar .socialMedia .facebook a:hover { background-position: 0 -50px; width: 40px; height: 40px; }
	/**** Youtube ****/
	.sidebar .socialMedia .youtube a { background-position: 0 -200px; width: 40px; height: 40px; }
	.sidebar .socialMedia .youtube a:hover { background-position: 0 -250px; width: 40px; height: 40px; }

/* Advertisment
************************************/
	.topAd {
		background: #ccc;
		height: 90px;
		min-width: 980px;
	}
	.home .adWrap{
		margin: auto;
		width: 980px;
	}
	.home .adWrap img{
		margin-left: 126px;
	}
	.sidebar .advertisment {
		margin: 20px 0 0;
		text-align: center;
	}
	.home .sidebar .advertisment {
		margin: 20px 0;
	}
	.page .sidebar .advertisment {
		background: #eee;
			-moz-background-clip: padding;
			-webkit-background-clip: padding-box;
		background-clip: padding-box;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
		border-radius: 5px;
		margin-top: 0;
		padding: 5px 0 15px;
	}
	.home #contentWrap .sidebar .advertisment h1,
	.page #contentWrap .sidebar .advertisment h1 {
		color: #666;
		font-family: sans-serif;
		font-size: .75em;
		text-transform: none;
	}

/************************************************************************
	7. Map
************************************************************************/
	.page-template-map-php {
		min-width: 980px;
	}
	#mapBKG {
		height: 1115px;
		background: url(images/racetracks-map.jpg) no-repeat center top;
		margin: -275px  auto 0 auto;
		overflow:inherit;
		width: 100%;
		min-width: 1200px;
	}
	.mapWrap {
		margin: 0 auto;
		position: relative;
		width: 980px;
	}
/**** Info Box ****/
	.mapWrap .info {
		background: #000; /*fallback*/
		background: rgba(0,0,0,.85);
			-moz-background-clip: padding;
			-webkit-background-clip: padding-box;
		background-clip: padding-box;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
		border-radius: 5px;
			-webkit-box-shadow: 0px 0px 4px #000000; /* Saf3-4 */
	    	-moz-box-shadow: 0px 0px 4px #000000; /* FF3.5 - 3.6 */
	    box-shadow: -4px 4px 6px rgba(0,0,0,.3); /* Opera 10.5, IE9, FF4+, Chrome 10+ */
		cursor: move;
		padding: 10px 10px 20px 21px;
		position: absolute;
			top: 350px;
			right: 10px;
		width: 240px;
		z-index: 100;
	}
	.mapWrap .close { float:right; }

	.mapWrap .info p {
		color: #fff;
		font-size: .9em;
		line-height: 1.5em;
		margin: 26px 10px 20px 0px;
	}
	.mapWrap .info div {
		color: #fff;
		cursor:pointer;
		display: block;
		float: left;
		margin-right: 12px;
		text-align: center;
	}
	.mapWrap .info .showAll { margin-right: 0; }

	.mapWrap .info div p {
		font-size: .8em;
		margin: 0;
	}
	.mapWrap .info a {
		color: #fff;
		text-decoration: underline;
	}

/**** Pin & Popup ****/
	.bubbleInfo {
	    position: absolute;
	    width: 32px;
	}
	.trigger:hover {
		cursor:pointer;
	}
	.popup {
		background: #000; /*fallback*/
		background: rgba(0,0,0,.85);
			-moz-background-clip: padding;
			-webkit-background-clip: padding-box;
		background-clip: padding-box;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
		border-radius: 5px;
		color: #fff;
	    display: none; /* keeps the popup hidden if no JS available */
	    position: absolute;
	    width: 400px;
	    z-index: 200;
	}
		.wageringSite .popup {
			width: 270px;
			margin-left: 64px;
			margin-top: 5px;
		}
		.winners .popup, .sanBernardino .popup {
			margin-top: -15px;
		}
	.popup:after {
		content: url(images/popup.png);
		bottom: -24px; /* value = border-top-width & border-bottom-width */
		left:181px; /* horizontal position */
	    position:absolute;
	    width:0;
	}
		.wageringSite .popup:after {
			left:117px;
		}
	.popup img {
		float: left;
		margin: 7px 15px;
	}
	.popup .address {
		float: right;
		width: 205px;
	}
		.wageringSite .popup .address {
			float: left;
			width: 238px;
		}
	.popup h1 {
		font-size: 1.03em;
	}
	.popup p {
		font-size: .9em;
		font-weight: 300;
		margin-top: 3px;
	}
	.popup .first {
		padding: 22px 20px 22px 0;
	}
		.wageringSite .first {
			padding: 22px 20px;
		}
	.popup .last {
		border-top: 1px solid #fff;
		padding: 15px 20px;
	}
	.popup a {
		color: #fff;
		display: block;
		float: left;
		font-size: .9em;
		margin-right: 30px;
		padding-right: 19px;
	}
		.wageringSite .popup a {
			float: left;
			margin-right: 0;
			padding-right: 19px;
		}
		.wageringSite .popup .website {
			margin-right: 20px;
		}
	.popup .website { background:url(images/icons/link-out.png) no-repeat right; }
	.popup .directions { background:url(images/icons/directions.png) no-repeat right; }
	.popup .more { background:url(images/icons/read-more.png) no-repeat right; margin-right: 0; }

/* Tracks (top down order)
************************************/
	.ferndale 	{ top: 505px; left: 85px;  }
	.santaRosa 	{ top: 600px; left: 185px; }
	.scaramento 	{ top: 575px; left: 275px; }
	.vallejo 	{ top: 612px; left: 222px; }
	.stockton 	{ top: 602px; left: 306px; }
	.goldenGate	{ top: 650px; left: 262px; }
	.pleasanton { top: 655px; left: 300px; }
	.fresno		{ top: 750px; left: 412px; }
	.santaAnita { top: 865px; left: 665px; }
	.fairplex 	{ top: 898px; left: 686px; }
	.hollywood	{ top: 912px; left: 615px; }
	.losAlamitos{ top: 940px; left: 668px; }
	.delMar		{ top: 978px; left: 740px; }

/* Wagering Sites (top down order)
************************************/
	.bankers		{ top: 735px; left: 326px; }
	.shasta 		{ top: 425px; left: 160px; }
	.jockeyClub		{ top: 680px; left: 235px; }
	.sanJose		{ top: 695px; left: 270px; }
	.stanCoFair		{ top: 700px; left: 340px; }
	.monterey		{ top: 755px; left: 296px; }
	.tulare			{ top: 765px; left: 480px; }
	/*.kern			{ top: 800px; left: 530px; }*/
	.stanCo			{ top: 700px; left: 345px; }
	.langcaster		{ top: 815px; left: 598px  }
	.santaMaria		{ top: 860px; left: 445px; }
	.ventura		{ top: 890px; left: 540px; }
	.thousandOaks   { top: 910px; left: 570px;}
	.victorville	{ top: 840px; left: 625px; }
	.sanBernardino	{ top: 815px; left: 695px; }
	.santaClarita   { top: 870px; left: 585px; }
	.commerce		{ top: 890px; left: 640px; }
	.perris			{ top: 835px; left: 725px; }
	.indio			{ top: 880px; left: 805px; }
	.fantasySprings	{ top: 880px; left: 840px; }
	.barona			{ top: 925px; left: 738px; }
	.sanClemente	{ top: 955px; left: 710px; }
	.oceanside	    { top: 965px; left: 720px; }
	.surfside		{ top: 978px; left: 750px; }
	.viejas			{ top: 980px; left: 795px; }
	.sycuan			{ top: 1004px;left: 770px; }
	.sammys         { top: 860px; left: 655px; }
	.firehouse      { top: 820px; left: 520px; }
	.clubOneCasino  { top: 750px; left: 400px; }
	.striders  { top: 1016px;left: 750px; }
  .bonita  { top: 1014px;left: 779px; }
	.elsinore  { top: 858px;left: 708px; }
	.pechanga  { top: 900px;left: 750px; }


/************************************************************************
	8. Main Footer
************************************************************************/

/* Advertisment & Track Logos
************************************/
	#mainFooter .sky {
		background: rgb(235,250,255);
		border-top: 10px solid rgb(225,235,245);
		padding: 0 10px 30px 10px;
		min-width: 960px;
	}
	#mainFooter .advertisment {
		background: #fff;
			-moz-background-clip: padding;
			-webkit-background-clip: padding-box;
		background-clip: padding-box;
			-webkit-border-radius:0 0 5px 5px;
			-moz-border-radius: 0 0 5px 5px;
		border-radius: 0 0 5px 5px;
		margin: 0 auto 40px auto;
		padding: 30px 0;
		text-align: center;
		width: 940px;
	}
	.advertisment h1 {
		color: #666;
		font-family: sans-serif;
		font-size: .75em;
		margin-bottom: 3px;
		text-align: center;
	}
	.parkLogos {
		background: #fff;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		margin: auto;
		overflow: hidden;
		padding: 2px 0 5px 0;
		width: 940px;
	}
	.parkLogos li a {
		background: url(images/footer-sprite.png) no-repeat top left #fff;
		float: left;
		height: 70px;
		width: 140px;
	}
	.parkLogos .carf a { margin: 12px 0 12px 0; }
	.parkLogos .gg a { margin: 12px 15px 12px 17px; }
	.parkLogos .sa a { margin: 12px 10px; }
	.parkLogos .la a { margin: 12px 10px; }
	.parkLogos .hp a { margin: 12px 2px 12px 7px; }
	.parkLogos .dm a { margin: 12px 0px 12px 5px; }
	.parkLogos .ca a { margin: 12px 5px; }
	.parkLogos .fp a { margin: 12px 10px 12px 0; }
	.parkLogos .am a { margin: 12px 0; }
	.parkLogos .sm a { margin: 12px 0 12px 12px; }
	.parkLogos .fn a { margin: 12px 0; }
	.parkLogos .sj a { margin: 12px 0; }
	.parkLogos .ht a { margin: 12px 10px 12px 0; }
	.parkLogos .sc a { margin: 12px 0 12px 0; }

/**** Cal Fairs ****/
	.parkLogos .carf a:link,
	.parkLogos .carf a:visited	{ background-position: 0 0;  }
	.parkLogos .carf a:hover,
	.parkLogos .carf a:active 	{ background-position: -150px 0; }
/**** Golden Gate ****/
	.parkLogos .gg a:link,
	.parkLogos .gg a:visited	{ background-position: -900px 0;  }
	.parkLogos .gg a:hover,
	.parkLogos .gg a:active 	{ background-position: -1050px 0; }
/**** Santa Anita ****/
	.parkLogos .sa a:link,
	.parkLogos .sa a:visited 	{ background-position: -1500px 0; }
	.parkLogos .sa a:hover,
	.parkLogos .sa a:active 	{ background-position: -1650px 0; }
/**** Los Alamitos ****/
	.parkLogos .la a:link,
	.parkLogos .la a:visited 	{ background-position: -1800px 0; }
	.parkLogos .la a:hover,
	.parkLogos .la a:active 	{ background-position: -1950px 0; }
/**** Alameda ****/
	.parkLogos .am a:link,
	.parkLogos .am a:visited 	{ background-position: -2100px 0; }
	.parkLogos .am a:hover,
	.parkLogos .am a:active 	{ background-position: -2250px 0; }
/**** Sonoma ****/
	.parkLogos .sm a:link,
	.parkLogos .sm a:visited 	{ background-position: -2410px 0; }
	.parkLogos .sm a:hover,
	.parkLogos .sm a:active 	{ background-position: -2557px 0; }
/**** Humboldt ****/
	.parkLogos .ht a:link,
	.parkLogos .ht a:visited 	{ background-position: -3300px 0; }
	.parkLogos .ht a:hover,
	.parkLogos .ht a:active 	{ background-position: -3450px 0; }
/**** Sacramento ****/
	.parkLogos .sc a:link,
	.parkLogos .sc a:visited 	{ background-position: -3595px 0; }
	.parkLogos .sc a:hover,
	.parkLogos .sc a:active 	{ background-position: -3745px 0; }
/**** Fairplex ****/
	.parkLogos .fp a:link,
	.parkLogos .fp a:visited 	{ background-position: -600px 0; }
	.parkLogos .fp a:hover,
	.parkLogos .fp a:active 	{ background-position: -750px 0; }
/**** San Joaquin ****/
	.parkLogos .sj a:link,
	.parkLogos .sj a:visited 	{ background-position: -3000px 0; }
	.parkLogos .sj a:hover,
	.parkLogos .sj a:active 	{ background-position: -3150px 0; }
/**** Fresno ****/
	.parkLogos .fn a:link,
	.parkLogos .fn a:visited 	{ background-position: -2715px 0; }
	.parkLogos .fn a:hover,
	.parkLogos .fn a:active 	{ background-position: -2865px 0; }
/**** Hollywood ****/
	.parkLogos .hp a:link,
	.parkLogos .hp a:visited 	{ background-position: -1200px 0; }
	.parkLogos .hp a:hover,
	.parkLogos .hp a:active 	{ background-position: -1350px 0; }
/**** Del Mar ****/
	.parkLogos .dm a:link,
	.parkLogos .dm a:visited 	{ background-position: -300px 0; }
	.parkLogos .dm a:hover,
	.parkLogos .dm a:active 	{ background-position: -450px 0; }
/**** CARF ****/
	.parkLogos .ca a:link,
	.parkLogos .ca a:visited 	{ background-position: 0 0; }
	.parkLogos .ca a:hover,
	.parkLogos .ca a:active 	{ background-position: -150px 0; }

	.home #mainFooter .parkLogos {
		display: none;
		visibility: hidden;
	}

/* Site Map & Credits
************************************/
	#mainFooter a { color: #fff; }

/**** Sitemap ****/
	.sitemap {
		background: url(images/bkg_footer.jpg) repeat-x top left;
		min-width: 980px;
	}
	.sitemapWrap {
		margin: auto;
		padding: 80px 10px 0;
		width: 940px;
	}
/**** Credits ****/
	.credits {
		background: rgb(25,15,5);
		color: #fff;
		font-size: .8em;
		padding: 25px 0 15px 0;
		text-align: center;
		min-width: 980px;
	}
	.credits p {
		font-weight: 300;
		margin-bottom: 10px;
	}
	.credits a {
		font-weight: normal;
	}

/***************************
 9. SELECT WEB VENTURES ADDED
***************************/

.errors {
  border: 1px solid #222;
  background-color: #eee;
  padding: 0px 10px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

#body article .errors UL {
	list-style: none;
  margin-left: 0px;
}

#body article .errors UL LI {
  color: #b00;
  font-weight: bold;
}

#body article .errors UL LI UL {
  list-style: circle;
  margin-left: 15px;
}


#body article .errors UL LI UL LI {
  font-weight: normal;
  color: #000;
}

table.spaced TD {
  padding: 5px 10px;
}

.prettybutton {
  padding: 5px 10px;
  width: auto;
  background-color: #a00;
  color: #fff;
  font-weight: bold;
}


/* This is for the DRF articles... */
.photo-instance-teaser {
  float: right;
  margin: 0px 0px 10px 20px;
}

.field-field-photo-credit, .field-field-photo-caption {
  font-size: .8em;
  color: #222;
  text-align: center;
}

.field-field-photo-credit {
  font-style: italic;
}

/* 404 page */
body.error404 section#body {
  float: none;
  width: 100%;
}

/* Pagination for CA News */

div.pagination DIV {
  display: inline-block;
  height: 20px;
  vertical-align: middle;
  font-weight: bold;
}

div.pagination DIV.pagination-item {
  border: 1px solid #aaa;
  width: 25px;
  text-align: center;
  margin-left: 5px;
}

div.pagination DIV.pagination-item-selected {
  border: 1px solid #222;
  background-color: #b00;
}

div.pagination DIV.pagination-item-selected A {
  color: #fff;
}

/* Article-specific stuff */

DIV.item DIV.left, DIV.field-field-page-picture {
  float: left;
  margin: 0px 10px 5px 0px;
}

DIV.item DIV.left SPAN.caption {
  display: block;
  text-align: center;
  color: #222;
  font-size: .8em;
}

/* Workouts */

TABLE.workouts {
  margin-top: 15px;
  border: 1px solid #ccc;
  width: 100%;
}

TABLE.workouts THEAD TD {
  font-size: .8em;
  color: #fff;
  font-weight: bold;
  background-color: #444;
  padding: 3px 5px;
}

TABLE.workouts TBODY TD {
  font-size: .8em;
  color: #222;
  padding: 3px 5px;
}

TABLE.workouts TBODY TR.odd TD {
	background-color: #eee;
}


/* ANNNND.... the events calendar.... we have both small and large versions so be careful.... */

.event-calendar {
	width: 100%;
	border-collapse: collapse;
}

.event-calendar THEAD TD
{
  padding: 5px 10px;
	font-weight: bold;
	text-align: center;
}

.event-calendar .event-calendar-monthname
{
	font-size: 1.4em;
}

.event-calendar THEAD TD.event-calendar-dayname
{
  padding: 2px 5px;
	font-size: .9em;
	background-color: #444;
	color: #fff;
	width: 14%
}

.event-calendar .event-calendar-day
{
  min-height: 130px;
  height: 130px !important;
  border: 1px solid #444;
  vertical-align: top;
}

.event-calendar .event-calendar-day-today
{
  border: 2px solid #b00;
  box-shadow: inset 0px 0px 15px rgba(200,0,0,.5);
}

.event-calendar .event-calendar-day-hasevents
{
  background-color: #f5f5f5;
}

.event-calendar .event-calendar-day-date {
   float: right;
   font-size:  .9em;
   font-weight: bold;
   background-color: #ddd;
   padding: 3px 8px;
   margin: 0;
}

.event-calendar .event-calendar-day .event-calendar-events
{
  font-size: .7em;
  line-height: 1.2em;
  margin: 5px;
}

.event-calendar .event-calendar-day .event-calendar-events SPAN,
#tiptip_content .event-calendar-events SPAN
{
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.event-calendar .event-calendar-day .event-calendar-events A
{
	color: #222;
}

.event-calendar .event-calendar-day .event-calendar-events A:hover
{
	color: #b00;
}


/* Smaller version! */
.event-calendar-small THEAD TD
{
  padding: 0px;
	font-weight: normal;
	text-align: left;
}

.event-calendar-small .event-calendar-monthname,
.event-calendar-small .event-calendar-viewall
{
	font-size: .8em;
}

.event-calendar-small THEAD TD.event-calendar-dayname
{
  padding: 7px;
  text-align: center;
	font-size: .9em;
	background-color: #ccc;
	color: #fff;
	width: 14%
}

.event-calendar-small .event-calendar-day
{
  color: #bbb;
  min-height: 40px;
  height: 40px !important;
  border: 1px solid #ccc;
  vertical-align: middle;
  text-align: center;
}

.event-calendar-small .event-calendar-day-hasevents
{
  background: none;
	color: #b00;
}

.event-calendar-small .event-calendar-day-today
{
	background-color: #ddd;
}

.event-calendar-small .event-calendar-day-date {
   float: none;
   font-size:  .9em;
   font-weight: normal;
   background: none;
   padding: 5px;
   margin: 0;
}

.event-calendar-small .tiptip {
   cursor: pointer;
}

#tiptip_content .event-calendar-events
{
  margin: 5px 0px;
}


#tiptip_content .event-calendar-events A
{
	color: #fff;
}

/************************************************************************
	10. Non-semantic helper classes
************************************************************************/

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide for both screenreaders and browsers */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Group (clear fix all browsers) */
.group:after {
        visibility: hidden;
        display: block;
        content: "";
        clear: both;
        height: 0;
        }
* html .group             { zoom: 1; } /* IE6 */
*:first-child+html .group { zoom: 1; } /* IE7 */

/************************************************************************
	11. jQuery UI CSS Framework 1.8.16
************************************************************************/
/*
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Theming/API
 */

/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }


/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }


/* Icons
----------------------------------*/

/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }


/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }


/*
 * jQuery UI CSS Framework 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Theming/API
 *
 * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=sans-serif,Helvetica,Arial&fwDefault=normal&fsDefault=1.2em&cornerRadius=4px&bgColorHeader=be1e2d&bgTextureHeader=01_flat.png&bgImgOpacityHeader=75&borderColorHeader=6a161d&fcHeader=be1e2d&iconColorHeader=be1e2d&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=be1e2d&fcContent=222222&iconColorContent=222222&bgColorDefault=eeeeee&bgTextureDefault=01_flat.png&bgImgOpacityDefault=75&borderColorDefault=ffffff&fcDefault=333333&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=03_highlight_soft.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=01_flat.png&bgImgOpacityActive=65&borderColorActive=6a161d&fcActive=be1e2d&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=05_inset_soft.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
 */


/* Component containers
----------------------------------*/
.ui-widget { font-family: sans-serif,Helvetica,Arial; font-size: 1.2em; }
.ui-widget .ui-widget { font-size: 1em; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: sans-serif,Helvetica,Arial; font-size: 1em; }
.ui-widget-content { border: 1px solid #be1e2d; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
.ui-widget-content a { color: #222222; }
.ui-widget-header { border: 1px solid #6a161d; background: #be1e2d url(images/ui-bg_flat_75_be1e2d_40x100.png) 50% 50% repeat-x; color: #be1e2d; font-weight: bold; }
.ui-widget-header a { color: #be1e2d; }

/* Interaction states
----------------------------------*/
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #ffffff; background: #eeeeee url(images/ui-bg_flat_75_eeeeee_40x100.png) 50% 50% repeat-x; font-weight: normal; color: #333333; }
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #333333; text-decoration: none; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_highlight-soft_75_dadada_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #6a161d; background: #ffffff url(images/ui-bg_flat_65_ffffff_40x100.png) 50% 50% repeat-x; font-weight: bold; color: #be1e2d; }
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #be1e2d; text-decoration: none; }
.ui-widget :active { outline: none; }

/* Interaction Cues
----------------------------------*/
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_inset-soft_95_fef1ec_1x100.png) 50% bottom repeat-x; color: #cd0a0a; }
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }

/* Icons
----------------------------------*/

/* states and images */
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_be1e2d_256x240.png); }
.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }

/* positioning */
.ui-icon-carat-1-n { background-position: 0 0; }
.ui-icon-carat-1-ne { background-position: -16px 0; }
.ui-icon-carat-1-e { background-position: -32px 0; }
.ui-icon-carat-1-se { background-position: -48px 0; }
.ui-icon-carat-1-s { background-position: -64px 0; }
.ui-icon-carat-1-sw { background-position: -80px 0; }
.ui-icon-carat-1-w { background-position: -96px 0; }
.ui-icon-carat-1-nw { background-position: -112px 0; }
.ui-icon-carat-2-n-s { background-position: -128px 0; }
.ui-icon-carat-2-e-w { background-position: -144px 0; }
.ui-icon-triangle-1-n { background-position: 0 -16px; }
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
.ui-icon-triangle-1-e { background-position: -32px -16px; }
.ui-icon-triangle-1-se { background-position: -48px -16px; }
.ui-icon-triangle-1-s { background-position: -64px -16px; }
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
.ui-icon-triangle-1-w { background-position: -96px -16px; }
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
.ui-icon-arrow-1-n { background-position: 0 -32px; }
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
.ui-icon-arrow-1-e { background-position: -32px -32px; }
.ui-icon-arrow-1-se { background-position: -48px -32px; }
.ui-icon-arrow-1-s { background-position: -64px -32px; }
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
.ui-icon-arrow-1-w { background-position: -96px -32px; }
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
.ui-icon-arrow-4 { background-position: 0 -80px; }
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
.ui-icon-extlink { background-position: -32px -80px; }
.ui-icon-newwin { background-position: -48px -80px; }
.ui-icon-refresh { background-position: -64px -80px; }
.ui-icon-shuffle { background-position: -80px -80px; }
.ui-icon-transfer-e-w { background-position: -96px -80px; }
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
.ui-icon-folder-collapsed { background-position: 0 -96px; }
.ui-icon-folder-open { background-position: -16px -96px; }
.ui-icon-document { background-position: -32px -96px; }
.ui-icon-document-b { background-position: -48px -96px; }
.ui-icon-note { background-position: -64px -96px; }
.ui-icon-mail-closed { background-position: -80px -96px; }
.ui-icon-mail-open { background-position: -96px -96px; }
.ui-icon-suitcase { background-position: -112px -96px; }
.ui-icon-comment { background-position: -128px -96px; }
.ui-icon-person { background-position: -144px -96px; }
.ui-icon-print { background-position: -160px -96px; }
.ui-icon-trash { background-position: -176px -96px; }
.ui-icon-locked { background-position: -192px -96px; }
.ui-icon-unlocked { background-position: -208px -96px; }
.ui-icon-bookmark { background-position: -224px -96px; }
.ui-icon-tag { background-position: -240px -96px; }
.ui-icon-home { background-position: 0 -112px; }
.ui-icon-flag { background-position: -16px -112px; }
.ui-icon-calendar { background-position: -32px -112px; }
.ui-icon-cart { background-position: -48px -112px; }
.ui-icon-pencil { background-position: -64px -112px; }
.ui-icon-clock { background-position: -80px -112px; }
.ui-icon-disk { background-position: -96px -112px; }
.ui-icon-calculator { background-position: -112px -112px; }
.ui-icon-zoomin { background-position: -128px -112px; }
.ui-icon-zoomout { background-position: -144px -112px; }
.ui-icon-search { background-position: -160px -112px; }
.ui-icon-wrench { background-position: -176px -112px; }
.ui-icon-gear { background-position: -192px -112px; }
.ui-icon-heart { background-position: -208px -112px; }
.ui-icon-star { background-position: -224px -112px; }
.ui-icon-link { background-position: -240px -112px; }
.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }
.ui-icon-bullet { background-position: -80px -144px; }
.ui-icon-radio-off { background-position: -96px -144px; }
.ui-icon-radio-on { background-position: -112px -144px; }
.ui-icon-pin-w { background-position: -128px -144px; }
.ui-icon-pin-s { background-position: -144px -144px; }
.ui-icon-play { background-position: 0 -160px; }
.ui-icon-pause { background-position: -16px -160px; }
.ui-icon-seek-next { background-position: -32px -160px; }
.ui-icon-seek-prev { background-position: -48px -160px; }
.ui-icon-seek-end { background-position: -64px -160px; }
.ui-icon-seek-start { background-position: -80px -160px; }
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
.ui-icon-seek-first { background-position: -80px -160px; }
.ui-icon-stop { background-position: -96px -160px; }
.ui-icon-eject { background-position: -112px -160px; }
.ui-icon-volume-off { background-position: -128px -160px; }
.ui-icon-volume-on { background-position: -144px -160px; }
.ui-icon-power { background-position: 0 -176px; }
.ui-icon-signal-diag { background-position: -16px -176px; }
.ui-icon-signal { background-position: -32px -176px; }
.ui-icon-battery-0 { background-position: -48px -176px; }
.ui-icon-battery-1 { background-position: -64px -176px; }
.ui-icon-battery-2 { background-position: -80px -176px; }
.ui-icon-battery-3 { background-position: -96px -176px; }
.ui-icon-circle-plus { background-position: 0 -192px; }
.ui-icon-circle-minus { background-position: -16px -192px; }
.ui-icon-circle-close { background-position: -32px -192px; }
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
.ui-icon-circle-zoomin { background-position: -176px -192px; }
.ui-icon-circle-zoomout { background-position: -192px -192px; }
.ui-icon-circle-check { background-position: -208px -192px; }
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
.ui-icon-circlesmall-close { background-position: -32px -208px; }
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
.ui-icon-squaresmall-close { background-position: -80px -208px; }
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }


/* Misc visuals
----------------------------------*/

/* Corner radius */
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }

/* Overlays */
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
 * jQuery UI Tabs 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Tabs#theming
 */
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; font-size: 16px; }
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 10px 20px; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }

/************************************************************************
	11. Print styles
************************************************************************/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
