/* ============ CoreCSS ============ */
body {
    font-family: 'Noto Sans', sans-serif;
    padding-top: 5rem;
    overflow-y: scroll;
}

.content-wrapper {
    margin-bottom: 100px;
}

p {
    margin: 0;
    font-weight: 400;
    font-size: .8rem;
}

.bg-theme {
    background-color: #005264;
}

.bg-success-light {
    color: #4FC484;
}

.btn {
    border-radius: 3rem;
    font-size: .75rem;
}

a {
    text-decoration: none;
}

    a.primary {
        text-decoration: none;
        color: #005264;
    }

        a.primary:active,
        a.primary:focus {
            color: #006076;
        }

    a.grey {
        text-decoration: none;
        color: #ACB0BF;
    }

        a.grey:active,
        a.grey:focus {
            color: #989ca8;
        }

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 0;
}

.modal-content {
    border-radius: 0.8rem;
}

.section-margin {
    margin-top: 2.5rem;
}

.bg-nav {
    transition: background-color 0.2s ease-in-out;
}

.bg-nav-switch.bg-transparent {
    background-color: transparent;
}

.bg-nav-switch.bg-white {
    background-color: white;
}

.number-rounded-circle {
    background-color: #005264;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 2rem;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ------------- TEXT SIZE ------------- */

small {
    font-size: .8rem !important;
}

.small-5 {
    font-size: .5rem !important;
}

.small-6 {
    font-size: .6rem !important;
}

.small-7 {
    font-size: .7rem !important;
}

.small-75 {
    font-size: .75rem !important;
}

.small-8 {
    font-size: .8rem !important;
}

.titleline {
    font-size: 18px;
}

.section-title {
    font-size: .9rem;
    font-weight: 700;
}

/* ------------- TEXT COLOR ------------- */

.text-primary-green {
    color: #005264;
}

.text-primary-2 {
    color: #008C8C;
}

.text-primary-light {
    color: #D8E7E7;
}

.text-secondary-light {
    color: #BBE1E4 !important;
}

.text-dark-grey {
    color: #2C2C2C;
}

.text-light-grey {
    color: #acb0bf;
}

.text-success-light {
    color: #4FC484;
}

.text-danger {
    color: #E44044;
}

.text-warning {
    color: #F79E1B;
}

.text-orange {
    color: #FF6F21;
}

/* ------------- SPECIAL TEXT ------------- */
/* topupRM */
.topupRM {
    color: #B0C7CC;
    font-size: .6rem;
}

/* ------------- BORDER RADIUS ------------- */
/* Border radius */
.rounded-4 {
    border-radius: 8px;
}

.rounded-5 {
    border-radius: .9rem;
}

.rounded-16 {
    border-radius: 16px;
}

/* ------------- BUTTON ------------- */
.btn-primary-green {
    color: #fff;
    background-color: #005264;
}

    .btn-primary-green:hover,
    .btn-primary-green:active {
        color: #fff;
        background-color: #006177 !important;
        box-shadow: 0 0 0 0.25rem #0097b93f;
    }

.btn-outline-primary-green {
    color: #006177;
    border: 1px solid #d4d7e2;
}

    .btn-outline-primary-green.outline-light.btn {
        border: 0;
    }

.btn-check:checked + .btn-outline-primary-green {
    color: white;
    border-color: #006177;
    background-color: #006177;
    box-shadow: 0 0 0 0.25rem #0097b900;
}

.btn-outline-primary-green:hover,
.btn-outline-primary-green:focus,
.btn-outline-primary-green:active {
    border-color: #006177;
    background-color: #ffffff;
    color: #006076;
    box-shadow: 0 0 0 0.25rem #0097b93f;
}

.btn-secondary-light {
    color: #fff;
    background-color: #ACB0BF;
}

    .btn-secondary-light:hover,
    .btn-secondary-light:active {
        color: #fff;
        background-color: #ACB0BF !important;
        box-shadow: 0 0 0 0.25rem #b6b6b63f;
    }

.btn.small-btn {
    padding: .8rem 1.3rem;
    line-height: 0;
}

#malebtn .btn-outline-primary-green {
    border-radius: .4rem;
}

