
.properies_container {
    text-align: left;
}

.property_small {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 35px;
    border-bottom: 3px dotted #720a0a;
    /*padding-bottom: 20px;*/
    /*border-bottom: 1px solid #EFEFEF;*/
    /*height: 650px;*/
}

.property_small_container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
}

.property_small-info-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.property_small-info {
    padding: 0;
    min-width: 360px;
}

.property_small-right {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 360px;
}

.property_small-main_info {
    padding-bottom: 15px; 
    position: relative;
}

.property_small-address {
    position: relative;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.property_small-details {
    position: relative;
    padding: 15px 15px 0 0;
    max-width: fit-content;
    font-size: 18px;
    line-height: 26px;
}


.details_name {
    color: #555;
}

.details_value {
    color: #333;
    font-weight: bold;

}

.property_small-desc {
    font-size: 18px;
    line-height: 23px;
    padding: 15px;
    text-align: justify;
    /*font-family: 'Source Sans Pro', sans-serif;*/
    background-color: #f4f5f5;
    word-break: break-word;
}

.property_small-transaction_type {
    position: relative;
    height: 33px;
    color: #720a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
}

/*.property_small-price-sale .property_small-transaction_type {*/
    /*color: #5CA353;*/
/*}*/

/*.property_small-price-rent .property_small-transaction_type {*/
    /*color: #720a0a;*/
/*}*/

.property_small-price_and_buttons-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.property_small-price {
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    outline: 1px solid #720a0a;
    position: relative;
    right: 0;
    text-align: center;
    top: 0;
    width: 128px;
}

.property_small-price-sale {
    /*background-color: #5CA353;*/
}

.property_small-price-rent {
    /*background-color: #4d84ff;*/
}

.property_small-price-container {
    background-color: #720a0a;
    position: relative;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
}

.property_small-buttons {
    margin: 20px 0;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.property_small-button {
    background-color: white;
    color: #720a0a;
    outline: 1px solid #720a0a;
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
}

.property_small-button:hover {
    background-color: #720a0a;
    color: #FFF; 
}

.property-map-button {
    position: relative;
    padding: 5px;
    width: 40px;
    margin: 0 15px;
    font-weight: normal;
}

.property-map-button:HOVER {
    background-color: #720a0a;
    color: #FFF;
}

/*Contacts*/

.property_small-contacts-container {
    color: #720a0a;
    position: relative;
    text-align: right;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    height: 66px;
}

.button_apply {
    margin-right: 15px;
}

.button_mortgage_calculator {
    margin-right: 15px;
    display: inline;
    padding: 3px 5px;
}

.button_investment_calculator {
    margin-right: 15px;
    display: inline;
    padding: 3px 5px;
}

.button_prospect {
    display: block;
    left: 0;
    margin-top: 10px;
    padding: 5px;
    position: relative;
    right: 0;
}


.link_details {
    
}

.link_details:HOVER {
    background-color: #720a0a;
    color: #FFF;
}

.property_small-link_details-address {
    text-decoration: none;
    color: #720a0a;
    font-size: 23px;
    line-height: 25px;
}

.property_small-link_details-address:HOVER {
    text-decoration: underline;
}

.property_small-stripe {
    
}

.stripe_img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
}


/*a.link_photos {*/
    /*color: #777;*/
/*}*/

/*a.link_photos:VISITED {*/
    /*color: #777;*/
/*}*/

/*a.link_photos:HOVER {*/
    /*color: #000;*/
/*}*/








.frame_property {
    position: relative;
    display: inline-block;
    /* width: 320px; */
    margin: 0 5px 40px;    
    zoom:1; /* hack for ie<9 */
    *display:inline; /* hack for ie<9 */      
    
    background-image: none;
}

.frame_property a, .frame_property a:hover {
    text-decoration: none;
    color: #333;  
}


.frame_tabs_container {
    width: 302px;
    height: 264px;
    /* background-color: #EEE; */
    background-color: #F5f5f5;
/*     border: 1px solid #BBB; */
    border: 1px solid #DDD;
    padding: 5px;
}

.frame_tab {
    font-size: 15px;
    line-height: 15px;
    text-align: left;
}

.frame_tab_buttons_container {
    text-align: left;
    margin-top: -1px;
}

.frame_tab_button {
    display: inline-block;
    background-color: #F5f5f5;
    padding: 1px 2px 2px 2px;    
    zoom:1; /* hack for ie<9 */
    *display:inline; /* hack for ie<9 */      
    /*font: 15px/14px PTSansNarrowRegular;*/
    font-size: 15px;
    color: #333;    
    border: 1px solid #DDD;
}

.frame_tab_button_current {
    border-top: 1px solid #F5f5f5;
}

.frame_tab_button_pointer {
     background-color: #CCC; 
    /*color: #B28F00 !important;*/
}

.frame_photo {

}

.frame_photo a {
    text-decoration: none;
}

.frame_photo_container {
    position: relative;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
    border: 0;
    border-spacing: 0;
}

.frame_photo_container tr {
    position: relative;
    padding: 0;
    margin: 0;
    border: 0;
}

.frame_photo_container td {
    position: relative;
/*     padding: 0;
    margin: 0; */
    border: 0;
}

.frame_photo_img_container  {
    position: relative;
    /* padding: 0 0 5px 0; */
    width: 300px;
    height: 227px;
}

.frame_photo_img_buttons_img_container {
    font-size: 24px;
}

.frame_photo_img_buttons_container  {
    position: relative;
    display: block;
/*     width: 300px;
    height: 225px; */
    text-align: center;
}

.frame_photo_img {
/*     width: 300px;
    display: block;
    position: relative; */
    /* height: 100%; */
    max-width: 100%;
    max-height: 100%;
}

.frame_photo_img_buttons_container .frame_photo-nav_button {
    position: absolute;
    top: 0;
    width: 20px;
    height: 100%;
    text-align: center;
    vertical-align: middle;
/*     background: none; */
}

/* .frame_photo_img_buttons_container .div_a_HOVER {
    background-image: url('../../images/nav/bg_tl.png'); 
} */


.frame_photo-nav_button span {
    display: block;
    position: absolute;
    top: 50%;
    margin: -0.5em 0 0 5px;
    font-size: 24px;
}

.frame_photo-prev_button {
    left: 0;
}

.frame_photo-next_button {
    right: 0;
}

.frame_photo-button_disabled {
    cursor: default;
}

.frame_photo-prev_button_disabled {
    left: 0;
}

.frame_photo-next_button_disabled {
    right: 0;
}

.frame_photo-desc_container {   
    /*font: 16px/16px PTSansNarrowRegular;*/
    font-size: 16px;
    color: #000;
}

.frame_photo-desc_container td {
    padding: 5px 0 0 0;
}

.frame_photo-desc-price {
    position: absolute;
    /* right: 10px; */
    top: 0;
    right: 0;
    /* margin-top: -262px; */
    /*font: 18px PTSansNarrowRegular;*/
    font-size: 18px;
    color: #FFF;
    background-color: #5CA353;
    padding: 2px;
}

.frame_photo-desc-address {
    text-align: left;
}

.frame_photo-desc-bb {   
    text-align: right;
}



#property_info-map-container {
    background-color: white;
    border: 1px solid #777;
    margin: auto;
    padding: 15px 15px 5px;
    position: fixed;
    text-align: center;
    top: 50%;
    width: 830px;
    left: 50%;
    margin-left: -415px;
    margin-top: -341px;
}

