body.agentGallery {
  font-family: 'Open Sans', sans-serif;
  background-color: #f2f2f2;
  font-size: 12px;
  color: #282828;
}

@-moz-document url-prefix() {
  body.agentGallery fieldset {
    display: table-cell;
  }
}

body.agentGallery a:hover {
  text-decoration: none;
}

body.agentGallery #gallerySettings {
  width: 200px;
  height: auto;
  background-color: #fff;
  color: #666666;
  text-align: center;
  position: absolute;
  top: 101px;
  left: 0;
  z-index: 999;
  cursor: pointer;
}

@media only screen and (max-width: 1024px) {
  body.agentGallery #gallerySettings {
    top: 0;
  }
}

@media only screen and (max-width: 736px) {
  body.agentGallery #gallerySettings {
    top: 183px;
    left: inherit;
    right: 0;
  }
}

@media only screen and (max-width: 568px) {
  body.agentGallery #gallerySettings {
    top: 183px;
  }
}

@media only screen and (max-width: 414px) {
  body.agentGallery #gallerySettings {
    top: 184px;
    right: inherit;
    left: 0;
  }
}

@media only screen and (max-width: 375px) {
  body.agentGallery #gallerySettings {
    width: 184px;
    top: 308px;
    right: inherit;
    left: 0;
  }
}

@media only screen and (max-width: 360px) {
  body.agentGallery #gallerySettings {
    top: 0;
  }
}

body.agentGallery #colorPicker {
  width: 22%;
  display: none;
  padding: 15px;
  background: #fff;
  color: #666666;
  position: absolute;
  top: 140px;
  left: 0;
  z-index: 999;
}

body.agentGallery #colorPicker .table > tbody > tr > td {
  vertical-align: middle;
  border-top: 0;
}

body.agentGallery #colorPicker ul.list-unstyled li {
  margin: 5px 0;
}

body.agentGallery #colorPicker #collapseTwo .btn {
  width: 100%;
  text-align: left;
}

@media only screen and (max-width: 1024px) {
  body.agentGallery #colorPicker {
    width: 100%;
    top: 39px;
  }
}

body.agentGallery .modal h4.modal-title {
  color: #ff9e00;
}

body.agentGallery .modal .modal-body {
  font-size: 15px;
}

body.agentGallery .modal .emailName {
  margin: 15px 0;
}

body.agentGallery .modal .emailName label {
  display: block;
}

body.agentGallery .modal .emailName .form-group {
  width: 49%;
}

body.agentGallery .modal .emailName .form-group input {
  width: 100%;
}

body.agentGallery .container-fluid {
  max-width: 1000px;
  width: 100%;
}

body.agentGallery header {
  min-height: 140px;
  height: auto;
  background-color: #193a84;
  padding: 10px 0;
}

body.agentGallery header span {
  color: red;
  font-size: 20px;
  text-align: center;
  display: block;
  margin-bottom: 20px;
}

body.agentGallery header p {
  color: #fff;
}

body.agentGallery header h5 {
  color: #ff9e00;
}

body.agentGallery header ul li img {
  width: 24px;
  height: 24px;
}

@media only screen and (max-width: 768px) {
  body.agentGallery header .fullWidth {
    width: 100%;
  }
}

@media only screen and (max-width: 360px) {
  body.agentGallery header .fullWidth .subFullWidth {
    width: 100%;
  }
}

body.agentGallery header .header-box2-img {
  min-width: 108px;
  min-height: 108px;
  background: inherit;
  overflow: hidden;
}

body.agentGallery header .header-box2-img img {
  object-fit: cover;
}

body.agentGallery header ul.list-unstyled li {
  border: solid 1px;
  border-color: #2c4c96;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 3px;
}

body.agentGallery header ul.list-unstyled li a {
  color: #6084d4;
}

body.agentGallery header ul.list-unstyled li a svg {
  fill: #1d48a9;
  margin-top: -5px;
}

body.agentGallery header ul.list-unstyled li a .img-responsive {
  height: 23px !important;
}

@media only screen and (max-width: 1024px) {
  body.agentGallery header .list-inline > li {
    padding-bottom: 5px;
  }
}

@media only screen and (max-width: 320px) {
  body.agentGallery header .col-xs-6 {
    width: 100%;
    text-align: center;
  }
  body.agentGallery header h5.primaryContentColor {
    margin-top: 40px;
  }
}

