/*
Theme Name: wgorman.com
Theme URI: http://www.wgorman.com
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.3.2
Tags: one-column, two-columns, right-sidebar, custom-menu, full-width-template, sticky-post
License: Proprietary
License URI: http://www.agentimage.com
Template: aios-starter-theme
*/

/*

TABLE OF CONTENTS
1. CSS Reset
2. Custom CSS
3.	IP styles
4. MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css

*/

/*******************************************************
 *
 * 1. CSS Reset
 *
 *******************************************************/
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font: 16px/1 sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
blockquote,
figure,
ol,
ul {
    margin: 0;
    padding: 0;
}
header, section, footer,
aside, nav, main, article,
figure {
    display: block;
}
h1,
h2,
h3,
h4 {
    font-size: inherit;
}
strong {
    font-weight: bold;
}
a,
button {
    color: inherit;
    transition: .3s;
}
a {
    text-decoration: none;
}
  a:hover, a:focus {
        text-decoration: none;
        outline: none;
        color: #de1e23;
    }
button {
    overflow: visible;
    border: 0;
    font: inherit;
    -webkit-font-smoothing: inherit;
    letter-spacing: inherit;
    background: none;
    cursor: pointer;
}
::-moz-focus-inner {
    padding: 0;
    border: 0;
}
:focus {
    outline: 0;
}
img {
    max-width: 100%;
    height: auto;
    border: 0;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
}

/* removing select arrow from all browser */
select::-ms-expand {
    display: none;
}

select {
    background: transparent url('images/arrow-down.png') no-repeat;
    background-position: right 7px center;
    -webkit-background-size: 6px;
    -moz-background-size: 6px;
    -o-background-size: 6px;
    background-size: 6px;
}


/*******************************************************
 *
 * 2. Custom CSS
 *
 *******************************************************/

/* Global */

body{
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	background: #FFF;
	color: #000000;
	margin: 0;
}

h3 {
    color: #2e3192;
    font-size: 19px;
    text-transform: uppercase;
    padding: 22px 0px;
    font-family: 'Raleway', sans-serif;
}

.home h3 {
    text-align: center;
}

h4 {
    font-family: 'Playfair Display', sans-serif;
    font-style: italic;
    color: #cecece;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/*** Header ***/
header {
    padding: 11px 0px 0px;
    background: rgba(255,255,255,0.7);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1001;
}

.header-contact {
    text-align: right;
    font-size: 15px;
    color: #575757;
    margin-top: 26px;
}

    span.envelope {
        font-family: 'Raleway', sans-serif;
    }

    .header-contact em {
        color: #da2127;
        font-size: 11px;
        font-weight: 700;
        margin: 0px 9px 0px 26px;
    }

nav {
    text-align: right;
    margin-top: 24px;
    font-size: 13px;
    color: #242424;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
}

#nav > li {
    display: inline-block;
    margin: 0px 2px;
}

#nav > li:last-of-type {
    margin-right: 0px;
}

    #nav > li > a {
        padding-bottom: 16px;
        display: block;
        cursor: pointer;
    }

    #nav > li .sub-menu {
        text-align: center
    }

    #nav li a:hover {
        color: #de1e23;
    }

    #nav .sub-menu {
        background: transparent;
        color: #242424;
    }

    #nav > li > .sub-menu {
        left: 50%;
        margin-left: -90px;
        max-width: 180px;
        z-index: 99;
    }

        #nav .sub-menu a {
            background: rgba(255,255,255,0.9);
            color: #242424;
            -webkit-transition: all 0.4s ease-in-out;
            -moz-transition: all 0.4s ease-in-out;
            -o-transition: all 0.4s ease-in-out;
            -ms-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
            margin-bottom: 1px;
        }

        #nav .sub-menu a:hover, #nav .sub-menu a:focus  {
            background: rgba(255,255,255,0.9);
            color: #de1e23;
            text-decoration: none;
            outline: none;
        }

/*** Slideshow ***/
div#hero {
    position: relative;
}

.slideshow-agentinfo {
    position: absolute;
    left: 0;
    right: 0;
    top: 120px;
    text-align: right;
}

