
@font-face {
    font-family: Urbane;
    font-weight: bold;
    src: url("../fonts/urbanemedium.otf") format("opentype");
}

@font-face {
    font-family: Urbane;
    font-weight: bold;
    src: url("../fonts/urbanebold.otf") format("opentype");
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: .875em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
* {
	box-sizing: border-box;
}
button,select,input {
	font-family: Urbane,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
	font-weight: medium;
}
html {
	min-height: 100%;
}
body {
	height: 100%;
	padding-bottom: 90px;
	background: #f8b322;
	color: #000;
	padding-top: 58px;
	font-family: Urbane,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
	font-weight: 500;
}
body.start {
	background-position: -120px center;
}
#page {
	/*position: absolute;
	width: 100%;
	left: 0;
	top: 40px;
	bottom: 94px;
	padding: 40px 6px 0 6px;
	z-index: 1;
	overflow: auto;*/
	webkit-overflow-scrolling: touch;
}
body.indexpage #page {
	padding-top: 70px;
}
@media (max-width: 370px) {
	body {
		background-position: -220px center;
		background-position: -150px center;
	}
	#page {
		padding-left: 60px;
	}
}
#header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 2;
	padding: 15px 10px 15px 10px;
	background: #f8b322;
}
#footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 2;
	padding: 5px 10px 15px 10px;
	background: #f8b322;
}

#ajaxloader {
	position: fixed;
	background: rgba(0,0,0,.50);
	color: #fff;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 20;
	text-align: center;
	font-size: 20px;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.center {
	text-align: center;
}
.iconbar {
	float: right;
}
.titlebar {
	text-align: center;
}
#header.ajax .titlebar {
	text-decoration: line-through;
}
.titlebar h1 {
	font-size: 1.4em;
	font-weight: 600;
	text-transform: uppercase;
	margin: 0;
	display: inline-block;
	background-size: 20px;
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 24px;
}
.title-configuration h1 {
	background-image: url(../images/icon-gear-bl.svg);
}
.title-userprofile h1 {
	background-image: url(../images/icon-profile.svg);
}
.title-language h1 {
	background-image: url(../images/icon-localize.svg);
}
.title-security h1 {
	background-image: url(../images/icon-security.svg);
}
.title-orderpaper h1 {
	background-image: url(../images/icon-ordertickets-bl.svg);
}
.title-reports h1 {
	background-image: url(../images/icon-report-bl.svg);
}
.title-settings h1 {
	background-image: url(../images/icon-settings-bl.svg);
}
.title-logos h1 {
	background-image: url(../images/icon-logos-bl.svg);
}

.main-inner.dialog {
	width: 120px;
	margin: 0 auto;
	text-align: center;
}

.langlist {
	overflow: auto;
}
.langlist > * {
	width: 280px;
	max-width: 100%;
	margin: 0 auto;
}

.langlist .langlistcontainer {
	margin-top: 1em;
	margin-bottom: 2em;
	padding: 0;
	display: flex;
	justify-content: space-between;
	font-size: 1.6em;
	font-weight: 600;
}

.langlist .langlistcontainer button,
.langlist .langlistcontainer a
{
	list-style: none;
	color: #000;
	background-color: transparent;
	border: 0 none;
	cursor: pointer;
	font-weight: 600;
	padding-left: 0;
	padding-right: 0;
	text-decoration: none;
}
.langlist .langlistcontainer em:after {
	display: block;
	content: "/"
}
.list, .warninglist {
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
	overflow: auto;
}
.list .list-6, .warninglist .list-6,
.list .list-3,
.list .list-2 {
	position: relative;
	float: left;
	padding: 5px 10px;
	overflow: hidden;
}

.list .list-6 {
	width: 100%;
}
.list .list-3 {
	width: 50%;
}
.list .list-2 {
	width: 33.3333%;
}

