/*
Theme Name: BonesTheme
Theme URI: http://odmwebsolutions.com
Author: Adam Henry
Author URI: http://odmwebsolutions.com
Description: This theme is a bare bones WP theme which provides a base to build off of. Bootstrap based.
Version: 1.0
*/
@font-face {
    font-family: 'Avenir';
    src: url('/wp-content/themes/bonesTheme/fonts/Avenir.ttf');
}
*{
    font-family:'Avenir', 'Nunito', arial, sans-serif;
    color: #505050;
}

body{
    height: 100%;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}
#wpadminbar{
    z-index: 10000000;
}
.logged-in .navbar{
    margin-top: 30px;
}

#main-content{
    width: 100%;
}
.post-meta li{
    display: inline-block;

}
.no-bullet{
    list-style-type: none;
}

#logo{
    position: relative;
    z-index: 19000;
    margin-left: 20%;
    margin-top: 10px;
}
#logo h1{
    color: #ffffff;
}
#logo img{
    max-height: 50px;
    top: 20px;
    margin-top: auto;
    margin-bottom: auto;
}
.hidden{
    display: none;
}
a:focus {
    text-decoration: none;
}

/*
*   NAVBAR
*************************************/
#site-navigation{
    right: 200px;
    z-index: 1000000;
    position: absolute;
    width: 50%;
}
#site-contact-header{
    height: 35px;
    background: #262361;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-right: 3%;
}
#site-contact-header a, #site-contact-header span{
    color: #ffffff;
    margin-top: auto;
    margin-bottom: auto;
}
.navbar-default{
    background-color: transparent;
    border-color: transparent;
}
.navbar-nav {
    float: right;
    width: 100%;
}
#menu-menu-1{
    display: flex;
    justify-content: flex-end;
    margin-right: 30%;
}
#menu-menu-1 > .menu-item{
    /*width: 23%;*/
    font-size: 14px;
}
.navbar{
    z-index: 10000000;
    margin: 0 auto;
    display: flex;
    height: 110px;
    background: transparent;
    flex-direction: column;
}
.main-nav{
    display: flex;
    height: 80px;
    justify-content: space-between;
}
.main-nav a{
    display: flex;
}
.navbar-inner .container ul{
    /*background-color: rgba(108, 86, 16, 0.80);*/
    position: relative;
}
/*.navbar-inner .container ul:after{
    position: absolute;
    font-family: FontAwesome;
    content: '\f0c9';
    color: #ffffff;
    font-size: 30px;
    top: 5px;
    right: 10px;
    transform: rotate(-90deg);
}*/

#menu-menu-1 li a{
    font-size: 16px;
}
.nav-inactive{
    position: absolute;
    right: 20px;
    display: inline-block;
    font-size: 40px;
    color: #262361;
    z-index: 10000000;
}
.nav-active{
    position: absolute;
    right: 20px;
    display: inline-block;
    font-size: 40px;
    color: #000000;
    z-index: 10000000;
    transform: rotate(90deg);
}

.inactive{
    display: none;
}
.active{
    border-bottom: 2px solid #eee;
}

.caret{
    display: none;
}
ul.sub-menu{
    display: none;
}
.nav>li>a{
    color: #ffffff;
    padding: 10px ;
    font-size: 16px;
}
.nav>li>a:focus{
    background-color: transparent;
}
.nav>li>a:hover{
    background: transparent;
    border-bottom: 2px solid #eee;
}
#menu-wrapper{
    min-height: 40px;
    margin-top: auto;
    margin-bottom: auto;
    align-self: flex-end;
    z-index: 10000000;
    padding-right: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
#header-phone{
    color: #ffffff;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 10%;
}
/*.nav>li>a:focus, .nav>li>a:hover, .nav .open>a, .nav .open>a:focus, .nav .open>a:hover{
    background-color: #262361;
    color: #ffffff;
}*/