body.agentGallery section.agentContent {
  background: #fff;
  border: solid 1px #666666;
  border-radius: 5px;
  margin: 1em auto;
}

body.agentGallery section.agentContent .btn {
  min-width: 140px;
  width: 100%;
  font-size: 10px;
  color: #fff;
  text-align: left;
  margin-top: 5px;
}

body.agentGallery section.agentContent .btn svg {
  fill: #fff;
}

body.agentGallery section.agentContent .propertyDetails {
  padding: 1em;
  position: relative;
  min-height: 160px;
}

body.agentGallery section.agentContent .propertyDetails p {
  color: #282828;
}

body.agentGallery section.agentContent .propertyDetails .propertyOuterImage {
  width: 282px;
  margin-top: -70px;
  margin-right: 20px;
}

@media only screen and (max-width: 768px) {
  body.agentGallery section.agentContent .propertyDetails .propertyOuterImage {
    margin-top: 0;
  }
}

@media only screen and (max-width: 414px) {
  body.agentGallery section.agentContent .propertyDetails .propertyOuterImage {
    width: 100%;
    margin: 0;
  }
}

body.agentGallery section.agentContent .propertyDetails .propertyOuterImage .propertyInnerImage {
  width: 282px;
  height: 282px;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
}

@media only screen and (max-width: 414px) {
  body.agentGallery section.agentContent .propertyDetails .propertyOuterImage .propertyInnerImage {
    margin: 0 auto;
  }
}

body.agentGallery section.agentContent .propertyDetails .propertyOuterImage .propertyInnerImage div {
  width: 262px;
  height: 262px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
}

body.agentGallery section.agentContent .propertyDetails .propertyInfo h6 {
  color: #193a84;
  background-color: inherit !important;
}

body.agentGallery section.agentContent .propertyDetails .propertyInfo p {
  font-size: 11px;
}

body.agentGallery section.agentContent .propertyDetails .propertyLogo img {
  object-fit: contain;
}

body.agentGallery section.agentContent .propertyListings h5 {
  min-height: 47px;
  background-color: #193a84;
  color: #fff;
  padding: 15px;
}

body.agentGallery section.agentContent .propertyListings h5 svg {
  fill: #fff;
  margin: -3.5px 15px 0 0;
}

@media only screen and (max-width: 667px) {
  body.agentGallery section.agentContent .propertyListings .btn {
    max-width: 140px;
    min-width: 100%;
    font-size: 9px;
  }
}

body.agentGallery section.agentContent .propertyListings .propertyListingsContent {
  padding: 5px 15px;
}

body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox {
  width: 49%;
  border: solid 1px #989898;
  border-radius: 3px;
  padding: 15px;
  margin-bottom: 15px;
  min-height: 267px;
}

body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox:nth-child(odd) {
  margin-right: 2%;
  clear: both;
}

body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox h6 {
  color: #193a84;
  background-color: inherit !important;
}

body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox .brokerProfile {
  background-color: #f2f2f2;
  padding: 10px;
  margin: 15px 0 0;
  border-radius: 5px;
}

body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox .brokerProfile .brokerProfilePic {
  height: 78px;
  width: 60px;
  background-size: contain;
}

body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox .brokerProfile .brokerDetails b {
  font-size: 14px;
}

body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox .brokerProfile .brokerDetails .property-details-info {
  font-size: 12px;
}

@media only screen and (max-width: 568px) {
  body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox .fullWidthBox {
    width: 100%;
  }
  body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox .fullWidthBox img {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 414px) {
  body.agentGallery section.agentContent .propertyListings .propertyListingsContent .propertyListingsBox {
    width: 93%;
    margin: 0 auto 15px !important;
    float: none !important;
  }
}

body.agentGallery footer {
  min-height: 100px; /* 60 */
  margin-top: 15px;
  background-color: #193a84;
  color: #fff;
  padding: 15px 0;
}

span.copyright {
  float: right;
}

span.disclaimer {
  font-size: 10px;
  line-height: 1.2;
  padding: 10px 0 20px 0;
  display: block;
  text-align: left;
}

div.modal-footer div {
  font-size: 11px;
  text-align: center;
  color: #444444;
}