/* ------------- SPECIAL BTN ------------- */
/* wallet topup amount select */

.btn-secondary-outline-light.selected-green {
    color: #282828;
    border: 1px solid #D8E7E7;
    background-color: white;
}

.btn-check:checked + .btn-secondary-outline-light.selected-green {
    border-color: #008C8C;
    background-color: #F3FEFE;
    color: #006076;
    box-shadow: 0 0 0 0rem #0097b93f;
}

.btn-primary-green-light {
    color: #005264;
    background-color: #BBE1E4;
}

    .btn-primary-green-light:hover,
    .btn-primary-green-light:active {
        color: #005264;
        background-color: #c6e2e4 !important;
        box-shadow: 0 0 0 0.25rem #c6e2e4;
    }

#Album-Cover-Modal .btn.btn-link:active,
#Album-Cover-Modal .btn.btn-link:focus {
    box-shadow: 0 0 0 0 #c6e2e4;
}

/* ------------- SWITCH ------------- */
.form-switch.form-switch-md .form-check-input {
    height: 1.3rem;
    width: calc(2rem + 0.35rem);
    border-radius: 2.5rem;
}

    .form-switch.form-switch-md .form-check-input:focus {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23acb0bf'/%3e%3c/svg%3e");
    }

/* ------------- GRADIENT COLOR ------------- */
.purple-gradient {
    background-image: linear-gradient(to bottom left, #9747FF, #542EEB);
}

.blue-gradient {
    background-image: linear-gradient(to top right, #0049A2, #3596FF);
}

.orange-gradient {
    background-image: linear-gradient(to top right, #E05E00, #FFDC27);
}

.green-gradient {
    background-image: linear-gradient(to top right, #1B98B4, #39E3BA);
}

.theme-gradient {
    background-image: linear-gradient(to top right, #1B98B4, #005264);
}

.success-gradient {
    background-image: linear-gradient(to top right, #55B41B, #CACE12);
}

/* ------------- GRADIENT TEXT ------------- */
.fa-red-gradient {
    background: linear-gradient(to bottom left, #FF72CF, #E02B12);
    background-clip: text;
    color: transparent;
}

.fa-purple-gradient {
    background: linear-gradient(to bottom left, #9747FF, #542EEB);
    background-clip: text;
    color: transparent;
}

.fa-green-gradient {
    background: linear-gradient(to top right, #1B98B4, #39E3BA);
    background-clip: text;
    color: transparent;
}

.fa-blue-gradient {
    background: linear-gradient(to top right, #0049A2, #3596FF);
    background-clip: text;
    color: transparent;
}

.fa-orange-gradient {
    background: linear-gradient(to top right, #E05E00, #FFDC27);
    background-clip: text;
    color: transparent;
}

/* ------------- ICON ------------- */
.icon-sq {
    color: #fff;
    width: 16px;
    height: 16px;
    padding: .7rem;
    border-radius: .6rem;
}

/* ------------- MODAL ------------- */
.modal.fade .modal-dialog {
    transition: transform 0.4s ease-out;
    transform: translateY(100%);
}

.modal.fade.show .modal-dialog {
    transform: translateY(0);
}

/* ============ PRELOADER ============ */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #005264;
    height: 100%;
    width: 100%;
    -webkit-transition: all 2s 2s ease;
    -moz-transition: all 2s 2s ease;
    transition: all 1s .5s ease;
}

.loader {
    position: absolute;
    top: 50%;
    left: -6%;
    right: 0;
    width: 60px;
    height: 60px;
    display: block;
    margin: auto;
    margin-top: -30px;
}

#preloader .container {
    font-size: 24px;
    position: relative;
    height: 2em;
    width: 3.75em;
    padding: 0 !important;
}

    #preloader .container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        border: 0.25em solid #BBE1E4;
        border-radius: 50%;
        height: 2em;
        width: 2em;
        box-sizing: border-box;
    }

    #preloader .container::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border: 0.25em solid #BBE1E4;
        border-radius: 50%;
        height: 2em;
        width: 2em;
        box-sizing: border-box;
    }

#preloader .top-left {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 2em;
    height: 1em;
    z-index: 1;
}

    #preloader .top-left::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        border: 0.25em solid transparent;
        border-top-color: #ffffff;
        border-radius: 50%;
        height: 2em;
        width: 2em;
        box-sizing: border-box;
        animation: clockwise 1s linear infinite, opacity 2s linear -2000ms infinite;
    }

#preloader .top-right {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 2em;
    height: 1em;
    z-index: 1;
}

    #preloader .top-right::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border: 0.25em solid transparent;
        border-top-color: #ffffff;
        border-radius: 50%;
        height: 2em;
        width: 2em;
        box-sizing: border-box;
        animation: anti-clockwise 1s linear infinite, opacity 2s linear -1000ms infinite;
    }

#preloader .bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 2em;
    height: 1em;
    z-index: 1;
}

    #preloader .bottom-left::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        border: 0.25em solid transparent;
        border-top-color: #ffffff;
        border-radius: 50%;
        height: 2em;
        width: 2em;
        box-sizing: border-box;
        animation: clockwise 1s linear infinite, opacity 2s linear -500ms infinite;
    }

#preloader .bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    overflow: hidden;
    width: 2em;
    height: 1em;
    z-index: 1;
}

    #preloader .bottom-right::before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        border: 0.25em solid transparent;
        border-top-color: #ffffff;
        border-radius: 50%;
        height: 2em;
        width: 2em;
        box-sizing: border-box;
        animation: anti-clockwise 1s linear infinite, opacity 2s linear -1500ms infinite;
    }

