:root {
  --modal-duration: 1s;
  --modal-color: #094d87;
}

#formContainer {
  width:100%;
  /*max-width:960px;*/
  background-color: rgba(200,200,200,0.2) !important;
  margin: 0px auto;
  padding: 8px;
}

#contactForm {
  display:flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  width:100%;
  max-width: 300px;
  margin: 0px auto;
  background-color: rgba(200,200,200,0.2) !important;
  /*background-color:#EAF0F6;*/
  padding:10px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: strong;
  letter-spacing: 0.1em;
  border-style: inset;
  border-color: #094d87;
  border-width: 1px;
  border-radius: 6px;
  z-index: 100;
}
#myForm {
  display:block;
  width:100%;
  max-width:300px;
}

#error {
  color: red;
  text-align:center;
}

#error.succuss {  
  color: green;
  animation: fadeIn ease 10s;
}

.formRows {
  display:block;
  width:100%;
  max-width: 320px;
}
#myForm label {
  display: block;
  width:75%;
  max-width:300px;
  margin-top: 10px;
  padding-left: 1.2em;
  padding-bottom:2px;
  border-radius: 3px;
  font-weight:strong;

}

#myForm input {
  display: flex;
  width:90%;
  max-width:320px;
  padding: 8px;
  margin: 0px auto;
}

select:required:invalid {
  color: gray;
}
option[value=""][disabled] {
  display: none;
}
option {
  color: black;
  padding: 4px;
}
/* Aviation Styling */
#formRowsAviation {
  display: none;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 30px;
  width:90%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsAviation select {
  width:100%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsAviation label {
  width:75%;
  max-width:300px;
  margin-top: 5px;
  padding-left: 0px;
  padding-bottom:2px;
  border-radius: 3px;
  font-weight:strong;
}
/* End Telecom Dropdown Style */

/* Defense Styling */
#formRowsDefense {
  display: none;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 30px;
  width:90%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsDefense select {
  width:100%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;

} 

#formRowsDefense label {
  width:75%;
  max-width:300px;
  margin-top: 5px;
  padding-left: 0px;
  padding-bottom:2px;
  border-radius: 3px;
  font-weight:strong;
}
/* End Defense Dropdown Style */

/* Energy Styling */
#formRowsEnergy {
  display: none;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 30px;
  width:90%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsEnergy select {
  width:100%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsEnergy label {
  width:75%;
  max-width:300px;
  margin-top: 5px;
  padding-left: 0px;
  padding-bottom:2px;
  border-radius: 3px;
  font-weight:strong;
}
/* End Energy Styling */

/* Pharma Styling */
#formRowsPharma {
  display: none;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 30px;
  width:90%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsPharma select {
  width:100%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsPharma label {
  width:75%;
  max-width:300px;
  margin-top: 5px;
  padding-left: 0px;
  padding-bottom:2px;
  border-radius: 3px;
  font-weight:strong;
}
/* End Pharma Dropdown Style */

/* Retire Styling */
#formRowsRetire {
  display: none;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 30px;
  width:90%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsRetire select {
  width:100%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsRetire label {
  width:75%;
  max-width:300px;
  margin-top: 5px;
  padding-left: 0px;
  padding-bottom:4px;
  border-radius: 2px;
  font-weight:strong;
}
/* End Retire Dropdown Style */ 

/* Telecom Styling */
#formRowsTelecom {
  display: none;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 30px;
  width:90%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsTelecom select {
  width:100%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsTelecom label {
  width:75%;
  max-width:300px;
  margin-top: 5px;
  padding-left: 0px;
  padding-bottom:2px;
  border-radius: 3px;
  font-weight:strong;
}
/* End Telecom Dropdown Style */  

/* Utility Styling */
#formRowsUtility {
  display: none;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 30px;
  width:90%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowsUtility select {
  width:100%;
  max-width:280px;
  padding: 10px;
  margin: 0px auto;
} 

#formRowUtility label {
  width:75%;
  max-width:300px;
  margin-top: 5px;
  padding-left: 0px;
  padding-bottom:2px;
  border-radius: 3px;
  font-weight:strong;
}
/* End Utility Dropdown Style */

.validateSelect {
  display: none;
}

.button {
  display:block;
  background: #094d87;
  padding: 1em 2em;
  color: #fff;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  margin:10px auto;
  font-family: Helvetica, sans-serif;
  font-weight: strong;
  letter-spacing: 0.1em;

}

.button:hover {
  background: #3876ac;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  margin: 10% auto;
  width: 80%;
  max-width: 480px;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
}

.modal-header h2,
.modal-footer h3 {
  margin: 0;
}

.modal-header {
  background: var(--modal-color);
  padding: 15px;
  color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-align: center;
}

.modal-body {
  padding: 10px 20px;
  background: #fff;
}
.modal-body img {
  display:flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  width:120px;
  height: auto;
  margin:0px auto;

}

.modal-footer {
  background: var(--modal-color);
  padding: 10px;
  color: #fff;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.close {
  color: #ccc;
  float: right;
  font-size: 30px;
  color: #fff;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
