body, html {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

.header-message-font-size {
    color: black;
    text-align: center;
    padding: 24px 0;
    line-height: normal;
    border-bottom: 2px solid #ddd;
    border-top: 2px solid #ddd;
    background: rgba(255, 255, 255, 0.5);
}

table {
    border: none;
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    background-color: #fffde4;
}
th, td {
    border: none;
    background-color: #fffde4;
}

.tblcss td {
    padding: 0 !important;
}

.theader-img-width-auto-adj {
    width: 100%;
    height: 100%;
    max-width: 420px;
    max-height: 420px;
}

.table-body {
    height: auto;
}

.table-body td {
    padding: 0;
}

.table-footer {
    height: 0;
}

.td-overflow {
    overflow-x: auto;
}
.td-overflow .img-container:last-child {
    overflow-x: auto;
}

.img-container {
    position: relative;
    width: 48%;
    float: left;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2), 0 2px 6px 0 rgba(0, 0, 0, 0.1);
    display: grid;
    background: #fff !important;
}

.overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    display: none;
    background: rgba(0, 0, 0, 0.5);
}

.overlay img, svg {
    margin: auto;
    display: block;
    padding: 20%;
    width: 50px;
    max-width: 100%;
    height: auto;
}

.img-blur {
    filter: blur(4px);
    box-shadow: 0 12px 22px 1px #333;
}

.img-width-auto-adj {
    max-height:00px; /* 203px */
    width: auto;
    margin: auto;
    max-width: 100%;
    background: #fff;
}
.selected {
    width: 100%;
    box-shadow: 0 12px 22px 1px #333;
}

div.formatted {
    text-align: center;
    font-size: 20px;
    background-color: #ff9933;
    color: #fff;
    padding: 14px;
    margin: 0 0 0 0;
    cursor: pointer;
    text-shadow: #5c0e1b 1px 0px 2px;
    font-weight: bold;
}

.parent-div {
    border: solid 10px #f93;
    position: relative;
    border-bottom: solid 30px #f93;
}

.child-div {
    background-color: whitesmoke;
    box-shadow: 0 12px 22px 1px #333;
    position: fixed;
    bottom: 0;
    overflow-y: auto;
    width: 100%;
    height: auto;
    display: none;
    text-align: center;
    left: 0;
    padding: 10px 0;
}

.child-div p{
    width: auto;
    font-size: 20px;
    text-align: center !important;
}

.child-div > p {
    padding: 0 25px 10px 25px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 20px;
    width: auto;
    text-align: center !important;
    color: #fb8a19;
}

.child-div ol {
    margin: 0;
    padding: 0;
}

.child-div #selectedEvents {
    padding: 0 10px;
}

.cd-input-text {
    margin: 0;
    padding: 12px 17px;
    width: 85%;
    background-color: #dfdfdf;
    border-block: none;
    border: 1px solid #ccc !important;
    border-radius: 4px;
}

#client_details label {
    padding-bottom: 5px !important;
    display: inline-table;
}

.cd-input-option {
    margin: 0;
    padding: 17px;
    width: auto;
    background-color: #dfdfdf;
    border-block: none;
}

input[type="text"] {
    font-size: inherit;
}

.button-bgcolor {
    background-color: #ff9933;
    color: white;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 24px;
    margin: 0;
    cursor: pointer;
    width: 90%;
    font-weight: 600;
    border-radius: 6px !important;
    font-family: Arial, Helvetica, sans-serif;
    border: none !important;
}

#selectedEvents {
    display: none;
}

#selectedEvents ol li {
    list-style: none;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

#selectedEvents ol li:last-child {
    border-bottom: none;
}

#client_details {
    display: none;
    padding: 0 10px;
}

.selected {
    width: auto;
    box-shadow: none !important;
}

.btn-view {
    background-color: #ff9933;
    border: none;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 24px;
    margin: 10px 0;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    border-radius: 6px !important;
    font-family: Arial, Helvetica, sans-serif;
}

