/*
Theme Name: Amanda Cary
Theme URI: http://www.agentimage.com
Description: AIOS mobile semi-custom theme.
Author: The Design People, Inc.
Author URI: http://www.agentimage.com
Version: 1.0
*/

/***** RESET *****/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, tt, var, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

/** idx **/

#ihf-main-container .form-control,
#ihf-main-container textarea,
#ihf-main-container input[type=text],
#ihf-main-container input[type=email],
#ihf-main-container input[type=tel],
#ihf-main-container input[type=password],
#ihf-main-container select,
#ihf-main-container option,
#ihf-main-container placeholder,
#ihf-main-container .chosen-container-multi .chosen-choices,
.chosen-container.chosen-with-drop .chosen-drop,
.chosen-container-single .chosen-drop,
#ihf-main-container .modal-content
{color:#000000 !important;}


body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

area,
img,
map {
	outline:none;
}

.clearfix,
.clear {
	clear:both;
}

input {
	-webkit-appearance: normal !important;
    border-radius: 0 !important;
}
/***** THEME CSS Replace with your skin styles *****/

body{
	font-family: 'Questrial', sans-serif;
	font-size: 13px;
	line-height:1.5;
	background: #000;
	color: #FFF;
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

a:link, a:visited{
	text-decoration: none; 
	color: #FFF;
}

a:hover{
	color: #FFF;
	text-decoration:underline;
}

.wrap{
	width:940px;
	margin:35px auto;
	padding:0 25px;
	border:5px solid #B1B1B1;
	background: #262626;
}

#header{
	width: 940px;
	margin:0;
	padding: 0;
	background: url(images/header3.png) center top no-repeat;
}

.header-logo {
	width:100%;
	height:120px;
}

.header-logo a.site-name img{
	width:100%;
	height:100%;
}

.header-widget{
	width:100%;
	height:25px;
	padding:5px 0 0 0;
	text-align:center;
	text-transform:uppercase;
	letter-spacing:3px;
	position:relative;
}

#backhomelink {
	display:none;
}

.navigation{ /* enclosing div for main nav */
	width:940px;
	margin:0 auto;
	background: url(images/navbar.gif) repeat-x;
}

.menu-main-container:after{ /* do not delete, clears floats from navs */
	content: "";
    display: table;
    clear: both;
}


#nav {
	width: 100%;
	color: #FFF;
	text-transform: uppercase;
	overflow: hidden;
	clear: both;
	}

#nav ul {
	width: 100%;
	float: left;
	margin: 0;
	padding: 0;
	}
	
#nav li {
	float: left;
	list-style: none;
	}
	
#nav li a {
	color: #FFF;
	display: block;
	margin: 0;
	padding: 10px 15px 6px;
	text-decoration: none;
	letter-spacing: 2px;
	border-left: 1px solid #000;
	position: relative;
	font-size: 14px;
	}

#nav li a:hover, #nav li a:active, #nav .current_page_item a, #nav .current-cat a, #nav .current-menu-item {
	background: #000000;
	}
	
#nav li li a, #nav li li a:link, #nav li li a:visited {
	background: #333333;
	color: #FFFFFF;
	width: 158px; 
	margin: 0;
	padding: 5px 10px 5px 10px;
	border-left: 1px solid #666666;
	border-right: 1px solid #666666;
	border-bottom: 1px solid #666666;
	position: relative;
	}
	
#nav li li a:hover, #nav li li a:active {
	background: #000000;
	}

#nav li ul {
	z-index: 9999;
	position: absolute;
	left: -999em;
	height: auto;
	width: 180px;
	}

#nav li ul a { 
	width: 160px;
	}

#nav li ul ul {
	margin: -31px 0 0 179px;
	}

#nav li:hover ul ul, #nav li:hover ul ul ul {
	left: -999em;
	}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul {
	left: auto;
	}

#nav li:hover { 
	position: static;
	}

#footer{
	clear: both;
	width:930px;
	margin: 20px 0;
	padding:20px 5px;
	font-size:11px;
	background:#3B3B3B;
}

