
/* General rules */

* {
  box-sizing: border-box;
}

body, input, textarea, button {
  margin: 0 auto;
  font-family:  "Helvetica Neue", Arial, Helvetica, sans-serif; 
  letter-spacing: normal;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body, input, textarea {
  font-size: 16px; 
}

button {
  font-size: 15px;
}

textarea {
  color: #404040;
  border: 1px solid #d0cece;
  margin-top: 14px;
  padding: 5px 6px;
  line-height: 1.2;
}

select {
  color: #404040;
  padding: 3px 3px 3px 2px;
  border: 1px solid #d0cece;
  font-size: 15px;
  /*margin-right: 37px;*/
  width: 180px;
  height: 28px;
}

/* Input style */

input {
  color: #404040;  
  border: solid 1px #d0cece;
  font-size: 15px;
  margin: 0 2px 0 0;
  padding: 3px 6px;
  height: 28px;
}

input:focus, textarea:focus, select:focus {
  outline: none ;
  border: 1px solid #0070c0;
}

input:hover:not([disabled]), select:hover:not([disabled]), textarea:hover:not([disabled]) {
  border-color: #adadad;
}

input[type="radio"], input[type="checkbox"] {
  accent-color: #0070c0;
  margin-right: 5px;
  transform: scale(1.1);
  margin-top: -3px;
  vertical-align: middle;
  height: auto;
}

input[type="checkbox"]{

}

input[type="file"] {
  border: none;
  padding: 0;
}

input[type="file"]::file-selector-button {
  border: 0px solid #adadad;
  font-size: 13px;
  width: 98px;
  height: 26px;
  background-color: #f2f2f2;
  margin-right: 20px;
  cursor: pointer;
  color: #7f7f7f;
}

input[type="file"]::file-selector-button:hover {
  opacity: 0.8;
}

button {
  cursor: pointer;

}

button:hover:not([disabled]) {
  opacity: 0.8;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}

img {
  object-fit: cover;
}

p {
  margin: 15px 0;
}

a.logo {
  height: 45px;
}

div.logo-small {
  width: 110px;
}

a:link {
  text-decoration: none;
  color: #0070c0;
}

::placeholder {
  color: #7f7f7f; 
  opacity: 0.5;
}

.footernav a:link {
  color: white;
}

/*.header {
  padding: 24px 0 3.5% 41px;
  margin-right: 5.6%;

}*/

.header {

  padding: 24px max(5.6%,30px) min(3%,50px) max(5.6%,30px);

  display: grid;
  grid-template-columns: auto auto;
  max-width: 1800px;
  min-width: 320px;
  margin: 0 auto;
}


.checkMark {
  font-family: system-ui, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

/* Header */

.header .logo {
  float: left;
  color: #7f7f7f;
  font-size: 13px;
}

.header .logo-small {
  display: none;
}

.logo-img {
  cursor: pointer;
}

.header .bar-menu {
  display: none;
}

.bar-menu div {
  width: 18px;
  height: 2px;
  background-color: #7f7f7f;
  margin: 4px 0;
}

.bar-change .bar1 {
  transform: translate(0, 6px) rotate(-45deg);
}

.bar-change .bar2 {opacity: 0;}

.bar-change .bar3 {
  transform: translate(0, -6px) rotate(45deg);
}

/*.fa-bars {
  color: #7f7f7f;
  font-size: 20px;
}*/

.header-right {
  text-align: right;
  font-size: 14px;
  color: #7f7f7f;
  align-self: center;
}

.header-right i {
  color: #595959;
  font-size: 15px;
}

/*.clearfix::after {
  content: "";
  clear: both;
  display: table;
}*/

/* Login profile */
.username-icon {
  cursor: pointer;
  display: inline-block;
  padding: 12px 0 12px 30px;
}

.profile-dropdown {
  display: none;
  text-align: left;
  background-color: #ffffff;
  position: absolute;
  z-index: 3;
  right: max(5.6%,30px); 
  top: 65px;
  width: 125px; /*031623*/
  height: auto;
  padding: 6px;
  box-shadow: 2px 2px 12px 0px rgba(0,0,0,0.2);
}

.profile-dropdown::after{
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  border: 5px solid black;
  border-color: #ffffff #ffffff transparent transparent;
  right: 25px;
  top: 0px;
  transform-origin: 0 0;
  transform: rotate(-45deg);
  box-shadow: 2px -2px 2px 0px rgba(0,0,0,0.1);
}

.profile-dropdown a {
  color: #7f7f7f;
  padding: 6px;
  text-decoration: none;
  display: block;
  font-size: 13px;/*031623*/
}


.profile-dropdown a:hover, .login:hover {
  opacity: 0.8;
  cursor: pointer;
}

a.disableView {
  cursor: default;
  color: #d0cece;
  pointer-events: none;
}

/*.loggedin {
  padding: 0 0 20px 50px;
}*/

.username-icon:hover ~ .profile-dropdown, 
.profile-dropdown:hover {
  display: block;
}

/* Main content */

.main {
  /*width: 88.89%;
  margin: auto;*/
  margin:0 auto;
  padding:0 max(5.6%,30px) 70px max(5.6%,30px);
  min-height: calc(100vh - 179px);
  max-width: 1800px;
  min-width: 320px;
}

.nav {
  padding: 0 5%;
}

.nav a {
  background-color: #e7e6e6;
  border: solid 1px #d0cece;
  color: #7f7f7f;
  float: left;
  cursor: pointer;
  padding: 8px 10px;
  width: 12%;
  min-width: 120px;
  height: 35px;
  margin: 0 1.5%;
  text-align: center;
}

.nav .active {
  background-color: white;
  color: #0070c0;
  border-bottom: none;
  position: relative;
  z-index: 1;
}

.nav a:not(.active):hover {
  opacity: 0.8;
}

.maincontent{
  color: #404040;
  background-color: white;
  padding: 15px 0 10px 0;
  height: 100%;
  border-top: solid 1px #d0cece;
  line-height: 1.5;
  clear: both;
  position: relative;
  top: -1px;
}
/* Home page picture */
.landingpic {
  text-align: center;
}

.homepage-pic {
  width: 100%;
  height: auto;
  max-width: 500px;
}

.search-bar {
  height: auto;
  background-color: #f2f2f2;
  margin: 10px 0;
  padding: 12px max(1.5%,10px);
}

.step {
  height: 8px;
  width: 8px;
  margin-right: 2px;
  background-color: #d8d8d8;
  border: none;
  display: inline-block;
  border-radius: 0%;
}

.step.finish {
  background-color: #595959;
}

.formguide {
  margin: 5px 0 20px 0;
}

.sellorbuy {
  margin: 20px 0 10px 0;
}

.rentOption {
  display: none;
  margin-top: 5px;
}


.sellTab {
  display: block;
}

.tab {
  display: none;
}

label.right {
  margin: 0 12px 3px 0;
}

label.left-sign {
  margin: 0 1px 0 0;
}

label.left-text {
  display: inline-block;
  width: 35px;
  margin-right: 5px;
}

label.room {
display: inline-block;
  width: 70px;
}

.form-field-value {
  margin: 10px 0 25px 0;
  display: grid;
  grid-template-columns: max(15%,180px) auto;
  gap:10px;
}

.formfield {
  font-weight: bold;
  width: 180px;
  height: auto;
  text-align: left;
}

.formvalue {
  display: flex;
  height: auto;
  flex-wrap: wrap;
  column-gap:40px;
  row-gap: 15px;
}

.formvalue span {
  display: inline-block;
  margin-left: 15px;
}

.formvalue-hometype {
  row-gap: 5px;
  column-gap: 15px;
}



#exp_request, #exp_search {
  width: 55px;
}

#message {
  margin: 0;
  width: 80%;
}

.yearBuilt {
  width: 72px;
}

.tilde {
  margin: 0 15px;
}

.hometype-multi, .rentRange, .sizeRange, .roomRange, .yearRange {
  display: none;
}

