* {
    position: relative;
    font-family: system-uiĦA-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;
}

html, body {
  margin: 0;
}

body {
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color:#515C6F;
}

body.gradient_bg {
  background-image: linear-gradient(rgba(26, 144, 238, 0.5), rgba(42, 204, 221, 0.5)), url("../images/geometric-leaves.png");
  background-repeat: repeat;
}

main {
  flex: 1;
}

nav.nav_bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.dropdown_hover:hover .dropdown-menu {
  display: block;
}

.both_side {
  border-radius: 10px;
}

.left_side {
  border-radius: 10px 0 0 10px;
}

.right_side {
  border-radius: 0 10px 10px 0;
  padding: 2.5rem 0;
}

@media screen and (max-width: 768px) {
  .left_side {
    border-radius: 10px 10px 0 0;
  }
  .right_side {
    border-radius: 0 0 10px 10px;
  }
}

@media screen and (max-width: 576px) {
  .both_side, .left_side, .right_side {
    border-radius: 0;
  }
  .right_side {
    padding: .5rem 0;
  }
}

.ipoe_input {
  padding: 6px 0;
  padding-right: 23px;
  width: 100%;
  color: #777;
  background: transparent;
  border: none;
  border-bottom: 1px solid #b5b5b5;
  border-radius: 0;
  -webkit-appearance: none;
}

.ipoe_input:focus {
  outline: none;
  border-bottom: 2px solid #2ACCDD;
  margin-bottom: -1px;
}

.ipoe_input::placeholder {
  color: #b5b5b5;
}

.ipoe_input.blue {
  border-bottom: 2px solid #1A90EE;
}

.ipoe_input.blue:focus {
  margin-bottom: 0px;
  border-bottom: 2px solid #2ACCDD;
}

.indent-1 {
  text-indent: 28px;
}

.input_icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
}

.input_check {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.button_tab_text{
  padding: .25rem .5rem;
  min-width: 74px;
  display: block;
  border: 1px solid #C1C1C1;
  font-size: 14px;
  text-align: center;
  color: #ccc;
  cursor: pointer;
}
.button_tab:first-child .button_tab_text{
  border-radius: 20px 0 0 20px;
}
.button_tab:last-child .button_tab_text{
  border-radius: 0 20px 20px 0;
}
.button_tab input{
  display: none;
}
.button_tab input[type="radio"]:checked + .button_tab_text{
  color: #fff;
  background-color: #888;
}

.main_button {
  color: #eee;
  background-image: linear-gradient(to right, #1A90EE, #2ACCDD);
  border-radius: 50px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow .3s;
}

.main_button:hover {
  color: #fff;
  background-image: linear-gradient(to right, #128bec, #23c9da);
}

.main_button.border_button {
  border: 2px solid #eee;
}

.circle_button {
  padding: 0;
  margin-left: 5px;
  margin-right: 5px;
  width: 52px;
  height: 52px;
  font-size: 36px;
  line-height: 28px;
  text-align: center;
  color: #eee;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.circle_button:hover {
  color: #fff;
}

.circle_button.fb {
  background-color: #4267B2;
}

.circle_button.line {
  background-color: #00B900;
}

.circle_button.qq {
  background-color: #17ABE3;
}

.circle_button.wechat {
  background-color: #02DF6D;
}

.check_icon {
  color: #999;
  font-size: 18px;
}

.check_input:checked ~ .check_icon::before {
  content: '\f058';
  color: #2ACCDD;
  font-weight: bold;
}

input.switch_input {
  display: none;
}

.switch {
  cursor: pointer;
  text-indent: -9999px;
  width: 40px;
  height: 20px;
  background: grey;
  display: block;
  border-radius: 100px;
  position: relative;
}

.switch:after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

input.switch_input:checked + .switch {
  background: #2ACCDD;
}

input.switch_input:checked + .switch:after {
  left: calc(100% - 5px);
  transform: translateX(-100%);
}

.switch:active:after {
  width: 30px;
}

table.vertical-middle td {
  vertical-align: middle;
}

.fz12{
  font-size: 12px;
}
.fz13 {
  font-size: 13px;
}

.fz14 {
  font-size: 14px;
}

.fz15 {
  font-size: 15px;
}

.fz16 {
  font-size: 16px;
}

.fz18 {
  font-size: 18px;
}

.fz21 {
  font-size: 21px;
}

.fz24 {
  font-size: 24px;
}

.fz28 {
  font-size: 28px;
}

.text-grey {
  color: #999;
}

.text-pale {
  color: #f5f5f5;
}

.radius {
  border-radius: 10px;
}

.radius-top {
  border-radius: 10px 10px 0 0;
}

.radius-bottom {
  border-radius: 0 0 10px 10px;
}

.radius-left {
  border-radius: 10px 0 0 10px;
}

.radius-right {
  border-radius: 0 10px 10px 0;
}

@media screen and (max-width:576px){
  .radius-mobile-none{
    border-radius: 0;
  }
}

.shadow {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.nowrap {
  white-space: nowrap;
}

.pointer {
  cursor: pointer;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.line-clamp-1, .line-clamp-2, .line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}