@keyframes clockwise {
    0% {
        transform: rotate(-45deg);
    }

    100% {
        transform: rotate(315deg);
    }
}

@keyframes anti-clockwise {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(-315deg);
    }
}

@keyframes opacity {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    26% {
        opacity: 0;
    }

    75% {
        opacity: 0;
    }

    76% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

/* ============ Boarding Page ============ */

#boarding-page.pg-bg {
    background-image: url(../img/login/boarding-image.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    background-position: center top;
    opacity: 100%;
    z-index: 0;
    position: relative;
}

    #boarding-page.pg-bg:after {
        content: '';
        background-image: linear-gradient(to top, #ffffffd6, #ffffff1d);
        z-index: 1;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.boarding-content {
    z-index: 2;
}

/* ============ Web Sidebar ============ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 78px;
    background: #005264;
    padding: 6px 14px;
    z-index: 99;
    transition: all 0.5s ease;
    z-index: 9999;
}

    .sidebar ul {
        padding: 0;
    }

    .sidebar.open {
        width: 250px;
    }

    .sidebar .logo-details {
        padding: 1.5rem .8rem 1rem .8rem;
        height: fit-content;
        display: flex;
        align-items: center;
        position: relative;
    }

        .sidebar .logo-details .icon {
            opacity: 0;
            transition: all 0.5s ease;
        }

        .sidebar .logo-details .logo_name {
            max-width: 130px;
            height: auto;
            opacity: 0;
            transition: all 0.5s ease;
        }

    .sidebar.open .logo-details .icon,
    .sidebar.open .logo-details .logo_name {
        opacity: 1;
    }

    .sidebar .logo-details #btn {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        font-size: 22px;
        transition: all 0.4s ease;
        font-size: 23px;
        text-align: center;
        cursor: pointer;
        transition: all 0.5s ease;
    }

    .sidebar.open .logo-details #btn {
        text-align: right;
    }

    .sidebar i {
        color: #fff;
        height: 60px;
        min-width: 50px;
        font-size: 28px;
        text-align: center;
        line-height: 60px;
    }

    .sidebar .nav-list {
        margin-top: 20px;
        height: 100%;
    }

    .sidebar li {
        position: relative;
        margin: 8px 0;
        list-style: none;
    }

    .sidebar input {
        font-size: 15px;
        color: #FFF;
        font-weight: 400;
        outline: none;
        height: 50px;
        width: 100%;
        width: 50px;
        border: none;
        border-radius: 12px;
        transition: all 0.5s ease;
        background: rgb(0, 91, 111);
    }

    .sidebar.open input {
        padding: 0 20px 0 50px;
        width: 100%;
    }

    .sidebar li a {
        display: flex;
        height: 100%;
        width: 100%;
        border-radius: 12px;
        align-items: center;
        text-decoration: none;
        transition: all 0.4s ease;
        background: #005264;
    }

        .sidebar li a:hover {
            background: #FFF;
        }

        .sidebar li a .links_name {
            color: #fff;
            font-size: 15px;
            font-weight: 400;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: 0.4s;
        }

    .sidebar.open li a .links_name {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar li a:hover .links_name,
    .sidebar li a:hover i {
        transition: all 0.5s ease;
        color: #11101D;
    }

    .sidebar li i {
        height: 50px;
        line-height: 50px;
        font-size: 18px;
        border-radius: 12px;
    }

    /* profile */

    .sidebar li.profile {
        position: fixed;
        width: 78px;
        left: 0;
        bottom: -8px;
        padding: 20px 18px;
        background: rgb(0, 91, 111);
        transition: all 0.5s ease;
        overflow: hidden;
    }

    .sidebar.open li.profile {
        width: 250px;
    }

    .sidebar li .profile-details {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .sidebar li img {
        height: 45px;
        width: 45px;
        object-fit: cover;
        border-radius: 3rem;
        margin-right: 10px;
    }

    .sidebar li.profile .name {
        font-size: 15px;
        font-weight: 400;
        color: #fff;
        white-space: nowrap;
    }

    .sidebar .profile #log_out {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        background: rgb(0, 91, 111);
        width: 100%;
        height: 60px;
        line-height: 60px;
        border-radius: 0px;
        transition: all 0.5s ease;
    }

    .sidebar.open .profile #log_out {
        width: 50px;
        background: none;
    }

.home-section {
    position: relative;
    background: #E4E9F7;
    min-height: 100vh;
    top: 0;
    left: 78px;
    width: calc(100% - 78px);
    transition: all 0.5s ease;
    z-index: 2;
}

.sidebar.open ~ .home-section {
    left: 250px;
    width: calc(100% - 250px);
}

.home-section .text {
    display: inline-block;
    color: #11101d;
    font-size: 25px;
    font-weight: 500;
    margin: 18px
}

.sidebar li a #web-notification-no {
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
}