.bedroom, .bathroom {
  width: 60px;
}

.emailReq, .postReq {
  display: grid;
  grid-template-columns: 18px auto;
  column-gap: 5px;
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.emailReq input, .postReq input {
  align-self: start;
  margin-top: 5px;
}

/*.reqReq {
  margin-bottom: 30px;
}*/

.reqExpiry {
  margin:30px 0;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 10px;
}

.reqExpiry-edit {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
  margin-left:20px;
  column-gap:20px;
  row-gap: 15px;
  align-items: center;
}

.sub-form-guide {
  text-align: left;
}

.submitSuccess {
  margin-top: 25px;
  padding: 0 20px;
  color: #0070c0;
}

#editExpiry {
  margin: 0px;
}

#reqExpiry {
  /*margin-left: 20px;*/

  border: 1px solid #d0cece;
  width: 120px;
}


.reqExpiry-edit > div {
  display: flex;
  flex-wrap: wrap;
  row-gap:20px;
  column-gap: 50px;
  align-items: center;
}

.reqExpiry-msg {
  color: #c50000;
}

div.note {
  /*text-indent: 20px;*/
  text-align: left;
}

/* agent list filtering */

.filterfield {
  display: grid;
  height: auto;
  /*margin: 5px 0;*/
  gap: 2px;
  grid-template-columns: auto;
  /*flex-direction: column;*/
  /*max-width: 230px;*/
}

.filtername {
  display: block;
  /*margin-bottom: 5px;*/
  align-self: center;
  color: #595959;
}

.filter {
  
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: max(2%,20px);
  row-gap: 10px;
  padding: 0 10px;
}

.filter label {
  font-size: 15px;
}

.rebate, .commission {
  display: flex;
  flex-wrap: wrap;
  row-gap: 5px;
  column-gap: 20px;
}

/*.commission-filter, .rebate-filter {
  display: none;
}*/

.filterfield select, .filterfield #fullname {
  width: 100%;
}

#fullname {
  width: 170px;
  margin: 0;
}

.agentList {
  display: grid;
  justify-content: space-around;
  grid-template-columns: auto;
  grid-gap: 20px;
  margin-top: 20px;
  padding: 0;
  justify-items: center;
}

/*.agentList {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap:20px;
}*/

#exp_search {
  width: 50px;
}

.agentCard {
  width: 100%;
  height: 217.5px;
  border: 1px solid #e7e6e6;
  font-size: 12px;
  /*margin: 5px 0;*/
  overflow: hidden;
}

.cardPic {
  /*width: 174px;*/
  width: 100%;
  height: 152px;
  margin-bottom: 4px;
}

.cardPic img {
  width: 100%;
  height: 100%;
}

.agentCard:hover {
  border: none;
}

.cardname {
  color: #0070C0;
  margin: 0 10px;
  font-size: 13px;
  overflow: hidden;
}

.cardphone, .cardRating {
  color: #404040;
  margin: 0 10px;
  text-align: left;
}

.cardphone, .agentPhone, .postContact {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.cardphone > span {
  margin-left: 5px;
}

.agentName {
  font-size: 16px;
  font-weight: 700;
}

.agentName-small {
  font-size: 17px;
  font-weight: 700;
}

.reviewYourAgent {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.selectRating, .postReviewAnony {
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  width: 260px;
  margin: 10px 0;
}

.detailReview { 
  margin-top: 20px;
}

.wordsLimit {
  text-align: right;
  font-size: 13px;
  color: #7f7f7f;
}

.review-tc {
  text-align: left;
  display: grid;
  grid-template-columns: 16px auto;
  gap:5px;
}

.review-tc a, .req-tc a, .signup-tc a {
  color: #0070c0;
}

#agree-tc {
  align-self: center;
}
.phoneicon {
  width: 14px;
  height: 14px;
  transform: translateY(3px);
}

/* Star ratings */

.starRating {
  display: inline-block;
  vertical-align: middle;
}

.profileRating .starRating, .reviewRating .starRating {
  transform: translateY(1px);
}

.starRating > * {
  display: inline-block;
}

.starFullSvg .SvgIcon {
  width: 12px;
  height: 12px;
  fill: #feb92f;
}

.starHalfSvg .SvgIcon {
  width: 12px;
  height: 12px;
}

.starVacantSvg .SvgIcon {
  width: 12px;
  height: 12px;
  fill: #e7e6e6;
}

.profileRating .SvgIcon {
  width: 16px;
  height: 16px;
}

.reviewRating, .selectRatingStar {
  display: inline-block;
}

.reviewRating .SvgIcon {
  width: 14px;
  height: 14px;
}

.selectRatingStar .SvgIcon {
  width: 23px;
  height: 23px;
  fill: #e7e6e6 ;
}

.starRating .starHalfSvg .SvgIcon .Right {
  fill: #e7e6e6;
}

.starRating .starHalfSvg .SvgIcon .Left {
  fill: #feb92f;
}

.small .starFullSvg, .small .starHalfSvg, .small .starVacantSvg {
  margin-right: 0px;
}

.regular .starFullSvg, .regular .starHalfSvg, .regular .starVacantSvg {
  margin-right: 2px;
}


.starHighlight, .starSelected {
  fill: #feb92f;
}

.cardReviews {
  color: #0070c0;
  display: inline-block;
  margin-left:5px;
}

.cardReviews a:visited {
  color:#0070c0;
}

.backTo {
  color: #0070c0;
  margin-left: 8px;
  margin-top: 5px;
  font-size: 15px;
}

.backTo:hover {
  opacity: 0.8;
}

.backTo a {
  cursor: pointer;
}

.backTo a:visited {
  color: #0070c0;
}

.reviewBtn a:visited {
  color: #404040;
}

.agentProfileContent {
  width: 96.7%;
  margin: auto;
  margin-top:15px;
  display: grid;
  /*grid-template-columns: 70% auto;*/
  grid-template-columns: auto 300px;
  grid-gap: 6.8%;
}

.agentProfile-right-column p {
  font-size: 15px;
  margin-top: 5px;
  margin-bottom: 8px;
}

.agentPic-wrapper {
  margin-right: 25px;
  margin-bottom: 12px;
}


.agentPic {
 /* border: 1px solid #e7e6e6;*/

  width:194px;
  height: 194px;
}

.agentPic-small {
  border: 1px solid #e7e6e6;
  margin: 0 18px 25px 0;
}

.agentBasicInfo { 
  display: flex;

}

.agentBasic {
  text-align: left;
}

.agentBasic > div {
  margin-bottom: 6px;
}

.agentArea, .agentPhone {
  display: grid;
  grid-template-columns: 15px auto;
  gap: 5px;
}



.phoneicon-big {
  width: 15px;
  height: auto;
  transform: translateY(3px);
}

.houseicon-big {
  width: 15px;
  height: auto;
  transform: translateY(1px);
}

.agentBasic .weblinks {
  font-size: 20px;
}

.weblinks {
  display: flex;
  gap:10px;
}

.fa-weblinks {
  display: inline-block;
}

.aboutAgentTitle {
  font-weight: 700;
}

#aboutAgentSpecialty {
  font-size: 16px;
  font-weight: 700;
  margin: 7px 0;
  text-align: left;
}

#aboutAgent {
  margin: 18px 0 25px 0;
}

#aboutAgentContent {
  margin-top: 8px;
  white-space: pre-wrap;
  -webkit-line-clamp: 8;
}

.truncate {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.toggleBtn {
  color: #0070c0;
  cursor: pointer;
}

.agentVideo-Container {
  display: flex;
  flex-wrap: wrap;
  row-gap:30px;
  column-gap: 85px;
  margin: 20px 0 40px 0;
  justify-content: center;
}

.agentVideo-iframe {
  width: 320px;
  height: 240px;
}

.contactMe-wrapper {
  margin-bottom: 30px;
}

.contactMe, .proInfo {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.contactForm-grid {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: auto;
  row-gap: 5px;
}

#contact-result-grid {
  margin-bottom: 0;
}

#msg-contact {
  margin-top: 0;
}
/*.contactFormInput {
  margin: 10px 0 15px 0;
}*/

