/*
Theme Name: Great American Financial
Theme URI: http://aios3-staging.agentimage.com/r/rconnell_pending.com/htdocs/
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.4.4
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. Custom CSS
2.	IP styles
3. MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css

*/


/*******************************************************
 *
 * 1. Navigation
 *
 *******************************************************/


/* Sub Menu */
#nav li {
    display: inline-block;
    vertical-align: top;
	position: relative;
    margin: 0 12px;
    line-height: 33px;
}
    #nav li:last-child {
        margin-right: 0;
    }
    #nav li a {
        color: #797979;
        font-size: 19px;
        font-weight: 500;
        text-transform: uppercase;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
        #nav li a:hover {
            color: #28378b;
        }

#nav .sub-menu {
    list-style: none outside none;
    margin: 0;
    display: none;
    padding: 15px 0 0;
    position: absolute;
    left: -50px;
    right: -50px;
 	width: auto;
 	min-width: 100%;
    text-align: center;
}
#nav .sub-menu li {
    width: 100%;
    margin: 0;
    position: relative;
}
#nav .sub-menu a {
    color: #ffffff;
    font-size: 17px;
    display: block;
    padding: 0 10px;
    background-color: #28378b;
}
#nav .sub-menu a:hover {
    background: #ad1a24;
    color: #ffffff;
    text-decoration: none;
}
#nav .sub-menu .sub-menu {
    margin-left: 100%;
 	top: 0;
}
#nav li:hover > .sub-menu {
    display: block;
}



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

/* Global */

body {
	font-size: 13px;
    font-family: 'Montserrat', sans-serif;
	background: #ffffff;
	color: #555555;
	margin: 0;

    /* Remove the comment from line 85 to 86 if the font issue in safari occurs */
    /* -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; */
}

a, a:hover, a:link, a:active, a:focus {
    color: #555555;
    outline: none;
    text-decoration: none;
}

.slick-slide, .slick-slide *, .slick-slide a {outline: none;}

.site_easing {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}


/* HEADER */
.header_wrap {
    width: 100%;
    position: fixed;
    z-index: 1011;
    top: 0;
}
    .head_logo {
        width: 22%;
        float: left;
        padding: 28px 0 0 34px;
    }
        .head_logo img {
            width: 100%;
            max-width: 308px;
        }

    .head_right {
        width: 78%;
        float: right;
        padding: 40px 40px 0 0;
        text-align: right;
    }

    .headinfo {
        display: inline-block;
        vertical-align: top;
        margin-left: 30px;
        color: #797979;
        font-size: 18px;
        font-weight: 500;
        line-height: 33px;
    }
        .headinfo a {
            color: #797979;
        }
            .headinfo a:hover {
                color: #28378b;
            }
        .headinfo span {
            color: #28378c;
            font-size: 15px;
            margin-right: 5px;
            display: inline-block;
            vertical-align: middle;
        }
            .headinfo span.ai-font-envelope-f {
                font-size: 12px;
            }


/* FIXED HEADER */
.fixedhead {
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 10px 0 #333333;
    box-shadow: 0 0 10px 0 #333333;
}
    .fixedhead .head_logo {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .fixedhead .head_logo img {
        height: 80px;
        max-width: 113px;
    }
    .fixedhead .head_right {
        padding-top: 17px;
    }


/* HP AGENTS */
.hp_widget1 {
    background-color: #e2e2e2;
    text-align: center;
    position: relative;
}
.hp-agent-wrap {
    position: relative;
}
.hp-agent-wrap canvas {
    display: block;
    width: 100%;
    background-size: cover;
    background-position: bottom center;
    opacity: 0;
}

.hp-agent-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 107px;
}
    .hp_agents {
        width: 100%;
        position: relative;
    }
    .hp_agents #map_wrap {
        width: 1516px;
    }
        #map_wrap #map {
            width: 100%;
        }

        #transparent {
            width: 1516px;
            height: 703px;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            margin: 0 auto;
            z-index: 4;
        }

/* MAP TEXTS */
#map .agent_text {
    width: 263px;
    padding: 9px 0 5px;
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    border: 3px solid #28378b;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#map .agent_text strong {
    display: block;
    font-size: 24px;
    font-weight: 500;
}

#map .map_hovers .maphover.hovered .agent_text {
    opacity: 1;
}

