/*
Theme Name:         Realtyspace Silvestri Multifamily
Theme URI:          http://themeforest.net/item/realtyspace-real-estate-wordpress-theme/15965811
Description:        Child theme for Realtyspace
Version:            1.12
Author:             Codefactory47
Author URI:         http://codefactory47.com/
License:            MIT License
License URI:        http://opensource.org/licenses/MIT
Text Domain:        realtyspace
Template:           realtyspace
*/

/*
 * jQuery FlexSlider v2.7.2
 * https://www.woocommerce.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 */
/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  margin: 0 0 60px;
  background: #fff;
  border: 4px solid #fff;
  position: relative;
  zoom: 1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
@-moz-document url-prefix() {
  .loading .flex-viewport {
    max-height: none;
  }
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 40px;
  display: inline-block;
  content: '\f001';
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
  content: '\f002';
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}


.wp-block-embed.wp-embed-aspect-16-9{
    position: relative;
    height: 0;
    padding-top: 56%;
}
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper{
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
}
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe{
    height: 100%;
}
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}
/* end flexslider */
body{
    letter-spacing: .5px;
}
img{
	max-width: 100%;
	height: auto;
}
body .header__row .header__contacts {
    font-size: 21px;
}
body .header__row .header__contacts .header__phone{
    padding-top: 13px;
    font-weight: bold;
}
body .navbar__nav > li {
    margin: 0 0 0 35px;
}
body .navbar--overlay .navbar__row {
    margin: 0;
    padding: 0;
}
body .navbar--overlay .navbar__nav > li > a {
    text-shadow: 0 0 5px rgba(0,0,0,1), 0 0 15px rgba(0,0,0,1), 0 0 13px rgba(63,82,112,0.8), 0 0 30px rgba(63,82,112,0.8);
}
body .navbar--overlay.header-fixed .navbar__nav > li > a {
    text-shadow: none;
}
body .navbar--overlay .navbar__nav > li.icon{
    margin-top: 0;
    max-width: 24px;
}
body .navbar--overlay .navbar__nav > li.icon a{
    padding: 5px 0;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    font-size: 0;
    width: 24px;
    height: 24px;
}
body .navbar--overlay .navbar__nav > li.linkedin{}
body .navbar--overlay .navbar__nav > li.linkedin a{
    background-image: url('/wp-content/uploads/2022/02/linkedin_84.png');
}
body .worker--index .worker__link .linkedin {
    background-image: url(/wp-content/uploads/2022/02/linkedin_84.png);
    background-color: black;
    width: 20px;
    height: 20px;
    background-size: contain;
    display: inline-block;
    border: 1px solid #000;
    margin-bottom: -3px;
}
body .navbar--overlay .navbar__brand{
    background-image: url(/wp-content/uploads/2019/05/SILVESTRI-SFMF-White_430x145.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 1px;
}
body .navbar--overlay .navbar__brand-logo{
    visibility: hidden;
}
body .navbar--overlay.header-fixed .navbar__brand-logo{
    visibility: visible;
}
#hero .wpb_wrapper{
}
#hero #headerVideo {
    position: relative;
    margin: 0 -15px;
    padding-top: 40px;
}

.header__bov,
.header__questionnaire{
    display: none;
}

.gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
    background-color: #FFF;
    border: none;
}
.gform_wrapper input::placeholder{
  color:#000;
}

.single-cf47rs_property .property .widget--details{
}

