/* Some general class */
.no-margin { margin: 0; }
.no-margin-top { margin-top: 0; }
.no-margin-bottom { margin-bottom: 0; }
.no-padding { padding: 0; }
.no-padding-top { padding-top: 0; }
.no-padding-bottom { padding-bottom: 0; }
.h-center { margin: 0 auto; }

.p-1 { padding: 0.1rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 0.1rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 1rem; }
.ml-4 { margin-left: 1.5rem; }
.ml-5 { margin-left: 2rem; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 0.1rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 1rem; }
.mr-4 { margin-right: 1.5rem; }
.mr-5 { margin-right: 2rem; }

.clearfix { clear: both; }

@media (min-width: 992px) {
    .md-pull-right {
        float: right !important;
    }
}

body {
    font-family: Helvetica, Arial, sans-serif;
    background-color: transparent;
    padding-top: 65px;
}

body.user_eshop {
    background-color:#eee;
    padding-top: 20px;
}

@media (min-width: 1366px) {
    body .container {
        width: 1366px !important;
    }
}

body > .container > .row > .panel {
    padding: 2em;
}

body, html {
    overflow: visible !important; /* angular-mobile set it to hidden... */
}

/* Text ellipsis in eshop titles */
body.user_eshop h1,
body.user_eshop h2,
body.user_eshop h3 {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Text overflow in eshop buttons */
body.user_eshop .btn {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

img.logo {
    margin-bottom: 20px;
    max-width: 300px;
}

.header-menu li {
    padding-right: 0;
    margin-right: 0;
}

.header-menu a {
    color: #333;
    /*text-decoration: underline;*/
}

.donate-menu, .lang-menu {
    padding-left: 1em !important;
}

.lang-menu li {
    padding-right: 0;
    border-right: 0;
    margin-right: 0;
}

.lang-menu a {
    color: #777;
    /*text-decoration: underline;*/
    font-weight: normal;
}

.lang-menu a.active {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    cursor: default;
}

.sidebar-nav {
    padding: 9px 0;
}
.bs-callout-danger {
    background-color: #fdf7f7;
    border-color: #d9534f;
}
.bs-callout {
    margin: 20px 0;
    padding: 20px;
    border-left: 3px solid #eee;
}
.jumbotron ul li {
    font-size: 21px;
    font-weight: 200;
}
.jumbotron ul li b {
    font-weight: 500;
}

.cart-item a {
    color: #333;
}

.cart-item-selection-checkbox {
    display: block;
    width: 32px;
    height: 32px;
}

.form-signin
{
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading, .form-signin .checkbox
{
    margin-bottom: 10px;
}
.form-signin .checkbox
{
    font-weight: normal;
}
.form-signin .form-control
{
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;

    box-sizing: border-box;
}
.form-signin .form-control:focus
{
    z-index: 2;
}
.form-signin input[type="text"]
{
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.form-signin input[type="password"]
{
    margin-bottom: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.account-wall
{
    margin-top: 20px;
    /*padding: 40px 0px 20px 0px;*/
    padding: 40px 10% 20px 10%;
    background-color: #f7f7f7;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}
.login-title
{
    color: #555;
    font-size: 18px;
    font-weight: 400;
    display: block;
}
.profile-img
{
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.need-help
{
    margin-top: 10px;
}
.new-account
{
    display: block;
    margin-top: 10px;
}
.fixed-alert-message {
  position: fixed;
  top: 47px;
  left: 0;
  right: 0;
  z-index: 100;
}
.secondary-navbar {
    position: fixed;
    top: 50px;
    z-index: 100;
    padding-top: 6px;
}
.ticket-navbar {
    padding-top: 6px;
}
.nav .mode_enabled {
    background-color: red;
}

.nav .mode_enabled a,
.navbar-inverse .navbar-nav>li.mode_enabled>a {
    color: #fff;
}

.screening-occupation {
    font-size: 1.6em;
}
.modal-body p.lead {
    margin-top: 0;
    margin-bottom: 0px;
}
.modal-body h3 {
    margin-top: 0;
    margin-bottom: 5px;
}
.modal-body .progress {
    margin-bottom: 0;
}
.dl-horizontal dt
{
    white-space: normal;
}
#accordion.has-error {
    border: 1px solid #a94442;
}
div.has-error .checkbox {
    border: 1px solid #a94442;
    padding-bottom: 5px;
}
#personal-data.row {
    margin-left: 0px;
    margin-right: 0px;
}
tr.pricing .input-group input.form-control {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    border-left: none;
    border-right: none;
}
.loader {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../img/page-loader.gif') 50% 50% no-repeat rgba(249, 249, 249, 0.7);
}

#entry_check_wrapper {
  background-color: red; /* default */
  color: white;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  padding: 20px 40px 0;
  text-align: center;
}
#entry_check_wrapper.level_2 { /* success */
  background-color: green;
  color: white;
}
#entry_check_wrapper.level_1 { /* already scanned */
  background-color: yellow;
    color: black;
}
#entry_check_wrapper .progress {
    height: 50px;
}
.entry_check_header p {
    margin:0;
    line-height: 16px;
}

.wallet_cashier_header {
    height: 50px;
    background-color: #f8f8f8;
    border-color: #e7e7e7;
    background-image: linear-gradient(to bottom,#fff 0,#f8f8f8 100%);
    background-repeat: repeat-x;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);
    border-bottom-color: rgb(231, 231, 231);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-width: 1;
}

.wallet_cashier  {
    padding: 5px;
}

.wallet_cashier_header p {
    margin:0;
    line-height: 22px;
    font-size: 1.2em;
}
.tt-bg-primary {
    background: #428bca;
}
.tt-bg-success {
    background: #dff0d8;
}
.tt-bg-info {
    background: #d9edf7;
}
.tt-bg-warning {
    background: #fcf8e3;
}
.tt-bg-danger {
    background: #f2dede;
}

/* override jquery datatables css which adds a 1px line at bottom of a table */
.dataTables_scrollBody {
    border-bottom: 0px none #000 !important;
}

/* logout link and version */
a.logout-link {
    position: relative;
}
a.logout-link .version {
    display: block;
    position: absolute;
    right: 5px;
    bottom: 0px;
    padding-right: 9px;
}

/* POS cart */
#pos #right_sidebar {
    padding: 0;
}