#footer:after {
  content: "";
  display: table;
  clear: both;
}

ul.footernav { /* footer navigation styles */
    padding: 0;
    list-style: none;
    line-height: 1;
} 

ul.footernav:after {
  content: "";
  display: table;
  clear: both;
}

ul.footernav a {
	color:#FFF;
} 

ul.footernav a:hover {
}

ul.footernav li {
	padding: 2px 4px;
    float: left;
	display:inline;
	border-left:1px solid #FFF;
}

ul.footernav li:first-child{
	border-left:none;
}

ul.footernav ul{
	display:none;
}

.footer-copyright{
	width:30%;
	text-align:right;
	float:right;
}


/***** END THEME CSS *****/


/*************** Begin AIOS Mobile Theme standard areas. ***************/

/* SET DEFAULT STYLES FOR WYSIWYG CONTENT AND WIDGET AREAS (IF YOU USED RESET ON YOUR THEME) */

#content, .widget-set { }
#content th, .widget-set th { font-weight: bolder; }
#content h1, .widget-set h1 { font-size: 20px; margin: .67em 0 }
#content h2, .widget-set h2 { font-size: 18px; margin: .75em 0 }
#content h3, .widget-set h3 { font-size: 14px; margin: .83em 0 }
#content h4, .widget-set h4,
#content p, .widget-set p,
#content blockquote, .widget-set blockquote,
#content ul, .widget-set ul,
#content fieldset, .widget-set fieldset,
#content form, .widget-set form,
#content ol, .widget-set ol,
#content dl, .widget-set dl,
#content dir, .widget-set dir
#content menu, .widget-set menu { margin: 1.12em 0 }
#content h5, .widget-set h5 { font-size: 13px; margin: 1.5em 0 }
#content h6, .widget-set h6 { font-size: 13px; margin: 1.67em 0 }
#content h1, .widget-set h1,
#content h2, .widget-set h2,
#content h3, .widget-set h3,
#content h4, .widget-set h4,
#content h5, .widget-set h5,
#content h6, .widget-set h6,
#content b, .widget-set h6, 
#content strong, .widget-set strong { font-weight: bolder }
#content blockquote, .widget-set blockquote { margin-left: 40px; margin-right: 40px }
#content i, .widget-set i,
#content cite, .widget-set cite,
#content em, .widget-set em,
#content var, .widget-set var,
#content address, .widget-set address { font-style: italic }
#content pre, .widget-set pre,
#content tt, .widget-set tt,
#content code, .widget-set code,
#content kbd, .widget-set kbd, samp  { font-family: monospace }
#content big, .widget-set big { font-size: 15px; }
#content small, .widget-set small,
#content sub, .widget-set sub,
#content sup, .widget-set sup { font-size: 11px; }
#content sub, .widget-set sub { vertical-align: sub }
#content sup, .widget-set sup { vertical-align: super }
#content table, .widget-set table { border-spacing: 2px; }
#content thead, .widget-set thead,
#content tbody, .widget-set tbody,
#content tfoot, .widget-set tfoot { vertical-align: middle }
#content td, .widget-set td,
#content th, .widget-set th,
#content tr, .widget-set tr { vertical-align: inherit }
#content hr, .widget-set hr { border: 1px inset }
#content ol, .widget-set ol,
#content ul, .widget-set ul,
#content dir, .widget-set dir,
#content menu, .widget-set menu,
#content dd, .widget-set dd { margin-left: 40px }
#content ol, widget-set ol { list-style-type: decimal }
#content ol ul, .widget-set ol ul,
#content ul ol, .widget-set ul ol,
#content ul ul, .widget-set ul ul,
#content ol ol, .widget-set ol ol { margin-top: 0; margin-bottom: 0 }
#content ol, .widget-set ol { list-style-type:decimal }
#content ul, .widget-set ul { list-style-type:disc }

/* Homepage Styles */

.homepage-slideshow {
	width:940px;
	height: 375px;
}

.homepage-slideshow img{
	widows:940px;
	height:375px;
}

