 #frkPreSaleModal .modal-content {
    border-radius: 25px;
}
#frkPreSaleModal .modal-content {
    border-radius: 25px;
    max-width: 650px;
    margin: 0 auto;
}
#otherCountryContainer {
  margin-top: 10px;
  transition: all 0.3s ease;
}

#otherCountryInput {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

#otherCountryInput:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.rbc_modal_invest_btn {
    display: flex;
    justify-content: center;
}
.rbc_modal_invest_btn a button {
    width: auto !important;
    margin: 0 5px;
    height: 40px;
    padding: 0 22px !important;
    font-size: 14px !important;
}
.rbc_modal_invest_btn a:first-child button {
  background-color: #f2f2f2 !important;
  color: #000 !important
}
.rbc_modal_invest_btn a:first-child button:hover {
  background-color: #000 !important;
  color: #fff !important
}
.popup-overlay.connect_wallet_popup .popup-content {
  padding: 30px;
}
.popup_head i {
  left: 25px;
}
.connect_wallet {
    padding: 60px 0;
    background-color: #000;
    background-image: url(../images/3rd-bg.png);
    background-size: cover;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
}
.popup-overlay.connect_wallet_popup .popup-content {
    max-width: 850px;
    width: 100%;
    padding: 30px 50px;
    margin: 0 auto;
}
.popup_head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    margin-top: -15px;
}
.popup_head a {
    font-size: 28px;
    text-decoration: none;
    color: #000;
    font-family: 'Kanit', sans-serif;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 1px;
}
.popup_head i {
    font-size: 20px;
    cursor: pointer;
    background: #f2f2f2;
    border-radius: 50%;
    padding: 5px;
    position: relative;
    left: 35px;
    top: -5px;
}
.popup-overlay.connect_wallet_popup .head {
    background-color: #fff7c7;
    border: 2px solid #000;
    display: inline-block;
    padding: 8px 25px;
    border-radius: 15px 0 15px 0;
    margin-bottom: 15px;
    font-weight: 600;
}
.welcome_new p {
    margin: 0;
}
.popup-overlay.connect_wallet_popup h4 {
    position: relative;
    margin-bottom: 25px;
}
.popup-overlay.connect_wallet_popup .popup-content ul {
    list-style: none;
    padding: 0;
    margin: 0 -5px;
}
.popup-overlay.connect_wallet_popup .popup-content ul li {
    display: inline-block;
    padding: 15px 10px;
    font-weight: 600;
    width: calc(20% - 10px);
    margin: 5px;
    border: 2px solid #f5f5f7;
    border-radius: 10px;
    white-space: nowrap;
    position: relative;
    background-color: #f5f5f7;
    cursor: pointer;
}
.popup-overlay.connect_wallet_popup .popup-content ul li a {
    text-decoration: none;
    color: #000;
}
.popup-overlay.connect_wallet_popup .popup-content ul li.active {
    background-color: #fff602;
    border: 2px solid #000;
}
.popup-overlay.connect_wallet_popup .popup-content ul li.active:hover {
    background-color: #fff602;
    border: 2px solid #000;
}
.popup-overlay.connect_wallet_popup .popup-content button {
    background-color: #000;
    color: #fff;
    padding: 12px 25px;
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    font-weight: 600;
    border: none;
    margin-top: 30px;
    cursor: pointer;
}
.popup-overlay.connect_wallet_popup .popup-content ul li i {
    position: absolute;
    width: 25px;
    height: 25px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    border-radius: 50%;
    top: -16px;
    left: 0;
    right: 0;
    margin: auto !important;
}
.popup-overlay.connect_wallet_popup h4 span {
    background: #fff;
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    padding: 5px 15px;
}
.popup-overlay.connect_wallet_popup h4::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    background: #ccc;
    top: 6px;
    bottom: 0;
    margin: auto;
}
.popup-overlay.connect_wallet_popup h4 span {
    background: #fff;
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    padding: 5px 15px;
}
.popup-overlay.connect_wallet_popup p {
    font-weight: normal !important;
        font-family: "Poppins", sans-serif;
    font-size: 14px;
}