.tablet-only { display:none; }
.container.leftbar #wrap #page #maincontent img { max-width:100%; }
.tablet-down { display:none; }
.max-only { display:block; }
/*Large Sizes*/
@media only screen and (min-width: 1280px) {
	.under-wide { display:none; }
	.max-only { display:none; }
    #detail_top_exp .buttons ul li a { text-align:center; }
    #detail_top_exp .buttons ul li a br { display:none; }
    #detail_top_exp .buttons ul li a.customize { background-position:18% center; }
    #detail_top_exp .buttons ul li a.home-worth { background-position:14% center; }
    #detail_top_exp .buttons ul li a.request-more-info { background-position:29% center; }

    .buttons-regular ul li a { text-align:center; }
    .buttons-regular ul li a br { display:none; }
    .buttons-regular ul li a.customize { background-position:18% center; }
    .buttons-regular ul li a.home-worth { background-position:14% center; }
    .buttons-regular ul li a.request-more-info { background-position:29% center; }

}
/* Regular 960 sizes */
@media only screen and (min-width: 960px) and (max-width: 1279px) {
	#header.agent a#logo { margin:15px 0 0 0; }
	
	#flexslider-caption-text .left { display:none; }
	#sort .btn { clear:both; float:right; }
	#sort .sorting { clear:both; margin:15px 0 0 0; }
	#sort .sorting a { background-image:none!important }
	#detail_tabs .ui-tabs-nav { background:#f2f2f2; }
	#detail_tabs .ui-tabs-nav > li { box-sizing:border-box; border-right:1px solid #fff; overflow:hidden; width:33.33%; }
	#detail_tabs .ui-tabs-nav > li > a { border-bottom:1px solid #fff; border-radius:0px!important; display:block; padding:12px 0 12px 36px; width:100%; }
	#detail_top_exp .title h4 { width:100%; }
	#detail_top_exp .title .openhouse { float:left; clear:left; margin:10px 0 0 0; }
	#detail_top_exp .buttons ul li { font-size:13px; }
    #detail_top_exp .buttons ul li a.home-worth span { display:none; }
    #detail_top_exp .buttons ul li a.customize { line-height:18px; padding-top:10px; }

    .buttons-regular ul li { font-size:13px; }
    .buttons-regular ul li a { font-size:13px; }
    .buttons-regular ul li a.home-worth span { display:none; }
    .buttons-regular ul li a.customize { line-height:18px; padding-top:10px; }

	#pre-footer .listing-options .link { width:100%; }
	.my_raveis_agent > .left { float:none; margin:0px auto 20px auto; width:80%; }
	.my_raveis_agent > .agent { float:none; margin:0px auto 20px auto; width:80%; }
	.my_raveis_agent > .phones{ float:none; margin:0px auto 20px auto; width:80%; }
	#similar-homes .similar-home { float:left; padding:2%; width:46%; text-align:center; }
	#similar-homes .similar-home .similar-details { text-align:center; }
	#similar-homes .similar-home > a { float:none; }
	#similar-homes .similar-home > a img { min-width:100%; }
	#gallery .preview_wrap { height: 155px}
	#gallery .preview_wrap .img { height: 155px}
	/*Misc Styles*/
	#page-wrap2 #locations li { width: 50%; }
	#award-box .award { float:left; height:300px!important; width:50%; }
	ul.list.half { width:95%; }
	#news-right { margin:0px; width:100%; }
	#news-left { margin:0 0 25px 0; width:100%; }
	.twocols { float:left; width:100%; }
	#detail_top .buttons { width:100%; }
	#detail_top .addthis_toolbox { margin:0 0 10px 0; width:100%; }
	#detail_top #detail_slider.flexslider { max-height:400px; }
	#detail_top #detail_slider.flexslider .slides img { max-height:400px; }
	#detail_top .addthis_toolbox a { float:left; }
	#detail_top_exp .addthis_toolbox {  margin:5px 0 0 0; }
	#detail_title.reg .left .price span { display:block; }
	#agent_tabs #gallery .preview_wrap .trigger{display:none}
	#agent_tabs #gallery .preview_wrap .img span{display:none}
	.tablet-down { display:block; }
	.under-wide { display:block; }
	#header.agent #topnav>ul>li{padding:0 10px 10px 10px; }
	#header.agent #topnav>ul>li>a{margin:0px;height:20px;line-height:20px;}
	#topnav > ul > li.last.app { right:0px; }
	#layer-slider-wrap .flexslider_wrap .flexslider .text { text-align:left; text-indent:10px; }
	#manageragents .manager.nyc p {float:left;}
	#results .prop.blue { height:311px; }
	#results .prop.blue h4 { font-size:23px; }
	#results .prop.white { height:311px; }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
	/*Main*/
	#app .left { border-bottom:1px solid #ccc; float:none; margin:0px auto; padding:0 0 15px 0; width:600px; text-align:center; }
	#app .left img { float:none; display:inline-block; }
	#app .controls { float:none; margin:0px auto; padding:0 0 15px 0; width:600px; }
	#app .mid { float:left; clear:left; }
	#app .right { width:20%; }
	.tablet-only { display:block; }
	#flexslider-caption-text .left { display:none; }
	#header > a img#logo2 { width: 407px;  top: 20%;  left: 39%; display: block;  position: absolute;}
	#header.agent #topnav {width:425px; clear:right; float:right;}
	#header.agent #topnav>ul>li{padding:0 10px 10px 10px; }
	#header.agent #topnav>ul>li>a{margin:0px;height:20px;line-height:20px;}
	#header.agent a#logo { width:306px;margin:15px 0 0 0; }
	#agent_info.big img { width:25%; height:auto; }
	#agent_info.big .info { margin:50px 0 0 0; }
	#topnav a { margin:0 25px 0px 25px; }
	#topnav > ul > li.last.app { right:0px; }
	#pre-footer .listing-options .selectbox { width:100%; }
	#pre-footer .listing-options .selectbox a.btn.select { margin:0 0 15px 0; width:100%; }
	#pre-footer .listing-options .link { width:100%; }
	#footer .top > img.left { display:none; }
	#footer .top .social a { float:none; display:inline-block; }
	/*Proplist*/
	#results .spacer { display:none; }
	#results .clear { display:none; }
	#results .clear.tablet { display:block; }
	#results .prop { margin:10px; width:45%; }
	#results .prop .top .bar span { float:left; margin:0px!important; padding:0px!important; }
	#results .prop .top .bar span.reduced { text-indent:15px; width:50%; }
	#results .prop .top .bar span.reduced.compare { text-align:right;width:50%; }
	#proplist-tabs > a.map_search { float:left; margin:0 0 10px 0;}
	#sort .btn { clear:both; float:right; }
	#sort .sorting { clear:both; margin:15px 0 0 0; width:100%; }
	#sort .sorting a { background-image:none!important; font-size:11px; }
	#results-list .prop { margin:0 0 10px 0; }
	#results-list .prop .bar { background:#8a8a8a; color:#fff; height:28px; line-height:28px; padding:0; text-align:center; }
	#results-list .prop .bar span.reduced { background: url(/images/proplist/ico-dollar-white.png) no-repeat 7px center; }
	#results-list .prop .bar span.new { background: url(/images/proplist/ico-star-white.png) no-repeat 7px center; }
	#results-list .prop .bar span { float:none; font-size:17px; }
	#results-list .prop .bar.agent span.reduced { float:left; padding:0px 0 0 25px; }
	#results-list .prop .bar.agent span.tag { display:none; }
	#results-list .prop .bar.agent span.tablet { float:right; display:block; padding:0px; margin:0 10px 0 0; }
    #results .prop .bar.agent span.tag { display:none; }
    #results .prop .bar.agent span.tablet { float:none; display:block; margin-right: 5px !important; }
	
	#results .prop.blue { height:291px; }
	#results .prop.blue h4 { font-size:18px; margin:6px 0; }
	#results .prop.blue p { margin:0 0 6px 0; }
	#results .prop.white { height:291px; }
	#results .prop.white img { max-height:291px; }
	#results-list .prop .bar.agent span.reduced span { display:block; }
	#results-list .prop .left { margin:15px 0 0 0; text-align:center; width:100%; }
	#results-list .prop .left .img img { min-width:0px; }
	#results-list .prop .right { margin:20px 0 0 0; text-align:center; width:100%; }
	#results-list .prop .right .info { font-size:12px; margin:0px; }
	#results-list .prop .right .info p { width:16%; }
	#results-list .prop .right .info .price { min-width:80px; }
	#gallery .preview_wrap { height: 135px}
	#gallery .preview_wrap .img { height: 135px}
	#proplist-tabs .filters .sort .selectbox { margin-right:0px; }
	/*Hide Preview Pop-up Styling*/
	#maplist .preview_wrap .trigger { display:none; }
	#maplist .preview_wrap .img { }
	#maplist .preview_wrap .img img { position:relative; }
	#maplist .preview_wrap .img span { display:none; }
	#gallery .preview_wrap .trigger { display:none; }
	#gallery .preview_wrap .img { }
	#gallery .preview_wrap .img img { position:relative; }
	#gallery .preview_wrap .img span { display:none; }
	#list .preview_wrap .img { height:200px; }
	#list .preview_wrap .img img { position: absolute; z-index: 0; top: 0px; margin: 0 -175px 0 0; right: 50%; width:350px; max-width:100%;	}
	#list .preview_wrap .img span { display:none; }
	#list .preview_wrap .trigger { display:none; }
	/*Prop Detail*/
	#detail_carousel { display:none!important; }
	#detail_title.reg .left { text-align:left; width:100%; }
	#detail_title.reg .left .price span { display:block; }
	#detail_title.reg .right { text-align:left; width:100%; }
	#detail_title.reg .left .price { margin:0 0 10px 0;width:50%; }
	
	#detail_tabs .ui-tabs-nav > li { box-sizing:border-box; border-right:1px solid #fff; overflow:hidden; width:50%; }
	#detail_tabs .ui-tabs-nav > li > a { border-bottom:1px solid #fff; border-radius:0px!important; display:block; padding:12px 0 12px 34px; width:100%; }
	#detail_top_exp .title h4 { width:100%; }
	#detail_top_exp .title .openhouse { float:left; clear:left; margin:10px 0 0 0; }
	#detail_top_exp .details .col { margin:0px; border:none; padding:0px; width:100%; }
	
	#detail_top_exp .buttons ul li { width:100%!important; font-size:14px; }
	#detail_top_exp .buttons ul li a { line-height:56px; padding:0 10px 0 50px; margin:0 0 10px 0; }
    #detail_top_exp .buttons ul li a.home-worth { line-height:18px; }
    #detail_top_exp .buttons ul li a br { display:none; }

    .buttons-regular ul li { width:100%!important; font-size:14px; width:100%!important; }
	.buttons-regular ul li a { font-size:13px; line-height:56px; padding:0 10px 0 50px; margin:0 0 10px 0; }
    .buttons-regular ul li a.home-worth { line-height:18px; }
    .buttons-regular ul li a br { display:none; }
	
	#detail_top .addthis_toolbox { margin:0 0 10px 0; width:100%; }
	#detail_top #detail_slider.flexslider { max-height:300px; }
	#detail_top #detail_slider.flexslider .slides img { max-height:300px; }
	
	#detail_top_exp .addthis_toolbox {  margin:5px 0 0 0; }
	.my_raveis_agent > .left { float:none; margin:0px auto 20px auto; width:80%; }
	.my_raveis_agent > .agent { float:none; margin:0px auto 20px auto; width:80%; }
	.my_raveis_agent > .phones{ float:none; margin:0px auto 20px auto; width:80%; }
	#similar-homes .similar-home { float:left; padding:2%; width:46%; text-align:center; }
	#similar-homes .similar-home .similar-details { text-align:center; }
	#similar-homes .similar-home > a { float:none; }
	#similar-homes .similar-home > a img { min-width:100%; }
	#page-wrap2 #locations li { width: 50%; }
	#slider_exp .overview li { width:745px!important; }
	#slider_exp .overview li img { width:745px!important; }
	#slider_exp_wrap .container { width:745px!important; max-width:745px!important; min-width:745px!important; }
	#slider_exp_wrap .container #slider_exp .buttons.next { right: 50%; margin: 0 -360px 0 0; }
	#slider_exp_wrap .container #slider_exp .buttons.prev { left: 50%; margin: 0 0 0 -360px; }
    #slider_exp_wrap #gallery .slides li img {
        max-height: 464px;
        min-height: 464px;
    }
	/*Agent Styles*/
	#agent_tabs #results .prop{width:30%}
	#agent_tabs #results .spacer{width:5%}
	#agent_tabs #results .clear{display:none}
	#agent_tabs #results .clear.tablet{display:block}
	#agent_tabs #gallery .preview_wrap .trigger{display:none}
	#agent_tabs #gallery .preview_wrap .img span{display:none}
	/*Misc Styles*/
	.twocols { float:left; width:100%; }
	.twocols .inner { padding:0px!important; }
	.exp_category .box { width:50%; }
	#award-box .award { float:left; height:275px!important; width:50%; }
	ul.list.half { width:95%; }
	#news-right { margin:0px; width:100%; }
	#news-left { margin:0 0 25px 0; width:100%; }
	.tablet-down { display:block; }
	.desktop_only { display:none; }
	.under-wide { display:block; }
	#manageragents .manager { margin:0 0 20px 0; width:100%; }
	#manageragents .manager.nyc p { float:left; }
	#slider_exp_wrap #slider_exp .flexslider { margin:0px auto; overflow:visible; width:720px; }
	#slider_exp_wrap #slider_exp .flexslider .slides { margin:0px; }
	#slider_exp_wrap #slider_exp .flexslider .slides li img { float:none; width:720px!important; }
	#slider_exp_wrap #slider_exp .flexslider .flex-direction-nav .flex-prev{}
	#slider_exp_wrap #slider_exp .flexslider .flex-direction-nav .flex-next{}
	#layer-slider-wrap .flexslider_wrap .flexslider .text { text-align:left; text-indent:10px; }
	.cma-form .field { width:100%; margin:0 0 10px 0; }
	/*Hover Preview Fix*/
    #proplist-tabs.soldproplist-tabs .paging.right {margin:50px 0 15px 0 !important;}
	.app_tooltip.list { height:auto; float:left; clear:both; margin:20px; }
	.app_tooltip.list h4 { float:left; }
	#email-landing #results .prop { margin:0px; }
	#email-landing #results .spacer { display:block; }
	#results .prop.white.news .tooltip-container { display:none; }
	#results .prop.white.news { overflow:hidden; }
	#builders img.right.padleft { float:none; padding:0px; margin:0 0 15px 0; }
	.thirds { border:none; width:100%; min-height:0px; }
	
	#quick_map_search .ddlb { height:auto; }
	#quick_map_search .left { padding:0px; }
	#quick_map_search .left .right { margin:0px; float:left; width:100%; }
	#quick_map_search .left .right #showoptionsbtn { float:left; width:50%; }
	#quick_map_search .left .right .saveSearchModalButton { width:50%; }
}

@media only screen and (max-width: 1290px) {
	#topnav{margin:10px 0 0 0;}
	#topnav>ul>li.last>span { padding:0px; background:none; }
	#topnav>ul>li>.box { top:25px; }
	
	
	#detail_title.reg .reduction { position:static;  }
	#detail_title.reg .right { text-align:left; width:100%; }
}