/* Fix max width content */
.ant-notification {
    z-index: 5000 !important;
}
.req-table-row:hover{
    background-color: rgba(161, 177, 192, 0.1);
}
.btn-hover:hover{
    background-color: rgba(161, 177, 192, 0.1);
}
.fade-lighting {
    animation: fadeLighting 2s infinite;
  }
  
  @keyframes fadeLighting {
    0% {
      opacity: 0.1;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.11;
    }
  }
.react-pdf__Page__canvas {
    margin: auto
}
.react-pdf__Page {
    background-color: whitesmoke;
    padding: 40px;
}
.lasted-success-transaction{
    background-color: rgb(237, 247, 237);
    border-radius: 4px;
    padding: 10px 20px;
    margin-bottom: 10px;
    transition: background-color .5s;
}
.lasted-info-transaction{
    background-color:  rgb(232, 244, 253);
    border-radius: 4px;
    padding: 10px 20px;
    margin-bottom: 10px;
    transition: background-color .5s;
}
.lasted-default-transaction{
    background-color: transparent;
    border-radius: 4px;
    padding: 10px 20px;
    margin-bottom: 10px;
    transition: background-color .5s;
}

.data-table-header-row {
    background-color: #eff0f5;
}
.select-list-dropdown {
    width: 100%;
    line-height: 1.4em !important;
}
.select-list-dropdown .ant-select-selection {
    height: unset;
    border: unset;
    box-shadow: unset !important;
    background-color: unset;
    font-size: 1rem;
}
.select-list-dropdown .ant-select-selection__rendered {
    line-height: unset;
}
.table-row-selected {
    background-color: rgba(0, 75, 245, 0.08) !important;
}
.coop-list-item:hover {
    background-color: rgba(161, 177, 192, 0.1);
}
.home-footer .main-footer {
    max-width: 900px;
    margin: auto;
}
.index-sub-content{
    max-width: 900px;
    margin: auto;
}
/* All */   

.announce-footer .main-footer {
    margin: auto;
    max-width: 1200px;
}

.news-content {
    padding: 20px 40px;
    max-width: 1300px;
    align-self: center;
    width: 100%;
}
.my-gallery-grid {
    display: -webkit-box; /* Not needed if autoprefixing */
    display: -ms-flexbox; /* Not needed if autoprefixing */
    display: flex;
    /* margin-left: -8px;  */
    width: auto;
  }
  .my-gallery-grid_column {
    /* padding-left: 8px;  */
    background-clip: padding-box;
  }
   
  /* Style your items */
  .my-gallery-grid_column > div { /* change div to reference your elements you put in <Masonry> */
    background: grey;
    /* margin-bottom: 8px; */
  }
.announce-list:hover {
    background-color: #f1f1f1;
}
.announce-date {
    background-color: var(--coop-second-color);
    font-size: small;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    left: 0px;
    bottom: 0px;
    border-radius: 0px 2px 0px 0;
    padding: 2px 5px;
    transition: all .3s ease-in-out;
}

/* .announce-header-image:hover .announce-date {
    background-color: rgba(255, 255, 255, 1);
    transition: all .3s ease-in-out;
} */

.announce-detail-btn {
    background-color: rgba(255, 255, 255, 0.6);
    font-size: small;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all .05s ease-in;
}

.announce-header-image:hover .announce-detail-btn {
    background-color: rgba(255, 255, 255, 1);
    padding: 5px;
    transition: all .05s ease-in;
}

.announce-content-title {
    cursor: pointer;
    transition: all .05s ease-in;
}
.announce-content-title:hover {
    color:  var(--link-text-color);
    transition: all .05s ease-in;
}
.announce-content-detail {
    font-size: small;
    color: rgb(136, 142, 158);
    font-weight: 200;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em;
}

.announce-detail-btn:hover i {
    font-size: 1.5em;
    transition: all .05s ease-in;
}

.announce-detail-img {
    padding: 0 5px 5px;
    max-height: 160px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all .05s ease-in;
}

.announce-detail-img:hover {
    transform: scale(1.1);
    transition: all .05s ease-in;
}

.announce-loading {
    display: flex;
    flex-direction: column;
}

.announce-loading .ant-skeleton-header {
    padding: 0;
}

.announce-loading .ant-skeleton-content {
    padding: 0 10px;
}
.coop-web-url:hover {
    text-decoration: underline;
    cursor: pointer;
}
.social-contract-icon {
    box-shadow: 0px 1px 7px 0px #ffffff24;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    cursor: pointer;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    height: 45px;
    width: 45px;
    font-size: 45px;
    overflow: hidden;
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
}
.social-contract-icon:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
}

