html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-size: 1.5rem;
    color: #000;
    background: #f5f5f5;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    /* font-family: "Great Vibes", cursive; */
}

.btn,
a {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.btn:hover,
a:hover {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
    outline: none;
    box-shadow: none;
}

.login-container {
    width: 40rem;
    margin-top: 5rem;
    padding: 2rem;
    border-radius: 0.8rem;
    background-color: #ffffff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 9999;
}

.login-container h1 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.btn-primary {
    background-color: #8d3208;
    border-color: #8d3208;
    font-size: 1.7rem;
    width: max-content;
}

.btn-primary:hover {
    background-color: #000;
    border-color: #000;
}

.footer-text {
    margin-top: 2rem;
    font-size: 1.4rem;
    color: #333;
}

.form-select,
.form-control {
    height: 4rem;
    font-size: 1.4rem;
    line-height: 3rem;
    color: #000;
}

a {
    color: #7f6739;
}

a:hover {
    color: #c8880d;
}

.wrapper {
    background: url(../images/login-bg.jpg) no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    background-position: top;
}

.wrapper::before {
    content: "";
    background: rgb(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
    display: none;
    /* Hide the icon by default */
}

.password-container {
    position: relative;
}

.wrapper h2 {
    color: #fff;
    font-size: 5rem;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    width: max-content;
}

header {
    background: #75571d;
    width: 100%;
    box-sizing: border-box;
    height: 5rem;
}

header nav ul {
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    padding: 0 2rem;
    color: #fff;
    text-decoration: none;
    display: block;
    height: 5rem;
    line-height: 5rem;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #fff;
    background: #563900;
}

.menu-toggle {
    color: #fff;
    text-align: right;
    line-height: 5rem;
    font-size: 2.4rem;
    cursor: pointer;
    display: none;
    position: relative;
    z-index: 999;
}

@media (max-width: 991px) {
    header {
        padding: 0 2rem;
    }
    .menu-toggle {
        display: block;
    }
    header nav {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #333;
        top: 0;
        left: -100%;
        transition: 0.5s;
    }
    header nav.active {
        left: 0;
    }
    .header nav.active.menu-toggle {
        position: fixed;
        top: 0;
    }
    header nav.active.fa-bars {
        display: none !important;
    }
    header nav ul {
        display: block;
        text-align: center;
    }
    header nav ul li a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
}

.topbg {
    background: #efe1bf;
    padding-top: 1rem;
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
}

.topbg h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #b37500;
}

.mid-content h3 {
    font-size: 2.3rem;
    font-weight: 600;
}

.mid-content h4 {
    font-size: 2.3rem;
    font-weight: 500;
    color: #830501;
}

footer {
    background: #75571d;
    color: #fff;
    font-weight: 400;
    margin-top: 8rem;
}

footer p {
    font-size: 1.3rem;
}

footer p a {
    color: #efe1bf;
    font-weight: 500;
    text-decoration: none;
}

footer p a:hover {
    color: #830501;
}

.mid-content {
    padding: 15rem 0;
}

.fa-bars {
    position: relative;
    z-index: 999;
}

.insidebg {
    background: url(../images/inside_bg.jpg) repeat;
    width: 100%;
    height: 100%;
    padding: 25rem 0 5rem 0;
}

.customewidth {
    width: 95%;
}

.insidebg label {
    text-align: left !important;
    margin-bottom: 0.5rem;
    display: block;
}

.heading {
    font-weight: 600;
    background: #b37500;
    color: #fff;
    width: max-content;
    padding: 1rem 2rem;
    font-size: 1.6rem;
}

.border01 {
    border: 1px solid #a7997f;
    border-radius: 1.5rem;
    padding: 2rem;
}

hr {
    border-top: 1px solid #a7997f;
    opacity: 1;
    margin-top: 0;
}

.ui[class*="left icon"].input>i.icon {
    background: #333;
}

.ui[class*="left icon"].input>input {
    padding-left: 5.5rem !important;
}

.ui.icon.input>i.icon:after,
.ui.icon.input>i.icon:before {
    color: #fff;
}

.ui.icon.input>i.icon {
    opacity: 1;
}

.ui.top.left.popup {
    margin-left: 0;
}

.btn-success {
    background: #563900;
    border: 0;
    font-size: 1.7rem;
    display: block;
}

.btn-success:hover {
    background: #b37500;
}

.tablenew {
    margin-top: 5rem;
}

.tablenew h2 {
    background: #75571d;
    color: #fff;
}

.border2 {
    border: 1px solid #75571d;
}

.tablenew table thead {
    background: #cfc6b4;
}

.tablenew .btn {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    border: 0;
}

.btn-info {
    background: #2a9fe2;
    color: #fff;
}

.btn-info:hover {
    background: #1274ad;
    color: #fff;
}

.tablenew table {
    font-size: 1.4rem;
    text-align: center;
}

.tablenew table td {
    vertical-align: middle;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #b3a281;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #fff !important;
    border: 0;
    background: #b37500;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_info {
    font-size: 1.4rem;
}

.dataTables_filter input {
    border: 1px solid #ccc;
    height: 3rem;
    padding-left: 0.5rem;
}

.dataTables_filter input:focus {
    box-shadow: none;
    outline: none;
}

.dataTables_length select {
    border: 1px solid #ccc;
    font-size: 1.4rem;
}

.dataTables_length select option {
    font-size: 1.4rem;
}

.tablenew table.dataTable.nowrap th {
    font-weight: 600;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    border: 0;
    background: #634001;
    color: #fff !important;
}

.btn-warning {
    background: #634001;
    color: #fff;
    font-size: 1.5rem;
    border: 0;
}

.btn-warning:hover {
    background: #b87905;
    color: #fff;
}

.tablenew table.dataTable thead th {
    border-bottom: 1px solid #b3a281;
}

.errormsg {
    color: red;
    font-size: 1.2rem;
}

.tablenew table ul {
    float: left;
}

.tablenew table ul li {
    text-align: left;
}

.ui[class*="left icon"].input>input {
    width: 100%;
}

.tablenew .btn {
    display: inline-block;
}

.tablenew .btn-success {
    background: #298b0b;
    color: #fff;
    border-radius: 0.375rem;
}

.tablenew .btn-success:hover {
    background: #1c6306;
}

.tablenew i {
    vertical-align: middle;
}

.headmember {
    background: #563900;
}

.personald-bg {
    background: #d9cdb7;
}

.intl-tel-input,
.iti {
    width: 100%;
}

.bgadd {
    background: #d9cdb7;
}

.plusadd {
    background: #298b0b;
    color: #fff;
    font-weight: 500;
    font-size: 1.6rem;
    display: block;
    text-decoration: none;
    margin-top: 2.7rem;
    border-radius: 2px;
}

.plusadd:hover {
    background: #563900;
}

.minusadd a {
    background: #d70b05;
    width: 3.8rem;
    height: 3.8rem;
    line-height: 3.8rem;
    color: #fff;
    font-weight: 600;
    font-size: 2.7rem;
    display: block;
    text-decoration: none;
    margin-top: 2.7rem;
    border-radius: 2px;
}

.plusadd a:hover {
    background: #563900;
}

.remove {
    display: none;
}

.form-check-input {
    width: 2rem;
    height: 2rem;
}

.form-check-input[type="checkbox"] {
    border-radius: 0;
}

.form-check-label {
    margin-left: 0.8rem;
}

.churchbox {
    border: 1px solid #bbbbbb;
    box-shadow: 0 0 5px #bbbbbb;
    border-radius: 1rem;
}

.imageblock {
    width: 100%;
    height: 23rem;
    overflow: hidden;
}

.imageblock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.churchbox h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0;
}
 .highlight-row {
            background-color: #FFB8B8 !important;
        }

