.toolbar {
    display: block;
    position: fixed;
    z-index: 1006;
    right: 0;
    bottom: auto;
    left: auto;
    width: 50px;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

@media (max-width:768px) {
    .toolbar {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        display: table;
    }
}

.toolbar .toolbar__item {
    position: relative;
    left: 0;
    display: block;
    padding: 0;
    margin: 0;
    background-color: slategrey;
    -webkit-transition: left .3s ease-out;
    transition: left .3s ease-out;
}

@media (min-width:769px) {
    .toolbar .toolbar__item {
        margin-bottom: 1px;
    }
}

@media (max-width:768px) {
    .toolbar .toolbar__item {
        display: table-cell;
        width: auto;
        text-align: center;
        border-top: 1px solid white;
        border-right: 1px solid white;
    }

    .toolbar .toolbar__item:first-child {
        border-left: 1px solid white;
    }
}

.toolbar .toolbar__item a {
    display: block;
    padding: 12px 0 12px 14px;
    line-height: 24px;
    font-weight: bold;
    color: inherit;
}

.toolbar .toolbar__item a:hover {
    text-decoration: none;
    color: inherit;
}

@media (max-width:768px) {
    .toolbar .toolbar__item a {
        padding: 8px 8px 4px;
    }
}

.toolbar .toolbar__item a span {
    display: block;
    font-size: 14px;
    font-size: .9333333333rem;
}

@media (max-width:768px) {
    .toolbar .toolbar__item a span {
        display: none;
    }
}

.toolbar .toolbar__item img {
    display: block;
    float: left;
    width: 24px;
    height: 24px;
    margin: 0 12px 0 0;
}

@media (max-width:768px) {
    .toolbar .toolbar__item img {
        float: none;
        display: inline-block;
        margin: 0;
    }
}


/**
* Adjustments for the toolbar
* - Reacting on screen with 1024 pixel horizontal resolution
* - Hiding certain toolbar elements on small devices
* ------------------------------------------------------------------------------
*/
@media (min-width: 1281px) {
    html .toolbar {
        top: 206px;
    }
}

@media (max-width: 1280px) {

    body{
        padding-bottom: 41px;
    }

    html .toolbar {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        display: table;
    }

    html .toolbar .toolbar__item {
        display: table-cell;
        width: auto;
        text-align: center;
        border-top: 1px solid white;
        border-right: 1px solid white;
    }

    html .toolbar .toolbar__item:first-child {
        border-left: none;
    }

    html .toolbar .toolbar__item:last-child {
        border-right: none;
    }

    html .toolbar .toolbar__item a {
        padding: 8px;
    }

    html .toolbar .toolbar__item img {
        float: none;
        display: inline-block;
        margin: 0;
        object-fit: contain;
    }

    html .toolbar .toolbar__item a span {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1280px) {
    html .toolbar .toolbar__item {
        display: inline-block;
        width: 48px;
    }

    html .toolbar .toolbar__item:hover {
        left: initial;
    }
}

@media (min-width: 769px) {
    html .toolbar {
        text-align: right;
    }

    html .toolbar .toolbar__item {
        margin-bottom: 0;
    }
}

@media (min-width: 1281px) {
    html .toolbar {
        text-align: initial;
    }

    html .toolbar .toolbar__item {
        margin-bottom: 1px;
    }
}