.slideshow-ai-wrapper {
    display: inline-block;
    background: rgba(255,255,255,0.7);
    padding: 34px 28px 44px;
    position: relative;
    max-width: 33%;
    width: 100%;
}
.slideshow-ai-wrapper img{
    max-width: 280px;
    margin-top: 35px;
    width: 100%;
}
.sai-photo-wrapper {
    position: absolute;
    right: 4px;
    top: -8px;
}

    /*** Slideshow Agent Contact Info ***/
    span.team-name {
        color: #de1e23;
        font-size: 28px;
        font-family: 'Playfair Display', sans-serif;
        text-transform: uppercase;
        display: block;
        text-align: left;
        line-height: 1.19em;
        position: relative;
        z-index: 1;
    }

    .sai-info .email, .sai-info .phone {
        display: block;
        text-align: left;
        color: #313030;
        font-size: 13px;
        font-weight: 700;
        position: relative;
        z-index: 1;
    }

    .sai-info .email {
        margin-top: 10px;
        font-family: 'Raleway', sans-serif;
    }

        .sai-info .email .sai-label {
            margin-right: 11px;
        }

    .sai-info .phone {
        margin-top: 15px;
        font-family: 'Open Sans', sans-serif;
    }
        .phone .sai-label {
            margin-right: 5px;
        }
    .sai-label {
        font-size: 11px;
        color: #535353;
        text-transform: uppercase;
        font-weight: 600;
    }

/*** Content background ***/
#hp-content-holder {
    background: url(images/4-bg.jpg) no-repeat;
    background-size: cover;
    padding-bottom: 70px;
}

/*** Quick Search ***/
.qs-type {
    color: #6a6a6a;
    font-size: 23px;
    font-family: 'Playfair Display', sans-serif;
    font-style: italic;
    text-align: center;
    padding: 23px 0px 18px;
    border-bottom: 1px solid rgba(27,27,27,0.2);
    margin-bottom: 25px;
}

.qs-type button {
    margin: 0px 35px;
}

#forSale {
    color: #da2127;
}

#quick-search {
    position: relative;
    width: 100%;
    bottom: 0;
    z-index: 1;
    background: transparent;
    padding: 15px 0px 50px;
}

.qs-form .col-md-2 {
    width: 14.6%;
}

.qs-form .qs-btn {
    width: 11.7%;
    margin-left: 11px;
    margin-right: 0px;
}

span.qs-title {
    color: #313131;
    font-size: 19px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    margin-top: 5px;
}

.qs-form input::placeholder {
    font-style: italic;
}

.qs-form input:-moz-placeholder{
    font-style: italic;
}
.qs-form input::-moz-placeholder{
    font-style: italic;
}
.qs-form input:-ms-input-placeholder{
    font-style: italic;
}
.qs-form input::-webkit-input-placeholder{
    font-style: italic;
}

.qs-long, .qs-half, .qs-btn {
    display: inline-block;
    padding: 0.5px;
    margin-right: 2px;
}

.qs-long {
    width: 23%
}

.qs-half {
    width: 9.5%;
}

.qs-form form {
    display: inline-block;
    width: 85.1%;
    margin-left: 27px;
}

    .qs-form input {
        border: none;
        background: transparent;
    }

    .qs-form select {
        font-style: italic;
    }

    .qs-form select, .qs-form input {
        width: 100%;
        padding: 0px 4px;
        height: 25px;
        border-bottom: 1px solid rgba(27,27,27,0.5);
        font-size: 12px;
    }

.qs-btn:hover {
    opacity: 0.7;
}

.qs-btn:hover {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.qs-form input[type="submit"] {
    width: 100%;
    border: none;
    padding: 8px;
    position: relative;
    background-color: #303394;
    text-transform: uppercase;
    color: #fff;
    -webkit-transition: background-color 0.4s ease-in-out;
    -moz-transition: background-color 0.4s ease-in-out;
    -o-transition: background-color 0.4s ease-in-out;
    -ms-transition: background-color 0.4s ease-in-out;
    transition: background-color 0.4s ease-in-out;
    margin-right: 0px;
    height: 28px;
}

/*** Featured - Sold properties - Open House ***/
.wrapper {
    background: #fff;
    position: relative;
}

.slick-slide img {
    max-width: 100%;
    width: 100%;
}

.details span{
    display: block;
    color: #1b1b1b;
    text-align: center;
    font-weight: 300;
    font-family: 'Raleway',sans-serif;
}

.details .details-first {
    font-size: 19px;
    margin-top: 22px;
}

.details .details-mid {
    font-size: 14px;
    margin-top: 7px;
    text-transform: uppercase;
}

.details .details-last {
    font-size: 12px;
    margin: 24px 0px 28px;
}

.hpfp-imgs {
    width: 263px;
    height: 213px;
    background-size: cover;
    background-position: 50% 50%;
}


#fourSection .wrapper button {
    position: absolute;
    bottom: 15.5%;
    color: #2e3192;
    font-size: 0px;
}

    .ai-arrow-d-p:before, .ai-font-arrow-d-p:before,
    .ai-arrow-d-n:before, .ai-font-arrow-d-n:before {
        font-size: 14px;
    }