.frm-success {
    color: green;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.frm-error {
    color: red;
    margin: 2px;
    font-size: 16px;
    font-weight: 400;
}

.tblcss, tr, td, th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    border: none;
    padding: 10px;
    height: auto;
    font-weight: 300;
}

.tblcss .pass-img {
    padding-top: 20px;
    width: 90%;
}

/* Container holding the image and the text */
.pdf-container {
    position: relative;
    text-align: center;
    color: white;
}

/* Bottom left text */
.pdf-bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

/* Top left text */
.pdf-top-left-org {
    position: absolute;
    top: 2%;
    left: 1%;
}
.pdf-top-left {
    position: absolute;
    top: 30%;
    left: 5%;
}

/* Top right text */
.pdf-top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

/* Bottom right text */
.pdf-bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

/* Centered text */
.pdf-centered-org {
    position: absolute;
    top: 11%;
    left: 71%;
    transform: translate(-50%, -50%);
}

.pdf-barcode-img-org {
    width: 12%;
    height: auto;
}

.pdf-centered {
    position: absolute;
    top: 14%;
    left: 88.5%;
    transform: translate(-50%, -50%);
}

.pdf-centered-qr {
    position: absolute;
    top: 20%;
    left: 32%;
    transform: translate(-50%, -50%);
}

.pdf-barcode-img {
    /*width: 8.7%;*/
    width: 8.7%;
    height: auto;
}

.pdf-resp-font-size {
    font-size: 0.92em;
    text-align: left;
    /*color: #ffffff;*/
    color: maroon;
}

.pdf-resp-font-size-qr-code {
    position: absolute;
    top: 170px;
    left: 13px;
    font-size: 0.72em;
    color: maroon;
    display:inline-block;
}

#frmKMClientDetails {
    border: solid 1px transparent;
    padding-bottom: 20px;
    box-shadow: 0 0 0 5px #ff8001;
    border-radius: 10px;
    overflow: hidden;
}

.note{
    color: #FF0000 !important;
    font-size: 22px !important;
    border-bottom: none;
    border-top: none;
    background: transparent;
    padding: 10px 24px !important;
    margin-bottom: 0px !important; 
  }
.note b {
    font-weight: 600; 
}

/* ======= for mobile */
@media only screen and (max-width: 840px) {
    .img-container {
        width: 100% !important;
        margin: 0 0 15px 0;
    }

    .td-overflow {
        padding: 10px;
    }

    .img-width-auto-adj {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: inherit;
        margin: auto;
    }

    .parent-div {
        border: none;
    }

    #frmKMClientDetails {
        border: none;
        padding-bottom: 30px !important;
        border-radius: 0;
    }

    .header-message-font-size {
        font-size: 1em;
        padding: 15px 24px;
        line-height: normal !important;
        margin-bottom: 10px;
    }

    #selectedEvents p {
        font-family: Arial, Helvetica, sans-serif;
        text-align: left;
    }

    #selectedEvents ol li {
        font-size: 14px;
        font-weight: 200 !important;
        font-family: Arial, Helvetica, sans-serif;
    }

    .note{
        font-size: 16px !important;
    }
}

/* ======== For tablate */
@media only screen and (min-width: 840px) {
    .img-container {
        width: 47% !important;
    }
    .img-width-auto-adj {
        width: 100%;
        /*min-height: 232px;*/
    }
    div.formatted {
        margin-bottom: 0;
    }
    .note{
        font-size: 18px !important;
    }
}

/* ========  For desktop */
@media only screen and (min-width: 1200px) {
    .img-container {
        width: 48% !important;
    }

    .img-width-auto-adj {
        min-height: auto;
        max-height:400px; /* 308px */
    }
    .header-message-font-size {
        font-size: 29px;
    }
    .note{
        font-size: 22px !important;
    }
}