#pos #right_sidebar .table-container {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#pos #right_sidebar alert { margin-top: 5px; }

/* Separate prices in POS prices modal */
.pos_pricing_heading {
    background-color: #F5F5F5;
    border-radius: 6px;
    border: 1px solid #DDD;
    box-sizing: border-box;
    padding: 2px 4px 6px 4px;
    margin-bottom: 6px;
}

/* POS Buttons */
#screenings_table_wrapper thead > tr > th { border-bottom: none !important; }
#screenings_table_wrapper .dataTables_scrollHead { display: none; }
#screenings_table_wrapper td { vertical-align: middle; }

#pass_table_wrapper thead > tr > th { border-bottom: none !important; }
#pass_table_wrapper .dataTables_scrollHead { display: none; }
#pass_table_wrapper td { vertical-align: middle; }

.screening-occupation span.label.label-success, .screening-occupation span.label.label-warning, .screening-occupation span.label.label-danger {
    width: 120px !important;
    display: block;
}

#ticket_mode_btn_group { margin-left: 5px; }

/* POS Place Map */
.screening_infos, .loading_message {
    border: 1px solid #F0F0F0;
    padding: 6px 15px;
    margin: 0 10px;
    background-color: #FAFAFA;
    margin-bottom: 10px;
}
#place_map_wrapper {
    border: 1px solid #CCCCCC;
}
#place_map {
    width: 948px;
    height: 700px;
    position: relative;
    margin: 0;
    background: transparent url('/img/stripe.png') repeat;
}
#place_map.small {
    width: 100%;
}
#map_header {
    height: 40px;
    overflow: hidden;
}
#legend {
    width: 388px;
    padding-top: 2px;
}
#legend .row .col { line-height: 15px; }
#legend .seat { float: left; }
#legend .seat {
    position: static;
    width: 15px;
    height: 15px;
    float: left;
    padding: 0;
    line-height: 10px;
}
#legend .label {
    clear: both;
    color: #000000;
}
#legend .seat .glyphicon {
    color: #000000;
    font-size: 9px;
    top: 1px;
}
#multi_select_wrapper {
    width: 93px;
    position: absolute;
    top: 3px;
    right: 2px;
}
#multi_select_wrapper input {
    height: 29px;
    padding: 0 6px;
}
#multi_select_wrapper button {
    height: 29px;
    padding-top: 4px;
}

