body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

.bg-container {
  width: 100%;
  height: 400px;
  margin: 80px auto 0 auto;
  position: relative;
  background-image: url("../images/bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  -webkit-box-shadow: inset 0px -20px 15px -9px rgba(0,0,0,0.4);
  -moz-box-shadow: inset 0px -20px 15px -9px rgba(0,0,0,0.4);
  box-shadow: inset 0px -20px 15px -9px rgba(0,0,0,0.4);
}

.bg-container .bg-inside {
  width: 1024px;
  height: 400px;
  margin: 0px auto 0 auto;
  margin-top: -20px;
  position: relative;
  background-image: url("../images/char.webp");
  background-repeat: no-repeat;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-btn {
  position: absolute;
  left: 15px;
  top: 17px;
  display: none;
}

.menu-btn img {
  height:100%;
  width:30px;
}

.logo img {
  height:60px;
  width:100%;
}

#container {
  width: 1024px;
  margin: 40px auto 0 auto;
  min-height: 165px;
  position: relative;
}

.menu {
  font-weight: 700;
  font-style: normal;
  font-size: 11pt;
  width: 100%;
  height: 80px;
  background: rgb(92,99,225);
  background: linear-gradient(180deg, rgba(92,99,225,1) 0%, rgba(64,71,194,1) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 9999;
  -webkit-box-shadow: 0px 17px 15px -9px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 17px 15px -9px rgba(0,0,0,0.4);
  box-shadow: 0px 17px 15px -9px rgba(0,0,0,0.4);
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 10px;
  top: 0px;
}

.menu ul li {
  display: inline-block;
  position: relative;
  height:80px;
  line-height:60px;
}

.menu ul li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
}

.menu ul li a:hover {
  background-color: #3138ad;
}

.menu ul li .active {
  background-color: #3138ad;
}

.button-holder {
  height: 20px;
  display: block;
}

.admin-button {
  font-style: normal;
  background: rgb(247, 51, 51);
  background: linear-gradient(180deg, rgb(247, 77, 77) 0%, rgb(251, 54, 54) 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 10px 10px;
  margin-right: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  position: relative;
  z-index: 999;
}

.admin-button:hover, .admin-button.active {
  background: rgb(247, 51, 51);
  background: linear-gradient(180deg, rgb(247, 51, 51) 0%, rgb(238, 21, 21) 100%);
}

.login-button {
  font-style: normal;
  background: rgb(247,178,51);
  background: linear-gradient(180deg, rgb(247, 187, 77) 0%, rgb(251, 146, 54) 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-right: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
}

.login {
  display: flex;
  align-items: center;
}

.login-button:hover, .login-button.active {
  background: rgb(247,178,51);
  background: linear-gradient(180deg, rgba(247,178,51,1) 0%, rgba(238,122,21,1) 100%);
}

.login-form {
  position: absolute;
  top: 85px;
  right: 0;
  background: rgb(255,255,251);
  background: linear-gradient(180deg, rgba(255,255,251,1) 0%, rgba(255,255,251,1) 50%, rgba(194,202,251,1) 100%);
  color: #fff;
  padding: 20px;
  margin-right: 15px;
  display: none;
  width: 230px;
  border-radius: 5px;
  border: 1px solid;
  border-color: #919eec;
}

.login-form .text-1 {
  font-size: 10pt;
  font-weight: 500;
  color: rgba(92,99,225,1);
}

.login-form .text-2 {
  font-size: 20pt;
  font-weight: 900;
  color: rgba(92,99,225,1);
}

.login-form .text-3 {
  font-size: 10pt;
  font-weight: 700;
  color: rgba(238,122,21,1);
}

.login-form a {
text-decoration: none;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid;
  border-color: #919eec;
  border-radius: 5px;
  color: #3138ad;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
  outline: none;
  border-color: #ff8418;
}

.login-form input[type="submit"] {
  font-style: normal;
  background: rgb(247,178,51);
  background: linear-gradient(180deg, rgb(247, 187, 77) 0%, rgb(251, 146, 54) 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border: 0px;
  border-radius: 5px;
  width: 100%;
}

.login-form input[type="submit"]:hover {
  background: rgb(247,178,51);
  background: linear-gradient(180deg, rgba(247,178,51,1) 0%, rgba(238,122,21,1) 100%);
}

.login-form .user_area_btn {
  font-style: normal;
  background: rgb(92,99,225);
  background: linear-gradient(180deg, rgba(92,99,225,1) 0%, rgba(64,71,194,1) 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border: 0px;
  border-radius: 5px;
  width: 100%;
}

.login-form .user_area_btn:hover {
  background: rgb(68, 74, 190);
  background: linear-gradient(180deg, rgb(73, 79, 199) 0%, rgb(45, 51, 165) 100%);
}

.login-form .logout_btn {
  font-style: normal;
  background: rgb(247,178,51);
  background: linear-gradient(180deg, rgb(247, 187, 77) 0%, rgb(251, 146, 54) 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border: 0px;
  border-radius: 5px;
  width: 100%;
}

.login-form .logout_btn:hover {
  background: rgb(247,178,51);
  background: linear-gradient(180deg, rgba(247,178,51,1) 0%, rgba(238,122,21,1) 100%);
}

.footer-container {
  clear: both;
  width: 100%;
  height: 200px;
  margin: 80px auto 0 auto;
  position: relative;
  background-image: url("../images/footer.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  -webkit-box-shadow: inset 0px 15px 16px -8px rgba(0,0,0,0.5);
  -moz-box-shadow: inset 0px 15px 16px -8px rgba(0,0,0,0.5);
  box-shadow: inset 0px 15px 16px -8px rgba(0,0,0,0.5);
}

.footer-container .inside {
  width: 1024px;
  height: 100px;
  margin: 0px auto 0 auto;
  position: relative;
  text-align: center;
  padding-top: 75px;
}

.footer-container .inside .text-1 {
  font-size: 18pt;
  font-weight: 900;
  color: rgb(86, 93, 217);
}

.footer-container .inside .text-2 {
  font-size: 10pt;
  font-weight: 500;
  color: #303030;
}

/* Flex box bootstrap */
.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-start {
  justify-content: start;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: start;
}

.flex-wrap {
  flex-wrap: wrap;
}

.no-wrap {
  flex-wrap: nowrap;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.content-square {
  width: 48%;
  height: auto;
}

.content-square-right {
  height: auto;
}

.content-square .text-1 {
  width: 100%;
  height: 20px;
  color: rgba(238,122,21,1);
  font-weight: 700;
  display: block;
  font-size: 16pt;
}

.content-square .text-2 {
  width: 100%;
  height: 20px;
  color: rgba(238,122,21,1);
  font-weight: 700;
  display: block;
  font-size: 16pt;
}

.content-square .text-3 {
  width: 100%;
  color: rgba(92,99,225,1);
  font-weight: 500;
  font-size: 10pt;
  text-align: right;
  float: right;
}

.content-square .text-4 {
  width: 100%;
  color: rgba(92,99,225,1);
  font-weight: 500;
  font-size: 10pt;
  text-align: left;
  float: left;
}

.content-square .text-5 {
  width: 100%;
  color: rgba(92,99,225,1);
  font-weight: 500;
  font-size: 10pt;
  text-align: right;
  float: right;
}

.subacc-square {
  margin-top: 45px;
  display: block;
  border: 1px solid;
  border-color: #919eec;
  border-radius: 5px;
  width: 100%;
  height: 181px;
}

.subacc-unit {
  display: block;
  font-size: 10pt;
  font-weight: 500;
  display: inline-table;
  height: 30px;
  width: 100%;
  color: rgb(106, 112, 233);
}

.subacc-unit .inside {
  margin: 0px auto 0 auto;
  width: 95%;
  height:40px;
  line-height: 35px;
  padding-top: 2px;
}

.subacc-unit .inside .acclogin{
  font-size: 10pt;
  font-weight: 700;
  width: 45%;
  height: 30px;
  float: left;
  text-align: left;
}

.fix {
  border: none;
  background: rgb(92,99,225);
  background: linear-gradient(180deg, rgb(120, 126, 241) 1000%, rgb(93, 101, 240) 0%);
  cursor: pointer;
  font-size: 8pt;
  font-weight: 700;
  color: #fff;
  border-radius: 5px;
  min-width: 15%;
  max-width: 40%;
  height: 30px;
  margin-top: 4px;
  margin-left: 5px;
  float: right;
  text-align: center;
  line-height: 30px;
}

.fix:hover {
  background: rgb(92,99,225);
  background: linear-gradient(180deg, rgba(92,99,225,1) 0%, rgba(64,71,194,1) 100%);
}

.fix2 {
  border: none;
  background: rgb(92,99,225);
  background: linear-gradient(180deg, rgb(120, 126, 241) 1000%, rgb(93, 101, 240) 0%);
  cursor: pointer;
  font-size: 8pt;
  font-weight: 700;
  color: #fff;
  border-radius: 5px;
  min-width: 15%;
  max-width: 40%;
  height: 30px;
  margin-top: 4px;
  margin-left: 5px;
  text-align: center;
  line-height: 30px;
}

.fix2:hover {
  background: rgb(92,99,225);
  background: linear-gradient(180deg, rgba(92,99,225,1) 0%, rgba(64,71,194,1) 100%);
}

.subacc-unit .inside .changepass-sub {
  border: none;
  background: rgb(92,99,225);
  background: linear-gradient(180deg, rgb(120, 126, 241) 1000%, rgb(93, 101, 240) 0%);
  cursor: pointer;
  font-size: 8pt;
  font-weight: 700;
  color: #fff;
  border-radius: 5px;
  min-width: 15%;
  max-width: 40%;
  height: 30px;
  margin-top: 4px;
  margin-left: 5px;
  float: right;
  text-align: center;
  line-height: 30px;
}

.subacc-unit .inside .changepass-sub:hover {
  background: rgb(92,99,225);
  background: linear-gradient(180deg, rgba(92,99,225,1) 0%, rgba(64,71,194,1) 100%);
}

.subacc-unit:nth-child(even) {
  background-color:rgb(231, 233, 255);
}

.modal-pass {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
}

.modal-pass-content {
  background-color: #fefefe;
  padding: 20px;
  border-radius: 5px;
  max-width: 80%;
  width: 600px;
}

.modal-pass-content .text-4 {
  width: 100%;
  color: rgba(92,99,225,1);
  font-weight: 500;
  font-size: 10pt;
  text-align: left;
  float: left;
}

.modal-pass-content input[type="text"],
.modal-pass-content input[type="password"] {
  width: 60%;
  height: 10px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid;
  border-color: #919eec;
  border-radius: 5px;
  color: #3138ad;
  float: left;
}

.modal-pass-content input[type="text"]:focus,
.modal-pass-content input[type="password"]:focus {
  outline: none;
  border-color: #ff8418;
}

.edit-button-modal-pass {
  font-style: normal!important;
  border: none!important;
  padding: 10px 20px!important;
  margin-top: 15px!important;
  text-align: center!important;
  text-decoration: none!important;
  font-size: 16px!important;
  cursor: pointer!important;
  border: 0px!important;
  border-radius: 5px!important;
  width: 48.8%!important;
  height: 50px!important;
  font-weight: 700!important;
  float: left!important;
  z-index: 999!important;
}

.edit-button,
.delete-button {
    width: 80px;
    height: 33px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 5px;
    float: left;
    text-align: center;
}

.edit-button {
  background-color: #48be44 !important;
  color: #fff;
}

.delete-button {
  background-color: #fc4759 !important;
  color: #fff;
}

.edit-button:hover {
  background-color: #00a72a !important;
  color: #fff;
}

.delete-button:hover {
  background-color: #f7142b !important;
  color: #fff;
}

@media only screen and (max-width: 1023px) {
  .menu .logo img {
    height: 40px;
  }
  .menu .login-button {
    padding: 8px 15px;
    font-size: 12px;
  }
  .admin-button {
    padding: 8px 15px;
    font-size: 12px;
  }
  .bg-container {
    width: 100%;
    height: 200px;
    margin-top: 60px;
    box-shadow: inset 0px -10px 10px -5px rgba(0,0,0,0.4);
  }
  .bg-container .inside {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
  }
  #container {
    width: 100%;
    min-height: 100%;
    margin: 20px auto 0 auto;
  }
  .login-form {
    top: 55px;
    right: 5%;
    padding: 15px;
  }
  .login-form input[type="submit"] {
    width: 100%;
  }
  .footer-container {
    height: auto;
    margin-top: 20px;
  }
  .footer-container .inside {
    width:90%;
    padding-top: 50px;
  }
  .menu {
    z-index: 9999;
    height: 60px;
    flex-direction: column;
  }
  .menu ul {
    margin-top: 60px;
    display: none;
    width: 100%;
    left: 0px;
  }
  .menu ul li a {
    display: block;
    padding: 0;
  }
  .menu.active ul li a:hover {
    background-color: #3138ad;
    width: 100%;
    height: 40px;
  }
  .menu.active ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #6066d9;
  }
  .menu ul li {
    margin-bottom: 10px;
    height: 40px;
    width: 100%;
    text-align: center;
    line-height: 40px;
  }
  .logo {
    top: 10px;
  }
  .login {
    position:absolute;
    right: 0px;
    top: 15px;
  }
  .menu-btn {
    display: block;
  }
    .content-square {
    width: 100%;
  }
  .subacc-square {
    width: 100%;
  }
  .subacc-unit {
    clear: both;
    width: 100%;
  }
  .subacc-unit .inside {
    width: 95%;
  }
  .content-square-right {
    margin-top: 50px;
  }
}