.sidebar.open li a #web-notification-no {
    opacity: 1;
    pointer-events: auto;
}

/* ============ MOBILE BOTTOM NAV ============ */
#main-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0;
}

.navbar-light .navbar-toggler {
    border-color: rgba(0, 0, 0, 0);
}

#bottom-nav {
    /* border-radius: 15px 15px 0 0;
    box-shadow: 0 0 8px -2px rgb(0 0 0 / 15%); */
    max-width: 990px;
    width: 100%;
    margin: 0 auto;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    background-color: white;
}

    #bottom-nav a {
        color: #ACB0BF !important;
    }

        #bottom-nav a:focus,
        #bottom-nav a:hover,
        #bottom-nav a.active {
            color: #006076 !important;
        }

/* ============ CONTENT "PUSH" SETTINGS ============ */
.push {
    padding-left: 78px;
    transition: 0.5s;
}

    .push.body-padding {
        padding-left: 250px !important;
    }

/* ============ HOME INDEX ============ */

#channel-main-nav .card-border-left {
    border-left: 1px solid #eee;
}

#channel-main-nav p {
    font-size: 1rem;
}

/* ------------- OWL CAROUSEL ------------- */

.owl-carousel .owl-item {
    border-radius: .6rem;
    overflow: hidden;
    border: 1px solid rgb(220, 220, 220);
}

.owl-item .item {
    height: 100%;
}

.owl-carousel .owl-item img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.owl-stage {
    display: flex !important;
    align-items: center !important;
}

#myCarousel2 .owl-stage,
#myCarousel1 .owl-stage {
    left: -30px;
}

#timeCarousel .owl-stage {
    left: -50px;
}

#latest-news-s .owl-carousel .owl-item {
    background-color: #D8E7E7;
    height: 7rem;
}

#myCarousel2 .card {
    border-radius: .6rem;
    overflow: hidden;
    border: 0;
}

    #myCarousel2 .card .card-title {
        margin-bottom: 0;
    }

    #myCarousel2 .card .card-img-top {
        height: 7.8rem;
    }