#property_info-map {
    display: inline-block;
}

#gmap-link_container {
    float: right;
    font-size: 14px;
}

#gmap-close-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
}




.frame_property .gmap_link_container {
    display: none;
    /*font: 15px/14px PTSansNarrowRegular;*/
    font-size: 15px;
    color: #333;
    text-decoration: underline;
}



.property_small-photo-container {
    position: relative;
    vertical-align: top;
    user-select: none;
    flex-grow: 1;
}

.property_small-photo-imgage-container  {
    position: relative;
    display: block;
    /*height: 320px;*/
    text-align: left;
}

.property_small-photo-image-img-container {
    font-size: 24px;
    height: 100%;
    width: 100%;
}

.property_small-photo-img {
    width: 100%;
}

.property_small-photo-bottom_buttons-container {
    margin: 5px 10px 35px;
    position: relative;
/*display: none;*/
}

.property_small-photo-nav-button {
    height: 100%;
    width: 50%;
    position: absolute;
    top: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.property_small-photo-container .div_a {
    background-color: transparent !important;
    background-image: none;
}

.property_small-photo-container .div_a_HOVER {
    color: #fec83e;
}

.property_small-photo-nav-all_photos-container {
    /*font-family: PTSans, sans-serif;*/
    font-size: 17px;
    text-align: center;
    height: 20px;
}

.property_small-photo-nav-all_photos-container span {
    margin: 0 3px;
    font-weight: bold;
}

.property_small-photo-nav-prev_button {
    left: 0;    
    text-align: left;
}

.property_small-photo-nav-next_button {
    right: 0;
    text-align: right;
    justify-content: flex-end;
}

.property_small-photo-nav-button span {
    font-size: 40px;
    margin: 0 20px;
    position: relative;
    text-align: center;
}


.property_small-icons-container {
    margin: 5px 0 0 5px;
    position: relative;
display: none;
}

.property_small-icon-img-container {
    /*width: 55px;*/
    height: 30px;
    float: left;
    border: 1px solid #FFF;
    margin: 1px 0;
    text-align: center;
    width: 58px;
    overflow: hidden;
    cursor: pointer;
}

.property_small-icon-img-container-current {
    border: 1px solid #CCC;
}

.property_small-icon-img {
    height: 100%;
}

.youtube_small_container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matterport_small_container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube_iframe {
    border: none;
}

.matterport_iframe {
    border: none;
}

.property_small-offer-container {
    position: absolute;
    top: 40px;
    right: 0;
}

.property_small-offer-text {
    position: absolute;
    right: 110px;
    width: 120px;
    top: 5px;
    color: #AAA;
    font: 14px PTSerif;
}

.property_small-offer-button {
    position: absolute;
    right: 0;
    top: 0;
    width: 110px;
}

#property_small-offer-modal {
    
}

