html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, input, textarea, button,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video{
    -webkit-tap-highlight-color:rgba(0, 0, 0, 0);
    -webkit-appearance: none;
    -webkit-text-size-adjust: none;
    outline: none !important;
    box-sizing: border-box;
}

@media(max-width: 1280px) {
    body.with-bg-logo {
        background-size: 90% auto;
    }
    body.with-bg-logo.opacity {
        background-size: 90% auto;
    }
}

@media(max-width: 1024px) {
    .slides_nav {
        width: 178px;
        height: 60px;
    }

    .slides_nav .slick-arrow, .slides_nav .button {
        width: 60px;
        height: 60px;
        background-size: 30px 30px;
    }
}

@media(max-width: 769px){

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center, input, textarea, button,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed,
    figure, figcaption, footer, header, hgroup,
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video{
        -webkit-tap-highlight-color:rgba(0, 0, 0, 0);
        -webkit-appearance: none;
        -webkit-text-size-adjust: none;
        outline: none !important;
        box-sizing: border-box;
    }

    input[type=text], input[type=password], select {
        padding: 5px;
        width: 200px;
        min-width: 200px;
    }

    body {
        font-size: 14px;
    }

    .main_wrp {
        width: 100%;
        position: relative;
        margin: 0;
        top: 0;
        left: 0;
        max-height: initial !important;
        padding-top: 20px;
    }

    .main_wrp button {
        width: 75px;
        height: 27px;
        font-size: 14px;
    }

    button.icon {
        width: 30px;
    }

    svg.setting_icon {
        width: 17px;
        height: 17px;
    }

    header {
        margin-bottom: 20px;
    }

    header .logo {
        width: 200px;
    }

    header .logo .loading {
        width: 35px;
        height: 35px;
        top: initial;
        bottom: -20px;
        right: 80px;
    }

    .patron_view {
        font-size: 14px;
        width: 170px;
    }

    .patrons_list .patron_item {
        width: 25%;
    }

    .patron_item .patron_name{
        width: 100%;
    }

    .patron_photo {
        height: 80px;
    }

    .patron_photo .circle {
        width: 80px;
        height: 80px;
    }

    .patron_ticket {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: pre-wrap;
    }

    .patrons_list {
        overflow-x: scroll;
    }

    table {
        font-size: 13px;
    }

    .z-modal.dialog-custom .z-modal-box {
        width: 365px;
    }

    .z-modal.dialog-custom .z-modal-footer {
        text-align: center;
        padding-bottom: 20px;
    }

    .z-modal .z-modal-box .z-modal-footer .z-modal-btn.z-modal-btn-half {
        width: 120px;
        padding: 10px;
        font-size: 14px;
    }

    .z-modal .z-modal-box .z-modal-footer button.z-modal-btn.default {
        margin-right: 5%;
    }

    .content-line {
        height: 40px;
    }

    .content-line p {
        width: 220px;
    }

    .pos-order-block {
        width: 200px;
    }

    .login_line input, .login_line button, .login_line select, .content-line input, .content-line button, .content-line select, .content-line .switch, .keyboard-icon-wrapper {
        width: 200px;
    }

    .pos-order-content .pos-order-item {
        width: 170px;
    }

    .content-line .pos-order-btn button {
        width: 25px;
        height: 27px
    }

    .pos-order-btn > button {
        margin-bottom: 10px;
    }

    .pos-order-btn > button:last-child {
        margin-bottom: 0;
    }

    .patron_profile .item .text {
        width: 98px;
    }

    .patron_tickets_block .patron_tickets {
        flex-wrap: wrap;
    }

    .patron_tickets .buttons {
        width: 100%;
        margin-top: 7px;
        margin-bottom: 5px;
    }

    h1 {
        font-size: 20px;
    }

    .select_data input[type="date" i] {
        border: 1px solid #000;
        width: 120px;
    }

    .select_data button:before {
        content: " ";
        width: 100%;
    }

    .user_title span{
        font-size: 22px;
    }

    div.datepicker {
        width: 200px !important;
    }

    .table-scroll-mobile {
        width: 100%;
        overflow-x: scroll;
    }

}

