/*
Theme Name: Tinson Training
Theme URI: http://www.tinsontraining.co.uk/
Description: Responsive theme for Tinson Training - uses portions of 1140px Grid V2 by Andy Taylor 
Version: 1.0
Author: Alexander Culshaw
Author URI: http://www.ascendancyinternetmarketing.com
*/


/* ==== Layout for desktop version ====   */

	/* Setting up the various divs and background properties */

		body {
			font-family: 'Open Sans', sans-serif;
			font-size: 14px;
			line-height: 20px;
			word-wrap: break-word;
			color: #585858;
		}
		
		body .container {
			padding: 0 20px 0 20px;
		}
		
		body .container.paddingfix {
			padding: 40px 20px;
		}
		
		.breadcrumb {
			margin-bottom: 20px;
		}
		
		.clearfix {
			clear: both;
		}
		
		.overflowfix {
			overflow: visible;
		}
		
		#menubg {
			height: 20px;
			position: relative;
			margin: 0;
			border-bottom: 3px solid #4b4b4b;
		}
		
		#footerbg {
			background: #606060;
		}
		
		
	/* Header */

		#header {
			background: #ffffff;
			margin: 0;
			position: relative;
		}
	
		#logo-box {
			float: left;
			margin: 20px 0;
			text-align: left;
		}
		
		#contact-box {
			float: right;
			margin: 0 0 20px;
			font-size: 18px;
			line-height: 20px;
			text-align: right;
			padding: 12px 16px;
			background: #f0f0f0;
		}
		
			#contact-box span.telephone, #contact-box span.email {
				display: block;
				margin-bottom: 3px;
			}
			
			#contact-box a {
				color: #585858;
			}
			
			#contact-box span.red {
				color: #be2a0c;
			}
		
		a#logo {
			z-index: 1;
		}
		
		.content {
			padding: 20px 0;
		}
		
		.content.side {
			padding: 0;
		}
		
		.content.page {
			padding: 0;
			min-height: 400px;
		}
		
		a.read-more {
			margin: 20px 0 0;
			font-size: 16px;
		}
		
		.content.listing {
			min-height: 200px;
			background: #f7f7f7;
			padding: 20px;
			margin-bottom: 30px;
			min-height: 160px;
		}
		
		.content p:last-child {
			margin-bottom: 0;
		}
		
		a.btn {
			padding: 6px 12px;
		}
		
		input[type="submit"] {
			padding: 4px 12px;
		}
		
		
		a.btn, input[type="submit"] {
			font-size: 16px;
			color: #393939;
			background: url("images/layout/btn-bg.png") repeat-x top left #ffd200;
			clear: both;
			border: none;
			margin-top: 8px;
			margin-bottom: 4px;
			border-radius: 4px;
			-webkit-border-radius: 4px;
		}
		
		a.btn:hover, input[type="submit"]:hover {
			color: #393939;
			cursor: pointer;
		}
		
			a.btn.left {
				float: left;
				margin-right: 16px;
			}
			
			a.btn.right {
				float: right;
				margin-left: 16px;
			}
		
		.cat-desc {
			margin-bottom: 40px;
		}
		
		.category-description {
			margin-top: 20px;
		}
		
		ul.post-listing {
			clear: both;
		}
		
		ul.post-listing li {
			float: left;
			width: 48.5%;
			margin-bottom: 20px;
			background: #f1f1f1;
			padding: 0;
		}
		
			ul.post-listing li.left {
				margin-right: 1.5%;
			}
			
			ul.post-listing li.right {
				margin-left: 1.5%;
			}
		
			ul.post-listing li.last {
				border-bottom: none;
				padding-bottom: 0;
			}
			
			ul.post-listing li p {
				min-height: 120px;
			}
			
			ul.post-listing li form.post-password-form p {
				min-height: 0;
			}
			
			
		ul.post-listing li .content {
			padding: 20px;
		}

		a.post-title {
			font-size: 16px;
			line-height: 20px;
			margin-bottom: 4px;
			display: block;
		}
		
		ul.post-listing .post-image {
			float: left;
			width: 35%;
		}
		
		ul.post-listing .post-image img.wp-post-image {
			margin: 0;
		}
		
		ul.post-listing .post-text {
			float: left;
			width: 62%;
			margin-left: 3%;
		}
			
		.navigation .wp-pagenavi {
			margin: 20px 0;
			padding: 20px 0;
			clear: both;
			float: left;
			font-size: 14px;
			display: block;
			border-top: 1px solid #585858;
			float: left;
			width: 100%;
		}
		
			.navigation .wp-pagenavi span.pages {
				padding-left: 0;
			}
			
			.navigation .wp-pagenavi a, .navigation .wp-pagenavi span {
				border: none;
				margin: 2px;
				padding: 3px 5px;
				text-decoration: none;
			}
			
			.navigation .wp-pagenavi a:hover {
				text-decoration: none;
			}
			
			
		a.back-link {
			display: block;
			font-size: 20px;
			line-height: 22px;
			margin-bottom: 12px;
		}
		
		span.date {
			display: block;
			font-style: italic;
			margin-bottom: 20px;
		}
		
		
		/* Social Icons */
		
		.social-icons {
			position: relative;
			float: right;
		}
		
		.social-icons a {
			float: left;
			height: 36px;
			width: 36px;
			padding: 0;
			margin-left: 4px;
			margin-top: 4px;
			background-image: url("images/layout/social-icons-36.png");
			background-repeat: no-repeat;
			background-color: transparent;
		}
		
		.social-icons a:last-of-type {
			margin-right: 0;
		}
		
		.social-icons a:hover {
			opacity: 0.9;
		}
		
			.social-icons a.fb {
				background-position: 0 0;
			}
		
			.social-icons a.tw {
				background-position: 0 -44px;
			}
			
			.social-icons a.yt {
				background-position: 0 -86px;
			}
			
			.social-icons a.li {
				background-position: 0 -130px;
			}
			
			.social-icons a.gp {
				background-position: 0 -173px;
			}
			
		
		/* Widgets */
		
		ul.sidebar {
			list-style: none;
			margin-bottom: 20px;
			margin-top: 0;
			font-size: 14px;
			line-height: 20px;
		}

		ul.sidebar li.widget {
			list-style: none;
			background-color: #e7e7e7;
			background-image: none;
			border-radius: 4px;
			-webkit-border-radius: 4px;
			padding: 20px;
			margin-bottom: 30px;
		}
		
		ul.sidebar li.widget.widget_nav_menu {
			background: none;
			border-radius: 0;
			-webkit-border-radius: 0;
			padding: 0;
		}
		
		li.widget ul li {
			background: none;
		}
		
		.sidebar h3.widget-title {
			font-size: 22px;
			line-height: 26px;
			margin-bottom: 20px;
			color: #be2a0c;
		}
		
		
		
		.sidebar .widget_reallysimpletwitterwidget h3.widget-title {
			background: url("images/layout/tw.png") no-repeat left center transparent;
			padding-left: 42px;
			line-height: 32px;
		}
		
		.sidebar .rstw_link_user a {
			font-weight: bold;
		}

		ul.sidebar li.widget li {
			background-image: none;
			padding-left: 0;
			margin-bottom: 10px;
		}
		
		ul.sidebar li.widget h4 {
			margin-bottom: 8px;
		}
		
		
		/* Edit Link */
		
		a.post-edit-link {
			background: url("images/layout/pencil.png") no-repeat scroll left top transparent;
			clear: both;
			display: block;
			font-size: 14px;
			line-height: 24px;
			list-style-type: none;
			padding: 3px 0 3px 36px;
			margin: 20px 0;
		}
		
		.tag-edit-link a {
			background: url("images/layout/pencil.png") no-repeat scroll left top transparent;
			clear: both;
			display: block;
			font-size: 14px;
			line-height: 24px;
			list-style-type: none;
			padding: 3px 0 3px 36px;
			margin: 20px 0;
		}
		
		
		/* Horizontal Rule */

		hr {
			background-color: #4b4b4b;
			border: 0 none;
			clear: both;
			height: 2px;
			margin-bottom: 20px;
		}
		
		
		/* Table styling */
		
		table {
			width: 100%;
		}
		
		table tr {
			margin-bottom: 4px;
		}
		
		table tr td {
			padding: 2px;
		}
		
		table.clients {
			margin: 8px auto 12px;
			text-align: center;
		}
		
		
		/* Home page */

		#testimonialslider {
			min-height: 286px;
			margin-top: 10px;
		}
		
		#testimonialslider .slides img {
			width: auto;
			margin-bottom: 12px;
		}
		
		ul.home-testimonials {
			margin: 12px 0;
			min-height: 290px;
		}
		
		ul.home-testimonials li {
			padding-left: 0;
			background-image: none;
		}
		
		span.testimonial-name, span.testimonial-company {
			display: block;
			margin-bottom: 3px;
			font-weight: bold;
		}
		
		ul.testimonial-list li span.testimonial-name, ul.testimonial-list li span.testimonial-company {
			font-weight: bold;
		}
		
		.content.clients {
			text-align: center;
		}
		
		.client-wrap {
			text-align: center;
		}
		
			.client-wrap img.wp-post-image {
				margin: 0;
			}
		
		/* Blog */
		
		.post-date {
			padding-bottom: 10px;
		}
		
		ul.listing.posts li {
			border-bottom: 2px solid #4b4b4b;
			padding: 10px 0 10px 0;
			background: none;
			clear: both;
			display: block;
			float: left;
			width: 100%;
		}
		
		ul.listing.posts li:last-of-type {
			border: none;
		}
	
		/* Testimonials */

		ul.testimonial-list {
			margin: 12px 0;
		}
		
		ul.testimonial-list li {
			float: left;
			padding-left: 0;
			width: 100%;
			background-color: #f1f1f1;
			background-image: none;
			display: block;
			clear: both;
			margin-bottom: 20px;
		}
		
		ul.testimonial-list li a.post-edit-link {
			margin-bottom: 0;
		}

		ul.testimonial-list li .inner {
			padding: 20px;
		}
		
		ul.testimonial-list li img.attachment-testimonial-logo.wp-post-image {
			float: right;
			margin: 0 0 20px 20px;;
		}
		
		/* Home page image slider */
		
		#redbg {
			background: #da1e2f;
			border-bottom: 3px solid #4b4b4b;
		}
		
		#sliderwrap {
			background: url("images/layout/slide-bg.png") right center no-repeat;
			background-size: auto 100%;
		}
		
		.container .flexslider.loading {
			min-height: 300px;
		}
		
		.container .flexslider {
			min-height: 0;
			display: block;
			margin: 44px 0 30px;
			box-shadow: none;
			border: none;
			background: none;
			z-index:1;
		}
		
		.container .flexslider a:hover {
			text-decoration: none;
		}
		
		.container .flexslider ul li {
			background: none;
			padding: 0;
			margin: 0;
		}
		
		.container .flexslider .flex-direction-nav a {
			background-image: url("images/layout/bg_direction_nav.png");
			width: 50px;
			height: 50px;
			margin: -28px 0 0;
		}
		
		.container .flexslider .flex-direction-nav a.flex-next {
			background-position: -100px 0;
		}
		
		.container .flexslider .slides img {
			margin: 0;
			width: 50%;
			height: auto;
		}
		
		.container .flexslider .flex-control-nav {
			bottom: 0;
			position: relative;
			text-align: left;
		}
		
		.container ol.flex-control-nav li {
			margin: 0 4px;
		}
		
		.container .flex-control-paging li a, .container .flex-control-paging li a:hover {
			width: 12px;
			height: 12px;
			background: #e7e7e7;
			border-radius: 12px;
			-webkit-border-radius: 12px;
			box-shadow: none;
			border: 2px solid #e7e7e7;
		}
		
		.container .flex-control-paging li a.flex-active {
			background: #be2a0c;
			border: 2px solid #be2a0c;
		}
		
		.container .flexslider .flex-caption {
			color: #ffffff;
		    padding: 0;
			position: absolute;
			right: 0;
			top: 0;
			width: 50%;
			font-size: 16px;
			line-height: 22px;
			text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
			-webkit-text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
		}
		
			.container .flexslider .flex-caption .content {
				padding: 20px;
			}
			
			.container .flexslider .flex-caption p:last-of-type {
				margin-bottom: 0;
			}
		
		.container .flexslider .flex-caption a, .container .flexslider .flex-caption h1, .container .flexslider .flex-caption h2 {
			color: #ffffff;
		}
		
		.container .flexslider .flex-caption a.btn {
			color: #393939;
			float: left;
			margin-top: 20px;
			text-shadow: none;
			-webkit-text-shadow: none;
		}
		
		.container .flexslider .flex-caption a.btn:hover {
			text-decoration: underline;
		}
		
		.container .flexslider .flex-caption a.btn.two {
			margin-top: 8px;
		}
		
		.container .flexslider .flex-caption .inner {
			margin: 10px 30px;
		}
		
	
	/* WooCommerce Styling */
	
		.woocommerce .cart-collaterals .cart_totals table, 
		.woocommerce-page .cart-collaterals .cart_totals table {
			float: right;
		}
		
		.woocommerce #payment ul.payment_methods li, 
		.woocommerce-page #payment ul.payment_methods li {
			background-image: none;
			padding-left: 0;
		}
		
		li.wc_payment_method label {
			color: #fff;
		}
		
		body .woocommerce-checkout #payment div.payment_box::before {
			display: none;
		}
		
		body .woocommerce button.button#place_order {
			padding: 1.5em 2em;
			color: #fff;
			background: #000;
			border-radius: 0;
		}
		
		.woocommerce form label {
			display: inline;
		}
		
		.page .woocommerce ul#shipping_method li, .page .woocommerce-page ul#shipping_method li {
			background-image: none;
		}
		
		.woocommerce .woocommerce-message li, 
		.woocommerce .woocommerce-error li, 
		.woocommerce .woocommerce-info li, 
		.woocommerce-page .woocommerce-message li, 
		.woocommerce-page .woocommerce-error li, 
		.woocommerce-page .woocommerce-info li {
			background-image: none;
		}
		
		.woocommerce .description p {
			margin-bottom: 12px;
		}
		
		.woocommerce.shop .single_add_to_cart_button {
			margin-top: 12px;
		}
		
		.woocommerce.shop a.button.wc-forward {
			background: #8e1f09;
			color: #ffffff;
		}
		
		.woocommerce.shop div.product div.images img, 
		.woocommerce.shop #content div.product div.images img, 
		.shop .woocommerce-page div.product div.images img, 
		.shop .woocommerce-page #content div.product div.images img {
			width: auto;
		}
	

	/* Fonts and Line Spacing */
	
		h1, h2, h3 {
			font-weight: normal;
			color: #585858;
		}
		
		.turquoise h1, .turquoise h2, .turquoise h3 {
			color: #ffffff;
		}
		
		h4, h5 {
			font-weight: normal;
			color: #33373b;
		}
		
		h1 {
			font-size: 28px;
			line-height: 34px;
			margin: 0 0 20px;
		}
		
		h1 a, h1 a:hover {
			text-decoration: none;
			color: #4E4E4E;
		}
		
		h1.page-title {
			margin-bottom: 24px;
		}
		
		#redbg h1.page-title {
			margin-top: 38px;
			color: #ffffff;;
		}
		
		h1.post-title {
			margin: 8px 0;
		}
		
		h1.home-title {
			text-align: center;
			margin-bottom: 30px;
		}
		
		h2 {
			font-size: 24px;
			line-height: 28px;
			margin: 0 0 20px;
		}
		
		h2.post-title {
			margin-bottom: 8px;
		}
		
		h2.search-header {
			background: url("images/layout/search-glass.png") no-repeat scroll left top transparent;
			padding: 0 0 0 30px;
			line-height: 38px;
		}
		
		h3 {
			font-size: 20px;
			line-height: 24px;
			margin: 0 0 20px;
		}
		
		h4 {
			font-size: 18px;
			line-height: 22px;
			margin: 0 0 16px;
		}
		
		h5 {
			font-size: 16px;
			line-height: 20px;
			font-weight: bold;
			margin: 0 0 16px;
		}
		
		p {
			margin: 0 0 20px 0;
		}
		
		.sidebar p {
			margin: 0 0 12px 0;
		}
		
		strong {
			font-weight: bold;
		}
		
		sup, sub {
			font-size: 8px;
			height: 0;
			line-height: 12px;
			position: relative;
		}

		sup {
			vertical-align: top;
		}

		sub {
			vertical-align: bottom;
		}
		
		a {
			text-decoration: none;
			color: #BE2A0C;
		}
		
		.sidebar a {
			text-decoration: none;
			color: #be2a0c;
		}
		
		a:hover {
			text-decoration: underline;
		}
		
		a.category-link {
			font-size: 16px;
			line-height: 20px;
			font-weight: bold;
		}
		
		blockquote {
			min-height: 22px;
			margin: 0 0 20px 0;
			padding: 20px;
			color: #575757;
			line-height: 22px;
			background: #f0f0f0;
		}
		
		p.wp-caption-text {
			text-align: center;
			font-style: italic;
			padding: 3% 0;
		}
		
		p.author-info {
			margin: 18px 0;
		}
		
		.alignleft {
			float: left;
			text-align: left;
		}
		
		.alignright {
			float: right;
			text-align: right;
		}
		
		.aligncenter {
			text-align: center;
			margin: 0 auto;
			display: block;
			clear: both;
		}
		
		ul {
			margin: 20px 0;
			list-style: none;
		}
		
			ul li {
				background: url("images/layout/bullet.png") no-repeat scroll left top;
				padding-left: 24px;
				margin-bottom: 8px;
				list-style: none;
			}
		
		
		.separator {
			border-bottom: 1px dashed #585858;
			margin: 20px 0;
		}
		
		.wp-pagenavi {
			clear: both;
			float: left;
			font-size: 16px;
			margin: 40px 0 60px 0;
		}
		
		
	/* The menu bar */

	/* Displaying desktop or mobile menu based on device width */

		.mobile .menu {
			display: none;
		}
		
		.desktop {
			position: absolute;
		}
		
		.desktop .menu {
			display: block;
			float: left;
		}

		
	/* Menu styling */
	
		ul.menu {
			margin: 0;
		}
		
		ul.menu li {
			float: left;
			list-style: none;
			border: 0 none;
			display: block;
			margin: 0;
			padding: 0;
			position: relative;
			z-index: 5;
			background: none;
		}
		
		
	/* Header Menu */
		
		#menu {
			z-index: 9999;
			background-color: #606060;
			background-image: url("images/layout/menu-border.png");
			background-repeat: repeat-x;
			background-position: left bottom;
			float: left;
			height: 42px;
		}
		
		#menu a {
			padding: 11px;
			font-size: 14px;
			line-height: 42px;
			color: #ffffff;
		}
		
			 #menu a:hover {
				background-color: #979797;
				color: #ffffff;
				text-decoration: none;
			 }
			 
		#menu li.menu-item-has-children > a {
			padding-right: 32px;
			background-image: url("images/layout/menu-arrow.png");
			background-repeat: no-repeat;
			background-position: right top;
		}

		#menu ul ul {
			display: none;
			position: absolute;
			margin: 0;
			top: 42px;
			left: 0;
			float: left;
			z-index: 9999;
			transition: all 0.3s ease 0s;
			-webkit-box-shadow:  3px 3px 8px  rgba(70, 70, 70, 0.3);
			box-shadow:  3px 3px 8px  rgba(70, 70, 70, 0.3);
		}

		#menu ul ul li {
			min-width: 210px;
			margin: 0;
		}

		#menu ul ul ul {
			left:100%;
			top: 0;
		}

		#menu ul ul a {
			background: #606060;
			color: #ffffff;
			height: auto;
			line-height: 20px;
			padding: 12px;
			width: 240px;
			display: block;
			text-transform: none;
		}
		
		#menu ul ul li.last a {
			background-image: url("images/layout/menu-border.png");
			background-repeat: repeat-x;
			background-position: left bottom;
		}
		
		#menu ul ul li.last a:hover {
			background-image: none;
		}
		
		#menu ul ul li.last.current-menu-item a {
			background-image: none;
		}
		
		#menu ul li:hover > a {
			background-color: #979797;
			color: #ffffff;
		}
		
		#menu ul ul li:hover > a {
			background-color: #979797;
			color: #ffffff;
		}

		#menu ul li:hover > ul {
			display: block;
		}
		
		#menu ul li.current_page_item > a,
		#menu ul li.current_page_parent > a,
		#menu ul li.current-menu-ancestor > a,
		#menu ul li.current-menu-item > a,
		#menu ul li.current-menu-parent > a {
			background-color: #979797;
			color: #ffffff;
		}

		* html #menu ul li.current_page_item a,
		* html #menu ul li.current-menu-ancestor a,
		* html #menu ul li.current-menu-item a,
		* html #menu ul li.current-menu-parent a,
		* html #menu ul li a:hover {
			font-weight: bold;
			text-decoration: underline;
		}

		
		/* Sidebar Menus */
		
		ul.sidebar ul.menu li {
			z-index: 0;
			float: none;
			margin-bottom: 0;
		}
		
		ul.sidebar ul.menu li a {
			font-size: 18px;
			display: block;
			padding: 12px 16px 8px;
			line-height: 22px;
			border-bottom: 4px solid #4b4b4b;
			background: #606060;
			color: #ffffff;
		}
		
		ul.sidebar ul.menu li a:hover, ul.sidebar ul.menu li.current-menu-item a  {
			background: #da1e2f;
			border-bottom: 4px solid #da1e2f;
			text-decoration: none;
		}
		
			ul.sidebar ul.menu li ul.sub-menu {
				margin: 0;
			}
		
			ul.sidebar ul.menu li ul.sub-menu a {
				font-size: 14px;
				border-bottom: 1px solid #c9c9c9;
				padding: 10px 10px 10px 30px;
				line-height: 18px;
				background: #ffffff;
				color: #585858;
			}
			
			ul.sidebar ul.menu li ul.sub-menu a:hover, ul.sidebar ul.menu li ul.sub-menu li.current-menu-item a {
				color: #da1e2f;
				border-bottom: 1px solid #da1e2f;
				background: url("images/layout/bullet-side.png") no-repeat left center;
			}
		

		/* Footer Menu */
		
		.menu-footer {
			float: left;
			width: 100%;
			margin-bottom: 20px;
			margin-top: 4px;
		}
		
		.menu-footer ul.menu li {
			margin: 0;
			background-image: url("images/layout/sitemap-line.png");
			background-repeat: no-repeat;
			background-position: center right;
			padding-right: 11px;
		}
			
		.menu-footer ul.menu li.last {
			background-image: none;
		}
		
		
	/* Social Sharing Buttons */

	.social-box {
		display: block;
		clear: both;
		position: relative;
	}
	
	.social-box ul {
		margin: 8px 0 0 0;
		height: 30px;
	}
	
	.social-box ul li {
		background: none;
		padding: 0;
		width: 90px;
		height: 30px;
		float: left;
	}


	/* Form Styling */
	
	form label {
		display: block;
		margin-bottom: 4px;
	}
	
	input {
		font-family: 'Open Sans', sans-serif;
		font-size: 14px;
		line-height: 20px;
		color: #000000;
	}
	
	input[type="text"], textarea, input[type="email"] {
		background: #e7e7e7;
		width: 96%;
		padding: 6px;
		margin-bottom: 12px;
		border: 0;
		border-radius: 4px;
		-webkit-border-radius: 4px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	
	input[type="text"]:focus, textarea:focus, input[type="email"]:focus, select:focus {
		background: #ececec;
	}
	
	.page input[type="text"], .page textarea, .page input[type="email"] {
		width: 60%;
	}
	
	textarea {
		font-family: 'Open Sans', sans-serif;
		font-size: 14px;
		line-height: 20px;
		height: 70px;
		margin-bottom: 12px;
		border-radius: 4px;
		-webkit-border-radius: 4px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	
	.page textarea {
		height: 100px;
	}
	
	select {
		font-family: 'Open Sans', sans-serif;
		font-size: 14px;
		line-height: 20px;
		padding: 4px;
		width: 100%;
		margin-bottom: 12px;
		border: 0;
		background: #e7e7e7;
		border-radius: 4px;
		-webkit-border-radius: 4px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	
	.sidebar label {
		display: block;
		margin-bottom: 4px;
	}
	
	input#s {
		width: 200px;
	}
	
	.widget input[type="text"], .widget textarea, .widget input[type="email"] {
		background: #ffffff;
	}
	
	form.post-password-form p {
		clear: left;
	}
	
	
	/* Contact Form 7 Styling */
	
	.wpcf7 span.wpcf7-not-valid-tip {
		font-size: 14px;
		line-height: 16px;
	}
	
	.wpcf7 .wpcf7-response-output {
		display: block;
		margin: 4px 0;
		padding: 0;
		font-size: 14px;
		line-height: 18px;
		border: none;
		color: #f00;
	}
	
	.wpcf7 span.wpcf7-not-valid-tip {
		margin-bottom: 8px;
	}
	

	/* Footer styling */
	
		#footer {
			position: relative;
			color: #ffffff;
			padding: 20px 0;
			margin-top: 60px;
		}
		
		#footer a {
			color: #cecece;
		}
		
		#footer img {
			-webkit-box-shadow:  3px 3px 8px  rgba(83, 83, 83, 0.3);
			box-shadow:  3px 3px 8px  rgba(83, 83, 83, 0.3);
		}
		
		span.line {
			display: block;
			margin-bottom: 6px;
		}
		
		span.line.copyright {
			font-size: 20px;
			line-height: 22px;
			margin-bottom: 16px;
		}
		
		span.footer-title {
			display: block;
			font-size: 18px;
			line-height: 20px;
			margin-bottom: 10px;
		}

	
	/* Widget styling */
		
		#sidebar .widget {
			padding: 0px;
			margin: 0 0 20px 0;
		}


	/* Image styling */

		.wp-caption {
			max-width: 100%;
		}
	
		.wp-caption.alignnone, .wp-caption.alignleft {
			float: left;
			display: block;
			margin: 0 20px 8px 0;
		}
	
		.wp-caption.aligncenter {
			margin: 8px auto 16px auto;
			max-width:94%;
		}
		
		.wp-caption.alignright {
			float: right;
			display: block;
			margin: 0 0 8px 20px;
		}
		
		.alignnone, .alignleft {
			clear: right;
			float: left;
			display: block;
			margin: 0 20px 20px 0px;
		}
		
		.aligncenter {
			margin: 8px auto 20px auto;
			display: block;
			clear: both;
		}
		
		.alignright {
			clear: right;
			float: right;
			display: block;
			margin: 0 0 20px 20px;
		}
		
		img.wp-post-image.alignright {
			clear: right;
			float: right;
			display: block;
			margin: 8px 0 20px 20px;
		}
		
		img.wp-post-image {
			margin: 12px 0;
		}
		
		.widget img {
			margin: 0 0 8px 0;
		}
		
		img.attachment-listingimg {
			float: right;
			margin: 0 0 20px 12px;
		}
		

		