#affiliateLogos{}
#affiliateLogos .wpb_heading{
  text-align: center;
}
#affiliateLogos .wpb_image_grid_ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}
#affiliateLogos .wpb_image_grid_ul li{
    display: block;
    position: static !important;
}
#affiliateLogos .wpb_image_grid_ul li img {
    height: 80px;
    width: auto;
}
@media (min-width:768px){
 body .header__row{
    display: block;
    text-align: right;
 }
.header__contacts{
  display: inline-block;
  float: left;
}
.header__bov{
    background: #3f5270;
    display: inline-block;
    height: 100%;
}
.header__questionnaire{
    background: #d28e60;
    display: inline-block;
    height: 100%;
}
.mobile-only{
    display: none;
}
}
.header__bov a,
.header__questionnaire a{
    display: block;
    padding: 13px 25px 0;
    font-weight: bold;
}
.header__bov a{
    color:#FFF;
}
.home .header__questionnaire a{
    color: #FFF;
}
.videoWrap {
    position: relative;
    background: #333;
    background-image: url(/commercial/wp-content/uploads/sites/3/2019/04/Use-for-Main-page-image.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-top: 56%;
}
.videoWrap + .videoOverlay {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,1), 0 0 50px rgba(0,0,0,1);
    position: absolute;
    width: 100%;
    padding: 15px;
    top: 50%;
}
.videoWrap + .videoOverlay .smaller{
    font-size: .8em;
    font-weight: 600;
}
.videoWrap > iframe{
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.videoWrap > #overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
}

#hero .gform_wrapper {
    position: absolute;
    top: 160px;
    padding: 0 10% 0 0;
    margin: 0;
    width: 40%;
    left: 60%;
}
#hero .gform_wrapper form{
    background-color: rgba(63,82,112,0.8);
    padding: 15px 0 15px 15px;
}
#hero .gform_wrapper form .top_label .gfield_label{
    color: #FFF;
    margin-bottom: 0;
}
#hero .gform_wrapper form .gform_description{
    color: #FFF;
    color: rgba(255,255,255,0.9);
}
.gform_wrapper .gf_list_inline .gfield_checkbox li label, .gform_wrapper .gf_list_inline .gfield_radio li label{
    max-width: none;
}
.gform_wrapper .gf_list_inline .gfield_checkbox li input[type=checkbox], .gform_wrapper .gf_list_inline .gfield_radio li input[type=radio]{
    margin-top: 0 !important;
}

#hero #headerVideo + .widget::after {
    content: 'Recent Closing';
    position: absolute;
    left: 0;
    top: -45px;
    background-color: #d28e60;
    padding: 10px;
    color: #FFF;
    font-weight: bold;
    right: 0;
    width: calc(100% - 10vw);
    text-align: center;
    font-size: 20px;
}
#hero #headerVideo + .widget {
}
#hero #headerVideo + .widget .slider__item {
    position: relative;
}
#hero #headerVideo + .widget .slider__item .slider__caption{
    position: static;
}
#hero #headerVideo + .widget .slider__item .slider__more{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: rgba(63,82,110,0);
    background-color: rgba(210,142,106,0);
}
#hero #headerVideo + .widget .slider__controls{
    display: none;
}

#hero #featureProp{
}
#hero #featureProp .wpb_text_column{
    margin: 0;
}
#hero #featureProp .wpb_text_column h3{
    margin: 0;
    background-color: #d28e60;
    padding: 10px;
    color:#FFF;
}
/*
#hero #featureProp .widget::after {
    content: 'Recent Closing';
    position: absolute;
    left: 0;
    top: -45px;
    background-color: #d28e60;
    padding: 10px;
    color: #FFF;
    font-weight: bold;
    right: 0;
    width: calc(100% - 10vw);
    text-align: center;
    font-size: 20px;
}
*/
#hero #featureProp .widget {
}
#hero #featureProp .widget .slider__item {
    position: relative;
}
#hero #featureProp .widget .slider__item .slider__caption{
    position: static;
}
#hero #featureProp .widget .slider__item .slider__more{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: rgba(63,82,110,0);
    background-color: rgba(210,142,106,0);
}
#hero #featureProp .widget .slider__controls{
    display: none;
}


