.vtproperty,
.vtproperty * {
    box-sizing: border-box;
}

.vtproperty .property-image {
    position: relative;
}

.vtproperty .property-attributes {
    padding: 10px 0 20px;
}

.vtproperty .property-title {
    font-size: 20px !important;
    line-height: 23px;
}

.vtproperty .property-element-title a:focus,
.vtproperty .property-element-title a:hover,
.vtproperty .property-element-title a:visited,
.vtproperty .property-element-title a {
    text-transform: none;
    text-decoration: none;
    color: #666;
    outline: 0;
    box-shadow: none;
}

.vtproperty .property-title a:focus,
.vtproperty .property-title a:hover,
.vtproperty .property-title a:visited,
.vtproperty .property-title a {
    text-transform: none;
    text-decoration: none;
    color: #7d7d7d;
    outline: 0;
    box-shadow: none;
}

.vtproperty .property-excerpt {
    font-size: 13px;
    line-height: 16px;
}

.vtproperty .property-label {
    line-height: 140%;
    color: #7d7d7d;
}

.vtproperty .property-value {
    font-style: italic;
    line-height: 110%;
}

.vtproperty .property-description {
    margin: 30px 0;
}

.vtproperty .property-file-description > * {
    margin: 0;
}

.vtproperty .property-duration-separator {
    margin-right: 5px;
    margin-left: 5px;
}

.vtproperty .property-landsize-dimension,
.vtproperty .property-buildingsize-dimension {
    margin-left: 5px;
}

.vtproperty .property-badges {
    border-radius: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 10px;
    background: #01bbd2;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    font-style: normal;
    line-height: 12px;
    box-shadow: 1px 1px 2px #555;
}

.vtproperty .property-loop-main-container a.btn {
    border: 2px solid #26b6f3;
    display: inline-block !important;
    margin-bottom: 40px;
    padding: 8px 12px;
    border-radius: 4px;
    color: #26b6f3;
    text-decoration: none;
    box-shadow: none;
}

.vtproperty .pager-infinite-loader {
    background: #f1f1f1;
    border: 1px solid #e4e4e4;
    cursor: pointer;
    font-size: 14px;
    color: #aaa;
    display: flex;
    width: 100%;
    align-content: center;
    justify-content: center;
    padding: 20px 30px;
    text-align: center;
}

.vtproperty .pager-infinite > ul.vtcore {
    display: none;
}

.vtproperty .pager-ajax-notice {
    position: fixed;
    top: calc(50% - 50px);
    left: calc(50% - 150px);
    box-shadow: 0 0 5px #888;
    width: 300px;
    background:#26b6f3;
    color: #fff;
    border: none;
}

.vtproperty .ajax-processing .pager-ajax-notice {
    display: block;
    opacity: 1;
}

.property-description ~ .vtproperty  {
    margin-top: 30px;
}

/**
  Property elements
  **/
.vtproperty .property-elements {
    font-size: 13px;
}

.vtproperty figure.property-elements {
    padding: 0;
    margin: 0;
}

.vtproperty figure.property-elements img {
    border-radius: 0;
    box-shadow: none;
    min-width: 100%;
    height: auto;
    vertical-align: top;
    object-fit: cover;
}

.vtproperty .property-elements.with-icon {
    padding-left: 46px;
    position: relative;
    min-height: 46px;
    margin-bottom: 10px;
}

.vtproperty .property-elements .wp-icons-wrapper {
    position: absolute;
    left: 0;
    top: 3px;
}

.vtproperty .property-elements .wp-icons-effect {
    width: 36px !important;
    height: 36px !important;
    background: #d4d4d4;
    border-radius: 36px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
    transform: none !important;
    padding: 0 !important;
}

.vtproperty .property-elements .wp-icons-wrapper i {
    font-size: 18px !important;
    color: #fff;
    transform: none !important;
}

/**
  Teasers
  **/
