/*    Start - Responsive     */

@media only screen and (max-width: 2560px) {
  .ecg-cardlist .view-all {
    position: absolute;
    right: 24rem;
    color: #4187f3;
    font-weight: 800;
  }

  .bottom-nav {
    display: none;
  }

  #navbarResponsive_login .mobile-menu {
    display: none;
  }

  #navbarResponsive_login .notification-content {
    display: none;
  }
}

@media only screen and (max-width: 1920px) {
  .ecg-cardlist .view-all {
    position: absolute;
    right: 4rem;
    color: #4187f3;
    font-weight: 800;
  }

  .bottom-nav {
    display: none;
  }

  #navbarResponsive_login .mobile-menu {
    display: none;
  }

  #navbarResponsive_login .notification-content {
    display: none;
  }
}

@media only screen and (max-width: 1366px) {
  .ecg-cardlist .view-all {
    position: absolute;
    right: 0.5rem;
    color: #4187f3;
    font-weight: 800;
  }

  .bottom-nav {
    display: none;
  }

  #navbarResponsive_login .mobile-menu {
    display: none;
  }

  #navbarResponsive_login .profile-top {
    margin-top: 4rem;
  }

  #navbarResponsive_login .profile-top img.profileImg {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    background: #ffffff4a;
  }

  #navbarResponsive_login .menu-box ul.menu-list {
    list-style: none;
    padding-left: 0;
    width: 100%;
    text-align: start;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item {
    padding: 1.25rem 0;
    font-size: 1.25rem;
    font-weight: 500;
    /* padding: 0.35rem 0; */
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.5),
      transparent
    );
    border-image-slice: 1;
    width: 100%;

    text-decoration: none;
    font-size: 1.125rem;
    color: #fff;
    font-family: "Kanit Light";
    font-weight: 700;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item:first-child {
    margin-top: 0;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item:last-child {
    border-bottom: none;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item.active {
    color: #fff;
  }

  #navbarResponsive_login .navbar-collapse .line-gadient {
    background-image: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 1),
      transparent
    );
    border: 0;
    height: 1px;
    opacity: 0;
    margin-bottom: 0;
  }

  #navbarResponsive_login .notification-content {
    display: none;
  }
}

