body {
    text-align: center;
    direction: rtl;
    background: #fff url(../images/nobg.png);
    color: #fff;
    font-family: Sans-serif;
}

a {
    text-decoration: none;
    color: #fff;
}

#bank_selector {
    margin-right: 300px;
    display: flex;
    height: 85%;
    align-items: center;
    color: #000;
    overflow-y: scroll;
}

#bank_selector {
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
    flex-wrap: wrap-reverse;
}
#bank_selector>div{
    margin: 0 auto;
}
#bank_selector::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.bank_selector_item {
    cursor: auto;
    background: #fff;
    border-radius: 7px;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.22);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.22);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.22);
    margin: 10px;
    display: inline-block;
}

.bank_selector_item:hover {
    transition: .2s all ease;
    transform: scale(1.1);
    -webkit-box-shadow: 0px 0px 10px 1px rgba(54, 156, 129, 0.52);
    -moz-box-shadow: 0px 0px 10px 1px rgba(54, 156, 129, 0.52);
    box-shadow: 0px 0px 10px 1px rgba(54, 156, 129, 0.52);
}

.bank_selector_item img {
    width: 250px;
}

#bank_selector h3 {
    color: #444;
    margin-bottom: 10px;
}

#check {
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 16.5cm;
    height: 8.1cm;
    margin: 0 auto;
    text-align: right;
    position: relative;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.22);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.22);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.22);
    border: 2px solid #fff;
}

#check_date,.rw_check_date {
    display: inline-block;
    position: absolute;
    right: 230px;
    top: 78px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    width: 100px;
    z-index: 10;
    direction: ltr;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#check_place,.rw_check_place {
    display: inline-block;
    position: absolute;
    right: 410px;
    top: 78px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    width: 100px;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#check_amount,.rw_check_amount {
    display: inline-block;
    position: absolute;
    left: 40px;
    top: 129px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    width: 100px;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    min-width: 150px;
}

#check_to,.rw_check_to {
    display: inline-block;
    position: absolute;
    right: 150px;
    top: 127px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    width: 300px;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#check_amount_text,.rw_check_amount_text {
    display: inline-block;
    position: absolute;
    right: 130px;
    top: 180px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    width: 300px;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#check_reason,.rw_check_reason {
    display: inline-block;
    position: absolute;
    right: 130px;
    top: 180px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    width: 300px;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#check_currency,.rw_check_currency {
    display: inline-block;
    position: absolute;
    right: 130px;
    top: 180px;
    font-family: Times;
    font-size: 16px;
    cursor: move;
    width: 150px;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#settings {
    background: #369c81;
    width: calc(100% - 300px);
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    position: absolute;
    bottom: 0;
    right: 300px;
    -webkit-box-shadow: 0px -6px 10px -5px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 0px -6px 10px -5px rgba(0, 0, 0, 0.23);
    box-shadow: 0px -6px 10px -5px rgba(0, 0, 0, 0.23);
}

#settings_frame {
    margin-right: 300px;
}

#check_frame {
    margin-right: 300px;
    display: flex;
    height: 85%;
    align-items: center;
}

#details {
    position: absolute;
    height: 100%;
    right: 0;
    top: 0;
    width: 300px;
    margin: 0;
    background: #369c81;
    -webkit-box-shadow: -6px 0px 10px -5px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: -6px 0px 10px -5px rgba(0, 0, 0, 0.23);
    box-shadow: -6px 0px 10px -5px rgba(0, 0, 0, 0.23);
    max-height: 100vh;
    overflow-y: scroll;
}


#settings .body, #details .body {
    padding: 20px;
}

/* width */
::-webkit-scrollbar {
    width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #369c81;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #287061;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #1a3a2c;
}

.logo {
    width: 200px;
}

.head {
    background-image: url("../images/logo.png");
    background-position: center;
    background-size: 170px 100px;
    background-repeat: no-repeat;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-right: 6px;
    width: 170px;
    height: 100px;
    margin: 10px auto -5px;
    display: inline-block;
}

.headcolor2 {
    background: #666;
}

.input-block {
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
    text-align: right;
}

