﻿@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --prcolor: #ff3131;
    --secolor: #284695;
    --bxradius: 6px;
    --menufontcolor: #1e2024;
    --menuhoverfontcolor: #e70e0e;
    --menuhoverbg: #ffd0d0;
}
/*--------------------------------------------------------------
# General style
--------------------------------------------------------------*/
* {
    box-sizing: border-box;
}

body {
    font-family: "Rubik", sans-serif;
    position: relative;
    max-width: 100%;
    width: 100%;
    color: #666;
}

a,
a:hover {
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

p {
    font-size: 16px;
    line-height: 26px;
    text-align: justify;
}

.pt-100 {
    padding-top: 100px;
}

.pt-90 {
    padding-top: 90px;
}

.pt-80 {
    padding-top: 80px;
}

.pt-60 {
    padding-top: 60px;
}

.pt-50 {
    padding-top: 50px;
}

.pt-40 {
    padding-top: 40px;
}

.pb-100 {
    padding-bottom: 100px;
}

.pb-90 {
    padding-bottom: 90px;
}

.pb-80 {
    padding-bottom: 80px;
}

.pb-60 {
    padding-bottom: 60px;
}

.pb-50 {
    padding-bottom: 50px;
}

.pb-40 {
    padding-bottom: 40px;
}

.pb-30 {
    padding-bottom: 30px;
}

.pb-20 {
    padding-bottom: 20px;
}

.mt-140 {
    margin-top: 140px;
}

.mt-80 {
    margin-top: 80px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}



.maindiv {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    background-color: #f3f4f6;
    padding-bottom: 80px;
}

.menubgdiv {
    background-color: #fff;
    border-radius: var(--bxradius);
    border: 1px solid #e5e7eb;
}

.contentdiv {
    flex: 1;
    position: relative;
}

.footcopy {
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    border-radius: var(--bxradius);
    text-align: left;
    background-color: #fff;
    position: absolute;
    bottom: 20px;
    left: 300px;
    width: calc(100% - 330px);
}

.logo img {
    max-width: 200px;
    max-height: 40px;
    width: auto;
}

.topbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    background-color: #fff;
    border-radius: var(--bxradius);
    border: 1px solid #e5e7eb;
}

    .topbar h1 {
        font-size: 1.35rem;
        line-height: 1.75rem;
        color: #1f2937;
        margin: 0;
        padding: 0;
    }

    .topbar .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #1f2937;
    }

    .topbar .profile-img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .topbar .dropdown-item {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        font-size: 14px;
    }

        .topbar .dropdown-item span {
            padding-right: 6px;
            font-size: 22px;
        }

.page-content {
    padding: 20px 20px 20px 0;
}

.grid-4col {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.statdiv {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--bxradius);
    background-color: #fff;
}

    .statdiv h3 {
        font-size: 20px;
        line-height: 28px;
        font-weight: 500;
    }

    .statdiv span {
        font-size: 0.75rem;
        line-height: 1rem;
    }

.statspan1 {
    background-color: #eff6ff;
    color: #3b82f6;
}

.statsp1 {
    font-size: 32px;
    line-height: 32px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    color: #1d2836;
}

.statsp2 {
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
    margin: 10px 0 0 0;
    padding: 0;
    color: #6b7280;
}

.form-box {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--bxradius);
    background-color: #fff;
}

    .form-box h3 {
        font-size: 24px;
        line-height: 32px;
        font-weight: 600;
        margin: 0 auto 20px 0;
        padding: 0;
        color: #1d2836;
    }


.form-div {
    padding: 10px 0;
}

    .form-div .form-label {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 6px;
        color: #1d2836;
    }

    .form-div .form-control {
        border-color: #898989;
        border-radius: var(--bxradius);
    }

.form-check-input {
    border-color: #000000;
}

    .form-check-input:checked {
        background-color: var(--prcolor);
        border-color: var(--prcolor);
    }

.submitbtn {
    margin-top: 20px;
    padding: 8px 28px;
    background-color: var(--prcolor);
    border: none;
    color: #fff;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    transition: all 0.4s ease-in-out;
    border-radius: var(--bxradius);
    white-space: nowrap;
}

    .submitbtn:hover {
        color: #fff;
        background-color: var(--prcolor);
    }

.bg-orange, .bg-orange:hover {
    background-color: var(--prcolor);
    color: #fff;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: var(--bxradius);
}

.bg-green {
    background-color: green;
    color: #fff;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: var(--bxradius);
}

.bg-red {
    background-color: red;
    color: #fff;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: var(--bxradius);
}

.edit-icon, .edit-icon:hover {
    color: green;
}

.delete-icon, .delete-icon:hover {
    color: red;
}

.dticons span {
    font-size: 28px;
    color: #494949;
}


.birthday-block {
    margin-top: 40px;
    position: relative;
    padding: 50px 30px 30px 30px;
}

    .birthday-block .title-span {
        position: absolute;
        left: 30px;
        top: -25px;
        height: 50px;
        padding: 0 20px;
        border-radius: var(--bxradius);
        border: 1px solid #e5e7eb;
        background-color: #fff;
        font-size: 20px;
        line-height: 46px;
        color: #333;
        font-weight: 500;
    }