.contactFormInput, .reviewFormInput > * {
  width: 100%;
}

.contactFormInput textarea, .reviewFormInput textarea {
  margin-top: 0;  
}

.button-wrapper {
  text-align: center;
}

.proInfo-wrapper {
  margin: 20px 0;
}

.proInfo-grid {
  display: grid;
  grid-template-columns: 120px auto;
  row-gap: 5px;
  color: #595959;
}

.proInfo-grid > div {
  margin-bottom: 12px;
  text-align: left;
}

.proInfo-label {
  color: #404040;
}

.reviewTitle {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.agentProfile-bottom-row {
  width: 96.7%;
  margin: 0 auto 20px auto;
}

.profileRating-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 50px;
  row-gap: 15px;
}

#reviewBtn {
  font-size: 13px;
  display: inline-block;
  margin: 0;
}

.recentReviewTitle {

  font-weight: 700;
  margin: 20px 0 -10px 0;
}

.profileRating, .cardRating {
  display: inline-block;
  align-self: center;
}

.reviewer-wrapper {
  display: block;
  margin-top: 25px;
  margin-bottom: 5px;
}

.reviewer {
  color: #7f7f7f;
  display: inline-block;
  width: 280px;
}

.reviewContent {
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 15px;
}

.serviceDetail {
display: grid;
grid-template-columns: 165px auto;
row-gap: 8px;
}

.serviceDetail-left {
  font-weight: bold;
  align-self: center;
}


#serviceYear {
  width: 72px;
}

.serviceDetail-wrapper {
  margin: 30px 0 25px 0;
}

/*.serviceDetail > *, .name-addr > * {
  display: inline-block;
}

.serviceDetail > span:first-child, .name-addr > span:first-child {
  width: 138px;
}*/
.svcAddr-wrapper {
  display: grid;
  grid-template-columns: 285px auto;
  row-gap: 15px;
  column-gap: 20px;
}

.svcAddr-wrapper label {
  margin-right: 10px;
}

.city-state-zip {
  display: flex;
  flex-wrap: nowrap;
  width: 392px;
  justify-content: space-between;
}

.serviceDetail, .name-addr {
  margin-top: 20px; 
  text-align: left;
}

.serviceDetail-note {
  margin-top: 5px;
}

.name-addr-note {
  margin-top:5px;
}

#svcAddr-review {
  width: 180px; 
  /*margin-right: 20px;*/
}

#svcCity, #svcCity-review {
  width: 80px; 
  /*margin-left: 5px;*/
}

.shortState {
  width: 50px; 

}

#service, #svcAddr-review, #reviewerName, #reviewerEmail {
  width: 285px;
}

.note {
  font-size: 14px;
  color: #7f7f7f;
  /*vertical-align: bottom;*/
  align-self: end;
  text-align: left;
}


.verifyEmail-note {
  color: #c50000;
}

.anonyChoice {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap:5px;
}

.anonyChoice label.right {
  margin-right: 50px;
}

.name-addr {
  display: grid;
  grid-template-columns: 165px auto;
  row-gap: 8px;
}


.name-addr input {
  width: 180px;
}
.reviewerName {
  width: 180px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
    display: inline-block;
  font-weight: bold;
  vertical-align: middle;
  font-size: 15px;
}
.reviewer-contact {
  width: 120px;
  display: inline-block;
  font-weight: bold;
  align-self: center;
}

#reviewSubmitBtn {
  margin-top: 40px;
}

/*#service {
  width: 335px;
}*/

/*.state, .state-post, .area {
  width: 170px;
}*/

.smallfont {
  font-size: 14px;
}

.form-section-title {
  padding: 20px 0 10px 0;
  font-size: 16px;
}

.buylabel {
  display: none;
}

.req-tc {
  margin-top: 15px;
}

.mainBtn {
  width: 118px;
  height: 30px;
  border: 1px solid #adadad;
  background-color: #f2f2f2;
  color: #404040;
  text-align: center;
  margin: 0 10px;
}

.prevBtn {
  opacity: 0.5;
}

.search-button-wrapper {
  margin-top: 12px;
  align-self: end;
}

.searchBtn {
  width: 85px;
  height: 28px;
  border: 1px solid #adadad;
  background-color: white;
  text-align: center;
  margin: 0 0px;
  color: #404040;
}

.hide {
  display: none;
}

/* Pagination */

.pagination {
  text-align: center;
  margin: 20px 0 -30px 0;
  padding: 0;
  /*not selectable*/
      -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox*/

}

.pagination li {
  color: #0070c0;
  padding: 10px 15px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  transition: background-color .3s;
  cursor: pointer;
}

.pagination li.active {
  /*color: #404040;*/
  background-color: #f2f2f2;
}

@media (hover: hover) {
  .pagination li:hover {
  background-color: #f2f2f2;
}
}

span.currentPage {
  display: none;
  color: #7f7f7f;
  font-size: 15px;
  margin: 0 45px;
}

.profileNav {
  text-align: left;
  font-size: 15px;
}

.profileNav > span, .postNav > span {
  display: inline-block; 
  margin: 5px 30px 10px 5px;
}

.profileNav > span:not(.active), .postNav > span:not(.active) {
  color: #adadad;
}


.profileNav .active, .profileNav > span:hover, .postNav .active, .postNav > span:hover { 
  color: #404040;
}

.profileTab {
  margin: 18px 3%;
}

.leftCol {
  font-weight:700; 
  width:155px; 
  
  text-align: left;
}

.name-grid {
  display: grid;
  grid-template-columns: 95px auto;
}

/*#last-name, #first-name {
  width: auto;
}*/

.profile-obj {
  width: 180px;
}

#svcZip,#svcZip-review {
  width: 60px; 

}

.asterisk {
  color: #c50000;
}

.grid-box {
  margin: 15px 0 30px 0;
  display: grid;
  grid-template-columns: 160px auto;
}


.inputCol {
  display: flex;
  flex-wrap: wrap;
  row-gap: 18px;
  column-gap: 30px;
}

.inputCol-RL label {
  display: inline-block;
  width: 70px;
  align-self: center;
}

.name-grid label {
  width: 85px;
}

.inputCol-RL input, .inputCol-RL select {
  width: 180px;
}

.inputCol input:not(:first-child), .grid-box select:not(:first-child) {
  margin-left: 5px;
  margin-right: 0;
}

.inputCol-v {
  flex-flow: column;
  row-gap: 10px;
}

.inputCol-r {
  display: flex;
  flex-wrap: wrap;
  row-gap: 15px;
  column-gap: 30px;
}

.inputCol-addr {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  row-gap: 15px;
  column-gap:30px;
}

.inputCol-addr label {
  display: inline-block;
  width: 70px;
}

.inputCol-addr input, .inputCol-addr select {
  width: 180px;
}

.inputCol .note {
  margin-top: -8px;
}

.specialty-checkbox .inputCol {
  row-gap: 10px;
  column-gap: 20px;
}

#biz-mo {
width: 50px;
}

#biz-yr {
  width: 80px;
}

#uploadPic {
  margin: 0 10px 0 0;
}

#video-b {
  margin-left: 0;
}

.profileTab .profileOption {
  font-size: 16px;
  font-weight:700;
}

#editProfile .profileOption {
  margin-bottom: 30px;
}

#editAboutMe .profileOption {
  margin: 0 0 5px 0;
}

#editAboutMe p {
  text-align: left;
}

#aboutMe {
  width:100%;
  height:280px;
}

#saveAboutme-Btn-wrapper {
  margin-top: 30px;
}

#clientemail {
  width:100%;
  height:100px;
  resize:none;
  text-align: left;
}

#clientmessage {
  width:100%;
  height:250px;
  resize:none;
}

/*.profileTab input, .profileTab select {
  margin-right:25px;
}*/

