body {
  display: block !important;
  overflow-y: scroll;
}


.header {
  right: 16px;
}

.nav_ul li {
  margin: 0 !important;
  font-weight: bold;
}

.nav_ul li a {
  margin: 0 !important;
  font-weight: normal;
}

.header .header_bottom .nav_icon {
  height: 10px;
  margin: 0 -8px !important;
  background: url("../../assets/chevron-right-dark-24px.png");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}


.main_div {
  display: block;
  position: relative;
  /* background: red; */
  top: 105px;
  margin: 16px auto 0 auto;
  height: calc(100% - 105px);
  width: calc(100% - 0);
  padding: 0 76px 16px 76px;
  list-style: none;
}


.main_div .account_ul {
  cursor: auto;
  position: relative;
  display: none;
  margin: 64px auto;
  padding: 24px;
  width: 50%;
  height: 100%;
  background-color: #eee;
  border: 2px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 12px -3px #0002;
  list-style: none;
}


.main_div .account_ul li {
  position: relative;
  margin: 8px 0;
  padding: 0 12px 0 8px;
  border: 2px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
}

.main_div .account_ul li:hover {
  box-shadow: 0 3px 12px -3px #0004;
  box-shadow: 0 3px 8px -3px #0003;
}

.main_div .account_ul .active {
  border-color: #fff;
  color: #fff;
  background: #268BD2;
  box-shadow: 0 3px 8px -3px #0003;
  cursor: default;
}

.main_div .account_ul .active img {
  border: 1px solid #ccc;
  object-fit: cover;
  /* font-weight: normal; */
}

.main_div .account_ul .active a {
  color: #ddd;
  /* font-weight: normal; */
}

.main_div .account_ul .new_account_li {
  margin-top: 16px;
  color: #268BD2;
  font-weight: bold;
  /* background: transparent; */
}

.main_div .account_ul .new_account_li a {
  position: absolute;
  top: 10px;
  right: 0;
  height: 32px;
  background: url("../../assets/add.png");
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: center 49%;
  filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%);
}

.main_div .account_ul li * {
  display: inline-block;
  margin: 0;
  vertical-align: middle;
}

.main_div .account_ul li img {
  width: 32px;
  height: 32px;
  background: #fff;
}

.main_div .account_ul li p {
  padding: 16px 32px 16px 16px;
  width: calc(100% - 90px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main_div .account_ul li a {
  text-align: right;
  width: 50px;
  color: #268BD2;
  font-size: 12px;
  font-weight: bold;
  pointer-events: none;
}




.new_account_div {
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 15%;
  /* max-height: 90%; */
  width: 70%;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #000;
  box-shadow: 0 3px 16px -3px #0005;
  z-index: 9999999999;
}


.new_account_div .top_controls {
  position: relative;
  padding: 24px 8px;
  display: block;
  margin: 8px 32px;
  border-bottom: 1px solid #ccc;
}


.new_account_div h2 {
  font-size: 18px;
  display: inline;
  padding-left: 38px;
  background: url('../../assets/use_template_icon.png');
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: left center;
}




.close_new_account_div {
  position: absolute;
  top: 17px;
  right: -32px;
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url('../../assets/close.png');
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: left center;
  margin: 0;
  opacity: 0.5;
  cursor: pointer;
}

.close_new_account_div:hover {
  opacity: 1;
  cursor: pointer;
}

.new_account_div div {
  display: block;
  margin: 0 32px;
  padding: 8px 8px 0 8px;
}


.new_account_div div p {
  font-size: 12px;
  margin: 0;
}

.new_account_div input {
  padding: 12px 14px;
  margin: 6px 0 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  color: #000 !important;
  text-align: left !important;
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -o-user-select: text;
  -ms-user-select: text;
  user-select: text;
  outline: none;
  box-sizing: border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing: border-box;
  box-shadow: 0 3px 8px -3px #0001;
}


.new_account_div input:focus, .new_account_div select:focus {
  border-color: #268BD2;
}


.new_account_div .error {
  display: block;
  padding: 4px 0px;
  margin: 0 0 8px 0;
  color: palevioletred;
  font-size: 12px;
 }


.new_account_div .bottom_controls {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 32px 8px;
  display: block;
  margin: 8px 32px;
}

.new_account_div .bottom_controls .create_account_confirm {
  display: inline-block;
  position: relative;
  background-color: #111;
  color: #fff;
  border-radius: 4px;
  padding: 8px 32px;
  margin: 0;
  cursor: pointer;
}


.bottom_controls .save_template_btn_loading {
  background: #fff !important;
  margin: auto;
  padding: 8px !important;
  border: 4px solid transparent !important;
  border-bottom: 4px solid #1a73e8 !important;
  border-left: 4px solid #1a73e8 !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  z-index: 999;
  overflow: hidden !important;
  color: transparent !important;
  animation: spin 0.45s linear infinite;
  pointer-events: none !important;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}


.bottom_controls .save_template_btn_loading:focus, .bottom_controls .save_template_btn_loading:hover {
  background: #fff !important;
}


.new_account_div .new_account_success {
  padding: 2px 8px 6px 12px;
  display: block;
  margin: 0 auto;
  font-size: 14px !important;
  font-weight: bold;
  text-align: left;
  background: #E7FDF5;
  color: #2D7548;
  border: 2px solid #7EAF94;
  border-radius: 4px;
  box-shadow: 0 3px 16px -3px  rgba(0, 255, 0, 0.05);
  align-items: center;
}

.new_account_div .new_account_success span {
  position: relative;
  display: inline-block;
  top: 2px;
  font-size: 18px !important;
  font-weight: bold;
  text-align: center;
  height: 24px;
  width: 24px;
  margin-right: 8px;
  border-radius: 5px;
  background: #2D7548;
  color: #fff;
}




@media (max-width: 850px) {
  .main_div .account_ul {
    width: 80%;
  }

  .create_new.add_new {
    display: none;
  }
}

@media (max-width: 450px) {

  .header {
    right: 0;
  }

  .main_div {
    padding: 16px 16px;
  }

  .main_div .account_ul {
    width: 99%;
  }

  .new_account_div {
    top: 0.5%;
    bottom: 0.5%;
    left: 1%;
    width: 98%;
  }

  .new_account_div .top_controls {
    padding: 24px 6px;
    margin: 8px 16px;
  }

  .new_account_div .name_div {
    margin: 0 8px;
  }

}