.home #content h4.widget-title {
	margin:0;
	font-size:20px;
	font-weight:normal;
	text-transform:uppercase;
	text-align:center;
	line-height:2;
}

.homepage-featured-communities{
	width: 918px;
	margin: 20px 0;
	padding:10px;
	border: 1px solid #B1B1B1;
	background: #3B3B3B;
	overflow:hidden;
}

.homepage-2-columns{
	width:940px;
	margin:0;
	padding:0;
}

.home #content .homepage-2-columns h4.widget-title{
	text-align:left;
}

.homepage-welcome {
	width:535px;
	padding:10px;
	border: 1px solid #B1B1B1;
	background: #3B3B3B;
	float:left;
	text-align: justify;
}

.homepage-contact{
	width:340px;
	padding:10px;
	border: 1px solid #B1B1B1;
	background: #3B3B3B;
	float:right;
	height: 485px;
}

.homepage-cta {
	width: 918px;
	margin: 20px 0 0 0;
	padding:10px;
	border: 1px solid #B1B1B1;
	background: #3B3B3B;
}


/* CONTENT  */

#content-sidebar, #content-full{
	width:940px;
	margin:0 auto;
}
#content-sidebar:after, #content-full:after{
	content: "";
    display: table;
    clear: both;
}

#content-sidebar #content{ /* content area with sidebar */
	float: left;
	width: 720px;
}

#content-full #content{ /* content area for full width template (no sidebar) */
	width:940px;
}

#content .entry{
}

#content .entry:after {
	content: "";
    display: table;
    clear: both;
}

#content .entry-title { /* styles for post/page main headings (h1) */
	font-size: 20px;
	font-weight:normal;
	text-transform:uppercase;
	letter-spacing: 3px;
}

#content .archive-title { /* styles for category/archive/etc main headings (h1) */
	font-size: 20px;
	font-weight:normal;
	text-transform:uppercase;
	letter-spacing: 3px;
}

#content .archive-subtitle { /* styles for category/archive/search/etc subheadings (h2) */
	font-size: 20px;
	font-weight:normal;
	text-transform:uppercase;
	letter-spacing: 3px;
}


/* SIDEBAR */

.sidebar{
	float: left;
	width: 200px;
	margin: 0 0 0 10px;
}

.widget-set{ /* div class for each widget group on primary sidebar */
}

.widget-set h3.widget-title{ /* style of widget titles */
	display:block;
	background:#333;
	color:#FFF;
}


/* MISCELLANEOUS WP CLASSES */

.gravatar{
	float: right;
}

.comments-template ol.comment-list{
	margin:20px 0 0 0;
	padding:0;
	list-style:none;
}

.comments-template ol.children{
	margin:20px 0 0 40px;
	padding:0;
	list-style:none;
}

.comments-template ol.comment-list li.comment{
	margin:0 0 10px 0;
	padding:0;
	border-top:1px dotted;
}

.comments-template .comment-meta{
	font-size:10px;
}

.comments-template .screen-reader-text{
	display:none;
}

.comments-template .comment-navigation{
	margin:10px 0;
	background:none;
}

.wp-caption {
  background-color: #f3f3f3;
  border: 1px solid #ddd;
  -khtml-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px; /* optional rounded corners for browsers that support it */
  margin: 10px;
  padding-top: 4px;
  text-align: center;
}

.wp-caption img {
  border: 0 none;
  margin: 0;
  padding: 0;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.category .post, .archive .post{
	border-bottom:1px dotted;
}

.attachment-post-thumbnail {
	float:left;
	margin:0 10px 10px 0;
}

pre {
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.alignleft{
	margin:0 5px;
	float:left;
}

.alignright{
	margin:0 5px;
	float:right;
}

#content img[class*="align"],
#content img[class*="wp-image-"],
#content img[class*="attachment-"],
#content img.size-full,
#content img.size-large,
#content img.header-image,
#content img.wp-post-image {
	max-width: 98%;
	margin:0 1%;
	height:auto;
}

#content img.aligncenter {
	margin:  auto !important;
	display: block;
}

#content embed,
#content iframe,
#content object,
#content video {
	max-width: 100%;
}