@media(max-width: 499px){

    body.with-bg-logo {
        background-position: 45% 220px;
    }
    body.with-bg-logo.opacity {
        background-position: 45% 220px;
    }

    h1 {
        font-size: 18px;
    }

    header {
        margin-bottom: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header .buttons {
        width: 100%;
        justify-content: center;
    }

    header > .buttons:first-child {
        order: 3;
        margin-top: 5px;
    }

    header .logo {
        order: 1;
    }

    header .logo .loading {
        bottom: -15px;
    }

    header > .buttons:last-child {
        order: 2;
    }

    input[type=text], input[type=password], select {
        width: 180px;
        min-width: 180px;
    }

    .patrons_list .patron_item {
        width: 33.33333333%;
    }

    .z-modal.dialog-custom .z-modal-box {
        width: 290px;
    }

    .login_line input, .login_line button, .login_line select, .content-line input, .content-line button, .content-line select, .content-line .switch, .keyboard-icon-wrapper {
        width: 180px;
    }

    .pos-order-content .pos-order-item {
        width: 155px;
    }

    .patron_profile {
        flex-direction: column;
    }

    .patron_profile .item {
        margin-bottom: 10px;
    }

    .patron_profile .patron_column.text {
        width: 100%;
        margin-bottom: 10px;
    }

    .patron_profile .patron_column.counts {
        width: 100%;
    }

    .patron_profile .patron_column.photo {
        order: -1;
        width: 100%;
        align-items: flex-start;
        margin-bottom: 10px;
        margin-top: 15px;
    }

    .select_data {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .select_data:after {
        content: " ";
        display: block;
        order: 3;
        width: 100%;
    }

    .select_data button {
        order: 4;
        margin-top: 15px;
    }

    .select_data input[type="date" i] {
        margin-left: 10px;
    }

    .user_title span {
        padding-left: 5px;
        font-size: 20px;
    }

    .user_title {
        margin-bottom: 20px;
    }

    div.datepicker {
        width: 150px !important;
        left: 130px !important;
    }

    div.datepicker + div.datepicker {
        left: 190px !important;
    }

    .table-scroll-mobile .table-transaction {
        width: 500px !important;
    }

    .table-scroll-mobile .table_scroll {
        width: 500px;
    }
}

@media(max-width: 399px){

    .patron_filter {
        flex-wrap: wrap;
    }

    .patron_filter p {
        width: 100%;
        margin: 0;
        text-align: center;
        padding-bottom: 7px;
    }

    .patrons_list .patron_item {
        width: 50%;
    }

    .content-line {
        flex-wrap: wrap;
        height: initial;
    }

    .content-line p {
        width: 100%;
        margin-top: 15px;
        margin-bottom: 5px;
    }

    .content-line:first-child p {
        margin-top: 0;
    }

    .login_line input, .login_line button, .login_line select, .content-line input, .content-line button, .content-line select, .content-line .switch, .keyboard-icon-wrapper {
        width: 100%;
    }

    .pos-order-block {
        width: 100%;
    }

    .pos-order-content {
        width: 100%;
        margin-right: 5px;
        margin-top: 0;
    }

    .pos-order-content .pos-order-item {
        width: 100%;
    }

    .patron_tickets_block .patron_tickets .text {
        display: block;
    }

    .patron_tickets_block .patron_tickets .text > div {
        padding-bottom: 3px;
    }

    .patron_tickets_block .patron_tickets .text > div:last-child {
        padding-bottom: 0;
    }

    .select_data {
        flex-direction: column;
    }

    .select_data input[type="date" i] {
        margin-left: 0;
        margin-top: 10px;
    }

    .z-modal.dialog-custom.verification-code .z-modal-box {
        width: 300px;
    }

    form[name=verification-code-form] button {
        width: 70px;
        height: 60px;
        margin: 3px 6px;
    }

    form[name=verification-code-form] button:first-child {
        margin-left: 0;
    }

    form[name=verification-code-form] button:last-child {
        margin-right: 0;
    }

    form[name=verification-code-form] .login_line {
        width: 235px;
    }

    .main_wrp button#close {
        margin-top: 10px;
    }

    .user_title {
        margin-bottom: 15px;
    }

    div.datepicker, div.datepicker + div.datepicker{
        left: 75px !important;
    }

    .datepickerContainer {
        top: 0;
    }
}
