﻿/* These styles are for property listings. */

.white-background .basics {
    margin-bottom: 15px;
    padding: 0 15px;
}

.white-background .basic {
    padding-top: 15px;
    padding-bottom: 15px;
    margin:0 15px 30px 15px;
    margin-bottom:30px;
    background-color: #f5f5f5 !important;
}

.white-background .basic:nth-child(2n+1) {
    background-color: #DFDFDF !important;
}

white-background .basic-link h3 {
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 32px;
    vertical-align: middle;
}

white-background .basic-link .basic-icon {
    position: relative;
    top: -2px;
    margin-right: 10px;
}

white-background .basic-link p {
    padding-left: 42px;
}

white-background .basic-moreinfo a, .content .basic-moreinfo a:visited {
    color: #DD0000;
    text-decoration: none;
}

white-background .basic-moreinfo a:hover {
    color: #0000DD;
    text-decoration: none;
}

/* These styles are for testimonials. */

white-background .testimonials {
    padding: 0 15px;
    margin-bottom: 15px;
}

white-background .testimonial {
    margin-bottom: 30px;
    background-color: #DFDFDF;
}

white-background .testimonial:nth-child(2n+1) {
    background-color: #dcf9e5;
}

white-background .testimonial h2 {
    margin-top: 15px;
}

/* These styles are for the property details. */

div.basic-details table.fields {
    width: 100%;
    margin-bottom: 24px;
}

div.basic-details table.fields tr td {
    border-bottom: 1px solid #CCCCCC;
}

div.basic-details table.fields tr td.field-name {
    width: 33%;
    padding: 5px 8px 5px 0px;
    text-align: left;
}

div.basic-details table.fields tr td.field-value {
    width: 67%;
    padding: 5px 0px 5px 8px;
    text-align: left;
}

div.basic-details img.big-thumb {
    margin-bottom: 24px;
}

div.basic-details div.document, div.basic-details div.link
{
    margin-top: 15px;
}

div.basic-details div.document div.document-title, div.basic-details div.link div.link-title
{
    height: 32px;
    line-height: 32px;
}

div.basic-details div.document div.document-title img, div.basic-details div.link div.link-title img
{
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

div.basic-details div.document div.document-description, div.basic-details div.link div.link-description
{
    clear: both;
    padding-left: 42px;
}

.thumbnails {
    margin-top:20px;
}

div.basic-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 {
    margin: 0 auto 24px;
    overflow: auto;
}
div.specials div.special-wrapper {
    color: #ffffff;
    display: inline-block;
    margin: 0 7px 14px;
    overflow: hidden;
    position: relative;
    width: 327px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#34495e+0,3e5770+100 */
    background: #34495e; /* Old browsers */
    background: -moz-linear-gradient(top,  #34495e 0%, #3e5770 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #34495e 0%,#3e5770 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #34495e 0%,#3e5770 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#34495e', endColorstr='#3e5770',GradientType=0 ); /* IE6-9 */
}

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 */

.basic-details {
    position: relative;
}
.basic-details .sold { 
    position: absolute; 
    top: -1px; 
    right: 16px; 
    z-index: 200;
}