.navbar-background{
   /* background: transparent; /!* Old browsers *!/*/
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f2f5f6+0,e3eaed+37,c8d7dc+100;Grey+3D+%234 */
   background-image: url('images/home-main-background.jpg');
    background-size: cover;
    background-position: center center;
    height: 70px;
}
.accent-hr-blue{
    border: 1px solid #262361;
    width: 100px;
    text-align: center;
}
/*
*HOME PAGE  SLIDER/BACKGROUND IMAGES
**************************************/
#hr-1{
    position: relative;
    height: 65vh;
    background-image: url('images/home-main-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
}
/*#hr-1:after{
    content: " ";
    z-index: 10;
    display: block;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
}*/
#hr-1, #hr-2, #hr-3, #hr-4, #hr-5{
    padding-right: 6%;
    padding-left: 6%;
}
#hr-1>div{
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
}
#hr-1 h1{
    color: #ffffff;
    font-size: 40px;
}
/*#hr-2-left-image{
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}
#hr-2-left-image.fade-in{
    opacity: 1;
    transform: translateY(0px);
}*/
#hr-2-right, #hr-3-right, #hr-4-right{
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}
#hr-2-right.fade-in, #hr-3-right.fade-in, #hr-4-right.fade-in{
    opacity: 1;
    transform: translateX(0px);
}
#hr-2-left, #hr-3-left, #hr-4-left{
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}
#hr-2-left.fade-in, #hr-3-left.fade-in, #hr-4-left.fade-in{
    opacity: 1;
    transform: translateX(0px);
}
#callModal .modal-dialog{
    margin-top: 200px;
    display: flex;
}
#callModal .modal-content{
    background: rgba(38, 35, 97, 1);
    color: #ffffff;
    width: 300px;
    border-radius: 0;
    margin: 0 auto;
}
#callModal .modal-content h3, #callModal .modal-content p{
    color: #ffffff;
    text-align: center;
    margin: 0 0 15px 0;
}
#callModal .modal-content .close span{
    color: #ffffff;
}
#callModal .modal-content .modal-header{
    border-bottom: 0 solid #ffffff;
}
#cta{
    width: 80%;
    margin-left: -10%;
    padding: 3% 5%;
    border: 2px solid #ffffff;

    text-align: center;
    background: rgba(38, 35, 97, .8);
}
#cta h4{
    font-size: 24px;
    color: #ffffff;
}
#cta button{
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    margin-top: 25px;
    font-size: 18px;
}

#hr-2{
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    padding-top: 115px;

}
.section-background-text{
    font-size: 125px;
    position:absolute;
    top: 40px;
    right: -20px;
    color: #f4f3f3;
    font-weight: 700;
    height: 100%;
    z-index: -10000;
    font-family: "Lato", arial, sans-serif;
}
.centering-content{
    margin-top: auto;
    margin-bottom: auto;
}
#hr-2-heading{
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

h2, h3, h4{
    letter-spacing: -1px;
    color: #315570;
}
h2{
    font-size: 24px;
}
h3{
    font-size: 16px;
}
#hr-2-left{
    height: 350px;
}
#hr-2 ul{
    list-style-type: none;
    padding-left: 0;
}

#hr-3{
    min-height: 460px;
    display: flex;
    position: relative;
    padding-top: 100px;
    flex-direction: column;
}

#hr-3 .section-background-text{
    left: -20px;
}
#hr-3 p{
    color: #000000;
    margin-top: 30px;
}
#hr-3-right{
    margin-top: -250px;
}
.property{
    height: 200px;
    width:100%;
    -webkit-background-size:cover;
    background-size:cover;
    background-position: center center;
}
#hr-4{
    min-height: 350px;
    padding-top: 100px;
    display: flex;
    position: relative;
    flex-direction: column;
}