.icon-lang {
	text-indent: -9999px;
}
.icon-lang:after {
	display: block;
	content: "";
	width: 40px;
	height: 40px;
	margin: 0 auto;
	background-size: 100%;
	background-repeat: no-repeat;
}
.icon-lang.lang-en:after {
	background-image: url(../images/lang-en.svg);
}
.icon-lang.lang-fr:after {
	background-image: url(../images/lang-fr.svg);
}
.icon-lang.lang-de:after {
	background-image: url(../images/lang-de.svg);
}
.icon-lang.lang-es:after {
	background-image: url(../images/lang-es.svg);
}
.icon-lang.lang-nl:after {
	background-image: url(../images/lang-nl.svg);
}
.icon-lang.lang-no:after {
	background-image: url(../images/lang-no.svg);
}
.icon-lang.lang-cz:after {
	background-image: url(../images/lang-cz.svg);
}
.icon-lang.lang-global:after {
	background-image: url(../images/icon-globe.svg);
}

.list .printer {
	height: 100px;
	background: url(../images/printer2.svg) no-repeat center center;
	background-size: 95px 76px;
}
.list .printer a {
	display: block;
	width: 100%;
	height: 100%;
	color: #fff;
}
.list .printer span {
	display: block;
	position: absolute;
	top: 70px;
	left: 50%;
	margin-left: 30px;
	border: 1px solid #fff;
	width: 18px;
	height: 18px;
	line-height: 18px;
	text-align: center;
	border-radius: 9px;
	font-size: 11px;
}

.receipt .content {
	background: #fff;
	color: #000;
}
.receipt .content table td,
.receipt .content table th {
	width: 25%;
	text-align: right;
}
.receipt .content table tfoot td,
.receipt .content table tfoot th {
	font-weight: 600;
	text-transform: lowercase;
	font-variant: small-caps;
}


.receipt .content table th {
	font-weight: 600;
	text-transform: lowercase;
	font-variant: small-caps;
}
/* icons */
#button_configuration {
	display: inline-block;
	width: 30px;
	height: 30px;
	border: 0 none;
	margin: 0;
	padding: 0;
	background: url(../images/icon-gear.svg) no-repeat center center;
	background-size: 30px;
	text-indent: 900px;
}

/* buttons */
.btn {
	display: block;
	width: 100%;
	height: 64px;
	line-height: 64px;
	text-align: center;
	margin: 0 auto;
	color: #1998d1;/*#4E6FB3;*/
	color: #fff;
	background-color: #fff;
	background-color: #000;
	border: 0 none;
	padding: 0;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	background-size: 37px;
	background-repeat: no-repeat;
	background-position: 6px center;
	font-weight: 600;
	border-radius: 6px;
}
.btn.disabled {
	background-color: #ddd !important;
	color: #888 !important;
	cursor: default;
}
select.icon,
input.icon {
	display: block;
	width: 100%;
	margin: 0 auto;
	color: #333;
	background-color: #fff;
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: 6px center;
}
option.novalue {
	color: #ddd;
}

.formgroup {
	margin: 0 auto;
	padding-bottom: 6px;
	width: 100%;
	background-color: #fff;
	color: #333;
	border-radius: 6px;
}
.warning {
	margin: 0 auto;
	width: 100%;
	background-color: #ff0000; <!-- #ffed00 -->
	color: #000;
	padding: 6px 12px;
	text-transform: uppercase;
	text-align: center;
	border-radius: 6px;
}
.warning.severe {
	background-color: #ff0000;
	color: #fff;
}
.warning a {
	display: block;
	padding: 6px 12px;
	text-decoration: none;
	color: #fff;
	font-size: 1.6em;
	font-weight: 600;
}

.warning {
	background-color: #000;
}
.warning a {
	color: #ff0000;
}
#zstatuswarning {
	display: none;
}
.list-6 hr {
	width: 100%;
	margin: 0 auto;
}
.formgroup label {
	display: block;
	padding: 9px 10px 3px;
	text-transform: uppercase;
	font-size: 80%;
	font-weight: 600;
}
.list .formgroup select {
	border-top: 0 none;
}

