﻿@media all and (min-width: 1000px) and (max-width: 1300px) {
    .sbb-halftax-check-card-inputs {
        flex-direction: column;
        align-self: center;
    }

        .sbb-halftax-check-card-inputs > * {
            margin-top: 0.5em;
            margin-bottom: 0.5em;
        }
}

@media all and (max-width: 800px) {
    .sbb-halftax-check-card-input-container, .sbb-halftax-check-card-inputs {
        flex-direction: column;
        align-self: center;
    }

        .sbb-halftax-check-card-input-container > *, .sbb-halftax-check-card-inputs > * {
            margin-top: 0.5em;
            margin-bottom: 0.5em;
        }

    .sbb-halftax-check-card-line {
        flex-direction: column;
    }
}

.sbb-halftax-check-card-line .required {
    vertical-align: middle;
    margin-right: 5px;
}

.validate-sbb-halftax-check-card-button {
    display: inline-block;
    vertical-align: middle;
}

    .validate-sbb-halftax-check-card-button:after {
        margin-left: 10px;
    }

    .validate-sbb-halftax-check-card-button.valid:after {
        content: '\2714';
    }

    .validate-sbb-halftax-check-card-button.invalid:after {
        content: '\2718';
    }

    .validate-sbb-halftax-check-card-button:not(.invalid):not(.valid):after {
        visibility: hidden;
        content: '\2718';
    }

.ico-help {
    display: inline-block;
    font-family: monospace;
    font-weight: bold;
    text-align: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 4px;
    padding: 1px;
    color: white;
    background: black;
    text-decoration: none;
}

.wait-loader {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(177, 177, 177, 0.5);
    z-index: 2;
}

    .wait-loader div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        display: inline-block;
        margin: 0 auto;
        width: 60px;
        height: 60px;
        border: none;
        background: url('./images/loading.gif') center no-repeat;
    }


.ui-tooltip {
    max-width: 80%;
}

.sbb-halftax-check-card {
    border: 2px groove rgb(192, 192, 192) !important;
}

    .sbb-halftax-check-card.invalid, .sbb-halftax-check-card.invalid legend {
        background-color: rgb(169,169,169);
    }


.sbb-halftax-check-card-line {
    text-align: center;
    display: flex;
    justify-content: space-between;
}

    .sbb-halftax-check-card-line * {
        align-self: center;
    }

    .sbb-halftax-check-card-line label {
        display: block;
    }

#sbb-halftax-check-cards-add-to-cart {
    position: relative;
}

    #sbb-halftax-check-cards-add-to-cart .validate-sbb-halftax-check-card-button {
        font-size: 1em !important;
    }

.sbb-halftax-check-card-input-container, .sbb-halftax-check-card-inputs {
    display: flex;
}

    .sbb-halftax-check-card-input-container > *, .sbb-halftax-check-card-inputs > * {
        margin-left: 0.3em;
        margin-right: 0.3em;
    }

.sbb-halftax-check-card-close-icon {
    border: 1px solid transparent;
    border-radius: 50%;
    font-size: 30px;
    width: 44px;
    height: 44px;
    background-color: #EAEAEA;
}

#sbb-halftax-check-card-validation-required-error {
    margin-top: 20px;
    font-size: 1.6em;
    font-weight: bold;
    color: #8b0000;
}

.add-to-cart-button[disabled] {
    pointer-events: none;
    opacity: 0.7;
}

.sbb-halftax-check-card-scan {
    width: 46px;
    height: 46px;
    background-size: 48px;
    display: inline-block;
    margin-top: 0 !important;
    vertical-align: middle;
    margin-left: 5px;
    border: 0;
    background-color: #ff6600;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 25.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M35,28.4c-4.8,0-8.6,3.9-8.6,8.6c0,4.8,3.9,8.6,8.6,8.6c4.8,0,8.6-3.9,8.6-8.6S39.8,28.4,35,28.4z M35,41.6 c-2.5,0-4.6-2.1-4.6-4.6c0-2.5,2.1-4.6,4.6-4.6c2.5,0,4.6,2.1,4.6,4.6C39.6,39.6,37.5,41.6,35,41.6z'/%3E%3Cpath class='st0' d='M0.1,0.1v70h70v-70H0.1z M54,45.9c0,2.5-2,4.6-4.6,4.6H20.6c-2.5,0-4.6-2-4.6-4.6V29.3c0-2.5,2-4.6,4.6-4.6 h5.5v-0.6c0-2.5,2-4.6,4.6-4.6h8.7c2.5,0,4.6,2,4.6,4.6v0.6h5.5c2.5,0,4.6,2,4.6,4.6V45.9z'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
}


#sbb-halftax-check-photo-dialog {
    max-height: 500px;
}

    #sbb-halftax-check-photo-dialog .camera-video {
        min-height: 0;
    }
