/*
Theme Name: NS Apt
Theme URI: http://www.norris-stevens.com/
Author: John Hall
Author URI: http://www.norris-stevens.com.com/
Description: Full-width, fully responsive WordPress Theme.
Version: 1.5
*/

/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #2e2e2e;	
	font-family: 'Open Sans', Helvetica Neue, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.9;
}

/* Headings */
h1 {
	font-family: 'Sanchez', serif;
	font-size: 48px;
	margin: 0px;
	line-height: 1;
}
h2 {
	font-family: 'Sanchez', serif;
	font-size: 42px;
	margin: 96px 0 0;
}
h3 {
	font-size: 24px;
}
h4 {
	font-size: 20px;
}
h5 {
	font-size: 12px;
}
h6 {
	font-size: 10px;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	font-size: 16px;
	margin: 1em 0;
}
p:last-child {
	margin-bottom: 0;
}
ul, ol {
	margin: 0 0 1.5em 0.5em;
}
ul {
	list-style: none;
}
ol {
	list-style: decimal;
}
.tabscontent ul {
	list-style: disc;
}
.tabscontent li {
	font-size: 15px;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, em, i {
	font-style: normal;
}
cite {
	font-family: 'Open Sans', Helvetica Neue, Helvetica, Arial, sans-serif;
	color: #fbfbfb;
	display: block;
	font-size: 12px;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 2px;
	margin-top: 30px;
	text-transform: uppercase;
}
blockquote {
	font-family: 'Sanchez', serif;
	margin: 1em 40px;
	font-size: 37px;
	color: white;
	line-height: 1.3;
	display: block;
	-webkit-margin-before: 1em;
	-webkit-margin-after: 1em;
	-webkit-margin-start: 40px;
	-webkit-margin-end: 40px;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #dfd6c7;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
	*vertical-align: middle;
}
button,
input {
	line-height: normal;
	*overflow: visible;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0px;
	background: #fff;
	cursor: pointer;
	font-size: 15px;
	float: left;
	max-width: 8em;
	padding: 0.75em 1em 0.7em;
	display: block;
	margin-top: 20px;
	text-transform: uppercase;
	max-width: 100%;
	-webkit-appearance: button;
}
input[type="submit"]:hover{
	background-color: #006990;
	color: white;
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
input[type=text],
input[type=email],
textarea {
	outline-color: #fff;
	height: 40px;
	padding: 6px 16px;
	background: transparent;
	border: 1px solid #596267;
	border-radius: 0;
	color: #fff;
	font-size: 13px;
	width: 80%;
}
#Contact textarea {
	min-height: 150px;
	padding: 12px 16px;
	resize: vertical;
	overflow: auto;
	vertical-align: top;
}

/* Links */
a,
a:visited {
	color: #8c191c;
	text-decoration: none;
}
a:hover{
	color: #2e2e2e;
}
a:focus,
a:active {
	color: #2e2e2e;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 1.5em auto;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.site-title,
.entry-title,
.page-title,
.entry-content,
.entry-summary,
.widget-title,
.comments-title,
.comment .reply,
.comment-meta,
.comment-author,
#reply-title {
	font-family: 'Open Sans', Helvetica Neue, Helvetica, Arial, sans-serif;
}

/* =Structure
----------------------------------------------- */
header {
	text-align: center;
}
.header_container {
	margin: 0 auto;
	max-width: 1168px;
	min-height: 95px;
}
#main {
	clear: both;
	overflow: hidden;
}
.site-footer {
	clear: both;
	margin: 0 auto;
	background-color: #3b4347;
	color: #fff;
	font-size: 14px;
	overflow: hidden;
	padding: 0px;
	text-align: center;
	max-width: 100%;
}
.site-footer .col {
	margin: 0px;
}
.site-footer a {
	color: #fff;
}


/* =Site Header
----------------------------------------------- */
#masthead-wrap {
	background-color: #fff;
	border-bottom: 1px solid #2e2e2e;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
}
.site-logo {
	padding-top: 16px;
	float: left;
	width: 20%;
}

