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::-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: 220px;
}

#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 {
    display: inline-block;
    position: absolute;
    right: 230px;
    top: 78px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    max-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 {
    display: inline-block;
    position: absolute;
    right: 410px;
    top: 78px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    max-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 {
    display: inline-block;
    position: absolute;
    left: 40px;
    top: 129px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    max-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 {
    display: inline-block;
    position: absolute;
    right: 150px;
    top: 127px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    max-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 {
    display: inline-block;
    position: absolute;
    right: 130px;
    top: 180px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    max-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 {
    display: inline-block;
    position: absolute;
    right: 130px;
    top: 180px;
    font-family: Times;
    font-size: 18px;
    cursor: move;
    max-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 {
    display: inline-block;
    position: absolute;
    right: 130px;
    top: 180px;
    font-family: Times;
    font-size: 14px;
    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: 14px;
    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: 14px;
    border-radius: 4px;
    border: 1px solid #297060;
    width: 250px;
    height: 30px;
    text-align: right;
}

.settings-input-block {
    display: inline-block;
    width: 100%;
    margin-bottom: 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 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Times New Roman";
    font-size: 20px;
    margin-top: 10px;
    font-weight: 700;
    cursor: hand;
}

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

.print-btn img {
    max-height: 30px;
    vertical-align: bottom;
}

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

#check_liner {
    font-family: Times;
    position: absolute;
    width: 200px;
    top: 1.2cm;
    left: -1cm;
    font-size: 12px;
    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: 1px solid black;
    border-bottom: 1px solid black;
}


@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: 0cm;
        size: landscape;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #check, #check_frame {
        display: block !important;
        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 {
        height: 100% !important;
        display: flex !important;
        justify-content: right !important;
        align-items: center !important;
        position: absolute !important;
        visibility: visible !important;

    }

    #details {
        display: none;
    }

    #settings_frame {
        display: none;
    }

    .print-btn {
        display: none;
    }
}