/* ==== Fixes for iPad horizontal  ====   */

@media handheld, only screen and (max-width: 1024px) {

		#contact-box {
			font-size: 16px;
			line-height: 18px;
			padding: 10px 12px;
		}

		a#logo img {
			max-width: 70%;
		}
			
		.desktop .menu {
			height: 40px;
		}
		
		#menu {
			height: 40px;
		}
		
		#menu a {
			padding: 11px 10px 12px;
			font-size: 12px;
			line-height: 39px;
		}
		
		#menu li.menu-item-has-children > a {
			background-position: right 0px;
			padding-right: 30px;
		}
		
		#menu ul ul {
			top: 40px;
		}
		
		#menu ul ul a {
			width: 220px;
			padding: 9px;
		}
		
		h1 {
			font-size: 22px;
		}

		h2 {
			font-size: 18px;
		}

		h3 {
			font-size: 16px;
		}
		
		h4 {
			font-size: 14px;
		}
		
}



/* ==== Fixes for iPad portrait  ====   */

@media handheld, only screen and (max-width: 880px) {

	/* Displaying desktop or mobile menus based on device width */
		
		.desktop .menu {
			display: none;
		}
		
		.mobile .menu {
			display: block;
		}
	
		.mobile select.menu {
			width: 60%;
			margin: 0 auto;
			height: 30px;
		}
		
		#menubg {
			height: auto;
			padding: 0;
			border-bottom: none;
		}
		
		#menu {
			position: relative;
			float: none;
			padding-top: 8px;
		}
		
		.container .flexslider {
			margin: 30px 0;
		}
		
		.container .flexslider .flex-caption .inner {
			margin: 0 30px;
		}
		
		a.btn, input[type="submit"] {
			margin-bottom: 2px;
			font-size: 14px;
			padding: 4px 8px;
		}
		
		.container .flexslider .flex-caption a.btn.two {
			margin-top: 6px;
		}

		
	/* Slider tweaks */
		
		.container .flexslider .flex-direction-nav {
			display: none;
		}
		
}



