@import url('https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i|Ropa+Sans:400,400i&display=swap');

:root {
    --mainColor: #0070AE;
    --secondaryColor: #ED6B0B;
}

/* TAG REDEFINITION */

#body {
    margin: 1em auto;
    width: calc( 100% - 4em);
    max-width: 800px;
    font-family: 'Nunito', sans-serif; /* avenir */
    font-family: 'Ropa Sans', sans-serif; /* din */
}

h2 {
	margin: 0px;
	font-size: 15px;
	text-align: center;
	color: #0070AE;
}

h3 {
	margin: 0px;
	font-size: 12px;
	text-align: center;
	color: #0070AE;
}

img {
	border: 0px;
	vertical-align: middle;
}

sup {
	font-size: 9px;
	font-weight: normal;
	color: #666666;
}

hr {
	border: 0px;
	border-top: 1px solid #CCCCCC;
}

label {
	font-size: 15px !important;
	text-align: left;
/*	color: #999999*/
}

.showHideNone {
	display: none;
}

/* SOVRASCRITTURA jQueryMobile */


.ui-page-theme-c .ui-btn:hover, html .ui-bar-c .ui-btn:hover, html .ui-body-c .ui-btn:hover, html body .ui-group-theme-c .ui-btn:hover, html head + body .ui-btn.ui-btn-c:hover {
    border-color: #dddddd !important;
}

.ui-btn:focus , .ui-btn.ui-focus {
    box-shadow: none !important;
}

.ui-li-has-thumb .goToJsonDetail {
    padding-left: 4em !important;
}

.ui-collapsible-content > form.ui-filterable {
    margin-top: 0 !important;
}

.ui-btn-b sup {
    color: #ffffff !important;
}

.ui-li-static.ui-collapsible > .ui-collapsible-heading {
	margin: 0;
}
.ui-li-static.ui-collapsible {
	padding: 0;
}
.ui-li-static.ui-collapsible > .ui-collapsible-heading > .ui-btn {
	border: 0;
}

.ui-li-static.ui-collapsible > .ui-collapsible-heading.ui-collapsible-heading-collapsed > .ui-btn,
.ui-li-static.ui-collapsible > .ui-collapsible-content {
	border: 0;
}

.ui-li-static {
	background-color: #ffffff !important;
}

.panel-tipe h3 {
    color: #ed6b0b;
    font-size: 2em;
    padding: 0.1em 0;
    font-weight: 100;
}

.panel-tipe button {
    font-size: 1.5em;
    border: 0px;
}

.panel-tipe button::after {
    background-size: 1.3em !important;
    width: 2em !important;
    height: 2em !important;
    border-radius: 0;
    margin-top: -1em;
}


/* COMMON */

div.control-close {
    margin: 0.5em 0.2em;
    float: left;
}

div.control-close a {
    margin: 0 !important;
}

li.li-last-record {
    background-color: #ed6b0b;
}

.half-circle { 
	width: 200px; height: 100px; /* as the half of the width */ 
	background-color: gold; 
	border-top-left-radius: 110px; 
	/* 100px of height + 10px of border */ 
	border-top-right-radius: 110px; 
	/* 100px of height + 10px of border */ 
	border: 10px solid gray; 
	border-bottom: 0; 
} 

#logoLogin {
    max-width: 200px;
    min-width: 50px;
    width: 100%;
    display: block;
    margin: 0 auto 1em auto;
}

div#positionLogo {
    height: 0.5em;
}

div#containerLogo {
    background-color: #f9f9f9; /* #FF9912; */
    padding: 0em;
    border-top-left-radius: 6em;
    border-top-right-radius: 6em;
    border-top: solid 1px #dddddd;
    width: 6em;
    height: 3em;
    margin: 0 auto;
    position: absolute;
    left: calc(50% - 3em);
    top: -7px;
}

div#MainControlgroup, div#motherBackAndForwardPages {
    margin: 0.2em;
}

div#myPage {
    margin-top: 1.2em !important;
    z-index: 900;
    position: relative;
}

.myManageLabel {
/* 
	position:fixed; 
	z-index: 900; 
 */
	background-color: #f9f9f9; 
	width:100%; 
	text-align:center; 
	padding-top: 1.2em;
}

.myManageLabel li {
	text-align: center !important;
}

.mhContentDetail {
/* 
	margin-top:2.2em !important;
 */
}

.container {
	padding: 12px;
}

.dataTable {
	width: 100%;
}

.notesPopup {
	padding: 12px;
	padding-left: 6px;
	padding-right: 6px;
	margin: 12px;
	margin-left: 0px;
	margin-right: 0px;
}

.primary {
	font-size: 15px;
	color: #0070AE;
	font-weight: bold;
}

.secondary {
	font-size: 13px;
	font-weight: bold;
}

.depletion {
	color: #CC0000;
}

.clearAll {
	width: 100%;
	clear: both;
	float: none;
}