/* Brooklyn-specific HP styles */

/* For Category Posts plugin */

#content .widget_categoryposts{
	text-transform:uppercase;
}

#content .widget_categoryposts ul{
	width:918px;
	margin:10px 0;
	padding:0;
	list-style:none;
}

#content .widget_categoryposts ul:after {
  content: "";
  display: table;
  clear: both;
}

#content .widget_categoryposts ul li{
	margin:0;
	padding:0 5px;
	width:218px;
	border-left:1px solid;
	text-align:center;
	display:inline;
	float:left;
}

#content .widget_categoryposts ul li:first-child{
	border-left: none;
}

.brooklyn-cta {
	margin: 0 1px;
	padding:0;
}

.postmetadata {
	display:none;
}

.archive .entry img{
	display:none;
}

.archive .entry .attachment-post-thumbnail{
	display:block;
}

.ui-tabs-nav, .ui-tabs-nav a, .odd a { /* for dark background */
	color:#000 !important;
}

span.wpcf7-not-valid-tip { /* for light text color */
	color:#000;
}

/* End Brooklyn-specific HP styles */

/* IHF (Dark background) */

/*#ihf,
#ihf a,
#ihf #ihf_modulebox_600 .ihf-content,
#ihf table, #ihf tr, #ihf tr td,
#ihf .ihf_formlabel {
	color:#000 !important;
}

#ihf .ihf_results_row_620 {
	background:none !important;
}

#ihf .ihf_results_tabs_mid a,
#ihf #map_canvas{
	color:#000 !important;
}

#ihf #ihf_fade_container {
	background:none !important;
}

#ihf_map_widget iframe {
	background:#000;
}

#ihf #selectedAreas {
	background:#000;
}

.ui-dialog .ui-dialog-titlebar-close span {
	margin-left:-9px !important;
	margin-top:-9px !important;
}*/

/*************** End AIOS Mobile Theme standard areas.  ***************/

.footer-left {
	float: left;
	width: 70%;
}

.licensed-footer {
    padding: 4px;
}



/***** MOBILE STYLES *****/

@media only screen and (max-width: 977px) {
	
	/* Navigation mobile styles. Delete if you didn't use the starter theme nav styles. */
	
	.wrap{
		width:100%;
		padding:0;
		border:none;
	}
	
	#header, .navigation{
		width:100%;
	}
	
	.header-widget {
		height:auto;
	}
	
	#nav {
		display: none;
	}
	
	#backhomelink {
		display: block;
		clear: both;
		font-size: 20px;
		background: #FFF;
	}
	
	#backhomelink a{
		color:#000;
	}
	
	.home #backhomelink{
		display:none;
	}
	
	.home #nav {
		display: block;
		padding:0;
	}
	
	.home #nav ul {
	}
	
	.home #nav li {
		width:100%;
		padding:0;
		text-align:center;
	}
	
	.home #nav li a{
		background: url(images/navbar.gif) repeat-x;
	}
	
	.home #nav li ul {
		display:none;
	}
	
	.home #nav .current_page_item a, .home #nav .current-cat a, .home #nav .current-menu-item {
		background-color:#262626;
	}
	
	/* End Navigation mobile */
	
	.homepage-slideshow, .homepage-featured-communities, .homepage-2-columns, .homepage-cta { /* Homepage divs */
		display:none;
	}
	
	#footer{
		padding:20px 0;
		width:  100%;		
	}
	
	ul.footernav li {
		display: inline-block;
		float:  none;
	}
	
	ul.footernav li:first-child {
		padding-left:  0;
	}
	
	.footer-left,  ul.footernav, .footer-copyright{
		width:100%;
		text-align: center;
		float:none;
	}
	
	#content-sidebar, #content-full, #content-sidebar #content, #content-full #content{
		width:100%;
	}
	
	#content-sidebar #sidebar, #content-full #sidebar{
		display:none;
	}
	
	.corner-logo {
		position: relative !important;
		top:  auto !important;
		left:  auto !important;
	}
	
	#content-sidebar #content, #content-full #content {
		width:  95% !important;
		margin:  auto;
	}
	
	/* IHF */
	
	#ihf-main-container div {
		max-width: 100%;
	}
	
	.ihf-template .wrap { /* Add your other main / first-level div classes without the wrap class, e.g.
	.ihf-template #content-sidebar, .ihf-template #content-full */ 
		min-width:620px;
	}

	.ihf-template #content-sidebar, 
	.ihf-template #content-full, 
	.ihf-template #content-sidebar #content, 
	.ihf-template #content-full #content {
		width:100%;
		padding:0;
	}
	
	/* WPCF7 */

    #content .wpcf7 form input[type='text'],
    #content .wpcf7 form input[type='password'],
    #content .wpcf7 form input[type='email'],
    #content .wpcf7 form input[type='number'],
    #content .wpcf7 form input[type='tel'],
    #content .wpcf7 form input[type='url'],
    #content .wpcf7 form textarea {
        padding-left:2%;
        padding-right:2%;
        width:94%;
        max-width:292px;
    }
	
}