#hr-4-content{
    border: 10px solid #315570;
    padding: 40px;
    margin-top: 100px;
    display: flex;
}
#hr-4-content img{
    margin: -17% 0 0 -17%;
    min-height: 350px;
    display: inline-flex;
}
#hr-4-right{
    margin-left: -10%;
}
#hr-4-content .lead-attorney{
    padding-left: 25px;
}
.lead-attorney h2, .lead-attorney h4{
    margin-bottom: 30px;
}
#hr-4 .col-sm-8 p{
    margin: auto;
}
#hr-5{
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    padding-bottom: 100px;
}
/*#hr-5 .section-background-text{
    left: -20px;
}*/
#hr-5-content{
    margin-top: 50px;
}
#hr-5-content img{
    max-height: 430px;
}
#hr-5 form{
    display: flex;
    flex-direction: column;
}
#hr-5 form input, #hr-5 form textarea{
    width: 100%;
    padding: 10px;
    margin: 0 0 10px 0;
    background: #ebebeb;
    border: 0;
}
#hr-5 form input[type="submit"]{
    width: 100%;
    align-self: flex-end;
    background: #315570;
    border: 0;
    color: #ffffff;
}
#hr-2-right, #hr-3-right, #hr-4-right, #hr-5-right{
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}
#hr-2-right.fade-in, #hr-3-right.fade-in, #hr-4-right.fade-in, #hr-5-right.fade-in{
    opacity: 1;
    transform: translateX(0px);
}
#hr-2-left, #hr-3-left, #hr-4-left, #hr-5-left{
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}
#hr-2-left.fade-in, #hr-3-left.fade-in, #hr-4-left.fade-in, #hr-5-left.fade-in{
    opacity: 1;
    transform: translateX(0px);
}

/*
*   INTERNAL PAGE
*************************************/
#ir-1{
    background-image: url(images/internal-header-image.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 35vh;
    display: flex;
    padding-top: 60px;
}
#ir-1:after{
    height: 35vh;
    position: absolute;
    width: 100%;
    background: rgba(0,0,0,0.2);
    top: 0;
    left: 0;
    right: 0;
    display: block;
    content: ' ';
    z-index: 10;
}
#ir-1 h1{
    margin: auto;
    color: #ffffff;
    z-index: 100;
}
#ir-2{
    padding: 0 15px;
}
.et_divi_builder #et_builder_outer_content .et_pb_widget_area.internal-sidebar #searchform input[type="submit"] {
    position: relative !important;
}
.et_divi_builder #et_builder_outer_content .et_pb_contact p input, .et_divi_builder #et_builder_outer_content .et_pb_contact p textarea{
    margin-bottom: 10px !important;
}
#srv-1 {
    background: #262361;
    height: 300px;
    text-align: center;
    padding-top: 60px;
}
#srv-1 h1, #srv-1 h3{
    color: #ffffff;
    display: block;
}
#srv-1 h1{
    font-size: 60px;
}
.srv-gray{
    background-color: #f0f2f2;
    padding: 2% 10%;
    height: 300px;

}
/*.srv-gray p, .srv-gray h3{
    color: #ffffff;
}*/
.srv-white{
    background: #ffffff;
    padding: 2% 10%;
    height: 300px;
}
#srv-divider{

    background: #eccc86;
    height: 10px;
}
#srv-2{
    height: 100%;
}
#srv-2 h3{
    margin-bottom: 20px;
}
#srv-2 p{
    font-size: 16px;
}
#srv-3{
    height: 250px; 
    padding: 2% 20%;
    text-align: center;
    background: #262361;
    margin-bottom: 80px;
}
#srv-3 h3{
    color: #ffffff;
}
#srv-3 button{
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 5px;
    color: #ffffff;
    margin-top: 40px;
    padding: 15px 25px;
}
#srv-3 button:hover{
    background: rgba(0,0,0,0.2);
}

#blog-sidebar h1{
    margin-top: 10px;
}

