/*
Theme Name: Netherton Equestrian
Theme URI: http://www.carnoustiecreative.co.uk
Author: Miles Gilmour
Author URI: http://www.carnoustiecreative.co.uk
Description: Custom Wordpress theme 
Version: 1.2
License: Commercial - copyright 2014 Carnoustie Creative 
*/

/* Table of Contents
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */

body {
	background-color: #000;
}

.wrap {
	background-image: url('img/bgnd.jpg');
	background-repeat: no-repeat;
	background-size: auto 761px;
	background-position:  top center;
	clear: left;
}

header {
	padding-top: 10px;
	background-color: #fff;
	opacity: 0.8;
}

header a {
	color: #000;
	text-decoration: none;
}

header a:hover {
	color: #8C0000;
}

header .fb {
	background-image: url('img/fb-header.png');
	background-repeat: no-repeat;
	padding: 5px 0 5px 25px;
}

header .myaccount {
	background-image: url('img/myaccount.svg');
	background-repeat: no-repeat;
	padding: 5px 0 5px 35px;
}

header .mycart {
	background-image: url('img/mycart.svg');
	background-repeat: no-repeat;
	padding: 5px 0 5px 35px;
}

header .social {
	font-size: 16px;
	float: right;
}


header .social a{
	margin-right: 5px;
}

header .social a:hover {
	text-decoration: underline;
}

header .social .button {
	margin-left: 30px;
}

header .social absolute.button:hover {
	text-decoration: none;
}

.primary, .primary li {
	float: left;
	margin-bottom: 0;
}

.primary {
	position: absolute;
	bottom: 0;
	right: 0;
	margin-bottom: 6px;
}

.primary li {
	margin-bottom: 2px;
	padding-bottom: 2px;
	margin-right: 33px;
}

.primary li:last-child {
	margin-right: 0;
}

.primary li.current-menu-item a, .primary li a:hover {
	color: #8C0000;
	border-bottom: 6px solid #8C0000;
}

.primary li a {
	font-size: 19px;
	display: block;
	padding: 5px 5px 10px 5px;
	border-bottom: 6px solid transparent;
	-moz-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	-o-transition-duration: 0.2;
	-ms-transition-duration: 0.2s;
}

footer {
	background-color: #aaa;
}

#map-canvas {
	height: 400px;
	width: 100%;
	background-color: #000;
}

.logo {
	margin-bottom: 10px;
}

footer {
	margin-top: 60px;
	color: #A8A098;
	padding: 20px 0;
	background-image: url('img/footer.jpg');
}

footer a {
	color: #A8A098;
	text-decoration: none;
}

footer a:hover {
	color: #fff;
}

footer ul, footer li {
	margin-bottom: 0;
}

.secondary {
	margin-top: 2px;
}

.secondary, .secondary li {
	float: left;
}

.secondary li {
	margin-right: 5px;
}

.secondary li a {
	font-size: 17px;
	padding-right: 5px;
}

.secondary li:after {
	content: "|";
}

.secondary li:last-child:after {
	content: "";
}

.secondary li:last-child {
	margin-right: 0;
}

footer .right {
	text-align: right;
}

footer .address {
	margin: 30px 0;
	font-size: 16px;
	line-height: 19px;
}

footer .address a {
	display: block;
	font-size: 24px;
	margin-bottom: 10px;
}

footer a.fb {
	background-image: url('img/fb-footer.png');
	background-repeat: no-repeat;
	padding-left: 35px;
	float: left;
	margin-top: 40px;
	margin-bottom: 40px;
	line-height: 28px;
	clear: both;
	display: block;
}

footer .copy {
	clear: both;
	float: left;
	font-size: 15px;
}

footer .credit {
	margin-top: 10px;
	font-size: 15px;
	white-space: nowrap;
}

footer .credit span {
	margin-left: 10px;
	color: transparent;
	background-image: url('img/carcre.png');
	background-repeat: no-repeat;
	float: right;
	display: block;
	height: 30px;
	width: 106px;
}

.primary .mobile .menu-bar {
	float: left;
	width: 100%;
}

#hamburger {
	cursor: pointer;
	display: block;
	height: 35px;
	padding: 5px 8px 5px 8px;
	width: 30px;
	background: rgba(204, 204, 204, 0.7);
	float: left;
}

#hamburger div {
	background-color: #fff;
	height: 5px;
	margin-top: 5px;
	width: 100%;
}