.profileTab input[type="checkbox"] {
  margin-right: 5px;
}

.profileTab p {
  margin:10px 0 0 0;
}

#saveProfile {
  margin:55px 0 -40px 0;
}


.long-input {
  width: 100%;
  /*width:max(242px,50%);*/
}

#licenseDes {
  width:470px;
}

.addBtn {
  width:75px;
  height:28px;
  margin: 0;
}

.tablink {
  cursor: pointer;
}

/*#addedValues, #addedAreas, #addedLang {
  margin: 15px 0 12px 0;
  max-width: calc(88vw - 245px);
}*/

#addedValues a, #addedAreas a, #addedLang a {
  color: #0070c0; 
  margin-right: 5px;
  cursor: pointer;
}

#addedValues a:hover, #addedAreas a: hover, #addedLang a: hover {
  opacity: 0.8;
}

.removableValues {
  margin-right: 20px;
  display: inline-block;
}

.remove {
  font-size: 16px;
}

.emailSubs {
  margin: 15px 0;
}
/* display save profile submission result */
#sn-check {
  color: #c50000;
  margin-right: 20px;
  display: none;
}


#upload-status {
  font-size: 15px;
}

.validation-result {
  margin: 20px 0 -30px 0;
  color: #c50000;
  font-size: 15px;
  text-align: left;
}

#submitRequest-result {
  margin: 10px 0 0 0;
  color: #c50000;
  font-size: 15px;
}

#contactAgent-result {
  margin: 0 0 10px 0;
  color: #c50000;
}

#requestReview-result {
  margin: 15px 0 25px 0;
  color: #c50000;
  font-size: 15px;
}




.validation-result > span {
  display: inline-block;
  margin-right: 15px;
}

.upload-success {
  color: #0070c0;
}

.upload-fail {
  color: #c50000;
}



/* Signin modal */

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: calc(50vh - 278px);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  display: block;
  background-color: #ffffff;
  margin: auto;
  padding: 20px 20px 50px 20px;
  border: none;
  width: 400px;
  height: auto;
  color: #404040;
  box-shadow: 2px 2px 12px 0px rgb(0 0 0 / 20%);
}

.modal-content-resetpw {
  display: none;
  background-color: #ffffff;
  margin: auto;
  padding: 15px 15px 32px 15px;
  border: none;
  width: 365px;
  height: auto;
  color: #404040;
  box-shadow: 2px 2px 12px 0px rgb(0 0 0 / 20%);
}

.modal-content-resetpwrv, .modal-content-resetpwrv-second {
  background-color: #ffffff;
  margin: auto;
  padding: 15px 15px 32px 15px;
  border: none;
  width: 420px;
  height: auto;
  color: #404040;
  box-shadow: 2px 2px 12px 0px rgb(0 0 0 / 20%);
}

.modal-content-resetpwrv-second {
  display: none;
}

.modal-content-welcome {
  
  background-color: #ffffff;
  margin: auto;
  padding: 15px;
  border: none;
  width: min(500px,100%);
  height: auto;
  color: #404040;
  box-shadow: 2px 2px 12px 0px rgb(0 0 0 / 20%);
}


/*mobile page modal*/

.bar-nav {
  /*position: absolute;
  z-index: 1;
    overflow: auto;*/
  border-top: 1px solid #e7e6e6;
  width: 88.89%;
  margin: auto;
  margin-bottom: 70px;
  background-color: #ffffff;
  min-height: calc(100vh - 196px);
}

.bar-nav div {
  border-bottom: 1px solid #e7e6e6;
  padding: 15px 0;
}

.bar-nav a {
  color: #404040;
}

/**/

.closeLogin {
  color: #404040;
  float: right;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 5px;
}

.closeLogin:hover {
  opacity: 0.8;
}

body.modal-open {

}

.loginForm {
  width: 80%;
  margin: auto;
}

.loginForm-title {
  font-size: 17px;
  font-weight: 700; 
  margin: 25px 0 15px 0;
  text-align: center;
}

#signinOption {
  margin: 23px 0;
  border-bottom: 1px solid #e7e6e6;
}

#signin, #signup {
  background: none; 
  border: none; 
  margin: 0; 
  padding: 5px; 
  margin-right: 16px;
  color: #404040;
  /*font-size: 13px;*/
}

#signin {
  border-bottom: 2px solid #0070c0;
}

.login-label {
  display: block; 
  font-weight: 700; 
  margin: 10px 0;
}

.login-input {
  display: block; 
  width: 100%; 
  height: 30px;
}

#signinBtn, #signupBtn, #resetPW-send, #resetPW-send-second, #resetPW-Btn {
  width: 100%; 
  height: 35px; 
  margin: 20px 0 10px 0;
  border: none;
  background-color: #595959; 
  color: #ffffff; 
  text-align: center;
}

.welcomeText {
  width: 86%;
  margin: auto;
}

.welcomeText p {
  line-height: 1.3;
  font-size: 15px;
}

.welcomeBtn-container {
  text-align: center;
}

#welcomeBtn {
  width: 120px; 
  height: 35px; 
  margin: 5px 0 23px 0;
  border: none;
  background-color: #595959; 
  color: #ffffff; 
  text-align: center; 
}

.userpw-wrapper{
  position: relative;
}

#showpw-toggle, #showpw-toggle-reset {
  background-color: transparent;
  border: none;
  position: absolute; 
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 10px;
  color: #7f7f7f;
  cursor: pointer;
  padding: 10px;
}

.checkSign, .rcheckSign {
  display: none;
  vertical-align: bottom;
  font-weight: 700;
  font-family: system-ui;
}

.pCross {
  color: #c50000;
}

.pCheck {
  color: #595959;
}

.forgetpw, .havepw {
  font-size: 14px;
  color: #0070c0;
  text-align: left;
  cursor: pointer;
}

.forgetpw:hover, .havepw:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.seperateline {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #e7e6e6;
  line-height: 0.1em;
  margin: 20px 0 30px 0;
}

.seperateline span {
  background: #ffffff;
  padding: 0 15px;
  font-size: 15px;
  font-weight: normal;
}

.smLogin {
  width: 100%;
  height: 35px;
  border: 1px solid #e7e6e6;
  margin: 5px 0;
  text-align: center;
  background: #ffffff;
  font-size: 13px;
  position: relative;
}

.smLogin:hover {
  border: 1px solid #adadad;
}

.smLogin svg {
  height: 18px;
  position: absolute;
  left: 10%;
  margin-top: -2px;
}

#signupTab {
  display: none;
}

.pwcheck {
  text-align: left; 
  font-size: 14px;
  margin-top: 10px;
  color: #7f7f7f;
}

.pwcheck p {
  margin: 4px 0 0 0;
}

.signup-tc {
  font-size: 13px; 
  color:#7f7f7f; 
  margin: 6px 0; 
  text-align: left;
  line-height: 1.3;
}

.modal-content-resetpw p: first-child {
  font-size: 13px; 
  margin: 30px 0 15px 0;
}

.modal-content-resetpwrv p,.modal-content-resetpwrv-second p {
  font-size: 15px; 
  margin: 20px 0 15px 0;
}

.modal-toggle-on {
  display: block;
}

.checkEmail, .checkPwrd {
  color: #c50000; 
  font-size: 14px; 
  margin-top: 8px;
  text-align: left;
}

.loginForm .checkEmail {
  margin-bottom: 0;
}

.errorBorder {
  border: 1px solid #c50000;
}

.checkCircle {
  margin: auto;
  width: 35px;
  height: 35px;
  fill: #595959;
}

.fa-check-circle {
  font-size: 40px;
  font-weight: 100;
  color: #595959;
}

/*reset password page*/

.resetPW, .resetPW-success {
  width: 80%;
  max-width: 290px;
  margin: auto;
}

.resetPW-success {
  text-align: center;
}

.verifyResult {
  width: 80%;
  text-align: center;
  margin: auto;
}