/* =Menu
----------------------------------------------- */
.main-navigation {
	margin-left: 5%;
	float: left;
	padding-top: 35px;
	width: 75%;
}
.main-navigation:after {
	clear: both;
	display: block;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
}
.main-navigation li {
	float: left;
	margin: 0 2%;
	position: relative;
}
.main-navigation li a {
	display: block;
	letter-spacing: 2px;
	height: 26px;
	width: 100%;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 400;
	color: #2e2e2e;
	text-decoration: none;
	text-transform: uppercase;
}
.main-navigation li:hover > a {
	display: block;
}

/* Small menu */
.menu-toggle {
	padding: 24px 24px 0 0;
   	cursor: pointer;
	float: right;
}
.main-small-navigation .menu {
	display: none;
	margin: 0px;
	padding-top: 8px;
	text-align: center;
	line-height: 1.4;
}
.main-small-navigation .menu ul {
	list-style-type:none;
}
.main-small-navigation .menu li a{
	color: #2e2e2e;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	font-size: 14px;
}
.main-small-navigation li:hover > a,
.main-small-navigation li.current_page_item a,
.main-small-navigation li.current-menu-item a,
.main-small-navigation ul ul a:hover {
	color: #2e2e2e;
}


/* =Content
----------------------------------------------- */
#Overview {
	margin-top: 96px;
	width: 100%;
	position: relative;
	overflow: hidden;
}
#Overview h2 {
	margin-top: 0.7em;
	margin-bottom: 0.2em;
}
#Floorplans .span_2_of_8 {
	text-align: center;
}
#Features ul {
	list-style-type: disc;
	list-style-position: inside;
}
#Contact {
	margin-bottom: 7em;
}
.section-inner {
	margin: 0 auto;
	max-width: 1168px;
}
.hentry {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 1.5em;
	padding-bottom: 1.5em;
}
.entry-title,
.page-title {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	margin: 0.4em 0 0.2em;
	padding-top: 10px;
	text-transform: uppercase;
	color: #222;
}
.entry-title a {
	text-decoration: none;
	color: #222;
}
body.search .page-title,
body.archive .page-title {
  	font-size: 16px;
  	font-size: 1.6rem;
    margin-bottom: 1em;
}
.entry-meta {
	clear: both;
	font-size: 12px;
	font-size: 1.2rem;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.entry-content table,
.comment-content table {
	border: 1px solid #d9d9d9;
	border-left-width: 0;
	margin: 0 -0.083em 2.083em 0;
	text-align: left;
	width: 100%;
}
.entry-content tr th,
.entry-content thead th,
.comment-content tr th,
.comment-content thead th {
	border-left: 1px solid #d9d9d9;
	font-weight: bold;
	padding: 0.5em 	1.25em;
}
.entry-content tr td,
.comment-content tr td {
	border: 1px solid #d9d9d9;
  	border-width: 1px 0 0 1px;
	padding: 0.5em 	1.25em;
}
.entry-content tr.odd td,
.comment-content tr.odd td {
	background: #dfd6c7;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* =Media
---------------------------------------------- */
img {
	max-width: 100%;
	height: auto;
}
#Floorplans img {
	max-width: 200px;
}
#content .gallery {
	margin-bottom: 1.5em;
}
.wp-caption-text,

.gallery-caption {
	font-size: 12px;
	font-size: 1.2rem;
}
#content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
#content .gallery dd {
	margin: 0;
}

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

/* =Navigation
----------------------------------------------- */

.site-content .site-navigation {
	font-size: 13px;
	font-size: 1.3rem;
	margin: 0 0 1.5em;
	overflow: hidden;
}
.site-content .nav-previous {
	float: left;
	width: 50%;
}
.site-content .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
.nav-previous a, .nav-next a {
	padding: 4px 6px;
	color: #222;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	text-transform: uppercase;
}
.nav-previous a:hover, .nav-next a:hover {
	color: #999;

}

/* =Site Footer
----------------------------------------------- */

.site-info {
	font-size: 13px;
	padding: 1.5em 0;
	text-align: center;
	color: #FFF;
}
.site-info p {
	margin: 0px;
}