/*   Other device   */
@media (max-width: 1024px) {
  .home-banner-container .home-banner .ecgClubCarousel .carousel-ecgclub img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner {
    position: absolute;
    top: 3rem;
    left: 3rem;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    h3 {
    color: #fff;
    background-color: #4187f3;
    padding: 0.5rem 0.8rem 0.5rem 0.8rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: bold;
    cursor: default;
    text-align: center;
    width: 30%;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    .title-banner
    h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    width: 65%;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    p {
    color: #fff;
    opacity: 60%;
    font-size: 1.2rem;
    width: 75%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mainBody .carousel-indicators-ecgclubHome {
    position: absolute;
    right: -115px;
    bottom: -5px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 100px;
    margin-left: 15%;
    list-style: none;
  }

  .ecg-cardlist .nav-tabs {
    border-bottom: 1px solid #4187f3;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
    overflow: scroll hidden;
    position: relative;
    width: 100%;
  }

  .ecg-cardlist .nav-tabs .nav-item {
    margin: 0 3rem 0 3rem;
  }

  .ecg-cardlist .nav-tabs .nav-item.show .nav-link,
  .ecg-cardlist .nav-tabs .nav-link.active {
    color: #fff;
    background-color: unset;
    border-color: unset;
    border: none;
    font-weight: bold;
    font-size: 0.85rem;
    opacity: 100%;
    border-bottom: 3px solid #4187f3;
    width: 140px;
  }

  .ecg-cardlist .nav-tabs .nav-item.show .nav-link,
  .ecg-cardlist .nav-tabs .nav-link {
    color: #fff;
    background-color: unset;
    border-color: unset;
    border: none;
    font-weight: lighter;
    font-size: 0.85rem;
    opacity: 60%;
    width: 140px;
  }

  .ecg-cardlist .view-all {
    position: absolute;
    right: -20rem;
    color: #4187f3;
    font-weight: 800;
    padding-left: 4rem;
  }

  .mainBody .clubHomeImageCard .title-right h1 {
    font-weight: bold;
    font-size: 1.75rem;
    margin-top: 2rem;
    line-height: 1.5;
  }

  .mainBodyHome .ecg-cardlist .btn-read-more1 {
    margin-top: 0;
  }

  .mainBodyHome .ecg-cardlist .carousel-indicators-ecgclubList {
    position: absolute;
    right: 0;
    bottom: -20px;
    left: -80px;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 0;
    margin-bottom: 100px;
    margin-left: 85%;
    list-style: none;
  }

  .ecg-cardlist,
  .ecg-news {
    margin-top: 5rem;
  }

  .box-title-srction .srction-title-center {
    color: #fff;
    display: inline-block;
    font-size: 2.25rem;
    font-weight: bold;
  }

  .btn-outline-info {
    color: #4187f3;
    border-color: #4187f3;
    width: 15rem;
    font-weight: bold;
    font-size: 1.125rem;
    padding: 0.8rem;
  }

  .ecg-news .news-card img.thumbnail-card {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .ecg-news-slick .slick-dots {
    position: absolute;
    right: 0;
    bottom: -115px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 100px;
    margin-left: 0;
    list-style: none;
  }

  .home-banner-bottom {
    margin-top: 2rem;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner {
    position: absolute;
    top: 3rem;
    left: 3rem;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    h3 {
    color: #fff;
    background-color: #4187f3;
    padding: 0.5rem 0.8rem 0.5rem 0.8rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: bold;
    cursor: default;
    text-align: center;
    width: 30%;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    .title-banner
    h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    width: 65%;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    p {
    color: #fff;
    opacity: 60%;
    font-size: 1.2rem;
    width: 65%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-banner-inside-container .home-profile .home-glass2 {
    /* height: 1450px; */
    padding: 3rem 3rem;
  }
  .alert-on-calendar {
    position: absolute;
    z-index: 1;
      top: 35%;
      right: 15%;
    font-size: 1.75rem;
    font-weight: 300;
  }

  .home-banner-inside-container .ecg-cardlist .view-all {
    position: absolute;
    right: -12rem;
    color: #4187f3;
    font-weight: 800;
  }

  .ecg-cardlist-inside .nav-tabs .nav-item {
    margin: 0 2rem 0 2rem;
  }

  .ecg-cardlist .nav-tabs {
    border-bottom: 1px solid #4187f3;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
    overflow: scroll hidden;
    position: relative;
    width: 100%;
  }

  .investor-port-mainbody .right-word2 {
    float: right;
    padding-right: 0;
  }

  .investor-port-mainbody .overflowScroll {
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 0 10px 0 10px;
  }

  .investor-port-mainbody .table-section {
    padding: 0;
    /* width: 100%; */
    overflow-x: auto;
    overflow-y: auto;
    /* white-space: nowrap; */
  }

  .investor-port-mainbody .box-badge-ivp {
    border-radius: 5px;
    height: 40px;
    padding-left: 1rem;
    top: 90px;
  }

  .investor-port-mainbody thead {
    /* display: block; */
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .investor-port-mainbody tbody {
    display: block;
  }

  .investor-port-mainbody tbody {
    /* height: 600px; */
    overflow-y: auto;
    overflow-x: hidden;
  }

  .investor-port-mainbody tbody tr {
    display: table;
    width: 120rem;
    table-layout: fixed;
  }

  .investor-port-mainbody thead tr th {
    white-space: nowrap;
    padding: 1.5rem 5px;
    text-align: center;
  }

  .investor-port-mainbody tbody tr td {
    white-space: nowrap;
    width: 10%;
  }

  .investor-port-mainbody .right-word {
    float: left;
    padding-right: 0;
  }

  .investor-port-mainbody .searchbar {
    width: 100%;
    height: 60px;
    border-radius: 3px;
    border-style: none;
    background: #425edd14;
    display: flex;
    border-radius: 10px;
  }

  #navbarResponsive_login .mobile-menu {
    display: none;
  }
}
/*   Ipad air   */
@media (max-width: 820px) {
  .home-banner-container .home-banner .ecgClubCarousel .carousel-ecgclub img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner {
    position: absolute;
    top: 3rem;
    left: 3rem;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    h3 {
    color: #fff;
    background-color: #4187f3;
    padding: 0.5rem 0.8rem 0.5rem 0.8rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: bold;
    cursor: default;
    text-align: center;
    width: 30%;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    .title-banner
    h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    width: 65%;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    p {
    color: #fff;
    opacity: 60%;
    font-size: 1.2rem;
    width: 75%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mainBody .carousel-indicators-ecgclubHome {
    position: absolute;
    right: -115px;
    bottom: -5px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 100px;
    margin-left: 15%;
    list-style: none;
  }

  .ecg-cardlist .nav-tabs {
    border-bottom: 1px solid #4187f3;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
    overflow: scroll hidden;
    position: relative;
    width: 100%;
  }

  .ecg-cardlist .nav-tabs .nav-item {
    margin: 0 3rem 0 3rem;
  }

  .ecg-cardlist .nav-tabs .nav-item.show .nav-link,
  .ecg-cardlist .nav-tabs .nav-link.active {
    color: #fff;
    background-color: unset;
    border-color: unset;
    border: none;
    font-weight: bold;
    font-size: 0.85rem;
    opacity: 100%;
    border-bottom: 3px solid #4187f3;
    width: 140px;
  }

  .ecg-cardlist .nav-tabs .nav-item.show .nav-link,
  .ecg-cardlist .nav-tabs .nav-link {
    color: #fff;
    background-color: unset;
    border-color: unset;
    border: none;
    font-weight: lighter;
    font-size: 0.85rem;
    opacity: 60%;
    width: 140px;
  }

  .ecg-cardlist .view-all {
    position: absolute;
    right: -20rem;
    color: #4187f3;
    font-weight: 800;
    padding-left: 4rem;
  }

  .mainBody .clubHomeImageCard .title-right h1 {
    font-weight: bold;
    font-size: 1.75rem;
    margin-top: 2rem;
  }

  .mainBodyHome .ecg-cardlist .btn-read-more1 {
    margin-top: 0;
  }

  .mainBodyHome .ecg-cardlist .carousel-indicators-ecgclubList {
    position: absolute;
    right: 0;
    bottom: -20px;
    left: -80px;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 0;
    margin-bottom: 100px;
    margin-left: 85%;
    list-style: none;
  }

  .ecg-cardlist,
  .ecg-news {
    margin-top: 5rem;
  }

  .box-title-srction .srction-title-center {
    color: #fff;
    display: inline-block;
    font-size: 2.25rem;
    font-weight: bold;
  }

  .btn-outline-info {
    color: #4187f3;
    border-color: #4187f3;
    width: 15rem;
    font-weight: bold;
    font-size: 1.125rem;
    padding: 0.8rem;
  }

  .ecg-news .news-card img.thumbnail-card {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .ecg-news-slick .slick-dots {
    position: absolute;
    right: 0;
    bottom: -115px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 100px;
    margin-left: 0;
    list-style: none;
  }

  .home-banner-bottom {
    margin-top: 2rem;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 5rem;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner {
    position: absolute;
    top: 3rem;
    left: 3rem;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    h3 {
    color: #fff;
    background-color: #4187f3;
    padding: 0.5rem 0.8rem 0.5rem 0.8rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: bold;
    cursor: default;
    text-align: center;
    width: 30%;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    .title-banner
    h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    width: 65%;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    p {
    color: #fff;
    opacity: 60%;
    font-size: 1.2rem;
    width: 65%;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-banner-inside-container .home-profile .home-glass2 {
    /* height: 1450px; */
    padding: 3rem 3rem;
  }
  .alert-on-calendar {
    position: absolute;
    z-index: 1;
    top: 73%;
    right: 28%;
    font-size: 1.75rem;
    font-weight: 300;
  }

  .home-banner-inside-container .ecg-cardlist .view-all {
    position: absolute;
    right: -12rem;
    color: #4187f3 !important;
    font-weight: 800;
  }

  .ecg-cardlist-inside .nav-tabs .nav-item {
    margin: 0 2rem 0 2rem;
  }

  .ecg-cardlist .nav-tabs {
    border-bottom: 1px solid #4187f3;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
    overflow: scroll hidden;
    position: relative;
    width: 100%;
  }

  .mainCalendar .calendar-container .calendar-section .title-align-center {
    padding-right: 0;
  }

  .mainCalendar .calendar {
    height: 860px;
  }

  .mainCalendar .calendar .fc-header-toolbar {
    display: block;
    text-align: center;
    justify-content: center;
  }

  .mainCalendar .calendar .fc-header-toolbar .fc-toolbar-chunk {
    margin: 1rem 0;
  }

  .mainCalendar .fc .fc-toolbar-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 !important;
  }

  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton1-button.active,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton2-button.active,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton3-button.active {
    background-color: #4187f3;
    color: #fff;
    transition: 0.5s;
    font-weight: bold;
    font-size: 1rem;
    width: 85%;
    margin-bottom: 0.5rem;
  }

  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton1-button,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton2-button,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton3-button {
    border-radius: 30px;
    border: unset;
    padding: 0.5rem 2.75rem;
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(159, 163, 166, 0.05);
    font-weight: 600;
    font-size: 1rem;
    width: 85%;
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  .mainCalendar .fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0;
  }

  .mainCalendar .fc .fc-button-group {
    position: relative;
    display: flex;
    vertical-align: middle;
    width: 100%;
    justify-content: space-between;
  }

  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-button-group
    .fc-prev-button,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-button-group
    .fc-next-button {
    background-color: unset;
    border: unset !important;
    padding: 10px 0;
    margin-right: 0;
  }

  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-button-group
    .fc-prev-button {
    text-align: left;
  }

  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-button-group
    .fc-next-button {
    text-align: right;
  }

  .mainCalendar .fc .fc-scroller-harness-liquid {
    overflow: hidden scroll;
  }

  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton1-button:hover,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton2-button:hover,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton3-button:hover {
    background-color: #4187f3;
    color: #fff;
    transition: 0.5s;
    font-weight: 600;
    font-size: 1rem;
  }

  .fc-daygrid-block-event .fc-event-time,
  .fc-daygrid-block-event .fc-event-title {
    padding: 1px;
    font-size: 0.8rem;
  }

  .clubhomeMainBody .set-mb-mobile {
    margin-bottom: 1.5rem;
  }

  .investor-port-mainbody .right-word2 {
    float: right;
    padding-right: 0;
  }

  .investor-port-mainbody .overflowScroll {
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 0 10px 0 10px;
  }

  .investor-port-mainbody .table-section {
    padding: 0;
    /* width: 100%; */
    overflow-x: auto;
    overflow-y: auto;
    /* white-space: nowrap; */
  }

  .investor-port-mainbody .box-badge-ivp {
    border-radius: 5px;
    height: 40px;
    padding-left: 1rem;
  }

  .investor-port-mainbody thead {
    /* display: block; */
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .investor-port-mainbody tbody {
    display: block;
  }

  .investor-port-mainbody tbody {
    /* height: 600px; */
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .investor-port-mainbody tbody tr {
    display: table;
    width: 120rem;
    table-layout: fixed;
  }

  .investor-port-mainbody thead tr th {
    white-space: nowrap;
    padding: 1.5rem 5px;
    text-align: center;
  }

  .investor-port-mainbody tbody tr td {
    white-space: nowrap;
    width: 10%;
  }

  .investor-port-mainbody .right-word {
    float: left;
    padding-right: 0;
  }

  .investor-port-mainbody .searchbar {
    width: 100%;
    height: 60px;
    border-radius: 3px;
    border-style: none;
    background: #425edd14;
    display: flex;
    border-radius: 10px;
  }

  .club-privilege-detail-mainBody .card-body-cpd .box-card-footer {
    margin-top: 10%;
    float: right;
  }

  .club-privilege-detail-mainBody .card.news-card {
    height: 355px;
  }

  .club-privilege-detail-mainBody .news-card .box-card-footer p {
    font-size: 0.85rem;
    font-weight: 200;
    margin-bottom: 0 !important;
    color: #4187f3;
    /* letter-spacing: 0px; */
  }

  #footerNonLogin .menu-list-footer {
    margin-left: 0;
    white-space: normal;
  }

  #footerNonLogin .logoEcgAtFooter {
    justify-content: center;
  }

  #footerNonLogin {
    padding: 2rem;
  }

  /* #navbarResponsive_login {
        display: none!important;
    } */

  .bottom-nav {
    display: flex;
    justify-content: space-between;
    transition: all 0.6s;
    position: fixed;
    height: 4rem;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    background-color: #27396d;
    z-index: 9999;
    will-change: transform;
    transform: translateZ(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
  }

  .bottom-nav.hide {
    bottom: -65px;
    transition-delay: 0.6s;
  }

  .bottom-nav a {
    text-decoration: none;
    width: 100%;
  }

  .bottom-nav a .bottom-nav-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    color: #f1f5f8;
    opacity: 0.6;
    text-decoration: none;
  }

  .bottom-nav a .bottom-nav-item {
    color: #f1f5f8;
    text-decoration: none;
  }

  .bottom-nav a .bottom-nav-item.active {
    color: #f1f5f8;
    opacity: 1;
  }

  .bottom-nav a .bottom-nav-item .bottom-nav-link {
    display: flex;
    flex-direction: column;
  }

  .bottom-nav a .bottom-nav-item .bottom-nav-link i {
    font-size: 20px;
  }

  .bottom-nav a .bottom-nav-item .bottom-nav-link span {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 200;
    white-space: nowrap;
    font-family: "Kanit Bold";
  }

  #navbarResponsive_login .navbar-collapse .nav-item {
    display: none;
  }

  #navbarResponsive_login .navbar-collapse {
    width: 100%;
    height: 100vh;
    z-index: 999;
    padding: 2rem 1rem 5rem 1rem;
    margin-bottom: 2rem;
    top: 0;
    position: fixed;
    margin-left: 470px;
    background-color: #0f1920;
    transition: 0.6s all;
    overflow: hidden scroll;
  }

  #navbarResponsive_login .navbar-collapse.show {
    margin-left: -50px;
  }

  #navbarResponsive_login .navbar-collapse .fa-xmark {
    display: block;
    font-size: 1.5rem;
  }

  #navbarResponsive_login .mobile-menu {
    display: block;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item img {
    width: 2rem;
    margin: 0 1rem;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item a {
    padding: 1.5rem 5rem 1.5rem 0;
    color: unset;
    text-decoration: none;
  }

  #navbarResponsive_login .notification {
    position: relative;
    margin-right: 5px;
    padding: 0;
  }

  #navbarResponsive_login .notification svg {
    width: 1.8rem;
    height: 1.8rem;
    color: #fff;
  }

  #navbarResponsive_login .notification .colorRed {
    width: 17px;
    height: 17px;
    background: #eb2f06;
    position: absolute;
    right: -5px;
    border-radius: 100px;
    top: -2px;
    border: 3px solid #4187f3;
  }

  #navbarResponsive_login .notification-content {
    display: block;
  }

  #navbarResponsive_login .notification-content span {
    padding: 6px 9px 7px 10px;
    border-radius: 20px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 12px;
  }

  #navbarResponsive_login .notification-content #notification-box-mobile {
    height: 86%;
    overflow: hidden scroll;
    border-radius: 20px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .notification-item {
    padding: 1rem 0;
    border-bottom-style: solid;
    border-bottom-color: rgba(159, 163, 166, 20%);
    border-bottom-width: 1px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .notification-item:not(.isread) {
    background: #040f16;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-image {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
    margin-left: 18px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-desc {
    padding-top: 0.5rem;
    padding-left: 0;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-desc
    .notification-title
    h4 {
    font-size: 0.8rem;
    white-space: unset;
    width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 4px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-desc
    .notification-detail
    span {
    padding: 0;
    color: gray;
    cursor: pointer;
    background: unset;
    transition: all 0.2s;
    font-size: 0.75rem;
    font-weight: 100;
    margin-left: 0;
  }

  #navbarResponsive_login .navbar-toggler .fa-bars {
    font-size: 1.85rem;
  }

  .navbarMainNonLogin .navbar-collapse {
    width: 100%;
    height: 100vh;
    z-index: 9999;
    padding: 3rem 2rem;
    top: 0;
    position: fixed;
    margin-left: 780px;
    background-color: #0f1920;
    transition: 0.6s all;
  }

  .navbarMainNonLogin .navbar-collapse.show {
    margin-left: -40px;
  }

  .navbarMainNonLogin .navbar-collapse .fa-xmark {
    display: block;
    font-size: 2rem;
  }

  .qrcode-container {
    display: none;
  }

  .mainBodyHomeInside .carousel-ecgclub .cardGlass {
    background: #425edd14;
    border-radius: 20px;
    -webkit-box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 5.5rem 2rem 5.5rem 2rem;
    margin-bottom: 2.5rem;
  }

  .mainBodyHomeInside .clubHomeImageCard .button-bottom {
    position: absolute;
    bottom: 15px;
  }

  .home-banner-inside-container .home-profile .home-glass {
    height: auto;
  }

  footer#footerLogin {
    position: relative;
    bottom: 0;
    width: 100%;
    margin-bottom: 3rem;
  }

  .mainBody .home-banner-bottom .carousel-indicators-ecgclubHome {
    position: absolute;
    right: 0;
    bottom: 6.75rem;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 0;
    margin-left: 15%;
    list-style: none;
  }

  .clubPrivilege .contentPrivilege .box-title-center {
    padding-top: 0;
    padding-bottom: 0;
  }

  .clubPrivilege #ecgClubCarousel .carousel-ecgclub .cardGlass {
    background: #425edd14;
    border-radius: 20px;
    -webkit-box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1rem;
    margin-bottom: 2.5rem;
    height: 415px;
  }

  .clubPrivilege
    #ecgClubCarousel
    .carousel-ecgclub
    .cardGlass
    .box-hero-image
    img {
    width: 100%;
    /* height: 100%; */
    min-height: 380px;
    object-fit: cover;
    border-radius: 20px;
  }

  .clubPrivilege #ecgClubCarousel .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
  }

  .clubPrivilege #ecgClubCarousel .carousel-ecgclub .cardGlass .box-hero-image {
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
  }

  .clubPrivilege .box-privilege-category .icon {
    width: 30px;
    height: 30px;
    margin: 0 0 0 0;
  }

  .clubPrivilege .tab-content .for-ecg-section {
    margin-top: 0;
  }

  .mainCategory section.text-center .button-sm {
    margin-bottom: 5rem;
  }

  .mainCategory .carousel-contant .category-caption {
    margin-left: 3rem;
  }

  .mainInterested .slide.cs_pointer .not_check {
    position: absolute;
    height: 25px;
    width: 25px;
    background-color: #ccc;
    border-radius: 50%;
    left: 3rem;
  }

  .mainInterested .box-list-card .f-card-ivm .card-body .not_check {
    position: absolute;
    height: 25px;
    width: 25px;
    background-color: #ccc;
    border-radius: 50%;
    bottom: 1rem;
    right: 1.5rem;
  }

  .mainInterested .box-list-card .news-card .card-title {
    font-size: 1.5rem;
  }

  .mainInterested .box-list-card .f-card-ivm .card-body .checkmark {
    position: absolute;
    height: 24px;
    width: 24px;
    background-color: #eee;
    border-radius: 50%;
    bottom: 1rem;
    right: 1.5rem;
  }

  .mainInterested
    .box-list-card
    .f-card-ivm
    .card-body
    .container
    input:checked
    ~ .checkmark {
    background-color: #4187f3;
  }

  .invmentDetail .eaplist-box .eaplist {
    padding: 0;
    width: 96%;
    margin: auto;
    margin-bottom: 1rem;
    height: 190px;
    overflow: hidden scroll;
  }

  .contractDetail .contentContract {
    margin-top: 1rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .contractDetail .line-1 {
    height: 4px;
    width: 160px;
    background: #ffffff;
    margin-top: -21px;
    margin-left: 370px;
  }

  .contractDetail .line-2 {
    height: 4px;
    width: 155px;
    /* background: #626569; */
    margin-top: -21px;
    margin-left: 145px;
  }

  footer#footerLogin p {
    font-size: 0.9rem;
    font-family: "Kanit Bold";
  }

  .investDesign .card-detail-inv .line-dtail {
    margin-top: 35px;
  }

  .investDesign .btn-edit {
    background-color: transparent;
    border: 2px solid #fff;
    width: 20%;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    margin-right: 5px;
  }

  .invReservation .mainReservation {
    padding: 0;
  }

  .mainInterested .slide.cs_pointer #span_check0 {
    left: 3rem !important;
  }

  .contractDetail {
    padding-bottom: 0 !important;
  }

  .mission-list .for-ecg-section {
    margin-top: 4rem;
  }

  .mission-list .gap-all {
    gap: 25px;
  }

  .mission-list .mission-card .card-body .box-card-footer progress {
    width: 100%;
    height: 10px;
    border-radius: unset;
  }

  .mission-list .missionList-header {
    margin-top: 3rem;
  }

  .clubCorrelation .cardGlass4 {
    background: rgba(255 255 255 / 5%);
    border-radius: 15px;
    -webkit-box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* padding-bottom: 1.5rem; */
    margin-bottom: 1.5rem;
    height: 240px;
    width: 100%;
  }

  .clubCorrelation .btn-corre {
    width: 100%;
    height: 50px;
    background-color: #fff;
    color: #4187f3;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 700;
  }

  .clubCorrelation .news-card-big .thumbnail-card {
    height: 260px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
  }

  .mainCalendar .calendar-container {
    max-width: 720px;
    margin-top: 2rem;
    user-select: none;
  }

  .box-badge-ivp {
    border-radius: 5px;
    height: 40px;
    margin-bottom: 10px;
    /* margin-right: -12px; */
    /* margin-left: -12px; */
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    position: absolute;
    left: 0;
    /* bottom: -40px; */
    bottom: -65px;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}
/*   Ipad mini   */
@media (max-width: 768px) {
  .home-banner-container .home-banner .ecgClubCarousel .carousel-ecgclub img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner {
    position: absolute;
    top: 3rem;
    left: 3rem;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    h3 {
    color: #fff;
    background-color: #4187f3;
    padding: 0.5rem 0.8rem 0.5rem 0.8rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: bold;
    cursor: default;
    text-align: center;
    width: 30%;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    .title-banner
    h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    width: 65%;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    p {
    color: #fff;
    opacity: 60%;
    font-size: 1.2rem;
    width: 75%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mainBody .carousel-indicators-ecgclubHome {
    position: absolute;
    right: -115px;
    bottom: -5px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 100px;
    margin-left: 15%;
    list-style: none;
  }

  .ecg-cardlist .nav-tabs {
    border-bottom: 1px solid #4187f3;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
    overflow: scroll hidden;
    position: relative;
    width: 100%;
  }

  .ecg-cardlist .nav-tabs .nav-item {
    margin: 0 2rem 0 2rem;
  }

  .ecg-cardlist .nav-tabs .nav-item.show .nav-link,
  .ecg-cardlist .nav-tabs .nav-link.active {
    color: #fff;
    background-color: unset;
    border-color: unset;
    border: none;
    font-weight: bold;
    font-size: 0.85rem;
    opacity: 100%;
    border-bottom: 3px solid #4187f3;
    width: 140px;
  }

  .ecg-cardlist .nav-tabs .nav-item.show .nav-link,
  .ecg-cardlist .nav-tabs .nav-link {
    color: #fff;
    background-color: unset;
    border-color: unset;
    border: none;
    font-weight: lighter;
    font-size: 0.85rem;
    opacity: 60%;
    width: 140px;
    white-space: nowrap;
  }

  .ecg-cardlist .view-all {
    position: absolute;
    right: -20rem;
    color: #4187f3;
    font-weight: 800;
    padding-left: 4rem;
  }

  .mainBody .clubHomeImageCard .title-right h1 {
    font-weight: bold;
    font-size: 1.75rem;
    margin-top: 2rem;
  }

  .mainBodyHome .ecg-cardlist .btn-read-more1 {
    margin-top: 0;
  }

  .mainBodyHome .ecg-cardlist .carousel-indicators-ecgclubList {
    position: absolute;
    right: 0;
    bottom: -20px;
    left: -80px;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 0;
    margin-bottom: 100px;
    margin-left: 85%;
    list-style: none;
  }

  .ecg-cardlist,
  .ecg-news {
    margin-top: 5rem;
  }

  .box-title-srction .srction-title-center {
    color: #fff;
    display: inline-block;
    font-size: 2.25rem;
    font-weight: bold;
  }

  .btn-outline-info {
    color: #4187f3;
    border-color: #4187f3;
    width: 15rem;
    font-weight: bold;
    font-size: 1.125rem;
    padding: 0.8rem;
  }

  .ecg-news .news-card img.thumbnail-card {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .ecg-news-slick .slick-dots {
    position: absolute;
    right: 0;
    bottom: -115px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 100px;
    margin-left: 0;
    list-style: none;
  }

  .home-banner-bottom {
    margin-top: 2rem;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner {
    position: absolute;
    top: 3rem;
    left: 3rem;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    h3 {
    color: #fff;
    background-color: #4187f3;
    padding: 0.5rem 0.8rem 0.5rem 0.8rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: bold;
    cursor: default;
    text-align: center;
    width: 30%;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    .title-banner
    h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    width: 65%;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    p {
    color: #fff;
    opacity: 60%;
    font-size: 1.2rem;
    width: 65%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-banner-inside-container
    .home-profile
    .home-glass2
    .title-box3
    .card-table {
    height: 100%;
    width: 100%;
    padding-bottom: 15px;
  }
  .home-banner-inside-container
    .home-profile
    .home-glass2
    .title-box3
    .card-table
    img {
    padding: 0;
    z-index: 1;
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .home-banner-inside-container
    .home-profile
    .home-glass2
    .title-box3
    .card-table
    .card-white {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: #fff;
    border-radius: 20px;
    margin: 0;
    z-index: -1;
  }

  #footerNonLogin .menu-list-footer {
    margin-left: 0;
    white-space: normal;
  }

  #footerNonLogin .logoEcgAtFooter {
    justify-content: center;
  }

  #footerNonLogin {
    padding: 0;
  }

  .bottom-nav {
    display: flex;
    justify-content: space-between;
    position: fixed;
    height: 4rem;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    background-color: #27396d;
    z-index: 9999;
    will-change: transform;
    transform: translateZ(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
  }

  .bottom-nav a {
    text-decoration: none;
    align-self: center;
  }

  .bottom-nav a .bottom-nav-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    color: #f1f5f8;
    opacity: 0.6;
    text-decoration: none;
  }

  .bottom-nav a .bottom-nav-item {
    color: #f1f5f8;
    text-decoration: none;
  }

  .bottom-nav a .bottom-nav-item.active {
    color: #f1f5f8;
    opacity: 1;
  }

  .bottom-nav a .bottom-nav-item .bottom-nav-link {
    display: flex;
    flex-direction: column;
  }

  .bottom-nav a .bottom-nav-item .bottom-nav-link span {
    margin-top: 5px;
    font-size: 0.65rem;
    font-weight: 600;
  }

  #navbarResponsive_login .navbar-collapse .nav-item {
    display: none;
  }

  #navbarResponsive_login .navbar-collapse {
    width: 100%;
    height: 100vh;
    z-index: 999;
    padding: 3rem 2rem;
    top: 0;
    position: fixed;
    margin-left: 750px;
    background-color: #0f1920;
    transition: 0.6s all;
    overflow: hidden scroll;
  }

  #navbarResponsive_login .navbar-collapse.show {
    margin-left: -24px;
  }

  #navbarResponsive_login .navbar-collapse .fa-xmark {
    display: block;
    font-size: 1.5rem;
  }

  #navbarResponsive_login .mobile-menu {
    display: block;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item img {
    width: 2rem;
    margin: 0 1rem;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item a {
    padding: 1.5rem 5rem 1.5rem 0;
    color: unset;
    text-decoration: none;
  }

  #navbarResponsive_login .notification {
    position: relative;
    margin-right: 5px;
    padding: 0;
  }

  #navbarResponsive_login .notification svg {
    width: 1.8rem;
    height: 1.8rem;
    color: #fff;
  }

  #navbarResponsive_login .notification .colorRed {
    width: 17px;
    height: 17px;
    background: #eb2f06;
    position: absolute;
    right: -5px;
    border-radius: 100px;
    top: -2px;
    border: 3px solid #4187f3;
  }

  #navbarResponsive_login .notification-content {
    display: block;
  }

  #navbarResponsive_login .notification-content span {
    padding: 6px 9px 7px 10px;
    border-radius: 20px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 12px;
  }

  #navbarResponsive_login .notification-content #notification-box-mobile {
    height: 85%;
    overflow: hidden scroll;
    border-radius: 20px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .notification-item {
    padding: 1rem 0;
    border-bottom-style: solid;
    border-bottom-color: rgba(159, 163, 166, 20%);
    border-bottom-width: 1px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .notification-item:not(.isread) {
    background: #040f16;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-image {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
    margin-left: 18px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-desc {
    padding-top: 0.5rem;
    padding-left: 0;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-desc
    .notification-title
    h4 {
    font-size: 0.8rem;
    white-space: unset;
    width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 4px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-desc
    .notification-detail
    span {
    padding: 0;
    color: gray;
    cursor: pointer;
    background: unset;
    transition: all 0.2s;
    font-size: 0.75rem;
    font-weight: 100;
    margin-left: 0;
  }

  #navbarResponsive_login .navbar-toggler .fa-bars {
    font-size: 1.85rem;
  }

  .clubhomeMainBody .carousel-ecgclub .cardGlass {
    padding: 1.5rem 1rem 1.5rem 1rem;
    margin-bottom: 2.5rem;
    height: 755px;
  }

  .navbarMainNonLogin .navbar-collapse {
    width: 100%;
    height: 100vh;
    z-index: 9999;
    padding: 3rem 2rem;
    top: 0;
    position: fixed;
    margin-left: 780px;
    background-color: #0f1920;
    transition: 0.6s all;
  }

  .navbarMainNonLogin .navbar-collapse.show {
    margin-left: -40px;
  }

  .navbarMainNonLogin .navbar-collapse .fa-xmark {
    display: block;
    font-size: 2rem;
  }

  .qrcode-container {
    display: none;
  }

  .mainBodyHomeInside .clubHomeImageCard .desc-bottom-title {
    /* height: 140px; */
    display: -webkit-box;
    max-width: 100%;
    height: 125px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mainBodyHomeInside .ecg-cardlist .btn-read-more1 {
    position: absolute;
    bottom: 10px;
  }

  .mainCategory .carousel-item .carousel-contant {
    color: #fff;
    height: 100%;
    margin-left: 4rem;
    margin-right: 0rem;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    z-index: 1;
    top: 0px;
    width: 92%;
  }
}
/*   Iphone Pro Max   */
@media (max-width: 480px) {
  .agentPort {
    padding-bottom: 0px !important;
  }
  .design_img_bankbookAdd {
    padding-bottom: 0px !important;
  }
  .design_img_bankbookAdd label.error {
    top: 53px;
    left: -16px;
  }
  .invmentDetail {
    padding-bottom: 0px !important;
  }
  .mainInterested {
    padding-bottom: 0px !important;
  }
  .mainCategory {
    padding-bottom: 0px !important;
  }
  .invReservation {
    padding-bottom: 0px !important;
  }
  .showProfile {
    padding-bottom: 0px !important;
  }
  .home-banner-container .home-banner .ecgClubCarousel .carousel-ecgclub img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 30px;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner {
    position: absolute;
    top: 2rem;
    left: 2rem;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    h3 {
    color: #fff;
    background-color: #4187f3;
    padding: 0.4rem 0.2rem 0.4rem 0.2rem;
    border-radius: 40px;
    font-size: 12px;
    font-weight: bold;
    cursor: default;
    text-align: center;
    width: 45%;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    .title-banner
    h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    width: 80%;
  }

  .home-banner-container
    .home-banner
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    p {
    color: #fff;
    opacity: 60%;
    font-size: 0.75rem;
    width: 85%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-read-more {
    width: 35%;
    padding: 0.35rem 0.5rem;
  }

  .btn-outline-info {
    color: #4187f3;
    border-color: #4187f3;
    width: 15rem;
    font-weight: bold;
    font-size: 0.75rem;
  }

  .mainBody .carousel-indicators-ecgclubHome {
    position: absolute;
    right: 0;
    left: 200px;
    bottom: -75px;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 100px;
    margin-left: 15%;
    list-style: none;
  }

  .carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 7px;
    height: 7px;
    padding: 0;
    margin-right: 2.5px;
    margin-left: 2.5px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.5;
    transition: opacity 0.6s ease;
  }

  .carousel-indicators .active {
    opacity: 1;
    background-color: #fff;
    width: 20px;
  }

  .ecg-cardlist,
  .ecg-news {
    margin-top: 3rem;
  }

  .box-title-srction .srction-title-center {
    color: #fff;
    display: inline-block;
    font-size: 1.75rem;
    font-weight: bold;
  }

  .ecg-cardlist .nav-tabs {
    border-bottom: 1px solid #4187f3;
    justify-content: normal;
    display: flex;
    flex-wrap: nowrap;
    overflow: scroll hidden;
    position: relative;
    width: 100%;
  }

  .ecg-cardlist .nav-tabs .nav-item {
    margin: 0;
  }

  .ecg-cardlist .nav-tabs .nav-item.show .nav-link,
  .nav-tabs .nav-link.active {
    color: #00aa9d;
    background-color: unset;
    background-color: unset;
    border-color: unset;
    border: none;
    font-weight: bold;
    font-size: 10px;
    opacity: 100%;
    width: 140px;
  }

  .ecg-cardlist .nav-tabs .nav-item.show .nav-link,
  .nav-tabs .nav-link {
    color: #fff;
    background-color: unset;
    border-color: unset;
    border: none;
    font-weight: lighter;
    font-size: 10px;
    opacity: 60%;
    width: 140px;
  }

  .ecg-cardlist .view-all {
    position: absolute;
    right: -20rem;
    color: #4187f3;
    font-weight: 800;
    padding-left: 4rem;
  }

  .mainBody .clubHomeImageCard .title-right h1 {
    font-weight: bold;
    font-size: 1.25rem;
    margin-top: 1rem;
  }

  .mainBody .clubHomeImageCard .bottom-title-right .hour,
  .mainBody .clubHomeImageCard .bottom-title-right .view {
    color: #4187f3 !important;
    text-decoration: none;
    font-size: 0.75rem;
    font-family: "Kanit SemiBold";
  }

  .mainBody .clubHomeImageCard .bottom-title-right .hour svg,
  .mainBody .clubHomeImageCard .bottom-title-right .view svg {
    width: 1rem;
  }

  .mainBody .clubHomeImageCard .bottom-title-right .line {
    opacity: 20%;
    margin: 20px 0;
  }

  .mainBody .clubHomeImageCard .desc-bottom-title h5 {
    color: #ffffff;
    opacity: 60%;
    font-weight: normal;
    font-size: 0.75rem;
    font-family: Kanit Regular;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
  }

  .mainBodyHome .ecg-cardlist .btn-read-more1 {
    position: relative;
    /* bottom: -25px; นำออกเพราะ Device จริงทำให้ปุ่มตกขอบ */
    top: -25 !important; /*มือถือจริงต้องใช้ขนาดนี้ 07/03/66*/
  }

  .btn-outline-info {
    color: #4187f3;
    border-color: #4187f3;
    width: 15rem;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 0.5rem;
    margin-bottom: 2rem;
  }

  .mainBodyHome .ecg-cardlist .carousel-indicators-ecgclubList {
    position: absolute;
    right: 0;
    bottom: -30px;
    left: -100px;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 0;
    margin-bottom: 100px;
    margin-left: 85%;
    list-style: none;
  }

  .mainBody .carousel-ecgclub .cardGlass {
    padding: 2.5rem 2rem 0rem 2rem;
    margin-bottom: 2.5rem;
  }

  .ecg-news .news-card img.thumbnail-card {
    height: 150px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .ecg-news .news-card {
    padding-bottom: 0;
  }

  .ecg-news .news-card .card-body {
    padding: 0.75rem;
  }

  .ecg-news .news-card .card-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.65;
  }

  .ecg-news .news-card .box-card-footer p svg {
    width: 0.85rem;
    margin-right: 0;
    margin-bottom: 0;
    color: #4187f3;
  }

  .ecg-news .news-card .box-card-footer p {
    margin-right: 5px !important;
    font-size: 0.6rem;
    font-weight: 200;
    margin-bottom: 0 !important;
    color: #4187f3;
    /* letter-spacing: 0px; */
  }

  .ecg-news .slick-dots li.slick-active {
    opacity: 1;
    background-color: #fff;
    width: 20px;
  }

  .ecg-news .slick-dots [role] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 8px;
    height: 8px;
    padding: 0;
    margin-right: 2.5px;
    margin-left: 2.5px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.5;
    transition: opacity 0.6s ease;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner {
    position: absolute;
    top: 2rem;
    left: 2rem;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    border-radius: 30px;
  }

  .home-banner-bottom {
    margin-top: 2rem;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    h3 {
    color: rgb(255, 255, 255);
    background-color: #4187f3;
    padding: 0.4rem 0.2rem;
    border-radius: 40px;
    font-size: 12px;
    font-weight: bold;
    cursor: default;
    text-align: center;
    width: 45%;
  }
  .home-banner-bottom .carousel-ecgclub {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 310px;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    .title-banner
    h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    width: 80%;
  }

  .home-banner-container
    .home-banner-bottom
    .ecgClubCarousel
    .carousel-ecgclub
    .content-banner
    .group-text-on-banner
    p {
    color: #fff;
    opacity: 60%;
    font-size: 0.75rem;
    width: 60%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
  }

  .home-banner-inside-container .home-profile .box1 .investor-name {
    padding: 1.85rem 0;
    font-weight: bold;
    color: #4187f3;
    font-size: 1.85rem;
    text-align: center;
  }

  .home-banner-inside-container .home-profile .box1 .payoff-amount {
    color: #fff;
    font-size: 2.85rem;
    font-weight: 600;
    width: 100%;
  }

  .home-banner-inside-container .home-profile .home-glass {
    /* height: 420px; */
    height: unset;
  }

  .home-banner-inside-container .home-profile .box1 .box1-detail {
    padding: 1rem 0rem 1rem 0rem;
  }

  .home-banner-inside-container .home-profile .box2 .payoff-detail {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    width: 100%;
  }

  .home-banner-inside-container .home-profile .box2 .investor-name {
    display: none;
  }

  .home-banner-inside-container
    .home-profile
    .box2
    .box2-detail
    .contact-ecg
    .left {
    margin: 0.5rem 0;
    vertical-align: middle;
    padding-top: 8px;
    font-size: 0.85rem;
    white-space: normal;
    display: flex;
    position: relative;
    top: -2px;
    font-family: "Kanit Regular";
    font-weight: 700;
  }

  .home-banner-inside-container .home-profile .box2 .box2-detail .contact-ecg {
    display: flex;
    flex-wrap: nowrap;
    background-color: rgb(65 134 243 / 18%);
    width: 100%;
    padding: 0.5rem;
    border-radius: 10px;
    position: unset;
    margin: unset;
    align-items: center;
    justify-content: space-around;
  }

  .home-banner-inside-container
    .home-profile
    .box2
    .box2-detail
    .contact-ecg
    .right {
    margin: 0;
    display: flex;
  }

  .home-banner-inside-container .home-profile .box2 .box2-detail {
    padding: 2rem 0rem 2rem 0rem;
  }

  .home-banner-inside-container .home-profile .home-glass2 {
    /* height: 900px; */
    /* padding: 2rem 2rem; */
  }
  .home-banner-inside-container
    .home-profile
    .home-glass2
    .title-box3
    .card-table {
    height: 100%;
    width: 100%;
    padding-bottom: 35px;
  }
  .home-banner-inside-container
    .home-profile
    .home-glass2
    .title-box3
    .card-table
    img {
    padding: 0;
    z-index: 1;
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .home-banner-inside-container
    .home-profile
    .home-glass2
    .title-box3
    .card-table
    .card-white {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: #fff;
    border-radius: 20px;
    margin: 0;
    z-index: -1;
  }

  .home-banner-inside-container .home-profile .calendar {
    margin-top: 2.375rem;
    backdrop-filter: blur(5px);
    filter: blur(10px);
  }

  .home-banner-inside-container .title-box3 {
    padding: 1rem;
    margin-top: 0;
    position: relative;
  }

  .home-banner-inside-container .home-profile .calendar .fc-header-toolbar {
    padding: 0;
    background-color: #4187f3;
    margin-bottom: 0 !important;
    border-radius: 15px 15px 0 0;
  }

  .home-banner-inside-container .fc .fc-toolbar-title {
    font-size: 1rem !important;
    margin: 0.5rem 0 0.5rem -2rem !important;
  }

  .calendar .fc-daygrid-day-top .fc-daygrid-day-number,
  .calendar .fc-scrollgrid-sync-inner .fc-col-header-cell-cushion {
    color: #fff;
    text-decoration: none;
    opacity: 100%;
    font-size: 0.75rem;
  }

  .home-banner-inside-container .calendar {
    height: 310px !important;
  }

  .home-banner-inside-container .home-profile .home-glass2 .title-box3 h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    /* letter-spacing: 1.5; */
  }

  .alert-on-calendar {
    position: absolute;
      z-index: 1;
      top: 35%;
      right: 22%;
    font-size: 1.25rem;
    font-weight: 300;
  }

  .contractManage tbody tr td {
    white-space: nowrap;
    width: auto;
  }

  .home-banner-inside-container .ecg-cardlist .view-all {
    position: absolute;
    right: -20rem;
    color: #4187f3;
    font-weight: 800;
    width: max-content;
  }

  #view_all {
    position: absolute;
    right: -10rem;
    color: #4187f3;
    font-weight: 800;
    width: max-content;
  }

  .mainBodyHomeInside .clubHomeImageCard .image-left img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
  }

  .mainBodyHomeInside .clubHomeImageCard .bottom-title-right .line {
    opacity: 20%;
    margin: 5px 0 20px 0 !important;
  }

  .mainBodyHomeInside .ecg-cardlist .btn-read-more2 {
    margin-top: -4rem;
  }

  .mainBodyHome .ecg-cardlist .carousel-indicators-ecgclubList {
    position: absolute;
    right: 0;
    bottom: -30px;
    left: -65px;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 0;
    margin-bottom: 100px;
    margin-left: 85%;
    list-style: none;
  }

  .mainCalendar .calendar-container .calendar-section .title-align-center {
    padding: 0;
    margin-top: 1rem;
  }

  .mainCalendar .calendar-container .calendar-section .title-align-center h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
  }

  .mainCalendar
    .calendar-container
    .calendar-section
    .calendar-detail
    .set-padding-calendar {
    padding: 2rem 1rem;
  }

  .mainCalendar .calendar {
    height: 660px;
  }

  .mainCalendar .calendar .fc-scrollgrid-sync-table {
    width: 445px;
  }

  .mainCalendar .calendar .fc-header-toolbar {
    display: grid;
    text-align: center;
  }

  .mainCalendar .calendar .fc-header-toolbar .fc-toolbar-chunk {
    margin: 1rem 0;
  }

  .mainCalendar .fc .fc-toolbar-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 !important;
  }

  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton1-button.active,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton2-button.active,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton3-button.active {
    background-color: #4187f3;
    color: #fff;
    transition: 0.5s;
    font-weight: bold;
    font-size: 1rem;
    width: 90%;
    margin-bottom: 0.5rem;
  }

  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton1-button,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton2-button,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-myCustomButton3-button {
    border-radius: 30px;
    border: unset;
    padding: 0.5rem 2.75rem;
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(159, 163, 166, 0.05);
    font-weight: 600;
    font-size: 1rem;
    width: 90%;
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  .mainCalendar .fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: -1.5em;
  }

  .mainCalendar .fc .fc-button-group {
    position: relative;
    display: flex;
    vertical-align: middle;
    width: 25%;
    float: right;
  }

  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-button-group
    .fc-prev-button,
  .mainCalendar
    .fc
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-button-group
    .fc-next-button {
    background-color: unset;
    border: unset !important;
    padding: 10px 0;
    margin-right: 1.5rem;
  }

  .mainCalendar .fc .fc-scroller-harness-liquid {
    overflow: scroll;
  }

  .mainCalendar .fc .fc-scroller-harness-liquid .fc-scroller {
    overflow: unset !important;
    width: 100%;
  }

  .mainCalendar .fc .fc-daygrid-day-number {
    position: relative;
    z-index: 4;
    padding: 0px;
    font-size: 0.75rem;
  }

  .mainCalendar .fc .fc-daygrid-day-top {
    position: inherit;
    top: 5px;
    right: 5px;
    margin-bottom: 10px;
    font-size: 1.25rem;
  }

  .calendar-section
    .calendar-detail
    .calendar
    .fc-daygrid-event-harness
    a.event {
    border-color: rgb(86, 151, 230);
    background-color: rgb(86, 151, 230);
    text-align: center;
    padding: 2px 5px;
    font-size: 0.75rem;
    margin-bottom: 0.125rem;
  }

  .calendar-section
    .calendar-detail
    .calendar
    .fc-daygrid-event-harness
    a.payoff {
    border-color: rgb(0, 170, 157);
    background-color: rgb(0, 170, 157);
    text-align: center;
    padding: 2px 5px;
    font-size: 0.75rem;
    font-weight: 300;
    margin-bottom: 0.125rem;
  }

  @-moz-keyframes scroll-left {
    0% {
      -moz-transform: translateX(100%);
    }
    100% {
      -moz-transform: translateX(-70px);
    }
  }

  @-webkit-keyframes scroll-left {
    0% {
      -webkit-transform: translateX(100%);
    }
    100% {
      -webkit-transform: translateX(-70px);
    }
  }

  @keyframes scroll-left {
    0% {
      -moz-transform: translateX(100%);
      -webkit-transform: translateX(100%);
      transform: translateX(100%);
    }
    100% {
      -moz-transform: translateX(-100%);
      -webkit-transform: translateX(-100%);
      transform: translateX(-70px);
    }
  }

  .mainCalendar .fc-event-title-container {
    height: 20px;
    width: 10px;
    overflow: hidden;
    position: relative;
  }

  .mainCalendar .fc-event-title {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 17px;
    text-align: center;
    transform: translateX(100%);
    animation: scroll-left 6s linear infinite;
  }

  .mainCalendar .fc-h-event .fc-event-title {
    display: inline-block;
    vertical-align: top;
    left: 0;
    right: 0;
    max-width: 100%;
    overflow: unset !important;
  }

  .mainCalendar
    .fc
    .fc-daygrid-day.fc-day-today
    .fc-daygrid-day-frame
    .fc-daygrid-day-top
    .fc-daygrid-day-number {
    background-color: #4187f3;
    padding: 2px 14px 2px 8px;
    border-radius: 50%;
    width: 28%;
    text-align: center;
  }

  .mainCalendar .calendar-container .calendar-section .btn-back {
    padding: 0;
    font-size: 1.125rem;
    margin-left: 5px;
  }

  /* .mainCalendar .breadcrumb .breadcrumb-item a {
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
    } */

  .breadcrumb .breadcrumb-item {
    /* opacity: 1; */
    /* font-size: 1rem; */
    font-size: 0.6rem;
  }

  .clubhomeMainBody .breadCrumbNav {
    padding-left: 3rem;
    padding-top: 0;
    padding-bottom: 2rem;
  }

  .clubhomeMainBody .contentClubHome .clubHomeImageCard h4 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .clubhomeMainBody .contentClubHome .clubHomeImageCard h3 {
    font-size: 2.25rem;
    font-weight: normal;
    margin: 0.5rem 0 !important;
    color: #fff;
  }

  .clubhomeMainBody .mission-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding-bottom: 1rem;
    margin-bottom: 0;
  }

  .clubhomeMainBody .box-list-card {
    margin-top: 1.5rem;
  }

  .clubhomeMainBody .box-list-card .set-padding-mobile {
    padding: 0;
  }

  .clubhomeMainBody .mission-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #081c2a;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.65;
  }

  .clubhomeMainBody .box-title-srction .srction-title-center {
    color: #fff;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
    margin-left: 0;
  }

  .clubhomeMainBody .clubHomeImageCard .image-left img {
    width: 100%;
    height: 165px;
    border-radius: 15px;
    object-fit: cover;
  }

  .clubhomeMainBody .carousel-ecgclub .cardGlass {
    padding: 1.5rem 1rem 1.5rem 1rem;
    margin-bottom: 2.5rem;
    height: 430px;
  }

  .clubhomeMainBody .news-card {
    padding-bottom: 0;
    margin-bottom: 2rem;
    width: 160px;
  }

  .clubhomeMainBody .news-card .box-card-footer .me-4 {
    margin-right: 0.5rem !important;
  }

  .clubhomeMainBody .top500ranking .top500ranking-detail .rank-card {
    border-radius: 20px;
    background-image: -webkit-linear-gradient(
      left,
      #d0d0d0 10%,
      rgb(240, 240, 240) 90%
    );
    padding: .75rem;
  }

  .clubhomeMainBody .set-mb-mobile {
    margin-bottom: 1.5rem;
  }

  .clubhomeMainBody .top500ranking .top500ranking-title h3 {
    color: #fff;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
  }

  .investor-port-mainbody .box-title-center h3 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: bold;
  }

  .investor-port-mainbody .cardGlass .title-glass {
    font-size: 1.75rem;
    color: #4187f3;
    font-weight: bold;
    text-align: center;
    padding: 3rem 0 0 0;
  }

  .investor-port-mainbody .position-card-ivp {
    text-align: center;
    padding-top: 1.25rem;
  }

  /* .investor-port-mainbody .h-card_ivp {
        height: 425px;
        padding: 40px 20px;
    } */

  .investor-port-mainbody .font-title-ivp {
    font-size: 3rem !important;
  }

  /* .investor-port-mainbody .s-word_ivp {
        font-size: unset;
    } */

  .investor-port-mainbody .wnumber_ivp {
    font-size: 1.45rem;
    font-weight: bold;
  }

  .investor-port-mainbody .progress-r {
    width: 100%;
    background-color: white;
    border-radius: 15px;
    height: 10px;
  }

  .investor-port-mainbody .alert {
    margin-top: 0;
    background: rgb(231, 76, 60, 0.4);
    color: white;
    border: 14px;
    font-size: 0.85rem;
  }

  .investor-port-mainbody .cg-ivp {
    height: auto;
    margin-bottom: 2rem !important;
    margin-top: 1rem;
  }

  .investor-port-mainbody .content-cardGlass-sm {
    margin-top: 0;
    height: 160px;
  }

  .investor-port-mainbody .right-word2 {
    float: right;
    padding-right: 0;
    width: 12px;
    height: 20px;
    position: relative;
    top: 4px;
  }

  .investor-port-mainbody tbody tr td p {
    margin-bottom: 0;
    display: inline-block;
    font-size: 0.8rem;
  }

  .investor-port-mainbody .title-payoff {
    font-size: 1.15rem;
    color: white;
  }

  .investor-port-mainbody .title-payoff a {
    font-size: 1.15rem;
    font-weight: 200;
    color: white;
  }

  .investor-port-mainbody .w-dtbt-card {
    font-size: 1.15rem;
    margin-top: 30px;
    margin-bottom: 0 !important;
  }

  .investor-port-mainbody .card-glass-cover {
    background: #425edd14;
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    margin-top: 1rem;
    margin-left: 0.25rem;
  }

  .investor-port-mainbody .mission-card .card-body .box-card-footer p {
    color: #081c2a;
    font-size: 0.9rem;
    font-weight: 700;
  }

  .investor-port-mainbody .mission-card .card-title {
    font-size: 1rem;
    font-family: "Kanit Bold";
    font-weight: bold;
    color: #081c2a;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.65;
  }

  .investor-port-mainbody .t-ft2 {
    padding-top: 0;
    color: #707070 !important;
    font-size: 0.85rem !important;
    margin-top: 0 !important;
  }

  .investor-port-mainbody .ws-36 {
    font-size: 1.25rem;
  }

  .investor-port-mainbody .right-word {
    float: left;
    padding-right: 0;
  }
  .investor-port-mainbody .right-word2 {
    float: right;
    padding-right: 0;
  }

  .investor-port-mainbody .ws-24 {
    font-size: 1.25rem;
  }

  .investor-port-mainbody .empty-col {
    display: none;
  }

  .investor-port-mainbody .mission-card img {
    background: #4187f3;
    border-radius: 20px;
    object-fit: cover;
    height: 130px;
  }

  .investor-port-mainbody .btn-outline-info-ivp {
    color: #4187f3;
    border-color: #4187f3;
    font-weight: bold;
    font-size: 1.125rem;
    border-radius: 50px;
    margin-left: 10px;
    width: auto;
  }

  .investor-port-mainbody .btn-ivp-active {
    color: #fff;
    border-color: #4187f3;
    font-weight: bold;
    font-size: 1.125rem;
    border-radius: 50px;
    margin-left: 0;
    width: auto;
  }

  .investor-port-mainbody .searchbar {
    width: 100%;
    height: 60px;
    border-radius: 3px;
    border-style: none;
    background: #425edd14;
    display: flex;
    border-radius: 10px;
  }

  .investor-port-mainbody .overflowScroll {
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 0 10px 0 10px;
  }

  .investor-port-mainbody .table-section {
    padding: 0;
    /* width: 100%; */
    overflow-x: auto;
    overflow-y: auto;
    /* white-space: nowrap; */
  }

  .investor-port-mainbody .box-badge-ivp {
    border-radius: 5px;
    height: 40px;
    padding-left: 1rem;
  }

  .investor-port-mainbody thead {
    /* display: block; */
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .investor-port-mainbody tbody {
    display: block;
  }

  .investor-port-mainbody tbody {
    /* height: 600px; */
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .investor-port-mainbody tbody tr {
    display: table;
    width: 120rem;
    table-layout: fixed;
  }

  .investor-port-mainbody thead tr th {
    white-space: nowrap;
    padding: 1.5rem 5px;
    text-align: center;
  }

  .investor-port-mainbody tbody tr td {
    white-space: nowrap;
    width: auto;
  }

  .investor-port-mainbody .iput-search:focus {
    box-shadow: unset;
  }

  .investor-port-mainbody .iput-search::-webkit-search-cancel-button {
    position: relative;
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background: url("/assets/img/xmark-solid.svg") no-repeat 50% 50%;
  }

  .club-privilege-detail-mainBody .box-card-footer .text-score {
    margin-left: 0;
  }

  .club-privilege-detail-mainBody .newsCarousel .box-image img {
    height: 410px !important;
    width: 100%;
    object-fit: cover;
  }

  .club-privilege-detail-mainBody .card.news-card {
    height: 275px;
  }

  .club-privilege-detail-mainBody .news-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.35;
  }

  .club-privilege-detail-mainBody .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 5px !important;
    padding-left: 0 !important;
  }

  .club-privilege-detail-mainBody .bg-cl-cpd-btn {
    background-color: #4187f3;
    color: white;
    font-size: 1rem;
  }

  .contract-list-mainBody .h1-mncontract {
    padding-top: 5px;
    font-size: 1.825rem;
    /* margin-left: 5.75rem; */
  }

  .contract-list-mainBody .Sortby-btn {
    background: unset;
    color: white;
    width: auto;
    margin: 0 6px;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
  }

  .contract-list-mainBody thead {
    /* display: block; */
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .contract-list-mainBody tbody {
    display: block;
  }

  .contract-list-mainBody tbody {
    height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .contract-list-mainBody tbody tr {
    display: table;
    width: 120rem;
    table-layout: fixed;
  }

  .contract-list-mainBody thead tr th {
    white-space: nowrap;
    padding: 1.5rem 5px;
    text-align: center;
  }

  .contract-list-mainBody tbody tr td {
    white-space: nowrap;
    width: 10%;
  }

  .contract-list-mainBody .table-overflow {
    overflow-y: auto;
    overflow-x: auto;
    width: 1500px;
    padding: 0;
  }

  #footerNonLogin {
    padding: 0;
  }

  #footerNonLogin .menu-list-footer {
    margin-left: 0;
    white-space: normal;
  }

  #footerNonLogin .logoEcgAtFooter {
    justify-content: center;
  }

  #footerNonLogin .social-contact,
  #footerNonLogin .policy-term {
    justify-content: center;
  }

  #footerNonLogin .ico-footer {
    margin: 0 1rem;
  }

  #footerCopyright .box-copyright .copyright {
    color: #fff;
    font-size: 16px;
  }

  .showProfileEap .documentCard .underline h4 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
  }

  .showProfileEap .documentCard .underline i {
    font-size: 1.25rem;
  }

  .qrcode-container {
    display: none;
  }

  /* responsive side menubar */
  .navbarMainNonLogin .navbar-collapse {
    width: 100%;
    height: 100vh;
    z-index: 9999;
    padding: 3rem 2rem;
    top: 0;
    position: fixed;
    margin-left: 470px;
    background-color: #0f1920;
    transition: 0.6s all;
  }

  .bottom-nav {
    display: flex;
    justify-content: space-between;
    position: fixed;
    height: 5rem;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    background-color: #27396d;
    z-index: 9999;
    will-change: transform;
    transform: translateZ(0);
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 3px rgb(0 0 0 / 24%);
  }

  .navbarMainNonLogin .navbar-collapse.show {
    margin-left: -40px;
  }

  .navbarMainNonLogin .navbar-collapse .fa-xmark {
    display: block;
    font-size: 1.5rem;
  }

  .navbarMainNonLogin.navbar-light .navbar-nav .nav-item {
    margin-top: 1rem;
  }

  #navbarResponsive_login .navbar-collapse .nav-item {
    display: none;
  }

  #navbarResponsive_login .navbar-collapse {
    width: 100%;
    height: 100vh;
    z-index: 999;
    padding: 2rem 1rem 5rem 1rem;
    margin-bottom: 2rem;
    top: 0;
    position: fixed;
    margin-left: 470px;
    background-color: #0f1920;
    transition: 0.6s all;
    overflow: hidden scroll;
  }

  #navbarResponsive_login .navbar-collapse.show {
    margin-left: -20px;
  }

  #navbarResponsive_login .navbar-collapse .fa-xmark {
    display: block;
    font-size: 1.5rem;
  }

  #navbarResponsive_login .mobile-menu {
    display: block;
  }

  #navbarResponsive_login .profile-top {
    margin-top: 2rem;
  }

  #navbarResponsive_login .profile-top img.profileImg {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    background: #ffffff4a;
  }

  #navbarResponsive_login .menu-box ul.menu-list {
    list-style: none;
    padding-left: 0;
    width: 100%;
    text-align: start;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item {
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 500;
    /* padding: 0.35rem 0; */
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.5),
      transparent
    );
    /* border-image-slice: 1; test ให้เอาเส้นออก */
    border-image-slice: 0;
    width: 100%;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item a {
    padding: 1.5rem 4rem 1.5rem 0;
    color: unset;
    text-decoration: none;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item img {
    width: 2rem;
    margin-right: 1rem;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item:first-child {
    margin-top: 0;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item:last-child {
    border-bottom: none;
  }

  #navbarResponsive_login .menu-box ul.menu-list li.menu-item.active {
    color: #fff;
  }

  #navbarResponsive_login .navbar-collapse .line-gadient {
    background-image: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 1),
      transparent
    );
    border: 0;
    height: 1px;
    /* opacity: 1; test ให้เอาเส้นออก */
    opacity: 0;
    margin-bottom: 0;
  }

  .bottom-nav a .bottom-nav-item .bottom-nav-link span {
    margin-top: 8px;
    font-size: 10px;
    font-weight: 200;
    white-space: nowrap;
  }

  .bottom-nav a {
    text-decoration: none;
    align-self: center;
  }

  #navbarResponsive_login .notification {
    position: relative;
    margin-right: 5px;
    padding: 0;
  }

  #navbarResponsive_login .notification svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #fff;
  }

  #navbarResponsive_login .notification .colorRed {
    width: 15px;
    height: 15px;
    background: #eb2f06;
    position: absolute;
    right: -8px;
    border-radius: 100px;
    top: -2px;
    border: 3px solid #4187f3;
  }

  #navbarResponsive_login #navcol-3 {
    width: 100%;
    height: 100vh;
    z-index: 999;
    padding: 3rem 1.5rem;
    margin-bottom: 2rem;
    top: 0;
    position: fixed;
    margin-left: 770px;
    background-color: #0f1920;
    transition: 0.6s ease;
    overflow: hidden scroll;
  }

  #navbarResponsive_login #navcol-3.show {
    margin-left: -16px;
    transition: 0.6s ease;
  }

  #navbarResponsive_login .notification-content {
    display: block;
  }

  #navbarResponsive_login .notification-content #notification-box-mobile {
    height: 85%;
    overflow: hidden scroll;
    border-radius: 20px;
  }

  #navbarResponsive_login .notification-content span {
    padding: 5px 9px 7px 10px;
    border-radius: 20px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 12px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .notification-item {
    padding: 1rem 0;
    border-bottom-style: solid;
    border-bottom-color: rgba(159, 163, 166, 20%);
    border-bottom-width: 1px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .notification-item:not(.isread) {
    background: #040f16;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-image {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
    margin-left: 0;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-desc {
    padding-top: 0.5rem;
    padding-left: 1.5rem;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-desc
    .notification-title
    h4 {
    font-size: 0.8rem;
    white-space: unset;
    width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 4px;
  }

  #navbarResponsive_login
    .notification-content
    #notification-box-mobile
    .noti-desc
    .notification-detail
    span {
    padding: 0;
    color: gray;
    cursor: pointer;
    background: unset;
    transition: all 0.2s;
    font-size: 0.75rem;
    font-weight: 100;
    margin-left: 0;
  }

  #navbarResponsive_login .navbar-toggler .fa-bars {
    font-size: 1.25rem;
  }

  .clubhomeMainBody .contentClubHome .clubHomeImageCard {
    padding: 1rem 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .clubhomeMainBody .contentClubHome .clubHomeImageCard .text-founder1 p {
    /* display: none; */
    position: relative;
    font-size: 12px;
    top: 20px;
    left: -30px;
  }

  .clubhomeMainBody .contentClubHome .clubHomeImageCard .founder_img_circle {
    border: 4px solid #9fa3a6;
    border-radius: 100%;
    background-color: #fff;
    width: 3.25rem;
    height: 3.25rem;
    position: relative;
    left: 270px;
    top: 18px;
  }

  .clubhomeMainBody
    .contentClubHome
    .clubHomeImageCard
    .founder_img_circle
    .founder-text-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #9fa3a6;
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8px;
  }

  .clubhomeMainBody .btnUploadIcon {
    width: 1.5rem;
    height: 1.5rem;
    background: #9fa3a6;
    border-radius: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    right: -8px;
    top: -8px;
  }

  .clubhomeMainBody .btnUploadIcon i.fa-crown {
    font-size: 0.625rem;
  }

  .clubhomeMainBody .contentClubHome .clubHomeImageCard p {
    font-size: 1rem;
    font-weight: 100;
    margin-top: 0 !important;
    color: #fff;
  }

  .clubhomeMainBody .ecg-mission-slick .slick-dots {
    position: absolute;
    right: 0;
    bottom: -140px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 100px;
    margin-left: 15%;
    list-style: none;
  }

  .clubhomeMainBody .mission-flag {
    background: #081c2a;
    position: absolute;
    width: 122px;
    height: 30px;
    font-size: 10px;
    right: 0;
    text-align: center;
    border-radius: 0 20px 0 0;
    color: white;
    padding: 0;
    padding-left: 14px;
    padding-top: 4px;
    align-items: center;
    justify-content: space-evenly;
  }

  .clubhomeMainBody .mission-flag .mission-flag-img {
    position: relative;
    top: -5%;
    right: -3%;
    width: 15px;
    height: 15px;
  }

  .clubhomeMainBody .mission-card .card-body .box-card-footer progress {
    width: 100%;
    height: 7px;
    border-radius: unset;
  }

  /* .clubhomeMainBody .box-title {
        margin-top: 5rem;
    } */

  .clubhomeMainBody .clubHomeImageCard .desc-bottom-title {
    height: 140px;
    display: -webkit-box;
    max-width: 100%;
    height: auto;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .clubhomeMainBody .carousel-indicators-ecgclubHome2 {
    position: absolute;
    right: 0;
    bottom: 60px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin-right: 1rem;
    margin-bottom: 0;
    margin-left: 0;
    list-style: none;
  }

  .top500ranking .top500ranking-detail .rank-card .rank-list .rank-title h3 {
    margin-top: 5px;
    font-weight: bold;
    font-size: 18px;
  }

  .top500ranking .top500ranking-detail .rank-card .rank-list .amount-money {
    text-align: right;
    font-weight: bold;
    font-size: 1rem;
    width: 50%;
  }

  .top500ranking .top500ranking-detail .rank-card .rank-list .rank-desc1 {
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    width: 30.3333%;
    padding-left: 1rem;
  }

  .top500ranking .top500ranking-detail .rank-card .rank-list .rank-desc2 {
    text-align: center;
    font-size: 1rem;
    width: 36.3333%;
    font-weight: 700;
  }

  .top500ranking .top500ranking-detail .rank-card .rank-list .rank-desc3 {
    text-align: right;
    font-weight: 700;
    font-size: 1rem;
    width: 33.3333%;
    padding-right: 0.5rem;
  }

  .top500ranking .top500ranking-detail .rank-card .rank-list .rank-title .coin {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
  }

  .top500ranking
    .top500ranking-detail
    .rank-card
    .my-rank-list
    .rank-title
    .coin {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
  }

  .top500ranking .top500ranking-detail .rank-card .my-rank-list .rank-title h3 {
    margin-top: 11px;
    font-weight: 700;
    font-size: 100%;
    width: 100%;
  }

  .top500ranking
    .top500ranking-detail
    .rank-card
    .my-rank-list
    .rank-title
    .circle {
    width: 40px;
    height: 40px;
  }

  .top500ranking
    .top500ranking-detail
    .rank-card
    .my-rank-list
    .rank-title
    .circle {
    background-color: #fff;
    padding: 0.8rem 0.5rem 0.5rem 0.5rem;
    border-radius: 50%;
    position: absolute;
    left: 25px;
    top: unset;
    box-shadow: 0 0 8px rgb(0 0 0 / 60%);
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 0 8px rgb(0 0 0 / 60%);
    -o-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    text-align: center;
    font-size: 12px;
  }

  .top500ranking .top500ranking-detail .rank-card .my-rank-list .amount-money {
    text-align: right;
    font-weight: bold;
    font-size: 1rem;
    width: 50%;
    color: #fff;
  }

  .top500ranking .top500ranking-detail .rank-card .my-rank-list .rank-desc1 {
    text-align: left;
    font-weight: bold;
    font-size: 1rem;
    width: 33.3333%;
    padding-left: 1rem;
    color: #fff;
  }

  .top500ranking .top500ranking-detail .rank-card .my-rank-list .rank-desc2 {
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    width: 33.3333%;
    color: #fff;
  }

  .top500ranking .top500ranking-detail .rank-card .my-rank-list .rank-desc3 {
    text-align: right;
    font-weight: bold;
    font-size: 1rem;
    width: 33.3333%;
    padding-right: 0.5rem;
    color: #fff;
  }

  .clubhomeMainBody .top500ranking .total-rank-btn {
    margin-top: 0;
    margin-bottom: 6.5rem;
  }

  .mainBodyHomeInside .cardGlassCalendar {
    padding: 0 !important;
  }

  .mainBodyHomeInside
    .home-banner-inside-container
    .home-profile
    .home-glass-personal {
    min-height: auto;
  }

  .home-banner-inside-container .home-profile .box1 .investor-name2 {
    padding: 1rem;
  }

  .mainBodyHomeInside #ecgClubCarousel9 {
    height: 300px;
    margin-bottom: 2rem;
  }

  .mainBodyHomeInside .clubHomeImageCard .button-bottom {
    position: absolute;
    bottom: 25px;
  }

  footer#footerLogin {
    position: relative;
    bottom: 0;
    width: 100%;
    margin-bottom: 3rem;
  }

  .investor-port-mainbody .loadmore-porforlio {
    color: #4187f3 !important;
    border-color: #4187f3;
    width: 15rem;
    font-weight: bold;
    font-size: 1.125rem;
    padding: 1rem;
    border-radius: 8px;
    justify-content: center;
    margin-bottom: 5rem;
  }

  footer#footerLogin p {
    font-size: 0.9rem;
    font-family: "Kanit Bold";
  }

  footer#footerLogin .list-inline .list-inline-item a.link-light {
    font-size: 0.9rem;
  }

  .home-banner-inside-container .personal-data {
    font-size: 1.5rem;
    font-weight: 700;
  }

  .mainBodyHomeInside hr.line {
    color: #fff;
    height: 2px;
    margin: 20px 0;
  }

  .home-banner-inside-container .home-profile .home-glass {
    height: auto;
  }

  .newsCarousel .box-image img.privilege-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }

  .card-body-cpd .card-title {
    color: black !important;
    height: 45px;
  }

  .clubPrivilegeDetail .end-padding {
    padding: 10px;
    font-size: 0.8rem;
  }

  .clubPrivilege #ecgClubCarousel .carousel-ecgclub .cardGlass {
    margin: 0 !important;
  }

  .clubPrivilege .faq nav #home-tab1 {
    width: 70%;
    padding: 10px;
    align-self: center;
    text-align: center;
    color: currentColor;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.8rem;
  }

  .clubPrivilege .faq nav #home-tab2 {
    width: 70%;
    padding: 10px;
    align-self: center;
    text-align: center;
    color: currentColor;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.8rem;
  }

  .clubPrivilege .tab-radius {
    background: #414c5d;
    width: 100%;
    height: 55px;
    border-radius: 15px;
    margin: auto;
  }

  .clubPrivilege .breadcrumb-container {
    padding: 0 1rem;
  }

  .icon-radius {
    background-color: #9fa3a6;
    border-radius: 50%;
    border: 1px solid grey;
    padding: 10px;
    width: 75px;
    height: 75px;
    margin: 1rem;
  }

  .clubPrivilege #ecgClubCarousel .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 70px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
  }

  .clubPrivilege #ecgClubCarousel .carousel-ecgclub .cardGlass .box-hero-image {
    width: 100%;
    height: 250px;
    border-radius: 14px;
    overflow: hidden;
  }

  .clubPrivilege
    #ecgClubCarousel
    .carousel-ecgclub
    .cardGlass
    .box-hero-image
    img {
    width: 100%;
    /* height: 100%; */
    min-height: 250px;
    object-fit: cover;
    border-radius: 20px;
  }

  .clubPrivilege #ecgClubCarousel .carousel-ecgclub .cardGlass {
    background: #425edd14;
    border-radius: 20px;
    -webkit-box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1rem;
    margin-bottom: 2.5rem;
    height: 280px;
  }

  .clubPrivilege .box-privilege-category .icon {
    width: 25px;
    height: 25px;
    margin: 0 0 0 0;
  }

  .invmentDetail .eaplist-box .eaplist {
    padding: 0;
    width: 96%;
    margin: auto;
    margin-bottom: 1rem;
    height: 190px;
    overflow: hidden scroll;
  }

  .contractDetail .progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #979da2;
    border-radius: 30px;
    height: 8px;
  }

  .contractDetail hr.line {
    color: #fff;
    height: 2px;
    margin: 25px 0;
  }

  .contractDetail .line-2 {
    height: 4px;
    width: 70px;
    /* background: #626569; */
    margin-top: -21px;
    margin-left: 95px;
  }

  .contractDetail .line-1 {
    height: 4px;
    width: 75px;
    background: #ffffff;
    margin-top: -21px;
    margin-left: 220px;
  }

  .contractDetail div.home-ml {
    padding: 0;
    width: 215px;
    height: auto;
    font-size: 12px;
  }

  .investor-port-mainbody .h50-ivp {
    height: 50px;
    width: 50px;
  }

  .investor-port-mainbody .ws-24 {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .investor-port-mainbody .arrow-right {
    margin-top: 5px;
  }

  .line-ivp {
    border: 1px solid #ffffff;
    margin: 30px 0px;
  }

  .s-word_ivp {
    font-size: 1rem;
    font-weight: 200;
    opacity: 0.6;
    margin: 0;
  }

  .investor-port-mainbody .mypayoff .mypayoff-list .not-found {
    font-size: 0.85rem;
    font-family: "Kanit Regular";
  }

  .investor-port-mainbody .progress {
    display: flex;
    height: 0.5rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
    border-radius: 20px;
    margin-bottom: -5px;
  }

  .btn-payoff-choose,
  .btn-payoff-choose2 {
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #4187f3;
    border-color: #4187f3;
    opacity: 50%;
    font-weight: 600;
    width: 100%;
    white-space: nowrap;
  }

  .contractDetail .fontsize-cal-2 {
    /* font-size: 1.75rem; */
    /* font-size: 1.5rem; */
    color: #ffffff;
    /* text-align: right; */
    text-align: start;
    font-weight: 700;
  }

  .mission-list .missionList-header {
    margin-top: 0;
  }

  .mission-list .search-input {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    margin-left: 0%;
    background: #2d3b46;
    margin-bottom: 0%;
    padding: 0 2rem;
    color: #fff;
  }

  .uploadBank .dropzone-desc {
    position: relative;
    bottom: 0px;
    top: unset;
  }

  .login-page img.logo-ecg {
    width: 60px;
  }

  .login-page #login_from .forget-pw-text {
    text-decoration: none;
    color: #585e63;
    transition: all 0.3s;
    cursor: pointer;
    margin-top: 0.5rem !important;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    text-align: end;
  }

  .login .btn-login {
    width: 100%;
    height: 50px;
    background: #fff;
    border-radius: 15px;
    -webkit-box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #000;
    border-radius: 10px;
    border-color: transparent;
    font-weight: 700;
    font-size: 1rem;
  }

  .login #gotoRegister {
    cursor: pointer;
    width: 100%;
    height: 20px;
    color: #000;
    border-radius: 10px;
    border-color: transparent;
    font-weight: 200;
    font-size: 1rem;
  }

  .login h6 {
    font-weight: 200;
    font-size: 1rem;
  }

  .agentPort .line-ivp {
    border: 1px solid #ffffff;
    margin: 30px 0px;
  }

  .agentPort .searchbar {
    width: 95%;
    height: 50px;
    border-style: none;
    background: #425edd14;
    display: flex;
    border-radius: 12px;
    margin: auto;
  }

  .clubCorrelation .newsCarousel .carousel-indicators {
    bottom: 30px;
  }

  .home-banner-inside-container .home-profile .box1 .alert-in-profile {
    font-size: 0.85rem;
    font-weight: 700;
    font-family: "Kanit Regular";
    opacity: 0.8;
    white-space: nowrap;
  }

  .mainCalendar .clubHomeImageCard {
    padding: 0 !important;
  }

  .mainCalendar
    .calendar-container
    .calendar-section
    .calendar-detail
    .right-side
    .event-list {
    display: block;
    width: 90%;
    height: 450px;
    margin: auto;
    overflow: hidden scroll;
    padding-right: 6px;
  }

  .mainCalendar
    .calendar-container
    .calendar-section
    .calendar-detail
    .right-side
    .detail-box-height {
    height: 640px;
  }

  .mainCalendar {
    /* min-height: 93vh; */
    padding-bottom: 30px !important;
    height: auto;
  }

  .resetpin-page input.pin-input,
  .resetpin-page input.pin-input-confirm {
    width: 40px;
    height: 40px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    outline: none;
    margin: 1px;
    text-align: center;
    margin: 0 5px;
    background: #eeeeee;
    font-size: 18px;
    font-weight: bold;
  }

  .resetpin-page .boxInput-pin-form {
    margin-top: 5rem;
  }
}
/*   Iphone XR    */
@media (max-width: 414px) {
  .contractDetail .line-2 {
    height: 4px;
    width: 70px;
    /* background: #626569; */
    margin-top: -21px;
    margin-left: 90px;
  }

  .contractDetail .line-1 {
    height: 4px;
    width: 70px;
    background: #ffffff;
    margin-top: -21px;
    margin-left: 215px;
  }
  .uploadBankByC .dropzone,
  .uploadBankByC .dropzone:focus {
    /* background: red !important; */
    position: relative;
    outline: none !important;
    top: 16px;
    border-radius: 20px;
    height: 100%;
    cursor: pointer;
    opacity: 1;
    background: transparent;
    padding-top: 1rem;
  }
  .dropzone-wrapper .cloudIcon,
  .dropzone-wrapper .cloudIcon2 {
    width: 65px;
    height: auto;
    padding-top: 50px;
  }
}
/*   Iphone Pro    */
@media (max-width: 390px) {
  .contractDetail .line-2 {
    height: 4px;
    width: 65px;
    /* background: #626569; */
    margin-top: -21px;
    margin-left: 85px;
  }

  .contractDetail .line-1 {
    height: 4px;
    width: 65px;
    background: #ffffff;
    margin-top: -21px;
    margin-left: 200px;
  }

  .contractDetail div.home-ml {
    padding: 0;
    width: 180px;
    height: auto;
    font-size: 10px;
  }
  /* filx ขนาดกล่องupload */
  .uploadBankByC .dropzone,
  .uploadBankByC .dropzone:focus {
    top: 16px !important;
  }
}
/*   Iphone 7/8  */
@media (max-width: 375px) {
  .familyList .font-size-card-2 {
    padding: 20px 5px;
  }
  .uploadBankByC .dropzone,
  .uploadBankByC .dropzone:focus {
    top: 0px !important;
  }
  .design_img_bankbookAdd .position-relative {
    left: -10px !important;
  }
  .mainInterested .cl-white {
    font-size: 1rem !important;
  }
  .mainInterested .box-list-card .news-card .card-title {
    font-size: 1rem !important;
  }
  .investor-port-mainbody tbody {
    max-height: 320px;
  }
  .contractDetail .line-2 {
    height: 4px;
    width: 55px;
    /* background: #626569; */
    margin-top: -21px;
    margin-left: 85px;
  }

  .contractDetail .line-1 {
    height: 4px;
    width: 55px;
    background: #ffffff;
    margin-top: -21px;
    margin-left: 195px;
  }

  .contractDetail div.home-ml {
    padding: 0;
    width: 175px;
    height: auto;
    font-size: 10px;
  }

  .contractDetail .backattach {
    width: 125px;
    font-size: 10px;
    margin-left: 171px;
  }

  .investor-port-mainbody .title-payoff {
    font-size: 1rem;
    color: white;
  }

  .investor-port-mainbody .w-dtbt-card {
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: 0 !important;
  }

  .investor-port-mainbody .ws-36 {
    font-size: 1.15rem;
  }

  .investor-port-mainbody .ws-24 {
    font-size: 1.15rem;
    margin-bottom: 0;
  }

  .investor-port-mainbody .arrow-right {
    margin-top: 3px;
  }

  #navbarResponsive_login .navbar-collapse.show {
    margin-left: -16px;
  }

  .clubCorrelation .newsCarousel .carousel-indicators {
    bottom: 40px;
  }
  .mainBody.login-page {
    padding-bottom: 150px !important;
  }
  #investor_list_1,
  #investor_list_2 {
    padding-left: 3rem !important;
  }
  .mainCalendar
    .calendar-container
    .calendar-section
    .calendar-detail
    .right-side
    .detail-box-height {
    height: 600px;
  }
}
@media (max-width: 360px) {
  .invReservation .btn-back {
    width: 90px;
  }
  .uploadBankByC .dropzone,
  .uploadBankByC .dropzone:focus {
    top: 16px !important;
  }
  .contractDetail .line-2 {
    height: 4px;
    width: 55px;
    /* background: #626569; */
    margin-top: -21px;
    margin-left: 79px;
  }

  .contractDetail .line-1 {
    height: 4px;
    width: 55px;
    background: #ffffff;
    margin-top: -21px;
    margin-left: 187px;
  }
  .contractDetail .breadcrumb-item + .breadcrumb-item {
    padding-left: 0rem;
  }
  .mainBody.login-page {
    padding-bottom: 0px !important;
  }
}

/*    End - Responsive       */
