/*body {font-family: Arial, Helvetica, sans-serif;}*/

/* Full-width input fields */
input[type=text], input[type=password] {
  width: 100%;
  padding: 10px 18px;
  margin: 0px 0;
  display: inline-block;  
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 5px;
}

/* Set a style for all buttons */
button {
  background-color: darkred;
  font-size: 15px;
  color: #fff;
  padding: 10px 16px;
  margin: 0px 0;
  /*border: solid 1px #000;*/
  cursor: pointer;
  width: 100%;
}

button:hover {
  opacity: 0.8;
}

.loginbtn{
  width: 40%;
  padding: 10px 18px;
  background-color: darkred;
  color: #fff;  
  /*border: solid 1px #000;*/
}

.cancelbtn {
  width: 40%;
  padding: 10px 18px;
  background-color: #808080;
  color: #fff;  
  /*border: solid 1px #000;*/
}

.buttonlogin {
  background-color: darkred;
  font-size: 15px;
  color: #fff;
  padding: 10px 16px;
  margin: 0px 0;  
  cursor: pointer;
  width: 30%;
  /*border: solid 1px #000;*/
}

.buttonlogincab {
  background-color:darkred;
  font-size: 10px;
  color: #fff;
  padding: 5px 8px;
  margin: 0px 0;  
  cursor: pointer;
  width: 20%;
  border: solid 1px darkred;
  -webkit-border-radius: 10px;
}

.buttonlogincab a{text-decoration: none; color: #fff}


.buttonaccesos {
  background-color: darkred;
  color: #fff;
  padding: 10px 16px;
  margin: 0px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

.buttonaccesos:hover {
  opacity: 0.8;
}


.pie{
    float: right;
}



/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.avatar {
  width: 20%;
  border-radius: 50%;
}

.containerlogin {
  padding: 5px;
  width: 100%;
  background: #fff;
  margin-top: 0;
}

span.psw {
  float: right;
  padding-top: 16px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  text-align: center;
  top: 0;
  width: 70%; /* Full width */
  height: auto; /* Full height */
  margin-left: 20%;
  margin-right: auto;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0);  
  background-color: rgba(0,0,0,0); /* Black w/ opacity */
  padding-top: 5px;
  
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
@media screen and (max-width: 800px) {
  modal{width: 80%; margin-left: 10%;}
}