.vtproperty [class*="template-property-"] > * {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    -webkit-animation: moveUp 0.65s ease forwards;
    animation: moveUp 0.65s ease forwards;
}

.vtproperty [class*="template-property-"] > * .property-elements,
.vtproperty [class*="template-property-"] > * .property-excerpt,
.vtproperty [class*="template-property-"] > * .property-title {
    margin: 0;
    padding: 0;
}

.vtproperty [class*="template-property-"] > * .property-elements:not(figure) {
    padding: 0 15px 15px;
}

.vtproperty [class*="template-property-"] > * .property-element-title {
    padding: 15px 15px 5px !important;
}

.vtproperty [class*="template-property-"] > * .property-elements.with-icon {
    padding-left: 61px;
}

.vtproperty [class*="template-property-"] > * .property-elements .wp-icons-wrapper {
    left: 15px;
    top: 1px;
}

.vtproperty [class*="template-property-"] > * .property-element-location .property-value * {
    display: inline-block;
}

.vtproperty [class*="template-property-"] > * .property-element-location .property-value *:after {
    content: ', ';
    display: inline-block;
    margin-right: 3px;
}

.vtproperty [class*="template-property-"] > * .property-element-location .property-value *:last-child:after {
    display: none;
}

.vtproperty .property-element-floorplan .fotorawa__wrap,
.vtproperty .property-element-images .fotorama__wrap {
    width: 100% !important;
}

/**
  Term Lists
  **/
.vtproperty.property-loop-main-container > .wp-term-list {
    list-style: none;
    margin: 0;
    padding: 40px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.vtproperty.property-loop-main-container > .wp-term-list > * {
    display: block;
    margin: 0 10px 10px 0;
}

.vtproperty.property-loop-main-container > .wp-term-list a {
    cursor: pointer;
    text-decoration: none;
    color: #888;
    padding: 6px 12px;
    border: none;
    background: #eee;
    border-radius: 2px;
    font-size: 14px;
    display: block;
    box-shadow: none;
}

.vtproperty.property-loop-main-container > .wp-term-list a:focus,
.vtproperty.property-loop-main-container > .wp-term-list a:hover,
.vtproperty.property-loop-main-container > .wp-term-list a.term-active {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    padding: 6px 12px;
    border: none;
    background: #26B6F3;
    border-radius: 2px;
    font-size: 14px;
    outline: 0;
    box-shadow: none;
}

@media (max-width: 600px) {
    .vtproperty.property-loop-main-container > .wp-term-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        align-content: flex-start;
    }

    .vtproperty.property-loop-main-container > .wp-term-list a {
        white-space: pre;
    }
}

/**
  Pager element
  **/
.vtproperty .property-pager {
    border: none;
}

.vtproperty .property-pager:after,
.vtproperty .property-pager:before {
    display: none;
}

.vtproperty .property-pager ul {
    list-style: none;
    margin: 30px 0;
    text-align: center;
}

.vtproperty .property-pager ul li {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 0;
}

.vtproperty .property-pager ul li a {
    cursor: pointer;
    text-decoration: none;
    color: #888;
    padding: 8px 12px;
    border: 2px solid #f7f7f7;
    background: #eee;
    border-radius: 5px;
    font-size: 14px;
    display: block;
    box-shadow: none;
}

.vtproperty .property-pager ul li a:focus,
.vtproperty .property-pager ul li a:hover,
.vtproperty .property-pager ul li span {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    padding: 8px 12px;
    border: 2px solid #fff;
    background: #26B6F3;
    border-radius: 5px;
    font-size: 14px;
    outline: 0;
    box-shadow: none;
    display: block;
}

.vtproperty .template-pager-infinite.ajax-processing + .pager-infinite .pager-ajax-notice {
    display: block;
    opacity: 1;
    -webkit-transition: all ease-out .3s;
    -moz-transition: all ease-out .3s;
    -o-transition: all ease-out .3s;
    transition: all ease-out .3s;
}