.imagecontainer {
	padding: 6px;
}
.imagecontainer img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.checkboxcontainer {
	margin: 0 auto;
	padding: 8px 4px;
	width: 100%;
	background-color: #cc5426;
	background-color: #fff;
	color: #fff;
	color: #333;
	border-radius: 6px;
}
.checkboxcontainer label {
	line-height: 26px;
}
.checkboxcontainer label,
.ios-ui-select {
	display: inline-block;
	vertical-align: middle;
}
.btn a {
	color: #4E6FB3;
}
.btn.btn-primary {
	background-color: #000000;
	color: #fff;
}
#footer .btn.btn-primary {
/*	background-color: #f07d00;*/
}
.btn.btn-bright {
	background-color: #FFED00;
	color: #000;
}
.btn.btn-darker {
	background-color: #289548;
	color: #000;
}
.btn.btn-black {
	background-color: #000000;
	color: #fff;
}
.btn-big {
	font-size: 36px;
	font-weight: 600;
}
.btn-al {
	background-position: right 6px center;
}
.btn-ar:after,
.btn-al:after {
	display: block;
	position: absolute;
	content: "";
	top: 0;
	height: 100%;
	width: 14px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 14px
}
.btn-ar:after { /* arrow right */
	right: 4px;
	background-image: url(../images/arrow-right.svg);
}
.btn-default.btn-ar:after { /* arrow right blue*/
	right: 4px;
	background-image: url(../images/arrow-right-wh.svg);
}
.btn-bright.btn-ar:after,
.btn-darker.btn-ar:after { /* arrow right blue*/
	right: 4px;
	background-image: url(../images/arrow-right-bl.svg);
}
.btn-al:after { /* arrow left */
	left: 4px;
	background-image: url(../images/arrow-left.svg);
}
.btn-bright.btn-al:after,
.btn-darker.btn-al:after { /* arrow left */
	left: 4px;
	background-image: url(../images/arrow-left-bl.svg);
}
.btn.btn-cntricon {
	background-position: center center;
	text-indent: -9999px;
}