#resetPW-Form p:first-of-type {
  text-align: left;
}

.resetPW-title, .verifyResult-title, .req-success {
  font-size: 17px;
  font-weight:700;
  margin: 50px 0 20px 0;
  text-align: center;
}

/*success modal*/
#success-modal {
  padding-top: 30vh;

}

#success-modal .modal-content {
  padding: 18px 25px;
  text-align: center;
  width: 250px;
  line-height: 1.5;

}

/* change email modal */
.modalForm-title {
  font-weight: bold;
}

.closeModal {
  color: #404040;
  float: right;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 3px;
  margin-top: -6px;
}

.closeModal:hover {
  opacity: 0.8;
}

.modalForm {
  width: 90%;
  margin: auto;
}

.commentInput {
  border: 1px solid #d0cece;
  width: 100%;
  margin-top: 15px;
}

.button-group {
  text-align: center;
}

.button-group > button {
  margin: 15px 10px 5px 10px;
  border: 1px solid #adadad;
  background-color: #f2f2f2;
  font-size: 15px;
  padding: 4px 8px;
  width: 75px;
  text-align: center;
  color: #404040;
}

/* post tab */
.postWrapper, .postDetail-Wrapper {
  display: flex;
  /*grid-template-columns: auto 35px;*/
  flex-wrap: nowrap;

  margin-top: 12px;
}


.post, .postDetail {
  background-color: rgba(242, 242, 242, 0.5);
  color: #404040;
  padding: 5px 20px;
  padding-right: 0;
  width: 100%;
}


.post:hover {
  background-color: rgba(242, 242, 242, 0.2);
  cursor: pointer;
}

.post:hover + .postAdd { 
  background-color: rgba(242, 242, 242, 0.2);
}

#postList {
  margin-top: 20px;
}

.postNav {
  margin-bottom: -20px;
  text-align: left;
  font-size: 15px;
}

#postList.postClick .post:hover {
  cursor: default;
}


.postTablink {
  cursor: pointer;
}

.post > div, .postDetail > div {
  margin: 8px 0;
}

.postDetail .postLeft, .postDetail .postRight {
  display: block;
}

.postDetail .postMeta .postLeft, .postDetail .postMeta .postRight {
  display: inline-block;
}

.postAdd {
  padding: 10px 0;
    background-color: rgba(242, 242, 242, 0.5);
    width: 35px;
}

.addList {
  font-size: 26px;
  cursor: pointer;
  margin-left: 0px;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox*/
}

.addList:hover {
  opacity: 0.8;
}

.sellPost {
  /*color: #f55353;*/
  color:#0070c0;
  opacity: 0.8;
}

.buyPost {
  /*color: #c3b120;*/
  color:#0070c0;
  opacity: 0.8;
}

.rentPost {
  /*color: #90ab6b;*/
   color:#0070c0;
   opacity: 0.8;
}

.invisible {
  color: rgba(0, 112, 192, 0.8);
}

.postMeta {
  font-size: 15px;
  color: #7f7f7f;
}

.postMsg p {
  margin: 0;
}

.post > div, .postDetail > div {
  display: grid;
  grid-template-columns: 125px auto;
  column-gap: 2%;
  row-gap: 2px;
}

.post > .hide {
  display: none;
}

.postLeft {
 /* width: 150px;*/
  font-weight: 700;
  display: inline-block;
}

.postRight {
  display: flex;
  flex-wrap: wrap;
  row-gap: 2px;
  column-gap: 7px;
}

/*.postDetail .postLeft, .postDetail .postRight {
  display: block;
}*/

.postRight span {
  display: inline-block;
  margin-right: max(18px,2%);
}

.postRight .hide {
  display: none;
}

.postMeta .postLeft {
  font-weight: 400;
}

/* pagination in post tab */

#postList .pagination {
  margin: 50px 0 -32px 0;
}

/* account settings */
.settingsTab {
  margin: 18px 3%;
}

.settingsTab > div:not(:first-child) {
  display: grid;
  grid-template-columns: max(12%,100px) auto;
  gap:20px;
  margin-bottom: 30px;
}

.rightCol {
  display: flex;
  flex-wrap: wrap;

  row-gap: 20px;
}

.settingsTab .settingsCat {
  font-weight: 700;
  font-size: 16px;
  margin: 15px 0 30px 0;
}
.controlCol {
  font-weight: 700;
  width: 100%;
  text-align: left;
}

.valueCol {
  width: 300px;
  text-align: left;
  color: #7f7f7f;
  margin-right: 25px;
  overflow-wrap: break-word;
}

.actionCol {
  display: flex;
  gap:20px;
  width: 195px;
}

#changeEmailTxt {
  line-height: 1.3;
  color: #404040;
  margin: 10px 0;
  text-align: justify;
  font-size: 15px;
}

#changeEmail-modal .modal-content {
  padding: 25px 15px 20px 15px;
  width: min(450px,100%);
}

#changeEmailRow {
  margin-top: -15px;
  display: none;
}

.valueCol > input[type="email"] {
  width: 255px;
}

.newEmail {
  text-align: center;
  margin: 15px 0 10px 0;

}

#newEmail {
  width: 100%;
}
#newEmailErr {
  color: #c50000;
  margin-top: 10px;
  font-size: 14px;
}

/*help*/
.helpContent-wrapper {
  padding:0 5%;
}

.helpSection-wrapper {
  display: grid;
  grid-template-columns: max(25%,150px) auto;
  text-align: left;
}
.helpSection {
  font-size: 18px;
  border-bottom: 1px solid #e7e6e6;
  padding-bottom: 5px;
  color: #595959;
  margin-top: 25px;
  font-weight: 500;
}
.helpTitle {
  cursor: pointer;
  color: #595959;
  font-size: 17px;
  font-weight: 700;
  margin: 20px 0px 15px 0;

}

.helpTitle:hover {
  opacity: 0.8;
}

/*.helpTitle:hover {
  color: #000000;
}*/
.helpContent {
  font-size: 17px;
 /* padding-left: 1.2%;*/
  padding-right: 1.2%;
  padding-bottom: 5px;

}

.helpContent p {
  margin: 5px 0px 15px 0px;
 /* color: #7f7f7f;*/
}
/*.helpTitle:after {

  font-size: 9px;
  content: '\25E2';
  display: inline-block;
  float: right;
  color: #7f7f7f;

  vertical-align: middle;
  margin-right: 0;

}*/
.helpExpand {
  font-weight: 700;
}
/*.helpExpand:after {
  content: '\25E4';
}*/
.helpImg {
  width: 85%;
  display: block;
  margin: 15px 0;
}
.helpNote {
  font-size: 15px;
  color: #595959;
}

#link-agent-ranking {
  color: #0070c0;
  cursor: pointer;
}


/*about*/

.aboutSection {
  font-size: 18px;

  padding-bottom: 5px;
  color: #595959;
  margin-top: 25px;
  font-weight: 700;
  text-align: center;
}

.aboutContent {
  font-size: 16px;
  padding: 0 5%;
}

/*data privacy*/

.privacyContent p {
  margin: 10px 0;
}

#data-privacy {
  border-collapse: collapse;
  margin: 10px 0;
  width: 100%;
}

#data-privacy td, #data-privacy th {
  border: 1px solid #d0cece;
  padding: 5px;
  text-align: left;
}
#data-privacy th {
  white-space: nowrap;
}

.privacy-list {
  list-style-type: square;
  padding-left: 0px;

}

.reviewGuide-list {
  list-style-type: square;
  padding-left: 0px;
  list-style-position: inside;
}

.privacy-number {
  padding-left: 0;
}

.privacy-number > li {
  list-style-position: inside;
  margin-bottom: 10px;
}
/*support*/
.supportSection {
  display: flex;
  column-gap: 15%;
  margin: 25px 0 30px 0;
}

.supportTitle {
  font-size: 16px;
  font-weight: bold;
  width: 150px;
}