.fa-stack.small {
    font-size: 0.7em;
}

#myCarousel2 .card-body {
    padding: .7rem .7rem;
}

/* ============ Family Tree ============ */
.tree {
    white-space: nowrap;
    width: 100%;
    /* height: 100vh; */
    overflow-x: auto;
    /* display: block; */
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    .tree::-webkit-scrollbar {
        display: none;
    }

/* Hide scrollbar for IE, Edge and Firefox */
.tree {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

    .tree ul {
        padding: 20px;
        position: relative;
        display: block;
        margin: 0 auto;
        white-space: nowrap;
        list-style: none;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
    }

    .tree li {
        /* float: left; */
        text-align: center;
        list-style-type: none;
        position: relative;
        padding: 20px 5px 0 5px;
        vertical-align: top;
        display: inline-block;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
    }

        /*We will use ::before and ::after to draw the connectors*/
        .tree li::before,
        .tree li::after {
            content: '';
            position: absolute;
            top: 0;
            right: 50%;
            border-top: 1px solid #ccc;
            width: 52%;
            height: 20px;
        }

        .tree li::after {
            right: auto;
            left: 50%;
            border-left: 1px solid #ccc;
        }

        /* ------------- GRANDPARRENT UPSIDE DOWN LINE ------------- */

        /* .tree li.grand::before,
.tree li.grand::after {
    top: 100%;
    right: 50%;
    border-bottom: 1px solid #ccc;
    width: 52%;
    height: 20px;
    border-top: 0;
}

.tree li.grand::before {
    left: auto;
    right: 50%;
    border-right: 1px solid #ccc;
}

.tree li.grand:first-child::after {
    border-radius: 0 0 0 5px;
    -webkit-border-radius: 0 0 0 5px;
    -moz-border-radius: 0 0 0 5px;
}

.tree ul.grandparent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 20px;
}

.tree li.grand:last-child::before {
    border-right: 1px solid #ccc;
    border-radius: 0 0 5px 0;
    -webkit-border-radius: 0 0 5px 0;
    -moz-border-radius: 0 0 5px 0;
} */

        /*remove left-right connectors from elements without any siblings*/
        .tree li:only-child::after,
        .tree li:only-child::before {
            display: none;
        }

        /*Remove space from the top of single children*/
        .tree li:only-child {
            padding-top: 0;
        }

        /*Remove left connector from first child and right connector from last child*/
        .tree li:first-child::before,
        .tree li:last-child::after {
            border: 0 none;
        }

        /*Adding back the vertical connector to the last nodes*/
        .tree li:last-child::before {
            border-right: 1px solid #ccc;
            border-radius: 0 5px 0 0;
            -webkit-border-radius: 0 5px 0 0;
            -moz-border-radius: 0 5px 0 0;
        }

        .tree li:first-child::after {
            border-radius: 5px 0 0 0;
            -webkit-border-radius: 5px 0 0 0;
            -moz-border-radius: 5px 0 0 0;
        }

    /*add downward connectors from parents*/
    .tree ul ul::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        border-left: 1px solid #ccc;
        width: 0;
        height: 20px;
    }

    .tree li div.tree-item {
        border: 1px solid #ccc;
        padding: 5px 10px;
        text-decoration: none;
        color: #666;
        font-size: 11px;
        display: inline-block;
        /* min-width: 80px; */
        min-height: 30px;
        border-radius: .8rem;
        -webkit-border-radius: .8rem;
        -moz-border-radius: .8rem;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
    }

    .tree li div .male {
        background-color: #BBE1E4;
        display: inline-block;
        /* width: 90px; */
        min-height: 128px;
        height: 100%;
        padding: 5px;
        border-radius: .8rem;
        -webkit-border-radius: .8rem;
        -moz-border-radius: 5px;
        vertical-align: top;
        transition: all 5s;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
    }

    .tree li div .female {
        background-color: #E9E5D5;
        display: inline-block;
        /* width: 90px; */
        min-height: 128px;
        height: 100%;
        padding: 5px;
        border-radius: .8ren;
        -webkit-border-radius: .8rem;
        -moz-border-radius: .8rem;
        vertical-align: top;
    }

    .tree li div .spacer {
        background-color: lightblue;
        display: inline-block;
        width: 10px;
    }

/* ------------- PROFILE INFO ------------- */
.profile-img img {
    width: 50px;
    border-radius: .8rem;
    margin-bottom: .2rem;
}

.profile-content p.name {
    font-size: 14px;
    font-weight: 700;
}

.profile-content .nickname {
    background-color: #70A8B1;
    border-radius: 1rem;
    width: fit-content;
    padding: 1px 6px;
    margin: 4px auto;
    color: white;
    font-size: smaller;
}

.female .profile-content .nickname {
    background-color: #B2AB93;
}

.me .profile-content .relationship {
    background-color: #005264;
}

.profile-content .relationship {
    background-color: #82858E;
    border-radius: 1rem;
    width: fit-content;
    padding: 1px 6px;
    margin: 4px auto;
    color: white;
    font-size: smaller;
}

.expand-btn {
    width: 20px;
    height: 20px;
    text-decoration: none;
    position: absolute;
    background-color: #005264;
    color: white;
    border-radius: 2rem;
    z-index: 99;
}

    .expand-btn.expand-btn-left {
        left: 0;
        top: 50%;
    }


    .expand-btn.expand-btn-down {
        top: 100%;
        left: 50%
    }

    .expand-btn.expand-btn-up {
        top: 0%;
        left: 50%
    }

/* ============ LOGIN / SIGNUP PAGE ============ */
.login-card,
.signup-card,
.fgt-pw-card {
    max-width: 25rem;
    margin: 2rem auto;
    padding: 2rem;
}

.nav-tabs {
    border-bottom: 0;
}

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        color: #005264;
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
        border-bottom: 2px solid #005264;
    }

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: black;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    background: 0 0;
    border: 0;
    font-weight: 700;
}

