/*
Theme Name: The Agency Impreza Child
Theme URI: http://roguewebdesign.ca
Description: Custom Impreza Theme for The Agency
Author: Rogue Web Design
Author URI: https://roguewebdesign.ca
Template: Impreza
Version: 1.0.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==== SINGLE LISTING ====*/

.lyf-border-box {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.lyf-agency-single-listing {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 4%;
}

.lyf-agency-single-listing h1, .lyf-agency-single-listing h3, .lyf-agency-single-listing h4, .lyf-agency-single-listing h5 {
    font-family: "Din Light", sans-serif;
}

.lyf-agency-single-listing h5 {
    font-size: 95%;
    margin: 0;
}
.listing-title {
    text-align: center;
    font-size: 30px;
}

.listing-top-info {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 40px auto;
    flex-wrap: wrap;
    width: 100%;
}

.listing-info-box {
    flex: 0 0 50%;
    padding: 10px 0;
    font-weight: bold;
    font-family: 'Din Condensed Bold', sans-serif;
    font-size: 24px;
}

.listing-info-box:nth-of-type(2n) {
    border-left: 1px solid #232323;
}

.listing-info-box:nth-of-type(1), .listing-info-box:nth-of-type(2) {
    border-bottom: 1px solid #232323;
}

.listing-info-box span, .listing-table-box span {
    display: block;
    font-size: 16px;
    font-weight: normal;
    font-family: 'Din Light', sans-serif;
}

.listing-description {
    max-width: 750px;
    margin: 20px auto;
    overflow: hidden;
}

.listing-details {
    overflow: hidden;
    margin: 40px auto;
    text-align: center;
    padding: 25px;
    border: 1px solid #232323;
}

.listing-details h3 {
    font-size: 28px;
    font-weight: normal;
}

.listing-details-table {
    max-width: 900px;
    margin: 0 auto 40px;
    width: 100%;
    border: none;
    display: flex;
    align-items: top;
    flex-wrap: wrap;
}

.listing-details-table {
    margin-bottom: 40px;
}

.listing-table-box {
    padding: 10px;
    flex: 0 0 100%;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Din Condensed Bold', sans-serif;
    font-size: 20px;
}

.listing-table-box span {
    text-transform: none;
}

.lyf-virtual-tour-button {
    text-align: center;
    margin-top: 40px;
}

.button.lyf-vreb-button {
    background: #D12229;
    color: #ffffff;
    font-size: 24px;
}

.button.lyf-vreb-button .dashicons {
    vertical-align: sub;
    font-size: 28px;
}

.button.lyf-vreb-button:hover {
    color: #ffffff;
}

.lyf-custom-single-listing-video {
    margin-bottom: 2em;
}

.video-flex-wrapper {
	position: relative;
    height: 0;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 56.25%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.video-flex-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    border: none;
}

@media only screen and (min-width: 500px) {
.listing-info-box {
    flex: 0 0 25%;
}

.listing-info-box {
    border-left: 1px solid #232323;
}

.listing-info-box:nth-of-type(1) {
    border-left: none;
}

.listing-info-box:nth-of-type(1), .listing-info-box:nth-of-type(2) {
    border-bottom: none;
}

.listing-table-box {
    padding: 20px 10px;
    flex: 0 0 50%;
}
}

@media only screen and (min-width: 768px) {

.listing-title {
    font-size: 40px;
}

.listing-details h3 {
    font-size: 34px;
}

.listing-table-box {
    flex: 0 0 33.33%;
}


}