#seats_wrapper {
  position: relative;
  width: 948px;
  height: 660px;
}
#place_map.small #seats_wrapper {
  width: 100%;
  overflow: auto;
}
#screen {
    position: absolute;
    top: 2px;
    left: 290px;
    width: 400px;
    height: 23px;
    border: 1px dashed #000000;
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    text-align: center;
    font-weight: bold;
}
#place_map.small #screen {
    left: 50%;
    top: 50px;
    transform: translate(-50%);
}

#screen.bottom {
    top: auto !important;
    bottom: 5px !important;
}
.seat {
    position: absolute;
    color: white;
    font-weight: bold;
    padding: .2em;
    border: 1px solid #444444;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: c;
    justify-content: center;
}
#place_map.small .seat {
    line-height: 1.5em;
    font-size: 10px;
}
.seat.free {
    background-color: rgb(61, 155, 61);
}
.seat.booked,
.seat.booking_by_others {
    background-color: red;
    cursor: not-allowed;
}
.seat.booking {
    background-color: #CCCC00;
    cursor: crosshair;
}
.seat.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
}
.seat.forbidden {
    background-color: rgba(221, 221, 221, 0.5);
    cursor: not-allowed;
}
.seat > span {
    font-size: 12px;
}
.seat span.glyphicon {
    color: #000000;
    top: 6px;
}
#place_map.small .seat span.glyphicon {
    top: 0;
}
.seat.classic {
    background-image: url('../img/seats/classic.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.seat.foldable-seat {
    background-image: url('../img/seats/foldable-seat.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.seat.sofa {
    background-image: url('../img/seats/sofa.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.seat.sofa-left {
    background-image: url('../img/seats/sofa-left.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.seat.sofa-middle {
    background-image: url('../img/seats/sofa-middle.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.seat.sofa-right {
    background-image: url('../img/seats/sofa-right.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.seat.wheelchair {
    background-image: url('../img/seats/wheelchair.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
#overview .seat span.glyphicon {
    color: #000000;
    font-size: 10px;
    top: -5px;
}
.row_number {
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    font-style: italic;
}

/* Inversed map */
.map-steps-title h3 {
    font-weight: bold;
    border-bottom: 1px solid #CCC;
    margin: 1rem 0;
    text-align: center;
}
#passes-wrapper .passes-description {
    border: 1px solid #CCC;
    padding: 5px;
    background: #efefef;
    border-radius: 4px;
    text-align: center;
    margin-top: 65px;
    margin-bottom: 0;
}
#passes-wrapper .pass-title {
    font-weight: bold;
    font-size: 22px;
    border-bottom: 1px solid #CCC;
    margin: 2rem 0;
}
#passes-wrapper .pass-message {
    font-style: italic;
}
#passes-wrapper .ticket-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 130px;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    moz-border-radius: 8px 0 0 8px;
    webkit-border-radius: 8px 0 0 8px;
    overflow: hidden;
    justify-content: center;
    background: #F0F0F0;
    border: 1px solid #CCC;
}
#passes-wrapper .ticket-wrapper .remove-ticket-btn {
    display: none;
    position: absolute;
    right: 5px;
    bottom: 5px;
}
#passes-wrapper .ticket-wrapper:hover .remove-ticket-btn {
    display: block;
}
#passes-wrapper .ticket-wrapper:hover {
    background: #d8f2ff;
    border-color: #ACACAC;
}
#passes-wrapper .ticket-wrapper .ticket-photo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#passes-wrapper .ticket-wrapper .ticket-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s;
}
#passes-wrapper .ticket-wrapper:hover .ticket-photo img {
    transform: scale(1.1);
}
#passes-wrapper .ticket-wrapper .ticket-photo .no-photo-icon {
    font-size: 120px;
    color: #D6D6D6;
    transition: all .5s;
}
#passes-wrapper .ticket-wrapper:hover .ticket-photo .no-photo-icon {
    transform: scale(1.1);
}
#passes-wrapper .ticket-wrapper .ticket-infos {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#passes-wrapper .ticket-wrapper .ticket-infos .ticket-type {
    font-weight: bold;
    font-size: 17px;
}
#passes-wrapper .ticket-wrapper .ticket-infos .ticket-owner {
    font-size: 17px;
}

