﻿/*
------------------------------------------------------------------------------------------

NOME AZIENDA	: EPSON ITALIA SPA
NOME FILE		: mPOSKeyboardConfiguratore.css
VERSIONE		: 4.0
DESCRIZIONE		: File css del tool mPOSKeyboardConfiguratore.

PROPRIETÀ		: Le informazioni qui contenute sono proprietà di EPSON ITALIA SPA.
				  È fatto divieto di usare, rivelare a terzi o riprodurre senza il
				  consenso scritto di EPSON ITALIA SPA.
------------------------------------------------------------------------------------------

20/07/2021 Philip Barnett. Versione 4.0. Aggiunte classi ZReportFormClass ed otherButtonWide.
20/07/2021 Philip Barnett. Versione 4.0. Code cleanup.

*/

html,
button,
input,
select,
label,
textarea,
progess,
ol,li  {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

label {
	font-size: 1.5em;
	/*font-family: 'open_sanscondensed_light, sans-serif';*/
}

input, textarea, progress, select {
	font-size: 1.5em;
}

label {
	color: white;
}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/*  === keyboard === */
* {
  -webkit-tap-highlight-color: rgba(0,0,0,0);  
}
@font-face {
	font-family: 'open_sanscondensed_light';
	src: url('../shared/fonts/OpenSans-CondLight-webfont.eot');
	src: url('../shared/fonts/OpenSans-CondLight-webfont.eot?#iefix') format('embedded-opentype'),
		url('../shared/fonts/OpenSans-CondLight-webfont.woff') format('woff'),
		url('../shared/fonts/OpenSans-CondLight-webfont.ttf') format('truetype'),
		url('../shared/fonts/OpenSans-CondLight-webfont.svg#open_sanscondensed_light') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'ericsson_ga628regular';
    src: url('../shared/fonts/ericssonga-628-webfont.eot');
    src: url('../shared/fonts/ericssonga-628-webfont.eot?#iefix') format('embedded-opentype'),
         url('../shared/fonts/ericssonga-628-webfont.woff') format('woff'),
         url('../shared/fonts/ericssonga-628-webfont.ttf') format('truetype'),
         url('../shared/fonts/ericssonga-628-webfont.svg#ericsson_ga628regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html,body {
	height: 100%;
	background: #606060;
	background-image:  url('../shared/img/grey_wash_wall.png');
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* 13/07/2023 Philip Barnett. Versione 5.0. Aggiunto #zipFormDownloadMenu. */
.importFormClass,
.customisationWelcomeFormClass,
.topToolBarLineClass,
.mainSettingsFormClass,
.manageOperatorsFormClass, .manageDeptsFormClass, .managePaymentsFormClass, .managePLUsFormClass,
.zipFormClass,
#zipFormDownloadMenu,
.managePagesFormClass,
.portrait, .landscape,
.buttonSettingsFormClass,
.ZReportFormClass,
#opListTable, #depListTable, #payListTable, #pluListTable,
#manageOperatorsFormHiddenRefreshButton, #manageDeptsFormHiddenRefreshButton, #managePaymentsFormHiddenRefreshButton, #managePLUsFormHiddenRefreshButton {
	display: none;
}

.zone {
	height: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 10px;
}

.zone ul {
	height: 84%;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.zone>ul>li {
	height:11.25%;	/* Depends on how many rows of buttons are configured in portrait mode. */
}

.zone ul ul li {
	height: 100%;
	width: 25%;
	float: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 4px;
}

#opListTable tr th, #opListTable tr td,
#depListTable tr th, #depListTable tr td,
#payListTable tr th, #payListTable tr td,
#pluListTable tr th, #pluListTable tr td {	
	padding:1.5%;
	border-width:thin;
	border-style:solid;
	border-color:aqua;
}

button {
	background-color: #CCCCCC;
	background-image: -moz-linear-gradient(center bottom, #EEEEEE 0%, #CCCCCC 100%);
	border: 0 none;
	border-radius: 5px;
	box-shadow: 0 1px 0 #AAAAAA inset, 0 5px 0 0 #AAAAAA, 0 10px 5px #444444;
	color: #444;
	font-family: 'Open Sans', sans-serif;
	padding: 10px 50px 10px 20px;
	position: relative;
	text-decoration: none;
	font-family: open_sanscondensed_light, sans-serif;
	/*text-shadow: 0 1px 0 #FFFFFF;*/
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 1em;
	line-height: 100%; /* era 86% */
	overflow: hidden;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-appearance: button;
}

.blu {
	background: #7FC3FF;
	background: -moz-linear-gradient(top, #7FC3FF 0%, #A2E0FF 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #326999),
		color-stop(100%, #A2E0FF));
	background: -webkit-linear-gradient(top, #7FC3FF 0%, #A2E0FF 100%);
	background: -o-linear-gradient(top, #7FC3FF 0%, #A2E0FF 100%);
	background: -ms-linear-gradient(top, #7FC3FF 0%, #A2E0FF 100%);
	background: linear-gradient(to bottom, #7FC3FF 0%, #A2E0FF 100%);
	box-shadow: 0 1px 0 #5290C5 inset, 0 5px 0 0 #5290C5, 0 10px 5px #444;
}

.arancio {
	background: #FFA500;
	background: -moz-linear-gradient(top, #FFA500 0%, #FFC041 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FFA500),
		color-stop(100%, #FFC041));
	background: -webkit-linear-gradient(top, #FFA500 0%, #FFC041 100%);
	background: -o-linear-gradient(top, #FFA500 0%, #FFC041 100%);
	background: -ms-linear-gradient(top, #FFA500 0%, #FFC041 100%);
	background: linear-gradient(to bottom, #FFA500 0%, #FFC041 100%);
	box-shadow: 0 1px 0 #996300 inset, 0 5px 0 0 #996300, 0 10px 5px #444;
}

.verde {
	background-color: #9DE051;
	background: -moz-linear-gradient(top, #9DE051 0%, #BAFB67 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9DE051),
		color-stop(100%, #BAFB67));
	background: -webkit-linear-gradient(top, #9DE051 0%, #BAFB67 100%);
	background: -o-linear-gradient(top, #9DE051 0%, #BAFB67 100%);
	background: -ms-linear-gradient(top, #9DE051 0%, #BAFB67 100%);
	background: linear-gradient(to bottom, #9DE051 0%, #BAFB67 100%);
	box-shadow: 0 1px 0 #508216 inset, 0 5px 0 0 #508216, 0 10px 5px #444;
}

.verdone {
	background-color: #659034;
	background: -moz-linear-gradient(top, #659034 0%, #75a73c 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #659034),
		color-stop(100%, #75a73c));
	background: -webkit-linear-gradient(top, #659034 0%, #75a73c 100%);
	background: -o-linear-gradient(top, #659034 0%, #75a73c 100%);
	background: -ms-linear-gradient(top, #659034 0%, #75a73c 100%);
	background: linear-gradient(to bottom, #659034 0%, #75a73c 100%);
	box-shadow: 0 1px 0 #385a0f inset, 0 5px 0 0 #385a0f, 0 10px 5px #444;
}

.lime {
	background-color: #00FF00;
	background: -moz-linear-gradient(top, #00FF00 0%, #59FF59 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00FF00), color-stop(100%, #59FF59));
	background: -webkit-linear-gradient(top, #00FF00 0%, #59FF59 100%);
	background: -o-linear-gradient(top, #00FF00 0%, #59FF59 100%);
	background: -ms-linear-gradient(top, #00FF00 0%, #59FF59 100%);
	background: linear-gradient(to bottom, #00FF00 0%, #59FF59 100%);
	box-shadow: 0 1px 0 #00A800 inset, 0 5px 0 0 #00A800, 0 10px 5px #444;
}

.fucsia {
	background-color: #FF7FAA;
	background: -moz-linear-gradient(top, #FF7FAA 0%, #FF9AC3 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FF7FAA), color-stop(100%, #FF9AC3));
	background: -webkit-linear-gradient(top, #FF7FAA 0%, #FF9AC3 100%);
	background: -o-linear-gradient(top, #FF7FAA 0%, #FF9AC3 100%);
	background: -ms-linear-gradient(top, #FF7FAA 0%, #FF9AC3 100%);
	background: linear-gradient(to bottom, #FF7FAA 0%, #FF9AC3 100%);
	box-shadow: 0 1px 0 #B7144A inset, 0 5px 0 0 #B7144A, 0 10px 5px #444;
}

.rosso {
	background-color: #FF0000;
	background: -moz-linear-gradient(top, #FF0000 0%,  #FF3030 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FF0000),
		color-stop(100%, #FF3030 ));
	background: -webkit-linear-gradient(top, #FF0000 0%,  #FF3030 100%);
	background: -o-linear-gradient(top, #FF0000 0%,  #FF3030 100%);
	background: -ms-linear-gradient(top, #FF0000 0%,  #FF3030 100%);
	background: linear-gradient(to bottom, #FF0000 0%, #FF3030 100%);
	box-shadow: 0 1px 0 #D70000 inset, 0 5px 0 0 #D70000, 0 10px 5px #444;
}

.turchese {
	background-color: #87D3D5;
	background: -moz-linear-gradient(top, #87D3D5 0%, #A6F0EE 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #87D3D5),
		color-stop(100%, #A6F0EE));
	background: -webkit-linear-gradient(top, #87D3D5 0%, #A6F0EE 100%);
	background: -o-linear-gradient(top, #87D3D5 0%, #A6F0EE 100%);
	background: -ms-linear-gradient(top, #87D3D5 0%, #A6F0EE 100%);
	background: linear-gradient(to bottom, #87D3D5 0%, #A6F0EE 100%);
	box-shadow: 0 1px 0 #247E83 inset, 0 5px 0 0 #247E83, 0 10px 5px #444;
}

.giallo {
	background-color: #F7CB00;
	background: -moz-linear-gradient(top, #F7CB00 0%, #FFE62F 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F7CB00),
		color-stop(100%, #FFE62F));
	background: -webkit-linear-gradient(top, #F7CB00 0%, #FFE62F 100%);
	background: -o-linear-gradient(top, #F7CB00 0%, #FFE62F 100%);
	background: -ms-linear-gradient(top, #F7CB00 0%, #FFE62F 100%);
	background: linear-gradient(to bottom, #F7CB00 0%, #FFE62F 100%);
	box-shadow: 0 1px 0 #B89500 inset, 0 5px 0 0 #B89500, 0 10px 5px #444;
}

.azzurro {
	background-color: #7FE3FF;
	background: -moz-linear-gradient(top, #7FE3FF 0%, #9FFFFF 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7FE3FF),
		color-stop(100%, #9FFFFF));
	background: -webkit-linear-gradient(top, #7FE3FF 0%, #9FFFFF 100%);
	background: -o-linear-gradient(top, #7FE3FF 0%, #9FFFFF 100%);
	background: -ms-linear-gradient(top, #7FE3FF 0%, #9FFFFF 100%);
	background: linear-gradient(to bottom, #7FE3FF 0%, #9FFFFF 100%);
	box-shadow: 0 1px 0 #2EABCB inset, 0 5px 0 0 #2EABCB, 0 10px 5px #444;
}

.bianco {
	background-color: white;
	background: -moz-linear-gradient(top, #white 0%, white 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white),
		color-stop(100%, white));
	background: -webkit-linear-gradient(top, white 0%, white 100%);
	background: -o-linear-gradient(top, white 0%, white 100%);
	background: -ms-linear-gradient(top, white 0%, white 100%);
	background: linear-gradient(to bottom, white 0%, white 100%);
	box-shadow: 0 1px 0 white inset, 0 5px 0 0 white, 0 10px 5px #444;
}

.hiddenIndication {
	background:transparent;
	border: 1px solid gray;
	box-shadow: 0 1px 0 grey inset, 0 5px 0 0 grey, 0 10px 5px #444;
}

.unchangedIndication {
	border: 5px dotted red;
	box-shadow: 0 1px 0 grey inset, 0 5px 0 0 grey, 0 10px 5px #444;
}

@media ( min-width : 320px) {
	button { font-size: 0.6em; }
	.number { font-size: 0.9em; font-weight: bold; }
	label, input, progress { font-size: 0.5em; }
	select { font-size: 0.4em; }
	.otherButtonMedium { height:20px; width:70px; }
	.otherButtonLarge { height:60px; width:125px; }
	.otherButtonWide { height:20px; width:100px; }
}
@media ( min-width : 400px) {
	button { font-size: 1em; }
	.number { font-size: 1.9em; font-weight: bold; }
	label, input, progress { font-size: 0.7em; }
	select { font-size: 0.7em; }
	.otherButtonMedium { height:20px; width:70px; }
	.otherButtonLarge { height:67px; width:135px; }
	.otherButtonWide { height:20px; width:100px; }
}
@media ( min-width : 480px) {
	button { font-size: 1.3em; }
	.number { font-size: 2.3em; font-weight: bold; }
	label, input, progress { font-size: 0.8em; }
	select { font-size: 0.9em; }
	.otherButtonMedium { height:25px; width:80px; }
	.otherButtonLarge { height:75px; width:150px; }
	.otherButtonWide { height:25px; width:112px; }
}
@media (min-width: 640px) {
	button { font-size: 1.5em; }
	.number { font-size: 2.5em; font-weight: bold; }
	label, input, progress { font-size: 1.1em; }
	select { font-size: 1.0em; }
	.zone ul ul li { padding: 8px; }
	.otherButtonMedium { height:30px; width:85px; }
	.otherButtonLarge { height:82px; width:150px; }
	.otherButtonWide { height:30px; width:120px; }
}
@media ( min-width : 760px) {
	button { font-size: 2em; }
	.number { font-size: 2.9em; font-weight: bold; }
	label, input, progress { font-size: 2em; }
	select { font-size: 1.7em; }
	.otherButtonMedium { height:30px; width:85px; }
	.otherButtonLarge { height:112px; width:190px; }
	.otherButtonWide { height:30px; width:120px; }
}
@media ( min-width : 920px) {
	button { font-size: 2.5em; }
	.number { font-size: 3.4em; font-weight: bold; }
	label, input, progress { font-size: 2.5em; }
	select { font-size: 2.2em; }
	.otherButtonMedium { height:35px; width:100px; }
	.otherButtonLarge { height:123px; width:225px; }
	.otherButtonWide { height:35px; width:140px; }
}

@media (orientation:landscape) {
	button {
		font-size: 0.2em;
		left: 0;
		top: 0;
	}	
	label {	font-size: 0.2em; }

	.zone ul ul li {
		padding-left: 2px;
		padding-right: 2px;
	}
}
@media ( min-width : 320px) and (orientation:landscape) {
	button { font-size: 0.5em; }
	.number { font-size: 1.4em; font-weight: bold; }
	label, input, progress { font-size: 0.5em; }
	select { font-size: 0.4em; }
	.otherButtonMedium { height:20px; width:40px; }
	.otherButtonLarge { height:37px; width:60px; }
	.otherButtonWide { height:20px; width:56px; }
}

@media ( min-width : 400px) and (orientation:landscape) {
	button { font-size: 0.8em; }
	.number { font-size: 1.4em; font-weight: bold; }
	label, input, progress { font-size: 0.9em; }
	select { font-size: 0.7em; }
	.otherButtonMedium { height:25px; width:60px; }
	.otherButtonLarge { height:67px; width:90px; }
	.otherButtonWide { height:25px; width:84px; }
}

@media ( min-width : 640px) and (orientation:landscape) {
	button { font-size: 1.3em; }
	.number { font-size: 1.9em; font-weight: bold; }
	label, input, progress { font-size: 1.1em; }
	select { font-size: 1.0em; }
	.otherButtonMedium { height:30px; width:85px; }
	.otherButtonLarge { height:75px; width:127px; }
	.otherButtonWide { height:30px; width:120px; }
}

@media ( min-width : 960px) and (orientation:landscape) {
	button { font-size: 1.5em; }
	.number { font-size: 2.1em; font-weight: bold; }
	label, input, progress { font-size: 1.3em; }
	select { font-size: 1.2em; }
	.otherButtonMedium { height:35px; width:100px; }
	.otherButtonLarge { height:82px; width:150px; }
	.otherButtonWide { height:35px; width:140px; }
}

@media ( min-width : 1024px) and (orientation:landscape) {
	button { font-size: 1.8em; }
	.number { font-size: 2.4em; font-weight: bold; }
	label, input, progress { font-size: 1.6em; }
	select { font-size: 1.4em; }
	.otherButtonMedium { height:40px; width:110px; }
	.otherButtonLarge { height:97px; width:180px; }
	.otherButtonWide { height:40px; width:154px; }
}

@media ( min-width : 1280px) and (orientation:landscape) {
	button { font-size: 2.2em; }
	.number { font-size: 2.9em; font-weight: bold; }
	label, input, progress { font-size: 1.9em; }
	select { font-size: 1.4em; }
	.otherButtonMedium { height:45px; width:120px; }
	.otherButtonLarge { height:120px; width:225px; }
	.otherButtonWide { height:45px; width:170px; }
}

@media ( min-width : 1440px) and (orientation:landscape) {
	button { font-size: 2.7em; }
	.number { font-size: 3.4em; font-weight: bold; }
	label, input, progress { font-size: 2.0em; }
	select { font-size: 1.5em; }
	.otherButtonMedium { height:50px; width:140px; }
	.otherButtonLarge { height:150px; width:270px; }
	.otherButtonWide { height:50px; width:200px; }
}

@media screen and (orientation:portrait) {
	.portrait { display: block; }
	#topToolBarLine { height: 10%; }
	#welcomeForm { height:58%; width:100% ;border:0%; margin-left:0%; padding:0%; }
}

@media screen and (orientation:landscape) {
	.landscape { display: block; }
	.zone>ul>li { height: 25%; }	/* Depends on number of rows in landscape mode */
	.zone ul ul li { width: 11.1%; }	/* Depends on number of columns in landscape mode */
	/* .zone ul ul li.linumber { width: 7.8%; } /* To reduce the width of the numeric buttons and comma. */
	#topToolBarLine { height: 20%; }
	#welcomeForm { height:100%; width:100%; border:0%; margin-left:0%; padding:0%; } 
}
.linumber { width: 5%; }

/*
==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
==========================================================================
*/
