/*********************
SHINOBI - LOGAN VARIATION
**********************/

body {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}
h1, h2, .header2, body.shinobi .fancybox-inner h2, #listing_contactform h3, h4, .header4 {
    color: #185686;
    font-family: 'Chivo', Helvetica, sans-serif;
}
a {
    color: #51a2db;
    -o-transition: color 0.5s linear;
    -moz-transition: color 0.5s linear;
    -khtml-transition: color 0.5s linear;
    -webkit-transition: color 0.5s linear;
    -ms-transition: color 0.5s linear;
    transition: color 0.5s linear;
}
a:hover {
    color: #0f2033;
    text-decoration: none;
}
#contact_button a, input.submit, .fancybox-inner input[type="submit"], #agent_search_form #agentsearchsubmit, .listing_detail_cta_request_showing, .listing_detail_cta_request_showing:hover {
    background-color: #51a2db;
}

.flex-control-paging li a.flex-active {
    background-color: #000 !important;
}

/* HEADER ------------------------------------- */

#header {
    border-top-color: #000;
}
#header {
    background-color: transparent;
}
#logo {
    float: left;
    margin-top: 20px;
    z-index: 201;
    position: relative;
    display: block;
    width: 300px;
}

#contact_button a {
    margin-top: -110px;
}

/* NAVIGATION ------------------------------------- */

#nav {
    background-color: transparent;
    position: relative;
    border-top: none;
    border-bottom: none;
    box-shadow: none;
}
#nav .nested {
    float: right;
    margin: -231px auto 0;
    position: relative;
    right: 17%;
    left: auto;
}
body.index #nav .nested {
    float: right;
    margin: -56px auto 0;
    position: relative;
    right: 7%;
    left: auto;
}

#nav ul#mainmenu {
    float: right;
}
#mainmenu li .submenu {
    background-color: transparent;
}
#mainmenu .submenu li a {
    background-color: rgba(0,0,0,0.7);
}
#nav li a {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    color: white;
    font-weight: normal;
}
#nav li a.active, #nav a:hover {
    color: #51a2db;
}

/* BANNER ------------------------------------- */

#banner {
    display: none;
}

body.index #banner {
    top:0;
    position:absolute;
    width: 100vw;
    height: auto;
    display:block;
}

body.index #banner .nested {
    background-image: none;
}

body.index #identity {
    background-image: none;
    height: auto;
    color: transparent;
}

#identity {
    background-attachment: scroll;
    background-image: url("../images/logan_sub_banner.jpg");
    background-size: auto;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position:bottom;
    height: 260px;
}
body.index #page_title {
    display: none;
}

/*banner fade-in */

#banner img {
    animation: 2s ease 0s normal none 1 running fadein;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.ms-caption {
    text-transform: uppercase;
    color: white;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    background-color: #000;
    padding: 20px;
    font-weight: 200;
    font-size: 41px;
}
.button_2,.caption-link {
    font-family: 'Chivo', Helvetica, sans-serif;
    font-size: 21px;
    margin-top: 20px;
    top: 290px !important;
}
.button_2:hover {
    box-shadow: inset 0 0 0 5px #3071A9;
}

/* FEATURE BOXES ------------------------------------- */

body.index #home_feat_box_container {
    margin-top: -80px;
}
body.index .home_feat_box {
    background-color: transparent !important;
    box-shadow: none !important;
}
body.index .home_feat_box_1,
body.index .home_feat_box_2 {
    background-color: transparent !important;
}

/* HOMEPAGE ------------------------------------- */


body.index #content_area {
    margin-top:430px;
}
.bx-wrapper .bx-viewport {
    height: 525px !important;
}
body.index .column1_2 {
    margin: 0 0 70px;
    padding: 0;
    text-align:center;
}
body.index .column1_2,
body.index .column2_2, body.index #listings_bar {
    background-image: none;
}
body.index .column1_2, body.index #listings_bar {
    border-bottom:3px solid #0d2b67;
}
.threecol {
    width: 29%;
    padding: 10px;
    float: left;
}
.column2_2 .threecol {
    font-size: 28px;
    line-height: 35px;
    text-align: center;
    padding: 0 0.75em;
}
.column2_2 .threecol p:first-child {
    padding-top:40px;
}
.brokerage-info {
    font-size:14px;
}
.info-picture {
    margin: 0 auto;
    display:block;
}
body.index .latest_blog_entries {
    width: 100%;
    text-align:center;
}



/* SUBPAGES ------------------------------------- */

