/* GLOBAL
--------------------------------------------*/
input[type="button"] {
    -webkit-appearance: none;
}
input[type="radio"],
input[type="checkbox"] {
    border: 0!important;
    -moz-box-shadow: none!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
}
#writeareview input.button {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 0;
	font-family: "open-sans";
	font-weight: 300;
	font-size: 18px;
	margin-bottom: 5px;
	width: 100%;
}
body.search .section-title {
    border: 0;
}

/* RESPONSIVE LAYOUT - BASE
--------------------------------------------*/

/* Small Devices, Tablets - Portrait */
@media only screen and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1600px) and (orientation : portrait) {
html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
.button .icon, .action-button .icon {
	line-height: 15px;
	vertical-align: middle;
}
h1, h2, h3, h4, .pagetitle {
	line-height: 1.4;
}
.option-location {
    margin-left: 3%;
}
#content {
	width: 94%;
}
#sidebar, .cols2 #sidebar, .cols3 #sidebar, #primary, .cols2 #primary, .cols3 #primary, #secondary {
	width: 100%;
}
#sidebar, #primary {
	margin: 0;
}
.legal {
    line-height: 16px;
    display: inline-block;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 481px) {
.tab-nav {
	width: 100%;
}
.tab-nav ul {
	top: 0px;
}
.tab-nav li {
	display: block;
	width: 100%;
}
.tab-nav li a {
	display: block;
}
.tab-nav li a, .tab-nav li>span {
	display: block;
	width: 100%;
	text-align: left;
}
.action-button {
    padding: 4px 6px;
	font-size: 10px;
}
}


/* RESPONSIVE LAYOUT - LOCATION 
--------------------------------------------*/

/* Small Devices, Tablets - Portrait */
@media only screen and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1600px) and (orientation : portrait) {
body.location #breadcrumb {
	padding: 10px 0;
}
body.location #breadcrumb a {
	padding: 5px 10px;
}
body.location .location-overview .pagetitle {
	line-height: 1.4;
	margin: 0 0 5px;
}
body.location .location-rank {
	line-height: 1.4;
}
body.location #location-actions {
	margin: 0 0 10px;
}
body.location .location-actions .action-item {
	float: none;
	margin-right: 0;
	margin-top: 5px;
}
body.location .location-actions .action-item:first-child {
	margin-top: 0;
}
body.location .action-item .button {
	display: block;
	line-height: 40px!important;
}
body.location #location-recommendation strong {
	height: 25px;
}
body.location #location-gallery .photo-card {
	display: none;
}
body.location #qa-search h2 em {
    display: block;
    padding-top: 10px;
    font-size: 16px;
}
body.location #qa-search .userphoto {
	display: none;
}
body.location #qa-search .search-box {
	left: 0;
	right: 0;
	position: relative;
	padding: 0;
	margin: 0;
}
body.location #qa-search .button {
	position: relative;
	right: 0;
	width: 100%;
}
body.location .review-content h3, body.location .review-summary h3 {
	line-height: 22px;
}
body.location .post-actions li span {
	margin-top: 9px;
}
body.location .review-recommendation {
	margin: 0;
}
body.location .review-scorefactors-label {
	display: none;
}
body.location .box-h h3 {
	line-height: 22px;
	margin-bottom: 5px;
}
body.location #secondary .qa-list .summary {
	padding-left: 30px;
	background-position: 10px 5px;
}
body.location .qa-list .summary a {
	color: #454545;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 481px) {
body.location #location-recommendation .col ul {
	padding: 20px 0 10px;
}
body.location #location-recommendation .col {
	float: none;
	margin-top: 12px;
	margin-left: 0;
	width: 100%;
}
body.location .review-recommendation .col {
	float: none;
	width: 100%;
}
}

/* RESPONSIVE LAYOUT - USER
--------------------------------------------*/