.vtproperty .pager-ajax-notice {
    padding: 20px;
    margin: 30px auto;
    display: none;
    opacity: 0;
    max-width: 600px;
}

/**
  Property video
  when using mejs
  **/
.vtproperty .me-plugin {
    width: 100%;
    height: 100%;
}

.vtproperty .me-plugin > * {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/**
  Property Flex Special Class
  **/
.vtproperty .property-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.vtproperty .property-flex [class*="property-element-"] {
    padding-right: 5px;
    width: 25%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.vtproperty .property-flex > *:nth-child(4n+4) {
    padding-right: 0;
}

/**
  Maps
  **/
.vtproperty .property-infobox .property-element-thumbnail img {
    padding: 0 !important;
}

.vc_row .property-loop-main-container {
    padding: 0;
}

/**
  Property mini list
  **/
.vtproperty .property-mini-list {
    margin-bottom: 10px;
}

.vtproperty .property-mini-list img {
    height: auto;
}

.vtproperty .property-mini-list .post-title {
    margin-bottom: 5px;
    line-height: 130%;
}

/**
  Social Bars
  **/
.vtproperty .property-element-share.property-shares {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.vtproperty .property-element-share.property-shares {
    background: #f7f7f7;
}

.vtproperty .property-element-share.property-shares .property-label {
    width: 30%;
    text-align: left;
    line-height: 39px;
    vertical-align: middle;
    font-size: 18px;
    padding: 3px 20px;
    color: #181818;
}

.vtproperty .property-element-share.property-shares .property-value {
    width: 70%;
    vertical-align: middle;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
}

.vtproperty .property-element-share.property-shares .property-value a {
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    margin: 5px;
    display: flex;
    font-size: 18px;
    text-align: center;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    min-width: 36px;
    padding: 0;
}

.vtproperty .property-element-share.property-shares .property-value a > * {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.vtproperty .property-element-share.property-shares .property-value a:hover,
.vtproperty .property-element-share.property-shares .property-value a:focus {
    opacity: 1;
}

.vtproperty .property-element-share.property-shares .property-value a * {
    margin: 0 !important;
}

.vtproperty .property-element-share.property-shares .property-value a.wp-printpdf-button {
    background: #00638b;
    vertical-align: middle;
}

.vtproperty .property-element-share.property-shares .property-value a.social-google {
    background: #d4393d;
}

.vtproperty .property-element-share.property-shares .property-value a.social-facebook {
    background: #2340d4;
}

.vtproperty .property-element-share.property-shares .property-value a.social-twitter {
    background: #51b8d4;
}

.vtproperty .property-element-share.property-shares .property-value a.social-linkedin {
    background: #307cd4;
}

.vtproperty .property-element-share.property-shares .property-value a.social-pinterest {
    background: #d4011a;
}

.vtproperty .property-element-share.property-shares .property-value a.social-vk {
    background: #d4479e;
}

.vtproperty .property-element-share.property-shares .property-value a.social-weibo {
    background: #40d447;
}

.vtproperty .property-element-share.property-shares .property-value a.social-renren {
    background: #d47726;
}


@-webkit-keyframes moveUp {
    0% { }
    100% { -webkit-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
    0% { }
    100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}

/**
  Property Grid Style
  **/
.vtproperty .template-property-grid  {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.vtproperty .template-property-grid  > * {
    float: none;
    padding: 0 15px 30px !important;
    margin: 0 !important;
}

.vtproperty .template-property-grid .property-grid-inner {
    background: #fff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
}

.vtproperty .template-property-grid .property-image {
    height: 260px;
    background: #d8d8d8;
}

.vtproperty .template-property-grid .property-image .property-element-thumbnail img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.vtproperty .template-property-grid .property-attributes {
    flex-grow: 1;
}


/**
  Property List style
  **/
.vtproperty .template-property-list  {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.vtproperty .template-property-list.row {
    margin: 0;
}

.vtproperty .template-property-list .property-list {
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
    background: #fff;
}

.vtproperty .template-property-list .left-side {
    max-width: 30%;
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 2px solid #D8D8D8;
    background: #d8d8d8;
}

.vtproperty .template-property-list .left-side .property-image {
    position: static;
}

.vtproperty .template-property-list .left-side .property-image .property-element-thumbnail img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.vtproperty .template-property-list .left-side a {
    display: block;
}

.vtproperty .template-property-list .right-side {
    flex: 1;
    padding: 10px 27px;
}

.vtproperty .template-property-list .property-title {
    margin: 0 0 10px;
    font-size: 20px;
}

.vtproperty .template-property-list .property-excerpt {
    margin: 0 0 20px;
}

.vtproperty .template-property-list > * .property-elements.with-icon {
    padding-left: 45px;
}

.vtproperty .template-property-list > * .property-elements .wp-icons-wrapper {
    left: 0;
}

@media (max-width: 600px) {
    .vtproperty .template-property-list .property-list {
        flex-direction: column;
    }

    .vtproperty .template-property-list .left-side {
        max-width: 100%;
        min-height: 260px;
        flex-grow: 0;
        flex-shrink: 0;
    }

    .vtproperty .template-property-list .right-side {
        padding: 27px 0;
    }
}


/**
  Property Masonry
  **/
.vtproperty .template-property-masonry {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
    margin: 0 0 30px;
    padding: 0;
    -moz-column-gap: 30px;
    -webkit-column-gap: 30px;
    column-gap: 30px;
}

.vtproperty .template-property-masonry > * {
    display: inline-block;
    background: #fff;
    margin: 0 0 30px;
    width: 100%;
    padding: 0;
    box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.18);
}

.vtproperty .template-property-masonry .property-image {
    height: 260px;
    background: #d8d8d8;
}

.vtproperty .template-property-masonry .property-image .property-element-thumbnail img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 1200px) {
    .vtproperty .template-property-masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .vtproperty .template-property-masonry {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

/**
  Property Metro Style
  **/
.vtproperty .template-property-metro {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    grid-auto-rows: minmax(200px, auto);
    grid-auto-flow: row dense;
}

.vtproperty .template-property-metro > .item {
    box-shadow: 1px 1px 1px #999;
}

.vtproperty .template-property-metro > .item:nth-child(8n + 1),
.vtproperty .template-property-metro > .item:nth-child(7n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

.vtproperty .template-property-metro > .item > a {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    width: 100%;
}

.vtproperty .template-property-metro > .item > a > figure,
.vtproperty .template-property-metro > .item > a > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vtproperty .template-property-metro .property-attributes {
    background: rgba(0, 0, 0, 0.7);
    bottom: 0;
    color: #fff;
    font-size: 13px;
    left: 0;
    width: 100%;
    padding: 8px 10px;
    position: absolute;
}

.vtproperty .template-property-metro > * .property-elements:not(figure) {
    padding: 0;
    line-height: 130%;
}

@media (max-width: 1100px) {
    .vtproperty .template-property-metro {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 600px) {
    .vtproperty .template-property-metro {
        display: flex;
        flex-direction: column;
    }

    .vtproperty .template-property-metro > .item {
        margin-bottom: 30px;
    }
}

/**
  Property Mini List style
  **/
.vtproperty .template-property-mini-list  {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0;
}

.vtproperty .template-property-mini-list .property-mini-list {
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
    background: #fff;
}

.vtproperty .template-property-mini-list .property-image {
    max-width: 100px;
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 2px solid #D8D8D8;
    background: #d8d8d8;
    display: block;
    box-shadow: none;
}

.vtproperty .template-property-mini-list .property-image figure,
.vtproperty .template-property-mini-list .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vtproperty .template-property-mini-list .property-content {
    flex: 1;
    padding: 5px 15px;
}

.vtproperty .template-property-mini-list .property-title {
    margin: 0 0 5px;
    font-size: 18px;
}

.vtproperty .template-property-mini-list .property-element-price {
    color: #26B6F3;
}

.vtproperty .template-property-mini-list .property-location {
    margin: 5px 0;
    font-size: 15px;
    line-height: 18px;
}

.vtproperty [class*="template-property-mini-list"] .property-content .property-elements {
    padding: 0;
    font-weight:600;
}

/**
  Single Page
  **/
.vtproperty.property-single .property-title {
    font-size: 30px;
    line-height: 34px;
}


.vtproperty.property-single .property-element-floorplan {
    margin-bottom: 5px;
}

.vtproperty.property-single .property-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.vtproperty.property-single .property-main-block {
    width: calc(100% - 350px);
}

.vtproperty.property-single .property-sidebar-block {
    width: 320px;
    margin-left: 30px;
    padding: 20px;
}

.vtproperty.property-single .property-sidebar-block .property-elements {
    margin-bottom: 20px;
    font-size: 16px;
}
.vtproperty.property-single .property-sidebar-block .property-elements.with-icon {
    padding-left: 53px;
}

.vtproperty.property-single .property-sidebar-block .property-label {
    font-size: 12px;
    line-height: 160%;
}

.vtproperty.property-single .property-sidebar-block .property-value {
    font-style: normal;
    line-height: 140%;
}

.vtproperty.property-single .property-sidebar-block .property-elements .wp-icons-wrapper {
    top: 5px;
}

.vtproperty.property-single .property-description {
    font-size: 16px;
}

.vtproperty.property-single .property-sections {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0;
    align-items: center;
}

.vtproperty.property-single .property-sections > * {
    width: 70%;
    padding: 20px;
}

.vtproperty.property-single .property-sections iframe,
.vtproperty.property-single .property-sections label {
    width: 100%;
}

.vtproperty.property-single .property-section-header > * {
    font-size: 26px;
    line-height: 28px;
    margin-top: 40px;
    margin-bottom: 30px;
}

@media (max-width: 1190px) {
    .vtproperty.property-single .property-sidebar-block {
        width: 280px;
        margin-left: 30px;
    }
    .vtproperty.property-single .property-sections > * {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 1060px) {
    .vtproperty.property-single .property-main-block {
        width: 100%;
    }
    .vtproperty.property-single .property-sidebar-block {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .vtproperty.property-single .property-sidebar-block > * {
        min-width: 50%;
    }

    .vtproperty .property-flex [class*="property-element-"] {
        width: 25%;
    }
}

@media (max-width: 768px) {
    .vtproperty.property-single .property-sidebar-block {
        padding: 0;
    }
    .vtproperty.property-single .property-sidebar-block > * {
        min-width: 50%;
    }

    .vtproperty .property-flex [class*="property-element-"] {
        width: 50%;
    }

    .vtproperty.property-single .property-sections > * {
        padding: 20px 0;
    }

    .vtproperty .property-element-share.property-shares {
        flex-direction: column;
    }

    .vtproperty .property-element-share.property-shares {
        padding: 20px 10px;
    }

    .vtproperty .property-element-share.property-shares .property-label {
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
        text-align: center;
    }

    .vtproperty .property-element-share.property-shares .property-value {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/**
  Property Thumbnail Style
  **/
.vtproperty .template-property-thumbnail  {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
    grid-auto-rows: minmax(200px, auto);
    grid-auto-flow: row dense;
}

.vtproperty .template-property-thumbnail  > * {
    box-shadow: 1px 1px 5px #999;
    border-radius: 5px;
}

.vtproperty .template-property-thumbnail > .item > a > figure,
.vtproperty .template-property-thumbnail > .item > a > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vtproperty.container {
    max-width: 1080px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 1200px) {
    .vtproperty .template-property-thumbnail {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1000px) {
    .vtproperty .template-property-thumbnail {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 800px) {
    .vtproperty .template-property-thumbnail {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 400px) {
    .vtproperty .template-property-thumbnail {
        grid-template-columns: repeat(1, 1fr);
    }
}
