@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600");

/* Header */

#home-nav {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
    -webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
    -ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
    transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
    background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
    background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
    background-image: -ms-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
    background-image: radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
    max-width: 100%;
    text-align: center;
}

#home-nav>* {
    -moz-transition: opacity 0.325s ease-in-out;
    -webkit-transition: opacity 0.325s ease-in-out;
    -ms-transition: opacity 0.325s ease-in-out;
    transition: opacity 0.325s ease-in-out;
    position: relative;
    margin-top: 2.5rem;
}

#home-nav>div.content:before, #home-nav>nav:before  {
    content: '';
    display: block;
    position: absolute;
    top: calc(-2.5rem - 1px);
    left: calc(50% - 1px);
    width: 1px;
    height: calc(2.5rem + 1px);
    background: #ffffff;
}

#home-nav> :first-child {
    margin-top: 0;
}

#home-nav> :first-child:before {
    display: none;
}

#home-nav .icon {
    max-width: 60%;
}

#home-nav .logo {
    margin-top: 2rem;
}

#home-nav .content {
    border-style: solid;
    border-color: #ffffff;
    border-top-width: 1px;
    border-bottom-width: 1px;
    max-width: 100%;
}


#home-nav p {
    margin: 0;
}

#home-nav .content .inner {
    -moz-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
    -webkit-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
    -ms-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
    transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
    -moz-transition-delay: 0.25s;
    -webkit-transition-delay: 0.25s;
    -ms-transition-delay: 0.25s;
    transition-delay: 0.25s;
    padding: 1.5rem 2rem;
    max-height: 40rem;
}

#home-nav nav.use-middle ul li.is-middle {
    border-left: 0;
}

#home-nav .content .inner> :last-child {
    margin-bottom: 0;
}

#home-nav .content p {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 1.4rem;
    line-height: 2;

}
#home-nav .content a {
color: #ffffff;
}
#home-nav nav ul {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
    border: solid 1px #ffffff;
    border-radius: 4px;
}

#home-nav nav ul li {
    padding-left: 0;
    border-left: solid 1px #ffffff;
}

#home-nav nav ul li:first-child {
    border-left: 0;
}

#home-nav nav ul li a {
    display: block;
    min-width: 10rem;
    height: 2.75rem;
    line-height: 2.75rem;
    padding: 0 1rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 1rem;
    font-weight:bold;
    color:#ffffff;
    border-bottom: 0;
}

#home-nav nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.075);
}

#home-nav nav ul li a:active {
    background-color: rgba(255, 255, 255, 0.175);
}

#home-nav nav.use-middle:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
    width: 1px;
    height: 100%;
    background: #ffffff;
}

#home-nav nav.use-middle ul li.is-middle {
    border-left: 0;
}

body.is-article-visible #home-nav {
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
    -moz-filter: blur(0.1rem);
    -webkit-filter: blur(0.1rem);
    -ms-filter: blur(0.1rem);
    filter: blur(0.1rem);
    opacity: 0;
}

body.is-preload #home-nav {
    -moz-filter: blur(0.125rem);
    -webkit-filter: blur(0.125rem);
    -ms-filter: blur(0.125rem);
    filter: blur(0.125rem);
}

body.is-preload #home-nav>* {
    opacity: 0;
}

body.is-preload #home-nav .content .inner {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

#home-nav .logo .icon:before {
    font-size: 1.75rem;
}


#home-nav h1{
    font-size:2em;
    color: #ffffff;
    margin-bottom: .2em;
}

.acred-logo {
    height: 4rem;
}

@media screen and (max-width: 980px) {
    #home-nav .content p br {
        display: none;
    }
}

#call-now{
    display: none;
}
#call-now button{
    background-color: #289548;
}

@media screen and (max-width: 736px) {
    
    #home-nav {
        padding: 1.5rem 0;
    }
    #home-nav .icon {
        max-width: 60%;
    }
    #home-nav .content .inner {
        padding: 1.5rem 0;
    }
    #home-nav nav ul {
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        min-width: 12rem;
        max-width: 100%;
    }
    #home-nav nav ul li {
        border-left: 0;
        border-top: solid 1px #ffffff;
    }
    #home-nav nav ul li:first-child {
        border-top: 0;
    }
    #home-nav nav ul li a {
        height: 2rem;
        line-height: 2rem;
        min-width: 0;
        width: 100%;
    }
    #home-nav nav.use-middle:after {
        display: none;
    }
    #home-nav h1{
        font-size:1.5em;
        color: #ffffff;
        margin-bottom: .2em;
    }

    #call-now{
        display: inline-flex;
    }
}



@media screen and (max-width: 480px) {
    #home-nav .content p {
        font-size: 1rem;
        line-height: 2;
    }
    #home-nav h1 {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    #home-nav button{
        padding: 0 2.25em important;
    }
}