.navigation .navbar .navbar-nav > li a:hover {
    color: #562669;
    transition: transform .5s ease;

}
.navigation .navbar .navbar-nav > li a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #562669;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;

}
.navigation .navbar .navbar-nav > li a:hover::before {
    visibility: visible;
    transform: scaleX(0.7);

}
.top-bar{
    background: #491053;
    opacity: 1 !important;
    color: white !important;
}
.navigation .navbar .navbar-nav > li a:after {
    ransition: 0.2s;
    background-color: #491053;
    bottom: -7px;
    transform: scale(0.6);
    content: "";
    left: -11px;
    height: 5px;
    position: absolute;
    width: 121%;
}
.navigation .navbar .navbar-nav > li a.district-nav:after {
    ransition: 0.2s;
    background-color: #491053;
    bottom: -7px;
    transform: scale(0.6);
    content: "";
    left: -5px;
    height: 5px;
    position: absolute;
    width: 109%;
}
.navigation .navbar .navbar-nav > li a.candidate-nav:after {
    ransition: 0.2s;
    background-color: #491053;
    bottom: -7px;
    transform: scale(0.6);
    content: "";
    left: -23px;
    height: 5px;
    position: absolute;
    width: 132%;
}
.navigation .navbar .navbar-nav > li a.home-nav:after {
    ransition: 0.2s;
    background-color: #491053;
    bottom: -7px;
    transform: scale(0.6);
    content: "";
    left: 0px;
    height: 5px;
    position: absolute;
    width: 102%;
}

@media (max-width: 4000px) {
    .navbar-element {
        font-size: medium;
        padding-top: 15px;
    }
    .navigation-logo{
        max-width: 201px;
    }
    .best-web-img-nav{
        margin-top:0px;
        width:60px;
        height:60px;
        margin-left: 6px;
    }
    .navigation .navbar .navbar-nav > li a {
        color: black;
        font-size: large;
        font-weight: normal;
        font-family: "Arial";
    }
}

@media (max-width: 1000px) {
    .navigation .navbar .navbar-toggle {
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        border-radius: 0px;
        bottom: 0;
        display: block !important;
        vertical-align: middle;
        position: absolute;
        right: 0;
        margin: 0;
        top: 0;
        height: 49px;
        padding: 10px;
    }

    .navbar-element {
        font-size: 15px;
        padding-top: 15px;
    }
    .navigation-logo{
        max-width: 201px;
    }

    .icon-bar {
        position: absolute !important;
        top: 48px !important;
        width: 100% !important;
        bottom: 0 !important;
        display: flex !important;
        left: -6px;
        right: 0;
        z-index: 94034 !important;
    }
    .navigation-logo{
        max-width: 201px;
    }
    .navigation .navbar .navbar-nav > li a {
        color: black;
        font-size: small;
        font-weight: normal;
        font-family: "Arial";
    }
    .top-bar{
        background: #491053 !important;
    }
}
@media (max-width: 768px) {
    .navigation .navbar .navbar-toggle {
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        border-radius: 0px;
        bottom: 0;
        display: block !important;
        vertical-align: middle;
        position: absolute;
        right: 0;
        margin: 0;
        top: 0;
        height: 49px;
        padding: 10px;
    }

    .navbar-element {
        font-size: 15px;
    }
    .navigation-logo{
        max-width: 201px;
    }

    .icon-bar {
        position: absolute !important;
        top: 48px !important;
        width: 100% !important;
        bottom: 0 !important;
        display: flex !important;
        left: -6px;
        right: 0;
        z-index: 94034 !important;
    }
    .navigation-logo{
        max-width: 201px;
    }
    .navigation .navbar .navbar-nav > li a {
        color: black;
        font-size: small;
        font-weight: normal;
        font-family: "Arial";
    }
    .top-bar{
        background: #491053 !important;
    }
}
@media (max-width: 414px) {
    .navigation .navbar .navbar-nav > li a {
        color: black;
        font-size: medium;
        font-weight: normal;
        font-family: "Arial";
    }


}

@media only screen and (max-device-width: 600px) {
    .icon-bar {
        position: absolute !important;
        top: 41px !important;
        width: 100% !important;
        bottom: 0 !important;
        display: flex !important;
        left: -6px;
        right: 0;
        z-index: 94034 !important;
    }
    .navigation-logo{
        max-width: 201px;
    }
}