#pricings-wrapper {
    background: #e1e7e8;
    padding: 1rem;
    margin: 1rem;
    border-radius: 4px 4px 0 0;
    border: 1px solid #d4d9da;
}
#pricings-wrapper .pricings-headers {
    font-weight: bold;
    text-align: center;
    padding-bottom: .75rem;
}
#pricings-wrapper .booking-row {
    border: 1px solid #CCC;
    background: #FAFAFA;
    border-radius: 4px;
    margin-bottom: 2px;
}
#pricings-wrapper .booking-row label {
    width: 100%;
    padding: 5px 10px;
    background: #757575;
    color: #FFF;
}
#pricings-wrapper .booking-row .pricing-wrapper {
    padding: 5px;
}
#pricings-wrapper .booking-row .trash-wrapper {
    padding: 5px;
}
#pricings-wrapper .pricings-results .result-row {
    background: #FAFAFA;
    border: 1px solid #c5c3c3;
    margin: 5px;
    border-radius: 4px;
    padding: 0;
}
#pricings-wrapper .pricings-results .result-row .result-success,
#pricings-wrapper .pricings-results .result-row .result-error {
    background: #bdffa8;
    padding: 1rem;
    font-weight: bold;
}
#pricings-wrapper .pricings-results .result-row .result-error {
    background: #f57676;
}
.glyphicon-rotate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spinWebkit .7s infinite linear;
    -moz-animation: spinMoz .7s infinite linear;
}

.glyphicon-rotate.big-icon {
    font-size: 50px;
    -webkit-transform-origin: 50% 48%;
    transform-origin:50% 48%;
    -ms-transform-origin:50% 48%;
}

@-webkit-keyframes spinWebkit {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}
@keyframes spinMoz {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
/* POS modals */
.modal-content button.close {
    font-size: 55px;
    margin-top: -15px;
}

/* Forms controls styles */
input[type="checkbox"].big_checkbox,
input[type="radio"].big_radio {
    width: 20px;
    height: 20px;
}
label.big_checkbox_label,
label.big_radio_label {
    vertical-align: bottom;
}

/* Print stuff */
.only_print { display: none; }
@media print {
    .only_print { display: inherit; }
    .no_print { display: none; }
    body { padding-top: 0; }
    body .container { width: 100% !important; }
}

.uppercase { text-transform: uppercase; }

label.required:after {
  color: red;
  content: "*";
}

.badge-notify{
   position:relative;
   top: -10px;
   left: -4px;
   font-size: 10px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

button.danger{
    background-color: #d9534f;
    border-color: #d43f3a;
    color: white;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: 4px;
}

#pass-fields .field {
    display: none;
}

#pass-fields .field.visible {
    display: block;
}

#pass-fields #pass-fields-legend {
    display: none;
}