/* button icons */
.btn-connect {
	background-image: url(../images/icon-wifi.svg);
}
.btn-localize {
	background-image: url(../images/icon-localize.svg);
}
.btn-userprofile {
	background-image: url(../images/icon-profile.svg);
}
.btn-security {
	background-image: url(../images/icon-security.svg);
}
.btn-menumore {
	background-image: url(../images/icon-menumore.svg);
}
.btn-darker.btn-menumore {
	background-image: url(../images/icon-menumore-bl.svg);
}
.btn-edittickets {
	background-image: none;
	font-size: 1.6em;
	/*background-image: url(../images/icon-editticket.svg);*/
}
.btn-editor {
	background-image: url(../images/icon-editor.svg);
}
.btn-reports {
	background-image: none;
	font-size: 1.6em;
	/*background-image: url(../images/icon-report.svg);*/
}
.btn-setup {
	background-image: none;
	font-size: 1.6em;
	/*background-image: url(../images/icon-settings.svg);*/
}
.btn-orderpaper {
	background-image: url(../images/icon-ordertickets-bl.svg);
}
.btn-switchoff {
	background-image: url(../images/icon-power.svg);
}
.btn-home {
	background-image: url(../images/icon-home.svg);
}
.btn-up {
	background-image: url(../images/arrow-left-bl2.svg);
}
.btn-display {
	background-image: url(../images/icon-display.svg);
}
.btn-print {
	background-image: url(../images/icon-print.svg);
}
.btn-mailcsv {
	background-image: url(../images/icon-mailcsv.svg);
}
.btn-lastreport {
	background-image: url(../images/icon-reportlast.svg);
}
.btn-seqnumber {
	background-image: url(../images/icon-seqnumber.svg);
}
.btn-selectdate {
	background-image: url(../images/icon-calendar.svg);
}
.btn-grandtotal {
	background-image: url(../images/icon-calendarcheck.svg);
}
.btn-companyname {
	background-image: url(../images/icon-house-bl.svg);
}
.btn-city {
	background-image: url(../images/icon-city.svg);
}
.btn-website {
	background-image: url(../images/icon-website-bl.svg);
}
.btn-phonenumber {
	background-image: url(../images/icon-phone.svg);
}
.btn-currency {
	background-image: url(../images/icon-currency-bl.svg);
}
.btn-logos {
	background-image: url(../images/icon-logos-wh.svg);
}
.btn-primary.btn-logos {
	background-image: none;
	font-size: 1.6em;
	/*background-image: url(../images/icon-logos.svg);*/
}
.btn-resetall-bl {
	background-image: url(../images/icon-resetall-bl.svg);
}
.btn-resetzcounter-bl {
	background-image: url(../images/icon-resetzcounter-bl.svg);
}
.btn-syncdatetime-bl {
	background-image: url(../images/icon-sync-bl.svg);
}
.btn-loadlayout-bl {
	background-image: url(../images/icon-fileopen-bl.svg);
}
.btn-savelayout-bl {
	background-image: url(../images/icon-filesave-bl.svg);
}
.btn-printerview {
	background-image: url(../images/icon-house.svg);
}
.btn-picturealbum {
	background-image: url(../images/icon-picturealbum.svg);
}
.btn-takephoto {
	background-image: url(../images/icon-takephoto.svg);
}
.btn-tickettype {
	background-image: url(../images/icon-ordertickets-bl.svg);
}
select.btn-tickettype {
	background-image: url(../images/icon-ordertickets-bl.svg);
}
.btn-categoryletter {
	background-image: url(../images/icon-coathanger.svg);
}
select.btn-categoryletter {
	background-image: url(../images/icon-coathanger-bl.svg);
}
.btn-ticketvalue {
	background-image: url(../images/icon-ticketvalue-bl.svg);
}
.btn-push {
	background-image: url(../images/icon-push-bl.svg);
}
.btn-preview-bl {
	background-image: url(../images/icon-preview-black.svg);
}
.btn-print-bl {
	background-image: url(../images/icon-print-black.svg);
}




.btn-printer {
	background-image: url(../images/printer2.svg);
	background-size: 37px auto;
}





/* some input classes */
.input-name {
	background-image: url(../images/icon-badge.svg);
}
.input-address {
	background-image: url(../images/icon-house.svg);
}
.input-mail {
	background-image: url(../images/icon-mail.svg);
}
.input-phone {
	background-image: url(../images/icon-phone.svg);
}
.input-security {
	background-image: url(../images/icon-lock.svg);
}
.topinput {
	width: 100%;
	padding: 5px 10px;
}
.topinput input {
	border: 2px solid #aaa;
	background: #fff;
	width: 210px;
	max-width: 100%;
	padding: 4px;
}
input.center {
	text-align: center;
}
input.big {
	text-align: big;
	font-size: 30px;
}

.list input,
.list select {
	display: block;
	border: 2px solid #aaa;
	border: 0 none;
	background-color: #fff;
	width: 100%;
	margin: 0 auto;
	padding: 8px 4px 8px 12px;
	border-radius: 6px;
}
.list input.icon,
.list select.icon {
	padding-left: 2.4rem;
}
.centerbuttons {
	width: 100%;
	margin-top: 100px;
	text-align: right;
}
.centerbuttons > div {
	width: 36px;
	height: 36px;
	margin-left: 10px;
	display: inline-block;
	border-radius: 18px;
}
.centerbuttons .poweroff {
	background: #fff url(../images/icon-power-or.svg) no-repeat center center;
	background-size: 38px;
}
.centerbuttons .language.language-en {
	background: url(../images/lang-en.svg) no-repeat center center;
	background-size: 37px;
}
body.start #page:after {
	content:"";
	position: absolute;
	width: 43px;
	height: 284px;
	left: 30px;
	top: 60px;
	background: url(../images/logo-vert.png) no-repeat center center;
	background-size: 43px 284px;
}

.hiddensection {
	display: none;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
