/*
Theme Name: Amherst Properties
Author: B&C
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 *   4.1 - Site Header
 *   4.2 - Navigation
 * 5.0 - Content
 *   5.1 - Entry Header
 *   5.2 - Entry Meta
 *   5.3 - Entry Content
 *   5.4 - Galleries
 *   5.11 - 404
 * 7.0 - Footer
 * 8.0 - Media Queries
 * 9.0 - Print
 * ----------------------------------------------------------------------------
 */


/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

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

audio,
canvas,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
}

body {
	color: #141412;
	line-height: 1.5;
	margin: 0;
}

a {
	text-decoration: none; color: #9B1C1F
}

a:visited {
	color: #ac0404;
}

a:focus {
	outline: thin dotted;
}

a:active,
a:hover {
	color: #9B1C1F;
	outline: 0;
}

a:hover {
	text-decoration: underline;
}

p, a, ul, li {}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Lato', sans-serif; font-weight: 300; 
}


address {
	font-style: italic;
	margin: 0 0 24px;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

p {
	margin: 0 0 24px;
}

code,
kbd,
pre,
samp {
	font-family: monospace, serif;
	font-size: 14px;
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
}

pre {
	background: #f5f5f5;
	color: #666;
	font-family: monospace;
	font-size: 14px;
	margin: 20px 0;
	overflow: auto;
	padding: 20px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

blockquote {
	font-size: 18px;
	font-style: italic;
	font-weight: 300;
	margin: 24px 40px;
}

blockquote blockquote {
	margin-right: 0;
}

blockquote cite,
blockquote small {
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
}

blockquote em,
blockquote i {
	font-style: normal;
	font-weight: 300;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

small {
	font-size: smaller;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

dl {
	margin: 0 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 0 20px;
}

menu,
ol,
ul {
	margin: 16px 0;
	padding: 0 0 0 40px;
}

ul {
	list-style-type: square;
}

nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}

li > ul,
li > ol {
	margin: 0;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

form {
	margin: 0;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
	white-space: normal;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
	border: solid 1px #9B1C1F; padding: 8px; margin-top: 5px;
}

button,
input {
	line-height: normal;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
	padding-right: 2px; /* Don't cut off the webkit search cancel button */
	width: 270px;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table {
	border-bottom: 1px solid #ededed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	line-height: 2;
	margin: 0 0 20px;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

caption {
	font-size: 16px;
	margin: 20px 0;
}

th {
	font-weight: bold;
	text-transform: uppercase;
}

td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}

del {
	color: #333;
}

ins {
	background: #fff9c0;
	text-decoration: none;
}

hr {
	background: url(images/dotted-line.png) repeat center top;
	background-size: 4px 4px;
	border: 0;
	height: 1px;
	margin: 0 0 24px;
}

@font-face {
font-family: 'Stubborn-Faitht';
src: url('fonts/Stubborn-Faith.ttf');
}


/** Generated by FG **/
@font-face {
	font-family: 'Conv_Stubborn-Faith';
	src: url('fonts/Stubborn-Faith.eot');
	src: local('☺'), url('fonts/Stubborn-Faith.woff') format('woff'), url('fonts/Stubborn-Faith.ttf') format('truetype'), url('fonts/Stubborn-Faith.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}




/*
 * Responsive images
 *
 * Fluid images for posts, comments, and widgets
 */
.entry-content img,
.entry-summary img,
.comment-content img,
.widget img,
.wp-caption {
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.entry-content img,
.entry-summary img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}

img.size-full,
img.size-large,
img.wp-post-image {
	height: auto;
	max-width: 100%;
}

/* Make sure videos and embeds fit their containers. */
embed,
iframe,
object,
video {
	max-width: 100%;
}

/* Override the Twitter embed fixed width. */
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important;
}

/* Images */
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

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

figure.wp-caption.alignleft,
img.alignleft {
	margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
	margin: 5px 10px 5px 0;
}

figure.wp-caption.alignright,
img.alignright {
	margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
	margin: 5px 0 5px 10px;
}

img.aligncenter {
	margin: 5px auto;
}

img.alignnone {
	margin: 5px 0;
}

.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
	color: #220e10;
	font-size: 18px;
	font-style: italic;
	font-weight: 300;
	margin: 0 0 24px;
}

div.wp-caption.alignright img[class*="wp-image-"] {
	float: right;
}

div.wp-caption.alignright .wp-caption-text {
	padding-left: 10px;
}

img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.wp-caption.alignleft + ul,
.wp-caption.alignleft + ol {
	list-style-position: inside;
}




/*  

Styles for Amherst

*/


/* -------- Page Structure ---------- */


#wrapper {width: 100%; background-color: #F3F3F3; float: left}
#container {margin: 0 auto; width: 960px;}


/* -------- Header ---------- */

#header {width: 100%; padding: 10px 10px;height: auto; float: left }
#navigation {width:500px; float: right; padding-top: 50px}



/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */

.main-navigation {
	clear: both;
	margin: 0 auto;
	max-width: 1080px;
	min-height: 45px;
	position: relative;
}

ul.nav-menu,
div.nav-menu > ul {
	margin: 0;
	padding: 0 10px 0 0;
}

.nav-menu li {
	display: inline-block;
	position: relative;
}

.nav-menu li a {
	color: #9B1C1F;
	display: block;
	font-size: 14px;
	line-height: 1;
	padding: 15px;
	text-decoration: none;
	text-transform:capitalize;
	border-left: 1px solid #b5b5b5;
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #9B1C1F;
	color: #fff;
	padding: 15px;
}

.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #9B1C1F;
	border: 2px solid #f7f5e7;
	border-top: 0;
	padding: 0;
	position: absolute;
	left: -2px;
	z-index: 99999;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
	border-left: 0;
	left: 100%;
	top: 0;
}

ul.nav-menu ul a,
.nav-menu ul ul a {
	color: #fff;
	margin: 0;
	width: 200px;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #9B1C1F;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul,
ul.nav-menu .focus > ul,
.nav-menu .focus > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	background-color: none;
	color: #9a9a9a; padding: 15px;
}

.menu-toggle {
	display: none;
}

/* Navbar */
.navbar {
	background-color: #f7f5e7;
	margin: 0 auto;
	max-width: 1600px;
	width: 100%;
}

.site-header .search-form {
	position: absolute;
	right: 20px;
	top: 1px;
}

.site-header .search-field {
	background-color: transparent;
	background-image: url(images/search-icon.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 24px 24px;
	border: none;
	cursor: pointer;
	height: 37px;
	margin: 3px 0;
	padding: 0 0 0 34px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 1px;
}

.site-header .search-field:focus {
	background-color: #fff;
	border: 2px solid #c3c0ab;
	cursor: text;
	outline: 0;
	width: 230px;
}



/* -------- Banner ---------- */

#banner {background-image: url("images/banner-162Kings-of-Riccarton-Motel.jpg"); background-position: center top; background-repeat: no-repeat; height: 700px}  
#logo {float: left; padding:20px; width: 300px; }
#mobile-main-nav {display: none}


/* -------- Content ---------- */

.welcome {margin: 0 auto; text-align: center}
#content {width: 100%; float: left; margin: 0 auto;}
#boxes {width:100%; margin-left: 30px; float: left; }
#box {width: 30%; background-color: #f2f2f2; float: left; margin: 0 10px; min-height: 450px}
#box h1 {font-weight: 300; color:#808294; text-align: center; background-color: #fff; margin: 0px; padding: 20px;font-size: 36px; }
#box p {padding: 5px 30px 0 30px;font-size: 14px; color: #808294; line-height: 18px; margin:0px }
#box img {width: 100%; height: auto; margin-bottom: 20px}

.#boxes {border-top: 0px solid;border-top-color: #c19c68}

.image-box:hover {opacity: 0.7; filter: alpha(opacity=40); /* For IE8 and earlier */ }

#content {font-family: 'Noto Sans', sans-serif; font-size: 12px;}
#content h1 {font-family: 'Noto Serif', serif; color: #9B1C1F; text-align: center; text-transform: uppercase; font-size: 36px; font-weight: 400}
#content h2 {font-family: 'Noto Serif', serif; color: #9B1C1F; text-align: left; text-transform: uppercase; font-size: 20px; font-weight: 400}

.three-columns {
	padding: 20px;
	-webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
    -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
    -moz-column-gap: 40px; /* Firefox */
    column-gap: 40px;
} 


.letterbg {background-image: url('images/background-letters.jpg'); background-repeat: no-repeat; background-position: right top; background-color: #EDEDED !important;}

.bgavailable {background-image: url('images/background-available.jpg'); background-repeat: no-repeat; background-position: center bottom; background-color: #E7E7E5 !important;}



 /* -------- Available Space ---------- */

h1#available_space  {font-family: 'Noto Serif', serif; color: #9B1C1F; text-align: center; text-transform: uppercase; font-size: 36px; font-weight: 400}
#content_left {float: left; width: 35%; text-align: left}
#content_right {float:right; width: 60%;text-align: right;}
.inside {background-color: #FBFBF9; padding: 0 30px; padding-bottom: 40px;}



#child_navigation_box {height:30px;}
.middle_sub_nav {color:#fff; margin-left: 30px;}
.middle_sub_nav ul, .middle_sub_nav li {color: #fff; float: left; padding: 7px;}
.middle_sub_nav li a {color: #fff; text-decoration: none; padding: 10px 2px; font-style: italic; font-family: Georgia, sans-serif;;}
.middle_sub_nav li a:link {color: #fff; text-decoration: none; font-size: 16px}
.middle_sub_nav a:hover {color: #e3ab44}

#choosed_name {color: #9B1C1F; font-size: 18px; float: left; width: 100%; padding: 20px 0 0 0; font-family: 'Noto Serif', serif; color: #9B1C1F; text-align: left; text-transform: uppercase; font-size: 18px; font-weight: 400} 
#nav_spaces {color: #000; width:100%; background-color: #333; float: left;}
#pname_1, #pname_2, #pname_3 {}
#sub_nav_spaces {float: right; width: 100%; text-align: right}
.tab_button {}
#tab_button_2_1, #tab_button_2_2 {float: right; width: auto; margin-left: 10px;}
img.tab_image {max-width: 530px;}
.tabcontent { display: none}
.activetabcontent {display: block; background-color: none}
.activetab, .plan_name_active {width:auto; float: left; padding: 5px 10px; background-color: #9B1C1F; margin-right: 10px; color: #fff}
.plan_name {width:auto; float: left; padding: 5px 10px; margin-right: 10px; color: #fff;cursor: pointer;}
#sub_nav_spaces {display: none}

 /* -------- Contact Us ---------- */

.wpcf7-form {padding: 20px; background-color: #fff; float: left;}
.wpcf7-submit {padding: 10px; background-color: #9B1C1F; color: #fff; border: 0px; border-radius: 3px; min-width: 100px;}
#contactleft {float:left; width:45%}
#contactright {float:right; width:50%}
#contactcontent {float: left; width: 30%}
#contactform {float: right; width: 70%}
 
 /* -------- Gallery ---------- */
 
#gallery {padding:0px 20px 30px 20px; float: left}
#container > h1 {padding:20px 0 20px 40px; margin-bottom: 0px; color: #fff; font-weight: 300; font-size: 36px}
#background-gallery {background-color: #f4f4f4;float: left; width: 100%; background-image: url('images/background-gallery.jpg');background-position: center top; background-attachment: scroll}
#gallery-image {width:280px; height: 180px; float: left; margin:10px; background-color: #fff}
.dots {background: url("images/Sprites-162Kings.png") no-repeat -187px -26px; width: 82px; height: 12px; padding: 5px; float: left; margin-left: 45%;}
#background-box {width: 300px; padding: 5px; float: right; border-radius: 5px 5px 0 0;height: 30px; background-color: #9B1C1F; margin-right: 40px; margin-top: 60px;}


.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #333;
	font-size: 16px;
	margin: 0 0 12px;
	padding: 10px 0;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 0px solid #fff; margin-bottom: 15px;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

#galleryalbum {float: left; margin-bottom: 20px; width:100%}

.gallery img:hover {opacity: 0.7; filter: alpha(opacity=40); /* For IE8 and earlier */ }



/* Video Lightbox */

#video-lightbox {background: url('imgs/Sprites-162Kings.png') no-repeat -288px -24px;
	width: 48px;
	height: 48px; position: absolute; }




/* Mediaelements */
.hentry .mejs-mediaelement,
.hentry .mejs-container .mejs-controls {
	background: #220e10;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background: #fff;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
	background: #ea9629;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	background: #595959;
}

.hentry .mejs-controls .mejs-time-rail span,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	border-radius: 0;
}



/* -------- boxes ---------- */

#boxes {float: left; width: 100%; background-color:none}
#boxes h1 {color:#808294; font-weight: 300; background-color: #fff; width:100%; text-align: left; margin: 0px; padding: 20px 40px }
#boxes h2 {color:#8a8c8e; margin: 0; padding: 10px 0 0 0; font-size: 18px;}

#boxes-content {padding: 10px 0 10px 40px; float: left; width:940px;color: #808294;}
#boxes-content p {font-size: 18px; }


#box-content {float: left; width:300px; background-color: #fff; border-bottom: 7px solid #9B1C1F; margin: 20px 20px 20px 0;min-height: 520px;}
.box-image {background-color: #333; position: relative}
.box-image:hover {opacity: 0.7; filter: alpha(opacity=40); /* For IE8 and earlier */ }


.padding20 {padding: 0 30px; min-height: 200px; position: relative}
#boxes-content .padding20 p {font-size: 14px; color: #808294; line-height: 16px }
.padding20 h2 {font-size: 20px; font-weight: 400}
.padding20 a {color: #9B1C1F}

.tab_button { float: right; width: auto; padding: 10px; background-color: #333; color: #fff; margin-left:10px}
.tab_button_active {background-color: #9B1C1F; color: #fff; margin-left:10px;  float: right; width: auto; padding: 10px;}

 
/* -------- Footer ---------- */

#footerbackground {border-top: 5px solid #9B1C1F; width: 100%; float: left; background-color: #7b131a; background-image: url('images/footer-background.jpg'); background-repeat: no-repeat; background-position: right center; min-height: 174px}  
#footer {float: left; padding: 10px; width: 100%;  text-transform: none}

#footer {font-family: 'Noto Sans', sans-serif; font-size: 12px; color: #fff}
#footer h1 {font-family: 'Noto Serif', serif; color: #9B1C1F; text-align: left; font-size: 36px; font-weight: 400; margin: 0px; text-transform: none; padding: 10px 0}


/* -------- Google map ---------- */

.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 0px;
	margin: 0px;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}
/* -------- Google map ---------- */


.main-navigation {
	clear: both;
	margin: 0 auto;
	max-width: 1080px;
	min-height: 45px;
	position: relative;
}

ul.nav-menu-footer,
div.nav-menu-footer > ul {
	margin: 0;
	padding: 0 40px 0 0;
}

.nav-menu-footer li {
	display: inline-block;
	position: relative;
	
}

.nav-menu-footer li a {
	color: #808294;
	display: block;
	font-size: 12px;
	line-height: 1;
	padding: 15px 20px;
	text-decoration: none;
	
}

.nav-menu-footer li:hover > a,
.nav-menu-footer li a:hover,
.nav-menu-footer li:focus > a,
.nav-menu-footer li a:focus {
	color: #333;
	padding: 33px 20px;
}



ul.nav-menu-footer ul a,
.nav-menu-footer ul ul a {
	color: #eee;
	margin: 0;
	width: 200px;
}


ul.nav-menu-footer li:hover > ul,
.nav-menu-footer ul li:hover > ul,
ul.nav-menu-footer .focus > ul,
.nav-menu .focus > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}

.nav-menu-footer .current_page_item > a,
.nav-menu-footer .current_page_ancestor > a,
.nav-menu-footer .current-menu-item > a,
.nav-menu-footer .current-menu-ancestor > a {
	color: #333; padding: 33px 20px;
}


#mobile-main-nav { display: none}




/* -------- Scroll TOP ---------- */

.scroll-top:hover {	color: #fff !important;	background-color: #bd9187;	text-decoration: none;}
 
.scroll-top {display: none;	position: fixed; bottom: 1rem;	right: 1rem; width:50px;	height: 50px;	line-height: 14px; font-size: 12px; color: #9B1C1F; background-color: #fff; text-decoration: none;	border-radius: 3px;	text-align: center;	cursor: pointer; padding: 10px}
.arrowtop {background: url("images/Sprites-162Kings.png") no-repeat -160px -51px; width: 16px; 	height: 10px;}
span.arrowtop {margin:0 5px 5px 5px;float: left; width:30px; height: 10px} 



/**
 * 5.11 404
 * ----------------------------------------------------------------------------
 */

.error404 .page-header {
	background-color: #fff;
}

.error404 .page-title {
	line-height: 0.6;
	margin: 0;
	padding: 300px;
	position: relative;
	text-align: center;
	width: auto;
}

.error404 .page-title:before {
	color: #e8e5ce;
	content: "\f423";
	font-size: 964px;
	line-height: 0.6;
	overflow: hidden;
	position: absolute;
	left: 7px;
	top: 28px;
}

.error404 .page-wrapper {
	background-color: #e8e5ce;
}

.error404 .page-header,
.error404 .page-content {
	margin: 0 auto;
	max-width: 1040px;
	padding-bottom: 40px;
	width: 100%;
}





/**
 * 8.0 Media Queries
 * ----------------------------------------------------------------------------
 */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See https://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

@media (max-width: 1599px) {
	.site {
		border: 0;
	}
}

@media (max-width: 1069px) {
	.sidebar img.alignleft,
	.sidebar .wp-caption.alignleft {
		margin-left: 0;
	}

	.sidebar img.alignright,
	.sidebar .wp-caption.alignright {
		margin-right: 0;
	}

	.error404 .page-header {
		margin-left: auto;
		max-width: 604px;
		width: 100%;
	}

	.archive-header,
	.search .page-header,
	.archive .page-header,
	.blog .page-header,
	.error404 .page-content,
	.search .page-content,
	.archive .page-content,
	.attachment .entry-header,
	.attachment .entry-content,
	.post-navigation .nav-links,
	.sidebar .site-info,
	.site-footer .widget-area {
		padding-left: 20px;
		padding-right: 20px;
	}

	.error404 .page-title {
		font-size: 24px;
		padding: 180px;
	}

	.error404 .page-title:before {
		font-size: 554px;
	}

	.attachment .image-navigation {
		max-width: 724px;
	}

	.image-navigation .nav-previous,
	.image-navigation .nav-next {
		position: static;
	}

	.site-main .widget-area {
		margin-right: 60px;
	}
}

@media (max-width: 999px) {
	.sidebar .entry-header,
	.sidebar .entry-content,
	.sidebar .entry-summary,
	.sidebar .entry-meta,
	.sidebar .comment-list,
	.sidebar .comment-reply-title,
	.sidebar .comment-navigation,
	.sidebar .comment-respond .comment-form,
	.sidebar .featured-gallery,
	.sidebar .post-navigation .nav-links,
	.author.sidebar .author-info {
		max-width: 604px;
		padding-left: 0;
		padding-right: 0;
	}

	.sidebar .site-info,
	.search.sidebar .page-content,
	.blog.sidebar .page-content,
	.attachment .entry-header,
	.sidebar .comments-title {
		max-width: 604px;
	}

	.sidebar .archive-meta,
	.attachment .entry-header,
	.search.sidebar .page-content,
	.blog.sidebar .page-content,
	.sidebar .site-info,
	.sidebar .comments-title,
	.sidebar .no-comments {
		padding-left: 0;
		padding-right: 0;
	}

	.attachment .entry-meta {
		float: left;
		text-align: left;
		width: 100%;
	}

	.attachment .entry-content {
		max-width: 100%;
		padding: 40px 0;
	}

	.format-status .entry-content {
		padding-top: 40px;
	}

	.format-status .entry-meta {
		padding-bottom: 40px;
	}

	.sidebar .format-status .entry-content,
	.sidebar .format-status .entry-meta {
		padding-left: 35px;
	}

	.sidebar .format-status .entry-content:before,
	.sidebar .format-status .entry-meta:before {
		left: 10px;
	}

	.sidebar .format-status .entry-content p:first-child:before {
		left: 4px;
	}

	.sidebar .paging-navigation .nav-links {
		padding: 0 60px;
	}

	.site-main .sidebar-container {
		height: auto;
		margin: 0 auto;
		max-width: 604px;
		position: relative;
		top: 20px;
	}

	.site-main .widget-area {
		float: none;
		margin: 0;
		width: 100%;
	}

	.sidebar .site-footer .widget-area {
		max-width: 100%;
		left: 0;
	}
}

/* Collapse oversized image and pulled images after iPad breakpoint. */
@media (max-width: 767px) {
	.site-header .home-link {
		min-height: 0;
	}
	.site-title {
		font-size: 36px;
		padding: 8px 0 10px;
	}
	.entry-content img.alignleft,
	.entry-content .wp-caption.alignleft {
		margin-left: 0;
	}

	.entry-content img.alignright,
	.entry-content .wp-caption.alignright {
		margin-right: 0;
	}

	.attachment .image-navigation,
	.attachment .entry-attachment .attachment {
		max-width: 604px;
		padding: 0;
		width: 100%;
	}

	.gallery-caption {
		display: none;
	}
	
	
		.pp_pic_holder.pp_default { width: 100%!important; left: 0!important; overflow: hidden; }
div.pp_default .pp_content_container .pp_left { padding-left: 0!important; }
div.pp_default .pp_content_container .pp_right { padding-right: 0!important; }
.pp_content { width: 100%!important; height: auto!important; }
.pp_fade { width: 100%!important; height: 100%!important; }
a.pp_expand, a.pp_contract, .pp_hoverContainer, .pp_gallery, .pp_top, .pp_bottom { display: none!important; }
#pp_full_res img { width: 100%!important; height: auto!important; }
iframe { width: 100%!important; height: auto!important; }
.pp_details { width: 100%!important; padding-left: 3%; padding-right: 3%; padding-top: 20px; padding-bottom: 20px; background-color: #fff; margin-top: -2px!important; }
a.pp_close { right: 10px!important; top: 10px!important; }

#mobile-main-nav {display: block}

	
}

@media (max-width: 643px) {
	.site-title {
		font-size: 30px;
	}

	#content .entry-header,
	#content .entry-content,
	#content .entry-summary,
	#content footer.entry-meta,
	#content .featured-gallery,
	.search.sidebar .page-content,
	.blog.sidebar .page-content,
	.sidebar .post-navigation .nav-links,
	.paging-navigation .nav-links,
	.sidebar .site-info,
	.sidebar .paging-navigation .nav-links {
		padding-left: 20px;
		padding-right: 20px;
	}

	#content .format-status .entry-content,
	#content .format-status .entry-met {
		padding-left: 35px;
	}

	/* Small menu */
	.menu-toggle {
		cursor: pointer;
		display: inline-block;
		font: bold 16px/1.3 "Source Sans Pro", Helvetica, sans-serif;
		margin: 0;
	}

	.menu-toggle,
	.menu-toggle:hover,
	.menu-toggle:focus,
	.menu-toggle:active {
		background: none;
		border: none;
		color: #141412;
		padding: 12px 0 12px 20px;
	}

	.menu-toggle:focus {
		outline: thin dotted;
	}

	.menu-toggle:after {
		content: "\f502";
		font-size: 12px;
		padding-left: 8px;
		vertical-align: -4px;
	}

	.toggled-on .menu-toggle:after {
		content: "\f500";
		vertical-align: 2px;
	}

	.toggled-on .nav-menu,
	.toggled-on .nav-menu > ul {
		display: block;
		margin-left: 0;
		padding: 0;
		width: 100%;
	}

	.toggled-on li,
	.toggled-on .children {
		display: block;
	}

	.toggled-on .nav-menu li > ul {
		background-color: transparent;
		display: block;
		float: none;
		margin-left: 20px;
		position: relative;
		left: auto;
		top: auto;
	}

	.toggled-on .nav-menu li > ul a {
		color: #141412;
		width: auto;
	}

	.toggled-on .nav-menu li:hover > a,
	.toggled-on .nav-menu .children a {
		background-color: transparent;
		color: #141412;
	}

	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #db572f;
		color: #fff;
	}

	.toggled-on .nav-menu > li a:focus,
	.toggled-on .nav-menu > ul a:focus {
		background-color: #220e10;
		color: #fff;
	}

	ul.nav-menu,
	div.nav-menu > ul {
		display: none;
	}

	#content .featured-gallery {
		padding-left: 24px;
	}

	.gallery-columns-1 .gallery-item {
		margin-right: 0;
		width: 100%;
	}

	.entry-title,
	.format-chat .entry-title,
	.format-image .entry-title,
	.format-gallery .entry-title,
	.format-video .entry-title {
		font-size: 22px;
		font-weight: bold;
	}

	.format-quote blockquote,
	.format-status .entry-content {
		font-size: 18px;
	}

	.format-quote blockquote small,
	.format-quote blockquote cite {
		font-size: 13px;
	}

	.error404 .page-title {
		padding: 40px 0 0;
	}

	.error404 .page-title:before {
		content: normal;
	}


	/* Audio */
	.format-audio .entry-content:before {
		display: none;
	}

	.format-audio .audio-content {
		background-image: none;
		float: none;
		padding-left: 0;
		width: auto;
	}
}

/* Mobile devices */
@media (max-width: 480px) {
	.site-title {
		font-weight: normal;
	}
	.site-description {
	    clip: rect(1px, 1px, 1px, 1px);
	    position: absolute;
	}
	.gallery {
		margin-left: 0;
	}

	.gallery .gallery-item,
	.gallery-columns-2.gallery-size-thumbnail .gallery-item {
		max-width: none;
		width: 49%;
		width: -webkit-calc(50% - 4px);
		width:         calc(50% - 4px);
	}

	.gallery-columns-1.gallery-size-medium,
	.gallery-columns-1.gallery-size-thumbnail,
	.gallery-columns-2.gallery-size-thumbnail,
	.gallery-columns-3.gallery-size-thumbnail {
		display: block;
	}

	.gallery-columns-1 .gallery-item,
	.gallery-columns-1.gallery-size-medium .gallery-item,
	.gallery-columns-1.gallery-size-thumbnail .gallery-item {
		text-align: center;
		width: 98%;
		width: -webkit-calc(100% - 4px);
		width:         calc(100% - 4px);
	}

	.gallery-columns-3 .gallery-item:nth-of-type(3n),
	.gallery-columns-5 .gallery-item:nth-of-type(5n),
	.gallery-columns-7 .gallery-item:nth-of-type(7n),
	.gallery-columns-9 .gallery-item:nth-of-type(9n) {
		margin-right: 4px;
	}

	.gallery br {
		display: none;
	}

	.gallery .gallery-item:nth-of-type(even) {
		margin-right: 0;
	}
	#container {width: 100%}
	.welcomeimage img {width: 100%}
	.three-columns {-moz-column-count: 1;    -moz-column-gap: 0px;    padding: 20px; width: 100%}
    #boxes {margin-left: 20px}
    .attachment-thumbnail {width: 100%; float: left}
    #navigation {display: none}
    #logo {width: 100%; padding:0 20px 20px 20px; }
    #content_left, #content_right {width: 100%;float: left}
    .tab_image {width: 100%}
    .inside {padding:0 10px 0px; }
    #contactleft {float:left; width:100%}
	#contactright {float:left; width:100%}
	#contactcontent {float: left; width: 100%; padding: 0 20px;}
	#contactform {float: left; width: 100%}
	#footer {padding: 20px;}
	#available_space {padding: 0 20px; margin: 10px 0}
	#boxes {margin: 0px; padding: 0 20px}
	#box-content {width: 100%; margin: 0; padding: 0; margin-bottom: 20px;}
	.box-image img {width: 100%}
	.padding20 {min-height: 100px;}
	#mobile-main-nav {display: block}

}


/* Mobile devices */
@media (min-width: 481px) and (max-width: 800px) {
	.site-title {
		font-weight: normal;
	}
	.site-description {
	    clip: rect(1px, 1px, 1px, 1px);
	    position: absolute;
	}
	.gallery {
		margin-left: 0;
	}

	.gallery .gallery-item,
	.gallery-columns-2.gallery-size-thumbnail .gallery-item {
		max-width: none;
		width: 49%;
		width: -webkit-calc(33% - 0px);
		width:         calc(33% - 0px);
		padding: 5px;
	}

	.gallery-columns-1.gallery-size-medium,
	.gallery-columns-1.gallery-size-thumbnail,
	.gallery-columns-2.gallery-size-thumbnail,
	.gallery-columns-3.gallery-size-thumbnail {
		display: block;
	}

	.gallery-columns-1 .gallery-item,
	.gallery-columns-1.gallery-size-medium .gallery-item,
	.gallery-columns-1.gallery-size-thumbnail .gallery-item {
		text-align: center;
		width: 98%;
		width: -webkit-calc(100% - 4px);
		width:         calc(100% - 4px);
	}

	.gallery-columns-3 .gallery-item:nth-of-type(3n),
	.gallery-columns-5 .gallery-item:nth-of-type(5n),
	.gallery-columns-7 .gallery-item:nth-of-type(7n),
	.gallery-columns-9 .gallery-item:nth-of-type(9n) {
		margin-right: 4px;
	}

	.gallery br {
		display: none;
	}

	.gallery .gallery-item:nth-of-type(even) {
		margin-right: 0;
	}
	#container {width: 100%}
	.welcomeimage img {width: 100%}
	.three-columns {-moz-column-count: 1;    -moz-column-gap: 0px;    padding: 20px; width: 100%}
    #boxes {margin-left: 20px}
    .attachment-thumbnail {width: 100%; float: left}
    
    #logo {width: 40%; padding-top: 10px;}
    #content_left, #content_right {width: 50%;float: right; padding: 20px;}
    .tab_image {width: 100%}
    .inside {padding:0 10px 0px; }
    #contactleft {float:left; width:100%}
	#contactright {float:left; width:100%}
	#contactcontent {float: left; width: 100%; padding: 0 20px;}
	#contactform {float: left; width: 100%}
	#footer {padding: 20px;}
	#available_space {padding: 0 20px; margin: 10px 0}
	#boxes {margin: 0px; padding: 0 20px}

	.box-image img {width: 100%}
	.padding20 {min-height: 100px;}
	#mobile-main-nav {display: none}
	#navigation {display: block}
	#navigation {
    float: right;
    padding-top: 50px;
    width: 50%;}
    
    #box-content {
    margin: 0 6px 20px;
    padding: 0;
    width: 30%;}
    

}



/**
 * 9.0 Print
 * ----------------------------------------------------------------------------
 */

/* Retina-specific styles. */
@media print,
	(-o-min-device-pixel-ratio: 5/4),
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 120dpi) {

	.site-header .search-field {
		background-image: url(images/search-icon-2x.png);
	}

	.format-audio .audio-content,
	.format-status .entry-content:before,
	.format-status .entry-meta:before,

}

@media print {
	body {
		background: none !important;
		color: #000;
		font-size: 10pt;
	}

	footer a[rel="bookmark"]:link:after,
	footer a[rel="bookmark"]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}

	.site {
		max-width: 98%;
	}

	.site-header {
		background-image: none !important;
	}

	.site-header .home-link {
		max-width: none;
		min-height: 0;
	}

	.site-title {
		color: #000;
		font-size: 21pt;
	}

	.site-description {
		font-size: 10pt;
	}

	.site-footer,
	.entry-meta .edit-link,
	.page-links,
	.site-content nav,
	.widget-area,
	.main-navigation,
	.navbar,
	.more-link {
		display: none;
	}

	.entry-header,
	.entry-content,
	.entry-summary,
	.entry-meta {
		margin: 0;
		width: 100%;
	}

	.page-title,
	.entry-title {
		font-size: 21pt;
	}

	.entry-meta,
	.entry-meta a {
		color: #444;
		font-size: 10pt;
	}

	.entry-content img.alignleft,
	.entry-content .wp-caption.alignleft {
		margin-left: 0;
	}

	.entry-content img.alignright,
	.entry-content .wp-caption.alignright {
		margin-right: 0;
	}

	.format-image .entry-content .size-full {
		margin: 0;
	}


}
 