#main_menu, body:not(.home) header, body:not(.home) .header_social {
    background: rgba(55, 81, 114);
}
#main_menu > li > a:after {
  background: #2d2823;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
  background: #2d2823;
}
.dropdown-menu {
  background:#2d2823;
  border: none;
}
.btn-primary {
  background: #2d2823;
}
.intro-section h1 {
  color: #355072;
}
.services-section .cta-image { 
  outline: 1px solid #355072; 
}
.featured_listings:after, .custom-listing-wrapper .listing-title {
  background: #355072;
}
.view-all-listings-btn.btn {
  background: #cdd2cb;
}
footer, .second-section-row {
  background: #2d2823;
}
.services-section h1.floating-title-text, .floating-title-text {
  color:#355072;
}

.custom-grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 0px;
}
.custom-grid-item {
  padding: 140px 20px;
  text-align: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  width: 100%;
}
.custom-grid-item a {
  position: relative;
  display: block;
  z-index: 9;
  color: #fff;
  border: 1px solid #fff;
  text-decoration: none;
  width: 150px;
  margin: auto;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  padding: 10px;
  font-size: 15px;
  text-transform: uppercase;
}
.custom-grid-item h2 {
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 9;
}
.custom-grid-item:before {
  content: '';
  position: absolute;
  background: rgba(53, 80, 114, 0.3);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.3s ease;
}
.custom-grid-item:nth-child(1) {
  background: #17181a;
} 
.custom-grid-item:nth-child(2) {
  background: url(https://s3.amazonaws.com/store24-ubertor-com/hooperrealty.ourubertor.com/content/image/burnaby_63.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}
.custom-grid-item:nth-child(3) {
  background:url(https://s3.amazonaws.com/store24-ubertor-com/hooperrealty.ourubertor.com/content/image/tri-cities_62.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}
.custom-grid-item:nth-child(4) {
  background:url(https://s3.amazonaws.com/store24-ubertor-com/hooperrealty.ourubertor.com/content/image/new-westminster_61.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}
.custom-grid-item:nth-child(5) {
  background:url(https://s3.amazonaws.com/store24-ubertor-com/hooperrealty.ourubertor.com/content/image/richmond_60.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}
.custom-grid-item:nth-child(6) {
  background:url(https://s3.amazonaws.com/store24-ubertor-com/hooperrealty.ourubertor.com/content/image/vancouver_64.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.custom-grid-item:hover a{
  opacity: 1;
}
.custom-grid-item:hover:before {
  background: rgba(0,0,0,0.2);
}


.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus, .detail-navigation .nav, .content_form .submit-btn .submit, #contact .submit-btn .submit {
background:  rgba(55, 81, 114);
}
.summary .price {
  color: #375172;
}

.footer-links li:last-child {
  display: none;
}
.footer-address .realtor_address .AGENT_ONE_OFFICE_ADDRESS2, .footer-address .realtor_address .AGENT_ONE_PROVINCE {
  display: inline-block;
}


@media screen and (max-width: 992px) {
  .custom-grid-container {
    grid-template-columns: repeat(2, 1fr)
;  }
}
@media screen and (max-width: 768px) {
  .custom-grid-container {
    grid-template-columns: repeat(1, 1fr)
;  }
}

@media screen and (max-width: 768px){
.navbar-default .navbar-toggle {
  border-color: #355072;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color:#355072;
}
#section_main_menu #main_menu, .flex-vertical-align, body:not(.home) .navbar-header.logo-wrap {
  background: #355072;
}
}



@media screen and (max-width: 1200px) {
  #abt-text h1 {
    font-size: 25px;
  } 
  #abt-text p {
    font-size: 14px;
    margin-bottom: 30px;
  }
  body .row {
    margin-left: 0;
    margin-right: 0;
  }
}



a.nav-expander {
  background: #375172;
}
#abt-text h1 {
  color: #375172;
  font-weight: 400 !important;
}
#cnt-box{
  background: #042c54 !important;
}
.txtbx h2 {
  color: #375172 !important;
  font-weight: 400 !important;
}
.footer-wrap .footer-row .col-xs-12.col-sm-4 h1, .footer-wrap .map-title, .icns a {
  color: #375172 !important;
}

body .row {
  margin-left: 0;
  margin-right: 0;
}


@font-face {

  font-family: 'gotham book';
  src: url(https://s3.amazonaws.com/store24-ubertor-com/hooperrealty.ourubertor.com/content/document/84.otf);

}

footer.footer-wrap {
  padding-top: 0;
}
footer.footer-wrap .footer-row {
  background: #fff;
  padding-top: 70px;
}
.new-footer-area {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 1fr;
  grid-gap: 30px;
}
#new-footer-menu {
  list-style: none;
  padding: 0;
  display: block;
  margin-top: 30px;
}
#new-footer-menu li a {
  font-family: 'gotham book';
  color: #002855;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 0;
  display: block;
}
.new-footer-area .brokerage-group, .new-footer-area .the-address {
  color:#002855;
  margin: 0;
  padding-left: 20px;
    font-family: 'gotham book';
  font-size: 14px;
}
#insertSocialMediaHere h3 {
   color:#15009b;
  font-family: 'gotham book';
  text-transform: capitalize;
  font-weight: 700;
  font-size: 28px;
}
#insertSocialMediaHere a {
  display: block;
  color: #002855;
    font-size: 29px;
}
#insertSocialMediaHere .FACEBOOK_LINK, #insertSocialMediaHere .LINKEDIN_LINK, #insertSocialMediaHere .INSTAGRAM_LINK{
  display: inline-block;  
  font-size: 28px;
  color:#365073;
  padding: 10px 15px;
}
#insertSocialMediaHere .fa.fa-envelope-o, #insertSocialMediaHere .fa.fa-phone {
  display: none;
} 
#insertMapHere iframe {
  height: 100px !important;
  margin-bottom: 25px;
}
#insertMapHere .map-title {
  display: none;
}
.footer-wrap .footer-row  {
  display: none;
}
.new-footer-area {
  padding: 50px 0;
}
.footer-wrap {
  background: #fff !important;
}