/* ==== Layout for mobile version ====   */

@media handheld, only screen and (max-width: 767px) {


	/* Setting up the various divs and background properties */

		body .container {
			padding: 10px 0;
			margin: 0;
		}
		
		ul.sidebar {
			margin-top: 20px;
		}
		
		ul.sidebar li.widget {
			margin-bottom: 20px;
		}
		
		ul.sidebar li.widget.mobile-hide {
			display: none;
		}
		
		
	/* Header tweaks */
		
		#logo-box {
			float: none;
			text-align: center;
		}
		
		#contact-box {
			float: none;
			text-align: center;
			font-size: 16px;
			line-height: 18px;
			margin-bottom: 10px;
		}
		
		#contact-box .social-icons {
			display: none;
		}
		
		
	/* Body tweaks */
		
		.content, .content.page {
			padding: 10px 0;
		}
		
		.content.listing {
			min-height: 0px;
			padding: 20px;
		}
		
		body .container.paddingfix {
			padding: 0;
		}
		
		ul.post-listing li {
			float: none;
			width: 100%;
			margin: 0 0 12px;
		}
		
		a.read-more {
			font-size: 14px;
		}
		
		.widget_nav_menu {
			display: none;
		}
		
		
	/* Footer tweaks */
		
		#footer {
			padding: 10px 0;
			margin-top: 0;
		}
		
		span.line.copyright {
			font-size: 14px;
			line-height: 18px;
		}
		

	/* Font size tweaks */
		
		body {
			font-size: 12px;
			line-height: 18px;
		}
		
		h1 {
			font-size: 20px;
			line-height: 24px;
			margin: 0 0 16px;
		}
		
		h1.page-title, #redbg h1.page-title  {
			margin: 20px 0;
		}
		
		h1.post-title {
			margin-bottom: 4px;
		}
		
		h1.home-title {
			margin-bottom: 12px;
			text-align: center;
		}
		
		h2 {
			font-size: 18px;
			line-height: 22px;
			margin: 0 0 16px;
		}
		
		h2.search-header {
			line-height: 28px;
		}
		
		h3 {
			font-size: 16px;
			line-height: 20px;
			margin: 0 0 12px;
		}
		
		.sidebar h3.widget-title {
			font-size: 18px;
			line-height: 20px;
			margin-bottom: 16px;
		}
		
		h4 {
			font-size: 14px;
			line-height: 20px;
			margin: 0 0 12px;
		}
		
		h5 {
			font-size: 14px;
			line-height: 18px;
			font-weight: bold;
			margin: 0 0 12px;
		}
		
		p {
			margin: 0 0 12px 0;
		}
		
		blockquote {
			line-height: 18px;
		}
		
		
	/* Image tweaks */
		
		img.wp-post-image.alignright, img.wp-post-image.alignleft, img.wp-post-image.aligncenter, img.wp-post-image.alignnone {
			margin: 12px auto;
			float: none;
			display: block;
		}
		
		ul.testimonial-list li img.attachment-testimonial-logo.wp-post-image {
			margin: 0 auto 12px;
			float: none;
			display: block;
		}
		
		ul.testimonial-list li .right {
			float: none;
		}
				
		ul.post-listing li.left {
			margin-right: 0;
		}
				
		ul.post-listing li.right {
			margin-left: 0;
		}
		
	/* Slider tweaks */

		.container .flexslider {
			margin: 20px 0 12px;
			min-height: 470px;
		}
		
		.container .flexslider .slides img {
			width: 100%;
			position: relative;
		}
		
		.container .flexslider .flex-caption {
			width: 100%;
			position: relative;
			font-size: 14px;
			line-height: 20px;
		}
		
			.container .flexslider .flex-caption .inner {
				margin: 10px 0;
			}
				
		#testimonialslider {
			min-height: 210px;
		}
	
	
	/* Form tweaks */
	
		.page input[type="text"], .page textarea, .page input[type="email"] {
			width: 90%;
		}
	
	
}

/* ========================================== */
/* ! Provide higher res assets for iPhone 4   */
/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

/*	.logo {
		background: url(logo2x.jpg) no-repeat;
		background-size: 212px 303px;
	}*/

}

