/* The Message background */
.message {
  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.2); /* Black w/ opacity */
  
}

.message-dialog {
  display: inline-block;
  xwidth: fit-content;
  xfloat: unset;
  xmargin: auto;
}

/* Message Header */
.message-header {
  background: #92bF92;
  color: black;
  font-weight: bold;
  margin: auto;
  text-align: center;
  padding: 1em;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  border: 1px solid #AAA;
  border-bottom: 0px;
  -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
}

/* Message Header Text */
.message-header-text {
  font-size: 120%;
}
.message-header-text img {
  height: 2em;
  vertical-align: middle;
}

/* Message Content */
.message-content {
  background-color: #fefefe;
  margin: auto;
  padding: 1em;
  border: 1px solid #AAA;
  -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
}

/* Message Footer */
.message-footer {
  background-color: #fefefe;
  margin: auto;
  padding: 0.3em;
  padding-left: 1em;
  padding-right: 1em;
  border: 1px solid #AAA;
  text-align: center;
  border-top: 0px;
  border-bottom-left-radius: 1em;
  border-bottom-right-radius: 1em;
  -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
}

.message-progress-logo {
  width:15%;
  float:left;
}
.message-progress-content {
  xwidth:70%;
  float:left;
  text-align: center;
}

/* popups */
.popup {
  position: relative;
  display: inline-block;
}
.popup .popuptext {
  visibility: hidden;
  text-align: left;
  border-radius: 15px;
  xpadding: 1em 2em;
  position: absolute;
  z-index: 1;
  bottom: 135%;
  left: 0%;
  xmargin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 30px;
  margin-left: -5px;
  border-width: 12px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* style of popup */
.popup-header {
  background: rgba(0,100,0,0.3);
  color: black;
  font-weight: bold;
  margin: auto;
  width: 100%;
  text-align: center;
  padding: 0.3em;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  border: 1px solid #AAA;
  border-bottom: 0px;
  -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
}
.popup-header-text {
  font-size: 120%;
}
.popup-content {
  background-color: #fefefe;
  margin: auto;
  padding: 0.3em;
  border: 1px solid #AAA;
  width: 100%;
  -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
  border-bottom-left-radius: 1em;
  border-bottom-right-radius: 1em;
}

@media screen and (max-width: 640px) {
  .popup .popuptext {
    font-size:60%;
  }
}


.conform {
  color: green;
}
.notconform {
  color: red;
}

.fieldvalue img {
   margin-bottom: -5px;
   cursor: pointer;
}

.flash {
  width: 100%;
  xheight: 100%;
  display: none;
  position: fixed;
  z-index: 1;
}
.flashwindow {
  display: inline-block;
  xwidth: 20%;
  xheight: 10%;
  border-radius: 1em;
  padding: 1em;
  -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.8);
  border: 3px solid #f2b55a;
  font-size: 150%;
}
.flashok {
  background: green;
  color: white;
}
.flashnotok {
  background: red;
  color: white;
}

.msgbutton {
  background-color:#A2CFA2;
  color: white;
  border-radius:1em;
  height: 1.6em;
}