#property_small-offer-modal a {
    text-decoration: none;
}

#property_small-offer-modal textarea {
    width: 350px;
    height: 50px;
}

.property_small-offer-modal-header {
    font: 20px PTSerif;
    font-weight: bold;
    padding: 0 9px;
}

.form_offer-buttons-container {
    text-align: right;
}

.form_offer-buttons-required {
    display: inline-block;
    float: left;
    color: #AAA;
}

.property_small-gallery-container {
    clear: both;
    display: block;
    text-align: center;
}

.property_small-panorama-container {
    position: relative;
    height: 32px;
    text-align: center;
    margin-top: 5px;
}

.property_small-panorama-link {
    margin: 0 5px;
}

#map_google_container {
    width: 800px;
    height: 640px;
    z-index: 9;
}

/*Mobile*/
@media screen and (max-width: 979px) {

    .property_small_container {
        flex-wrap: wrap;
    }

    .property_small {
        margin-bottom: 0; 
        border-bottom: 7px double #720a0a;
    }

    .property_small-button {
        outline: none;
        text-decoration: underline dotted #720a0a;
    }

    .property_small-info-container {
        display: flex;
        flex-wrap: wrap;
    }
    
    .property_small-info {
        height: initial;
        padding: 15px 10px;
        width: 100%;
        min-width: initial;
        position: relative;
    }

    .property_small-details {
        max-width: initial;
        padding: 15px 0 0 0;
    }

    .property_small-right {
         min-width: auto; 
    }
    
    .property_small-photo-nav-all_photos-container span {
        display: none;
    }
    
    .property_small-gallery-button {
        display: none;
    }

    .property_small-photo-nav-all_photos-container {
        height: 25px;
    }

    .property_small-address {
        width: initial;
        flex-wrap: wrap;
    }

    .property_small-link_details-address {
        font-size: 21px;
        line-height: 23px;
    }

    .property_small-price_and_buttons-container {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
    }
    
    .property_small-price {
        position: relative;
    }

    .button_mortgage_calculator {
        margin-right: 0;
        font-size: 16px;
    }

    .button_investment_calculator {
        margin-right: 0;
        font-size: 16px;
    }

    .button_apply {
        text-decoration: underline;
    }

    .property_small-photo-container {
        position: relative;
        vertical-align: top;
        user-select: none;
        flex-grow: 1;
    }

    .matterport_iframe {
        width: 100%;
        height: 100vw;
    }

    .youtube_iframe {
        width: 100%;
        height: 57vw;
    }
    
    .property_small-photo-bottom_buttons-container {
        margin: 5px 0 20px;
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .property_small-contacts-container {

    }
    
    .property_small-contacts-container .property_small-button {
        margin-right: 0;
        padding-right: 0;
    }

    .property_small-buttons {
        margin: 5px 0 20px;
    }

    .property-map-button {
        margin: 0;
        font-size: 14px;
        padding-right: 0;
        text-align: right;
    }

    .link_details {
        right: 14px;
        text-decoration: underline;
    }

    .property_small-desc {
        padding: 10px;
    }


    #property_info-map-container {
        border: 1px solid #777;
        margin: auto;
        padding: 0;
        position: fixed;
        text-align: center;
        top: calc(50% - 160px);
        width: auto;
        left: calc(50% - 160px);
        z-index: 1001;
    }

    #map_google_container {
        width: 320px;
        height: 320px;
    }
}



