/* Global */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Raleway", Arial, Helvetic, Sans-serif;
  font-size: 14px;
  font-weight: 500;
  background: #ffffff;
  color: #818181;
}
a {
  color: #0057c2;
}
h1 {
  font-size: 26px;
  font-weight: 300;
  color: #3e3e3e;
}
h2 {
  font-size: 30px;
  font-weight: 300;
  color: #3e3e3e;
}
h3 {
  font-size: 24px;
  font-weight: 300;
  color: #3e3e3e;
}
h4 {
  font-size: 18px;
  font-weight: 300;
  color: #3e3e3e;
}
h5 {
  font-size: 16px;
  font-weight: 500;
  color: #3e3e3e;
}
h6 {
  font-size: 14px;
  font-weight: 700;
  color: #3e3e3e;
}
strong,
b {
  font-weight: 700;
}
p.bold {
  font-weight: bold;
}

select,
input[type="text"],
input[type="password"] {
  font-size: 16px;
  color: #3e3e3e;
  padding: 8px;
  width: 100%;
  min-height: 40px;
}
input[type="submit"],
input[type="button"] {
  font-size: 20px;
  padding: 8px 16px;
  color: #3e3e3e;
  margin-top: 16px;
}
textarea {
  width: 100%;
  min-height: 200px;
}

.clear {
  clear: both;
}
.red {
  color: red;
}
.green {
  color: green;
}
.error {
  background-color: red;
  color: white;
  padding: 16px;
  width: 100%;
  margin: 16px 0;
  box-sizing: border-box;
}
.row2 {
  background-color: #e1e1e1;
}
.big-link {
  font-size: 18px;
}

/* Header */
header {
  width: 100%;
  background-color: #e1e1e1;
  position: relative;
}
.header-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px;
}
.header-wrapper h1 {
  width: calc(100% - 40px);
  padding: 0;
  margin: 0;
}
#mobile-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 16px;
  width: 40px;
  font-size: 24px;
  cursor: pointer;
}

/* Footer */
footer {
  width: 100%;
  background-color: #e1e1e1;
}
footer .footer-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 32px 16px;
}

/* Content Area */
.wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
}

/* Sidebar */
aside.sidebar {
  min-width: 243px;
  width: 243px;
  padding-top: 24px;
  vertical-align: top;
  text-align: right;
  background-color: #fff;
  z-index: 1;
  transition: all 0.3s;
}
aside.sidebar.show {
  position: relative;
  left: 0;
}
ul.nav {
  list-style: none;
  margin: 0;
  padding: 24px 0;
}
ul.nav a {
  display: block;
  padding: 20px;
  font-size: 17px;
  text-decoration: none;
  color: #818181;
  text-align: right;
  font-weight: 500;
}
ul.nav a.on {
  background-color: #e1e1e1;
}
/*.agent-image {position: relative; width: 162px; height: 162px; overflow: hidden; border-radius: 50%; border: 1px solid #e1e1e1; margin: 0 auto;}*/
.agent-image {
  position: relative;
  width: 162px;
  margin-left: auto;
  padding-right: 20px;
}
.agent-image img {
  width: 100%;
  height: auto;
}
.agent-info {
  padding: 0 20px 0 10px;
  margin-bottom: 20px;
  line-height: 18px;
  font-size: 12px;
}
.agent-info h4 {
  font-weight: 700;
  line-height: 26px;
}

/* Main Area */
main {
  position: relative;
  padding: 24px;
  width: 1057px;
  vertical-align: top;
  border-left: 1px solid #e1e1e1;
}
main .cover {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  z-index: 99;
}
main .cover.show {
  display: block;
}
.report-info {
  float: left;
  width: calc(100% - 220px);
}
.report-info h2 {
  font-size: 36px;
  padding: 0;
  margin: 0;
  line-height: 40px;
  letter-spacing: 1px;
}
.report-info h4 {
  padding: 0;
  margin: 0;
  line-height: 22px;
}

#search-form {
  max-width: 500px;
}
.search-field p {
  padding: 0;
  margin: 8px 0 4px 0;
  font-size: 16px;
}
.search-field {
  float: left;
  padding-right: 8px;
  min-width: 50%;
}
.search-field.full {
  min-width: 100%;
  float: left;
}

.subscribe-report {
  display: block;
  text-align: center;
  float: left;
  width: 220px;
  font-size: 16px;
  font-weight: 700;
  padding: 8px;
  margin-top: 8px;
  background-color: #e1e1e1;
  border-radius: 8px;
  color: #818181;
  text-decoration: none;
  vertical-align: middle;
}
.subscribe-report i {
  font-size: 24px;
  padding-right: 10px;
}

.tag-boxes {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  flex-wrap: wrap;
  margin-right: -8px;
}
.tag-box {
  flex-grow: 1;
  flex-basis: 20%;
  position: relative;
  background-color: #fcfcfc;
  border-radius: 8px;
  border: 1px solid #e1e1e1;
  margin: 0 8px 8px 0;
  padding: 16px;
  min-width: 150px;
  cursor: pointer;
}
.tag-boxes.cma .tag-box {
  flex-basis: 25%;
}
.tag-box strong {
  font-size: 16px;
  font-weight: 700;
  padding: 0 0 8px 0;
  margin: 0;
}
.tag-box .price {
  font-size: 24px;
  font-weight: 300;
}
.tag-box .change {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 20px;
  font-weight: 500;
}

