.admin-bar {
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: auto;
    height: 36px;
    display: flex;
    background-color: #2C3E50;
    box-shadow: rgba(0, 0, 0, 0.05) 0 0 0 1px;
}

.admin-bar--bottom {
    top: auto;
    bottom: 0;
}

.admin-bar--bottom.admin-bar--shift {
    bottom: 33px;
}

#nova-admin-bar-switcher {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
}

#nova-admin-bar-switcher:checked ~ .admin-bar {
    right: 0;
    width: 100%;
}

#nova-admin-bar-switcher:checked ~ .admin-bar .admin-bar__wrapper {
    display: flex;
}

.admin-bar__icon-flag {
    height: 100%;
    flex-shrink: 0;
}

.admin-bar__flag-label {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
}

.admin-bar__wrapper {
    height: 100%;
    flex-grow: 1;
    display: none;
    justify-content: space-between;
}

.admin-bar__general {
    display: flex;
    height: 100%;
    align-items: center;
}

.admin-bar a,
.admin-bar li {
    display: flex;
    align-items: center;
    outline: none;
    text-decoration: none;
}

.admin-bar__general > li {
    position: relative;
    height: 100%;
}

.admin-bar__icons-flag > a:hover,
.admin-bar__icons-flag > a:focus {
    background-color: #2c2d36;
}

.admin-bar__icon-flag:hover .admin-bar__submenu,
.admin-bar__icon-flag:focus .admin-bar__submenu {
    z-index: 1;
    transform: translate(0, 100%) scale(1);
    opacity: 1;
}

.admin-bar--bottom .admin-bar__icon-flag:hover .admin-bar__submenu,
.admin-bar--bottom .admin-bar__icon-flag:focus .admin-bar__submenu {
    transform: translate(0, -36px) scale(1);
}

.admin-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.3;
    font-size: 15px;
    color: #fff;
    transition: background .3s;
}

.admin-bar a svg {
    transition: fill .3s;
}

.admin-bar a:hover,
.admin-bar a:focus {
    background-color: #00ab76;
}

.admin-bar__icons-flag {
    margin-left: 15px;
    padding: 0 10px;
    cursor: pointer;
}

.admin-bar__submenu {
    z-index: -1;
    position: absolute;
    bottom: 0;
    left: 0;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    background-color: #2C3E50;
    opacity: 0;
    transition: transform .3s, opacity .3s;
    transform: translate(0, 36px) scale(0.5);
}

.admin-bar__submenu a {
    display: flex;
    width: 100%;
    padding: 10px;
    justify-content: center;
    text-align: center;
    font-size: 14px;
}

.admin-bar__icon {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    fill: #fff;
}

.admin-bar__icons-first {
    width: 35px;
}

.admin-bar__dev-info {
    display: flex;
    align-items: center;
}

.admin-bar__dev-info li {
    height: 100%;
}

.admin-bar__branch {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 10px;
    color: #222;
    background-color: #ECF0F1;
}

.admin-bar__branch--gray {
    background-color: #2C3E50;
    color: #fff;
}

.admin-bar__env {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 10px;
    background-color: #95A5A6;
    color: #222;
}

.admin-bar__env--local {
    background-color: #2ECC71;
    color: #222;
}

.admin-bar__env--dev {
    background-color: #F1C40F;
    color: #222;
}

.admin-bar__env--stage {
    background-color: #E67E22;
    color: #222;
}

.admin-bar__env--prod {
    background-color: #E74C3C;
    color: #222;
}

.nova-admin-bar-switcher {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    #nova-admin-bar-switcher:checked ~ .admin-bar {
        height: 72px;
    }

    .admin-bar__wrapper {
        flex-direction: column;
    }

    .admin-bar__general {
        height: 50%;
    }

    .admin-bar__dev-info {
        height: 50%;
    }
}