/* Small Devices, Tablets - Portrait */
@media only screen and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1600px) and (orientation : portrait) {
body.user .cols3 #sidebar {
	width: 23%;
	margin: 0 2% 0 0;
}
body.user .cols3 #primary {
	width: 75%;
	margin: 0;
}
body.user #secondary {
	width: 75%;
	margin-left: 25%;
}
body.user #review-list {
	margin: 0;
}
body.user .profile-stats {
	position: relative;
}
body.user #profile-localexpertscore {
	position: relative;
}
body.user .profile-stats li:first-child {
	width: 30%;
}
body.user .review-content h3, body.user .review-summary h3 {
	line-height: 22px;
}
body.user .review-scorefactors-label {
	display: none;
}
body.user .review-recommendation .col {
	float: none;
	width: 100%;
}
body.user .review-recommendation {
	margin: 0;
}
body.user .post-actions li span {
	margin-top: 9px;
}
body.user #secondary .qa-list .summary {
	padding-left: 30px;
	background-position: 10px 5px;
}
body.user .qa-list .summary a {
	color: #454545;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 481px) {
body.user #content, body.user .cols3 #sidebar, body.user .cols3 #primary, body.user #secondary {
	width: 100%;
    float: none;
}
body.user #secondary {
	width: 94%;
	margin: 0 auto;
}
body.user #content {
	margin-top: 0;
}
body.user #sidebar, body.user #primary {
	margin: 0;
}
body.user .profile-pic {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}
body.user #profile-pic {
	margin: 0;
}
body.user .profile-actions .button {  
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
    height: 40px;
    line-height: 40px;    
}
body.user #profile-details {
	display: none;
}
body.user #profile-header {
	margin: 0;
	padding: 0 5px;
}
body.user #profile-header .pagetitle {
	float: none;
	margin: 0 0 20px 0;
	text-align: center;
}
body.user .profile-stats {
	overflow: hidden;
}
body.user .profile-stats li:first-child {
	width: 100%;
	float: none;
}
body.user .profile-stats li {
	width: 25%;
}
body.user #review-list {
	margin: 0 2%;
}
body.user #profile-localexpertscore {
	position: relative;
}
body.user .stat {
	padding: 10px 0;
}
body.user .stat .value {
	font-size: 18px;
}
body.user #profile-localexpertscore.stat {
	font-size: 14px;
	padding: 10px 0 5px;
}
body.user #profile-localexpertscore.stat .value {
	font-size: 22px;
	display: inline;
	padding-left: 3px;
}
.hreview .dtreviewed, .ureview .dtreviewed {
	color: #999;
	font-size: 11px;
	font-style: italic;
}
.comment .posteddate {
	color: #999;
	font-size: 11px;
}
}

/* RESPONSIVE LAYOUT - QA
--------------------------------------------*/

/* Small Devices, Tablets - Portrait */
@media only screen and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1600px) and (orientation : portrait) {
body.qa #ask {
    padding-bottom: 20px;
}
body.qa #secondary .qa-list .summary {
	padding-left: 30px;
	background-position: 10px 5px;
}
body.qa #reply-form {
	padding: 23px 0 23px;
}
body.qa #qa-search {
	padding: 0 0 90px;
}
body.qa #qa-search h2 em {
    display: block;
    padding-top: 10px;
    font-size: 16px;
}
body.qa #qa-search .search-box {
	padding: 4px;
	height: auto;
}
body.qa #qa-search .button {
	position: relative;
	top: 0;
	right: 0;
	height: 40px;
	width: 100%;
}
body.qa #question {
	margin: 0 0 20px;
}
body.qa .question-content {
	margin: 0;
}
body.qa .question-user {
	position: relative;
	float: left;
	margin: 0 15px 0 0;
}
body.qa .question-vote {
	padding: 10px;
    margin-top: 10px;
}
body.qa .question-vote .voted {
	padding: 0 10px 10px 0;
}

body.qa .question-actions {
	margin: 0;
}
body.qa .question-actions>ul>li {
	margin: 0;
}
body.qa .question-actions>ul>li:first-child {
    margin-right: 10px;
}
body.qa #question h1 {
	margin: 0 0 10px 0;
	font-size: 22px;
}
body.qa #question-follow, body.qa .button-share {
	padding: 0 15px;
	font-size: 14px;
}
body.qa #replies.answers .reply-content {
    margin: 0 78px 0 42px;
}
body.qa #replies h3, body.qa #reply-form h3 {
	padding-left: 42px;
}
body.qa .reply-content, body.qa .reply .comment-list {
	margin: 0 0 0 42px;
}
body.qa .reply-user-avatar {
	left: 0;
}
body.qa .reply-vote {
	right: 0;
}
body.qa .reply-vote .button {
	font-size: 14px;
	padding: 0 15px;
}
body.qa #replies.answers .reply-actions {
	margin: 10px 78px 0 42px;
}
body.qa #replies .legal {
	margin: 5px 0 0;
}
body.qa #reply-form .reply-user-avatar {
	left: 0;
}
body.qa #reply-form .reply-content {
	margin: 0 0 0 42px;
}
body.qa .ask-location-search {
	width: 100%;
}
body.qa .ask-current-location {
	width: 100%;
	padding: 10px 0;
}
body.qa #ask #ask-button {
	margin: 0 10px 10px 0;
}
body.qa form #follow-location {
	margin: 0;
}
body.qa .box-h .filter {
    line-height: 20px;
    margin: 10px 0;
}
body.qa .paging {
    margin-bottom: 20px;
}
}

/* RESPONSIVE LAYOUT - SEARCH
--------------------------------------------*/