.nav-link:focus,
.nav-link:hover {
    color: #008C8C;
}

.input-group:focus,
.input-group span .form-select:focus,
.form-control:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 0%);
    border-color: #BBE1E4;
}

#albumName.form-control {
    border: none;
    border-bottom: 1px solid #BBE1E4;
    border-radius: 0;
}

    #albumName.input-group:focus,
    #albumName.input-group span .form-select:focus,
    #albumName.form-control:focus {
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 0%);
        border-color: #008C8C;
    }

.input-group input {
    display: inline-block;
    width: auto;
}

.input-group span .form-select {
    border-right: 0;
    border-radius: 0.25rem 0 0 0.25rem;
}


.input-group input:focus {
    box-shadow: none;
}

.form-control,
.form-select {
    font-size: .9rem;
}

.form-label,
.form-check-label {
    font-weight: 500;
    font-size: .8rem;
    margin-bottom: 0.3rem;
}

.form-control::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #ACB0BF;
    opacity: 1;
    /* Firefox */
    font-weight: 300;
}

.form-control:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #ACB0BF;
    font-weight: 300;
}

.form-control::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #ACB0BF;
    font-weight: 300;
}

#topUpAmountInput.form-control {
    font-size: 24px;
    color: rgb(48, 73, 68);
    border: 0;
}

    #topUpAmountInput.form-control::placeholder {
        /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: #D8E7E7;
        opacity: 1;
        /* Firefox */
        font-weight: 500;
    }

    #topUpAmountInput.form-control:-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: #D8E7E7;
        font-weight: 500;
    }

    #topUpAmountInput.form-control::-ms-input-placeholder {
        /* Microsoft Edge */
        color: #D8E7E7;
        font-weight: 500;
    }

.input-group-text.visibility {
    background-color: white;
    width: 45px;
}

.input-group-text .fa-eye,
.input-group-text .fa-eye-slash {
    color: #D8E7E7 !important;
}

/* input icon */

.has-icon .form-control {
    padding-left: 2.375rem;
}

.has-icon.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.form-control-icon {
    position: absolute;
    z-index: 999;
    display: block;
    width: 18px;
    height: 18px;
    top: 9.5px;
    left: 8px;
    pointer-events: none;
    color: #BBE1E4;
}