#pass-amount {
    display: none;
}

#pass-amount #pass-amount-legend {
    display: none;
}

#notice-required {
    display: none;
}

.col-md-right-offset-1{
    margin-right: 8.33333333%;
}

.submit-section{
    display:none;
}

.pass-fields{
    display: none;
}


/* Orders */
.order, .grid-sizer {
    width: calc(33.33% - 4px);
    margin: 2px;
    overflow: hidden;
}

.order {
    padding: 10px 0 0 0;
    border: 1px solid #999;
}

.order-header {
    padding: 0 20px;
    font-weight: bold;
    padding-bottom: 10px;
}

.order-header .tab,
.order-header .number {
    font-size: 2rem;
}

.order-body .top-buttons { width: 100%; }
.order-body .top-buttons .btn-prepare-all {
    border-radius: 0;
    margin-top: 0;
    width: 65%;
}

.order-body .top-buttons .btn-print-addition {
    border-radius: 0;
    margin-top: 0;
    width: 35%;
}

.order-body .order-items {
    padding: 0 20px;
}

.order-body .order-items .order-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 8px 0;
}

.order-body .order-item.strike-item {
    text-decoration: line-through;
}

.order-footer {
    background: #FFFFFF;
}

.order-footer .owners {
    display: flex;
    flex-direction: row;
}

.order-footer .owners .btn {
    height: 32px;
    flex: 1;
    border-radius: 0;
    border: 1px solid #b5b4b4;
    border: none;
}

.order-footer .owners .btn span.active {
    font-weight: bold;
}

.pos .zvt-eft-modal-body p.payment_status span {
    display: block;
    font-weight: bold;
    font-size: 24px;
}

.eft-closing-receipt {
    text-align: center;
    white-space: pre-line;
    line-height: 12px;
    font-size: 13px;
    font-family: monospace;
    color: #000000;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.pos .zvt-eft-modal-body .eft-receipt {
    text-align: center;
    white-space: pre-line;
    line-height: 10px;
    font-size: 8px;
    max-height: 300px;
    overflow-y: auto;
    background: #FAFAFA;
    font-family: monospace;
}

.pos .zvt-eft-modal-body .eft-message {
    background: #FAFAFA;
    border: 1px solid #F0F0F0;
    color: #252525;
    padding: 15px;
}
.pos .zvt-eft-modal-body .eft-message .eft-message-line {
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
}
.pos .zvt-eft-modal-body .eft-message .eft-message-line:first-child {
    font-size: 16px;
    font-weight: bold;
}
@media (max-width: 375px) {
    .plusminus-button {
        display: none !important;
    }
}

.tkt-ticketid_ticket {
    font-family: "Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    color: #e34449;
}

.tkt-ticketid_id {
    font-weight: bold;
    font-style: italic;
    color: black;
}

/* Styles to fix Safari on iPad where the navbar is not respecting media-queries and is shown as if the resolution was higher */
.fix-responsive-navbar-container {
    position: relative;
    width: 100%;
    z-index: 1;
}

.fix-responsive-navbar-btn .btn {
    flex: 1 1 auto;
    min-width: 0;
}

.fix-responsive-navbar-btn {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
}

.fix-responsive-navbar-entry td {
    position: relative;
    vertical-align: top;
}

/* Dashboard daily stats widgets */
.dashboard-title {
    font-weight: bold;
    font-size: 22px;
    border-bottom: 1px solid #CCC;
    margin: 2rem 0;
}
.dashboard-widget {
    border: 1px solid #CCC;
    border-radius: 4px;
    padding: 5px;
}

.dashboard-widget .big-number {
    display: block;
    text-align: center;
    font-size: 72px;
    font-weight: bold;
}

.dashboard-widget .big-number-currency {
    text-align: center;
    font-size: 42px;
    font-weight: normal;
}

.dashboard-widget .big-number-desc {
    display: block;
    text-align: center;
    font-size: 24px;
    font-style: italic;
}