.left-arrow {
    left: 11px;
}

.right-arrow {
    right: 11px;
}

.sold-image-container {
    position: relative;
}

.sold-image-container::after {
    content: 'SOLD';
    display: block;
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 89px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: rgba(255,0,0,0.6);
    max-height: 90px;
    transform: rotate(340deg);
    -webkit-transform: rotate(340deg);
    -moz-transform: rotate(340deg);
    -o-transform: rotate(340deg);
    -ms-transform: rotate(340deg);
}

/*** Testimonials ***/
.testi {
    text-align: center;
}

.testi-image-container.outer-ring {
    display: inline-block;
    height: 95px;
    width: 95px;
    border: 1px solid #c6c6c6;
    border-radius: 50%;
}

.inner-ring {
    display: inline-block;
    border-radius: 50%;
    height: 85px;
    width: 85px;
    padding: 0px;
    overflow: hidden;
    position: relative;
    top: 4px;
}

    .testi-image-container img {
        -moz-transform: scale(1.3);
        -webkit-transform: scale(1.3);
        -o-transform: scale(1.3);
        -ms-transform: scale(1.3);
        transform: scale(1.3);
    }

.testi .details {
    padding: 0px 28px;
    font-size: 14px;
    color: #4e4e4f;
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5em;
    margin-top: 22px;
}

.clients-name {
    font-size: 18px;
    text-transform: uppercase;
    color: #3b3b3b;
    font-style: normal;
    font-weight: 500 !important;
    margin-top: 28px;
    padding-bottom: 31px;
}

/*** CTA ***/
.cta {
    margin-top: 60px;
}

.cta-button a {
    background: #303394;
    color: #fff;
    width: 100%;
    display: block;
    font-family: 'Playfair Display', sans-serif;
    text-align: center;
    font-size: 25px;
    padding: 32px 0px;
}

    .cta-button a:hover {
        background: #da2127;
    }

/*** Welcome ***/
#welcome {
    margin: 60px 0px;
}

    #welcome h1 {
        color: #da2127;
        font-size: 48px;
        font-family: 'Playfair Display', sans-serif;
        text-align: center;
        padding-bottom: 25px;
        margin-bottom: 31px;
        position: relative;
    }

        #welcome h1::after {
            content: '';
            display: block;
            height: 1px;
            width: 25px;
            background: rgba(46,49,146,0.3);
            position: absolute;
            left: 0;
            right: 0;
            margin: auto;
            bottom: 0px;
        }

    #welcome p {
        color: #595858;
        font-size: 14px;
        font-family: 'Raleway', sans-serif;
        font-weight: 300;
        line-height: 1.5em;
    }

    #welcome ul {
        list-style-type: disc !important;
        margin-left: 20px;
        color: #595858;
        font-size: 14px;
        font-family: 'Raleway', sans-serif;
        font-weight: 300;
        line-height: 1.5em;
    }

.welcome-first {
    color: #525252;
    font-family: 'Playfair Display', sans-serif;
    font-size: 22px;
    font-style: italic;
    display: block;
    margin-bottom: 3px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 0;
    /*padding-top: 30px;*/
    height: auto;
	margin:0 0 20px;
}

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

/*** Footer ***/
footer a:hover {
    color: #de1e23;
}

.top-layer {
    background: #3d3d3d;
    padding: 31px 0px;
    color: #fff;
}

.ci-container {
    margin-bottom: 15px;
}
    .ci-container em.ai-font-envelope {
        margin-right: 9px;
    }

    .ci-container em.ai-font-phone {
        margin-right: 13px;
    }

    .ci-container .phone {
        font-size: 15px;
        font-family: 'Open Sans', sans-serif;
    }

    .ci-container .envelope {
        font-size: 14px;
        font-family: 'Raleway', sans-serif;
    }

    .ci-container:last-of-type a {
        background: #fff;
        color: #3d3d3d;
        padding: 10px 17px 10px 10px;
        display: inline-block;
        font-size: 12px;
        text-transform: uppercase;
        font-family: 'Raleway', sans-serif;
        font-weight: 600;
        position: relative;
    }

    .ci-container:last-of-type span.ai-font-envelope {
        font-size: 10px;
        padding-right: 7px;
        margin-right: 18px;
    }

    .ci-container:last-of-type a:after {
        content: '';
        position: absolute;
        height: 100%;
        width: 1px;
        background: #3d3d3d;
        top: 0;
        left: 35px;
    }

    .smi {
        text-align: right;
    }

        .smi a {
            font-size: 0px;
            margin: 20px 10px;
            display: inline-block;
        }
            .smi span {
                font-size: 17px;
            }

    .footer-sitemap {
        margin-left: 36px;
        position: relative;
        left: 36px;
    }

    .footernav li {
        display: inline-block;
        width: 32%;
        margin-bottom: 9px;
        font-family: 'Raleway', sans-serif;
        font-weight: 300;
    }

    .bottom-layer {
        background: #1b1b1b;
        color: #fff;
        padding: 41px 0px;
        font-family: 'Raleway', sans-serif;
        font-weight: 300;
    }

    .paint-red {
        color: #da2127;
    }

    .logos {
        font-size: 21px;
        text-align: right;
    }