.share-report {
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
  min-height: 30px;
  margin: 12px 0 24px 0;
}
.share-report a {
  display: inline-block;
  width: 30px;
  line-height: 30px;
  margin: 0 0 0 4px;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  cursor: pointer;
}
.share-report .facebook {
  background-color: #4e598f;
}
.share-report .twitter {
  background-color: #65a2d9;
}
.share-report .google {
  background-color: #cf4c3c;
}
.share-report .linkedin {
  background-color: #4376b1;
}
.share-report .print {
  background-color: #0e6198;
}
.share-report .send {
  background-color: #7b3700;
}

.data-table table {
  background-color: #fcfcfc;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px solid #e1e1e1;
  margin-bottom: 20px;
}
.data-table h2 {
  margin-bottom: 12px;
}
.data-table th,
.data-table td {
  font-size: 16px;
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
}
.data-table th:first-child {
  text-align: left;
}
.data-table .tabletitle {
  line-height: 35px;
}
.data-table .rowtitle {
  text-align: left;
}
.data-table .change {
  font-size: 12px;
}

/* Market Report Specific */
.graph h2,
.commentary h2 {
  display: inline-block;
  margin: 0 12px 0 0;
}
.graph.large {
  width: 100%;
}

.commentary {
  float: left;
  width: 50%;
  margin-bottom: 16px;
}
.commentary h3 {
  margin: 0 0 16px 0;
}
.graph.small {
  float: left;
  width: 50%;
  margin-bottom: 16px;
}

/* Recent Sales & Listings Specific */
.google-map {
  float: left;
  width: 50%;
  min-height: 530px;
}
.properties-table {
  float: left;
  width: 50%;
  height: 500px;
  overflow: scroll;
  overflow-x: hidden;
}
.properties-table form {
  padding-left: 16px;
}
.properties-table table {
  margin-bottom: 24px;
}
.properties-table h3 {
  margin: 0 0 16px 0;
}
#mapSearchResults {
  display: block;
  width: 100%;
  height: 500px;
}
#mapSearchResults h3 {
  line-height: 500px;
  display: block;
  width: 100%;
  text-align: center;
}
.map-icons {
  line-height: 30px;
  padding: 8px 8px 8px 0;
}
.map-icons span {
  padding: 0 16px 0 8px;
}

.properties_highlight {
  background-color: #e1e1e1;
}
.propimg {
  border: 1px solid #e1e1e1;
}
.propimg img {
  max-width: 120px;
}

.myaccount-login,
.myaccount-signup {
  float: left;
  width: 50%;
}

.g-recaptcha {
  margin: 10px 0;
}

.g-recaptcha:after,
.g-recaptcha:before {
  content: "";
  display: block;
  clear: both;
}

@media screen and (max-width: 1200px) {
  .google-map {
    width: 40%;
  }
  .properties-table {
    width: 60%;
  }
}

/* Tablet Landscape */
@media screen and (max-width: 1023px) {
  aside.sidebar {
    position: absolute;
    left: -250px;
  }
  #mobile-menu {
    display: block;
  }
  .responsive-table {
    border: 0;
  }
  .responsive-table thead {
    display: none;
  }
  .responsive-table tr {
    margin-bottom: 10px;
    display: block;
  }
  .responsive-table td {
    display: block;
    text-align: right;
    font-size: 13px;
  }
  .responsive-table td:last-child {
    border-bottom-width: 0px;
    border-right-width: 0px;
  }
  .responsive-table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
  }
  .data-table th,
  .data-table td {
    border-bottom-width: 0px;
  }
  .data-table .rowtitle {
    text-align: right;
  }
}

/* Tablet Portrait */
@media screen and (max-width: 767px) {
  .report-info {
    width: auto;
  }
  .google-map,
  .properties-table,
  .myaccount-login,
  .myaccount-signup {
    width: 100%;
    float: none;
  }
  .google-map {
    margin-bottom: 24px;
  }
  .properties-table {
    height: auto;
    overflow: auto;
  }
  .properties-table form {
    padding-left: 0;
  }
  .modal {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }
}

/* Phone */
@media screen and (max-width: 480px) {
  h1 {
    font-size: 16px;
  }
  select,
  input[type="text"],
  input[type="password"] {
    font-size: 14px;
    min-height: 30px;
  }
  input[type="submit"],
  input[type="button"] {
    font-size: 16px;
  }
  .report-info h2,
  h2 {
    font-size: 26px;
  }
  .commentary h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 16px;
  }
  .header-wrapper,
  main {
    padding: 12px;
  }
  .tag-box .price {
    font-size: 18px;
  }
  .tag-box .change {
    font-size: 16px;
  }
  .num-column,
  .print-column {
    display: none;
  }
  .properties-table {
    font-size: 12px;
  }
  .commentary {
    width: 100%;
  }
  .graph.small {
    width: 100%;
  }
  .share-report span {
    display: block;
    margin-bottom: 8px;
  }
}
.table-outer {
  overflow: auto;
}
.data-table table {
  height: auto !important;
}
