/*
Theme Name: Remax By The Bay Realty
Theme URI: http://aios3-staging.agentimage.com/b/bythebayre.com/htdocs
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.4.0
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 {
	position:relative;
}
  
#nav .sub-menu {
    list-style: none outside none;
    margin: 0;
    background: rgba(0,0,0,0.9) url("images/submenu-fixer.png");
    display: none;
    padding: 0;
    position: absolute;
 	width:100%;
 	min-width:180px;
}
#nav .sub-menu a {
    color: #FFFFFF;
    display: block;
    padding: 10px;
}
#nav .sub-menu a:hover {
    background: none repeat scroll 0 0 #b2b2b2;
    color: #000000;
    text-decoration: none;
}
#nav .sub-menu .sub-menu {
    margin-left: 100%;
 	top:0;
}
#nav li:hover > .sub-menu {
    display: block;
}
#nav .sub-menu li {
    position: relative;
}


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

/* Global */

body{
	font-family: 'Roboto', sans-serif;;
	font-size: 13px;
	background: #FFF;
	color: #000000;
	margin: 0;
}
a, a:hover{
    text-decoration: none;
}
.label-hide{
    display: none;
}
.content-wrap{
    position: absolute;
    z-index: 3;
    width: 100%;
    font-size: 0;
}

/* Header */
.header-wrap {
    background: rgba(255,255,255,1);
    /*padding: 25px 0;*/
    padding: 10px 0;
    top: 0;
    z-index: 1009;
}
    /* Header Logo */
    img.header-logo {
        max-width: 100%;
        transition: all .25s ease-in-out;
        -moz-transition: all .25s ease-in-out;
        -webkit-transition: all .25s ease-in-out;
    }

   /* Navigation */
   .header-right{
    /*padding: 3px 0 0 23px;*/
    padding: 36px 0 36px 23px;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
   }
    .navigation-wrap {
        display: inline-block;
    }
        .navigation-wrap #nav li {
            display: inline-block;
        }
        #nav li a {
            font-family: 'Roboto', sans-serif;
            font-size: 13px;
            color: #464646;
            text-transform: uppercase;
            font-weight: 500;
            padding: 0 17.5px;
        }
        #nav > li:first-child a{
            padding-left: 0 !important;
        }
        #nav .sub-menu {
            padding-top: 25px !important;
            background: transparent !important;
        }
        #nav .sub-menu li{
            background: #fff;
            text-align: center;
            width: 100%;
        }
            #nav .sub-menu li a{
                font-family: 'Roboto', sans-serif;
                font-size: 13px;
                color: #464646;
                text-transform: uppercase;
                font-weight: 500;
            }

        /* Hover */
        #nav li a:hover{
            /*color: #802c1a;*/
            color: #1E2B59;
        }
        #nav .sub-menu a:hover{
            background: #fff;
            color: #1F2D5A;
        }

    /* Translate */
    .translator-wrapper {
        width: 108px;
        display: inline-block;
        padding: 0 17.5px;
    }
        select.ai-google-translate-select-element.notranslate {
            border: none;
            font-family: 'Roboto', sans-serif;
            font-size: 13px;
            color: #464646;
            text-transform: uppercase;
            font-weight: 500;
            -webkit-appearance: none;
            -moz-appearance: none;
            text-indent: 1px;
            text-overflow: '';
            width: 77px;
        }

    /* Contact wrapper */
    .contact-wrap{
        display: inline-block;
    }
        .contact-wrap em, .contact-wrap span.ai-font-envelope{
            /*color: #971e01;*/
            color: #243E99;
            padding: 0 20px;
        }
        .contact-wrap em{
            font-family: 'Roboto', sans-serif;
            font-weight: 500;
            border-left: 1px solid #dedede;
            font-size: 12px;
        }
        .contact-wrap span.ai-font-envelope{
            font-size: 10px;
            border-left: 1px solid #dedede;
            border-right: 1px solid #dedede;
        }
        .contact-wrap .smi{
            font-size: 13px;
            color: #464646;
        }
        .contact-wrap .facebook{
            padding: 0 18px;
        }

/* Fixed Header */
.fixed-header img.header-logo {
    max-width: 87%;
}
.fixed-header .header-right {
    padding: 31px 0 31px 23px;
}

/* Slideshow */
.slideshow-wrap:after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(46, 45, 45,0.30);
    z-index: 2;
}

