/* profile downdown */
.up-dropdown {
  display:none; 
  float:right; 
  position: absolute;
  min-width: 350px;
  min-height: 170px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2;
  top: 0px;
  left: -275px;
  border-radius: 5px;
}

.up-dropdown-header{
  width:100%;
  border-radius: 5px 5px 0px 0px;
  background-color: #74cff6;
  min-height: 5px;
}

.up-dropdown-content {
  display: inline-table;
  position: relative;
  background-color: white;
  min-width: 250px;
  min-height: 150px;
  z-index: 1;
  /*border-radius: 5px 0px 0px 5px;*/
  padding: 8px 10px;
  /*margin-top: 40px;*/
}

.up-dropdown-footer {
  background-color: #f5f5f5;
  min-height: 50px;
  border-radius: 0px 0px 5px 5px;
  width: 100%;
}

.up-content-footer {
  font-size: 12px;
  color: gray;
  margin: 0 auto;
  padding: 15px;
  text-decoration: none;
}
.up-content-footer:hover a {
  cursor: pointer;
}

.uptext {
  color: rgba(109,109,109,1.0);
  line-height: 18px;
  font-size: 18px;
  font-weight: bold;
}
.uptextsub {
  color: rgba(109,109,109,0.75);
  font-size: 13px;
}
.updetailstext {
  color: rgba(109,109,109,0.85);
  line-height: 15px;
  font-size: 11px;
  padding: 2px 2px 2px 2px;
  margin-left: 10px;
}

.up-close {
  float:right;
  margin-top: -5px;
  color:#A5A5A5;
}
.up-close:hover {
  color: black;
}

/* Full-width input fields */
.logintext {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }
  
  /* Set a style for all buttons */
  button.login {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
  }
  
  button.login:hover {
    opacity: 0.8;
  }
  
  /* Extra styles for the cancel button */
  .cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
    margin-top: 3px;
  }
  
  /* Center the image and position the close button */
  .imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
  }
  
  /*.container {
    padding: 16px;
    background-color: #fefefe;
  }
  */
  
  .failedcontainer {
    padding: 16px;
    color: rgba(95,30,30);
    background-color: rgba(250,198,198,0.50);
    display:block;
    border-radius: 10px;
    /*margin-left: 10px;
    margin-right: 10px;*/
    line-height: 20px;;
  }

  .successcontainer {
    padding: 16px;
    color: rgb(16,83,7);
    background-color: rgba(174,222,168,0.50);
    display:block;
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 10px;
    line-height: 20px;;
  }

  .ui {
    position: relative;
    height:30px; 
    width:30px; 
    background-color: rgba(127, 246, 116, 0.75); 
    border-radius: 50%; 
    font-weight: bold; 
    color: white; 
    font-size:18px; 
    display:block; 
    text-align:center; 
    line-height:30px;
    margin-top: 0px;
    float: right;
  }

  .ui:hover {
    cursor: pointer;
  }
  span.psw {
    float: right;
    padding-top: 16px;
    padding-left: 16px;
    margin-bottom: 10px;
  }
  
  /* The Modal (background) */
  .loginmodal {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    width: 50%; /* Full width */
    height: 50%; /* Full height */
    overflow: none; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
  }
  
  /* Modal Content/Box */
  .loginmodal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
    /*height: 60%; /* 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: red;
    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: 768px) {
    .loginmodal-content {
      width: 95%; 
    }
  }
  