@font-face {font-family: "Roboto"; src: url("ext/fonts/Roboto-Light.ttf") }
@font-face {font-family: "Orbitron"; src: url("ext/fonts/Orbitron-Regular.ttf") }

* { font-family: "Roboto"; font-size: 100%; }

html, body { height: 100%; margin: 0; padding:0; }

body {
  /* Disables pull-to-refresh but allows overscroll glow effects. */
  overscroll-behavior-y: contain;
}

:root {
  --bs-prim: rgb(251, 192, 45);  /*primario*/
  --bs-seco: rgb(194, 132, 0);   /*colore secondario 253, 216, 53  */
  --bs-gral: rgb(225,225,225);   /*grigio chiaro*/
  --bs-gray: rgb(192, 192, 192); /*grigio medio */
  --bs-grad: rgb(100,100,100);   /*grigio scuro*/
  --bs-light:rgb(240,240,240);   /*bianco sporco*/
  --bs-black:rgb(10,10,100);     /*nero*/
  --bs-bblue:rgb(25, 103, 210);  /*dark blue*/
  --bs-acqua:rgb(13, 202, 240);  /*green*/
  --bs-redd: rgb(210, 62, 25);   /*dark red*/
  --bs-yell: rgb(236, 212, 31);  /*yellow*/
  --bs-green:rgb(51, 255, 0);    /*green*/
}

.app-tx-prim  { color : var(--bs-prim) !important;}
.app-bg-prim  { background-color : var(--bs-prim) !important;}

.app-tx-seco  { color : var(--bs-seco) !important;}
.app-bg-seco  { background-color : var(--bs-seco) !important;}

.app-tx-gray  { color : var(--bs-gray);}
.app-bg-gray  { background-color : var(--bs-gray) !important;} 

.app-tx-gral  { color : var(--bs-gral) !important;}
.app-bg-gral  { background-color : var(--bs-gral) !important;} 

.app-tx-grad  { color : var(--bs-grad) !important;}
.app-bg-grad  { background-color : var(--bs-grad) !important;} 

.app-tx-light { color : var(--bs-light) !important;}
.app-bg-light { background-color : var(--bs-light) !important;}

.app-tx-black { color : var(--bs-black) !important;}
.app-bg-black { background-color : var(--bs-black) !important;}

.app-tx-bblue { color : var(--bs-bblue) !important;}
.app-bg-bblue { background-color : var(--bs-bblue) !important;}

.app-tx-redd { color : var(--bs-redd) !important;}
.app-bg-redd { background-color : var(--bs-redd) !important;}

.app-tx-yell { color : var(--bs-yell) !important;}
.app-bg-yell { background-color : var(--bs-yell) !important;}

.app-tx-green { color : var(--bs-green) !important;}
.app-bg-green { background-color : var(--bs-green) !important;}

.app-tx-acqua { color : var(--bs-acqua) !important;}
.app-bg-acqua { background-color : var(--bs-acqua) !important;}

.app-fs-80 {
	font-size : 0.8rem !important;
}
.app-container {
  width:100%;
  height:100%;
}
.app-wrapper {
	width:100%;
	display:flex;    
	align-items:stretch;
}

.app-loader {
  position: absolute;
  top: 0;
  bottom: 0%;
  left: 0;
  right: 0%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  text-align: center;
  width: 100%;
  height:100%;
  padding-top: 20%;
  color:white; 
}

/* forms */
.app-form-delimg {
  position: absolute;
  margin: 1.5em;
  right:0;
  z-index:1000;
  cursor:pointer;
}
.app-hover {
  position:absolute; 
  width:100%;height:100%;
  background-color:var(--bs-prim);
  opacity : 0.2;
  display:none; 
  cursor:pointer;
}
.app-button-back {
  border-radius: 50% !important;
  padding: 0 0.28rem;
  margin : 0 0.5rem 0.01rem 0 ;
  border : 1px solid var(--bs-prim);
  cursor : pointer;
  font-weight: bolder;
}
.app-hover-label {
  position:absolute;
  width:100%;height:100%;
  display:none; 
  font-weight:bold;
  color:var(--bs-seco);
  text-align: left
}
.app-border-bottom {
  border-bottom: 1px solid var(--bs-prim) !important;
   border-radius: 0;
}
.app-control-small {
  font-size: 70% !important;
  margin-bottom:0 !important;
}

/* navbar */
.app-nav {
  height : 40px;
  width:100%;
  padding:0;
  z-index:100;
}
.app-nav ul li a:hover, .app-nav ul li a:focus { color: var(--bs-light) !important; }

.app-nomobile {
  display: block;
}
.app-img-user-cropper {
  width: 30px;
  height: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  margin-top: 5px;
} 
.app-img-user {
  display: inline;
  margin: 0 auto;
  height: 100%;
  width: auto;
}
.app-home {
  padding: 0.5rem 1rem 0 1rem;
}

/* sidebar */
.app-sidebar {
	position:absolute;
  padding-top: 20px;
	z-index: 1000;
	height: calc(100% - 40px);
	min-width: 220px;
	max-width: 220px;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
.app-sidebar-img {
  width:50%;
}
.app-sidebar.active { margin-left: -220px; }
.app-sidebar ul { padding: 2px 2px 2px 10px; }
.app-sidebar ul li { font-size: 15px; list-style-type: none;}
.app-sidebar ul li > ul { margin-left: 10px; }
.app-sidebar ul li > ul li { font-size: 14px; }
.app-sidebar ul li a:hover, .app-sidebar ul li a:focus { color: var(--bs-light) !important; }
.app-sidebar ul li a {
  padding: 5px 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
	text-decoration: none;
}
.app-sidebar ul li > .dropdown-toggle {	color: var(--bs-gray);  font-weight: bold;}
.app-sidebar-toggler {
	color: var(--bs-grad);
    padding: 0 0 0 7px;
    margin-right: 10px;
    font-size: 14px;
}

/* message-box */
.app-mWrapper {
  position:absolute;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
  z-index:1100;
}
.app-mContent {
	position: relative;
	background-color: #fefefe;
	top:5%;
	left:25%;
	padding: 0;
	overflow: hidden;
	border: 1px solid #888;
	width: 50%;
	min-width:500px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s
}
.app-mHeader { width: 100%; height:40px; }
.app-mBody {  
	width:100%; padding: 1.0em; 
	overflow: auto;
}
.app-mFooter { width: 100%; height:40px; text-align: center;}
.app-pointer { cursor:pointer;}

/** scroll bar custom **/
::-webkit-scrollbar {
  background-color: var(--bs-gray)  !important;
  width: 12px;
  cursor: pointer;
}
::-webkit-scrollbar-thumb {
  background-color: var(--bs-prim)  !important;
  border-radius: 10px !important;
}

/* login */
.css-login {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  height: 100%;
  background-repeat:no-repeat;
  background-size:cover;
  box-shadow: 0 0 5px 5px #FFFF;
}
.css-frmlogin {
  width: 100%;
  max-width: 330px;
  padding: 40px 0px 50px 0px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.25);
}
.css-frm-login-clang {
  border: 1px solid white;
  border-radius: 15px;
}

.css-login-video {
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/** media query **/
@media screen and (max-width: 760px) {
  #app-nav {
    border-top : 1px solid var(--bs-seco);
    padding:10px;
  }
  .app-nomobile { display: none}
  .app-home { padding: 0; }
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  
}
@media screen and (max-width: 1024px) {
}