.ant-empty-image img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}
.announce-item {
    cursor: pointer;
}
.announce-item:hover {
    background-color: #f5f5f5;
}
.announce-item .announce-read-more {
    display: none;
}
.announce-item:hover .announce-read-more {
    font-size: small;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    right: 0px;
    bottom: 0px;
    border-radius: 0px 2px 0px 0px;
    padding: 2px 5px;
    animation: fadeOpacity .5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -webkit-animation: fadeOpacity .5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes fadeOpacity {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-webkit-keyframes fadeOpacity {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success-slip-overlay {
    transform: translateX(100%);
    animation: successSlipOverlay 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -webkit-animation: successSlipOverlay 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successSlipOverlay {
    from {
        /* opacity: 0; */
        transform: translateX(0)
    }
    to {
        /* opacity: 1; */
        transform: translateX(100%)
    }
}

@-webkit-keyframes successSlipOverlay {
    from {
        /* opacity: 0; */
        -webkit-transform: translateX(0)
    }
    to {
        /* opacity: 1; */
        -webkit-transform: translateX(100%)
    }
}

.success-slip-icon {
    animation: successSlipIcon 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -webkit-animation: successSlipIcon 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes successSlipIcon {
    0% {
        /* opacity: 0; */
        transform: scale(1)
    }
    50% {
        /* opacity: 1; */
        transform: scale(1.5)
    }
    100% {
        /* opacity: 1; */
        transform: scale(1)
    }
}

@-webkit-keyframes successSlipIcon {
    0% {
        /* opacity: 0; */
        -webkit-transform: scale(1)
    }
    50% {
        /* opacity: 1; */
        -webkit-transform: scale(1.5)
    }
    100% {
        /* opacity: 1; */
        -webkit-transform: scale(1)
    }
}

.navbar-menu {
    display: none;
}
.navbar-menu-icon svg{
    width: 20px;
    height: 20px;
}
.ant-collapse-borderless {
    background-color: unset !important;
}
.description-table {
    width: fit-content;
}
.description-table table {
    min-width: unset !important;
}
.description-table-maxwidth {
    width: 100%;
}
.ant-input-number {
    width: 100% !important;
}

.description-table .ant-table-body{
    margin: 0px !important;
}
.description-table tr{
    vertical-align: top;
}

.description-table.description-table-labelcenter tr{
    vertical-align: middle;
}

.description-table tr td:first-child{
    /* color: var(--sub-text-color) !important; */
    padding-left: 0px !important;
    /* font-weight: bold; */
}

.description-table tr:hover td{
    background-color: initial !important;
}

.description-table td{
    border-bottom: 0px !important;
}
.description-table .ant-table {
    border: 0px;
}
/* deposit loan */

.acc-panel {
    background: rgb(255, 255, 255);
    border-radius: 0px;
    margin-bottom: 0px;
    border-bottom: 0px solid #ab9494 !important;
    overflow: hidden;
    user-select: none;
}

.acc-panel-header {
    border-radius: 0px;
    margin-bottom: 0px;
    border-bottom: 0px solid #ab9494 !important;
    overflow: hidden;
    user-select: none;
}

.acc-panel-header>.ant-collapse-header {
    border-radius: 0 0 4px 4px !important;
    /* background: var(--gd-account-picker); */
    background-color: white;
    
}

.acc-panel-header.ant-collapse-item-active>.ant-collapse-header {
    background-color: transparent;
    padding: 0px !important;
}

.acc-panel-header-text {
    /* font-weight: 200; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#acc-list {
    padding: 20px;
}

/* home */
.activities-content-main {
    padding: 0 20px;
    display: none;
    flex: 1 1 0%;
    flex-direction: column;
    max-height: 100%;
}
.activities-content-right {
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    height: 450px;
    max-height: 100%;
}
#left-main-content {
    overflow-y: auto;
    padding: 0px;
    overflow-y: overlay;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
.home-right-content {
    position: fixed;
    right: 40px;
    width: 280px;
    overflow: auto;
    max-height: 100vh;
    padding-left: 10px;
}
.home-left-content {
    /* margin-right: 370px;
    flex: 1 1 0%;
    height: fit-content; */
    margin-right: 325px;
    flex: 1 1 0%;
    height: fit-content;
     /* margin-top: 70px; */
}
.card-header {
    flex-direction: row;
    display: flex;
    padding: 1em;
    background-color: rgb(0, 149, 218);
    color: white;
    background: var(--gd-title-header);
}

.noti-header-col {
    flex: 1 1 0%;
}

.noti-header-col:hover {
    background-color: rgba(161, 177, 192, 0.1);
}

.noti-header-row:hover .noti-header-bar .inactive {
    background-color: rgba(161, 177, 192, 0.1);
}

.noti-header-left {
    color: #A1B1C0;
    flex-direction: row;
    display: flex;
    flex: 1 1 0%;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    transform: scale(0.9) translateY(3px);
}

.noti-header-left.active {
    color: var(--coop-second-color);
    flex-direction: row;
    display: flex;
    flex: 1 1 0%;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    transform: scale(1) translateY(0);
}

.noti-header-right {
    color: #A1B1C0;
    flex-direction: row;
    display: flex;
    flex: 1 1 0%;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    transform: scale(0.9) translateY(3px);
}

.noti-header-right.active {
    color: var(--coop-main-color);
    flex-direction: row;
    display: flex;
    flex: 1 1 0%;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    transform: scale(1) translateY(0px);
}

.home-col-content {
    padding-top: 20px;
    padding-bottom: 20px;
    height: 70vh;
    max-height: 70vh;
}

/* paymentmonthly */

.col-slip-month {
    padding: 0 20px 20px 20px;
    min-height: 60vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.list-dropdown {
    display: flex;
    height: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 20px 20px 20px;
    /* background-color: white; */
}

/* slip */

.slip-header {
    background: var(--gd-title-header);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* border-bottom: 3px solid rgb(244, 246, 248); */
    color: white;
    border-radius: 5px;
}

.slip-list-dropdown {
    /* display: none; */
    display: flex;
    height: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 10px;
    background-color: white;
}

.noti-modal-btn:hover {
    background-color: rgba(161, 177, 192, 0.1);
    cursor: pointer;
    user-select: none;
}

.noti-modal-btn:hover i {
    transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.noti-modal-btn:hover i.red-hover {
    color: #DF4CA0;
    /* transform: rotateZ(20deg); */
    transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.noti-modal-btn:hover i {
    color:  var(--coop-main-color);
    /* transform: rotateZ(20deg); */
    transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.acc-card-gradient .icon-full-coverimage {
    visibility: hidden;
}

.acc-card-gradient:hover .icon-full-coverimage {
    visibility: visible;
    animation: animFullCoverImage 1s infinite;
    -webkit-animation: animFullCoverImage 1s infinite;
}

.notification-btn {
    background-color: slategray;
    color: white;
    position: relative;
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    border-bottom: solid 1px lightgrey;
    transition: all .1s ease-in;
}

.notification-btn:hover {
    background-color: rgb(103, 117, 131);
    border-bottom: solid 1px transparent;
    transition: all .1s ease-out;
}

.drawer-device-logout {
    z-index: 100;
}
@keyframes animFullCoverImage {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@-webkit-keyframes animFullCoverImage {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.home-sub-content {
    /* padding-top: 0; */
}

.left-navigationbar-home {
    display: none;
    padding: 20px 10px;
}
.right-navigationbar-home {
    padding: 20px 10px;
}

.MuiList-root {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
}

.MuiMenu-paper {
    display: flex !important;
    overflow: hidden !important;
    max-width: calc(30% - 32px) !important;
    min-width: calc(30% - 32px) !important;
}
@media only screen and (max-width: 1365px) {
    .activities-content-main {
        display: flex;
    }
    .activities-content-right {
        display: none;
    }
    .left-navigationbar-home {
        display: initial;
    }
    .right-navigationbar-home {
        display: none;
    }
    .home-right-content {
        display: none;
    }
    .home-left-content {
        margin-right: 0px !important;
    }
}
@media only screen and (max-width: 1200px) {
    .news-content {
        padding: 0px;
    }
    .MuiMenu-paper {
        max-width: calc(40% - 32px) !important;
        min-width: calc(40% - 32px) !important;
    }
}

@media only screen and (max-width: 992px) {
    .navbar-menu {
        display: initial;
    }
    .navbar-memberinfo-logo {
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    /* paymentmonthly */
    .col-slip-month {
        padding: 0px 40px 40px;
    }
    .list-dropdown {
        display: flex;
        height: 100%;
        justify-content: flex-end;
        align-items: flex-end;
        padding: 20px 40px 20px;
    }
    .slip-list-dropdown {
        display: flex;
        height: 100%;
        justify-content: flex-end;
        align-items: flex-end;
        padding: 10px 0px;
    }
    .MuiMenu-paper {
        max-width: calc(80% - 32px) !important;
    }
}

@media only screen and (max-width: 576px) {
    /* All */
    .description-table tr td:first-child{
        font-size: 11px !important;
    }
    /* deposit loan */
    #acc-list {
        padding: 0;
    }
    /* paymentmonthly */
    .col-slip-month {
        padding: 10px;
        /* max-height: 100vh; */
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .list-dropdown {
        padding: 10px;
    }
    .notification-btn {
        background-color: slategray;
        color: white;
        border-bottom: solid 1px transparent;
    }
    .notification-btn:hover {
        background-color: rgb(103, 117, 131);
        color: white;
        border-bottom: solid 1px transparent;
    }
    .left-navigationbar-home {
        padding: 0px 20px;
        position: fixed;
        z-index: 500;
        right: 0;
        top: 60px;
        height: 40px;
        /* margin: auto; */
        display: flex;
        -webkit-transition: all .1s ease-in-out .3s;
        -moz-transition: all .1s ease-in-out .3s;
        -o-transition: all .1s ease-in-out .3s;
        transition: all .1s ease-in-out .3s;
        overflow: hidden;
    }
    .navbar-memberinfo-name {
        display: none;
    }
    .navbar-menu {
        display: initial;
    }
    .left-navigationbar-home.active {
        display: flex;
        overflow: hidden;
        opacity: 1;
        height: 0px;
        -webkit-transition: all .1s ease-in-out;
        -moz-transition: all .1s ease-in-out;
        -o-transition: all .1s ease-in-out;
        transition: all .1s ease-in-out;
    }
    .MuiMenu-paper {
        max-width: calc(100% - 32px) !important;
    }
}