/***************************html overrides*************************************/

body {
    margin: 0;
    font-size: 14px;
    font-family: font-family: 'Open Sans', sans-serif;
    background: #e3e3e3; 
}
body,input,textarea,select,form,#content{ font-family: 'Open Sans', sans-serif; }

h1,h2,h3,h4{
	margin: 0px;
	margin-bottom: 8px;
	font-weight: 600;
}
h1{ font-size: 24px; text-transform: uppercase; }
h2{ font-size: 20px; text-transform: uppercase; }
h3{ font-size: 18px; text-transform: uppercase; }
h4{ font-size: 16px; text-transform: uppercase; }

.text-left{ text-align: left; }
.text-right{ text-align: right; }
.text-center{ text-align: center; }
.text-justify{ text-align: justify; }

.button{
	padding: 4px 10px;
	margin: 4px;
}
.container{ padding-left: 10px; padding-right: 10px; }
img { max-width: 100%; }



a{ color: #1b1b1b; }
a:visited{ color: #565656; }
a:hover{ color: #565656; }

.button{ 
    border-radius: 5px; 
    background: #eee; 
    border: 1px solid #ccc; 
    color: #555;
    box-shadow: 0px 0px 6px 0px rgba(200,200,200,0.90);
    transition-duration: 0.5s;
    padding: 6px 12px;
    margin: 4px;
}
.button:hover{ color: #333; background: #dadada; }
a.button{ text-decoration: none; margin: auto; display: inline-block; }
input.default,button.default{ color: #fff; border: 1px solid #333; }
input.default:hover,button.default:hover{ color: #fff; }



/***************************layout*************************************/
.layoutBoxed #outer{ margin: 15px auto; padding: 0px; }

#wrapper{ position: relative; }

#outer header { position: relative; z-index: 2; background: #fff; box-shadow: 1px 1px 10px #333; }
.layoutBoxed header{ padding: 10px; padding-bottom: 0px; }
#logo{ 
    display: inline-block; 
    position: relative;
    top: 7px;
    box-sizing: border-box; 
    width: 25%; 
    margin-right: -5px;
    vertical-align: top;
    height: 100px;
    margin-bottom: 20px;
}
#logo img{ max-width: 90%; max-height: 100%; }
#headerWrapper{ display: inline-block; box-sizing: border-box; width: 75%; vertical-align: bottom; }
header .end{ clear: both; }
#header{  }

#mobileMenu{ display: none; }

#menu{ float: right; }
#menu a{ color: #333; text-decoration: none; }
#menu a:hover{ color: #fff; }
#menu ul{ display: block; list-style: none; margin: 0px; padding: 0px; }
#menu li{ display: block; list-style: none; margin: 0px; }
#menu > ul > li{ float: left; position: relative; }
#menu > ul > li:hover { background: #5f5f5f; }
#menu > ul > li > a{ display: block; padding: 15px 10px; }
#menu > ul > li:hover a { color: #fff; }
#menu > ul > li > ul{ display: none; position: absolute; top: 100%; left: 0px; min-width: 100%; background: #5f5f5f;}
#menu > ul > li:hover > ul{ display: block; }
#menu > ul > li > ul > li a{ display: block; white-space: nowrap; padding: 10px 10px; }
#menu > ul > li > ul > li:hover { background: #929292; }

#contentWrapper{ position: relative; z-index: 1; padding: 0px 12px; color: #444; background: #f1f1f1; }

#title{ padding: 5px 0px; }
#title .title{ font-size: 24px; padding: 10px; }

#content{ padding: 12px; min-height: 300px; background-size: contain; background: #fff; }

.profilesWrapper{text-align: center; }

footer{ color: #fff; position: relative; background: #3c3c3c; }
footer a{ color: #fff; }
footer a:visited{ color: #fff; }
footer a:hover{ color: #ccc; }
#footer{ padding: 20px 0px 55px 0px; text-align: center;}
#footer .copy{ position: absolute; bottom: 0px; left: 0px; right: 0px; min-height: 35px; line-height: 35px; background: #464646; }

.mortgageCalculator {
    position: absolute;
    top: 142px;
    right: 10px;
    display: none;
    width: 136px;
    height: 229px;
    background-image: url("images/mortgageCalculator.png");
    background-repeat: no-repeat;
    background-position: center top;
}
.sideCalculator {
    margin: 10px auto;
    display: block;
    text-decoration: none;
    width: 136px;
    height: 229px;
    background-image: url("images/mortgageCalculator.png");
    background-repeat: no-repeat;
    background-position: center top;
}

/*****featured listings*******/
.featuredMediumBlockWrapper{ margin: -10px; }
.featuredMediumBlock{ height: auto; width: auto; padding-bottom: 25px; margin: 10px; }
.featuredMediumBlock .title{ font-size: 140%; }
.featuredMediumBlock .price{ display: block; text-align: center; font-size: 150%; letter-spacing: 1px; font-family: arial; margin: 4px 0px; font-weight: normal; } 
.featuredMediumBlock .photo{ height: auto; }

.featuredCarousel .featuredMediumBlock { width: 250px; height: 430px; }
.featuredCarousel .featuredMediumBlock .photo{height: 170px; }

.featuredSmallBlockWrapper{ margin: -8px; }
.featuredSmallBlock{ height: auto; width: auto; padding-bottom: 25px;  margin: 8px; }
.featuredSmallBlock .title{ font-size: 120%; }
.featuredSmallBlock .price{ display: block; text-align: center; margin: 3px 0px; letter-spacing: 1px; font-family: arial; font-weight: normal; font-size: 120%; }
.featuredSmallBlock .photo{ height: auto; }

.featuredCarousel .featuredSmallBlock { width: 228px; height: 315px; }
.featuredCarousel .featuredSmallBlock .photo{ height: 154px; }

.featuredMiniBlockWrapper{ margin: -8px; }
.featuredMiniBlock{ width: 136px; height: 175px; margin: 8px; }
.featuredMiniBlock .title{ font-size: 120%; }
.featuredMiniBlock .price{ display: block; text-align: center; margin: 3px 0px; letter-spacing: 1px; font-family: arial; font-weight: normal; font-size: 120%; }
.featuredMiniBlock .photo{ height: 92px; }

.featuredCarousel .featuredMiniBlock { width: 170px; height: 198px; }
.featuredCarousel .featuredMiniBlock .photo{ height: 116px; }

/************media query going up*******************/
@media (min-width: 480px) {
	.featuredMediumBlock,.featuredCarousel .featuredMediumBlock { width: 250px; height: 430px; }
	.featuredMediumBlock .photo,.featuredCarousel .featuredMediumBlock .photo{height: 170px; }

	.featuredSmallBlock,.featuredCarousel .featuredSmallBlock{ width: 204px; height: 300px; }
	.featuredSmallBlock .photo,.featuredCarousel .featuredSmallBlock .photo{ height: 136px; }
}
@media (min-width: 768px) {
	.featuredMediumBlock,.featuredCarousel .featuredMediumBlock { width: 210px; height: 428px; }
	.featuredMediumBlock .photo,.featuredCarousel .featuredMediumBlock .photo{ height: 138px; }

	.featuredSmallBlock,.featuredCarousel .featuredSmallBlock{ width: 215px; height: 310px; }
	.featuredSmallBlock .photo,.featuredCarousel .featuredSmallBlock .photo{ height: 145px; }

	.featuredMiniBlock,.featuredCarousel .featuredMiniBlock{ width: 157px; height: 192px; }
	.featuredMiniBlock .photo,.featuredCarousel .featuredMiniBlock .photo{ height: 108px;  }
}
@media (min-width: 992px) {
	h1{ font-size: 32px; }
	h2{ font-size: 28px; }
	h3{ font-size: 22px; }
	h4{ font-size: 18px; }
	
	.featuredMediumBlock,.featuredCarousel .featuredMediumBlock { width: 286px; height: 450px; }
	.featuredMediumBlock .photo,.featuredCarousel .featuredMediumBlock .photo{ height: 198px; }

	.featuredSmallBlock,.featuredCarousel .featuredSmallBlock{ width: 213px; height: 300px; }
	.featuredSmallBlock .photo,.featuredCarousel .featuredSmallBlock .photo{ height: 145px; }

	.featuredMiniBlock,.featuredCarousel .featuredMiniBlock{ width: 167px; height: 200px; }
	.featuredMiniBlock .photo,.featuredCarousel .featuredMiniBlock .photo{ height: 114px;  }	
}
@media (min-width: 1200px) {
	.featuredMediumBlock,.featuredCarousel .featuredMediumBlock { width: 260px; height: 460px; }
	.featuredMediumBlock .photo,.featuredCarousel .featuredMediumBlock .photo{ height: 180px; }
	
	.featuredSmallBlock,.featuredCarousel .featuredSmallBlock{ width: 207px; height: 305px; }
	.featuredSmallBlock .photo,.featuredCarousel .featuredSmallBlock .photo{ height: 140px; }

	.featuredMiniBlock,.featuredCarousel .featuredMiniBlock{ width: 170px; height: 202px; }
	.featuredMiniBlock .photo,.featuredCarousel .featuredMiniBlock .photo{ height: 118px;  }
}


/************media query going down*******************/
@media (max-width: 1199px) {
}
@media (max-width: 991px) {
	#logo{ width: 35%; }
	#headerWrapper{ width: 65%; }
	#mobileMenu{ display: block; float: right; padding: 10px 0px; }
	#menu{ display: none; }
}
@media (max-width: 767px) {
	#logo{ width: 50%; }
	#headerWrapper{ width: 50%; }
	#footer{ padding: 20px 0px 0px 0px; }
	#footer .copy{ position: static; line-height: normal; margin-top: 20px; padding: 5px; min-height: auto; }
}
@media (max-width: 479px) {
	#logo{ display: block; width: auto; text-align: center; }
	#headerWrapper{ display: block; width: auto; }
	#mobileMenu{ display: block; float: none; text-align: center; }
	#mobileMenu select{ width: 90%; }
	.button{ display: block; width: 100%; margin-left: 0px; margin-right: 0px; }
}
