﻿html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1.5em;
    line-height: 1.4;
}

body {
    background-color: #fff;
    margin: 0px auto;
}


#top {
    width: 100%;
    text-align: center;
    background: #367fa9;
    margin: 0px auto;
    height: 40px;
}


.divTop {
    height: 75px;
    background: #7cb342;
    margin: 0px auto;
    margin-bottom: 25px;
}

.barcode {
    background: #fff;
    border: 0px solid #cfcfcf;
    /*box-shadow: 1px 1px 2px 2px #cfcfcf;*/
    margin: 0px auto;
    /*width:95vw;*/
}

.divBarcode {
    margin: 0px auto;
    text-align: center;
    /*max-width:650px;*/
}

.errorMsg {
    text-align: center;
}


#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: #ecf0f5;
    padding-top: 5px;
    margin: 0px auto;
}





.clearFix {
    clear: both;
    height: 10px;
}


@media only screen and (min-width: 768px) {
    /* tablets and desktop */

    .barcode {
        border: 0px solid #cfcfcf;
        margin: 0px auto;
        /* width: 55vw;*/
        height: auto;
        max-width: none;
        max-height: 45vh;
        object-fit: contain;
        text-align: center;
    }

    .divBarcode {
        margin: 0px auto;
        text-align: center;
        width: 46vw;
    }

    .imgFooter {
        width: 130px;
    }


    .imgTop {
        width: 130px;
        padding-top: 10px;
    }


    .imgKey {
        width: 280px;
    }


    .divKey {
        text-align: center;
        padding-top: 15px;
    }
}

@media only screen and (max-width: 767px) {
    /* phones */

    .barcode {
        border: 0px solid #cfcfcf;
        margin: 0px auto;
        width: 55vw;
        height: auto;
        max-width: none;
        max-height: 80vh;
        object-fit: contain;
        text-align: center;
    }

    .divBarcode {
        margin: 0px auto;
        text-align: center;
        /*width: 56vw;*/
    }

    .imgFooter {
        width: 100px;
    }

    .imgTop {
        width: 100px;
        padding-top: 10px;
    }


    .imgKey {
        width: 200px;
    }

    .divKey {
        text-align: center;
        padding-top: 35px;
    }
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
    /* portrait phones */

    .barcode {
        border: 0px solid #cfcfcf;
        margin: 0px auto;
        width: 55vw;
        height: auto;
        max-width: none;
        max-height: 80vh;
        object-fit: contain;
        text-align: center;
    }

    .divBarcode {
        margin: 0px auto;
        text-align: center;
        /* width: 56vw;*/
    }

    .imgFooter {
        width: 100px;
    }


    .imgTop {
        width: 100px;
        padding-top: 10px;
    }


    .imgKey {
        width: 200px;
    }

    .divKey {
        text-align: center;
        padding-top: 35px;
    }
}
