/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}











/* ==========================================================================
   Custom styles
   ========================================================================== */

#mueller-indicators {
  display: none;
  visibility: hidden;
}

.bigger {
	font-size: 1.3em;
}

.box {
	display:block;
	background-color: rgba(50,50,50,0.9);
	/* background:#666; */
	/* color:#ddd; */
	color: #EFEFEF;
	padding:0.5em 1em;
	margin-bottom: 0.5em;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	-ms-border-radius:2px;
	-o-border-radius:2px;
	border-radius:2px;
	overflow:hidden;
	/*
	-webkit-box-shadow: 0px 0px 4px #111;
	-moz-box-shadow: 0px 0px 4px #111;
	-ms-box-shadow: 0px 0px 4px #111;
	-o-box-shadow: 0px 0px 4px #111;
	box-shadow: 0px 0px 4px #111;
	*/
	*zoom:1;
}

.colsFull {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  -ms-column-count: 3;
  -o-column-count: 3;
  column-count: 3;
}

.colsTwo {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  -ms-column-count: 2;
  -o-column-count: 2;
  column-count: 2;
}

#botMenu {
	background-color: rgba(256,256,256,0.9);
	color: #222;
}

#botMenu a {
	color: darkblue;
}

#boxMenu {
	background-color: rgba(256,256,256,0.9);
	color: #222;
}

#boxMenu a {
	color: darkblue;
}

#boxSearch {
	background-color: rgba(256,256,256,0.9);
	color: #222;
}

#boxSearch input.searchbar-sm {
	border-bottom: 1px solid #333 !important;
}

#categories a {
	color: yellow;
}

#categories a:hover {
	color: lightblue;
}

#nav {
	margin: .16em 0;
}

#theform {
	display: none;
}

#togform {
	cursor: pointer;
}

a {
	text-decoration: none;
}

body { 
	background-color: #ABD0ED; 
	background-position: center center; 
	background-repeat: no-repeat; 
	background-attachment: fixed;
	position: relative;
	background-size: cover;
	font-family: 'Open Sans', sans-serif;
	/*
	font-family: 'Open Sans', sans-serif;
	font-family: 'Roboto Condensed', sans-serif;
	font-family: 'Raleway', sans-serif;
	font-family: 'Roboto Slab', serif;
	*/
}

div.h1 {
	background-color: #000048;
	text-align: center;
	font-family: 'Roboto Slab', serif;
	font-weight: bold;
}

div.header {
	background-image: url("../img/float.png");
	background-position: top center;
	background-repeat: no-repeat;
}

div.headline {
	clear: both;
	border-bottom: 1px dotted #fff;
	padding-bottom: .3em;
	margin-bottom: .3em;
	color: lightblue;
}

div.headline div.lefty {
	font-weight: bold;
	font-family: 'Roboto Slab', serif;
}

div.righty {
	float: right;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	-ms-border-radius:2px;
	-o-border-radius:2px;
	border-radius:2px;
	background-color: #000;
	color: #fff;
	font-size: .8em;
	padding: .2em .5em;
}

div.thinnieFour {
	margin: -0.4em -.9em -0.4em -.9em;
}

div.thinnieFour img, div.thinnieFour iframe {
	width: 100%;
	height: 180px;
}

div.thinnieThree {
	margin: -0.4em -.9em -0.4em -.9em;
}

div.thinnieThree img, div.thinnieThree iframe {
	width: 100%;
	height: 247px;
}

footer {
	text-align: center;
	font-size: 10px;
	padding: 20px; 
	margin-top: 20px;
	background-color: rgba(256,256,256,0.8);
}

h1 { 
	font-size: 1em;
	background-color: rgba(256,256,256,0.7);
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	-ms-border-radius:2px;
	-o-border-radius:2px;
	border-radius:2px;
	margin: .5em 0;
	padding: .3em;
	font-family: 'Roboto Slab', serif;
	color: darkblue; /* #000048 */
}

h2 {
	margin: 0;
	padding: 0;
	font-family: 'Roboto Slab', serif;
	color: lightblue; /* #000048 */
}

/* SEARCH */

button.searchbut-sm {
	width: 20%;
	color: #333;
}

input.searchbar-sm {
	/* width: 72%; */
	width: 69%;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid #fff;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	-webkit-border-radius:0px;
	-moz-border-radius:0px;
	-ms-border-radius:0px;
	-o-border-radius:0px;
	border-radius:0px;
}

/* CLOSE BY */

center.citysearch {
	margin-top: .5em;
}

center.contact {
	margin-top: .5em;
}

/* HOMEPAGE */

div.featured {
	width: 100%;
	margin-bottom: 10px;
}