#map .agent1_txt {
    bottom: 270px;
    left: 5%;
}
#map .agent2_txt {
    bottom: 223px;
    left: -15%;
}
#map .agent3_txt {
    bottom: 335px;
}
#map .agent4_txt {
    bottom: 115px;
}
#map .agent5_txt {
    bottom: 225px;
    left: -15%;
}
#map .agent6_txt {
    bottom: 335px;
    left: -15%;
}
#map .agent7_txt {
    bottom: 280px;
    left: -15%;
}
#map .agent8_txt {
    bottom: 300px;
    left: -35%;
}


/* MAP HOVERS */
#map .map_hovers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
#map .map_hovers .maphover {
    position: absolute;
}
#map .map_hovers .maphover img {
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#map_agent1 {
    top: 86px;
    left: 0;
}
#map_agent2 {
    top: 73px;
    left: 169px;
}
#map_agent3 {
    top: 43px;
    left: 343px;
}
#map_agent4 {
    top: 0;
    left: 543px;
}
#map_agent5 {
    top: 48px;
    right: 545px;
}
#map_agent6 {
    top: 39px;
    right: 343px;
}
#map_agent7 {
    top: 75px;
    right: 167px;
}
#map_agent8 {
    top: 92px;
    right: 0;
}



/* HP FEATURED PROPERTIES */
.hp_widget2 {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.hp_featprop h2 {
    color: #ffffff;
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    text-transform: uppercase;
    background-color: #28378b;
    line-height: 64px;
}
    .fp_wrapper {
        margin: 0 -2px;
        position: relative;
    }

    .featprop {
        margin: 0 2px;
    }
    .featprop a {
        width: 100%;
        height: 361px;
        display: block;
        position: relative;
    }
        .featprop a .fp_img {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
        }
            .featprop a .fp_img canvas {
                width: 100%;
                height: 100%;
                background-position: center center;
                background-size: cover;
            }

        .featprop a .fp_txt {
            width: 100%;
            height: 100%;
            padding-top: 16.3%;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            color: #ffffff;
            font-size: 14px;
            font-weight: 300;
            background-color: rgba(173,26,36,0.75);
            text-align: center;
            opacity: 0;
        }
            .featprop a .fp_txt strong {
                display: block;
                font-size: 36px;
                font-weight: 500;
                line-height: 45px;
            }
            .featprop a .fp_txt em {
                display: block;
                font-size: 10px;
                font-weight: 500;
                font-style: normal;
                text-transform: uppercase;
            }
            .featprop a .fp_txt span.fp_address {
                display: block;
                margin-top: 40px;
                font-size: 16px;
                font-weight: 500;
                font-style: normal;
                text-transform: uppercase;
            }
            .featprop a .fp_txt span.fp_desc {
                display: block;
                margin-top: 5px;
                padding: 0 12%;
                line-height: 20px;
            }

            .featprop a:hover .fp_txt {
                opacity: 1;
            }

        /* FP ARROWS */
        #featprop_slider .slick-arrow {
            width: 22px;
            height: 49px;
            position: absolute;
            z-index: 1;
            top: 43%;
            font-size: 0;
            border: none;
            background-color: transparent;
            background-position: center center;
        }
            #featprop_slider .slick-arrow.slick-prev {
                left: 20px;
                background-image: url(images/fp-prev-arrow.png);
            }
            #featprop_slider .slick-arrow.slick-next {
                right: 20px;
                background-image: url(images/fp-next-arrow.png);
            }
            #featprop_slider .slick-arrow:hover {
                opacity: 0.8;
            }

/* HP TESTIMONIALS */
.hp_widget3 {
    margin-top: 80px;
    text-align: center;
}
    .hp_testimonials h2 {
        margin-bottom: 60px;
        color: #444444;
        font-size: 36px;
        font-family: 'Playfair Display', serif;
        text-transform: uppercase;
        line-height: 33px;
        position: relative;
    }
        .hp_testimonials h2:before,
        .hp_testimonials h2:after {
            width: 35%;
            max-width: 390px;
            height: 1px;
            content: '';
            position: absolute;
            top: 50%;
            background-color: #b7b7b7;
        }
        .hp_testimonials h2:before {
            left: 0;
        }
        .hp_testimonials h2:after {
            right: 0;
        }

    .testi_list {
        padding: 0 15px;
        color: #555555;
        font-size: 12px;
        font-style: italic;
        line-height: 19px;
    }
        .testi_list .testi_txt {
            min-height: 171px;
            margin-bottom: 30px;
            /*width: 70%;*/
            /*display: inline-block;*/
        }
        .testi_list span {
            display: block;
            color: #28378b;
            font-size: 18px;
            font-weight: 600;
            font-style: normal;
        }
        .testi_list span a{
            color: #28378b;
        }
    .testi_list span:hover {
        cursor: pointer;
        opacity: 0.8;
       }


