:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

* {
  font-family: "Open Sans", sans-serif;
}

body {
  /*background: #c1bdba;*/
  font-size: 16px;
}

input[type="button"],
input[type="submit"],
button,
button:focus,
button:active,
button:hover,
button span {
  display: inline-flex;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  color: #C5D5FF;
  user-select: none;
  border: none;
  text-decoration: none;
  outline: 0;
  align-items: center;
  justify-content: space-around;
}

a {
  text-decoration: none;
  color: #2DF5FF;
  -webkit-transition: .3s ease;
  transition: .3s ease;
}
a:hover {
  color: #FFFFFF;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.85);
  z-index: 10;
}

.ov-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 25px 0;
}

.ov-msg {
  text-align: center;
  background: linear-gradient(to right, #10165C 0%, #080C3E 100%);
  color: #FFFFFF;
  font-size: 14px;
  width: 320px;
  padding: 20px;
  border-radius: 5px;
}

.ov-msg img {
  height: 40px;
}

.ov-msg h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  margin-bottom: 5px;
}

.ov-msg h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  margin-bottom: 5px;
}

.golden {
  color: #FFD700;
}

.primary {
  color: #4e73df;
}

.primary-2 {
  color: #2DB7FF;
}

.error {
  color: #FF1414;
}

.form {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  padding: 15px 10px;
  margin: 0 auto;
}

.form-box {
  display: none;
  background: rgba(26,24,74,0.90);
  max-width: 600px;
  border-radius: 4px;
  width: 100%;
  padding: 20px;
  -webkit-box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
          box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
}

.tab-group {
  display: flex;
  justify-content: space-between;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tab-group li {
  width: 49.5%;
  height: 40px;
}
.tab-group li a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(160, 179, 176, 0.25);
  color: #a0b3b0;
  width: 100%;
  height: 100%;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  -webkit-transition: .3s ease;
  transition: .3s ease;
}
.tab-group li a:hover {
  background: #29469A;
  color: #ffffff;
}
.tab-group .active a,
.tab-group .active a:hover {
  background: #4e73df;
  color: #ffffff;
}
.tab-group .active a:active {
  background: #29469A;
}

.tab-content > div:last-child {
  display: none;
}

h1 {
  text-align: center;
  color: #FFD700;
  font-weight: 700;
  margin: 15px 0 15px;
  font-size: 18px;
  text-transform: uppercase;
}

label {
  position: absolute;
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
  left: 13px;
  color: rgba(255, 255, 255, 0.5);
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}
label .req {
  margin: 2px;
  color: #FECE1A;
}

label.active {
  -webkit-transform: translateY(-18px);
          transform: translateY(-18px);
  left: 2px;
  font-size: 14px;
}
label.active .req {
  opacity: 0;
}

label.highlight {
  color: #ffffff;
}

input, textarea {
  width: 100%;
  height: 100%;
  font-size: 16px;
  padding: 5px 10px;
  background: none;
  background-image: none;
  border: 1px solid #a0b3b0;
  border-bottom: 1px solid #686F6E;
  color: #ffffff;
  border-radius: 0;
}
input:focus, textarea:focus {
  outline: 0;
  border-color: #FECE1A;
}

textarea {
  border: 2px solid #a0b3b0;
  resize: vertical;
}

.field-wrap {
  position: relative;
  margin-bottom: 20px;
}

.top-row:after {
  content: "";
  display: table;
  clear: both;
}
.top-row > div {
  float: left;
  width: 48%;
  margin-right: 4%;
}
.top-row > div:last-child {
  margin: 0;
}

.button {
  border: 0;
  outline: none;
  border-radius: 0;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  background: #4e73df;
  color: #ffffff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-appearance: none;
}

.button:hover {
  background: #29469A;
  cursor: pointer;
}

.button-block {
  display: block;
  width: 100%;
}

.forgot {
  margin-top: -20px;
  text-align: right;
}

.logo {
  text-align: center;
  margin-top: 20px;
}

.logo img {
  width: 200px;
}

.home {
  position: absolute;
  padding: 0 20px;
  top: 0;
}

.home img {
  width: 50px;
}

.msg-box {
  min-height: 20px;
  width: 100%;
  color: #FFE584;
  margin-bottom: 10px;
  text-align: center;
  font-size: 14px;
}

#login,
#forget{
  display: none;
}

@media screen and (max-width: 768px) {
  .logo {
    text-align: right;
    margin-top: 20px;
    margin-right: 10px;
  }

  .logo img {
    width: 150px;
  }
  
  .home {
    padding: 0 10px;
    top: 0;
  }

  .home img {
    width: 40px;
  }
  
  .tab-group li a {
    height: 35px;
    font-size: 12px;
  }
  
  .form {
    width: 100%;
    padding: 15px 10px;
    margin: 0 auto;
  }

  .ov-msg {
    font-size: 12px;
    width: 320px;
  }

  .ov-msg h1 {
    font-size: 18px;
    font-weight: 500;
  }

  .ov-msg h2 {
    font-size: 14px;
    font-weight: 500;
  }

  h1 {
    font-weight: 500;
  }
  
  label,
  h1,
  p {
    font-size: 12px;
  }
  
  label.active {
    -webkit-transform: translateY(-18px);
            transform: translateY(-18px);
    left: 2px;
    font-size: 10px;
  }
  
  input, textarea {
    font-size: 12px;
    padding: 5px 10px;
  }

  .button {
    padding: 15px 0;
    font-size: 14px;
  }

  .button:hover, .button:focus {
    background: #4e73df;
  }

  .button:active {
    background: #29469A;
  }

  .msg-box {
    margin-bottom: 5px;
    font-size: 12px;
  }
}