.birthday-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.birthday-div {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--bxradius);
    background-color: #fff;
    display: block;
    vertical-align: top;
    background-image: url(../images/birthday-cake.png);
    background-repeat: no-repeat;
    background-size: 14%;
    background-position: 96% 87%;
}

    .birthday-div .br-image {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
    }

        .birthday-div .br-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
        }

.br-name {
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
    margin: 0 auto 8px 0;
    color: #1d2836;
}

.br-contactno {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    color: #1d2836;
    display: block;
}

.br-birthdate {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    margin: 6px auto 0 0;
    color: #1d2836;
}

@media screen and (max-width: 991px) {
    .birthday-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .birthday-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.cardblock {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

    .cardblock .cardimg {
        width: 100%;
        height: 220px;
        overflow: hidden;
        position: relative;
        border-radius: 10px;
    }

        .cardblock .cardimg img {
            width: 100%;
            position: absolute;
            transform: translateY(0%);
            transition: 3s ease-in-out;
        }

    .cardblock:hover img {
        transform: translateY(calc(-100% + 220px));
    }

    .cardblock .grddiv {
        background: linear-gradient(to top, rgb(0, 0, 0), rgba(255, 255, 255, 0.1));
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }

.cardtitle {
    font-size: 18px;
    color: #000;
    text-align: center;
    margin: 15px auto 15px auto;
}

input[type="radio"][id^="frame"] {
    display: none;
}

label:after {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 25%;
    border: 1px solid grey;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    transition-duration: 0.4s;
    transform: scale(0);
    z-index: 9999;
}

.cardblock :checked + label {
    background: linear-gradient(to top, red, rgba(255, 255, 255, 0.1));
    border-radius: 10px;
}

    .cardblock :checked + label:after {
        content: "✓";
        background-color: red;
        transform: scale(1);
    }

:checked + label img {
    box-shadow: 0 0 5px #333;
    z-index: 1;
    border-radius: 10px;
}

:checked + label .cardtitle {
    color: #fff;
}

.frm-imgdiv {
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: rgba(71, 71, 71, 0.4) 0px 5px 14px -3px;
    background: rgb(255, 255, 255);
    padding-bottom: 65px;
}

    .frm-imgdiv .image {
        height: 250px;
        width: 100%;
        position: relative;
        overflow: hidden;
        border-bottom: 1px solid rgb(221, 221, 221);
    }

        .frm-imgdiv .image img {
            max-width: 100%;
            position: absolute;
            left: 0;
            transform: translateY(0%);
            transition: all 3s ease-in-out;
        }

    .frm-imgdiv:hover img {
        transform: translateY(calc(-100% + 250px));
    }

    .frm-imgdiv h5 {
        font-size: 18px;
        font-weight: 500;
        margin: 15px auto 0 auto;
    }

    .frm-imgdiv button {
        background-color: #17478f;
        border: none;
        outline: none;
        font-size: 14px;
        line-height: 14px;
        padding: 10px 16px;
        border-radius: 6px;
        color: #fff;
        border: none;
        outline: none;
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
    }


.event-div {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: var(--bxradius);
    background-color: #fff;
}

.event-topdiv {
    display: flex;
    align-items: flex-start;
}

.event-div .evetitle {
    width: 50%;
}

    .event-div .evetitle h3 {
        color: #ff3131;
        font-size: 20px;
        font-weight: 600;
    }

    .event-div .evetitle span {
        font-size: 14px;
    }

.event-div .evemember {
    width: 40%;
}

.event-div .evemmorediv {
    width: 10%;
    align-self: center;
}

    .event-div .evemmorediv button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        box-shadow: #0000003d 0 3px 8px;
        text-align: center;
        border: none;
        background-color: #fff;
    }

        .event-div .evemmorediv button span {
            font-size: 30px;
            line-height: 39px;
            transition: transform 0.3s ease;
        }

.event-div.active .evemmorediv button span {
    transform: rotate(90deg) translateY(2px);
}

.event-bottomdiv {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.event-div.active .event-bottomdiv {
    display: block;
}

.event-allbtns {
    border-top: 1px dashed #898989;
    padding-top: 15px;
    margin-top: 15px;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

    .event-allbtns a {
        display: block;
        width: 100%;
        padding: 15px 10px 15px 55px;
        color: #fff;
        font-size: 16px;
        line-height: 16px;
        background-color: #ff3131;
        border-radius: var(--bxradius);
        position: relative;
        overflow: hidden;
    }

        .event-allbtns a:before {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            background-color: rgba(0,0,0,0.4);
            font-family: "Material Icons";
            content: '\e145';
            font-size: 30px;
            width: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

@media (max-width: 767px) {
    .event-div {
        flex-wrap: wrap;
    }

    .event-topdiv {
        flex-wrap: wrap;
    }

    .event-div .evetitle {
        width: 100%;
    }

    .event-div .evemember {
        width: 80%;
        font-size: 14px;
    }

    .event-div .evemmorediv {
        width: 20%;
        align-self: end;
    }

    .event-allbtns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .event-allbtns {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}


.formbox {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 0 15px 15px 15px;
    background-color: #f8f8f8;
    border-radius: var(--bxradius);
}

.paymentsummary {
    margin-top: 15px;
    border-radius: var(--bxradius);
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ced4da;
}