/* HP WELCOME - CONTACT FORM */
.hp_widget4 {
    margin-top: 90px;
    background-color: #ffffff;
    background-image: url(images/welcome-bg.png);
    background-size: auto 460px;
    background-repeat: no-repeat;
    background-position: bottom left;
    position: relative;
    overflow-x: hidden;
}

/* HP WELCOME */
    .hp_welcome {
        color: #555555;
        font-size: 13px;
        padding-top: 100px;
        padding-bottom: 80px;
    }
        .hp_welcome h2 {
            color: #777777;
            font-size: 14px;
            line-height: 25px;
            text-transform: uppercase;
        }
        .hp_welcome h1 {
            margin-bottom: 60px;
            padding-bottom: 70px;
            color: #444444;
            font-size: 36px;
            font-family: 'Playfair Display', serif;
            line-height: 33px;
            text-transform: uppercase;
            position: relative;
        }
            .hp_welcome h1:before {
                width: 125px;
                height: 6px;
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                background-color: #28378b;
            }

            .hp_welcome h1 span {
                color: #28378b;
            }

        .hp_welcome p {
            margin-bottom: 25px;
            line-height: 24px;
        }


/* HP CONTACT FORM */
.hp_cntctform {
    min-height: 667px;
    position: relative;
}
    .welcome_img {
        position: absolute;
        top: 0;
        left: 0;
    }
    .welcome_img:before {
        width: 100%;
        height: 100%;
        content: '';
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: rgba(40,55,139,0.97);
    }

    .cntct_form {
        position: relative;
        z-index: 2;
        padding-top: 155px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 300;
        text-align: center;
    }
        .cntct_form h2 {
            margin-bottom: 10px;
            font-size: 36px;
            font-family: 'Playfair Display', serif;
            line-height: 24px;
            text-transform: uppercase;
        }

        .hp_form {
            width: 100%;
            max-width: 360px;
            margin: 50px auto 0;
            font-size: 0;
        }
            .field_wrap {
                width: 100%;
                display: inline-block;
                vertical-align: top;
                margin-bottom: 5px;
            }
                .field_left {
                    width: 49.5%;
                    max-width: 178px;
                    float: left;
                }
                .field_right {
                    width: 49.5%;
                    max-width: 178px;
                    float: right;
                }

            .hp_form input,
            .hp_form textarea {
                width: 100%;
                height: 37px;
                padding-left: 10px;
                color: #ffffff;
                font-size: 12px;
                text-transform: uppercase;
                background-color: transparent;
                border: 1px solid rgba(255,255,255,0.42);
            }

            .field_bttm {
                height: 129px;
                margin-bottom: 0;
                position: relative;
            }
                .field_bttm textarea {
                    height: 129px;
                    resize: none;
                    padding: 10px 45px 0 10px;
                }
                .hp_form input.send_btn {
                    width: 26px;
                    height: 13px;
                    padding: 0;
                    position: absolute;
                    right: 23px;
                    bottom: 9px;
                    font-size: 0;
                    border: none;
                    background-image: url(images/send-btn.png);
                    background-color: transparent;
                    background-repeat: no-repeat;
                }

                .hp_form .wpcf7-form-control-wrap {
                    display: block;
                }
                .hp_form .use-floating-validation-tip span.wpcf7-not-valid-tip {
                    font-size: 10px;
                }
                .hp_form div.wpcf7-response-output {
                    width: 100%;
                    margin: 5px 0 0;
                    font-size: 11px;
                    text-align: center;
                }


