/* CSS file for maintenance pages */

/* Elements */
form {
  margin: 0 0;
}
* {
  box-sizing: border-box;
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 14px;
}
h1 {
  font-size: 20px;
  width: 100%;
  background-color: rgb(177, 211, 74);
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  
}
input[type=text], 
input[type=email], 
input[type=password], 
select, 
table {
  height:50px;
  background-color: white;
  width:100%;
  padding: 8px 10px;
  margin: 4px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
button, 
input[type=submit], 
input[type=button], 
input[type=reset], 
.pea_backbutton, 
.pea_forwardbutton {
  background-image: linear-gradient(to bottom, rgb(201, 238, 88) 0%, rgb(177, 211, 74) 100%);
  color: white;
  padding: 8px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
button:hover,
input[type=submit]:hover, 
input[type=button]:hover, 
input[type=reset]:hover, 
.pea_backbutton:hover, 
.pea_forwardbutton:hover {
  background-image: none;
  background-color: rgb(177, 211, 74);
  border-color: rgb(177, 211, 74);
}
form label {
  font-size: 13px;
  font-family: sans-serif;
}

/* Classes */
.pea_error {
  font-size: 13px;
  color: rgb(255, 0, 0);
  font-style: italic;
  font-family: sans-serif;
}
.divform {
  width:800px;
  margin: 0 auto;
}
.divres {
  font-size: 20px;
  padding: 2px 10px;
  margin: 4px 8px 0 0;
  background-color: white;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.4);
}
.divtop {
  height:80px;
  padding: 6px 0px 6px 0;
  background-color:rgb(204, 204, 204);
  display:flex; 
  z-index: 1;
  box-sizing: border-box;
}
.divsticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: white;
  padding-bottom:20px;
  z-index: 1;
}
.pea_half_width {
  max-width: 400px;
}
.pea_entity_cell {
  background-color: white;
  height:auto;
  min-height: 47px;
  width:100%;
  padding: 8px 10px;
  margin: 4px auto;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 4px; 
  box-sizing: border-box;
}
.pea_banner {
  font-size:16px;
  background-color:  rgb(177, 211, 74);
  color: white;
  padding: 14px 20px;
  margin: 8px 0 ;
  border: none;
}
.pea_title {
  background-color: rgb(255, 194, 14);
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  color: white;
}
.pea_title p {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin:15 auto;
}
.pea_input_list {
  height:50px;
  background-color: white;
  width:100%;
  padding: 8px 10px;
  margin: 4px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.pea_show {
  padding: 3px 4px; 
  margin: 0;
}
.pea_show_entity_table {
  border:none;
  padding: 0;
  margin: 5px 0;
}

.pea_show_entity_table td {
  width: 50%;
}

.pea_button_icon {
  padding: 10px;
}

.pea_tooltip {
  position: relative;
  display: inline-block;
}

.pea_tooltip-content {
  display: none;
  position: absolute;
  background-color: rgb(241, 241, 241);
  min-width: 100px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  padding: 8px 8px;
  right: 0;
  z-index: 1;
}
.pea_tooltip:hover .pea_tooltip-content {
  display: block;
}

.pea_thumbnail {
  height:49px;
  width:60px;
  margin: 4px auto;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 4px; 
  padding: 2px 2px;
  box-sizing: border-box;
}

.pea_thumbnail:hover {
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.7);
}

.col-left {
  float: left;
  width: 30%;
  margin-top: 6px;
}
.col-right {
  float: left;
  width: 70%;
  margin-top: 6px;
}

/* Components */
#phone, #cel, #whatsapp {
  width: 100%;
  margin: 8px 0 ;
}


/* Responsive layout - when the screen is less than 613px wide the fields respond to the screen size, 
  instead of keeping their fixed widhts 
*/
@media screen and (max-width: 813px) {
  .divform, 
  .divtop, 
  input[type=text], 
  input[type=email], 
  input[type=password] {
    width: 100%;
  }
}
@media screen and (max-width: 450px) {
  .col-left, .col-right {
    width: 100%;
    margin-top: 10px;
  }
  .pea_title p {
    font-size: 16px;
  }
}

/* 
  A modal window style based on w3schools examples
*/

/* The Modal (background) */
.pea_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 */
.pea_modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  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
}

/* The Close Button */
.pea_close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

.pea_modal-header {
  padding: 2px 16px;
  background-color: rgb(0, 170, 173);
  color: white;
}

.pea_modal-body {
  padding: 2px 16px;
}

.pea_modal-footer {
  padding: 2px 16px;
  background-color: rgb(0, 170, 173);
  color: white;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}


