@charset "ISO-8859-1";

/** main view **/

body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Verdana";
}

/** topmenu bar **/

.mainnav {
	padding-top: 50px;
}

.topnav {
  overflow: hidden;
  /* background-color: #0b71bc; */
  /* background-color: #ffffff; */
  /* background-color: #c8d3e4; */
  top: 0; /* Position the navbar at the top of the page */
  left: 0; /* Position the navbar at the left of the page */
  width: 100%; /* All the way, baby */
  height: 50px;
  z-index: 20;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 8px 6px -6px black;
}

.topnav div {
  float: left;
  display: block;
  /* color: #f2f2f2; */
  color: #0b71bc;
  text-align: center;
  vertical-align: middle;
  padding: 5px;
  text-decoration: none;
  font-size: 18px;
  cursor: pointer;
  height: 50px;
  background-color: inherit;
  /* box-shadow: inherit; */
}

.topnav div:hover {
  background-color: #ddd;
  color: black;
}

.topnav div.active {
  background-color: #0b71bc;
  color: black !important;
}

.topnav .icon {
  display: none;
}

.topnav .logout {
  float: right;
}

.topnav div.logo {
  display: block;	
  width: min(50vw, 260px);
  height: 50px;
  cursor: auto !important;
  background-image: url("images/logo/socage-logo-2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #ffffff;
  background-origin: content-box;
  background-color: inherit;
  box-shadow: inherit;
}

.topnav div.logo .logoimg {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: auto !important;
}

@media screen and (max-width: 1200px) {
  .topnav div:not(:first-child) {display: none;}
  .topnav div.icon {
    float: right;
    display: block;
    cursor: pointer;
    color: black;
    padding: 10px;
  }
  .topnav div.logo {
    float: left;
    display: block;
  }
  .topnav.responsive {
  	/* position: relative; */
  	height: auto;
  }
  .topnav.responsive .icon {
  	background-image: url("images/icons/imenu.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    position: absolute;
    right: 0;
    top: 0;
  }
  .imenu {
    background-image: url("images/icons/imenu.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px;
  }
  .iclose {
    background-image: url("images/icons/iclose.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px;
  }
  .topnav.responsive .logo {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive div {
    float: none;
    display: block;
    text-align: left;
  }
}

/** sidemenu bar **/

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: white;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  text-align:center;
  z-index: 100;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: black;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #ddd;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #333;
}

@media screen and (max-height: 400px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/** search bar sidenav **/
.searchbar {
  overflow: hidden;
  background-color: #e9e9e9;
}

.searchbar a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  height:45px;
  padding: 14px 14px;
}

.searchbar a:hover {
  background-color: #ddd !important;
  color: black;
}

.searchbar a.active {
  background-color: #0b71bc;
  color: white;
  font-weight: bold;
}

.searchbar .search-container {
  float: right;
}

.searchbar input[type=text] {
  padding: 6px;
  margin-top: 8px;
  margin-right: 16px;
  font-size: 17px;
  border: none;
}

.searchbar .search-container button {
  float: right;
  padding: 6px 10px;
  margin-top: 8px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.searchbar .search-container label {
  padding: 6px 10px;
  margin-top: 8px;
  margin-right: 16px;
  font-size: 17px;
  border: none;
}

/** icons **/
.searchbar .search-container .icon-reload {
	background-image: url("images/icons/reload.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    min-width: 50px;
    order: 2;
}
.searchbar .search-container .icon-reload:hover {
	border: 1px solid gray;
}

.searchbar .search-container .icon-search {
	background-image: url("images/icons/search.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    min-width: 50px;
    order: 1;
}
.searchbar .search-container .icon-search:hover {
	border: 1px solid gray;
}

@media screen and (max-width: 600px) {
  .searchbar .search-container {
    float: none;
  }
  .searchbar a, .searchbar input[type=text], .searchbar .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 5px;
    height: auto;
  }
  .searchbar input[type=text] {
    border: 1px solid #ccc;  
  }
  .searchbar input[type=checkbox] { 
  	display: inline-block;
  	text-align: left;
    align: left;
  }
}

/** submenu bar **/

.submenu {
  overflow: hidden;
  background-color: #333;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 1.5;
}

.submenu .search-container {
  overflow: hidden;
  background-color: #333;
  float: right;
  padding: 9px;
}

.submenu .search-container input[type=text] {
  padding: 5px;
  font-size: 17px;
  border: none;
}

.submenu .search-container select {
  padding: 5px;
  font-size: 17px;
  border: none;
}

.submenu .search-container button {
  float: right;
  margin-left: 10px;
  padding: 5px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.submenu .search-container label {
  padding: 5px;
  font-size: 17px;
  border: none;
}

.submenu .search-container button:hover {
  background: #ccc;
}

.submenu .search-container:hover {
  background-color: inherit;
  color: inherit;
  cursor: default;
}

.macdesc {
  float: right;
  font-size: 17px;    
  display: inline-block;
  border: none;
  outline: none;
  color: white;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 14px;
  padding-bottom: 14px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: default;
}

.dropdown {
  float: left;
  overflow: hidden;
  line-height: 1.5;
}

.dropdown .dropbtn {	
  font-size: 17px;    
  display: inline-block;
  border: none;
  outline: none;
  color: white;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 14px;
  padding-bottom: 14px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
}

#progress {
	height: 10px;
	align-items:center;
    text-align: center;
    color: white;
    background-color: green;
}

.dropdown .btnimgsave {
	background-image: url("images/icons/icon_save.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 24px; 24px;
    background-color: transparent;
    color: white;
    float: left;
    cursor: pointer;
}
.dropdown .btnimgconn {
	background-image: url("images/icons/icon_conn1.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 24px; 24px;
    background-color: #FF0000;
    color: white;
    float: left;
    cursor: pointer;
}
/*
.dropdown .btnimgconn:hover {
	color: black;
	background-color: transparent;
	background-image: url("images/icons/icon_conn2.png");
}
*/
.dropdown .btnimgtrack {
	background-image: url("images/icons/icon_track1.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 24px; 24px;
    background-color: transparent;
    color: white;
    float: left;
    cursor: pointer;
}
/*
.dropdown .btnimgtrack:hover {
	color: black;
	background-color: transparent;
	background-image: url("images/icons/icon_track2.png");
}
*/
.dropdown .btnimgnew {
	background-image: url("images/icons/expand1.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 24px; 24px;
    background-color: transparent;
    color: white;
    float: left;
    cursor: pointer;
}
/*
.dropdown .btnimgnew:hover {
	color: black;
	background-color: transparent;
	background-image: url("images/icons/expand2.png");
}
*/
.dropdown .btnimgrun {
	background-image: url("images/icons/start.gif");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 20px; 20px;
    background-color: transparent;
    color: white;
    float: left;
    cursor: pointer;
}
.dropdown .btnimgexport {
	background-image: url("images/icons/export1.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 24px; 24px;
    background-color: transparent;
    color: white;
    float: left;
    cursor: pointer;
}
/*
.dropdown .btnimgrun:hover {
	color: black;
	background-color: transparent;
}
*/
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 50;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.submenu a:hover, .dropdown:hover .dropbtn {
  background-color: #ddd;
  color: black;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {
  .submenu, .search-container.responsive {
    float: none;
    display: block;
    text-align: left;
    padding-bottom: 5px;
  }
  .submenu .dropdown {float: none;}
  .submenu .dropdown-content {position: relative;}
  .submenu .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  .submenu .search-container, .submenu .search-container input[type=text], .submenu .search-container select, .submenu .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 5px;
  }
  .submenu .search-container input[type=text] {
    border: 1px solid #ccc;  
  }
  .submenu .search-container input[type=checkbox] { 
  	display: inline-block;
  	text-align: left;
    align: left;
  }
  .submenu .macdesc {
  	float: none;
  	text-align: left;
  }
}

/** login **/

.box-0 {
  flex: 1;
  order: 1;
  position: relative;
  padding: 5px;
  height: 70px;
  background-image: url("images/logo/socage-logo-2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #ffffff;
}

.box-1 {
  flex: 1;
  order: 1;
  position: relative;
}
 
.box-2 {
  flex: 1;
  order: 2;
  position: relative;
}

.container-logo {
	display:flex;
	justify-content:space-between;
	width: 100%;
	height: 70px;
	margin-top: 10px;
}	

@media screen and (min-width: 800px) {
  .container {
	display:flex;
	justify-content:space-between;
	width: 100%;
	height: auto;
	margin-top: 10px;
  }	
}

.imgcontainer {
    padding: 5px;
    background-image: url("images/logo/slide_socage-azienda_S5A2568.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #ffffff;
}

.imgapi {
    padding: 5px;
    float: right;
    background-color: #ffffff;
}

.container div {
  border:0;
  padding:10px;
}

.container input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.container label {
	/* font-size: 2vw; */
}

.container button {
  background-color: #0b71bc;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}
.container button:hover {
  opacity: 0.8;
}

.container .cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

.container img.avatar {
  width: 40%;
  border-radius: 50%;
}

.container {
  padding: 16px;
}

.container span.psw {
  float: right;
  padding-top: 16px;
}

/* Change styles on small screens */
@media screen and (max-width: 800px) {
  .container span.psw {
     display: block;
     float: none;
  }
  .container .cancelbtn {
     width: 100%;
  }
  .imgcontainer {
    padding: 5px;
    height: 70px;
    background-image: url("images/logo/socage-logo-2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #ffffff;
  }
  .container-logo {
  	display: none;
  }
}

/** google map **/

#googlemap {
  width: 100vw;
  height: 100vw;
  background-color: #cccccc;
}

/** modal dialog box **/

.overlay {
  position: fixed; /* Positioning and size */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(128,128,128,0.5); /* color */
  display: none; /* making it hidden by default */
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80vw;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.w3-modal table {
	width:100%;
	height:auto;
	border: 1;
}

.w3-modal table thead {
	background-color: #333;
	color: white;
}

.w3-modal table input[type=text], textarea {
	width: 95%;
	box-sizing: border-box;
	border: 1px solid #ccc;
    border-radius: 4px;
}

.w3-modal .progress {
  width: 100%;
  height: 40px;
  background: rgba(255,255,255,0.1);
  justify-content: flex-start;
  border-radius: 100px;
  align-items: center;
  position: relative;
  padding: 0 5px;
  display: flex;
}

.w3-modal .progress-value {
  animation: progress-load 3s normal forwards;
  animation-iteration-count: infinite;
  box-shadow: 0 10px 40px -10px #fff;
  border-radius: 100px;
  background: #fff;
  height: 30px;
  width: 0;
}

@keyframes progress-load {
  0% { width: 0; }
  100% { width: 100%; }
}

.w3-modal .progress-value-ok {
  animation-fill-mode: forwards;
  box-shadow: 0 10px 40px -10px #fff;
  border-radius: 100px;
  background: #fff;
  height: 30px;
  width: 0;
}

.w3-modal .progress-value-err {
  animation-fill-mode: forwards;
  box-shadow: 0 10px 40px -10px #fff;
  border-radius: 100px;
  background: #fff;
  height: 30px;
  width: 0;
}

/** buttons **/
.btn {
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    text-align: center;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
    transition: all linear 0.3s;
}
.btn-brand {
    color: #ffffff;
    background-color: #258900;
    border-color: #1e7000;
}
.btn-group-lg>.btn, .btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}
.btn {
    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;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}