/* FOOTER */
.footer_wrap {
    padding: 65px 0;
    background-color: #e3e3e3;
    color: #969696;
    font-size: 14px;
    text-align: center;
}
    .footer_wrap a {
        color: #969696;
    }
    .footer_wrap a:hover {
        color: #28378b;
    }
    .footinfo li {
        margin: 0 28px;
        display: inline-block;
        vertical-align: top;
        text-align: left;
    }
        .footinfo li:first-child {
            margin-left: 0;
        }
        .footinfo li:last-child {
            margin-right: 0;
        }

        .footinfo li p {
            margin-left: 10px;
            display: inline-block;
            vertical-align: top;
            line-height: 20px;
        }
            .footinfo li span {
                display: inline-block;
                vertical-align: middle;
                color: #797979;
                font-size: 25px;
            }
            .footinfo li span.ai-font-phone {
                font-size: 17px;
            }
            .footinfo li span.ai-font-envelope-f {
                font-size: 15px;
            }

    .foot_logos {
        margin: 35px 0 70px;
    }
        .foot_logos h2 {
            margin-bottom: 45px;
            color: #797979;
            font-size: 18px;
            font-weight: 600;
        }
        .foot_logos li {
            margin: 0 10px;
            display: inline-block;
            vertical-align: top;
        }
            .foot_logos li:first-child {
                margin-left: 0;
            }
            .foot_logos li:last-child {
                margin-right: 0;
            }

    .footernav li {
        margin: 0 10px;
        display: inline-block;
        vertical-align: top;
    }
        .footernav li a {
            color: #969696;
            font-size: 12px;
            text-transform: uppercase;
        }

    .foot_copyright {
        margin-top: 30px;
        font-size: 10px;
    }
    .foot_bttm_logos {
        margin-top: 25px;
    }
        .foot_bttm_logos li {
            margin: 0 7px;
            display: inline-block;
            vertical-align: top;
        }


/*******************************************************
 *
 * 3. IP Styles
 *
 *******************************************************/
#inner-page-wrapper {
    padding-top: 250px;
}


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

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

/* Adjust width of sidebar */
.sidebar {
    width: 23.83%;
    text-align: center;
    padding-top: 21px;
}

/* SIDEBAR INFO */
.side_logo {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
}
    .side_logo img {
        width: 100%;
        max-width: 308px;
    }

.side_info {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
    color: #555555;
    font-size: 15px;
    font-weight: 500;
    line-height: 30px;
}
    .side_info span {
        color: #28378c;
        font-size: 12px;
        margin-right: 5px;
        display: inline-block;
        vertical-align: middle;
    }
    .side_info a {
        color: #555555;
    }
        .side_info a:hover {
            color: #28378b;
        }

/* SIDEBAR CTA */
ul.side_cta {
    margin: 0 auto;
    list-style: none;
}
    ul.side_cta li a {
        width: 100%;
        height: 60px;
        color: #ffffff;
        display: block;
        font-size: 18px;
        font-weight: 500;
        line-height: 60px;
        text-transform: uppercase;
        background-color: #28378b;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    ul.side_cta li a:hover {
        background-color: #ad1a24;
    }




/* 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 {
    color: #28378b;
    font-size: 36px;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
}

/* Style category/archive/etc main headings (h1) */
#content .archive-title {
    color: #28378b;
    font-size: 36px;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
}

/* Styles for category/archive/search/etc subheadings (h2) */
#content .archive-subtitle {
    color: #28378b;
    font-size: 25px;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
}

.agent-holder .render-all-description {
    font-size: 0;
}
    .agent-holder .render-all-description a {
        font-size: 13px;
    }
.agent-holder .attachment-agent-image {
    width: 15%;
}
.agent-holder .agent-contacts {
    width: 85%;
}

.agent-holder a:hover {
    color: #28378b;
}


/* SOLD LISTINGS */
.page-id-7 ul.list .prop-det .prop-beds,
.page-id-7 .pop-details .prop-det .prop-pr,
.page-id-7 .property-pop .det-smi {
    display: none;
}
.page-id-7 ul.list li .prop-det .prop-title {
    margin-bottom: 15px;
}


/* MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css */

a.agent-apply {
        padding: 10px 20px;
    background: #28378b;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 10px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

a.agent-apply:hover {
    background: #ad1a24;
    color: #fff;
}

.em-cc--header {
    display: none !important;
}