div.featured div.avatar {
	width: 100%;
}

div.featured div.avatar img {
	width: 100%;
}

div.featured div.featuredname  {
	width: 100%;
	background-color: rgba(0,0,0,1);
	color: #fff;
	text-align: center;
	font-size: .8em;
	border-top: 1px dotted #fff;
}

div.featured div.featuredname  a {
	color: #fff;
	text-decoration: none;
}

div.featured div.featuredname  div {
	padding: .5em;
}

div.fixedFour {
	height: 167px;
}	

div.fixedFour a {
	color: yellow;
}

div.fixedFour a:hover {
	color: lightblue;
}

div.fixedThree {
	height: 235px;
}	

div.fixedThree a {
	color: yellow;
}

div.fixedThree a:hover {
	color: lightblue;
}

#slide, #homeBG {
	position: relative;
	filter:blendTrans(duration=3);
	background-position: center center; 
	background-repeat: no-repeat; 
	background-size: cover;
	height: 240px;
}

#slide div.headline, #homeBG  div.headline {
	background-color: rgba(0,0,0,.9);
	border-bottom: none;
	padding: .3em;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	-ms-border-radius:2px;
	-o-border-radius:2px;
	border-radius:2px;
}

div.photos, div.houses {
	position: relative;
}

div.floatinfo {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	background-color: rgba(0,0,72,0.8);
	padding: 0.3em 0;
	color: #fff;
}

/* LISTINGS */

a.ah {
	color: yellow;
}

div.avatar {
	float: right;
	margin: 0 0 .3em .3em;
}

div.avatar img {
	width: 140px;
}

/*
div.Laddress {
	background-color: rgba(256,256,256,0.8);
	color: #333;
	margin-bottom: .3em;
	padding: .3em;
	border-top: 1px dotted #fff;
	text-align: center;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	-ms-border-radius:2px;
	-o-border-radius:2px;
	border-radius:2px;
}
*/

#listings {
  width: 100%;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  -ms-column-count: 3;
  -o-column-count: 3;
  column-count: 3;
}

div.listing {
	background-color: rgba(0,0,0,.8);
	display: inline-block; 
	margin-top: .1em;
	min-width: 90%;
}

div.Laddress {
	text-align: center;
}

div.Lheadline{
	text-align: center;
	font-weight: bold;
	color: #fff;
}

div.Lcontent {
	margin-top: .3em;
	padding-top: .3em;
	border-top: 1px dotted #fff;
	color: #999;
}

div.google {
	width: 100%;
	text-align: center;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	-ms-border-radius:2px;
	-o-border-radius:2px;
	border-radius:2px;
	margin-top: .1em;
	padding-top: .3em;
	margin-bottom: 0.5em;
	display: inline-block; 
	background-color: #666;
}

div#accent {
	position: relative;
	filter:blendTrans(duration=3);
	background-position: center center; 
	background-repeat: no-repeat; 
	background-size: cover;
	height: 240px;
}

div.accentText {
	position: absolute;
	padding: .3em 0;
	margin: .3em 0;
	background-color: rgba(256,256,256,.8);
	bottom: 0;
	left: 0;
	right: 0;
	color: #333;
	text-align: right;
	font-family: 'Roboto Slab', serif;
	color: darkblue; /* #000048 */
	font-weight: bold;
}

div.subnav {
	float: left;
}

img.branding {
	margin: 28px 0 28px 0;
}

/* COUPONS */

div.coupon {
	border: 5px dashed #222;
	background-color: #fff;
	display: inline-block; 
	margin-top: .1em;
	min-width: 80%;
	width: auto;
}

div.coupon div.Laddress {
	color: #111;
}

div.coupon div.Laddress a.ah {
	color: darkblue;
}

div.coupon div.Lcontent {
	margin: .3em 0;
	padding: .3em 0;
	border-top: none;
	font-size: .7em;
}

div.coupon b.coupon {
	font-size: 1.5em;
	color: #222;
}

div.thinnieThree div.coupon b.coupon {
	font-size: 1em;
}

div.coupon  small {
	color: darkred;
}

/* CONTACT */

a.url {
	color: lightblue;
}

input.contactA {
	width: 98%; 
	height: 28px;
	color: #222;
	margin: .5em 0 -0.2em 0;
}

input.contactB {
	margin: .5em 0 .5em .5em;
	width: 98%; 
	height: 60px;
	color: #222;
}

/* GALLERY */

img.gallery {
	border: 1px solid #fff;
	width: 99%;
	margin-top: 1em;
}

div.gallery {
	display: inline-block;
	margin-top: .3em;
	position: relative;
	min-width: 98%;
}