/* Quick Search */
.qs-wrap {
    text-align: center;
    top: 22.75%;
    z-index: 4; 
}
    .qs-widget-title{
        font-family: 'Raleway', sans-serif;
        font-size: 25px;
        font-weight: bold;
        text-transform: uppercase;
        color: #fff;
    }
    .qs-form {
        font-size: 0;
        padding-top: 17px;
    }
    .qs-form input{
        width: 100%;
        border: none;
        height: 30px;
        font-family: 'Roboto', sans-serif;
        font-size: 11px;
        color: #7d7d7d;
        padding-left: 10px;
    }
    .qs-form .qs-field{
        padding: 0 5px;
    }
    .qs-form .long-form {
        width: 20.614%;
        display: inline-block;
    }
    .qs-form .short-form {
        width: 10.087%;
        display: inline-block;
    }
    .qs-form .qsbtn1 {
        width: 9.649%;
        display: inline-block;
        position: relative;
    }
        .qsbtn1 #qssubmit{
            font-family: 'Roboto', sans-serif;
            font-size: 11px;
            color: #fff;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            /*background: #971e01;*/
            background: #243E99;
            text-align: center;
        }
        .qsbtn1:before{
            position: absolute;
            content: '';
            width: calc(100% - 10px);
            height: 0;
            background: #fff;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            transition: all .25s ease;
            -webkit-transition: all .25s ease;
            -moz-transition: all .25s ease;
        }
        .qsbtn1:hover:before{
            height: 5px;
        }

