/*   
Theme Name: Alexander Carrick of Corbridge
Theme URI: 
Description: Alexander Carrick of Corbridge
Author: 
Version: 1.0

Author URI: http://digitalacorn.co.uk
Template: da_bespoke
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

	@font-face {
		font-family: 'carrick';
		src: url('lib/font/fsalbertpro-webfont.eot');
		src: url('lib/font/fsalbertpro-webfont.eot?#iefix') format('embedded-opentype'),
			 url('lib/font/fsalbertpro-webfont.woff') format('woff'),
			 url('lib/font/fsalbertpro-webfont.ttf') format('truetype'),
			 url('lib/font/fsalbertpro-webfont.svg#carrick') format('svg');
		font-weight: normal;
		font-style: normal;
	}

/* structure */

	*, body, html{margin: 0; padding: 0; border: 0; list-style-type: none; font-weight: normal;}	
	*, *:before, *:after {-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
	body {font-family: carrick, arial; color: #58574a; background: #fbfbfa; font-size: 14px; min-width: 320px; -webkit-font-smoothing: antialiased;}
	body.has_cookie_bar {margin: 49px 0 0;}
	img {vertical-align: middle; max-width: 100%; height: auto; display: inline-block;}
	#wrap {position: relative;}
	#main_header {height: 122px; background: url('lib/img/trans1_bg.png') repeat 0 0; position: absolute; left: 0; right: 0; }
	#header {position: absolute; left: 30px; right: 30px;}
	#main_nav {margin: 0 374px 0 0; height: 122px; z-index: 102;}
	#main_nav:hover .header_text{opacity: 0;}
	#content {width: 285px; height: auto; background: url('lib/img/trans1_bg.png') repeat 0 0; position: fixed; right: 0; max-height: 484px; bottom: 58px; padding: 14px 30px 4px 20px; text-align: right; overflow: hidden;}
	body.contact-us-page #content {width: 412px; height: 250px; padding: 14px 30px 4px 10px;}
	#footer {height: 44px; width: 100%; background: url('lib/img/trans1_bg.png') repeat 0 0; position: fixed; bottom: 0; left: 0; padding: 0 30px;}
	body.cta #content{bottom: 166px; max-height: 362px;}
	#map_wrap img {max-width: none;}
	
/* links */

	a:link {color: #58574a; text-decoration: none; transition: color 0.4s ease 0s; -webkit-transition: color .4s ease-in-out;}
	a:visited {color: #58574a; text-decoration: none;}
	a:active, a:hover {color: #9b9a92; text-decoration: none;}
	
/* menu */

	ul.primary_menu {text-align: left; padding: 14px 0 0; position: relative; display: block; max-width: 700px; height: 122px; overflow: hidden;}
	ul.primary_menu li {display: inline-block;}
	ul.primary_menu li a{padding: 0 5px 5px 0; color: #79796e; font-size: 15px;}
	ul.primary_menu > li:last-of-type a {padding: 0 0 5px;}
	ul.primary_menu li a:hover, ul.primary_menu li.current_page_item > a, ul.primary_menu li.current_page_parent > a{color: #58574a;}
	ul.primary_menu li.current_page_item > a, ul.primary_menu li.current_page_parent > a {font-weight: bold;}
	ul.primary_menu li ul {display: none; position: absolute; left: 0; top: 32px; padding: 20px 0; width: 100%;}
	ul.primary_menu li.current_page_item > ul.sub-menu, ul.primary_menu li.current_page_parent > ul.sub-menu {z-index: 8; display: block;}
	.nosubs ul.primary_menu li:hover > ul {z-index: 9; display: block;}
	ul.primary_menu li ul a {font-size: 14px; padding: 0 10px 15px 0; display: block;}
	#small_menu_button {display: none; background: url('lib/img/small_menu_bg.png') no-repeat 0 0; width: 100%; height: 22px; line-height: 11px; position: absolute; top: 14px;}	
	#small_menu_page_title_text {padding: 0 0 0 40px;}
	#small_menu_button:hover {cursor: pointer;}
	#menu_close {position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 101; background: url('lib/img/ie_mask.png') repeat 0 0;}
	ul.small_menu {display: none; z-index: 102; position: absolute; top: 0; left: 0; background: url('lib/img/submenu_bg.png') repeat 0 0; width: 100%; height: auto; padding: 20px 30px;}
	ul.small_menu li.menu-item-has-children > a {background: url('lib/img/plus.png') no-repeat 99% 50%;}
	ul.small_menu li.menu-item-has-children.open > a {background: url('lib/img/minus.png') no-repeat 99% 50%;}
	ul.small_menu ul.sub-menu {display: block; opacity: 0; transition: all 0.4s ease; height: 0; position: static; overflow: hidden; padding: 0; margin: 0 auto;}
	ul.small_menu ul.show_sub.sub-menu {height: auto; opacity: 1; margin: 0 0 5px 30px;}
	ul.small_menu li  {float: none; margin: 0;}
	ul.small_menu li a {display: block; padding: 10px; background: none; width: 100%; color: #9b9a92; font-size: 20px;}
	ul.small_menu li a:hover, ul.small_menu li.current_page_item > a, ul.small_menu li.current_page_parent > a {color: #fff;}
	ul.small_menu li ul li a {font-size: 16px;}

/* WP elements */
	
	strong, b {font-weight: bold;}
	h1.page-title {font-size: 20px; line-height: 23px; margin: 0 0 10px;}
	p.wp-caption-text {text-align: center; padding: 3px 0 0;}
	div.wp-caption {max-width: 100%; width: 100%;}
	div.wp-caption.alignleft {text-align: left;}
	div.wp-caption.aligncenter {text-align: center;}
	div.wp-caption.alignright {text-align: right;}
	div.wp-caption.alignleft p{text-align: left;}
	div.wp-caption.aligncenter p{text-align: center;}
	div.wp-caption.alignright p{text-align: right;}
	.entry-content a {font-weight: bold;}
	.entry-content a:hover {text-decoration: none;}
	.entry-content p {margin: 0 0 14px;}
	.entry-content h1 {margin: 0 0 14px;}
	.entry-content h2 {margin: 0 0 7px;}
	.entry-content h3 {font-weight: bold; font-size: 14px; line-height: 16px; margin: 0 0 14px;}
	.entry-content ul {margin: 0 0 10px 6px;}
	.entry-content ul ul {margin: 6px 0 0 6px;}
	.entry-content ul ul li:last-of-type {padding: 0 0 0 20px;}
	.entry-content ul li{background: url('lib/img/bullet.png') no-repeat 0 7px; padding: 0 0 6px 20px;}
	.entry-content ol {margin: 0 0 9px 24px;}
	.entry-content ol ol {margin: 9px 0 0 24px;}
	.entry-content ol ol li:last-of-type{padding: 0;}
	.entry-content pre {overflow: hidden; word-wrap: break-word;}
	.entry-content strong {font-weight: bold;}
	.entry-content address {margin: 0 0 14px;}
	.entry-content ol li {list-style-type: decimal; padding: 0 0 8px;}
	.entry-content blockquote {background: #eee; padding: 10px; margin: 0 0 14px; }
	.entry-content blockquote p {margin: 0; font-weight: bold;}	
	.entry-content .aligncenter {margin: 0 auto; display: block;}
	.entry-content .alignright {float: right; margin: 0 0 20px 20px;}
	.entry-content .alignleft {float: left; margin: 0 20px 20px 0;}
	.entry-content .alignnone {margin: 0 0 14px; display: block; clear: both;}
	label {vertical-align: middle; padding: 0; display: block; margin: 0 0 5px;}
	#respond span {display: none;}
	.comment-form-comment label {padding: 0 0 5px;}
	input, textarea{background-color: #FFFFFF; font-size: 14px; height: 34px; vertical-align: top; line-height: 16px; margin: 0 0 2px; overflow: hidden; position: relative; transition: border-color 0.2s ease 0s; border: 1px solid #CCCCCC; box-shadow: 0 1px 2px #EEEEEE inset; width: 96%; max-width: 660px; text-indent: 15px;}	
	input[type='submit'] {width: auto; text-align: center; text-indent: 0; height: 34px; padding: 7px 10px;}
	textarea {height: 200px;}
	dl dt {padding: 0 0 3px 0; font-weight: bold;}
	dl dd {margin: 0 0 14px;}
	.entry-content table {margin: 0 0 14px; text-align: left;}
	.entry-content table th {font-weight: bold;}
	.entry-content table td, .entry-content table th {padding: 0 5px 5px;}
	#content .entry-content .gallery-item {width: 100% !important;}

/* defaults */

	#da_slideshow {width: 100%; height: 100%; position: fixed; top: 0; left: 0; text-align: center; display: block;}
	#da_slideshow  .slideshow_img {width: 100%; height: 100%; position: fixed; top: 0; left: 0; display: none;}
	#da_slideshow #slideshow_img_1 {display: block;} 
	#da_slideshow  .slideshow_img a {width: 100%; height: 100%; position: fixed; top: 0; left: 0; background: url('lib/img/ie_mask.png') repeat 0 0;}
	.small_images  {display: none; position: relative;}
	.small_images #da_slideshow {width: 100%; height: 300px; position: relative; top: 0; left: 0; text-align: center; display: block;}
	.small_images #da_slideshow  .slideshow_img {width: 100%; height: 300px; position: absolute; top: 0; left: 0; display: none;}
	.small_images #da_slideshow  .slideshow_img a {width: 100%; height: 100%; position: absolute; top: 0; left: 0; background: url('lib/img/ie_mask.png') repeat 0 0;}
	.small_images #da_slideshow #slideshow_img_1 {display: block;} 
	.small_images .home_slide_navigation {position: absolute; top: auto; bottom: 14px; left: 30px; z-index: 11; display: block;}
	.small_images .slide_navigation {position: absolute; top: 14px; left: 0; height: 38px; width: 100%; z-index: 11; display: block;}
	.image_meta {display: none;}
	body.nosubs .header_text {display: block;}
	.header_text {font-size: 23px; position: absolute; top: 44px; opacity: 1; transition: opacity 0.3s ease 0s; display: none;}
	.logo {float: right; width: 334px; margin: 14px 0 0;}
	.logo img {width: 100%; max-width: 334px;}	
	.do_cta {display: none;}
	.preload {display: none;}
	.preload img {width: 1px; height: 1px;}
	.slide_navigation {position: fixed; top: 136px; left: 0; height: 38px; width: 100%; z-index: 11;}
	body.has_cookie_bar .slide_navigation{top: 186px;}
	body.no-js .slide_navigation {display: none;}
	body.admin-bar .slide_navigation {top: 168px;}
	body.admin-bar .small_images .slide_navigation  {top: 14px;}
	.slide_navigation .slide_arrows {width: 50%; height: 38px; float: left; position: relative;}
	.slide_navigation .slide_arrows:hover {cursor: pointer;}
	.slide_navigation .slide_arrows span.trans_cover  {position: absolute; top: 0; left: 0; width: 100px; height: 38px; background: url('lib/img/trans1_bg.png') repeat 0 0;}
	.slide_navigation .slide_arrows  span.text{display: block; width: 100px; padding: 0 0 0 30px; line-height: 38px; font-size: 17px; position: relative;}
	.slide_navigation .previous_arrow span.text{background: url('lib/img/prev_arrow_roll.png') no-repeat 0 7px;}
	.slide_navigation .previous_arrow:hover span.text{background: url('lib/img/prev_arrow.png') no-repeat 0 7px; color: #9b9a92;}
	.slide_navigation .next_arrow span.text{background: url('lib/img/next_arrow_roll.png') no-repeat 100% 7px; text-align: right;}
	.slide_navigation .next_arrow:hover span.text{background: url('lib/img/next_arrow.png') no-repeat 100% 7px; color: #9b9a92;}
	.slide_navigation .next_arrow span.trans_cover {right: 0; left: auto;}
	.slide_navigation .next_arrow span.text {float: right; padding: 0 30px 0 0;}
	
	.slide_navigation1 {height: 17px; width: 100%; z-index: 11; margin: 0 0 20px;}
	.slide_navigation1 .slide_arrows {width: 50%; height: 17px; float: left; position: relative;}
	.slide_navigation1 .slide_arrows:hover {cursor: pointer;}
	.slide_navigation1 .slide_arrows  span.text{display: block; width: 100px; padding: 0 0 0 24px; line-height: 17px; font-size: 15px; position: relative; vertical-align: middle;}
	.slide_navigation1 .previous_arrow span.text{background: url('lib/img/small_arrow_left.png') no-repeat 0 0; text-align: left;} 
	.slide_navigation1 .previous_arrow:hover span.text{background: url('lib/img/small_arrow_left_roll.png') no-repeat 0 0; color: #9b9a92;}
	.slide_navigation1 .next_arrow span.text{background: url('lib/img/small_arrow_right.png') no-repeat 100% 0; text-align: right;}
	.slide_navigation1 .next_arrow:hover span.text{background: url('lib/img/small_arrow_right_roll.png') no-repeat 100% 0; color: #9b9a92;}
	.slide_navigation1 .next_arrow span.trans_cover {right: 0; left: auto;}
	.slide_navigation1 .next_arrow span.text {float: right; padding: 0 24px 0 0;}
	
	body.no-js .home_slide_navigation {display: none;}
	.home_slide_navigation {position: fixed; top: auto; bottom: 58px; left: 30px; z-index: 11;}
	.home_slide_navigation .slide_nav_item {width: 15px; height: 15px; float: left; margin: 0 14px 0 0; background: url('lib/img/slideshow_nav_bg.png') no-repeat 0 0;}
	.no-touch .home_slide_navigation .slide_nav_item:hover, .home_slide_navigation .slide_nav_item.da_selected {cursor: pointer; background: url('lib/img/slideshow_nav_roll_bg.png') no-repeat 0 0;}
	
	#da_cookie_policy {background: #58574a; color: #b2b1a5; font-size: 16px; border-bottom: 0; bottom: auto; top: 0; max-height: 65px; overflow: hidden;}
	#da_cookie_policy a.read_more, #da_cookie_policy input {color: #fff; font-weight: bold; background: #58574a; padding: 0 0 0 10px; border: 0; outline: none; box-shadow: none; height: 29px; margin: 0;}
	#da_cookie_policy form#cookie_accept input {margin: 0;}
	
	#iframe_wrap {position: absolute; top: 136px; bottom: 322px; left: auto; right: 0; width: 412px; z-index: 99;}
	.small_images #iframe_wrap {position: static; width: 100%; height: 300px;}
	#map_wrap {position: absolute !important; top: 0; left: 0; bottom: 0; right: 0;}
	
	#contact_content {text-align: right;}
	#contact_content .label {font-weight: bold; font-size: 13px;}
	#contact_content .label, #contact_content h2 {display: inline;}
	#contact_content .contact {margin: 0 0 14px;}
	#contact_content .contact a {color: #58574a; font-weight: normal; font-size: 20px;}
	#contact_content .contact a:hover {color: #fff;}
	#contact_content .contact.opening h2, #contact_content .contact.address h2 {font-size: 13px;}
	#contact_content .contact_company_info {font-size: 12px;}

/* home */

	body.home #content{width: 520px;}
	body.home h1.page-title {font-size: 28px; line-height: 30px; margin: 0 0 10px;}
	
/* pages with call to actions */

	body.cta .do_cta {display: block; width: 285px; height: 94px; background: url('lib/img/trans1_bg.png') repeat 0 0; position: fixed; right: 0; bottom: 58px; padding: 10px 30px 4px 20px; text-align: right;}
	body.cta .do_cta:hover {color: #9b9a92; background: url('lib/img/trans2_bg.png') repeat 0 0;}
	body.cta .do_cta h2 {font-size: 24px; line-height: 26px; margin: 0 0 6px;}
	body.cta .do_cta h3 {font-size: 15px; line-height: 19px; max-height: 42px; overflow: hidden;}
	body.cta .do_cta a {position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 102; background: url('lib/img/ie_mask.png') repeat 0 0;}
	
/* footer */

	#footer .footer_text {padding: 7px 0 0; float: right;}
	#footer .footer_text a{font-weight: bold;}
	#footer .footer_text span.the_number {font-size: 25px;}
	#footer .footer_text .small_footer {display: none;}
	#footer .footer_text .medium_footer {display: none;}
	#footer .footer_text .large_footer {display: inline;}
	#footer .footer_text .social_follow {float: right; margin: 5px 0 0 50px; height: 22px;}
	#footer .footer_text .social_follow.twitter {width: 25px;}
	#footer .footer_text .twitter{background: url('lib/img/twitter_icon.png') no-repeat 0 0; }
	#footer .footer_text .twitter:hover {background: url('lib/img/twitter_icon_roll.png') no-repeat 0 0;}
	#footer .footer_text .social_follow.facebook {width: 12px;}
	#footer .footer_text .facebook {background: url('lib/img/facebook_icon.png') no-repeat 0 0;}
	#footer .footer_text .facebook:hover {background: url('lib/img/facebook_icon_roll.png') no-repeat 0 0;}
	
/* media queries */

	@media only screen and (min-width: 1100px)
	{
		ul.primary_menu li a{padding: 0 10px 5px 0;}
	}
	
	@media only screen and (max-width: 1023px)
	{
		.header_text {display: block; top: 44px; position: relative;}
		#main_nav:hover .header_text{opacity: 1;}
		.home_slide_navigation {top: 135px; bottom: auto;}
		body.admin-bar .home_slide_navigation {top: 168px;} 
		#main_nav ul.primary_menu {display: none;}
		#small_menu_button{display: block;}
		body.no-js #small_menu_button {display: none;}
		body.no-js ul.small_menu {display: block; position: static;}
		#footer .footer_text .large_footer {display: none;}
		#footer .footer_text .small_footer {display: none;}
		#footer .footer_text .medium_footer {display: inline;}
		body.cta .do_cta {right: auto; left: 0;}
		#content {margin: 0 -300px 0 0; padding: 14px 330px 4px 30px; width: 100%;}
		body.contact-us-page #content {margin: 0; padding: 14px 30px 4px 20px;}
		body.home #content {width: 100%;}
		body.cta #content {bottom: 58px;}
		body.cta .do_cta {text-align: left;}
		#iframe_wrap {position: absolute; top: auto; bottom: 58px; left: 0; right: 426px; width: auto; height: 250px;}
	}		
	
	@media only screen and (max-width: 767px)
	{
		body.home #content{width: 100%;}
		#content{padding: 14px 30px 4px 30px; clear: both; width: 100%; position: static; margin: 0; background: #fbfbfa;}
		body.contact-us-page #content {width: 100%; height: auto;}
		#footer {background: #f1f0ed; position: static;}
		#footer .footer_text .hide_small {display: none;}
		#main_header {height:  auto; background: #fbfbfa; position: static;}
		#header {position: static; padding: 0 30px;}		
		#main_nav {margin: 0; height: auto;}
		.header_text {clear: both; width: 100%; padding: 16px 0 14px; position: static;}
		.small_images{display: block; margin: 0;}
		body.contact-us-page .small_images #slide_group {display: none;}
		body.cta .do_cta {display: none;}
		.logo {margin: 45px 0 0;}
		body.has_cookie_bar {margin: 65px 0 0;}
		#content .slide_navigation1 {display: none;}
	}
		
	@media only screen and (max-width: 479px)
	{
		#footer, #header{padding: 0 20px;}
		#content {padding: 14px 20px 4px 20px;}
		#footer .footer_text span.the_number {font-size: 20px;}
		#footer .footer_text .large_footer {display: none;}
		#footer .footer_text .medium_footer {display: none;}
		#footer .footer_text .small_footer {display: inline;}
		.logo {width: 100%; text-align: right; padding: 0;}
		.small_images .home_slide_navigation {left: 20px;}
	}