*,html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,label,fieldset,input,p,blockquote,th,td {
    margin: 0;
    padding: 0;
    outline: none;
    list-style: none;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    text-rendering: OptimizeLegibility;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    font-family: "Gotham SSm A","Gotham SSm B",Gotham
}

html,body {
    min-width: 100%;
    min-height: 100%;
    position: relative;
    display: block
}

html {
    margin-top: 0 !important
}

a img {
    border: 0
}

img {
    -webkit-backface-visibility: initial;
    backface-visibility: initial
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0
}

* html .clearfix {
    zoom:1}

*:first-child+html .clearfix {
    zoom:1}

strong {
    font-weight: bold
}

nav {
    height: 115px;
    width: 100%;
    background: white;
    box-shadow: 0 5px 5px rgba(0,0,0,.1);
    position: fixed;
    top: 0;
    z-index: 1999
}

#nav-wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: 1366px;
    font-size: 0;
    padding: 0 80px;
    position: relative;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    transition: padding .15s cubic-bezier(.16,1,.3,1)
}

#nav-logo {
    display: inline-block;
    width: calc(100%/12*3);
    position: relative;
    vertical-align: bottom
}

#nav-menu {
    display: inline-block;
    width: calc(100%/12*9);
    position: relative;
    vertical-align: bottom;
    bottom: calc(15px/2)
}

#nav-menu>ul {
    display: block;
    position: relative;
    width: 100%;
    text-align: right
}

#nav-menu>ul>li {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    vertical-align: top;
    cursor: pointer;
    transition: padding .25s cubic-bezier(.16,1,.3,1)
}

#nav-menu>ul>li:last-of-type {
    padding-right: 0
}

#nav-menu>ul>li>a,#nav-menu>ul>li>.trigger {
    text-decoration: none;
    color: black;
    transition: color .25s ease-in-out
}

#nav-menu>ul>li>a:hover,#nav-menu>ul>li>.trigger:hover {
    color: #5ec100
}

#nav-menu .trigger.active {
    color: #0d4e96 !important
}

#nav-menu>ul>li>ul {
    /* padding: 10px 0; */
    display: none;
    position: absolute;
    text-align: center;
    right: 50%;
    transform: translateX(50%);
    top: 47px;
    min-width: 245px;
    background: #004c9c;

    padding: 0;
    /* Animation Properties */
    display: block; /* Must be block to calculate height */
    height: 0; 
    overflow: hidden;
    opacity: 0;
    transition: height 0.5s cubic-bezier(.16,1,.3,1), opacity 0.4s ease;
}
#nav-menu > ul > li > ul > li.open {
    background-color: #004c9c; /* Or your specific active blue */
}
/* #nav-menu>ul>li>ul:before {
    display: block;
    position: absolute;
    content: "";
    width: calc(83px/2);
    height: 12px;
    left: 50%;
    transform: translateX(-50%);
    top: -12px;
    background: url(https://www.conveniencecares.org/App_Themes/ConvenienceCares.org/img/nav-arrow.png) top center no-repeat;
    background-size: contain
} */

#nav-menu > ul > li.open:before {
    display: block;
    position: absolute;
    content: "";
    width: 41.5px;
    height: 12px;
    left: 50%;
    transform: translateX(-50%);
    top: 47px; 
    margin-top: -12px;
    
    background: url(https://www.conveniencecares.org/App_Themes/ConvenienceCares.org/img/nav-arrow.png) top center no-repeat;
    background-size: contain;
    z-index: 2000;
}

#nav-menu>ul>li>ul a {
    color: white;
    text-decoration: none;
    text-transform: none;
    width: 100%;
    position: relative;
    display: block;
    height: 100%;
    padding: 0 30px;
    background: rgba(0,100,181,0);
    transition: background .3s ease-in-out
}

#nav-menu>ul>li>ul a:hover {
    background: rgba(0,100,181,1);
    text-decoration: underline
}

#nav-menu>ul>li>ul li {
    display: block;
    position: relative;
    text-align: left;
    white-space: nowrap;
    line-height: 60px
}

#nav-menu>ul>li>ul>li>span {
    color: white;
    text-transform: none;
    padding: 0 30px;
    height: 100%;
    width: 100%;
    display: block;
    position: relative;
    background: rgba(0,100,181,0);
    transition: background .3s ease-in-out
}

#nav-menu>ul>li>ul>li>span:hover {
    background: rgba(0,100,181,1)
}

#nav-menu .subtrigger.active {
    background: rgba(0,100,181,1)
}

#nav-menu>ul>li>ul>li>ul {
    display: none;
    background: rgba(0,100,181,1);
    position: relative
}

#nav-menu>ul>li>ul>li>ul a:hover {
    text-decoration: underline
}

section {
    margin-top: 115px;
    position: relative;
    width: 100%;
    display: block
}