.input-element {
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #297060;
    width: 255px;
    height: 30px;
    text-align: right;
}

.settings-input-block {
    width: 100%;
    margin-bottom: 5px;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
}

#input-tafkeet-lang, #input-num-lang {
    width: 85px;
}

.settings-input-element {
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid #358c73;
    width: 70px;
    height: 34px;
    text-align: right;
    background: #358c73;
    color: #fff;
}

label {
    display: inline-block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0px;
}

hr {
    border: none;
    background: transparent;
    border-top: 1px dashed #ddd;
    margin-bottom: 10px;
}

.print-btn {
    background-color: #fce398; /* Green */
    border: 1px solid #287061;
    border-radius: 7px;
    color: #434952;
    padding: 10px 30px;
    text-align: right;
    text-decoration: none;
    display: inline-block;
    font-family: "Times New Roman";
    font-size: 20px;
    margin-top: 10px;
    font-weight: 700;
    cursor: hand;
    width: 100%;
}

.print-btn:hover, .print-btn:focus, .print-btn:active {
    background-color: #afdfd3; /* Green */
}

.print-btn img {
    max-height: 44px;
    vertical-align: bottom;
    float: left;
}

.print-btn:disabled {
    background-color: #d5d5d5; /* Green */
}

.banks-list {
    width: 150px;
    padding: 2px;
    float: left;
    height: 25px;
    font-size: 12px;
}

#check_liner,.rw_check_liner {
    font-family: Times;
    position: absolute;
    min-width: 80px;
    top: 1.2cm;
    left: 0.4cm;
    font-size: 14px;
    font-weight: bold;
    color: black;
    text-align: center;
    padding: 4px;
    transform: rotate(-45deg);
    cursor: move;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.two_lines {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.generate_method {
    display: flex;
    margin-bottom: 20px;
    margin-top: 10px;
}

.generate_method div {
    padding: 10px;
    background: #b0ded370;
    color: #08684f;
    border-radius: 7px;
    width: 40%;
    margin-left: 2%;
    position: relative;
    cursor: pointer;
}

.generate_method .active {
    background: #fff;
    color: #08684f;
    font-weight: bold;
}

.generate_method .active:after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px;
    top: 100%;
    left: 50%;
    border-color: #fff;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-bottom-width: 0;
    background: transparent;
    margin-left: -12px;
}

.generate_frame {
    padding: 10px;
    border: 2px solid #b0ded3;
    border-radius: 7px;
    position: relative;
    margin-bottom: 10px;
}

.generate_frame .input-element {
    width: 100%;
}

#generate_from_excel {
    display: none;
    position: relative;
}

input[type="file"] {
    display: none; /* Hide default file input */
}

.custom-file-upload {
    display: inline-block;
    padding: 15px 25px;
    background-color: #ffff;
    color: #000;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    width: 75%;
}

.custom-file-upload:hover {
    background-color: #b0ded3;
}

.en-label {
    direction: ltr;
    float: left;
}

#fileError {
    color: #fce398;
    display: none;
}

#excel_check_frame {
    display: none;
}

#excel_check_frame .excel_check_page {
    position: relative;
    page-break-after: always;
}
.excel_check_item {
    position: relative;
    overflow: hidden;
}

input:required:invalid {
    outline: none;
    border: #ff4d4d 2px solid;
}
.invalid{
    outline: none;
    border: #ff4d4d 2px solid;
}
#input-font-color{
    padding: 2px 6px !important;
    width: 40px !important;
}
#alternate-img-label{
    font-size: 16px;
    cursor: pointer;
}

@media print {
    body {
        text-align: right;
        background: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        margin: 0 !important;
        padding: 0 !important;
    }

    @page {
        margin: 0;
        size: landscape;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #check, #check_frame,#excel_check_page,.excel_check_item {
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #bank_selector {
        display: none !important;
    }

    #check_frame,.excel_check_page {
        height: 100vh !important;
        justify-content: right !important;
        align-items: center !important;
        visibility: visible !important;
    }

    #details {
        display: none;
    }

    #settings_frame {
        display: none;
    }

    .print-btn {
        display: none;
    }

    .excel_check_page:not(:last-child) {
    }
}