/* Small Devices, Tablets - Portrait */
@media only screen and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1600px) and (orientation : portrait) {
body.search #search-filter {
	margin-bottom: 20px;
}
body.search #filter-rating.filter-box {
	display: none; /* hide slider from mobile touch */
}
body.search .filter-box {
	overflow: hidden;
}
body.search .filter-box li.menu-item {
	width: 50%;
	float: left;
}
body.search #rating-range-label {
	margin: 5px 0 10px;
}
body.search .ui-slider .ui-slider-handle {
	width: 19px;
	height: 22px;
}
body.search .ui-slider-horizontal .ui-slider-handle {
	top: -8px;
	margin-left: -10px;
}
body.search .place-summary {
	position: relative;
}
body.search #search-results:before { /* block place summary link for mobile scrolling */
	content: "";
	position: absolute;
	display: block;
	z-index: 99;
	width: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
body.search .place-title h2 { /* bring title to top for mobile link */
	position: relative;
	z-index: 100;
	display: inline-block;
}
body.search .tab-nav { /* ...also bring nav to top */
	z-index: 101;
}
body.search .place-rating {
	margin-top: 4px;
}
body.search .place-rank {
	margin: 0;
}
}

/* RESPONSIVE LAYOUT - SITEMAP
--------------------------------------------*/

/* Small Devices, Tablets - Portrait */
@media only screen and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1600px) and (orientation : portrait) {
body.sitemap #sitemap {
	margin-bottom: 20px;
}
body.sitemap #sitemap .col {
	padding-top: 10px;
}
body.sitemap #sitemap h2 {
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 10px;
}
body.sitemap #sitemap h3 {
	margin: 10px 0;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 481px) {
body.sitemap #sitemap .col {
	width: 50%;
}
body.sitemap #sitemap li {
	margin: 0;
	font-size: 14px;
	line-height: 28px;
}
}

/* RESPONSIVE LAYOUT - WRITE A REVIEW
--------------------------------------------*/

/* Small Devices, Tablets - Portrait */
@media only screen and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1600px) and (orientation : portrait) {
body.writereview #location-header {
	margin: 0;
	min-height: 0;
}
body.writereview #writeareview .tip {
	display: block;
}
body.writereview #writeareview h3 {
	margin-bottom: 5px;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 481px) {
body.writereview #writeareview-scorefactors li .rateit {
	display: none;
}
body.writereview .large-rateit, body.writereview .rateit-large {
	display: none;
}
body.writereview #writeareview-step1 select {
	display: block!important;
	width: 95%;
}
body.writereview #writeareview-recommendation li, body.writereview #writeareview-affluence li, body.writereview #writeareview-reviewtype li {
	width: 50%;
}
body.writereview form #follow-location {
	display: block;
	margin: 0;
	text-align: center;
}
}
/* HIDE AGENT RATINGS - UNTIL PREMIER AGENT LAUNCH 
--------------------------------------------*/


body.agent .AgentListView.pro-false .listing-count {
	left: auto;
	right: 10px;
	top: 20px;
}
body.agent .office-summary .rating-star {
	display: none;
	margin: 1px 5px 0 0;
	vertical-align: text-top;
}
body.agent .pro-true .listing-count, body.agent .pro-false .listing-count {
	color: #c6c6c6;
	font-size: 10px;
	position: absolute;
	right: 10px;
	top: -15px;
}
.stat {
	color: #444;
	display: none;
	font-family: "open-sans", Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	text-shadow: none;
	text-transform: capitalize;
}

/*  QA STYLING - TO MATCH REST OF SITE (JASON) 
--------------------------------------------*/

/*body.qa #question h1 {
    font-family: effra,Helvetica,Arial,sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 40px;
    margin: 10px 0 5px;
    color: #536670;
}

.question-description {
    color: #111;
    font-family: soleil,Helvetica,Arial,sans-serif;
    color: #536670;
}

.reply-content .description {
    color: #111;
    font-family: soleil,Helvetica,Arial,sans-serif;
    font-size: 14px;
    color: #536670;
}

.question-vote, .reply-vote {
    background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    margin-top: 10px;
    color: #536670;
}

.question-info .user {
    color: #536670;
    font-weight: bold;
    font-family: soleil,Helvetica,Arial,sans-serif;
}

.reply-info .user {
    color: #536670;
    font-weight: bold;
    font-family: soleil,Helvetica,Arial,sans-serif;
}

#replies h3, #reply-form h3 {
    color: #536670;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    font-family: effra,Helvetica,Arial,sans-serif;
}

.qa-list .summary a {
    color: #000;
    font-family: soleil,Helvetica,Arial,sans-serif;
    color: #536670;
}
.box-h h3 {
    color: #536670;
    float: left;
    font-weight: bold;
    font-family: soleil,Helvetica,Arial,sans-serif;
}*/

.AgentProfileActivityItem-date {
    display: none !important;
    font-size: 15px;
    line-height: 30px;
}