header {
    display: block;
    width: 100%;
    position: relative;
    min-height: 520px;
    background-color: #c9d3ed;
    margin-bottom: 60px
}

#header-background-image {
    position: absolute;
    z-index: 0;
    display: block;
    top: 0;
    left:0;
    width: 100%;
    height: 100%
}

#header-caption-block {
    width: 100%;
    max-width: 1366px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: block;
    position: absolute;
    height: 100%;
    z-index: 1
}

#header-caption {
    position: absolute;
    bottom: 30px;
    width: 100%;
    padding: 0 80px;
    left: 0;
    display: block
}

#main-content {
    display: block;
    position: relative;
    width: 100%
}

footer {
    height: 60px;
    width: 100%;
    display: block;
    position: relative;
    box-shadow: 0 -5px 5px rgba(0,0,0,.1)
}

#footer-wrapper {
    max-width: 1366px;
    padding: 0 80px;
    display: block;
    position: relative;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    font-size: 0
}

#footer-copyright {
    display: inline-block;
    position: relative;
    width: 50%;
    vertical-align: middle;
    white-space: nowrap
}

#footer-copyright p {
    line-height: 60px;
    display: block;
    width: 100%;
    position: relative;
    margin: 0
}

#footer-links {
    position: relative;
    display: inline-block;
    width: 50%;
    text-align: right;
    vertical-align: middle
}

#footer-links a {
    height: 24px;
    width: 24px;
    display: inline-block;
    position: relative;
    margin-right: 15px
}

#footer-links a img {
    height: 100%;
    width: 100%
}

h1 {
    font-size: 48px;
    color: white;
    text-shadow: 0 2px 15px rgba(0,0,0,.15)
}

h2 {
    font-size: 36px;
    margin-bottom: 15px
}

h3 {
    font-size: 28px
}

h4 {
    font-size: 24px
}

p {
    font-size: 16px;
    color: #425563;
    line-height: 22px;
    margin-bottom: 15px;
    font-weight: 300
}

h2~p {
    font-size: 22px;
    line-height: 28px;
    color: #425563
}

p~ul,p ul,p~ul li,p ul li {
    font-size: 22px;
    line-height: 40px;
    list-style: disc;
    color: #425563;
    margin-left: 10px
}

a {
    color: #004c97
}

a.dark-bg {
    color: white
}

.button {
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    color: white;
    padding: 0 20px;
    font-weight: 700;
    background: #004c97;
    border-radius: 35px;
    display: inline-block;
    position: relative;
    text-decoration: none;
    box-sizing: content-box !important;
    transition: background .2s ease-in-out,color .2s ease-in-out;
    border: 2px solid #004c97
}

.button:hover {
    background: rgba(0,76,151,0);
    color: #004c97
}

.button.red {
    background: #da291c;
    border: 2px solid #da291c
}

.button.red:hover {
    background: rgba(217,41,29,0);
    color: #da291c
}

.button.orange {
    background: #ed8b00;
    border: 2px solid #ed8b00
}

.button.orange:hover {
    background: rgba(238,140,0,0);
    color: #ed8b00
}

.button.green {
    background: #78be20;
    border: 2px solid #78be20
}

.button.green:hover {
    background: rgba(119,191,32,0);
    color: #78be20
}

.button.dark-green {
    background: #00a82d;
    border: 2px solid #00a82d
}

.button.dark-green:hover {
    background: rgba(11,168,76,0);
    color: #00a82d
}

.button.blue {
    background: #004c97;
    border: 2px solid #004c97
}

.button.blue:hover {
    background: rgba(0,76,151,0);
    color: #004c97
}

.button.light-blue {
    background: #407ec9;
    border: 2px solid #407ec9
}

.button.light-blue:hover {
    background: rgba(0,76,151,0);
    color: #407ec9
}

.button.purple {
    background: #8031a7;
    border: 2px solid #8031a7
}

.button.purple:hover {
    background: rgba(99,47,108,0);
    color: #642f6c
}

.button.white {
    color: #004c97;
    background: white;
    border: 2px solid white
}

.button.white:hover {
    background: rgba(255,255,255,0);
    color: white !important
}

@media screen and (max-width: 1380px) {
    #nav-menu>ul>li {
        padding:0 10px
    }

    #nav-logo {
        width: 300px
    }

    #nav-menu {
        width: calc(100% - 300px)
    }
}

@media screen and (max-width: 1280px) {
    #nav-wrapper {
        padding:0 30px
    }

    #footer-wrapper {
        padding: 0 30px
    }

    #header-caption {
        padding: 30px;
        bottom: 0
    }
}

