/*
Theme Name: Guy's and St Thomas' Events
Description: Custom WordPress theme for Guy's and St Thomas' Events
Version: 1.0
Author: Kyle Duncan
Author URI: http://www.thisisforge.com/
*/

* {
    margin: 0;
    padding: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
    display: block;
}

html, body {
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 400;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2em;
}

p {
	line-height: 1.5em;
	padding: 0 0 1em;
}

a {
	color: #334d77;
	outline: none;
	text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a img {
	border: 0;
}

img {
    display: block;
}

ul, ol, li {
	list-style: none;
}

input.text, textarea {
	color: #555;
    border-radius: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
}

textarea {
    resize: none;
}

input:focus, select:focus, textarea:focus {
    outline: none;
}

#container {
    margin: auto;
	max-width: 1000px;
	min-width: 300px;
	padding: 0 10px;
}

header {
    margin: 0 0 20px;
	position: relative;
	z-index: 10;
}

#headerTop {
	height: 90px;
	margin: 0 0 20px;
}

#logo {
	background: #f3f3f4;
	font-size: 38px;
	height: 90px;
    line-height: 90px;
	text-align: center;
}

#logo a {
    color: #443883;
    display: block;
	text-decoration: none !important;
}

#gstLogo {
	float: right;
	height: 36px;
	margin: -2px 0 38px;
	max-width: 230px;
}

#socialIcons {
	font-size: 0;
	text-align: right;
}

#socialIcons a {
	background-repeat: no-repeat;
	display: inline-block;
	height: 27px;
	margin-left: 4px;
	width: 27px;
}

#socialIcons a#twitterIcon {
	background-image: url(images/twitter.png);
}

#socialIcons a#linkedinIcon {
	background-image: url(images/linkedin.jpg);
}

#socialIcons a#facebookIcon {
	background-image: url(images/facebook.gif);
}

#socialIcons a#googleIcon {
	background-image: url(images/google.gif);
}

#headerBottom {
	height: 30px;
}

a#menuIcon {
	background: url(images/menu-icon.png) no-repeat;
	height: 20px;
	position: absolute;
	right: 10px;
	top: 13px;
	width: 23px;
}

nav {
    background: #334d77;
	font-size: 0;
}

nav li {
    display: inline;
}

nav li a {
    color: #FFF;
    display: inline-block;
	font-size: 13px;
	font-weight: 700;
	line-height: 30px;
	padding: 0 10px;
	text-decoration: none !important;
}

nav li a:hover,
nav li.current_page_item a,
nav li.current-page-ancestor a{
    background: #2e636b;
}

#headerSearch input.text {
	border: 1px solid #334d77;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	float: left;
	height: 30px;
	line-height: 20px;
	padding: 4px;
	width: 70%;
}

#headerSearch a.submit {
	background: #334d77;
	color: #FFF;
	display: block;
	float: right;
	font-weight: 700;
	height: 30px;
	line-height: 30px;
	text-align: center;
	text-decoration: none !important;
	width: 30%;
}

#headerSearch a.submit:hover {
	background: #443883;
}

#main {
	padding: 0 0 60px;
}

h2#pageTitle {
	color: #078186;
	font-size: 38px;
	font-weight: 400;
	padding: 0 0 0.4em;
}

.cmsContent h2 {
	font-size: 22px;
	padding: 0 0 0.4em;
}

.cmsContent h3 {
	font-size: 18px;
	padding: 0 0 0.6em;
}

.cmsContent h4 {
	font-size: 16px;
	padding: 0 0 0.6em;
}

.cmsContent h6 {
	padding: 0 0 1em;
}

.cmsContent h6 a {
	color: #c2307e;
}

.cmsContent ul {
	list-style: disc;
    padding: 0 0 1em 1.4em;
}

.cmsContent ul li {
    line-height: 1.5em;
	list-style: disc;
}

.cmsContent ol {
	list-style: decimal;
    padding: 0 0 1em 1.8em;
}

.cmsContent ol li {
    line-height: 1.5em;
	list-style: decimal;
}

#Booking {
	background: url(images/sidebar-bg.png) no-repeat;
	background-size: 100% auto;
	color: #FFF;
	font-weight: 700;
	height: 229px;
	max-width: 143px;
	padding: 50px 30px 0 50px;
}

#sidebarBooking h3 {
	font-size: 18px;
	padding: 0 0 0.8em;
}

#sidebarBooking a {
	color: #FFF;
}

#sidebarCourses {
	margin: 20px 0 0;
}

#sidebarCourses h3 {
	color: #FFF;
	height: 30px;
	line-height: 30px;
	padding: 0 10px;
}