.mobile-nav .menu-label {
	float: left;
	font-size: 16px;
	text-transform: uppercase;
	line-height: 45px;
	padding-left: 10px;
	color: #fff;
	padding-bottom: 10px;
}

.mobile-nav .inner {
	padding: 10px 10px 10px 10px;
}

.mobile-nav {
	display: none;
	background-color: #8C0000;
	float: left;
	width: 100%;
}

.mobile-nav .menu-bar {
	float: left;
	width: 100%;
}

.mobile-nav ul {
	background-color: #1E2E5D;
	clear: both;
	margin-bottom: 5px;
	display: none;
}

.mobile-nav li a {
	text-decoration: none;
	display: block;
	padding: 8px;
}

.mobile-nav li {
	margin-bottom: 0;
	border-top: 1px solid #8C0000;
}

.mobile-nav li.current-menu-item {
	background-color: #000;
}

/* #Page Styles
================================================== */

.page .main {
	margin-top: 60px;
	background-color: rgba(0,0,0,0.8);
}

.page .wrap .inner {
	padding: 40px 20px 20px 20px;
	min-height: 300px;
}

.page h1 {
	margin-top: 10px;
	background-color: #1E2E5D;
	display: inline;
	padding: 10px 20px 10px 900px;
	margin-left: -900px;
	position: relative;
}

.page .wrap .inner div.clear {
	height: 30px;
}

.page h1 + p {
	font-size: 21px;
}

.page h2 {
	margin-top: 20px;
	border-bottom: 1px solid #940000;
	margin-bottom: 15px;
	display: inline;
}

.page h2 + p, 
.page h2 + img,
.page h2 + h3,
.page div.wp-caption {
	margin-top: 15px;
}

.blue {
	color: #fff;
	background-color: #1E2E5D;
}

.red {
	color: #fff;
	background-color: #8C0000;
}

.grey, .grey h2 {
	color: #000;
	background-color: #CFCFCF;
}

.feature {
	cursor: pointer;
	margin-bottom: 40px;
}

.feature h2 {
	text-align: center;
	font-size: 18px;
	text-transform: uppercase;
	margin: 10px 0;
}

.feature .image {
	height: 200px;
	width: 100%;
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url('img/news.jpg');
	background-position: center;
}

.feature .bottom {
	font-size: 16px;
	padding: 20px;
}

.feature .link {
	float: right;
	margin-bottom: 20px;
}

.feature a {
	text-decoration: none;
}

.feature a:hover {
	text-decoration: underline;
}

.feature.grey a {
	color: #000;
}

.feature.grey a:hover {
	color: #aaa;
}

.feature + p {
	clear: both;
}

.home .main .row {
	margin-top: 40px;
	margin-bottom: 220px;
}