#contact{
    padding-top: 95px;
    height: 100%;
    position: relative;
}
#lower-contact-area{
    min-height: 750px;
}
#main-contact, #contact-info{
    padding-top: 30px;
}
#contact-title{
    padding: 2% 8%;
    width: 100%;
    background: #262361;
    height: 250px;
    text-align: center;
}
#contact-title h1, #contact-title h3{
    color: #ffffff;
}
#contact input, #contact textarea{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #262361;
    font-size: 18px;
}
#contact input[type="submit"]{
    background: rgba(145, 229, 119, 1);
    padding: 10px;
    color: #ffffff;
    border: 2px solid rgba(145, 229, 119, 1);
}
#contact input[type="submit"]:hover{
    background: rgba(120, 188, 100, 1);
    border: 2px solid rgba(120, 188, 100, 1);


}
.module-heading{
    font-size: 18px;
}
#blog-sidebar{
    border-right: 1px solid #262361;
    padding:0 5%;
}
#blog-sidebar h1{
    background: #262361;
    padding: 20px;
    color: #ffffff;
}
footer{
    position: relative;
    min-height: 230px;
    width: 100%;
    background: #3E5F76;
    padding: 15px 6%;
    display: flex;
    flex-direction: column;
}
.footer-info{
    background: #3E5F76;
    display: flex;
    position: relative;
    width: 100%;
    bottom: 0;
    padding: 15px;
    margin-top: 40px;
    font-size: 12px;
}
#fwidgets h3, #fwidgets h4, #fwidgets a{
    color: #ffffff;
}
#fwidgets h3 {
    font-weight: 900;
    font-size: 18px;
}
#fwidgets h4{
    font-weight: 100;
    font-size: 20px;
}
#fwidgets p{
    font-weight: 100;
    font-size: 18px;
}
#fw-2{
    text-align: center;
}
#fw-3{
    text-align: right;
}
#fw-3 span{
    color: #ffffff;
    font-size: 30px;
    padding: 10px;
}
#fwidgets .module-heading{
    color: #ffffff;

}
#fwidgets ul{
    padding-left: 0;
    list-style: none;
}
#fwidgets ul li a{
    color: #ffffff;
}
#footer-copyright{
    color: #ffffff;
    margin: auto;
}

footer p{
    color: #ffffff;
    margin-bottom: auto;
}
/*
*    RESOURCES
************************************/
#resources{
    padding-top: 95px;
}
#resources-title{
    padding: 2% 15%;
    width: 100%;
    background: #262361;
    height: 250px;
    text-align: center;
    color: #ffffff;
}
#resources-title h1{
    color: #ffffff;
}
.et_divi_builder #et_builder_outer_content .et_pb_section{
    padding: 0 !important;
}

