#header {
    padding-top: 54px;
    border-top: 1px solid #f3f3f3;
}

.topnav {
    background-color: #333;
    position: fixed;
    z-index: 999;
    width: 100%;
}

.topnav > div > span {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 0px;
    text-decoration: none;
    font-size: 17px;
    width: 100%;
}

.topnav span.active {
    background-color: #4CAF50;
    color: white;
}

.topnav:not(.gansel-premium) label {
    font-size:13px;
    display: inline-block;
}

.topnav label:first-letter {
    text-transform: capitalize;
}

@media (max-width: 403px) {
    .topnav label span.medium-screen-label {
        display: none;
    }
}

@media (max-width: 414px) {
    .topnav label:first-of-type {
        display: none;
    }

    .topnav label.switch {
        width: 30px;
    }

    .topnav label.switch .slider {
        margin-left: 0;
        margin-right: 0;
    }
}

.topnav .switch {
    width: 50px;
    height: 17px;
    position: relative;
    display: inline-block;
}

.topnav .switch input {
    display: none;
}

.topnav .switch .slider {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    cursor: pointer;
    background-color: #e7ecf1;
    border-radius: 30px !important;
    border: 0;
    padding: 0;
    display: block;
    margin-top: 7px;
    margin-right: 10px;
    margin-bottom: 12px;
    margin-left: 10px;
    min-height: 11px;
}

.topnav .switch .slider:before {
    position: absolute;
    background-color: #aaa;
    height: 15px;
    width: 15px;
    content: "";
    left: 0px;
    bottom: -2px;
    border-radius: 50%;
    transition: ease-in-out .5s;
}

.topnav .switch .slider:after {
    content: "";
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 70%;
    transition: all .5s;
    font-size: 10px;
    font-family: Verdana,sans-serif;
}

.topnav .switch input:checked + .slider:after {
    transition: all .5s;
    left: 30%;
    content: "";
}

.topnav .switch input:checked + .slider {
    background-color: #d3d6d9;
}

.topnav .switch input:checked + .slider:before {
    transform: translateX(15px);
    background-color: #099a97;
}

.topnav .switch-toggle {
    display: inline;
    float: left;
}

.topnav button#flushValues {
    float: right;
    font-size: 13px;
    padding: .5em 1em .5em 2.5em !important;
}

.topnav .ui.labeled.icon.button {
    float: right;
    font-size: 13px;
    padding: .5em 1.3em .5em .5em !important;
}

.topnav .dropdown.icon {
    left: auto !important;
    right: 0;
}

.topnav .menu .item {
    font-size: 13px !important;
}

.topnav .ui.labeled.icon.button.topnav_action-reload {
    margin-right: .5em;
    padding: .5em 1em !important;
    background: #f47c00;
    color: #fff;
}

.topnav .ui.labeled.icon.button.topnav_action-reload:hover {
    background: #e87600;
}

.topnav .ui.labeled.icon.button.topnav_action-reload.disabled {
    background: #6c757d;
    opacity: 1 !important;
}

.topnav .ui.labeled.icon.button.topnav_action-reload svg {
    width: 14px;
    height: 14px;
    margin: -3px 0 -2px 0;
}
