#footer4{
    overflow: hidden;
    border-top: 3px solid #00498f;
}
#footer4 a{
    color: #00498f;
    text-decoration: none;
}
#footer4 ul {
    display: inline-block;
    font-weight: bold;
    width: 28%;
    vertical-align: top;
}
#footer4 ul h3{
    color: #00498f;
}
#footer4 ul li a{
    color: #00498f;
    display: block;
    line-height: 25px;
    margin: 5px;
    text-decoration: none;
    transition: all 0.8s ease 0;
}
#footer4 ul li a:hover{
padding-left: 10px;
}
.py4{
    margin: 10px auto;
    color: #00498f;
}

@media only screen and (orientation:portrait) {
#footer4 ul{
    display: block;
    width: 100%;
}

}