﻿:root {
    /*sizes*/
    --header-height: 196px;
    --footer-height: 128px;
    /*colors*/
    --top-color: #0099ff;
    --top-color-light: #22BBFF;
    --top-color-dark: #0077dd;
    --bottom-color: #990033;
    --bottom-color-dark: #770011;
    --action-color: #669900;
    --action-color-light: #88AA22;
}

* {
    box-sizing: border-box;
    font-family: "Segoe UI",Arial,sans-serif;
}

a, a:visited, a:hover, a:active {
    text-decoration: none;
    color: inherit;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

@media screen and (min-width:300px) {
    .header {
        background-color: var(--top-color);
        background-image: url("../img/header.jpg");
        background-size: cover;
        height: var(--header-height);
        position: relative;
        display: flex;
        box-shadow: 0px 5px 5px #00000080;
    }

    .logo {
        height: 100%;
        position: absolute;
        display: none;
    }

    .title {
        text-align: center;
        margin: auto;
        color: white;
        font-size: 20pt;
    }

    .body {
        min-height: calc(100vh - (var(--header-height) + var(--footer-height)));
        background-image: url("../img/body.jpg");
        background-size: cover;
        background-position: center;
        padding: 20px;
        font-size: 12pt;
        overflow: hidden;
    }

        .body h1, h2, h3 {
            text-align: center;
            font-size: 16pt;
        }

    .btn-holder {
        margin: 20px;
        padding: 20px;
        text-align: center;
        display: grid;
    }

    .btn {
        padding: 20px;
        text-align: center;
        font-size: 14pt;
        border-radius: 15px;
        color: white !important;
        font-weight: bold;
        margin: 10px 20px;
        border: none;
        cursor: pointer;
        transition: .1s;
    }

    .get-btn {
        background-color: var(--action-color) !important;
    }

        .get-btn:disabled {
            background-color: #86936c;
        }

            .get-btn:disabled:hover {
                background-color: #afafaf;
            }

        .get-btn:hover {
            background-color: var(--action-color-light) !important;
            transition: .3s;
        }

    .action-btn {
        background-color: var(--top-color);
    }

        .action-btn:hover {
            background-color: var(--top-color-light);
            transition: .3s;
        }

    .pass-form {
        margin: auto;
        text-align: center;
        font-size: 12pt;
    }

        .pass-form table {
            border-collapse: collapse;
            text-align: left;
            width: 100%;
            margin-bottom: 20px;
        }

            .pass-form table td {
                padding-top: 10px;
                border-bottom: 1px solid #888;
            }

    input {
    }

        input[type=text], input[type=tel], input[type=email] {
            width: 100%;
        }

    .passport-field {
        width: auto !important;
    }

    .footer {
        background-color: var(--bottom-color);
        background-image: url("../img/footer.jpg");
        background-size: cover;
        height: var(--footer-height);
        padding: 20px;
        box-shadow: 0px -5px 5px #00000080;
    }

    .developer-info {
        color: white;
    }

    .g-recaptcha {
        margin-bottom: 20px;
    }

        .g-recaptcha > div {
            margin: auto;
        }

    .canvas {
        display: none;
    }

    .c-btn {
        padding: 10px 20px;
        margin: 0px 5px;
        text-align: center;
        font-size: 14pt;
        font-weight: bold;
        color: white !important;
        background-color: var(--top-color);
        cursor: pointer;
        border: none;
        /*float: left;*/
    }

        .c-btn:first-child {
            /* margin-left: 0px; */
        }

        .c-btn:last-child {
            /* margin-right: 0px; */
        }

        .c-btn:hover {
            background-color: var(--top-color-dark);
        }

        .c-btn:disabled {
            background-color: #b0b0b0 !important;
        }

    .pass-info-section {
    }

        .pass-info-section * {
            font-family: serif;
        }

        .pass-info-section h3 {
            text-align: center;
            color: var(--top-color);
            font-size: 20pt;
        }

            .pass-info-section h3 span {
                color: black;
            }


    .pass-data {
        margin: auto;
    }

    .pass-info {
        width: 100%;
    }

    .pass-photo {
        height: 40mm;
        width: 30mm;
        object-fit: cover;
    }

    .qr-code {
        width: 100%;
    }

    .pass-actions-bar {
        margin-bottom: 20px;
        display: grid;
        grid-gap: 10px;
    }

    .warning {
        background-color: var(--bottom-color);
    }

        .warning:hover {
            background-color: var(--bottom-color-dark);
        }

    .print-canvas {
        margin-bottom: 20px;
    }

    .print-format {
        margin-bottom: 20px;
        display: flex;
    }

    #print-btn {
        float: right;
    }

    .error-message {
        background-color: #f008;
        padding: 20px;
        margin: 0 20px;
    }

    .message {
        background-color: #fe56;
        padding: 20px;
        margin: 0 20px;
    }

    .search-bar {
        margin: 20px 0px;
        display: flex;
    }

    /*from cpanel*/

    .inline-lable {
        margin: auto;
        font-weight: bold;
        padding: 0px 10px;
    }

    .data-table {
        display: table;
        text-align: left;
        border-collapse: collapse;
        width: 100%;
    }

        .data-table th, .th-cell, .table-cell {
            border-bottom: 1px solid black;
            padding: 5px;
        }

        .data-table th, .table-header {
            background-color: #fff;
            /* font-weight: bold; */
            font-size: 10pt;
            /*opacity: .75;*/
        }

    .table-header {
        display: table-row;
    }

    .th-cell {
        display: table-cell;
    }

    .table-row:hover {
        background-color: #fff8;
        cursor: pointer;
    }

    .table-row {
        font-weight: normal;
        font-family: Arial;
        display: table-row;
        font-size: 10pt;
    }

    .table-cell {
        display: table-cell;
    }

    .login-form-body {
        margin: auto;
        width: 100%;
    }

    .login-form-body input{
        width:100%;
    }
}

