/* ============================================ *
 * root
 * ============================================ */

:root {
  --white: #fff;
  --gray: #626464;
  --gray-dark: #343a40;
  --black: #000;
  --primary: #4a89dc;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
}

/* ============================================ *
* body
* ============================================ */

body {
  font: 500 1rem/1.35 "Open Sans", sans-serif;
  color: var(--white) !important;
  text-align: center;
  background: rgb(27, 29, 32);
}

img {
  width: 100%;
}

.wrapper {
  max-width: 420px;
  background: rgb(27, 29, 32);
  padding: 0 18px;
  position: relative;
}

.content {
  background-color: #202428;
  border-radius: 20px;
  overflow: hidden;
}

header {
  overflow: hidden;
  padding-top: 20px;
  padding-left: 25px;
}

.main-logo {
  max-width: 270px;
  margin: auto;
  margin-top: -8px;
}

.inputs-container {
  padding-left: 30px;
  padding-right: 30px;
}

.form-control,
.form-control:focus {
  background-color: transparent;
  border-color: transparent;
  border-bottom-color: #323537;
  padding-left: 0;
  font-size: 12px;
  padding-bottom: 20px;
  box-shadow: none;
  border-radius: 0;
  color: #dedede;
}

.form-control::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #dedede;
}

.form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #dedede;
}

.form-control::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #e4e4e5;
}

.required-text {
  position: absolute;
  right: 0;
  bottom: 16px;
  font-size: 10px;
  color: var(--gray);
}

.btn-primary {
  background-color: #4a89dc;
  border-radius: 20px;
  border-color: #4a89dc;
  margin: auto;
}

.btn_login {
  font-weight: 800;
  padding: 7px 94px;
}

.btn_connect {
  font-weight: 100;
  padding: 3px 25px;
}

.btn-inverse {
  background-color: rgba(0, 0, 0, 0);
  border-color: rgb(138, 136, 136);
  color: #4a89dc;
  border-radius: 20px;
  margin: auto;
}

.btn-inverse:hover {
  background-color: rgb(0, 0, 0);
  color: #4a89dc;
}

.btn_field {
  display: flex;
  flex-direction: row;
}

.left_aligned_h5 {
  display: flex;  
  flex-direction: row; 
  color: #c6d1df;
}

.signup p {
  font-size: 13px;
  margin: 0;
  color: var(--gray);
}

.loading {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(84 84 84 / 63%);
  z-index: 1;
  visibility: hidden;
}

.loading img {
  max-width: 100px;
}

/* Old style */
form .txt_field{
  position: relative;
  border-bottom: 2px solid #adadad;
  margin: 20px 0;
}

form .txt_field_compact{
  position: relative;
  border-bottom: 2px solid #adadad;
  margin: 10px 0;
}

form .select_box{
  position: relative;
  color: #2691d9;
  font-size: 16px;
  margin: 0px 0;
  text-align: left;
}

form .title_select{
  position: relative;
  color: #2691d9;
  font-size: 16px;
  margin: 10px 0;
  text-align: left;
}

.txt_field input{
  width: 100%;
  padding: 0 5px;
  height: 40px;
  font-size: 16px;
  color: #adadad;
  border: none;
  background: none;
  outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #adadad;
  -webkit-box-shadow: 0 0 0px 1000px #202428 inset;
  transition: background-color 5000s ease-in-out 0s;
}

.txt_field label{
  position: absolute;
  top: 50%;
  left: 5px;
  color: #adadad;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  transition: .5s;
}
.txt_field span::before{
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: .5s;
}

.txt_field input:focus ~ label,
.txt_field input:not(:placeholder-shown) ~ label{
  top: -5px;
  color: #2691d9;
}
.txt_field input:focus ~ span::before,
.txt_field input:placeholder-shown ~ span::before{
  width: 100%;
}


.center2{
  padding: 20px 40px 30px 40px;
}

.center2 h4{
  text-align: center;
  color: #adadad;
  padding: 50px 0px 50px 0px;
}

.centeredInfoLabel{
  margin: auto;
  color: #adadad;
  font-size: 12px;
}

#room-dropdown {
  display: flex;
  margin: 2% 5%;
}

#room-select {
  display: flex;
  flex-direction: row;
  flex-grow: .05;
  justify-content: center;
  align-items: center;
}

/* Shake animation */
@keyframes shake {
  0% { transform: skewX(-15deg) translateY(2px); }
  5% { transform: skewX(15deg) translateY(-2px); }
  10% { transform: skewX(-15deg) translateY(-2px); }
  15% { transform: skewX(15deg) translateY(-2px); }
  20% { transform: skewX(0deg) translateY(0); }
  100% { transform: skewX(0deg) translateY(0); }
}

@keyframes idle {
  100% {}
}