.supportContact {
  font-size: 16px;
  color: #595959;
}
/*footer*/

.footer {
  padding: 0 20px;
  width: 100%;
  height: 70px;
  background-color: #595959; 
}

.sm-icon-container {
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 20%;
  border: none;
  text-align: center;
  display: inline-block;
  padding: 2px;
  margin-right: 6px;
  cursor: pointer;
  }

.sm-icon {
  width: 15px;
  height: 15px;
  fill: #595959;
}

#twt {
  transform: translateY(1px);
}

.footer-nav-container {
  display: flex;
  gap:10px;
  margin: 25px auto;
}

/*.sm-footer {
  text-align: center;
  padding: 3px;
  border-radius: 20%;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  background: white;
  color: #595959;
  font-size: 13px;
}*/

/*.socialmedia {
  transform: translateY(22px);
}*/

.copyright {
  font-size: 13px;
  color: white;
  transform: translateY(4px);
}

.footernav {
  display: grid;
  grid-template-columns: auto 280px;
}

.footer-nav-link-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap:3%;
  padding-top: 20px;
}

.footer-nav-link {
  text-align: center;
  margin: 0 10px;
  padding: 5px;
}

.footer-nav-link a {
  color: white;
  font-size: 14px;
  width: 25%;
}

/*blog*/

.blog-header {
  padding: 24px max(5.6%,30px) min(3%,50px) max(5.6%,30px);
  display: flex;
  flex-wrap: wrap;
  gap:15px;
  justify-content: space-between;
}

.blog-search {
  width: 321px;
  display: flex;
  align-items: center;
}

#blog-search, #blogCat-search {

  width: 100%;
  height: 28px;
  margin-right: 10px;
  border-radius: 3px;
}

#blog-search:focus, #blogCat-search:focus {
  border-color: #adadad; /* Change to the desired border color when input is focused */
}

#blogSearchBtn, #blogCatSearchBtn {
 cursor: pointer; 
}

.bc-ul {
  margin: 8px 0;
  line-height: 1.5;
  list-style-type: none;
  font-size: 16px;
  padding: 0;
  text-align: left;
}

.bc-ul * {
  display: inline;
}

.bc-ul a,
.post-nav a {
  color: #0070c0;
}

.bc-arrow {
  margin-left:5px;
  margin-right: 5px;
}

.bc-title {
  color: #404040;
}

.post-title {
  margin-top: 10px;
}

.post-content h1 {
  font-size: 24px;
  font-weight: 700;
}

.post-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0px;
}

.post-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: -5px;
}

.post-content {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: auto 320px;
  grid-gap: 3.5%;
  text-align: left;
  color: #404040;
}

.post-author {
  display: flex;
  align-items: center;
}

.author-name-container {
  margin-left: 10px;
  font-size: 14px;
}


.recent-post-cover .author-name-container,
.blog-post-title .author-name-container,
.cat-post-title .author-name-container {
  font-size: 13px;
}

.author-name {
  font-weight: 700;
}

.author-pic {
  border-radius: 50%;
  object-fit: cover;
  width: 32px;
  height: 32px;
}

.author-pic-link {
  display: flex;
  align-items: center;
}

.post-date {
  color: #7f7f7f;
  line-height: 1.5;
}

.post-text {
  line-height: 1.6;
  font-size: 17px;
}

.post-text a {
  color: #0070c0;
}

.post-text sup {
  color: #0070c0;
  font-size: 13px;
}

.post-text note {
  font-size: 15px;
  color: #7f7f7f;
  display: block;
  margin-top: -8px;
}

.center-quote {
  line-height: 1.4;
  margin-left: 20px;
  margin-right: 20px;
}

.infograph {
  text-align: center;
}

.infograph img {
  width: 65%;
}

.post-text q::before {
  left: -20px; /* Adjust the value to position the opening quote symbol */
  top: -15px;
}

.post-text q::after {
  right: -20px; /* Adjust the value to position the closing quote symbol */
  bottom: -20px;
}

.post-text q {
  font-size: 22px;
  color: #0070c0;
  position: relative;
}

.post-text q::before,
.post-text q::after {
  font-size: 40px;
  color: #0070c0;
  position: absolute;
}

.post-img {
  margin: 10px auto;
  width: 100%;
}

.post-side-img {
  background-image:url("/blog/img/building-and-white-wall.webp");
  background-color: #f2f2f2;
  background-position: center;
  background-repeat: no-repeat;
  background-size:cover;
  height: 500px;
  border-radius: 6px;
  text-align: center;
  padding: 28px;
  /*position: fixed;
  top: 0px;
  bottom: auto;
  width: 320px;*/
}

.post-side-img h3 {
  line-height: 1.5;
  color: #404040;
  font-weight: 700;
  font-size: 20px;
  margin: 15px 0;
}

.post-side-img p {
  line-height: 1.5;
  color: #404040;
}


.blog-side-img {
  background-color: #f2f2f2;
  height: 250px;
  text-align: center;
  padding: 28px;
}

.blog-side-img h3 {
  line-height: 1.5;
  color: #404040;
  font-weight: 700;
  font-size: 19px;
  margin: 3px 0;
}

.blog-side-img p {
  line-height: 1.5;
  color: #404040;
}

#blog-side-btn {
  margin:15px 0;
}

.in-article-ads {
  margin: 30px 0;
}

.image-title {
  margin-top: 10px;
  margin-bottom: 10px;
}

.scroll-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  cursor: pointer;
  font-size: 14px;
  color: #7f7f7f;
  padding: 8px 15px;
  border-radius: 10px;
  background-color: rgba(250, 250, 250, 0.9);
  width: 125px;
}

.scroll-top span {
  margin-left: 8px;
}

.post-nav-container {
  margin: 30px 0;
}

.post-nav {
  display: flex;
  border-top: 1px solid #e7e6e6;
  border-bottom: 1px solid #e7e6e6;
  padding: 23px 0;
  font-size: 16px;
}

.post-nav li {
  width: 50%;
  list-style-type: none;
  padding-right: 10px;
}

.post-nav span {
  display: block;
}

.post-nav-right {
  text-align: right;
}

.post-nav-name {
  color: #404040;
  line-height: 1.5;
  font-weight: 700;
  padding-top: 5px;
}

.post-side-btn {
  width: 190px;
  height: 45px;
  background-color: #0070c0;
  margin: 25px auto;
  border: none;
  color: white;
  text-align: center;
}

.recent-post {
  margin-top: 30px;
  text-align: left;
}

.recent-post-name {
  font-weight: 700;
}

.recent-post-row, .cat-post-row, .blog-post-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap:20px;
  padding-top: 5px;
  padding-bottom: 30px;
}

.recent-post-row {
  padding-bottom: 0px;
}

.recent-post-cover {
  border: 1px solid #e7e6e6;
  height: 380px;
  display: grid;
  grid-template-columns: auto;
  box-sizing: content-box;
}

.cat-post-cover {
  border: 1px solid #e7e6e6;
  height: 465px;
  display: grid;
  grid-template-columns: auto;
  box-sizing: content-box;
  text-align: left;
}

.blog-post-cover {
  border: 1px solid #e7e6e6;
  height: 505px;
  display: grid;
  grid-template-columns: auto;
  box-sizing: content-box;
  text-align: left;
}

.blog-pagi, .blog-cat-pagi {
  margin: 0px;
}

.recent-post-img, .cat-post-img, .blog-post-img {
  height: 200px;
}

.recent-post-img img, .cat-post-img img, .blog-post-img img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.recent-post-title {
  padding: 12px 22px;
  height: 180px;
  text-align: left;
}

.recent-post-title p {
  margin: 8px 0;
}

.cat-post-title {
  padding: 5px 25px 10px 25px;
  height: 270px;
}

.blog-post-title {
  padding: 5px 25px 10px 25px;
}

.blog-post-cat {
  border-bottom: 1px solid #e7e6e6;
  padding: 10px 0;
  color: #adadad;
  font-size: 13px;
}

