@media (min-width: 0px) and (max-width: 480px) {
  .score-bar {
    color: rgb(255, 255, 255);
    padding: 15px;
    font-size: 0.85rem;
  }

  .img-size {
    width: 20px;
    position: relative;
    right: 5px;
    top: 4px;
  }
  footer#footerLogin {
    position: relative;
    bottom: 0;
    width: 100%;
    margin-bottom: 3rem;
    margin-top: 3rem;
  }
  .register-page {
    padding-bottom: 0px !important;
  }
  .register-page .contentProfile {
    margin-bottom: 0rem !important;
  }
  .faqMain {
    padding-bottom: 0px !important;
  }
  .contractManage {
    padding-bottom: 0px !important;
  }

  .contractDetail .btn-manage-contract {
    padding: 8px;
    font-size: 8px;
  }
  .contractDetail .background-renew {
    padding: 10px 10px;
  }
  .contractDetail .correlation-text-1 {
    font-size: 0.7rem !important;
  }
  .contractDetail .correlation-text-2 {
    font-size: 0.7rem !important;
  }
  .dt-payoff .position-dtail-box .f22-card-dt {
    align-self: center;
    line-height: 20px;
    font-size: 1rem;
  }
  .agentPort .box-image-grag-drop .cardGlass {
    padding: 1rem;
    padding-bottom: 1rem !important;
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .agentPort .box-image-grag-drop .cardGlass .title-team-port,
  .agentPort .box-image-grag-drop .cardGlass h2 {
    font-size: 1.25rem;
  }

  .agentPort .box-image-grag-drop .cardGlass h4,
  .agentPort .box-image-grag-drop .cardGlass p {
    font-size: 1rem;
  }

  .agentPort .searchbar {
    width: 100%;
  }
  .agentPort .row {
    --bs-gutter-x: unset;
    --bs-gutter-y: unset;
  }
  .agentPort .box-title-srction .srction-link {
    margin-bottom: 20px;
  }
  .agentPort .box-title {
    margin-top: 0rem;
  }
  .agentPort .eapPortChart {
    margin-top: unset !important;
  }
  .agentPort .chartCommissMain {
    margin-top: 70px;
    z-index: -1;
  }
  .investor-port-mainbody .content-cardGlass {
    padding: 20px;
  }
  .investorContractlists-port-mainbody .btn-outline-info-ivp-1 {
    margin-bottom: 10px;
  }
  .investorContractlists-port-mainbody .container-fluid {
    overflow: auto;
  }
  .agentPort .eapPortChart .box-image-grag-drop .cardGlass {
    margin: 0px;
    padding: 1rem !important;
  }
  .agentPort .progress-box .card-glass-cover {
    height: 180px;
  }
  .investor-port-mainbody .mypayoff .mypayoff-list .payoff-item {
    width: 100%;
  }
  .modal .modal-dialog .modal-content .modal-body .text-home-1 {
    position: absolute;
    margin-top: 89%;
    color: white;
    font-weight: 700;
    font-size: 34px;
    width: 100%;
    padding: 20px;
    margin-left: 0px;
  }
  .modal .modal-dialog .modal-content .modal-body .text-home-2 {
    position: absolute;
    margin-top: 109%;
    color: white;
    font-size: 18px;
    /* width: auto; */
    /* width: 101%; */
    padding: 20px;
    margin-left: 0px;
  }
  .modal .modal-dialog .modal-content .modal-body .buttom-home {
    position: absolute;
    margin-top: 148%;
    color: #4187f3;
    font-weight: 700;
    font-size: 18px;
    background: white;
    width: 92%;
    padding: 14px;
    text-align: center;
    margin-left: -5px;
    height: 55px;
    border-radius: 5px;
  }
  #bannerModalCenter .modal-dialog .modal-body img {
    border-radius: 10px;
    width: 100%;
    height: 650px;
    object-fit: cover;
  }
  #bannerModalCenter .modal-dialog {
    max-width: unset;
  }
  .investDesign .not-moblie-investDesign {
    display: none !important;
  }
  .investDesign .box-list-card .invest-card .col-6 {
    width: unset;
    /* ซีเสริมตรงนี้ */
    padding: 0;
  }
  /* .investDesign  .box-list-card .invest-card .col-4 {
        width: unset;
    } */
  /* .investDesign .tab-content .tab-pane .col-7 {
    flex: 0 0 auto;
    width: 16.333333%;
    } */

  /* .investDesign .calculate-card .filters .tab-radius {
        max-width: 54%;
        margin: 0;
    } */
  /* .investDesign  .box-list-card .invest-card .row>* {

        max-width: unset;
    }  */
  .investDesign .cal-match button.outline {
    position: relative;
    z-index: 3;
    background: transparent;
    color: #4187f3;
    font-size: 14px;
    border-color: #4187f3;
    border-style: solid;
    border-width: 2px;
    border-radius: 22px;
    padding: 0;
    text-transform: uppercase;
    transition: all 0.2s linear;
    width: 100px;
    height: 45px;
  }
  .investDesign .input-amount {
    position: absolute;
    top: 12px;
    right: 15px;
    height: 60px;
    width: 180px;
    font-size: 2rem;
    padding: 0;
    /* border: none; */
    text-align: center;
    font-weight: bold;
    margin-top: -10px;
  }
  .investDesign .btn-circle-sm {
    width: 25px;
    height: 25px;
  }
  .investDesign .margin-investment {
    margin-left: -6%;
  }
  .investDesign .money-return {
    margin-left: -6%;
  }
  .investDesign .margin-investment-w {
    margin-top: -10;
  }
  .investDesign .money-return-w {
    margin-top: -10;
  }
  .investDesign .money-count {
    margin-left: -9%;
  }

  .myInvestorTeam .img-myInvestorTeam {
    width: 3rem !important;
    height: 3rem;
    padding: 2px;
    margin: 1rem;
  }
  .myInvestorTeam .row-fontsize {
    font-size: 1.5rem;
    color: white;
    font-weight: 200;
  }
  .myInvestorTeam .row-fontsize-1 {
    font-size: 14px;
  }
  .avatar img {
    width: 35px;
    height: 35px;
  }
  .avatar .number {
    width: 35px;
    height: 35px;
    font-size: 14px;
    line-height: 30px;
  }
  .myInvestorTeam .collapse-pl {
    padding-left: 0px;
    padding-top: 0px;
  }
  .collapse-pl {
    padding-left: 0px;
  }
  .myInvestorTeam .img-size {
    width: 27px;
    margin-right: 0px;
    margin-top: 81px;
  }
  .myInvestorTeam .icon-myInvestorTeam {
    width: 13%;
  }
  /* .myInvestorTeam .mt-avater{
        margin-left: -60px;
    } */
  .myInvestorTeam .tab-box-1 {
    padding-left: 1%;
    padding: 1px 0px 0px 0px;
  }
  .boxMyInvestorTeamProfile {
    display: flex;
  }

  .container {
    padding-right: 35px;
  }
  .pl-img-1 {
    padding: 10px;
  }
  .text-light-1 {
    text-align: center;
    font-size: 24px;
  }
  /* .myInvestorTeam .font-size-myTeam {
        font-size: 36px;
    }
    .myInvestorTeam .font-size-myTeam-1 {
        font-size: 16px;
    } */
  .avatar-group {
    gap: 20px;
  }
  .myInvestorTeam .tab-box-1 {
    border-radius: 15px;
  }

  /* แต่งช่องล่าง */
  .myInvestorTeam .size-number {
    justify-content: start !important;
  }
  .myInvestorTeam .img-size-1 {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  .myInvestorTeam .name-investor {
    font-size: 18px;
  }
  .myInvestorTeam .size-number-start {
    justify-content: start !important;
    padding-left: 30px;
    font-size: 12px !important;
  }
  .myInvestorTeam .size-number-end {
    justify-content: end !important;
    font-size: 12px !important;
  }
  .myInvestorTeam .size-number-padding {
    justify-content: end !important;
    padding-right: 25px;
    font-size: 16px;
  }
  .myInvestorTeam .background-table {
    /* height: 250px; */
  }
  .myInvestorTeam .background-table-1 {
    /* margin-top: -115px; */
    height: 115px;
  }
  nav .container {
    padding: 0 1rem;
  }

  .container {
    /* padding-right: 20px; */
    /* padding-left: 20px; */
    padding: 1rem;
  }
  .main-faq .tab-box-1 {
    padding: 20px 0px 10px 0px;
  }
  .main-faq .text-light {
    font-size: 24px;
  }
  .main-faq .h-t2 {
    font-size: 18px !important;
    margin-left: 20px;
  }
  .main-faq .tab-box-1 {
    margin-top: 10px;
  }
  .main-faq .collapse-pl {
    padding-left: 0px;
  }

  .familyList .text-light {
    font-size: 24px;
  }
  .familyList .font-size-card {
    font-size: 18px;
  }
  .familyList .icon-myInvestorTeam {
    width: 11%;
  }
  .familyList .teamincome {
    padding: 9%;
  }
  .familyList .font-size-card-y {
    font-size: 36px;
  }
  .familyList .font-size-card-2 {
    font-size: 16px;
    /* padding: 2%;
        padding-top: 21px; */
  }
  .familyList .teamincome .background-name {
    border-radius: 10px;
    width: 74%;
    font-size: 18px;
  }
  .familyList .card-1 {
    padding: 5%;
  }
  .familyList .padding-l {
    padding-left: 10px;
    /* text-align: center; */
    align-self: baseline;
    padding-top: 3px;
  }
  .familyList .icon-size {
    width: 50px;
  }
  .familyList .padding-t {
    padding-top: 0px;
    font-size: 14px;
  }
  .clubPrivilege .faq {
    width: 100%;
    margin-top: 1rem !important;
  }
  .clubPrivilege .faq nav {
    width: 100%;
  }
  .clubCorrelation .cardGlass3 {
    height: auto !important;
    /* background: none; */
    padding-right: 1rem !important;
    padding: 1rem;
    margin-bottom: 2.5rem !important; /* iphone มีปัญหา */
  }
  .clubPrivilege .tab-radius {
    width: 107%;
  }
  .clubPrivilege .gap-all {
    gap: 5px;
    width: 100%;
    overflow-x: scroll;
    z-index: 1;
    position: relative;
  }
  .clubPrivilege .cardGlass {
    padding: 0px;
  }
  .clubPrivilege .carousel-inner {
    margin-top: 20px;
  }
  .clubPrivilege #ecgClubCarousel .carousel-item .text-img {
    /* font-size: 20px;
        margin-bottom: 40%; */
    font-size: 20px;
    color: #fff;
    width: 70%;
    position: absolute;
    bottom: 100px;
    left: 50px;
    margin: 0;
  }
  .clubPrivilege .text-center {
    margin-top: 0;
    /* display: flex !important;
        align-items: stretch;
        align-content: stretch;
        flex-wrap: wrap; */
  }
  .clubPrivilege .icon-radius {
    padding: 0px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .clubPrivilege .airplane {
    width: 50px !important;
    height: 40px;
    margin: 6px;
  }
  .clubPrivilege .card {
    width: unset;
  }
  .clubPrivilege #ecgClubCarousel .carousel-indicators {
    bottom: 35px;
    margin: 0;
  }
  .familyList .teamincome .background-name {
    background: #ffffff;
    border-radius: 15px;
    padding: 1%;
    width: 100%;
    color: black;
    margin-top: 5%;
    font-size: 1.25rem;
    text-transform: uppercase;
    position: relative;
  }
  .familyList .share-pic {
    height: 31px;
    position: absolute;
    top: 2px;
    left: 88%;
    /* background: red; */
  }
  .pt-5 {
    padding-top: 0px !important;
  }

  .clubhomeMainBody .mission-flag {
    background: #081c2a;
    position: absolute;
    width: 122px;
    height: 30px;
    font-size: 12px;
    right: 0;
    text-align: center;
    border-radius: 0 15px 0 0;
    color: white;
    padding: 3px;
    padding-left: 3%;
    padding-top: 3%;
  }
  .clubhomeMainBody .mission-flag .mission-flag-img {
    position: relative;
    top: -10%;
    right: -3%;
    width: 20px;
    height: 20px;
  }

  .mission-list .mission-flag {
    background: #081c2a;
    position: absolute;
    width: 150px;
    height: 30px;
    right: 0;
    text-align: center;
    border-radius: 0 15px 0 0;
    color: white;
    padding: 6px 3px;
    font-size: 0.8rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .investorContractlists-port-mainbody .btn-outline-info-ivp-1 {
    margin-bottom: 10px;
  }
  .investorContractlists-port-mainbody .container-fluid {
    overflow: auto;
  }
  .agentPort .eapPortChart .box-image-grag-drop .cardGlass {
    margin: 0px;
    padding: 0rem;
  }
  .agentPort .progress-box .card-glass-cover {
    height: 180px;
  }
  .agentPort .chartCommissMain {
    margin-bottom: -170px;
    margin-top: 115px;
    padding: 0rem;
  }
  .investor-port-mainbody .mypayoff .mypayoff-list {
    column-gap: 0px;
  }
  .investor-port-mainbody .mypayoff .mypayoff-list .payoff-item {
    width: 50%;
  }
  .modal .modal-dialog .modal-content .modal-body .buttom-home {
    margin-top: 147%;
  }
  .modal .modal-dialog .modal-content .modal-body .text-home-2 {
    margin-top: 114%;
  }
  .modal .modal-dialog .modal-content .modal-body .text-home-1 {
    margin-top: 84%;
  }
  .myInvestorTeam .img-myInvestorTeam {
    width: 8rem !important;
  }
  .myInvestorTeam .tab-box-1 {
    padding: 20px;
  }
  .myInvestorTeam .img-size {
    width: 63px;
    margin-right: 5px;
    margin-top: 99px;
  }
  .avatar-group {
    display: flex;
    align-items: left;
    justify-content: left;
    padding-right: -18px;
    /* margin-left: -115px; */
  }
  .myInvestorTeam .img-size-1 {
    margin-right: 20px;
  }
  .myInvestorTeam .size-number {
    justify-content: start !important;
  }
  .myInvestorTeam .img-size-1 {
    width: 80px;
    height: 80px;
  }
  .myInvestorTeam .name-investor {
    font-size: 37px;
  }
  .myInvestorTeam .size-number-start {
    justify-content: start !important;
    padding-left: 108px;
  }
  .myInvestorTeam .size-number-end {
    justify-content: end !important;
  }
  .myInvestorTeam .size-number-padding {
    justify-content: end !important;
    padding-right: 32px;
  }
  .container {
    padding-right: 0px;
    padding-left: 0px;
  }
  .main-faq .tab-box-1 {
    padding: 30px 0px 20px 0px;
  }
  .main-faq .collapse-pl {
    padding-left: 45px;
  }
  .clubPrivilege .card {
    width: 13.5rem !important;
  }
  .familyList .teamincome .background-name {
    background: #ffffff;
    border-radius: 15px;
    padding: 1%;
    width: 85%;
    color: black;
    margin-top: 5%;
    font-size: 1.25rem;
    text-transform: uppercase;
    position: relative;
  }
  .familyList .share-pic {
    height: 31px;
    position: absolute;
    top: 6px;
    left: 93%;
    /* background: red; */
  }
}
@media (min-width: 769px) and (max-width: 820px) {
  .investorContractlists-port-mainbody .btn-outline-info-ivp-1 {
    margin-bottom: 10px;
  }
  .investorContractlists-port-mainbody .container-fluid {
    overflow: auto;
  }
  .agentPort .eapPortChart .box-image-grag-drop .cardGlass {
    margin: 0px;
    padding: 0rem;
  }
  .agentPort .progress-box .card-glass-cover {
    height: 180px;
  }
  .agentPort .chartCommissMain {
    margin-bottom: -170px;
    margin-top: 115px;
    padding: 0rem;
  }
  .investor-port-mainbody .mypayoff .mypayoff-list {
    column-gap: 0px;
  }
  .investor-port-mainbody .mypayoff .mypayoff-list .payoff-item {
    width: 50%;
  }
  .modal .modal-dialog .modal-content .modal-body .buttom-home {
    margin-top: 147%;
  }
  .modal .modal-dialog .modal-content .modal-body .text-home-2 {
    margin-top: 114%;
  }
  .modal .modal-dialog .modal-content .modal-body .text-home-1 {
    margin-top: 84%;
  }
  .myInvestorTeam .img-myInvestorTeam {
    width: 8rem !important;
  }
  .myInvestorTeam .tab-box-1 {
    padding: 20px;
  }
  .myInvestorTeam .img-size {
    width: 63px;
    margin-right: 5px;
    margin-top: 99px;
  }
  .avatar-group {
    display: flex;
    align-items: left;
    justify-content: left;
    padding-right: -18px;
    /* margin-left: -115px; */
  }
  .myInvestorTeam .img-size-1 {
    margin-right: 20px;
  }
  .myInvestorTeam .size-number {
    justify-content: start !important;
  }
  .myInvestorTeam .img-size-1 {
    width: 80px;
    height: 80px;
  }
  .myInvestorTeam .name-investor {
    font-size: 37px;
  }
  .myInvestorTeam .size-number-start {
    justify-content: start !important;
    padding-left: 108px;
  }
  .myInvestorTeam .size-number-end {
    justify-content: end !important;
  }
  .myInvestorTeam .size-number-padding {
    justify-content: end !important;
    padding-right: 32px;
  }
  .container {
    padding-right: 0px;
    padding-left: 0px;
  }
  .main-faq .tab-box-1 {
    padding: 30px 0px 20px 0px;
  }
  .main-faq .collapse-pl {
    padding-left: 45px;
  }
  .clubPrivilege .card {
    width: 14rem !important;
  }
  .familyList .teamincome .background-name {
    background: #ffffff;
    border-radius: 15px;
    padding: 1%;
    width: 85%;
    color: black;
    margin-top: 5%;
    font-size: 1.25rem;
    text-transform: uppercase;
    position: relative;
  }
  .familyList .share-pic {
    height: 31px;
    position: absolute;
    top: 6px;
    left: 93%;
    /* background: red; */
  }
}
@media (min-width: 821px) and (max-width: 1024px) {
  .investorContractlists-port-mainbody .container-fluid {
    overflow: auto;
  }
}
@media (min-width: 1025px) {
}
@media (max-width: 360px) {
  .agentPort .chartCommiss {
    position: relative !important;
    bottom: 210px !important;
    left: 0px;
  }
  .agentPort .boxChartsplit {
    padding-bottom: 4rem !important;
  }
  .contractDetail .btn-manage-contract {
    padding: 8px;
    font-size: 8px;
  }
}