body .listing--grid.listing--small .listing__item.Tammy.Silvestri{
    display: none;
}
body .form--filter .form-group--limit{
    display: none;
}
.worker--index .worker__info{
  background-color: transparent;
}
.worker--index .worker__info .worker__name{}
.worker--index .worker__info .worker__post{}
.worker--index .worker__info .worker___details{}
.worker--index .worker__info .worker___details .worker___links{}
.worker--index .worker__info .worker___details .worker__link .worker__link-icon {
    fill: #3f5270;
}
.worker--index .worker__info .worker__more{
    margin-top: 0;
}

body #hero .gform_wrapper .top_label div.ginput_container {
    margin-top: 0;
}
.down-arrow{
    display: none;
}

body .review .review__info {}
body .review .review__info p {
    font-weight: bold;
    font-size: 24px;
    margin: 0;
}
body .review .review__info .review__info-quote--open + p{
    margin-top: -10px;
}
body .review .review__details {
    float: none;
    text-align: center;
    padding: 0;
}
body .review .review__details .review__name {}
body .review .review__details .review__post {}

body .listing--grid{
    text-align: center;
    display: block;
}
body .widget--footer .widgettitle, 
body .widget--footer .widget-title{
    color: #FFF;
}
body .footer__col .gform_wrapper .top_label .gfield_label{
    display: none;
}
body .footer__col .gform_wrapper .gform_footer{
    margin-top: 10px;
    padding-top: 0;
}

body .worker--details .worker__intro-row{
    margin-bottom: 12px;
}

body .footer__col .widget{
    margin-bottom: 1em;
}
body .footer__col--first #text-4 .widgettitle,
body .footer__col--third #text-5 .widgettitle{
    display: none;
}


.worker--list .worker__intro-col {
    float: none;
    width: auto;
}
.dl-table dl {

    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;

}
.dl-table dt {
    min-width: 80px;
    margin-right: 3px;
}

/*--Home featured properties Slider edit-------------------*/
#featureProp .widget.widget_text > .widgettitle{
    display: none;
}
#propertiesSlider{
    overflow: visible;
    background: transparent;
}
#propertiesSlider .flex-control-paging li a{
    background-color: #d28e60;
}
#propertiesSlider .flex-control-paging li a.flex-active{
    background-color: #3f5270;
}
#theSlides{
    margin-bottom: 90px;
}
#theSlides .slides{
}
#theSlides .slides > li{}
#theSlides .slide {
    height: 0px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: block;
    opacity: .9;
    padding-top:1%;
    transition: padding-top 1s ease 2s;
}
#theSlides .flex-viewport .slide{
  padding-top:60%;
}
#theSlides .slide:hover{
    opacity: 1;
}
#theSlides .slide .overlay{
    background: #3f5270;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 5px 10px;
}
#theSlides .slide .overlay p{
    color: #FFF;
    font-weight: bold;
    font-size: 14px;
}
#theSlides .slide .overlay p.title{
    font-size: 18px;
    margin-bottom: 3px;
}
#theSlides .slide .overlay p.price{}
/*--end home featured properties slider edit---------------*/

@media (max-width: 767px){
 body .header--dark{
    background-color: rgba(63,82,112,0.8);
 }
 body .header__row .header__logo{
    background-image: url(/commercial/wp-content/uploads/sites/3/2019/04/SILVESTRI-CB-White_430x139.png);
    background-size: contain;
    background-repeat: no-repeat;
}
body .header__row .header__logo > img{
    visibility: hidden;
}
#hero{
    background-image: url(/commercial/wp-content/uploads/sites/3/2019/04/Use-for-Main-page-image.jpg);
    padding: 0 0 40px;
}
#hero .wpb_wrapper{}
#hero .wpb_raw_code{
    background: transparent;
    min-height: 0;
    height: auto;
}
#hero .wpb_raw_code .wpb_wrapper{}
.videoWrap{
    display: none;
}
.videoWrap + .videoOverlay{
    margin: 40px 40px 40px 0;
    font-size: 48px;
    position: static;
}
#hero .gform_wrapper{
    position: relative;
    top: auto;
    width: auto;
    left: auto;
    padding: 0;
}
#hero .gform_wrapper form{
    padding: 20px;
}
}


   