/* ----------- Microsoft IE 10+ STYLES ----------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #hr-1>div{
        position: relative;
        top: 35%;
    }
}



/* ----------- Non-Retina Screens ----------- */
@media screen
and (min-width: 1250px)
and (max-width: 1500px) {
    .section-background-text{
        font-size: 136px;
    }
}
@media screen
and (min-width: 1620px){
    #hr-1{
        background-position: 0px -200px;
    }

}
@media screen
and (max-width: 1300px){
    #hr-1{
        background-position: 0px 0px;
    }

}
@media screen
and (max-width: 1200px){
    #menu-wrapper{
        right: 20px;
    }
    #menu-menu-1 > li > a{
        font-size: 14px;
    }
    #logo{
        max-height: 60px;
    }

}
/* ----------- Retina Screens ----------- */
@media screen
and (min-device-width: 1200px)
and (max-device-width: 1600px)
and (-webkit-min-device-pixel-ratio: 2)
and (min-resolution: 192dpi) {
}
@media screen
and (min-width: 1100px) {
    #hr-4-left{
        margin-left: 0;
    }
  
}
@media only screen
and (min-width: 880px)
and (max-width: 1100px){
    #hr-4-content img{
        margin: -17% 0 0 -17%;
    }
    .section-background-text{
        font-size: 105px;
    }

}
@media only screen
and (min-width: 768px)
and (max-width: 991px){
    #hr-3-right{
        margin-top: 0;
    }
}
/* TABLETS */
@media only screen
and (min-width: 768px)
and (max-width: 1024px){
    #hr-1{
        height: 500px;
        background-attachment: scroll;
        background-position: center center !important;
    }
    #hr-1 h1{
        font-size: 35px;
    }
    .section-background-text{
        font-size: 130px;
    }
    #hr-3 .section-background-text{
        font-size: 105px;
    }
    #hr-3 #hr-3-left{
        margin-top: -20px;
    }
}
@media only screen
and (min-width: 768px)
and (max-width: 1024px)
and (orientation: portrait){
    #hr-3-right{
        margin-top: 10px;
    }
    .section-background-text{
        font-size: 100px;
    }
    #hr-2{
        padding-top: 80px;
    }
    #hr-4-content img{
        height: 200px;
    }

}
/* Portrait and Landscape */
@media only screen
and (max-width: 768px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }

    /*.navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }*/
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    #menu-wrapper{
        width: 100%;
        right: 0;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;

    }
    .nav>li>a{
        color: #ffffff;
        font-size: 18px;
    }
    .collapse.in{
        display:flex !important;
    }

    #menu-menu-1{
        display: flex;
        flex-direction: row;
        width: 100%;
    }
}
/* Portrait and Landscape */
@media only screen
and (min-width: 320px)
and (max-width: 767px) {
    body.logged-in{
        top: -46px;
    }
    body.logged-in .navbar{
        margin-top: 46px;
    }
    .navbar{
        height: auto;
        background-image: url('images/home-main-background.jpg');
    }
    .main-nav{
        display: flex;
        height: auto;
        justify-content: space-between;
    }
    .main-nav a#header-phone{
        display: flex;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: auto;
        font-size: 18px;
        color: #ffffff;
        text-align: right;
        width: 45%;
    }
    .navbar-fixed-top .navbar-collapse{
        max-height: none;
    }
    #nav-toggle{
        position: relative;
        z-index: 100000000;
        margin-top: 0;
        margin-bottom: 10px;
        float: none;
        left: 10px;
    }
    #nav-toggle .fa-bars{
        font-size: 40px;
        color: #ffffff;
    }

    #menu-wrapper{
        top: 0;
        right: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    #menu-menu-1.nav{
        padding: 20px 0;
        float: none;
        flex-direction: row;
    }
    #menu-menu-1.nav li{
        display: block;
        height: auto;
        width: 100%;  /* (100 / numItems)% */
        line-height: 20px;
        text-align: center;
        white-space: nowrap;
    }
    #menu-menu-1.nav li a{
        font-size: 16px;
        color: #ffffff;
        margin: 5px 0;
    }
    #menu-wrapper.container{
        padding-left: 0px;
        padding-right: 0px;
    }
    #site-contact-header a, #site-contact-header span{
        display: flex;
    }
    #mobile-logo{
        margin: 40px auto;
        max-height: 100px;
    }
    .nav-inactive{
        right: 0;
        top: 10px;
    }
    #hr-1{
        height:100vh;
        flex-direction: column;
        padding-left: 3%;
        padding-right: 3%;
        background-position: center center;
        background-image: url('images/home-mobile-background.png');
    }
    #hr-1>div{
        margin: 0;
    }
    #hr-1 h1{
        font-size: 35px;
    }
    .section-background-text{
        font-size: 80px;
        top: 0;
        line-height: 90px;
    }
    #hr-2, #hr-3, #hr-4, #hr-5, .footer-info{
        height: auto;

    }

    #hr-3{
        padding-bottom: 30px;
    }
    #hr-3-right{
        margin-top: 0;
    }
    #hr-4{
        padding-bottom: 30px;
        padding-top: 150px;
    }
    #hr-4-content{
        margin-top: 20px;
        flex-direction: column;
        padding: 20px;
    }
    #hr-4-content img{
        margin: 0;
        height: 275px;
    }
    #hr-4-content .lead-attorney{
        padding-left: 0;
        padding-right: 0;
    }
    #hr-5{

        padding-bottom: 30px;
    }
    #hr-5 a{
        width: 100%;
        margin: 10px  0;
        display: block;
    }
    #wpcf7-f191-o1{
        margin-top: 30px;
    }
    footer{
        text-align: center;
        padding: 15px 0 0;
    }
    #fw-3{
        text-align: center;
    }
    .footer-info{
        position: relative;
        text-align: center;
        padding-bottom: 50px;
    }
}
/* Portrait */
@media only screen
and (min-width: 768px)
and (max-width: 1024px) {

}
/* Portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 736px)
and (orientation: portrait) {

}

/* Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 736px)
and (orientation: landscape) {

}