/*  SECTIONS  ============================================================================= */

.section {
	clear: both;
	padding: 6px;
	margin: 0px;
}
.section_thumbnails {
	clear: both;
	border-bottom: 1px solid #eee;
	margin-bottom: 50px;
}
.section_thumbnails .col{
	margin: 0px;
}
.section_thumbnails h3{
	font-family: 'Open Sans', sans-serif;
	color: #222;
	font-size:2rem;
	font-size: 20px;
	padding: 2px;
	border-bottom: 1px solid #eee;
}
.thumbs-more-link{
    font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	text-transform: uppercase;
	float: right;
	margin-top: 2px;
	padding-right: 10px;
}

/*  GROUPING  ============================================================================= */

.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

/*  GRID COLUMN SETUP   ==================================================================== */

.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}
.col:first-child {
	margin-left: 0;
}
.post-thumbnail {
	position: relative;
	margin-top: 4px;
	margin-right: 4px;
}
.blog-lists-title {
	position: relative;
	width: 70%;
	display: inline;
	float: left;
	margin-left: 8px;
	font-size: 12px;
	color: #999;
}
.blog-lists-title a{
	color: #333;
}


/* =IE Styles
----------------------------------------------- */

#ie8 .site-header img,
#ie8 .entry-content img,
#ie8 img.size-full,
#ie8 .entry-thumbnail img,
#ie8 .widget img,
#ie8 .wp-caption img {
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

/*  GRID OF EIGHT   ============================================================================= */
	
.span_8_of_8 {
	width: 100%;
}
.span_7_of_8 {
	width: 87.3%; 
}
.span_6_of_8 {
	width: 74.6%; 
}
.span_5_of_8 {
	width: 61.9%; 
}
.span_4_of_8 {
	width: 49.2%; 
}
.span_3_of_8 {
	width: 36.5%;
}
.span_2_of_8 {
	width: 23.8%; 
}
.span_1_of_8 {
	width: 11.1%; 
}
.header-image img {
	width: 100%;
	height: auto;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/

/* for 1370px or less */
@media screen and (max-width: 1370px) {
	#Hero .flexslider .span_4_of_8 {
		width: 90%;
		padding: 0 5%;
	}
	#Hero .flexslider .span_2_of_8 {
		display: none;
	}
	#Hero .flexslider img {
		max-height: 250px !important;
	}
	#Hero h1 {
		margin-top: 0px;
	}
}

/* for 1200px or less */
@media screen and (max-width: 1200px) {
	.panel {
		width: 410px;
		height: 380px;
	}
	.panel img {
		max-width: 450px;
	}
}


@media screen and (max-width: 1000px) {
	.header_container {
		height: 100%;
		width: 100%;
	}
}

/* for 980px or less */
@media screen and (max-width: 980px) {
	.header_container {
		height: 100%;
		width: 100%;
	}
	#About h2 {
		font-size: 56px;
	}
	#masthead .site-introduction {
		float: none;
		padding: 0;
		width: 100%;
	}
	.panel {
		width: 360px;
		height: 334px;
	}
	.panel img {
		max-width: 400px;
	}
	#Contact .span_4_of_8 {
		width: 100%;
	}
	#Contact .span_4_of_8:first-child {
		margin-left: 20px;
	}
	input[type=text],
	input[type=email],
	textarea {
		width: 70%;
	}
}

/* for 860px or less */
@media only screen and (max-width: 860px) {
	.header_container {
		height: 100%;
		width: 100%;
	}
	.panel {
		width: 330px;
		height: 307px;
	}
	.panel img {
		max-width: 350px;
	}
	.back {
		padding: 10px;
	}
}

/* for 800px or less */
@media only screen and (max-width: 800px) {
	.header_container {
		height: 100%;
		width: 100%;
	}
	#About h2 {
		font-size: 48px;
	}
	.panel {
		width: 280px;
		height: 260px;
	}
	.panel img {
		max-width: 300px;
	}
	.panel h3 {
		font-size: 18px;
	}
	.panel p {
		font-size: 13px;
	}
}

