::selection {
  background-color: #7fabcb;
}

p.center {
  text-align: center;
  color: #990000;
}

p.ceh {
  text-align: center;
  color: solid green;
  font-size: 75%;
}

div.box{
  width: 600px;
  padding: 30px;
  padding-top: 80px;
  margin: 0 auto;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: blue #21B6C7;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: blue;
  color: white;
}
* {box-sizing: border-box}

/* Add padding to containers */
.container {
  padding: 16px;
}

/* Full-width input fields */
input[type="text"], input[type="password"] {
  width: 100%;
  padding: 15px;
  margin: 15px 0 12px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
  height: 50px;
  font-size: 17px;
}

input[type="text"]:focus, input[type="password"]:focus {
  background-color: #ddd;
  outline: none;
}

/* Overwrite default styles of hr */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

button.registerbtn{
  background-color: #19507d;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}
/* Set a style for the submit/register button */
.registerbtn {
  background-color: #19507d;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.registerbtn:hover {
  opacity:1;
}

.registerbtn:disabled, .registerbtn:disabled:hover {
  opacity: 0.3;
  background-color: #78a7c8;
}

/* Add a blue text color to links */
a {
  color: dodgerblue;
}

/* Set a grey background color and center the text of the "sign in" section */
.signin {
  background-color: #19507d;
  text-align: center;
}


.logoutbtn{
  background-color: #19507d;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100px;
  opacity: 0.9;
  font-size: 17px;
}

.logoutbtn:hover {
  opacity:1;
}
.welcome_logout{
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
}
.logout_form{
  float: right;
}
.welcome{
  display: inline-block;
}
body {font-family: Arial, Helvetica, sans-serif;}

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

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

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.red_error{
  color: red;
  font-size: 15px;
  display: none;
  margin-bottom: 10px;
  margin-top: 0px;
}

.black_error{
  color: black;
  font-size: 15px;
  display: none;
  margin-bottom: 10px;
  margin-top: 0px;
}

/* Hover tooltip */
.tooltip {
  border-bottom:1px dashed #000;
}

.tooltip:before {
  content: attr(data-text);
  position:absolute;
  
  top:75%;
  transform:translateY(-50%);
  
  left:100%;
  margin-left:15px;

  width: 250px;
  padding:10px;
  border-radius:10px;
  background:#000;
  color: #fff;
  text-align:center;

  display:none;
}
.tooltip.left:before {
  left:initial;
  margin:initial;

  right:100%;
  margin-right:15px;
}

.tooltip:after {
  content: "";
  position:absolute;

  left:100%;
  margin-left:-5px;

  top:75%;
  transform:translateY(-50%);

  border:10px solid #000;
  border-color: transparent black transparent transparent;
  
  display:none;
}
.tooltip:hover:before, .tooltip:hover:after {
  display:block;
}