.blog-post-cat a {
  color: #7f7f7f;
}

.blog-side-post {
  height: 465px;
  border-radius: 6px;
  border: 1px solid #e7e6e6;
  padding: 5px 18px;
  margin-bottom: 25px;
}

.blog-side-cat {
  height: 420px;
  border-radius: 6px;
  border: 1px solid #e7e6e6;
  padding: 5px 18px;
  margin-bottom: 25px;
}

.blog-side-post h3,
.blog-side-cat h3 {
  font-size: 16px;
  color: #404040;
  font-weight: 700;
}

.blog-side-cat h4 {
  color: #0070c0;
  font-weight: normal;
  margin: 2px 0px 15px 0px;
  font-size: 16px;
}

.blog-side-post ul,
.blog-side-cat ul {
  padding: 0;
}

.blog-side-post li,
.blog-side-cat li {
  list-style-type: none;
}

.blog-side-post img {
  height: 50px;
  object-fit: cover;
  width: 70px;
}

.side-post-container {
  display: grid;
  height: 50px;
  grid-template-columns: 75px auto;
  align-items: center;
  margin-bottom: 15px;
}

.side-post-container h4 {
  font-size: 15px;
  color: #404040;
  font-weight: normal;
  margin: 0px 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-seperate-line {
  height: 15px;
  border-top: 1px solid #e7e6e6;
}


.post-cat-small {
  font-size: 15px;
    display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-cat-small a {
  color: #0070c0;
}

.post-title-big {
  font-size: 17px;
  line-height: 1.5;
  height: 55px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
  margin-top: 15px;
}

.post-title-big a {
  color: #0070c0;
}

.post-title-small {
  font-size: 18px;
  line-height: 1.3;
  height: 75px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-preview {
  font-size: 16px;
  line-height: 1.5;
  height: 120px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px 0 15px 0;
}

.post-preview a {
  color: #404040;

}

.post-title-small a {
  color: #404040;
}

.recent-post-author {

}

.video-wrapper {
  text-align: center;
}

.blog-video {
  line-height: 1.2;
  margin-bottom: 18px;
}

.blog-video h4,
.blog-video span {
  font-size: 14px;
  font-weight: normal;
  display: inline;
}

.subtitle-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap:15px;
  column-gap: 30px;
}

.share-blog {
  margin-right: 30px;
}

.share-blog span {
  font-size: 14px;
  font-weight: 700;
  margin-right: 10px;
  color: #595959;
}

.share-blog a {
  margin-left: 6px;
  margin-right: 6px;
  font-size: 20px;
  cursor: pointer;
}

#canvas {
  margin-top: 35px;
}

#canvas .domain {
  display: none;
}


.chart-tooltip {
  position: absolute;
  text-align: center;
  width: 80px;
  height: 20px;
  padding: 2px;
  font: 13px sans-serif;
  background: rgba(231, 230, 230, 0.8);
  border: 0px;
  border-radius: 3px;
  pointer-events: none;
  color: #404040;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.chart-source {
  font-size: 14px;
  margin-bottom: 30px;
}

.chart-note {
  color: #595959;
  margin-bottom: 30px;
}





  #cat-post-title {
    font-size: 18px;
  }

  #cat-post-preview {
    font-size: 16px;
  }

  #cat-post-cover {
    height: 500px;
  }

  #cat-post-title {
    height: 300px;
  }

  .blog-cat-banner {
    height: 80px;
    width: 100%;
  }

  .blog-cat-banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  #cat-name {
    margin-bottom: 10px;
    font-size: 22px;
  }

  #reference-list h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
  }

  #reference-list ol {
    font-size: 15px;
    margin-top: 5px;
    padding-left: 15px;
  }

  .side-ads {
    margin-top:25px;
    text-align: center;
  }

  .bottom-ads {
    margin-top: 30px;
  }

/* Responsive page */

@media only screen and (max-width: 1570px) {
  .filter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*column-gap: 100px;*/
  }
  #agentSearch .filterfield {
    grid-template-columns: 80px auto;
  /*flex-direction: row;    
  justify-content:space-between;*/
  }

  #agentSearch .filtername {
    align-self: center;
    width: 75px;
  }

  #postSearch .filterfield {
    grid-template-columns: 110px auto;
  }

  #postSearch .filtername {
    width: 110px;
  }

  .search-button-wrapper {
    /*grid-column-end: -1;*/
    margin: 0;
  }
}

@media only screen and (max-width: 1570px) {
  .svcAddr-wrapper {
    grid-template-columns: auto;
  }

  #service, #svcAddr-review, #reviewerName, #reviewerEmail {
    width: 392px;
  }

  .serviceAddress {
    align-self: auto;
  }
}

@media only screen and (max-width: 1275px) {
  .blog-post-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 1270px) {
  /*.proInfo-grid {
    grid-template-columns: auto;
  }*/

  .proInfo-grid .proInfo-label {
    margin-bottom: 3px;
  }

}

@media only screen and (max-width: 1150px) {
#postSearch .filter {
  grid-template-columns: repeat(3, 1fr);
}

}

@media only screen and (max-width: 1080px) {
  .post-content {
    grid-template-columns: auto;
    row-gap: 10px;
  }

  .blog-pagi {
    margin-top: 0px;
    margin-bottom: 15px;
  }

  .blog-post-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .post-side-img {
    height: auto;
    background-image: none;
    padding: 15px 28px;
  }

  .post-side-btn {
    margin: 10px auto;
  }

  .bottom-ads {
    margin-bottom: 25px;
  }

  }

@media only screen and (max-width: 1040px) {
.agentProfileContent {
  grid-template-columns: auto;
  row-gap: 40px;
}
}

@media only screen and (max-width: 1024px) {
#agentSearch .filter {
  grid-template-columns: repeat(3, 1fr);
}
.nav a {
  margin:0 2px;
}

.footer-nav-link-container{
  gap:5px;
}

}

@media only screen and (max-width: 980px) {


  .cat-post-row {
    grid-template-columns: repeat(2, 1fr);
  }

  }

@media only screen and (max-width: 935px) {
.footernav {
  grid-template-columns: auto;
  gap:20px;
}

.footer-nav-container {
  margin: 0px auto;
}

.footer {
  height: 110px;
}
}

  @media only screen and (max-width: 880px) {
    .blog-post-row {
    grid-template-columns: repeat(2, 1fr);
    }
  }

  @media only screen and (max-width: 868px) {
#postSearch .filter {
  grid-template-columns: repeat(2, 1fr);
}



.agentVideo-Container {
  text-align: center;
}

.contactForm-grid {
  grid-template-columns: 120px auto;
}
/*.main {
  margin-bottom: 45px;
}*/

.contactForm-grid {
  margin-bottom: 20px;
}

#licenseDes {
  width: 285px;
}

}

  @media only screen and (max-width: 800px) {
    .post-img {
      margin: 5px auto;
    }

    .recent-post-row {
      grid-template-columns: auto;
    }

    .recent-post-cover {
      height: 200px;
      grid-template-columns: 300px 1fr;
    }

    .post-title-small {
      height: 100px;
    }

    .recent-post-title {
      padding-top: 15px;
    }

    .post-content h1 {
      font-size: 22px;
    }

    .post-content h2 {
      margin: 10px auto 5px;
      font-size: 20px;
    }

    .post-content h3 {
      font-size: 18px;
      margin-bottom: -10px;
    }


  }



@media only screen and (max-width: 780px) { 

#agentSearch .filter {
  grid-template-columns: repeat(2, 1fr);
}

.nav a{
min-width: 95px;
}

}

@media only screen and (max-width: 700px) { 
.footer-nav-link-container {
  gap:5px;
}
}


@media only screen and (max-width: 680px) { 
#licenseDes {
  width: 180px;
}
}

@media only screen and (max-width: 660px) { 
  .serviceDetail {
  grid-template-columns: auto;
}
.name-addr {
  grid-template-columns: auto;
}

.footer {
  height: 140px;
}

.footer-nav-link-container {
  grid-template-columns: repeat(4, 1fr);
}
}