@media screen and (max-width: 1080px) {
    #nav-logo {
        width:225px
    }

    nav {
        height: 100px
    }

    section {
        margin-top: 100px
    }

    #nav-menu {
        width: calc(100% - 225px);
        bottom: 5px
    }

    #nav-menu>ul>li>ul {
        top: 46px
    }

    h1 {
        font-size: 36px
    }

    h2 {
        font-size: 30px
    }

    h3 {
        font-size: 24px
    }

    h4 {
        font-size: 20px
    }
}

@media screen and (max-width: 980px) {
    #nav-logo {
        width:175px
    }

    #nav-menu {
        width: calc(100% - 175px);
        bottom: 2px
    }

    #nav-menu>ul>li {
        font-size: 15px
    }

    #nav-menu>ul>li>ul {
        top: 48px
    }
}

@media screen and (min-width: 901px) {
    #nav-menu>ul {
        display:block !important
    }
}

@media screen and (max-width: 900px) {
    #nav-menu {
        position:absolute;
        top: 71px;
        left: 0;
        width: 100%
    }

    #nav-menu>ul {
        text-align: center;
        display: none;
        background: #004c9c
    }

    #nav-menu>ul>li {
        display: block;
        position: relative;
        padding: 0;
        color: white;
        line-height: 45px
    }

    #nav-menu>ul>li>ul {
        position: relative;
        /* top: initial;
        padding: 0; */

        right: auto;
        transform: none;
        top: 0;
        width: 100%;
    }

    /* #nav-menu>ul>li>ul:before {
        display: none
    } */
    #nav-menu > ul > li.open:before {display: none;}
    #nav-menu > ul > li.open > .trigger, #nav-menu > ul > li.open > ul {
        background-color: rgba(0, 100, 181, 1) !important;
    }

    #nav-menu>ul>li>ul li {
        line-height: 50px
    }

    #nav-menu>ul>li>a,#nav-menu>ul>li>.trigger {
        color: white;
        height: 100%;
        width: 100%;
        display: block;
        position: relative;
        background: rgba(0,100,181,0);
        transition: background .3s ease-in-out
    }

    #nav-menu>ul>li>a:hover,#nav-menu>ul>li>.trigger:hover {
        background: rgba(0,100,181,1);
    }

    #nav-trigger {
        display: block;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        height: 35px;
        width: 45px;
        cursor: pointer
    }

    #nav-trigger span {
        height: 5px;
        width: 45px;
        background: rgba(88,179,0,1);
        position: absolute;
        display: block;
        left: 0;
        opacity: 1;
        transition: background .15s ease-in-out,opacity .125s ease-in-out,width .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)
    }

    #nav-trigger:hover span {
        background: #004c9c
    }

    #nav-trigger.active span {
        background: #004c9c
    }

    #nav-trigger span:nth-of-type(1) {
        top: 0;
        left: 0
    }

    #nav-trigger span:nth-of-type(2),#nav-trigger span:nth-of-type(4),#nav-trigger span:nth-of-type(5) {
        top: 15px;
        left: 0
    }

    #nav-trigger span:nth-of-type(3) {
        top: 30px;
        left: 0
    }

    #nav-trigger.active span:nth-of-type(1),#nav-trigger.active span:nth-of-type(2),#nav-trigger.active span:nth-of-type(3) {
        opacity: 0;
        width: 0
    }

    #nav-trigger.active span:nth-of-type(4) {
        transform-origin: center;
        transform: rotate(45deg);
        top: 15px
    }

    #nav-trigger.active span:nth-of-type(5) {
        transform-origin: center;
        transform: rotate(135deg);
        top: 15px
    }

    #nav-menu .trigger.active {
        color: rgba(88,179,0,1) !important
    }

    #nav-menu .trigger.active+ul {
        background: rgba(0,100,181,1)
    }
}

@media screen and (max-width: 800px) {
    header {
        height:50vw;
        min-height: 0
    }
}

@media screen and (max-width: 768px) {
    footer {
        height:initial;
        padding-bottom: 20px
    }

    #footer-copyright,#footer-links {
        display: block;
        position: relative;
        width: 100%;
        text-align: center
    }
}

@media screen and (max-width: 680px) {
    #nav-menu>ul>li {
        line-height:60px;
        font-size: 18px
    }

    #nav-menu>ul,#nav-menu>ul>li>ul li {
        text-align: left
    }

    #nav-menu>ul>li>a,#nav-menu>ul>li>.trigger {
        padding: 0 30px
    }

    #nav-menu>ul>li>ul>li>ul>li>a {
        padding: 0 30px 0 60px
    }
}

@media screen and (max-width: 600px) {
    footer {
        padding-top:20px
    }

    #footer-copyright p {
        line-height: initial;
        line-height: 24px;
        margin-bottom: 10px
    }

    #footer-copyright p span {
        display: none
    }

    #footer-copyright p a {
        clear: both;
        line-height: initial
    }

    #footer-copyright p a:before {
        clear: both;
        content: "";
        display: block;
        position: relative
    }
}

