
/*Fixes margin from foundation*/
#footer ul, #footer li{margin-left:0 !important;margin-right:0 !important;}

/* New Agency Footer */
ul.L1, ul.L2, ul.L3, ul.L4 {
    transition: ease-in-out;
    transition-duration: .3s;
    -webkit-transition-duration: .3s;
    transition-property: left;
    -moz-transition-property: left; /*Firefox*/
    -webkit-transition-property: left; /*Safari/Chrome*/
    -o-transition-property: left; /*Opera*/
}
div#footer {
    width: 100%;
    display: block;
    background-color: #ccc;
    position: fixed;
    bottom: 0;
    overflow: hidden;
    padding-bottom: 0;
    /* Patch */
    width: 400%;
}

#footer{
    transition: ease-in-out;
    transition-duration: .6s;
    -webkit-transition-duration: .6s;
    transition-property: bottom;
    -moz-transition-property: bottom; /*Firefox*/
    -webkit-transition-property: bottom; /*Safari/Chrome*/
    -o-transition-property: bottom; /*Opera*/
}
div#footer>div.header {
    height: 35px;
    text-align: center;
    font-weight: bold;
    line-height: 24px;
    padding: 0;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    cursor: pointer;
    /* Patch */
    width: 25%;
}

div#footer>div.header .headerLink4 {
    position: relative;
    width: 24%;
    display: block;
    float: left;
    margin-left: .5%;
    margin-right: .5%;
    margin-top: 3px;
    margin-bottom: 3px;
    background-color: #BFBFBF;
    border-radius: 5px;
}

div#footer>div.header .headerLink3 {
    position: relative;
    width: 32%;
    display: block;
    float: left;
    margin-left: .5%;
    margin-right: .5%;
    margin-top: 3px;
    margin-bottom: 3px;
    background-color: #BFBFBF;
    border-radius: 5px;
}

div#footer>div.header .headerLink2 {
    position: relative;
    width: 49%;
    display: block;
    float: left;
    margin-left: .5%;
    margin-right: .5%;
    margin-top: 3px;
    margin-bottom: 3px;
    background-color: #BFBFBF;
    border-radius: 5px;
}

div#footer>div.header .headerLink1 {
    position: relative;
    width: 100%;
    display: block;
    float: left;
    margin-left: .5%;
    margin-right: .5%;
    margin-top: 3px;
    margin-bottom: 3px;
    background-color: #BFBFBF;
    border-radius: 5px;
}

div#footer>div.header:last-child after {
    clear: both;
}
div#footer>ul {
    display: block;
    width: 90%;
    margin: 0 3%;
    float: left;
}
div#footer>ul>li {
    font-weight: bold;
    cursor: pointer;
}
div#footer>ul>li>ul>li {
    border-bottom: 1px solid #BBB;
    font-weight: normal;
}
/*
div#footer>ul>li>ul>li:last-child {
    border: none;
}
*/
/*@media only screen and (max-width: 454px) {*/
div#footer>ul>li {
    font-weight: bold;
    text-align: center;
    font-size: 1em;
    padding: 0 2px;
}
div#footer>ul>li>ul>li {
    text-align: left;
    font-size: 14px;
}
#footerVisNav {
    display: block;
}
#footerNavigation {
    width: 25%;
}
div#footer {
    width: 400%;
    padding: 0 0 40px;
}
div#footer>div.header {
    width: 25% !important;
    padding-bottom: 10px;
}
div#footer>ul {
    display: block;
    width: 25%;
    padding: 0 1%;
    float: left;
    margin: 0;
    list-style:none;
}
ul.L1, ul.L2, ul.L3, ul.L4, ul.L5 {
    position: relative;
}
ul.L1 ul, ul.L2 ul, ul.L3 ul, ul.L4 ul {
    position: relative;
    /* Patch */
    width: 25%;
    border-left: 3px solid #ccc !important;
    border-right: 3px solid #ccc !important;
    display: block;
    float: left;
}
ul.L1 ul li, ul.L2 ul li, ul.L3 ul li, ul.L4 ul li {
    width: 94%;
    margin: 3%;
    padding: 5px 2px 8px 2px !important;
    padding: 0 2px 0 2px !important;
    line-height: 1.0em;
    list-style:none;
}
.more {
    display: none;
}

#FooterUrl  a{
 color:#000 !important;
}
#CategoryUrl a{
 color:#000 !important;
}


div#footer>ul>li>ul>li{
 padding-bottom:12px !important;
 padding-top:2px !important;
}


@media only screen and (max-width: 582px) {

div#footer>div.header .headerLink {
    font-size:.7em;
}


    ul.L1 ul, ul.L2 ul, ul.L3 ul, ul.L4 ul {
        position: relative;
        /* Patch */
        width: 100%;
        border-left: 3px solid #ccc !important;
        border-right: 3px solid #ccc !important;
        display: block;
        float: left;
    }
    ul.L1 ul li, ul.L2 ul li, ul.L3 ul li, ul.L4 ul li {
        font-size: .6em;
    }
    ul.L1, ul.L2, ul.L3, ul.L4 {
    }
    ul.L1 ul, ul.L2 ul, ul.L3 ul, ul.L4 ul {
        float: left;
        display:none;
    }
    ul.L1 ul.c2, ul.L1 ul.c3, ul.L1 ul.c4, ul.L2 ul.c2, ul.L2 ul.c3, ul.L2 ul.c4, ul.L3 ul.c2, ul.L3 ul.c3, ul.L3 ul.c4, ul.L4 ul.c2, ul.L4 ul.c3, ul.L4 ul.c4 {
        xdisplay: none;
    }

    ul.L1 ul.c1, ul.L2 ul.c1,ul.L3 ul.c1,ul.L4 ul.c1{
        display: block;
    }

    .more {
        position: relative;
        width: 100%;
        overflow: auto;
        display: block;
    }
    .more .prevButton, .more .nextButton {
        position: relative;
        width: 40%;
        text-align: center;
        background-color: #BFBFBF;
        border-radius: 5px;
        float: left;
        padding: 10px 0;
    }
    .more .nextButton {
        margin-left: 20%;
    }
}

@media only screen and (max-width: 480px) {
	div.header {
		font-size: 10px!important;
	}
}

/* Modification for Height / Borders applied : Jim A. */