/* CTA */
.cta-wrap {
    top: 36.5%;
    text-align: center;
}
    .cta-link{
        display: inline-block;
        border-radius: 50%;
        overflow: hidden;
    }
     .cta-item1{
    background: url(images/cta1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    }
    .cta-item2{
        background: url(images/cta2.jpg) no-repeat;
        background-size: cover;
        background-position: center;
    }
    .cta-item3{
        background: url(images/cta3.jpg) no-repeat;
        background-size: cover;
        background-position: center;
    }
    .cta{
        width: 170px;
        height: 170px;
        position: relative;
        display: inline-block;
        border-radius: 50%;
        overflow: hidden;
        margin: 0 12.5px;
    }
        .cta:before{
            content: '';
            display: inline-block;
            width: 0;
            height: 100%;
            overflow: hidden;
            vertical-align: middle;
        }
        .cta:after{
            position: absolute;
            content: '';
            width: 100%;
            height: 100%;
            /*background: rgba(151, 30, 1,0.80);*/
            background: rgba(38,63,153,0.80);
            top:0;
            left:0;
            z-index: 3;
            display: inline-block;
            overflow: hidden;
            transition: all .25s ease-in-out;
            -webkit-transition: all .25s ease-in-out;
            -moz-transition: all .25s ease-in-out;
        }
        .cta-text-wrap{
            display: inline-block;
            vertical-align: middle;
            text-align: center;
            position: relative;
            z-index: 4;
        }
            .cta-text-wrap:before{
                position: absolute;
                content: '';
                width: 17px;
                height: 2px;
                left:0;
                right: 0;
                bottom: -10px;
                margin: auto;
                background:rgba(255,255,255,0.50);
            }
        .cta-text-wrap span.cta-text {
            font-family: 'Raleway', sans-serif;
            text-transform: uppercase;
            /* line-height: 1; */
            line-height: 1.2;
            color: #fff;
        }
            .cta-small-text {
                font-size: 11px;
                display: block;
                /* letter-spacing: 5px; */
                letter-spacing: 2px;
            }
            .cta-big-text {
                /* font-size: 17px; */
                font-size: 14px;
                font-weight: 600;
            }
    .cta-link:hover .cta:after{
        /*background: rgba(64, 14, 3,0.95);*/
        background: rgba(30,43,89, .95);
    }

/* Section 4 */
.section4-wrap {
    bottom: 60px;
}

/* Featured Properties */
.fp-wrap {
    background: rgba(255,255,255,0.94);
    width: 49.9%;
    display: inline-block;
    vertical-align: top;
    float: left;
}
    .fp-img-slide {
        display: inline-block !important;
        width: 57%;
        vertical-align: top;
    }
        canvas.fp-img-wrap {
            width: 100%;
            height: 239px;
            background-repeat: no-repeat;
            background-size: cover;
            display: block;
        }
    .fp-right-wrap {
        display: inline-block !important;
        width: 43%;
        vertical-align: top;
        padding-left: 4.62%;
    }
        h3.fp-widget-title, h3.welcome-widget-title {
            font-family: 'Raleway', sans-serif;
            /*color: #400f02;*/
            color: #1E2B59 ;
            font-size: 20px;
            text-transform: uppercase;
            font-weight: 500;
            line-height: 1;
            padding-top: 30px;
        }
        .fp-details-wrap {
            font-family: 'Roboto', sans-serif;
            color: #404040;
            max-width: 210px;
        }
        span.fp-price {
            font-size: 28px;
            font-weight: 500;
            line-height: 1;
            padding-top: 24px;
            display: block;
        }
        span.fp-address {
            font-size: 13px;
            display: block;
            line-height: 1;
            padding-top: 14px;
        }
        span.fp-extra-info {
            font-size: 11px;
            font-style: italic;
            display: block;
            line-height: 1;
            padding-top: 14px;
        }
    .fp-arrows {
        margin-top: 23px;
    }
    img.fp-left-btn {
        margin-right: 10px;
    }
    img.fp-left-btn, img.fp-right-btn{
        cursor: pointer;
    }

    /* default slick arrows */
    button.slick-prev.slick-arrow, button.slick-next.slick-arrow {
        display: none !important;
    }
/* Welcome */
.welcome-wrap {
    width: 49.9%;
    background: rgba(255,255,255,0.94);
    display: inline-block;
    vertical-align: top;
    float: right;
    padding-left: 60px;
}
    .welcome-content-wrap{
        max-width: 730px;
        max-height: 187px;
        padding-top: 18px;
        overflow-y: scroll;
    }
    .welcome-content-wrap p {
        font-family: 'Roboto', sans-serif;
        font-size: 13px;
        font-weight: 300;
        color: #636363;
        line-height: 21px;
        margin-bottom: 15px;
    }

    .welcome-content-wrap ul {
        display: inline-block;
        width: 100%;
        margin-bottom: 15px;
        margin-left: 30px;
    }

    .welcome-content-wrap li {
        font-size: 13px;
        float: left;
        width: 50%;
        padding-right: 10px;
        list-style-type: disc;
        text-align: left;
    }

    .welcome-content-wrap span.read-btn {
        font-family: 'Roboto', sans-serif;
        font-size: 11px;
        font-weight: 500;
        font-style: italic;
        /*color: #400e03;*/
        color: #1E2B59;
        margin-top: 18px;
        display: block;
    }

/* Footer */
.footer-wrap {
    bottom: 0;
    /*background: #400e03;*/
    background: #1E2B59;
    padding: 20px 0;
}
    .footer-wrap p {
        font-family: 'Roboto', sans-serif;
        font-size: 12px;
        font-weight: 300;
        /*color: #c8a386;*/
        color: #7F91DD;
        padding-top: 3px;
    }
    .footer-wrap p a{
        /*color: #c8a386;*/
        color: #7F91DD;
    }
    .footer-logos-wrap .remax-logo{
        max-width: 100%;
        display: inline-block;
        vertical-align: middle;
    }
    .footer-logos-wrap span.ai-font-footer-logo {
        font-size: 21px;
        /*color: #c8a386;*/
        color: #7F91DD;
        margin-left: 25px;
        display: inline-block;
        vertical-align: middle;
    }

    .footer-logos-wrap {
        text-align: right;
    }

ul.footernav li a {
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #7F91DD;
    display: block;
}

    ul.footernav li {
        display: inline-block;
        vertical-align: top;
        padding-right: 9px;
        border-right: solid 1px #7F91DD;
        padding-left: 8px;
    }

        ul.footernav li:first-child{
            padding-left: 0;
        }

            ul.footernav li:last-child{
                border-right: 0;
            }
    
 
/*******************************************************
 *
 * 3. IP Styles
 *
 *******************************************************/

/* 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: 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 { 
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    /*color: #400f02;*/
    color: #1E2B59;
    text-transform: uppercase;
}

/* Style category/archive/etc main headings (h1) */
#content .archive-title { 
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    /*color: #400f02;*/
    color: #1E2B59;
    text-transform: uppercase;
}

/* Styles for category/archive/search/etc subheadings (h2) */
#content .archive-subtitle { 
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    /*color: #400f02;*/
    color: #1E2B59;
    margin: 0
}
.archive-date {
    margin-bottom: 11px;
}
.ip-container .header-wrap {
    position: fixed;
}

.ip-container .footer-wrap{
    position: relative;
}
.ip-container:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 1068px;
    top: 0;
    left: 0;
    background-image: url(images/ip-bg-new.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}
#inner-page-wrapper{
    padding-top: 137px;
    min-height: 700px;
}
#inner-page-wrapper > .container{
    background: #fff;
}