/* for 700px or less */
@media screen and (max-width: 700px) {
	#Hero .flexslider img {
		max-height: 225px !important;
	}
	#About h2 {
		font-size: 42px;
	}
	.panel {
		width: 230px;
		height: 214px;
	}
	.panel img {
		max-width: 250px;
	}
	.panel h3 {
		font-size: 18px;
	}
	.panel p {
		font-size: 13px;
		margin-top: 0px;
		line-height: 1.2;
	}
}

/* for 600px or less */
@media screen and (max-width: 600px) {
	.header-image {
		width:100%;
		margin-top: 0px;
		margin-left: auto;
	    	margin-right: auto;
	}
	.header_container {
		height: 100%;
		width: 100%;
	}
	.site-main {
		border: 0;
	}
	#Hero .flexslider {
		padding: 15px;
	}
	#Hero .flexslider img {
		max-height: 120px !important;
	}
	#Hero h1 {
		margin-top: 0px;
		font-size: 28px;
	}
	#About,
	#Solutions {
		padding: 48px 72px;
	}
	#About h2 {
		font-size: 32px;
		line-height: 1.2;
	}
	.tabs ul li {
		width: 64px;
	}
	.tabs ul li.tabActiveHeader {
		width: 64px;
	}
	.tabs ul li img {
		width: 64px;
		height: auto;
	}
	#Team .section-inner {
		padding: 48px 0;
	}
	#Team h2 {
		margin: 0 0 1em;
	}
	#About .span_4_of_8,
	#Team .span_4_of_8 {
		width: 100%;
	}
	.panel {
		height: 301px;
		width: 280px;
		float: none;
		text-align: center;
		margin: 0 auto;
	}
	.panel img {
		max-height: 300px;
	}
	input[type=text],
	input[type=email],
	textarea {
		width: 80%;
	}
	input[type="submit"] {
		float: left;
	}
	#Contact {
		padding: 15px;
	}
}

/* --- Smartphones (portrait and landscape) --- */

@media screen and (max-width : 480px) {

	#masthead .site-introduction {
		float: none;
		padding: 0;
		padding-left: 4px;
		width: 100%;
	}
	.header_container {
		height: 100%;
		width: 100%;
	}
}

/* --- IPhone5 (portrait and landscape) --- */

@media screen and (max-width : 568px) {

	#masthead .site-introduction {
		float: none;
		padding: 0;
		width: 100%;
	}
	.header_container {
		height: 100%;
		width: 100%;
	}
}


/*  REMOVE MARGINS AS ALL GO FULL WIDTH AT 480 PIXELS */

@media only screen and (max-width: 480px) {
	.col { 
		margin: 1% 0 1% 0%;
	}
}

/*  GRID OF TWO   ============================================================================= */

.span_2_of_2 {
	width: 100%;
}

.span_1_of_2 {
	width: 49.8%;
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
	.span_2_of_2 {
		width: 100%; 
	}
	.span_1_of_2 {
		width: 100%; 
	}
}

/*  GRID OF THREE   ============================================================================= */
	
.span_3_of_3 {
	width: 100%; 
}
.span_2_of_3 {
	width: 66.1%; 
}
.span_1_of_3 {
	width: 32.2%; 
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
	.span_3_of_3 {
		width: 100%; 
	}
	.span_2_of_3 {
		width: 100%; 
	}
	.span_1_of_3 {
		width: 100%;
	}
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
	.span_8_of_8 {
		width: 100%; 
	}
	.span_7_of_8 {
		width: 100%; 
	}
	.span_6_of_8 {
		width: 100%; 
	}
	.span_5_of_8 {
		width: 100%; 
	}
	.span_4_of_8 {
		width: 100%; 
	}
	.span_3_of_8 {
		width: 100%; 
	}
	.span_2_of_8 {
		width: 100%; 
	}
	.span_1_of_8 {
		width: 100%; 
	}
	.featuretext_top h3{
		font-size:1.2rem;
		font-size:12px;
		padding: 6px;
	}
	.featuretext_top p{
		font-size:1.2rem;
		font-size:12px;
		padding: 6px;
	}
}