div.gallery div.credit {
	position: absolute;
	top: .8em;
	right: .5em;
	color: #000;
	text-shadow: 0px 0px 2px rgba(255, 255, 255, 1);
	font-weight: bold; 
}

div.gallery div.comment {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	padding: .5em;
	color: #000;
	background-color: rgba(256,256,256,.8);
}

/* EVENTS */

a.event {
	font-size: 1.3em;
	color: lightblue !important;
	font-weight: bold;
}

div.event {
}

div.event a {
	color: yellow;
}

div.event b {
	color: yellow;
}

div.scrollevents {
	overflow-y: auto;
}

.eventsub {
	width: 100%;
	margin-top: .5em;
	padding: .5em 0;
}

/* AUTOSUGGEST STYLES */

body
{
	position: relative;
}

div.autosuggest
{
	position: absolute;
	background-image: url(http://www.masscities.com/img_inquisitor/as_pointer.gif);
	background-position: top;
	background-repeat: no-repeat;
	padding: 10px 0 0 0;
	font-size: 11px; 
	font-family: arial;
}

div.autosuggest div.as_header,
div.autosuggest div.as_footer
{
	position: relative;
	height: 6px;
	padding: 0 6px;
	background-image: url(http://www.masscities.com/img_inquisitor/ul_corner_tr.gif);
	background-position: top right;
	background-repeat: no-repeat;
	overflow: hidden;
}
div.autosuggest div.as_footer
{
	background-image: url(http://www.masscities.com/img_inquisitor/ul_corner_br.gif);
}

div.autosuggest div.as_header div.as_corner,
div.autosuggest div.as_footer div.as_corner
{
	position: absolute;
	top: 0;
	left: 0;
	height: 6px;
	width: 6px;
	background-image: url(http://www.masscities.com/img_inquisitor/ul_corner_tl.gif);
	background-position: top left;
	background-repeat: no-repeat;
}
div.autosuggest div.as_footer div.as_corner
{
	background-image: url(http://www.masscities.com/img_inquisitor/ul_corner_bl.gif);
}
div.autosuggest div.as_header div.as_bar,
div.autosuggest div.as_footer div.as_bar
{
	height: 6px;
	overflow: hidden;
	background-color: #333;
}


div.autosuggest ul
{
	list-style: none;
	margin: 0 0 -4px 0;
	padding: 0;
	overflow: hidden;
	background-color: #333;
}

div.autosuggest ul li
{
	color: #ccc;
	padding: 0;
	margin: 0 4px 4px;
	text-align: left;
}

div.autosuggest ul li a
{
	color: #ccc;
	display: block;
	text-decoration: none;
	background-color: transparent;
	text-shadow: #000 0px 0px 5px;
	position: relative;
	padding: 0;
	width: 100%;
}
div.autosuggest ul li a:hover
{
	background-color: #444;
}
div.autosuggest ul li.as_highlight a:hover
{
	background-color: #1B5CCD;
}

div.autosuggest ul li a span
{
	display: block;
	padding: 3px 6px;
	font-weight: bold;
}

div.autosuggest ul li a span small
{
	font-weight: normal;
	color: #999;
}

div.autosuggest ul li.as_highlight a span small
{
	color: #ccc;
}

div.autosuggest ul li.as_highlight a
{
	color: #fff;
	background-color: #1B5CCD;
	background-image: url(http://www.masscities.com/img_inquisitor/hl_corner_br.gif);
	background-position: bottom right;
	background-repeat: no-repeat;
}

div.autosuggest ul li.as_highlight a span
{
	background-image: url(http://www.masscities.com/img_inquisitor/hl_corner_bl.gif);
	background-position: bottom left;
	background-repeat: no-repeat;
}

div.autosuggest ul li a .tl,
div.autosuggest ul li a .tr
{
	background-color: transparent;
	background-repeat: no-repeat;
	width: 6px;
	height: 6px;
	position: absolute;
	top: 0;
	padding: 0;
	margin: 0;
}
div.autosuggest ul li a .tr
{
	right: 0;
}

div.autosuggest ul li.as_highlight a .tl
{
	left: 0;
	background-image: url(http://www.masscities.com/img_inquisitor/hl_corner_tl.gif);
	background-position: bottom left;
}

div.autosuggest ul li.as_highlight a .tr
{
	right: 0;
	background-image: url(http://www.masscities.com/img_inquisitor/hl_corner_tr.gif);
	background-position: bottom right;
}



div.autosuggest ul li.as_warning
{
	font-weight: bold;
	text-align: center;
}

div.autosuggest ul em
{
	font-style: normal;
	color: #6EADE7;
}

/* ALL CATEGORIES */

#categories a.major {
	font-size: 1.5em;
	font-weight: bold;
	color: lightblue;
}

#categories a.major:hover {
	color: yellow;
}

  /* REAL ESTATE */
  div.filter { clear: both; margin-bottom: .5em; }
  .mr9 { margin-right: 9px; }
  div.mobileMLSnav img { width: 70px; margin-right: 2px; }  
  button.mls { float: right; text-decoration: none; margin-top: -30px; }
  button.mlsNM { float: right; text-decoration: none; }
  div.mlsprice { font-size: 47px; color: lightgreen; font-weight: bold; margin: 0 0 8px 0; }
  h2.re { font-size: 26px; font-weight: bold; text-align: left; margin: 0; padding: 0; }
  div.restat { float: left; margin: 0 10px 5px 0; border-radius: 10px; background-color: #fff; color: #444; text-align: center; padding: 10px; }
  div.restat b { font-size: 30px; font-family: 'Roboto Slab', serif; }
  div.repcnt { position: absolute; padding: 5px 10px; bottom: 10px; right: 0; background-color: darkblue; color: #fff; }
  div.clickme { position: absolute; padding: 5px 10px; top: 10px; left: 0; background-color: darkblue; color: #fff; text-decoration: none ! important; }
  div.photocontainer { position: relative; max-width: 669px; width: 100%; margin-bottom: 50px; float: left; }
  div.remarks { float: right; width: 220px; }
  div.rehov { position: absolute; bottom: -40px; right: 10px; z-index: 9999; }
  div.rehov div.restat { box-shadow: rgba(0, 0, 0, 0.75) 0px 0px 9px; background-color: yellow; color: #111; }
  #rehovB { position: static; text-align: center; bottom: auto; left: auto; right: auto; margin-bottom: 20px; }
  #rehovB div.restat { float: none; display: inline-block; }
  #rehovC { position: static; text-align: center; bottom: auto; left: auto; right: auto; margin-bottom: 0; }
  #rehovC div.restat { float: none; display: inline-block; }
  .phoneOuter { background:#000; display:none; height:35px; right:12px; position:absolute; top:17px; width:145px; z-index:100001; border-radius: 5px; text-align: center; }
  .phoneInner{ z-index:100001; text-align: center; color: #fff; font-weight: bold; margin-top: 7px; font-size: 20px; }
  #phone_num_a { width: 30px; }
  #phone_num_b { width: 30px; }
  #phone_num_c { width: 40px; }
  /* .floatinfo { position: absolute; bottom: 1px; left: 1px; width: 300px; opacity: 0.9; background-color: darkblue; color: #fff; font-weight: bold; padding: 5px 0 5px 0; text-align: center; z-index: 10001; } */
  .tour { position: absolute; top: 0; right: 0; z-index: 1000; }
  img.mlspic { width: 253px; height: 198px; margin: 4px 8px 0 0; border: 1px solid #fff; }
  #mls { width: 100%; }
  div.mls { position: relative; margin-bottom: .5em; }
  #mlssearch .box { background-color: #111; }
  img.realtorlogo { float: right; margin: 4px 0 0 10px; width: 75px; }
  /* #realtorinfo { background-color: rgba(0,0,100,.8); } */
  /* #realtorinfo h3 { margin: 0 0 2px 0; padding-top: 0 0 2px 0; color: yellow; } */
  #realtorinfo { background-color: rgba(255,255,100,.8); color: #111; }
  #realtorinfo a { color: darkblue !important; }
  #realtorinfo h2.re { color: #000; }
  #realtorinfo h3 { margin: 0 0 2px 0; padding-top: 0 0 2px 0; color: yellow; }
  #realtorlist { background-color: rgba(0,0,0,.8); color: yellow; padding: .25em .5em; font-size: 1.4em; text-align: center; margin-top: .25em; }
  b.realtorphoneM { font-size: 2em; color: yellow; }
  td.realtorphone {
	text-align: center;
	padding: 0 0 15px 85px;
	line-height: 1.7em;
  }
  td.realtorphone b{
	font-size: 3em; 
	color: yellow; 
	white-space: nowrap;
  }
  #comments {
    height: 60px;
    width: 98.6%;
  }
  
  div.attrib {
	  font-size: 11px; color: #fff;
	  text-align: center;
  }
  
  div.offeredby {
	  font-size: .7em;
	  margin-top: 20px;
  }
  

  
  /* IMAGE SLIDESHOW */
  #slider1_container { position: relative; top: 0px; left: 0px; width: 669px; height: 529px; overflow: hidden; margin: 0 0 10px 0; padding: 0; }
  #slider1_container img { margin: 0; width:667px; height:527px; }
  div.loadingA { position: absolute; top: 0px; left: 0px; }
  div.loadingB { filter: alpha(opacity=70); opacity:0.7; position: absolute; display: block; background-color: #000000; top: 0px; left: 0px;width: 100%;height:100%; }
  div.loadingC { position: absolute; display: block; background: url(/images/loading.gif) no-repeat center center; top: 0px; left: 0px;width: 100%;height:100%; }
  div.slides { cursor: move; position: absolute; left: 0px; top: 0px; width: 667px; height: 527px; overflow: hidden; border: 1px solid #333; }
  
  div.mlsfit { width: 250px ! important; height: 185px ! important; }
  div.mlsfit img { width: 250px; height: 185px; }
  
  .bricon  { background: url(/images/browser-icons.png); }
  div.jssorb01 { position: absolute; top: 10px; right: 10px; }
  div.prototype { POSITION: absolute; WIDTH: 12px; HEIGHT: 12px; }
  .jssorb01 div, .jssorb01 div:hover, .jssorb01 .av {
                filter: alpha(opacity=70);
                opacity: .7;
                overflow: hidden;
                cursor: pointer;
                border: #000 1px solid;
  }
  .jssorb01 div { background-color: gray; }
  .jssorb01 div:hover, .jssorb01 .av:hover { background-color: #d3d3d3; }
  .jssorb01 .av { background-color: #fff; }
  .jssorb01 .dn, .jssorb01 .dn:hover { background-color: #555555; }
  .jssora02l, .jssora02r, .jssora02ldn, .jssora02rdn {
            	position: absolute;
            	cursor: pointer;
            	display: block;
                background: url(/images/a02.png) no-repeat;
                overflow:hidden;
  }
  .jssora02l { background-position: -3px -33px; width: 55px; height: 55px; top: 183px; left: 8px; }
  .jssora02r { background-position: -63px -33px; width: 55px; height: 55px; top: 183px; right: 8px; }
  .jssora02l:hover { background-position: -123px -33px; }
  .jssora02r:hover { background-position: -183px -33px; }
  .jssora02ldn { background-position: -243px -33px; }
  .jssora02rdn { background-position: -303px -33px; }

  /* REAL ESTATE CAROUSEL */
  .floatinfoB { position: absolute; bottom: -47px; left: 1px; width: 141px; opacity: 0.9; background-color: darkblue; color: #fff; font-weight: bold; padding: 5px 0 5px 0; text-align: center; z-index: 10001; }
  .caroimg { width: 141px; height:110px; margin: 4px 8px 0 0; border: 1px solid #333; }
  .carolink { text-decoration: none; position: relative; }

  /* Basic carousel, carousel-container and button styles */
.custom-container {
    margin: 20px 0;
	clear: both;
}

.carousel, .carousel * {
    box-sizing: content-box;    /* My theme uses border-box for whatever reason, I don't know. I am switching it to the standard content-box here */
}

.carousel {
    // border: 1px solid #bababa;
    // border-radius: 10px;
    // background-color: ghostwhite;
    float: left;
    padding-left: 10px;
	height: 116px;

    /* Needed for rendering without flicker */
    position: relative;
    visibility: hidden;
    left: -5000px;
}
.carousel>ul {}
.carousel>ul>li {}
.carousel>ul>li>img,
.carousel>ul>li>p {
    /* mandatory */
    width: 150px;
    height: 118px;
    vertical-align:middle;

    /* optional */
    margin: 10px 10px 0 0;
    border-radius: 5px;
}
.carousel>ul>li>p {
    /* mandatory */
    width: 130px;
    height: 98px;

    border: 1px solid #808080;
    line-height: normal;
    background-color: #fff;
    padding: 10px;
}

/* Additional styles for <a> based buttons with images */
a.prev, a.next, a.go {
    display: block;
    width: 26px;
    height: 30px;
    line-height: 1;

    background-color: #333333;
    color: ghostwhite;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 25px;

    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 8px;

    float: left;
}
a.prev {
    margin: 50px -5px 0 0;
    text-indent: 7px;
}
a.next {
    margin: 50px 0 0 -5px;
    text-indent: 10px;
}
a.prev:hover, a.next:hover, a.go:hover {
    background-color: #666666;
}

/* Additional carousel styles for external controls, slider, widget, mid etc. */

.externalControl button,
.imageSliderExt button {
    margin: 5px 5px 0 0;
}
    .externalControl a.next, .externalControl a.prev, .externalControl a.go,
    .imageSliderExt a.next, .imageSliderExt a.prev, .imageSliderExt a.go
    {
        margin: 0 5px 0 0;
        padding: 7px 5px 0 5px;
        font-size: 15px;
        text-align: center;
        border-radius: 3px;
    }


    .widget img {
    cursor: pointer;
}
.mid {
    margin-left: 50px;
    width: 400px;
    height: 300px;
}
.vertical {
    margin-left: 170px;
}
.vertical .carousel {   /* so that in IE 6, the carousel div doesnt expand to fill the space */
    /*width: 160px;*/
}
.imageSlider .carousel>ul>li>img,
.imageSliderExt .carousel>ul>li>img {
    width: 400px;
    height: 300px;
}
.imageSlider .carousel>ul>li>p,
.imageSliderExt .carousel>ul>li>p {
    width: 380px;
    height: 280px;
}

/* WELCOME AREA */

div#welcome {
	background-color: rgba(150,0,0,.9);
}

center.welcome {
	color: yellow;
}

center.welcome div.text {
	font-size: 2em;
	font-weight: bold;
	font-family: 'Roboto Slab', serif;
	color: yellow;
	margin: -.2em 0 0 0;
}

center.welcome form {
	padding-bottom: .5em;
}

center.welcome input {
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	-ms-border-radius:4px;
	-o-border-radius:4px;
	border-radius:4px;
	color: #000;
}

center.welcome select  {
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	-ms-border-radius:4px;
	-o-border-radius:4px;
	border-radius:4px;
	color: #000;
	margin-right: 1em;
}

center.welcome .fa-stack {
	color: yellow;
	font-weight: bold;
}

center.welcome .fa-circle {
	color: #111;
}

/* MLS */




























































/* ==========================================================================
   Display specific tweaks
   DEFAULT: 981px - 1249px
   ========================================================================== */

/* HIRES DESKTOP */
@media screen and (min-width: 1801px) and (max-width: 6000px){
	#slide, #homeBG {
		height: 305px;
	}

	.colsFull {
	  -webkit-column-count: 4;
	  -moz-column-count: 4;
	  -ms-column-count: 4;
	  -o-column-count: 4;
	  column-count: 4;
	}
	
	div.thinnieFour img, div.thinnieFour iframe {
		height: 325px;
	}
	
	div.fixedFour {
		height: 310px;
	}	
	
	div.thinnieThree img, div.thinnieThree iframe {
		width: 100%;
		height: 280px; // ???
	}

	div.fixedThree {
		height: 264px; // ???
	}
	
	#listings {
	  -webkit-column-count: 4;
	  -moz-column-count: 4;
	  -ms-column-count: 4;
	  -o-column-count: 4;
	  column-count: 4;
	}
	
	div.photocontainer { margin-bottom: 0; }
	/* #slider1_container, div.slides, div.slides div, div.slides div img { margin-bottom: 0; position:fixed !important; top: 0; bottom: 0; left: 0; right: 0; background-color: pink; width: 100%; height: auto; } */
	div.remarks { width: 880px; }
	div.rehov b { font-size: 2em; }
	div.rehov { font-size: 2em; }
	#rehovA { visibility: collapse; display: none; }
	div.remarksIN { height: 315px; overflow-y: auto; padding-right: 10px; }
	img.mlspic { width: 275px; height: 215px; }
	section.mls div.box { display: inline-block; }
	#mls {
	  -webkit-column-count: 2;
	  -moz-column-count: 2;
	  -ms-column-count: 2;
	  -o-column-count: 2;
	  column-count: 2;
	}
	div.mls {
	  width: 96%;
	  display: inline-block;
	  margin-bottom: .3em;
	}
	#callem { visibility: collapse; display: none; }

	input.contactA {
		width: 99%; 
		height: 38px;
	}

	input.contactB {
		width: 99%; 
		height: 82px;
	}

	div.scrollevents {
		font-size: .7em;
	}		

	center.welcome div.text { display: inline-block; font-size: 1.5em; margin: 0 .3em 0 0; }
	center.welcome form { display: inline-block; }
	.eventsub {
		width: 1600px;
	}
  td.realtorphone {
	padding: 0 0 15px 255px;
	line-height: 2.4em;
  }
  td.realtorphone b{
	font-size: 5em; 
  }

	div.ml, div.mlB, div.mlC, div.mlD {
		height: 350px !important;
	}
	
	.floatinfoB { 
		font-size: .8em;
	}

	img.realtorlogo { width: 150px; }

	.shrinkrem { font-size: .8em; }
}

/* LARGE DESKTOP */
@media screen and (min-width: 1250px) and (max-width: 1800px){
	#slide, #homeBG {
		height: 310px;
	}
	
	div.thinnieFour img, div.thinnieFour iframe {
		height: 225px;
	}
	
	div.fixedFour {
		height: 210px;
		font-size: .7em;
	}	
	
	div.scrollevents {
		font-size: .7em;
	}
		
	div.thinnieThree img, div.thinnieThree iframe {
		width: 100%;
		height: 310px;
	}

	div.fixedThree {
		height: 294px;
	}
	
	div.listing {
		font-size: .7em;
		min-width: 92.5%;
	}
	
	div.avatar, div.avatar img {
		width: 100%;
	}
	
	div.photocontainer { margin-bottom: 0; }
	input.pfield { width: 90px !important; }
	div.remarks { width: 430px; }
	div.remarksIN { height: 415px; overflow-y: auto; padding-right: 10px; /* margin-bottom: 50px; */ }
	#rehovA { visibility: collapse; display: none; }
	#rehovB div.restat { margin-right: 7px; }
	img.mlspic { width: 275px; height: 215px; }
	#callem { visibility: collapse; display: none; }

	input.contactA {
		width: 99%; 
		height: 38px;
	}

	input.contactB {
		width: 99%; 
		height: 82px;
	}

	div.thinnieThree div.coupon { height: 275px; }

	.eventsub {
		margin-top: 1.35em;
		padding: .8em 0;
	}
	
	.bedhide { visibility: collapse;  display: none; }
  td.realtorphone {
	padding: 0 0 15px 145px;
	line-height: 1.7em;
  }
  td.realtorphone b{
	font-size: 3em; 
  }

	div.ml, div.mlB, div.mlC {
		height: 270px !important;
	}

	div.mlC img {
		height: 245px;
	}
	
	.floatinfoB { 
		font-size: .8em;
	}

	img.realtorlogo { width: 150px; }

	.shrinkrem { font-size: .75em; }
}

/* DEFAULT */
@media screen and (min-width: 981px) and (max-width: 1249px){
	div.fixedFour {
		font-size: .7em;
	}	
	
	div.scrollevents {
		font-size: .7em;
	}	
	
	div.listing {
		font-size: .9em;
	}
	
	div.avatar, div.avatar img {
		width: 100%;
	}

	#callem { visibility: collapse; display: none; }
	div.remarksIN { height: 528px; overflow-y: auto; padding-right: 10px; }
	div.thinnieThree div.coupon { height: 220px; }
	div.thinnieThree div.coupon div.Laddress { margin-top: .5em; }

	.eventsub {
		margin-top: 1.35em;
		padding: 1em 0;
	}

	.bedhide { visibility: collapse; display: none; }

	div.ml, div.mlC {
		height: 243px !important;
	}

	div.mlB {
		padding: 0;
		height: 259px !important;
	}

	div.mlC img {
		height: 224px;
	}

	img.realtorlogo { width: 130px; }
	input.pfield { width: 73px !important; }
	
	.shrinkrem { font-size: .8em; }
}

/* TABLET PORTRAIT */
@media screen and (min-width: 768px) and (max-width: 980px){
	.colsFull {
	  -webkit-column-count: 2;
	  -moz-column-count: 2;
	  -ms-column-count: 2;
	  -o-column-count: 2;
	  column-count: 2;
	}

	.colsTwo {
	  -webkit-column-count: 2;
	  -moz-column-count: 2;
	  -ms-column-count: 2;
	  -o-column-count: 2;
	  column-count: 2;
	}

	div.thinnieFour img, div.thinnieFour iframe {
		height: 280px;
	}
	
	div.fixedFour {
		height: 267px;
	}	

	div.scrollevents {
		font-size: .7em;
	}
	
	div.thinnieThree img, div.thinnieThree iframe {
		height: 184px;
	}
	
	div.fixedThree {
		height: 172px;
	}
	
	#listings {
	  -webkit-column-count: 2;
	  -moz-column-count: 2;
	  -ms-column-count: 2;
	  -o-column-count: 2;
	  column-count: 2;
	}
	
	div.listing {
		min-width: 91%;
	}	

    div.photocontainer { float: none; }
	div.remarks { float: none; width: auto; }
	#callem { visibility: collapse; display: none; }
	#scity { width: 204px; }
	#sinfo { width: 296px; }
	#sgo { width: 568px; margin-right: .8em; }

	img.branding { margin: 71px 0 71px 0; width: 75%; }
	
  td.realtorphone {
	padding: 0 0 15px 15px;
	line-height: 1.5em;
  }
  td.realtorphone b{
	font-size: 2em; 
  }

  div.ml, div.mlB {
	height: 269px !important;
  }
}

/* HANDHELD LANDSCAPE */
@media screen and (min-width: 480px) and (max-width: 767px){
	div.header {
		background-image: none;
	}
	
	div.header img {
		width: 100%;
	}
	
	.colsFull {
	  -webkit-column-count: 2;
	  -moz-column-count: 2;
	  -ms-column-count: 2;
	  -o-column-count: 2;
	  column-count: 2;
	}

	.colsTwo {
	  -webkit-column-count: 1;
	  -moz-column-count: 1;
	  -ms-column-count: 1;
	  -o-column-count: 1;
	  column-count: 1;
	}

	div.thinnieFour img, div.thinnieFour iframe {
		height: 169px;
	}
	
	div.fixedFour {
		height: 160px;
		font-size: .8em;
	}	

	div.thinnieThree img, div.fixedThree {
		height: auto;
	}	
	
	div.avatar, div.avatar img {
		display: none;
		visibility: collapse;
	}
	
	#listings {
	  -webkit-column-count: 2;
	  -moz-column-count: 2;
	  -ms-column-count: 2;
	  -o-column-count: 2;
	  column-count: 2;
	}
	
	div.listing {
		min-width: 88.5%;
	}
	
	div.Laddress a.ah {
		display: inline-block;
		padding-bottom: .5em;
	}

	div.google {
		display: none;
		visibility: hidden;
	}

	div#accent {
		height: 180px;
	}

    div.photocontainer { margin-bottom: 30px; float: none; }
	input.pfield { width: 73px !important; }
	div.remarks { float: none; width: auto; }
    div.rehov { bottom: -20px; }
	div.mlsprice { font-size: 36px; }
	div.restat { margin: 0 2px 0 0; border-radius: 5px; padding: 4px; }
	div.rehov div.restat { font-size: 11px; box-shadow: none; }
    #slider1_container { width: 405px; height: 316px; }
    #slider1_container img { width:403px; height:314px; }
    div.slides { width:403px; height:314px; }
	.jssorb01 { visibility: collapse; display: none; }
	div.mls div.mlsprice { font-size: 1.8em; }
	center.welcome div.text { font-size: 1.4em; margin: 0; }
	center.welcome input { width: 300px; }
	center.welcome select  { width: 300px; margin: 0 0 .3em 0; }
	div.thinnieThree div.coupon { width: 394px; }

	.eventsub {
		margin-top: 1.35em;
		padding: 1.5em 0;
	}
	
	div#branding { display: none; visibility: hidden; }
}

/* HANDHELD PORTRAIT */
@media screen and (min-width: 0px) and (max-width: 479px){
	div.header {
		background-image: none;
	}
	
	div.header img {
		width: 100%;
	}
	
	.colsFull {
	  -webkit-column-count: 1;
	  -moz-column-count: 1;
	  -ms-column-count: 1;
	  -o-column-count: 1;
	  column-count: 1;
	}

	.colsTwo {
	  -webkit-column-count: 1;
	  -moz-column-count: 1;
	  -ms-column-count: 1;
	  -o-column-count: 1;
	  column-count: 1;
	}

	div.thinnieFour img, div.fixedFour {
		height: auto;
	}

	div.thinnieThree img, div.fixedThree {
		height: auto;
	}	

	div.avatar, div.avatar img {
		display: none;
		visibility: collapse;
	}
	
	#listings {
	  -webkit-column-count: 1;
	  -moz-column-count: 1;
	  -ms-column-count: 1;
	  -o-column-count: 1;
	  column-count: 1;
	}
	
	div.listing {
		min-width: 92%;
	}	

	div#accent {
		height: 150px;
	}	
	
	div.Laddress a.ah {
		display: inline-block;
		padding-bottom: .5em;
	}

    div.photocontainer { margin-bottom: 30px; float: none; }
	div.remarks { float: none; width: auto; }
    div.rehov { bottom: -20px; }
	div.mlsprice { font-size: 36px; }
	div.restat { margin: 0 2px 0 0; border-radius: 5px; padding: 4px; }
	div.rehov div.restat { font-size: 11px; box-shadow: none; }
    #slider1_container { width: 100%; height: auto; min-height: 300px; }
    #slider1_container img { width:100%; height:270px; }
    div.slides { width:100%; height:270px; }
	.jssorb01 { visibility: collapse; display: none; }
	div.mls { text-align: center; }
	img.mlspic { width: 100%; height: auto; }
	center.welcome div.text { font-size: 1em; margin: .3em 0; }
	center.welcome input { width: 220px; }
	center.welcome select  { width: 220px; margin: 0 0 .3em 0; }

	div#branding { display: none; visibility: hidden; }
}
