﻿/* These styles are for property listings. */

.content .properties {
    margin-bottom: 15px;
    padding: 0 15px;
}

.content .property {
    padding-top: 15px;
    padding-bottom: 15px;
}

.content .property:nth-child(2n+1) {
    background-color: #DFDFDF;
}

.content .property-link h3 {
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 32px;
    vertical-align: middle;
}

.content .property-link .property-icon {
    position: relative;
    top: -2px;
    margin-right: 10px;
}

.content .property-link p {
    padding-left: 42px;
}

.content .property-moreinfo a, .content .property-moreinfo a:visited {
    color: #DD0000;
    text-decoration: none;
}

.content .property-moreinfo a:hover {
    color: #0000DD;
    text-decoration: none;
}

/* These styles are for testimonials. */

.content .testimonials {
    padding: 0 15px;
    margin-bottom: 15px;
}

.content .testimonial {
    margin-bottom: 30px;
    background-color: #DFDFDF;
}

.content .testimonial:nth-child(2n+1) {
    background-color: #cde6fd;
}

.content .testimonial h2 {
    margin-top: 15px;
}

/* These styles are for the property details. */

div.property-details table.fields {
    width: 100%;
    margin-bottom: 24px;
}

div.property-details table.fields tr td {
    border-bottom: 1px solid #CCCCCC;
}

div.property-details table.fields tr td.field-name {
    width: 33%;
    padding: 5px 8px 5px 0px;
    text-align: left;
}

div.property-details table.fields tr td.field-value {
    width: 67%;
    padding: 5px 0px 5px 8px;
    text-align: left;
}

div.property-details img.big-thumb {
    margin-bottom: 24px;
}

div.property-details div.document, div.property-details div.link
{
    margin-top: 15px;
}

div.property-details div.document div.document-title, div.property-details div.link div.link-title
{
    height: 32px;
    line-height: 32px;
}

div.property-details div.document div.document-title img, div.property-details div.link div.link-title img
{
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

div.property-details div.document div.document-description, div.property-details div.link div.link-description
{
    clear: both;
    padding-left: 42px;
}

div.property-details div.thumbnails img.img-thumbnail {
    margin-bottom: 20px;
}

/* Popup */

.fancybox-nav {
    width: 60px;       
}

.fancybox-nav span {
    visibility: visible;
    opacity: 0.5;
}

.fancybox-nav:hover span {
    opacity: 1;
}


/* Home Page Specials */

div.specials div.special-wrapper {
    position: relative;
    margin-bottom: 30px;
    color: #ffffff;
    background: #69c5c9; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdkYjllOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYWU2ZjQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #95d6d9 0%, #69c5c9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#95d6d9), color-stop(100%,#69c5c9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #95d6d9 0%,#69c5c9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #95d6d9 0%,#69c5c9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #dedede 0%,#69c5c9 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #95d6d9 0%,#69c5c9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#95d6d9', endColorstr='#69c5c9',GradientType=0 ); /* IE6-8 */
}

div.special-wrapper div.special-title {
    color: #ffffff;
    font-weight: bold;
    height: 44px;
    line-height: 44px;
    overflow: hidden;
    text-align: center;
}
div.special-wrapper div.special-title a, div.special-wrapper div.special-title:visited {
    color: #ffffff;
    text-decoration: none;
}
div.special-wrapper div.special-title a:hover {
    color: #ffffff;
}
div.special-wrapper div.special-description {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    height: 86px;
    line-height: 21px;
    overflow: hidden;
    padding: 5px 5px 0;
    text-align: left;
}
div.special-wrapper div.special-moreinfo {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    height: 40px;
    line-height: 44px;
    overflow: hidden;
    text-align: right;
}
div.special-wrapper div.special-moreinfo a, div.special-wrapper div.special-moreinfo a:visited {
    color: #ffffff;
    padding-right: 15px;
    text-decoration: none;
}

@media only screen and (max-width: 768px) {

    .content .gallery-item .img-thumbnail {
        margin-bottom: 15px;
    }

    .content .gallery-item h2 {
        text-align: center;
    }


}

@media only screen and (max-width: 680px) {


div.specials {
    text-align:center;
}

div.specials div.special-wrapper {
    margin:0 auto 14px auto;
}

}

/* Custom Inventory Class for the Sold Ribbon */

.property-details {
    position: relative;
}
.property-details .sold { 
    position: absolute; 
    top: -1px; 
    right: 16px; 
    z-index: 200;
}