.home #side-shadow {
	height: 100%;
	width: 100%;
	position: absolute;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNDElIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -moz-linear-gradient(-45deg,  rgba(0,0,0,1) 0%, rgba(0,0,0,0) 51%, rgba(0,0,0,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(0,0,0,1)), color-stop(41%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 51%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 51%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 51%,rgba(0,0,0,0) 100%); /* IE10+ */
	background: linear-gradient(135deg,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 51%,rgba(0,0,0,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
}

.ie9 .home #side-shadow {
	filter: none;
}

.home .map-title {
	margin-top: 40px;
}

.page .main .inner img {
	max-width: 100%;
}

.page .main .inner ul {
	list-style: circle;
	margin-left: 30px;
}

.page .gform_wrapper input[type=text], 
.page .gform_wrapper input[type=url], 
.page .gform_wrapper input[type=email], 
.page .gform_wrapper input[type=tel], 
.page .gform_wrapper input[type=number], 
.page .gform_wrapper input[type=password],
.page .gform_wrapper select {
	font-size: 17px;
}

.page .gform_wrapper .gfield_required {
	font-size: 25px;
	color: #eee;
}

.page .gform_wrapper .ginput_complex label {
	font-size: 16px;
	font-weight: normal;
}

.page .gform_wrapper .ginput_complex input {
	margin-bottom: 6px;
}

.page .gform_wrapper .gfield_description {
	font-family: 'Alegreya Sans', sans-serif;
	font-size: 16px;
}

.wp-caption-text {
	font-size: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.cal-mask {
	width: 100%;
	position: absolute;
	background-color: #000;
	height: 18px;
}

/* WP Booking Calendar */

.page .main .datepick-inline .datepick .datepick-days-cell-over,
.page .datepick-inline .datepick-one-month .datepick .datepick-current-day  {
	background-color: #8C0000;
	color: #fff;
}

/* Royal slider gallery */

.page .visibleNearby {
 	padding-bottom: 20px;
  	width: 100%;
  	background: #141414;
  	color: #FFF;
  	padding-top: 25px;
}

.page .visibleNearby .rsGCaption {
	font-size: 15px;
	line-height: 18px;
	padding: 12px 0 16px;
	background: #141414;
	width: 100%;
	letter-spacing: 1px;
	text-transform: uppercase;
	position: static;
	float: left;
	left: auto;
	bottom: auto;
	text-align: center;
}

.page .visibleNearby .rsSlide img {
	opacity: 0.45;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;

	-webkit-transform: scale(0.9);  
	-moz-transform: scale(0.9); 
	-ms-transform: scale(0.9);
	-o-transform: scale(0.9);
	transform: scale(0.9);
}

.page .visibleNearby .rsActiveSlide img {
	opacity: 1;
	-webkit-transform: scale(1);  
	-moz-transform: scale(1); 
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

/* WordPress image alignment */

.page .alignleft {
	float: left;
	margin-right: 30px;
}

.page .alignright {
	float: right;
	margin-left: 25px;
}

.alignleft .wp-caption-text, .alignright .wp-caption-text {
	margin-bottom: 17px;
}

.page .aligncenter img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* #Google Calendar Events 
================================================== */

.page .gce-page-grid .gce-calendar .gce-today {
	background-color: #1E2E5D;	
}

.page .gce-page-grid .gce-calendar .gce-has-events {
	background-color: #000;
	color: #8C0000;
}

.page .gce-page-grid .gce-calendar .gce-month-title {
	color: #fff;
	font-size: 22px;
	margin-bottom: 10px;
}

.page .gce-page-grid .gce-calendar .gce-next a, .page .gce-page-grid .gce-calendar .gce-prev a {
	font-size: 35px;
	text-decoration: none;
}

.page .gce-page-grid {
	margin-bottom: 30px;
}

/* #Media Queries
================================================== */

	/* Widescreen */
    @media only screen and (min-width: 1380px) {}    

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {

		.primary li {
			margin-right: 19px;
		}

		.primary li a {
			font-size: 19px;
		}

	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {

		.logo {
			width: 70%;
		}

		.nav-block nav {
			display: none;
		}

		.container .six.columns.logo-block, .container .ten.columns.nav-block {
			width: 50%;
		}

		header .social {
			margin-top: 5px;
			text-align: right;
		}

		header .social .button {
			margin-left: 0;
			margin-top: 20px;
		}

		h1 {
			font-size: 28px;
			line-height: 30px;
		}

		.home .main .row {
			margin-bottom: 0;
		}

		.home .main .row h1 {
			margin-bottom: 170px;
		}

		.home .main .feature {
			margin: 30px 0;
		}

		#map-canvas {
			height: 300px;
		}

		.mobile-nav {
			display: block;
		}

	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {

		.logo {
			width: 95%;
		}
	
		.nav-block nav {
			display: none;
		}

		.container .six.columns.logo-block, .container .ten.columns.nav-block {
			width: 50%;
		}

		header .social {
			margin-top: 5px;
			text-align: right;
		}

		header .social .button {
			margin-left: 0;
			margin-top: 20px;
		}

		h1 {
			font-size: 28px;
			line-height: 30px;
		}

		.home .main .row {
			margin-bottom: 0;
		}

		.home .main .row h1 {
			margin-bottom: 170px;
		}

		.home .main .feature {
			margin: 30px 0;
		}

		#map-canvas {
			height: 300px;
		}

		.mobile-nav {
			display: block;
		}

	}

/* Media rules for Royal slider / gallery */

/* Non-linear resizing on smaller screens */
@media screen and (min-width: 0px) and (max-width: 900px) { 
  #gallery-1 {
    padding: 12px 0 12px;
  }
  #gallery-1 .rsOverflow,
  .royalSlider#gallery-1 {
    height: 400px !important;
  }
}
@media screen and (min-width: 0px) and (max-width: 500px) { 
  #gallery-1 .rsOverflow,
  .royalSlider#gallery-1 {
    height: 300px !important;
  }
}