footer .container-wrap h1, footer .container-wrap p, footer p, .row.copyright p, footer .navbar-nav li a {
  color: #002855 !important; 
}
nav {
  background: #fff;
}
#side-menu {
  padding: 50px 25px;
}
#main_menu>li:first-child>a {
  border-top: 0;
}
#main_menu li a {
  color: #171718;
  border-bottom: 1px solid #e5e5e5;
  text-transform: uppercase;
  font-size: 14px;
  font-family: 'gotham book';
  font-weight: 400;
}

@media screen and (min-width: 768px) {
  #main_menu li a {
    text-align: center;
  }
}

.new-footer-area {
  grid-template-columns: 1fr 2fr 2fr 1fr;
  grid-gap: 7em;
}
#insertSocialMediaHere h3 {
  display: none;
}
#insertMapHere iframe {
  height: 120px !important;
  }
#insertSocialMediaHere {
  padding-top: 20px;
}
#insertSocialMediaHere a:nth-child(5) {
    margin-top: 0px;
}


@media screen and (max-width: 992px) {
  .new-footer-area {
    grid-template-columns: 1fr 2fr 2fr 1fr;
    grid-gap: 2em;
  }
  #insertSocialMediaHere .FACEBOOK_LINK, #insertSocialMediaHere .LINKEDIN_LINK, #insertSocialMediaHere .INSTAGRAM_LINK {
    font-size: 20px;
    padding: 5px;
  }
}
@media screen and (max-width: 768px) {
  .new-footer-area  {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-item img {
    max-width: 300px;
    display: block;
    margin: 0 auto;
  }
  .new-footer-area .brokerage-group, .new-footer-area .the-address {
    padding-left: 0;
  }
}
div#cnt-box, a.nav-expander {
  background: #042c54 !important;
}
.popup-custom-form {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background: rgba(0,0,0,0.9);
  overflow: auto;
  display: none;
}
.popup-custom-form h3 {
  text-align: center;
  font-size: 45px;
  color: #fff;
  font-weight: 700 !important;
  padding-top: 100px;
}
.popup-custom-form .close-btn {
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  display: block;
  max-width: 1170px;
  margin: 0 auto;
  text-align: right;
}
.popup-custom-form input, .popup-custom-form textarea {
  border-radius: 0px;
}
.popup-custom-form .submit {
  color: #fff;
  margin-left: 15px;
}
#contactInfoHere {
  background: #000;
  color: #fff;
  padding: 50px 35px;
  margin-top: 70px;
}
#contactInfoHere p {
  margin-bottom: 0;
}
#abt-text h1, .txtbx h2 {
  color: #002855 !important;
}

/*New Revisions*/

footer, .row.copyright {
  border: 0px;
}