/* ------------- CHECKBOX ------------- */

.form-check-input:checked {
    background-color: #005264;
    border-color: #005264;
}

.form-check-input:focus {
    border-color: #005264;
    box-shadow: 0 0 0 0.25rem #0097b93f;
}

/* ------------- SIGNUP ------------- */
.signup-2-card {
    max-width: 40rem;
    margin: 2rem auto;
    padding: 2rem;
}

/* ============ PROFILE PAGE ============ */
.ph-bg {
    background-image: url(../img/profile/profile-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    opacity: 100%;
    z-index: 0;
    position: relative;
}

#index-page-header-bg.ph-bg,
#profile-page-header-bg.ph-bg {
    height: 220px;
}

#wallettp-page-header-bg.ph-bg {
    height: 160px;
}

.general-function-card.card {
    margin-top: -50px;
    border-radius: 0.8rem;
}


#general-function-section svg {
    color: #70A8B1;
}

/* ============ NOTIFICATION ============ */
.collapsing .order-details.card.card-body {
    width: 50%;
    display: inline-block;
    margin-bottom: 1.2rem;
}

.collapse .order-details.card.card-body {
    width: 50%;
    transition: all .6s ease;
    margin-bottom: 1.2rem;
}

/* ------------- RESPONSIVE IMAGE IN COL ------------- */
/* .promo-img, .order-img {
    transition: all .6s ease;
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
} */

.promo-img img,
.order-img img {
    object-fit: cover;
    object-position: center;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 2rem;
}

.shop-product-img img {
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 900px;
    width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: .8rem;
}

/* ============ PRODUCT PAGE ============ */

/* ------------- LIGHT SLIDER ------------- */
#product-showcase .card {
    border: 0;
}

#product-showcase .demo {
    width: 100%;
}

#product-showcase #lightSlider ul {
    list-style: none outside none;
    padding-left: 0;
    margin-bottom: 0;
}

#product-showcase ul#lightSlider li {
    display: block;
    float: left;
    margin-right: 6px;
    cursor: pointer;
    border-radius: .6rem;
    overflow: hidden;
    transition: all .5s ease;
}

#product-showcase #lightSlider li img {
    display: block;
    height: auto;
    width: 100%;
}

#product-showcase .lSSlideOuter .lSPager.lSGallery img {
    height: 60px;
    width: 100%;
    object-fit: cover;
}

/* ------------- PRODUCT DETIALS  ------------- */

.package-details-icon {
    width: 60px;
    height: 60px;
    border-radius: 2rem;
    border: 2px solid #D8E7E7;
    margin: 5px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .package-details-icon img {
        height: 30px;
        width: auto;
    }

/* ============ SHOPPING CART PAGE ============ */
.shopping-cart-img {
    transition: all .6s ease;
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}

    .shopping-cart-img img {
        position: absolute;
    }

.payment-method-icon {
    width: 35px;
    height: auto;
}

/* ------------- QUANTITY INPUT ------------- */

.minus.btn,
.plus.btn {
    width: 25px;
    border-radius: .4rem;
    height: 25px;
}

#quantity.form-control {
    max-width: 40px;
    height: 25px;
    text-align: center;
    padding: 0 2px;
}

/* ============ MY PROFILE PAGE ============ */
.my-profile-picture img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 10px auto;
    background-color: #BBE1E4;
}


.my-profile-caption {
    max-width: 400px;
    margin: 0 auto;
}

.img-memory,
.album-item {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
    /* Set a 1:1 aspect ratio */
    z-index: 0;
    border-radius: .6rem;
}

    .img-memory img,
    .album-item img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Crop the image */
        z-index: 1;
    }

.member-tag,
.member-img-items {
    position: relative;
    overflow: hidden;
    z-index: 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 10px
}

.member-tag {
    margin-left: 0;
}

    .member-tag img,
    .member-img-items img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

.upload-input {
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    color: #D9D9D9;
    cursor: pointer;
    z-index: 2;
    line-height: 0;
}

#add-new-img {
    background-color: #F6F6F6;
}

.cancel-btn {
    position: absolute;
    z-index: 999;
    border: 0;
    background: 0;
    right: 0;
}

