.first {
  height: 0vh;
  width: 100vw;
  background-image: url('/static/img/esp_bms_background.png');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 70%;
  background-color: #ff8705;
}

.background {
  background-color: #ff8705;
  height: 100%;
}

.topnav {
  background-color: #333;
  overflow: hidden;
  color: white;
}

.popup_message_send {
  color: white;
}

/* 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;
  font-family: "Arial";
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #29180b;
  color: white;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav_link {
  width: none;
}

@media screen and (max-width: 965px) {
  .topnav_link {
    width: 25%;
  }

  .mainnav-left {
    float: center;
    width: 100%;
  }

  .mainnav-right {
    float: center;
    width: 100%;
  }

  .button {
    width: 24.3%;
  }

  .first {
    height: 0vh;
    width: 100vw;
    background-image: url('/static/img/esp_bms_background.png');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 110%;
    background-color: #ff8705;
  }
}

@media screen and (max-width: 715px) {
  .button {
    width: 24.1%;
  }

  .topnav_link {
    width: 25%;
  }
}

@media screen and (max-width: 600px) {

  .topnav-right {
    float: center;
    width: 100%;
    /* display: flex; */
  }

  .topnav-left {
    float: center;
    width: 100%;
    /* display: flex; */
  }

  .button {
    width: 100%;
  }

  .button_logout {
    width: 100%;
  }

  .topnav_link {
    width: 25%;
  }

  .mainnav-left {
    float: center;
    width: 100%;
  }

  .mainnav-right {
    float: center;
    width: 100%;
  }

  .first {
    height: 0vh;
    width: 100vw;
    background-image: url('/static/img/esp_bms_background.png');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 180%;
    background-color: #ff8705;
  }

}

/* Right-aligned section inside the top navigation */
.topnav-right {
  float: right;
}

.topnav-left {
  float: right;
}


.mainnav {
  overflow: hidden;
  color: white;
}

.mainnav a {
  float: left;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-family: "Arial";
}

.mainnav a:hover {
  background-color: #29180b;
  color: white;
}

.mainnav a.active {
  background-color: #04AA6D;
  color: white;
}

.mainnav-right {
  float: right;
}

.mainnav-left {
  float: left;
}

.button {
  background-color: #854908;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.button_logout {
  background-color: #854908;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.login-wrapper {
  justify-content: center;
  align-items: center;
}

.widgets-wrapper {
  justify-content: center;
  display: flex;
  align-items: center;
}

.login_button {
  background-color: #29180b;
  border: none;
  color: white;
  padding: 10px 60px;
  /* padding-left: 10px;
  padding-right: 10px; */
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}

.login_button:hover {
  background-color: black;
}

.start_button {
  position: relative;
  background-color: black;
  border-radius: 0;
  font-size: 16px;
  color: white;
  padding: 4px 25px;
  cursor: pointer;
  user-select: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s;
  /* Safari */
}

.start_button:hover {
  background-color: #29180b;
  transition-duration: 0.1s;
}

.start_button:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s;
  box-shadow: 0 0 5px 20px #ff8800;
}

.start_button:active:after {
  box-shadow: 0 0 0 0 #ff8800;
  position: absolute;
  border-radius: 0;
  left: 0;
  top: 0;
  opacity: 1;
  transition: 0s;
}

.start_button:active {
  top: 1px;
}

.signup_button {
  background-color: #854908;
  border: none;
  color: #04deff;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}



.not_logged_home {
  color: white;
  font-size: 20px;
  left: 50%;
  top: 65%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.div_center {
  padding-top: 20px;
  padding-right: 3px;
  padding-bottom: 20px;
  padding-left: 3px;
  max-width: 100%;
}

.center {
  text-align: center;
  border-radius: 15px;
  border: 10px solid #333;
  background-color: #333;
  padding-top: 50px;
  padding-right: 0px;
  padding-bottom: 50px;
  padding-left: 0px;
}

.client_name {
  display: block;
  font-size: 2em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  margin-left: 30;
  margin-right: 0;
  font-weight: bold;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.main_body {
  opacity: 1;
  animation: fadeIn 0.5s ease-in;
}

.div_about {
  color: white;
  font-size: 17px;
  width: 95%;
  max-width: 700px;
  height: 95%;
  border-radius: 15px;
  background-color: #854908;
  opacity: 0.9;
  position: relative;
  top: 20px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  align-items: center;
  justify-content: center;
  display: flex;
}

.div_paragraph {
  font-size: 17px;
  width: 95%;
  max-width: 600px;
  height: 90%;
  text-align: center;
  background-color: #85490800;
  opacity: 0.9;
}

.div_login {
  color: white;
  font-size: 17px;
  /* width: 500px;
    height: 300px; */
  width: 98%;
  height: 50%;
  max-width: 500px;
  border-radius: 15px;
  background-color: #854908;
  opacity: 0.9;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.details_spacing_user {
  margin-right: 20px;
}

.details_spacing_pass {
  margin-right: 25px;
}

.div_signup {
  color: white;
  font-size: 17px;
  width: 98%;
  height: 70%;
  /* max-height: 700px; */
  max-width: 400px;
  border-radius: 15px;
  background-color: #854908;
  opacity: 0.9;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.signup_text {
  color: rgb(0, 174, 255);
  font-size: 10px;
  text-align: center;
}

#form_login {
  left: 50%;
  top: 50%;
  position: absolute;
  width: 70%;
  transform: translate(-50%, -50%);
}

#form_signup {
  left: 50%;
  top: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.alert,
.alert-danger,
.alert-danger .alert-link {
  color: white;
}

.state_button {
  overflow: hidden;
  position: relative;
  background-color: black;
  border-radius: 0;
  font-size: 16px;
  color: white;
  padding: 4px 25px;
  cursor: pointer;
  user-select: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s;
  /* Safari */
}

.state_button:hover {
  background-color: #29180b;
  transition-duration: 0.1s;
}

.state_button:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s;
  box-shadow: 0 0 5px 20px #ff8800;
}

.state_button:active:after {
  box-shadow: 0 0 0 0 #ff8800;
  position: absolute;
  border-radius: 0;
  left: 0;
  top: 0;
  opacity: 1;
  transition: 0s;
}

.state_button:active {
  top: 1px;
}


/* *** Settings for the State Select Dropdown *** */
select {
  /* Reset Select */
  appearance: none;
  outline: 10px red;
  box-shadow: none;
  height: 70%;
  /* Personalize */
  padding: 0 1em;
  color: white;
  border: 0;
  background-color: black;
  background-image: none;
  cursor: pointer;
}

/* Remove IE arrow */
select::-ms-expand {
  display: none;
}

/* Custom Select wrapper */
.select {
  position: relative;
  display: flex;
  height: 2.5em;
  width: 180px;
  overflow: hidden;
}

/* Arrow */
.select::after {
  display: inline-block;
  content: '\25BC';
  margin: auto;
  height: 2.2em;
  position: absolute;
  top: -12;
  right: 0;
  padding: 1em;
  background-color: black;
  transition: .25s all ease;
  pointer-events: none;

}

/* Transition */
.select:hover::after {
  color: #854908;
}

.container .box {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;


}

.container .box .box-cell.box1 {
  align-items: center;
  justify-content: center;
  text-align: justify;
  margin-right: 10;
  padding-top: 10;
}

.container .box .box-cell.box2 {
  align-items: center;
  justify-content: center;
  text-align: justify
}

.container_admin {
  align-items: left;
  justify-content: left;
  text-align: justify;
  margin-right: 10;
  padding-top: 10;
  width: 100%;
}