@media (min-width:768px){
.down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}
.down-arrow a{
    display: inline-block;
    background: #d28e60;
    width: 50px;
    text-align: center;
    height: 50px;
    border-radius: 50px;
    padding: 12px 0;
    transition: background 0.6s;
}
.down-arrow a:hover{
    background: #FFF;
}
.down-arrow a svg{
    fill: #FFF;
    transition: fill 0.9s;
    pointer-events: none;
}
.down-arrow a:hover svg{
    fill: #d28e60;
}

#hero #headerVideo {
}

#hero #headerVideo + .widget{
    position: absolute;
    top: 220px;
    padding: 0 10% 0 0;
    margin: 0;
    width: 40%;
    left: 60%;
}
#hero #headerVideo + .widget .slider__preview {
    height: 0;
    overflow: hidden;
    padding-top: 50%;
    position: relative;
}
#hero #headerVideo + .widget .slider__preview .slider__img {
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    width: 110%;
}
#hero #headerVideo + .widget .slider__item .slider__caption {
    margin: 0;
    padding: 15px 15px 60px;
    width: auto;
}
#hero #headerVideo + .widget .slider__item .slider__caption .slider__price{
    margin: 0;
    float: none;
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 15px 0 0;
    border-top: 1px dotted #FFF;
    background: transparent;
    color: #FFF;
}
#hero #headerVideo + .widget .slider__item .slider__caption .slider__price strong{
    font-size: 28px;
}
#hero #headerVideo + .widget .slider__item .slider__caption .slider__address{
    font-size: 20px;
}
#hero #headerVideo + .widget .slider__item .slider__caption .slider__params{
    display: none;
}
#hero #headerVideo + .widget .slider__item .slider__caption .slider__more{}

body .header__row{}
body .header__row .header__contacts--social{
    margin-left: auto;
    margin-right: 15px;
}
body .header__row .header__social--contacts{
    margin: 0;
}

}
@media (min-width: 1200px) {
body .listing--grid.listing--small .listing__item {
    display: inline-block;
    float: none;
    width: 25%;
    width: calc(25% - 3px);
    
}
#hero #headerVideo {
    position: relative;
    background: #000;
    margin: 0 -15px;
    height: 0;
    padding-top: 56%;
}
.videoWrap {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #333;
    background-image: url(/commercial/wp-content/uploads/sites/3/2019/04/Use-for-Main-page-image.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}
body .videoWrap + .videoOverlay {
    top: 200px;
    width: 50%;
    padding-left: 5%;
    font-size: 64px;
}

#hero #featureProp {
    position: absolute;
    top: 200px;
    padding: 0 10% 0 0;
    margin: 0;
    width: 40%;
    left: 60%;
}
#hero #featureProp .widget{
}
#hero #featureProp .widget .slider__preview {
    height: 0;
    overflow: hidden;
    padding-top: 50%;
    position: relative;
}
#hero #featureProp .widget .slider__preview .slider__img {
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    width: 110%;
}
#hero #featureProp .widget .slider__item .slider__caption {
    margin: 0;
    padding: 15px 15px 60px;
    width: auto;
}
#hero #featureProp .widget .slider__item .slider__caption .slider__price{
    margin: 0;
    float: none;
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 15px 0 0;
    background: transparent;
    color: #FFF;
}
#hero #featureProp .widget .slider__item .slider__caption .slider__price strong{
    font-size: 28px;
}
#hero #featureProp .widget .slider__item .slider__caption .slider__address{
    font-size: 20px;
}
#hero #featureProp .widget .slider__item .slider__caption .slider__params{
    display: none;
}
#hero #featureProp .widget .slider__item .slider__caption .slider__more{}



}

@media (min-width: 1400px) {
#hero #headerVideo {
    min-height: 700px;
}
#theSlides .slide .overlay p{
    font-size: 18px;
}
#theSlides .slide .overlay p.title{
    font-size: 21px;
}

}