/* Responsive */

@media screen and (max-width: 922px) {
    .topbg h1 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .insidebg {
        padding: 18rem 0 5rem 0;
    }
}

@media screen and (max-width: 600px) {
    .topbg h1 {
        font-size: 2rem;
    }
    footer p span {
        display: block;
    }
    .topbg {
        padding-top: 0;
    }
    .menu-toggle,
    header {
        height: 7rem;
        line-height: 7rem;
        text-align: center;
    }
    .insidebg {
        padding: 10rem 0 5rem 0;
    }
    .dataTables_length {
        float: left !important;
    }
    .dataTables_filter {
        float: right !important;
        margin-top: 0 !important;
    }
    .churchbox h4 {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .topbg h1 {
        font-size: 1.8rem;
    }
    .topbg h4 {
        font-size: 1.3rem;
    }
    .menu-toggle,
    header {
        padding: 0;
    }
    .menu-toggle,
    header {
        height: 5rem;
        line-height: 5rem;
    }
    header nav ul li a {
        font-size: 1.4rem;
    }
    .mid-content h3 {
        font-size: 1.8rem;
    }
    .mid-content h4 {
        font-size: 1.7rem;
    }
    .insidebg {
        padding: 7rem 0 5rem 0;
    }
    .form-select,
    .form-control {
        height: 3.5rem;
    }
    .insidebg label {
        margin-bottom: 0;
        font-size: 1.4rem;
    }
    .btn-success {
        font-size: 1.6rem;
    }
    .tablenew {
        margin-top: 3rem;
    }
    #example_filter {
        margin-bottom: 1rem;
    }
}