/*******************************************************
 *
 * 3. IP Styles
 *
 *******************************************************/

/* Adjust minimum height of page area */
#content-sidebar, #content-full{ min-height: 500px;}

/** Adjust width of content columns **/
#content-sidebar #content{ width: 77.08%; }
#content-full #content { width: 100%; }

/* Adjust width of sidebar */
.sidebar{ width: 20.83%; }

/* Adjust line height of page elements */
#content h4, aside h4,
#content p, aside p,
#content blockquote, aside blockquote,
#content ul, aside ul,
#content fieldset, aside fieldset,
#content form, aside form,
#content ol, aside ol,
#content dl, aside dl,
#content dir, aside dir,
#content menu, aside menu { line-height:1.7 }

/* Style post/page main headings (h1) */
#content .entry-title, #content .archive-title {
    color: #da2127;
    font-family: 'Playfair Display', sans-serif;
}

/* Style category/archive/etc main headings (h1) */
#content .archive-title {

}

/* Styles for category/archive/search/etc subheadings (h2) */
#content .archive-subtitle {

}

.ip-container header {
    position: static;
}


/*** Sidebar ***/
.sidebar #quick-search {
    padding: 15px 0px 15px;
}

.sidebar .qs-type button {
    margin: 0px;
}

.sidebar .qs-title {
    display: block;
    text-align: center;
}

.sidebar .qs-form form {
    width: 100%;
    margin-left: 0px;
}

.sidebar .qs-long {
    width: 100%;
}

.sidebar .qs-half {
    width: 48.25%;
}

.sidebar .qs-form .qs-btn {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 5px;
}

.sidebar .qs-form input[type="submit"] {
    height: 35px;
}

.sidebar .cta {
    margin-top: 0px;
}

.sidebar .cta-button a {
    font-size: 21px;
    padding: 20px 0px;
    margin-bottom: 5px;
}

/*** Agent Page ***/
.agent-holder .attachment-agent-image {
    text-align: center;
}

.agent-holder .attachment-agent-image img {
    max-width: 214px !important;
    margin: 0 auto !important;
}

/*** Contact Form ***/
.page-id-30 .ai-contact-wrap {
    margin: auto;
}

/*** The Team Page ***/
.page-id-44 .agent-holder {
  display: inline-block;
  width: 49%;
}

.agent-holder {
    width: 100%;
    display: inline-block;
}

.agent-holder .agent-holder-top {
  width: 49%;
}

.agent-multi-list {
    border-top: 0px !important;
}

.testi-view-more a {
    text-align: center;
    max-width: 150px;
    margin: 0 auto;
    display: block;
    font-size: 14px;
    border: solid 1px #000;
    padding: 7px 0;
}

.hp-listing-img{
    height: 213px;
    width: auto;
}

/*** Financing Option ***/
.fo-table-container {
    overflow: auto;
    width: 100%;
}

table.fo-table {
    width: 100%;
}

    table.fo-table tr td {
        padding: 10px;
        text-align: left;
    }

ul#ihf-search-location-tabs, ul#ihf-detail-extrainfotabs,
ul.chosen-results {
    margin-left: 0px !important;
    padding-left: 0px !important;
}

#ihf-main-container h4.ihf-address, #ihf-main-container h4.ihf-price,
#ihf-main-container .mc-total-payment-subline {
    color: #666;
}

.ai-default-cf7wrap select {
    text-indent: 0px;
}

#post-30 .wpcf7-response-output {
    max-width: 355px;
    margin: auto;
    text-align: center;
}

#post-42 .wpcf7-response-output {
    max-width: 355px;
    margin: 0px;
    text-align: center;
}

span.wpcr3_item_name a {
    display: none !important;
}

.wpcr3_review_author {
    opacity: 0;
}

span.click-video {
    position: relative;
    /* bottom: -11px; */
    bottom: 0;
    font-size: 18px;
    margin: 0px auto;
    display: block;
    text-align: center;
}

#fourSection .col-md-3 .wrapper {
    height: 402px !important;
}