/* --- Pulsante solo pulsante con sfondo trasparente e posizionato a dx --- */

#custom-border-radius {
	height: 21px;
	margin: 0px;
	margin-top: 8px;
	margin-right: 6px;
	padding: 0px;
}

#custom-border-radius .ui-btn-icon-notext.ui-corner-all {
	float: left;
	margin: 0px;
	margin-left: 13px;
	padding: 0px;
	background-color: transparent !important;
	border: 0px !important;
}

.jsonReportsButton {
	border-color: #028203 !important;
	background-color: rgb(0, 153, 0) !important;
}

.jsonGlobalVarsButton {
	border-color: #000066 !important;
	background-color: rgb(0, 0, 200) !important;
}

.jsonStopAllRequestsButton {
	border-color: #999999 !important;
	background-color: rgb(200, 200, 200) !important;
}

.compulsorySign {
	padding-right: 9px;
	padding-top: 18px;
	padding-bottom: 3px;
	font-style: italic;
	font-weight: normal;
	font-size: 10px;
	text-align: right;
}

/* LOGIN */

#login,
#reqNewPwd,
#setNewPwd {
}

#login {
    background-image: url('/sfMobileApp/themes/images/logo_AAeAA-white.png');
    background-repeat: no-repeat;
    background-position: center 99%;
    background-size: auto 10%;
}

#login div[data-role="content"],
#reqNewPwd div[data-role="content"],
#setNewPwd div[data-role="content"] {
	max-width: 240px;
	margin: 0 auto;
}

#login [data-role="content"] {
    margin: 24px;
}

#login input,
#reqNewPwd input,
#setNewPwd input {
	color: var(--mainColor) !important;
}


/* MESSAGES */

#myPopupDiv {
	font-weight: normal !important;
	text-shadow: none;
	color: #FFFFFF;
}

#outcomePopUpMsg {
	margin: 12px;
	font-weight: normal !important;
	text-shadow: none;
	color: #FFFFFF;
	text-align: center;
}

.msgType0 {
	background-color: #CC0000 !important;
	text-shadow: none;
	color: #FFFFFF;
}

.msgType1 {
	background-color: #00CC00 !important;
	text-shadow: none;
	color: #FFFFFF;
}

.msgType2 {
	background-color: #0000CC !important;
	text-shadow: none;
	color: #FFFFFF;
}

.mobile-button-disabled {
	padding: 0px !important;
	margin: 0px !important;
}


/*** SELECT AS A LIST ***/

.selectAsList {
	display: inline !important;
}

.selectAsList .likeAField {
	padding: 0px;
}

.selectAsList input[type="text"] {
	width: 99% !important;
	background-image: url('/immagini/sfCore/search.png');
	background-repeat: no-repeat;
	background-position: 98% center;
	background-size: auto 40%;
	vertical-align: middle;
}

.selectAsList ol,
.selectAsList ul {
	display: inline;
	padding: 0px;
	margin: 0px;
	list-style-type: none;
}

.selectAsList ul {
	position: absolute;
	z-index: 80;
	max-width: 50vw;
	-moz-box-shadow: 0px 0px 24px #CCCCCC;
	-webkit-box-shadow: 0px 0px 24px #CCCCCC;
	box-shadow: 0px 0px 24px #CCCCCC;
}

.selectAsList ol li,
.selectAsList span {
	display: inline-block;
	margin: 3px;
	margin-left: 0px;
	margin-right: 6px;
	padding: 3px;
	padding-left: 6px;
	padding-right: 6px;
	border: 0px;
	border-radius: 6px; 
	-moz-border-radius: 6px; /* firefox */
	-webkit-border-radius: 6px; /* safari, chrome */
}

.selectAsList ul li {
	margin: 0px;
	padding: 6px;
	border-bottom: 1px dotted #d47600;
	background-color: #FFFFFF;
}

.selectAsList .removeOptionSelected {
	display: inline-block;
	width: 18px;
	height: 24px;
	margin-left: 6px;
	background-image: url('/immagini/sfCore/cancel.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	vertical-align: middle;
	cursor: pointer;
}

.selectAsList .ulli {
	max-height: 70vh;
	max-width: 50vw;
	margin-left: 36px;
	overflow: auto;
}

.selectAsList .closeThisList {
	width: 36px;
	height: 36px;
	margin: 0px;
	padding: 0px;
	background-color: #d93e43;
}

.selectAsList .closeThisList .done {
	display: inline-block;
	width: 30px;
	height: 30px;
	margin-left: 3px;
	margin-top: 3px;
	background-image: url('/immagini/sfCore/done.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	vertical-align: middle;
	cursor: pointer;
}

.IOimgValues {
	height: 15em;
	margin-left: 0.5em;
}

/* RESPONSIVE */

@media all and (max-width: 400px) {
    div#positionLogo {
        display: none;
    }
    div#myPage {
        margin-top: auto;
    }
}