@media screen and (min-width:800px) {
    .header {
        //background-color: var(--top-color);
        //background-image: url("../img/header.jpg");
        //background-size: cover;
        //height: var(--header-height);
        //position: relative;
        //display: flex;
        //box-shadow: 0px 5px 5px #00000080;
    }

    .logo {
        height: 90%;
        //position: absolute;
        display: block;
    }

    .title {
        //text-align: center;
        //margin: auto;
        //color: white;
        width: 70%;
        font-size: 24pt;
    }

    .body {
        //min-height: calc(100vh - (var(--header-height) + var(--footer-height)));
        //background-image: url("../img/body.jpg");
        //background-size: cover;
        //background-position: center;
        //padding: 20px;
        font-size: 14pt;
        //overflow: hidden;
    }

        .body h1, h2, h3 {
            //text-align: center;
            font-size: 2em;
        }

    .btn-holder {
        //margin: 20px;
        //padding: 20px;
        //text-align: center;
        display: block;
    }

    .btn {
        //padding: 20px;
        //text-align: center;
        font-size: 16pt;
        //border-radius: 15px;
        //color: white !important;
        //font-weight: bold;
        margin: 0 40px;
        //border: none;
        //cursor: pointer;
        //transition: .1s;
    }

    .get-btn {
        //background-color: var(--action-color) !important;
    }

        .get-btn:disabled {
            //background-color: #86936c;
        }

            .get-btn:disabled:hover {
                //background-color: #afafaf;
            }

        .get-btn:hover {
            //background-color: var(--action-color-light) !important;
            //transition: .3s;
        }

    .action-btn {
        //background-color: var(--top-color);
    }

        .action-btn:hover {
            //background-color: var(--top-color-light);
            //transition: .3s;
        }

    .pass-form {
        //margin: auto;
        //text-align: center;
        width: 100%;
        font-size: 14pt;
    }

        .pass-form table {
            //border-collapse: collapse;
            //text-align: left;
            //width: 100%;
            //margin-bottom: 20px;
        }

            .pass-form table td {
                //padding-top: 10px;
                //border-bottom: 1px solid #888;
            }

    input {
        font-size: 14pt;
    }

        input[type=text], input[type=tel], input[type=email] {
            //width: 100%;
        }

    .passport-field {
        //width: auto !important;
    }

    .footer {
        //background-color: var(--bottom-color);
        //background-image: url("../img/footer.jpg");
        //background-size: cover;
        //height: var(--footer-height);
        //padding: 20px;
        //box-shadow: 0px -5px 5px #00000080;
    }

    .developer-info {
        //color: white;
    }

    .g-recaptcha {
        //margin-bottom: 20px;
    }

        .g-recaptcha > div {
            //margin: auto;
        }

    .canvas {
        //display: none;
    }

    .c-btn {
        //padding: 10px 20px;
        //margin: 0px 5px;
        //text-align: center;
        //font-size: 14pt;
        //font-weight: bold;
        //color: white !important;
        //background-color: var(--top-color);
        //cursor: pointer;
        //border: none;
    }

        .c-btn:first-child {
            margin-left: 0px;
        }

        .c-btn:last-child {
            margin-right: 0px;
        }

        .c-btn:hover {
            //background-color: var(--top-color-dark);
        }

        .c-btn:disabled {
            //background-color: #b0b0b0 !important;
        }

    .pass-info-section {
    }

        .pass-info-section * {
            //font-family: serif;
        }

        .pass-info-section h3 {
            //text-align: center;
            //color: var(--top-color);
            //font-size: 20pt;
        }

            .pass-info-section h3 span {
                //color: black;
            }


    .pass-data {
        display: flex;
        width: 80%;
        //margin: auto;
    }

    .pass-info {
        width: 50%;
    }

    .pass-photo {
        //height: 40mm;
        //width: 30mm;
        //object-fit: cover;
    }

    .qr-code {
        width: 300px;
		height: 300px;
    }

    .pass-actions-bar {
        //margin-bottom: 20px;
        display: flex;
    }

    .warning {
        //background-color: var(--bottom-color);
    }

        .warning:hover {
            //background-color: var(--bottom-color-dark);
        }

    .print-canvas {
        //margin-bottom: 20px;
    }

    .print-format {
        //margin-bottom: 20px;
        //display: flex;
    }

    #print-btn {
        //float: right;
    }

    .error-message {
        //background-color: #f008;
        //padding: 20px;
        //margin: 0 20px;
    }

    .message {
        //background-color: #fe56;
        //padding: 20px;
        //margin: 0 20px;
    }

    .search-bar {
        //margin: 20px 0px;
        //display: flex;
    }

    /*from cpanel*/

    .inline-lable {
        //margin: auto;
        //font-weight: bold;
        //padding: 0px 10px;
    }

    .data-table {
        //display: table;
        //text-align: left;
        //border-collapse: collapse;
        width: 100%;
        margin: 0;
    }

        .data-table th, .th-cell, .table-cell {
            //border-bottom: 1px solid black;
            padding: 10px;
        }

        .data-table th, .table-header {
            //background-color: #fff;
            font-weight: bold;
            font-size: inherit;
        }

    .table-header {
        //display: table-row;
    }

    .th-cell {
        //display: table-cell;
    }

    .table-row:hover {
        //background-color: #fff8;
        //cursor: pointer;
    }

    .table-row {
        //font-weight: normal;
        //font-family: Arial;
        //display: table-row;
        font-size: inherit;
    }

    .table-cell {
        //display: table-cell;
    }

    .login-form-body {
        width: 50%;
    }
}