#sidebarCoursesContent {
	background: #c7c4de;
	padding: 10px 10px 0;
}

footer {
	font-size: 12px;
}

#footerTop {
	background: #f3f3f4;
	padding: 20px 20px 8px;
}

#footerMenu {
	font-size: 0;
	text-align: right;
}

#footerMenu li {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	padding: 0 15px 10px 0;
	position: relative;
}

#footerMenu li:before {
	background: #FFF;
	content: "";
	font-size: 0;
	height: 12px;
	right: 7px;
	position: absolute;
	top: 0;
	width: 1px;
}

#footerMenu li.lastItem {
	padding-right: 0;
}

#footerMenu li.lastItem:before {
	display: none;
}

#footerBottom {
	padding: 10px 0;
	position: relative;
}

#footerCopyright {
	padding: 10px 0 30px;
}

#kingsHealthLogo {
	background: url(images/kings-health-partners-logo.png) no-repeat;
	height: 41px;
	position: absolute;
	right: 0;
	top: 10px;
	width: 550px;
}

#kingsHealthLogo a {
	display: block;
	height: 100%;
	width: 100%;
}

/* Columns */

.column {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    float: left;
}

.column-3-12 {
    width: 25%;
}

.column-4-12 {
    width: 33.333%;
}

.column-5-12 {
    width: 41.666%;
}

.column-6-12 {
    width: 50%;
}

.column-7-12 {
    width: 58.333%;
}

.column-8-12 {
    width: 66.666%;
}

.column-9-12 {
    width: 75%;
}

/* Homepage */

#homeTop {
	margin: 0 0 20px;
}

.slide {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.photoCaption {
    background: url(images/overlay-black.png);
    bottom: 0;
    font-size: 18px;
	font-weight: 700;
    left: 0;
    padding: 15px;
    position: absolute;
	top: 0;
    width: 220px;
}

.photoCaption a {
	color: #FFF;
}

#slideshowButtons {
    bottom: 20px;
	font-size: 0;
    position: absolute;
	right: 20px;
    z-index: 5;
}

#slideshowButtons a {
    background: #CCC;
	border-radius: 50%;
    display: inline-block;
    height: 20px;
    margin: 0 0 0 8px;
    width: 20px;
}

#slideshowButtons a.active {
    background: #FFF;
}

#homeMiddle {
	font-size: 18px;
	margin: 0 0 2px;
}

.homeBox h2 {
	color: #FFF;
	height: 30px;
	line-height: 30px;
	padding: 0 10px;
}

.homeBoxContent {
	background: #f3f3f4;
	padding: 10px 10px 0;
}

p.eventLink a {
	font-weight: 700;
}

#specialtyMenu li {
	font-weight: 700;
	line-height: 1.2em;
	padding: 0 0 0.8em;
}

#specialtyMenu li.specialItem a {
	background: #2e636b;
	color: #FFF;
	display: block;
	padding: 5px;
	text-transform: uppercase;
}

/* Event index */

#eventListings {
	margin: 20px 0;
}

#eventListings h3 {
	background: #078186;
	color: #FFF;
	font-size: 22px;
	line-height: 1em;
	margin: 0 0 0.8em;
	padding: 5px 10px;
}

/* Tabs */

.tabWrapper,
.accordionWrapper {
	margin: 40px 0;
}

.tabButtons a {
	background: url(images/tab.png) no-repeat;
	color: #000;
	float: left;
	font-size: 14px;
	height: 63px;
	margin: 0 4px 0 0;
	padding: 20px 5px 0;
	text-align: center;
	text-decoration: none !important;
	width: 106px;
}

.tabButtons a.active {
	background-image: url(images/tab-active.png);
	color: #FFF;
}

.tabContent {
	border: 1px solid #3874a0;
	padding: 30px 30px 17px;
}

.accordionItem {
	margin: 0 0 4px;
}

.accordionItem a.tabButton {
    background: #d2e4e6;
    color: #000;
    display: block;
	line-height: 1.2em;
    padding: 5px 43px 5px 15px;
    position: relative;
	text-decoration: none !important;
}

.accordionItem a.tabButton.active {
    background: #3874a0;
	color: #FFF;
}

.accordionItem a.tabButton:after {
    background: url(images/accordion-arrows.png) no-repeat;
    content: "";
	height: 14px;
    margin: -7px 0 0;
    position: absolute;
    right: 10px;
    top: 50%;
    width: 13px;
}

.accordionItem a.tabButton.active:after {
    background-position: 0 -14px;
}

.accordionItem .tabContent {
    border-top: 0;
}

/* FAQs*/

