/*
 * Copyright (c) 2019. Volodymyr Hryvinskyi.  All rights reserved.
 * @author: <mailto:volodymyr@hryvinskyi.com>
 * @github: <https://github.com/hryvinskyi>
 */

.amasty-shipbar-top {
    min-height: 36px;
    background-color: rgb(249, 153, 28);
}

.amasty-shipbar.container {
    display: inline-grid;
    width: 100%;
    min-height: 3rem;
}

.amasty-shipbar.container.fixed {
    position: fixed;
    z-index: 96;
}

.amasty-shipbar.top {
    top: 0;
}

.amasty-shipbar.bottom {
    bottom: 0;
}

.amasty-shipbar .main-container {
    position: relative;
    display: inline-flex;
    width: 100%;
}

.amasty-shipbar .bar-content {
    position: relative;
    display: inline-flex;
    width: 100%;
    border-radius: 5px 0 0 5px;
}

.amasty-shipbar .bar-content svg {
    height: 1.3rem;
    width: 1.3rem;
}

.amasty-shipbar .bar-content.no-border {
    border-radius: 0;
}

.amasty-shipbar-car .amshipbar-mobile {
    display: block;
    width: 35px;
    margin-right: 5px;
}

.amasty-shipbar-car {
    margin: auto 5px;
}

.amasty-shipbar .label-content {
    vertical-align: middle;
}

.amasty-shipbar .content {
    margin: auto;
    padding: 0 3.5rem;
    text-align: center;
}

.amasty-shipbar .close-button {
    position: absolute;
    right: 10px;
    margin: 15px 0;
}

.amasty-shipbar .extra {
    position: relative;
    width: 1.3rem;
    margin-left: 3px;
    vertical-align: middle;
    cursor: pointer;
}

.amasty-shipbar .close-button .extra {
    width: 15px;
    margin-right: 5px;
}

.amasty-shipbar .link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.amasty-shipbar .closed {
    padding-top: 8px;
    position: absolute;
    right: 0;
    cursor: pointer;
    pointer-events: all;
}

@media only screen and (max-width: 767px) {
    .amasty-shipbar .content {
        margin: auto;
        padding: 45px 15px 15px 12px;
    }

    .amasty-shipbar-car {
        display: none;
    }

    .amasty-shipbar .bar-content {
        border-radius: 0;
    }

    .amasty-shipbar-car.closed {
        display: block;
    }
}