@media only screen and (max-width: 629px) { /*mobile view*/

body, input, textarea {
text-align: left;
}
/*adjust profile dropdown*/
.username-icon {
  padding: 0px;
}

.username-icon span {
  display: none;
}

.profile-dropdown {
  top:58px;
}

.header {
  grid-template-columns: 1fr 110px 1fr;  /*center the small logo 052223*/
  padding-bottom: 8px;
}

.header .logo {
  display: none;
}
.header .logo-small {
  display: block;
  text-align: center;
}

.header .bar-menu {
  display: block;
  text-align: left;
}

.main .nav {
  display: none;
}

.maincontent {
  border-top:none;
  padding-bottom: 10px;
  padding-top: 0;
}

.settingsTab {
  margin: 0;
}

.stepwrapper span {
  margin-top: 15px;
}

.lscreen {
  display: none;
}


#loginModal {
  background-color: #ffffff;
}

.agentVideo-iframe {
  width: 316px;
  height: 237px;
  margin-right: 0;
}

/*.agentPic {

  margin:auto;
  margin-bottom: 30px;
}*/
.postDetail-Wrapper {
  margin-top: 10px;
}

.helpImg {
  width: 100%;
}

#message {
  width: 100%;
}

.grid-box {
  grid-template-columns: auto;
  row-gap: 15px;
}

.leftCol {
  width: 250px;
}

#editProfile .profileOption {
  margin-bottom: 10px;
}

.profileNav span {
  margin-left:0;
  margin-top: 15px;
}

.postNav span {
  margin-left: 0;
}

.profileTab {
  margin: 10px 0;
}

.helpSection {
  margin-top: 15px;
}

.helpTitle {
  font-size: 15px;
}

.helpSection {
  font-size: 16px;
}

.scroll-top {
  padding: 10px 15px;
  left: 50%;
  transform: translateX(-50%);
}

.infograph img {
  width: 100%;
}

}


  @media only screen and (max-width: 615px) {
    .blog-video iframe {
      width: 100%;
    }

    .blog-post-row {
      grid-template-columns: repeat(1, 1fr);
    }

    .blog-header {
      justify-content: center;
      padding-left: max(5.6%,30px);
      padding-right: max(5.6%,30px);
    }

    .recent-post-cover {
      height: 100px;
      grid-template-columns: 150px 1fr;
    }

    .recent-post-img {
      height: 100px;
    }

    .recent-post-author {
      display: none;
    }


    .post-title-small {
      height: 42px;
      font-size: 16px;
      -webkit-line-clamp: 2;
    }

    .recent-post-title {
      padding-top: 8px;
    }

    .post-nav {
      font-size: 15px;
    }

    .cat-post-row {
    grid-template-columns: repeat(1, 1fr);
  }

    .video-wrapper {
      width: 100%;
    }

    .blog-search {
      width: 100%;
    }

  }

@media only screen and (max-width: 610px) { 
#licenseDes {
  width: 285px;
}

.footer {
  height: 135px;
}

.footer-nav-link-container {
  grid-template-columns: repeat(4, 1fr);
}

}

@media only screen and (max-width: 580px) {
 /* body, input, textarea, button, select { 
    font-size: 15px;
  }

  .post, .postDetail {
    font-size: 15px;
  }*/


  .form-section-title {
    font-size: 16px;
  }

.smallfont {
  font-size: 14px;
}

.req-tc {
  font-size: 14px;
}

#postSearch .filter {
  grid-template-columns: repeat(3, 1fr);
}

#postSearch .filterfield {
grid-template-columns: auto;
}

#data-privacy th {
  white-space: normal;
}

.postNav {
  display: flex;
  justify-content: space-between;
}

.postNav span {
  margin-right: 0;
}


.supportSection {
  column-gap: 5%;
}


}

@media only screen and (max-width: 530px) {
.footer-nav-link-container {
  grid-template-columns: repeat(3, 1fr);
}
}

@media only screen and (max-width: 518px) {
#agentSearch .filter {
  grid-template-columns: repeat(3, 1fr);
}

#agentSearch .filterfield {
grid-template-columns: auto;
}

.agentPic {
  width: 100%;
  height: 100%;
}

.agentVideo-iframe {
  width: 100%;
}

.agentBasicInfo {
    flex-wrap: wrap;
}

.agentPic-wrapper {
  margin: auto;
  margin-bottom: 10px;
}

.mobile-hide {
  display: none;
}

.settingsTab > div:not(:first-child) {
  grid-template-columns: auto;
}

}

@media only screen and (max-width: 495px) {

  #service, #svcAddr-review, #reviewerName, #reviewerEmail {
    width: 100%;
  }

.post > div, .postDetail > div {
  grid-template-columns: auto;
}


#svcAddr-review {
  width: 100%; 
}

.city-state-zip {
  width: 100%;
}


#postSearch .filter {
  grid-template-columns: repeat(2, 1fr);
}

#req-fullname, #email, #phonenumber {
  width: 100%;
}

span.currentPage {
  display: inline-block;
}

li.pageNum {
  display: none;
}

}

@media only screen and (max-width: 480px) {
.form-field-value {
  grid-template-columns: auto;
}

.formfield {
  width: auto;
}

#agentSearch .filter {
  grid-template-columns: repeat(2, 1fr);
}

.filter {
  column-gap: 15px;
}

.agentList {
  grid-gap: 10px;
  margin-top: 10px;
}

.contactForm-grid {
  grid-template-columns: auto;
}

.contactForm-grid {
  margin-bottom: 12px;
}

#licenseDes {
  width: 180px;
}

}
@media only screen and (max-width: 450px) {
  .supportSection {
    display: grid;
    grid-template-columns: auto;
    row-gap: 5px;
  }
}

@media only screen and (max-width: 435px) {

.svcAddr-wrapper label {
    display: block;
    margin-bottom: 3px;
  }

#svcCity, #svcCity-review {
  width: 115px;
}



.profileNav span {
  margin-right: 12px;
}

.footer {
  height: 180px;
}

.footer-nav-link-container {
  grid-template-columns: repeat(2, 1fr);
}


}

@media only screen and (max-width: 395px) {
  .main {
    padding-left: 15px;
    padding-right: 15px;
  }

  .profile-dropdown {
    right: 15px;
  }

  .header {
    padding-left: 15px;
    padding-right: 15px;
  }

  .blog-header {
    padding-left: 15px;
    padding-right: 15px;
  }

  .adsbygoogle {
      margin-left: -15px;
      margin-right: -15px;
  }

  .inputCol-r {
    column-gap: 20px;
  }

  #licenseDes {
    width: 180px;
  }

  .valueCol {
    width: 250px;
  }

}


@media only screen and (min-width: 320px) {
.agentList {
  grid-template-columns: repeat(1, 1fr);
}
.cardPic img {
  object-position: 50% 30%;
}
}


@media only screen and (min-width: 360px) {
.agentList {
  grid-template-columns: repeat(2, 1fr);
}
}

@media only screen and (min-width: 519px) {
/*.agentArea > span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}*/
}

@media only screen and (min-width: 630px) {
.bar-nav {
  display: none;
}

.main {
  display: block;
}

.agentList {
  grid-template-columns: repeat(3, 1fr);

}

}



@media only screen and (min-width: 840px) {
.agentList {
  grid-template-columns: repeat(4, 1fr);
}
}


@media only screen and (min-width: 1080px) {
.agentList {
  grid-template-columns: repeat(5, 1fr);
}
}

@media only screen and (min-width: 1271px) {
.agentList {
  grid-template-columns: repeat(6, 1fr);

}
}

@media only screen and (min-width: 1480px) {
.agentList {
  grid-template-columns: repeat(7, 1fr);

}
}

@media only screen and (min-width: 1680px) {
.agentList {
  grid-template-columns: repeat(8, 1fr);
}
}