/*#page_title {
    margin-bottom: 80px;
    margin-top: -120px;
    height: 80px;
}

#page_title h1 {
    color: #fff;
}*/

/* FOOTER ------------------------------------- */

#footer #realty_ninja a {
    color: #888;
}
#footer {
    background-color: #000;
}
#footer_nav li a {
    color: white;
    font-weight: normal;
}
#footer_nav li a:hover {
    color: white;
}


/* #Media Queries
================================================== */

@media only screen and (max-width: 1600px) {
    #nav .nested {
        right: 7%;
    }
}
@media only screen and (max-width: 1223px) {
    #nav li a {
        font-size: 14px;
        padding: 16px 9px;
    }
    .caption-link {
        top: 240px!important;
    }
    body.index #home_feat_box_container {
        margin-top: -190px;
    }
    /*#page_title {
        margin-top: -124px;
        height: 80px;
    }*/
    h1, body.shinobi .fancybox-inner h1 {
        font-size: 32px;
    }
    .threecol {
        width: 30%;
    }
    .column2_2 .threecol {
        font-size:18px;
    }
}
@media screen and (max-width: 959px) {
    #logo {
        width: 250px;
    }
    #nav .nested {
        margin-top: -247px;
    }
    body.index #nav .nested {
        margin-top: -47px;
    }
    #nav li a {
        padding: 16px 5px;
        font-size: 0.8em;
    }
    .caption-link {
        top: 190px !important;
    }
    /*#page_title {
        margin-bottom: 30px;
        margin-top: 10px;
        height: auto;
    }
    #page_title h1 {
        color: #000;
    }*/
    #banner .nested {
        height: 160px;
    }
    body.index #home_feat_box_container {
        margin-top: -239px;
    }
    .column2_2 .threecol {
        width: 300px;
        padding-right: 0;
        font-size: 19px;
        line-height: 38px;
    }
    .column2_2 .threecol:nth-child(3) {
        float: none;
        margin: 10px auto 0;
    }
    .info-brokerage {
        padding: 70px 0 23px;
    }
    .column2_2 .threecol {
        padding-left: 50px;
    }
}
@media screen and (max-width: 767px) {
    .column2_2 .threecol {
        padding-left: 0;
    }
    #logo {
        float: none;
        margin: 20px auto;
        display: block;
    }
    #nav li a {
        font-size: 0.9em;
    }
    #nav .nested {
        float: none;
        margin-top: -154px;
        right: auto;
    }
    body.index #nav .nested {
        float: none;
        margin: 3px auto -187px;
        right: auto;
    }
    #nav ul#mainmenu {
        float: none;
    }
    .nested #mainmenu {
        text-align: center;
    }
    .nested #mainmenu {
        text-align: center;
    }
    .nested #mainmenu > li {
        display: inline-block;
        float: none;
        text-align: left;
    }
    #contact_button a {
        margin-top: 0;
    }
    .ms-slide-bgcont img {
        height: 373px !important;
        width: 800px !important;
    }
    .ms-slide, .ms-view .ms-fade-view .ms-grab-cursor, .ms-view {
        height: 340px !important;
    }
    #home_feat_box_container {
        margin-top: 0;
    }
    .column2_2 .threecol {
        float: none;
        width: 100%;
        margin: 20px auto;
        display: block;
    }
    .column2_2 .threecol {
        padding-right: 0;
    }
}
@media screen and (max-width: 479px) {

    #header {
        background-image: url('../images/logan_sub_banner.jpg');
        background-size: cover;
    }
    #logo {
        margin: 30px auto;
    }
    #banner {
        display: none;
    }
    #identity {
        background-image: none;
        height: auto;
    }
    .column2_2 .threecol {
        padding-right: 0;
    }
    #nav .nested {
        margin: 0 auto;
    }
    #nav li a {
        font-size: 1em;
    }
    .show-menu {
        background-image: url("/static/themes/shinobi/images/showmenu-white.svg");
    }
    body.index #content_area {
        margin-top: 180px;
    }
    body.index #home_feat_box_container {
        margin-top: 0px;
    }
    .ms-slide .ms-layer,
    .ms-fixed-layers .ms-layer {
        font-size: 16px !important;
        line-height: 24px !important;
        top: 24px;
    }
    h2, .header2, body.shinobi .fancybox-inner h2, #listing_contactform h3 {
        line-height: 30px;
    }
    #text3 .threecol {
        float: none;
        width: 100%;
    }
}