@font-face {
    font-family: "SourceSansPro-Bold";
    src: url('Fonts/SourceSansPro-Bold.ttf');
}


@font-face {
    font-family: "SourceSansPro-SemiBold";
    src: url('Fonts/SourceSansPro-SemiBold.ttf');
}

@font-face {
    font-family: "SourceSansPro-Regular";
    src: url('Fonts/SourceSansPro-Regular.ttf');
}


@media screen {


    input[type="file"] {
        display: none;
    }

    .uploadBtn {
        /* position: absolute; */
        border: 1px solid #ccc;
        width: 100%;
        height: 100%;
        cursor: pointer;
        background-color: #509DD1;
        text-align: center;
        color: white;
        /* left: 38%; */
        /* top: 60%; */
        font-family: "SourceSansPro-Bold";
        font-size: 0.8rem;
        border-radius: 0.15rem;
        line-height: 2.3rem;
    }

    .uploadScreen {
        position: absolute;
        width: 10%;
        height: 9%;
        top: 55%;
        left: 45%;
        max-height: 40px;
        max-width: 205px;
    }

    html, body {
        margin: 0px;
        padding: 0 px;
        width: 100%;
    }

    .printPageContainer {
        width: 80vw;
        height: 99vh;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
        border-radius: 2px;
        display: flex;
        flex-direction: row;
        -webkit-box-shadow: 10px 10px 15px 0px rgba(0,0,0,0.16);
        -moz-box-shadow: 10px 10px 15px 0px rgba(0,0,0,0.16);
        box-shadow: 10px 10px 15px 0px rgba(0,0,0,0.16);
    }

    .paperPreview {
        background-color: white;
        height: 95%;
        width: 60%;
        margin: auto;
        margin-top: 2%;
        -webkit-box-shadow: 10px 10px 15px 0px rgba(0,0,0,0.16);
        -moz-box-shadow: 10px 10px 15px 0px rgba(0,0,0,0.16);
        box-shadow: 10px 10px 15px 0px rgba(0,0,0,0.16);
    }

    .printPreviewContainer {
        min-width: 60vw;
        height: 100%;
        display: block;
        background-color: #E8ECED;
    }

    .printMenuContainer {
        background-color: white;
        min-width: 20vw;
        height: 100%;
        display: block;
        margin: auto;
        text-align: left;
        padding: auto;
        padding-left: 1%;
    }

    .papirMockup {
        background-color: #CAE1F1;
        width: 90%;
        height: 4%;
        border-radius: 4px;
        text-align: center;
        color: #1D1D1D;
        font-family: 'SourceSansPro-Regular';
        padding: auto;
    }

    .systemImageContainer {
        width: 100%;
        height: 80%;
        margin: auto;
        text-align: center;
    }

    .PrintFooterText {
        font-family: SourceSansPro-Regular;
        text-align: right;
        font-size: 100%;
    }

    .PrintHeaderText {
        font-family: SourceSansPro-Regular;
        text-align: center;
        font-size: 200%;
        margin-top: 4%;
    }

    .PrintHeaderDetailText {
        font-family: SourceSansPro-Regular;
        text-align: right;
        font-size: 120%;
    }

    .systemImage {
        width: 90%;
        padding: 5%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.PrintFooterText {
    font-family: SourceSansPro-Regular;
    text-align: right;
    font-size: 14px;
}

.PrintHeaderText {
    font-family: SourceSansPro-Regular;
    text-align: center;
    font-size: 22px;
    margin-top: 4%;
}

.PrintHeaderDetailText {
    font-family: SourceSansPro-Regular;
    text-align: right;
    font-size: 16px;
}

@media print {

    @page {

        size: auto; /* auto is the initial value */
        margin: 0mm; /* this affects the margin in the printer settings */

    }

    .systemImageContainer {
        width: 100%;
        height: 80%;
        margin: auto;
        text-align: center;
    }

    html {
        background-color: #FFFFFF;
        margin: 0px; /* this affects the margin on the html before sending to printer */
    }

    html, body {
        /*changing width to 100% causes huge overflow and wrap*/
        height: 100%;
        overflow: hidden;
        background: #FFF;
        font-size: 9.5pt;
    }

    .PrintFooterText {
        font-family: SourceSansPro-Regular;
        text-align: right;
        font-size: 16px;
    }

    .PrintHeaderText {
        font-family: SourceSansPro-Regular;
        text-align: center;
        font-size: 22px;
        margin-top: 4%;
    }

    .PrintHeaderDetailText {
        font-family: SourceSansPro-Regular;
        text-align: right;
        font-size: 16px;
    }

    .systemImage {
        width: 90%;
        padding: 5%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .printPageContainer {
        min-width: 20cm;
        min-height: 25cm;
        position: fixed;
        text-align: center;
        align-items: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .printPreview {
        position: absolute;
        top: 0;
    }

    .paperPreview {
        background-color: white;
        position: absolute;
        top: 0;
        margin: 0;
        min-width: 20cm;
        min-height: 25cm;
    }
}