h3.accordionTitle {
	color: #078186;
	font-size: 22px;
	padding: 0 0 0.4em;
}

/* Search results */

.searchResult {
	margin: 0 0 20px;
}

/* Misc. */

.bgCover {
    overflow: hidden;
    position: relative;
}

.bgCover img {
    left: 0;
    position: absolute;
    top: 0;
}

img.widthControl {
    height: auto;
    width: 100%;
}

.greyBG {
	background: #f3f3f4;
}

.greenBG {
	background: #2e636b;
}

.greenLinks a {
	color: #2e636b;
}

.blueBG {
	background: #334d77;
}

.lightBlueBG {
	background: #81a4c8;
}

.purpleBG {
	background: #443883;
}

.purpleLinks a {
	color: #443883;
}

.leftPadding10 {
	padding-left: 10px;
}

.rightPadding10 {
	padding-right: 10px;
}

.noTopMargin {
	margin-top: 0 !important;
}

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

.hidden {
	display: none;
}

.clearFix:after {
	clear: both;
	content: "";
    display: block;
	font-size: 0;
    height: 0;
	line-height: 0;
}

/* Responsiveness */

@media screen and (max-width: 999px) {
	#headerTop {
		margin-bottom: 10px;
	}

	#logo {
		font-size: 36px;
	}

	#headerBottom {
		height: auto;
	}

	#headerBottom .column,
	footer .column {
		float: none;
		padding: 0;
		width: auto;
	}

	#headerSearch {
		float: right;
		margin: 10px 0 0;
		width: 230px;
	}

	#footerTop {
		padding: 10px 10px 0;
	}

	#footerMenu {
		text-align: left;
	}

	#footerCopyright {
		padding-bottom: 20px;
	}

	#kingsHealthLogo {
		background-position: right top;
		position: static;
		right: auto;
		top: auto;
		width: auto;
	}
}

@media screen and (max-width: 850px) {
	#sidebarBooking {
		height: 239px;
		max-width: 163px;
		padding: 40px 20px 0 40px;
	}
}

@media screen and (max-width: 767px) {
    #logo {
		font-size: 30px;
	}

	#mainColumn,
	#sidebar,
	#homeTop .column,
	#homeMiddle .column,
	#homeBottom .column {
		float: none;
		padding: 0;
		width: auto;
	}

	#main {
		padding-bottom: 30px;
	}

	#sidebarBooking {
		background: #334d77;
		height: auto;
		max-width: none;
		padding: 10px 10px 0;
	}

	/* Homepage */

	#slideshow {
		margin: 0 0 10px;
	}

	.photoCaption {
		bottom: auto;
		font-size: 14px;
		padding: 10px;
		right: 0;
		width: auto;
	}

	#slideshowButtons {
		bottom: 10px;
		right: 10px;
	}

	#slideshowButtons a {
		height: 10px;
		margin-left: 4px;
		width: 10px;
	}

	.homeBox {
		margin: 0 0 20px;
	}
}

@media screen and (max-width: 659px) {
	header {
		background: #f3f3f4;
		margin: 0 -10px 20px;
		padding: 10px;
	}

	header .column {
		float: none;
		padding: 0;
		width: auto;
	}

	#headerTop {
		height: auto;
		margin: 0;
	}

	#logo {
		background: none;
		font-size: 18px;
		height: 26px;
		line-height: 26px;
		text-align: left;
	}

	#gstLogo {
		display: none;
	}

	#socialIcons {
		padding: 10px 0 0;
		text-align: left;
	}

	#socialIcons a {
		background-size: auto 22px;
		height: 22px;
		margin: 0 4px 0 0;
		width: 22px;
	}

	#headerBottom {
		height: 0;
	}

    a#menuIcon {
		display: block;
	}

	nav {
		display: none;
		left: 0;
		position: absolute;
		top: 46px;
		width: 100%;
		z-index: 20;
	}

	nav li {
		display: block;
	}

	nav li a {
		display: block;
	}

	#headerSearch {
		float: none;
		margin: 0;
		position: absolute;
		right: 10px;
		top: 46px;
		width: 180px;
	}

	#headerSearch input.text {
		height: 22px;
		line-height: 16px;
		padding: 2px;
		width: 65%;
	}

	#headerSearch a.submit {
		height: 22px;
		line-height: 22px;
		width: 35%;
	}

	h2#pageTitle {
		font-size: 30px;
	}

	/* Homepage */

	#homeMiddle {
		font-size: 14px;
		margin-bottom: 6px;
	}

	/* Tabs */

	.tabContent {
		padding: 15px 15px 2px;
	}
}