/*Desktop*/
@media screen and (min-width: 980px) {

}




/*GALLERY*/


.gallery-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.gallery-fullscreen {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/bg_white70.png');
}

.gallery-window {
    width: 940px;
    height: 640px;
    border: 1px solid #CCC;
    box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    background-color: #FFF;
    top: -50%;
    left: 50%;
    margin: -360px 0 0 -470px;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.gallery-big_photo-container {
    height: 570px;
    position: relative;

}

.gallery-big_photo-img-container {
    height: 100%;
    text-align: center;
    margin: 10px 10px 20px;
}

.gallery-big_photo-img {
    height: 560px;
}

.gallery-big_photo-nav_button {
    height: 50px;
    width: 50px;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    line-height: 50px;
    font-size: 27px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    display: none;
    background-color: rgba(128,128,128,0.5);
}

.gallery-big_photo-prev_button {
    left: 5px;
}

.gallery-big_photo-next_button {
    right: 5px;
}



.gallery-icons-container {
    height: 60px;
    /*width: 100%;*/
    position: relative;
}

.gallery-icons-images-window-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 70px;
    height: 60px;
    overflow: hidden;
}

.gallery-icons-images-container {
    height: 52px;
    position: absolute;
}

.gallery-icons-images-span-container {
    display: inline-block;
}

.gallery-icon-container {
    margin: 0;
    height: 48px;
    width: 96px;
    display: inline-block;
    float: left;
    text-align: center;
    border: 2px solid #FFF;
}
.gallery-icon-container-current {
    border: 2px solid #777;
}

.gallery-icon-img {
    border: 0;
    height: 100%;
}

.gallery-icons-nav_button {
    height: 50px;
    width: 20px;
    position: absolute;
    top: 0;
    line-height: 50px;
    font-size: 22px;
    font-family: Arial, sans-serif;
}

.gallery-icons-prev_button {
    left: 5px;
}

.gallery-icons-next_button {
    right: 5px;
}

.gallery-close-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    /*font-size: 12px;*/
    cursor: pointer;
}

.gallery-templates {
    display: none;
}