@media only screen and (max-width:500px) {
	/* For AIOS Listings */
	
	.aios_listings_infoarea {
	 	float:  none;
	 	width:  95% !important;
	}
	
	.aios-listings-page #slideshow-wrapper, .aios-listings-page #fullsize, .aios-listings-page #image { /*Listings slideshow */
		width:95% !important;
	}
	
	.aios-listings-page #fullsize {
		height: 200px !important;
	}
	
	.aios-listings-page #srp-tab-wrap #map_area, .aios-listings-page #srp-tab-wrap #gre_map_canvas { /* Map */
		width: 100% !important;
	}
	
	.aios-listings-page #srp-tab-wrap #srp_schools_tab table, thead, tbody, th, td, tr { /* Schools tab */
		display: block; 
	}
	
	.aios-listings-page #srp-tab-wrap #srp_schools_tab tr th { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	.aios-listings-page #srp-tab-wrap #srp_schools_tab tr { border: 1px solid #ccc; }
	
	.aios-listings-page #srp-tab-wrap #srp_schools_tab td { 
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding:5px;
		padding-left: 50%; 
	}
	
	.aios-listings-page #srp-tab-wrap #srp_schools_tab td:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	.aios-listings-page #srp-tab-wrap #srp_schools_tab table.SchoolsByType td:nth-of-type(1):before { content: "School"; }
	.aios-listings-page #srp-tab-wrap #srp_schools_tab table.SchoolsByType td:nth-of-type(2):before { content: "Type"; }
	.aios-listings-page #srp-tab-wrap #srp_schools_tab table.SchoolsByType td:nth-of-type(3):before { content: "Grade Level"; }
	.aios-listings-page #srp-tab-wrap #srp_schools_tab table.SchoolsByType td:nth-of-type(4):before { content: "Enrolment"; }
	.aios-listings-page #srp-tab-wrap #srp_schools_tab table.SchoolsByType td:nth-of-type(5):before { content: "Students Per Teacher"; }
	.aios-listings-page #srp-tab-wrap #srp_schools_tab table.SchoolsByType td:nth-of-type(6):before { content: "Distance (mi)"; }
	
	.aios-listings-page #srp-tab-wrap #srp_altos_stats_tab img { /* Market Stats */
		width:100% !important;
	}
	
	.aios-listings-page #srp-tab-wrap div#srp_financial_tab > div{ /* Financing */
		width:100% !important;
		float:none;
		border-bottom: 1px dotted;
		padding: 10px !important;
	}
	
	/* End AIOS LISTINGS Mobile Styles */
	
} 

.socialmedia-buttons{
width: 85px;
margin: 0 auto;
}
.corner-logo{
position: absolute;
left: -20px;
top: -153px;
}
.corner-logo img{
width: 242px;
}

.col-xs-4 #ihf-search-adv-submit {display: none !important;}

div.amazingslider-timer-0 + div, 
div.amazingslider-arrow-right-0,
div.amazingslider-arrow-left-0 { 
display: none !important;
}