/* Sidebar */
.sidebar .cta-link{
    display: block;
    margin: 5px 0;
}

/* 11-7-17 */
.page-id-30 .sidebar{
    display: none;
}
.sidebar h3.side-qs-text {
    color: #1F2D5A;
    text-transform: uppercase;
    font-size: 25px !important;
    text-align: center;
}
	

.page-id-30 #content .entry-title {
    color: #243E99;
}

/* josh update-11-20-17 */
.page-id-139 .agent-wrap {
    text-align: center;
}
/* END update-11-20-17 */


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

.hp-quick-search .bootstrap-select.btn-group {

}

.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle {
    width: 100%;
    border: none;
    height: 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: #7d7d7d;
    padding-left: 10px;
    margin-top: -1px;
     padding: 7px 12px;
}

.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {

}

.select-pt{
    width: 100%;
    border: none;
    height: 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: #7d7d7d;
    padding-left: 10px;
}
div#IDX-resultsPagerTop ul {
    margin-left:0px;
    margin:0px;
}

select.IDX-resultsPerPageSelector {
    padding: 6px;
    margin-top: 1px;
}

.select-pt {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 30px;
    line-height: 11px;
    background: #fff;
}

.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {
    font-size: 11px;
    line-height: 11px;
    margin-top: 2px;
}

.qsbtn1 #qssubmit {
    padding: 0 10px;
}

.qs-form input:not(#qssubmit) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 11px;
}

select.ai-google-translate-select-element.notranslate {
    background: transparent !important;
}

select.ai-google-translate-select-element.notranslate::-ms-expand {
    display: none;
}

body.home {
    position: relative;
    min-height: 100vh !important;
}

.sidebar .use-floating-validation-tip span.wpcf7-not-valid-tip {
    padding: .2em 0.2em !important;
}

/* Join Our Newsletter */
.join-our-newsletter .newsletter-popup-mask {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: all 0.8s ease-in-out;
}
.join-our-newsletter.active .newsletter-popup-mask {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(119, 119, 119, 0.7);
    text-align: center;
    overflow-y: auto;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container {
    display: inline-block;
    vertical-align: middle;
    width: 450px;
    max-width: 95%;
    position: relative;
    box-shadow: 0 0 20px #111;
    -moz-box-shadow: 0 0 20px #1111;
    -webkit-box-shadow: 0 0 20px #111;
    background: #fff;
    padding: 30px;
    margin-top: -5%;
    transition: all 0.8s ease-in-out;
    opacity: 0;
}

.join-our-newsletter.active .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container {
    margin-top: 0;
    opacity: 1;
}
 
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-popup-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    background: #243E99;
    color: #fff;
    transition: all 0.4s ease-in-out;
}
 
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-popup-close:hover {
    background: #1d3179;
}
 
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-popup-close span {
    margin-top: 10px;
    display: inline-block;
    vertical-align: middle;
}
 
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-title {
    font-family: 'Raleway', sans-serif;
    color: #1E2B59;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 5px;
}
 
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-text {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #636363;
    line-height: 18px;
    margin-bottom: 20px;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form {
    position: relative;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form .wpcf7-form-control-wrap {
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form .wpcf7-form-control-wrap.first-name,
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form .wpcf7-form-control-wrap.last-name {
    width: calc(50% - 5px);
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form .wpcf7-form-control-wrap.last-name {
    float: right !important;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form input[type="text"],
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form input[type="email"],
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form input[type="number"] {
    display: block;
    width: 100%;
    height: 32px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #636363;
    border: 1px solid #c1c1c1;
    padding: 0 10px;
    outline: inherit;
    font-weight: 300;
    transition: all 0.2s ease-in-out;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form input[type="text"]:focus,
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form input[type="email"]:focus,
.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form input[type="number"]:focus {
    border-color: #243E99;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form input[type="submit"] {
    float: left;
    display: block;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    letter-spacing: 1.1px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    background: #243E99;
    text-align: center;
    text-decoration: none;
    padding: 6px 10px;
    border: none;
    outline: inherit;
    transition: all 0.4s ease-in-out;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form input[type="submit"]:hover {
    background: #1d3179;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form .ajax-loader {
    position: absolute;
    bottom: 9px;
    left: 10px;
    margin: 0;
}

.join-our-newsletter .newsletter-popup-mask .newsletter-popup-wrap .newsletter-popup-container .newsletter-form .wpcf7-response-output {
    float: left;
    margin: 0;
    width: 100%;
    margin-top: 10px;
}