@media screen and (min-width:1200px) {
    .header {
        //background-color: var(--top-color);
        //background-image: url("../img/header.jpg");
        //background-size: cover;
        //height: var(--header-height);
        //position: relative;
        //display: flex;
        //box-shadow: 0px 5px 5px #00000080;
    }

    .logo {
        height: 100%;
        //position: absolute;
        //display: block;
    }

    .title {
        //text-align: center;
        //margin: auto;
        //color: white;
        width: 60%;
        font-size: 32pt;
    }

    .body {
        //min-height: calc(100vh - (var(--header-height) + var(--footer-height)));
        //background-image: url("../img/body.jpg");
        //background-size: cover;
        //background-position: center;
        //padding: 20px;
        //font-size: 14pt;
        //overflow: hidden;
    }

        .body h1, h2, h3 {
            //text-align: center;
            //font-size: 2em;
        }

    .btn-holder {
        //margin: 20px;
        //padding: 20px;
        //text-align: center;
        //display: block;
    }

    .btn {
        //padding: 20px;
        //text-align: center;
        font-size: 18pt;
        //border-radius: 15px;
        //color: white !important;
        //font-weight: bold;
        //margin: 0 40px;
        //border: none;
        //cursor: pointer;
        //transition: .1s;
    }

    .get-btn {
        //background-color: var(--action-color) !important;
    }

        .get-btn:disabled {
            //background-color: #86936c;
        }

            .get-btn:disabled:hover {
                //background-color: #afafaf;
            }

        .get-btn:hover {
            //background-color: var(--action-color-light) !important;
            //transition: .3s;
        }

    .action-btn {
        //background-color: var(--top-color);
    }

        .action-btn:hover {
            //background-color: var(--top-color-light);
            //transition: .3s;
        }

    .pass-form {
        //margin: auto;
        //text-align: center;
        width: 50%;
        //font-size: 14pt;
    }

        .pass-form table {
            //border-collapse: collapse;
            //text-align: left;
            //width: 100%;
            //margin-bottom: 20px;
        }

            .pass-form table td {
                //padding-top: 10px;
                //border-bottom: 1px solid #888;
            }

    input {
        //font-size: 14pt;
    }

        input[type=text], input[type=tel], input[type=email] {
            //width: 100%;
        }

    .passport-field {
        //width: auto !important;
    }

    .footer {
        //background-color: var(--bottom-color);
        //background-image: url("../img/footer.jpg");
        //background-size: cover;
        //height: var(--footer-height);
        //padding: 20px;
        //box-shadow: 0px -5px 5px #00000080;
    }

    .developer-info {
        //color: white;
    }

    .g-recaptcha {
        //margin-bottom: 20px;
    }

        .g-recaptcha > div {
            //margin: auto;
        }

    .canvas {
        //display: none;
    }

    .c-btn {
        //padding: 10px 20px;
        //margin: 0px 5px;
        //text-align: center;
        //font-size: 14pt;
        //font-weight: bold;
        //color: white !important;
        //background-color: var(--top-color);
        //cursor: pointer;
        //border: none;
        /*float: left;*/
    }

        .c-btn:first-child {
            margin-left: 0px;
        }

        .c-btn:last-child {
            margin-right: 0px;
        }

        .c-btn:hover {
            //background-color: var(--top-color-dark);
        }

        .c-btn:disabled {
            //background-color: #b0b0b0 !important;
        }

    .pass-info-section {
    }

        .pass-info-section * {
            //font-family: serif;
        }

        .pass-info-section h3 {
            //text-align: center;
            //color: var(--top-color);
            //font-size: 20pt;
        }

            .pass-info-section h3 span {
                //color: black;
            }


    .pass-data {
        //display: flex;
        width: 50%;
        //margin: auto;
    }

    .pass-info {
        //width: 50%;
    }

    .pass-photo {
        //height: 40mm;
        //width: 30mm;
        //object-fit: cover;
    }

    .qr-code {
        //width: 50%;
    }

    .pass-actions-bar {
        //margin-bottom: 20px;
        //display: flex;
    }

    .warning {
        //background-color: var(--bottom-color);
    }

        .warning:hover {
            //background-color: var(--bottom-color-dark);
        }

    .print-canvas {
        //margin-bottom: 20px;
    }

    .print-format {
        //margin-bottom: 20px;
        //display: flex;
    }

    #print-btn {
        //float: right;
    }

    .error-message {
        //background-color: #f008;
        //padding: 20px;
        //margin: 0 20px;
    }

    .message {
        //background-color: #fe56;
        //padding: 20px;
        //margin: 0 20px;
    }

    .search-bar {
        //margin: 20px 0px;
        //display: flex;
    }

    /*from cpanel*/

    .inline-lable {
        //margin: auto;
        //font-weight: bold;
        //padding: 0px 10px;
    }

    .data-table {
        //display: table;
        //text-align: left;
        //border-collapse: collapse;
        //width: 100%;
        //margin: 0;
    }

        .data-table th, .th-cell, .table-cell {
            //border-bottom: 1px solid black;
            //padding: 10px;
        }

        .data-table th, .table-header {
            //background-color: #fff;
            //font-weight: bold;
            //font-size: inherit;
        }

    .table-header {
        //display: table-row;
    }

    .th-cell {
        //display: table-cell;
    }

    .table-row:hover {
        //background-color: #fff8;
        //cursor: pointer;
    }

    .table-row {
        //font-weight: normal;
        //font-family: Arial;
        //display: table-row;
        //font-size: inherit;
    }

    .table-cell {
        //display: table-cell;
    }

    .login-form-body {
        margin: auto;
        width: 40%;
    }
}