#mygallery .album-item .cancel-btn {
    top: 0;
}


#tag-people-selected .cancel-btn {
    top: -6px;
    right: -10px;
}

#tag-people-selected .selected-wrapper {
    position: relative;
    display: inline-block;
}

#tag-people-selected .owl-carousel .owl-item {
    border: 0;
}


.badge.cover-photo-select {
    position: absolute;
    z-index: 999;
    left: 5px;
    bottom: 5px;
    color: white;
    font-size: .75rem;
    font-weight: 400;
    border: 1px solid white;
    border-radius: .3rem;
    padding: 3px 6px;
    background-color: #5f5f5f4a;
    transition: all .2s ease-out;
    background-color: #008c8c9d;
}


/* ============ EDIT PROFILE PAGE ============ */
.upload-photo-icon {
    position: absolute;
    bottom: -5px;
    right: 15%;
}

/* ============ WALLET PAGE ============ */

.custom-file-button input[type=file]::-webkit-file-upload-button {
    display: none;
}

.custom-file-button input[type=file]::file-selector-button {
    display: none;
}

.custom-file-button label {
    background-color: #F3FEFE;
    cursor: pointer;
    color: #008C8C;
}

.hourglass-spin {
    animation: iconAnimation2 2s infinite;
}

@keyframes iconAnimation2 {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

.transaction-receipt {
    position: relative;
    overflow: hidden;
    z-index: 0;
    border-radius: .4rem;
    width: 50px;
    height: 50px;
    background-color: #005264;
    border: 1px solid #B0C7CC;
}

    .transaction-receipt:hover img {
        opacity: .5;
    }

.hoverView {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 2;
    transition: 0.4s ease-out;
}

.transaction-receipt:hover .hoverView {
    opacity: 1;
}

.transaction-receipt img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: 0.4s ease-out;
}

.imageZoom .modal-content {
    overflow: hidden;
    border: 0;
}

.imageZoom .modal-body {
    padding: 0;
    position: relative;
}

    .imageZoom .modal-body .btn-close {
        position: absolute;
        right: 2px;
        top: 2px;
    }

.imagePreview .modal-backdrop {
    opacity: 0;
    transition: opacity 0.4s ease;
}

    .imagePreview .modal-backdrop.show {
        opacity: 0.85;
    }

/* ============ WALLET-TRANSACTION-HISTORY PAGE ============ */
.transaction-types-icon {
    position: relative;
}

.icon-status {
    position: absolute;
    bottom: -6px;
    right: -3px;
}

    .icon-status svg {
        border: 1px solid white;
        border-radius: 50%;
        background-color: white;
    }

.fa-stack.medium {
    font-size: 1.3em;
}

.fa-stack.small5 {
    font-size: .5em;
}


.icon-status .small {
    font-size: 1em;
}

/* ============ MEDIA DISPLAY ============ */
@media (min-width: 767.98px) {

    p {
        margin: 0;
        font-weight: 400;
    }

    /* #main-nav {
        padding-left: 8rem;
    } */
}

@media (max-width: 767.98px) {

    .collapsing .order-details.card.card-body {
        width: 100%;
        display: inline-block;
    }

    .collapse .order-details.card.card-body {
        width: 100%;
    }

    #channel-main-nav p {
        font-size: .8rem;
    }

    #channel-main-nav .card-border-left {
        border-left: 0;
    }

    #boarding-page.pg-bg {
        background-position: right 40% top;
        background-size: auto 85%;
    }

    #login-panel,
    #signup-panel,
    #fgt-pw-panel {
        height: 100vh;
    }

        #login-panel .border,
        #fgt-pw-panel .border,
        #signup-panel .border,
        #signup-2-panel .border {
            border: 0 !important;
        }

    .login-card,
    .signup-card,
    .signup-2-card,
    .fgt-pw-card {
        margin: 0 auto;
        height: 100vh;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        display: none;
    }

    .push {
        padding-left: 0;
    }

        .push.body-padding {
            padding-left: 250px !important;
        }
}

@media (min-width: 991.98px) {
    #bottom-nav {
        display: none;
    }
}