@media screen and (max-width: 768px) {
  .navbar-header {
    position: absolute;
    top:0;
    z-index: 9999999;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 350px;
    text-align: center !important;
  }
  .home .banner-layout-container h1 {
    font-size: 37px;
  }
  .banner-layout-container p {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .home .banner-layout-container h1 {
    font-size: 30px;
  }
  .banner-layout-container p {
    font-size: 17px;
  }
  .navbar-header  {
    max-width: 100%;
  }
  .navbar-header .nav-contact-wrap {
    max-width: 100%;
    text-align: right !important;
    margin-top: 60px;
  }
  .gridd figure h2 {
    font-size: 18px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

body p, body a, body span, body {
    font-family: 'gotham book' !important;  
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: 'Montserrat', sans-serif;
}
.home .banner-layout-container .btn, a.nav-expander, .outline-btn, .gridd figure figcaption a, .gridd figure figcaption p, .outline-btn2 {
  font-family: 'gotham book' !important;  
}

#abt-text .outline-btn {
  transition: all 0.3s ease-in-out;
}
#abt-text .outline-btn:hover {
  background: #002855;
  color: #fff;
  text-decoration: none;
  border: 1px solid #002855;
}
.home .banner-layout-container .btn {
  transition: all 0.3s ease-in-out;
}
.home .banner-layout-container .btn:hover {
  background: #002855;
}
.featured_listings .carousel-inner .item img {
  width: 100% !important;
  object-fit: initial;
  height: initial !important;
}
.fl-slides .item>a {
  max-width: 1170px;
  margin: 0 auto;
}
.gridd .col-md-4.col-sm-6 {
  overflow: hidden;
  max-height: 411px;
}
.gridd>.col-md-4:nth-child(2)>figure img {
  opacity: 0.8 !important;
}
.gridd>.col-md-4:nth-child(2):hover >figure img {
  opacity: 1 !important;
}
div#cnt-box p, .txtbx p {
  font-style: normal;
}

.description .listing-links .feature {
  display: none;
}

@media screen and (min-width: 768px) {
figure.effect-oscar img {
  min-height: 330px;
  max-height: 330px;
  object-fit: cover;
}  
}

.gridd>.col-md-4:first-child>figure {
  background: url(https://s3.amazonaws.com/store24-ubertor-com/hooperrealty.ourubertor.com/content/image/new-blue-bg_1441.jpg) !important;
}

body.property_search  .banner-home1 {
  padding: 40px 0;
  background: #002855 !important
}
body.property_search  .banner-home1, body.property_search .ex-h, body.property_search a {
  color: #fff;
}
body.property_search .ex-h {
  font-size: 30px;
}
#ajax_result_box_third_line input{
  width: 150px;
  padding: 10px;
  font-size: 14px;
  color: #fff;
  background: #000;
  box-shadow: 0px 0px;
}
body.property_search h2 {
  font-size: 20px;
}
body.properties .featured-listing.widget-container-parent #ganz-featured-listing {
  background: #002855 !important;
  color: #fff;
}
body.properties .featured-listing.widget-container-parent #ganz-featured-listing input::placeholder, body.properties .featured-listing.widget-container-parent #ganz-featured-listing button  {
  color: #000;
}
body.properties .featured-listing.widget-container-parent #ganz-featured-listing  .dropdown-menu {
  background: #fff;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
  background-color: #002855 !important;
  border-color: #002855 !important; 
  color: #fff !important;
}
.pagination>li>a, .pagination>li>span {
  color: #002855 !important; 
}

.nav li a:focus, .nav li a:hover {
    background: 0 0!important;
    color: #002855!important;
}

li.schedule a {
    color: #ffffff;
}

li.schedule {
    background: #002855;
    color: #ffffff;
}
.widget-item.contact_map-widget {
    display: none;
}

.map-description {
    display: none;
}

body.contact .before-content-row .map-title {
    margin-bottom: 100px;
}

p.brokerage-group {
    padding-top: 118px;
}

.navbar-brand, .navbar-nav>li>a {
    color: #000000 !important;
}

/*------------------------------contact page css-------------------*/

.contact-r1 {
    padding-top: 10px;
    padding-bottom: 0px;
}

.contact-r2 {
    padding-top: 15vh;
    padding-bottom: 0px;
}


.contact .breadcrumb-wrap {
    display: none;
}


button, input[type=button], input[type=reset], input[type=submit] {
    background: #e6e6e6;
    color: #ffffff;
    text-shadow: none;
    box-shadow: none;
}

#contact .submit-btn .submit {
    background: #082f5a;
}


.contact .lead-form input {
    border: 2px solid #082f5a!important;
}

button:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    border-color: #082f5a;
    box-shadow: none;
    color: #082f5a;
    background: #ffffff !important; 
}

.contact section#main-content .container {
    margin-top: -60px;
}

#ganz-featured-listing h2.sidebar-title.title.editable.align-center {
    display: none;
}

#listingCarousel .carousel-caption h5 {
    display: none;
}

p.brokerage-group {
    display: none;
}

div#insertSocialMediaHere {
    text-align: center;
}