.o_hr_barcode_bg {
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;

    @include media-breakpoint-up(md) {
        @include o-position-absolute(0, 0, 0, 0);
    }
}

.o_hr_barcode_main {
    max-width: 600px;
    margin: auto;
    background: white;
    .o_barcode_mobile_container {
        margin-top: 40px;
        margin-bottom: -40px;
        img {
            height: 185px;
            width: 275px;
        }
        // In order to have the o_mobile_barcode button on both the image and the label,
        // We use negative margin at the bottom and 0 opacity (since not needed in the view)
        .o_mobile_barcode {
            opacity: 0;
            height: 225px;
            width: 275px;
            bottom: -40px;
        }
        .o_barcode_laser {
            height: 3px;
            width: 125%;
            left: -12.5%;
        }
    }
    @include media-breakpoint-down(md) {
        padding: 0 1em 1em .75em;
    }
    @include media-breakpoint-up(md) {
        flex: 0 0 auto;
        width: 550px;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
        font-size: 1.2em;
        padding: 0 1em 1em .75em;
    }
}
