img {
    width: 100%;
}

a {
    text-decoration: none;
}

:root {
    --background-color: white;
    --text-color: black;
    --button-background-color: grey;
    --button-text-color: white;
}

/* Theme classes */
  .theme-red {
      --background-color: #D8220B;
      --background-color-sec-bg: #990f0b;
      --background-color-before-el: #d8220b4d;
      --text-color: #ffffff;
      --button-background-color: #D8220B;
      --button-text-color: #ffffff;
  }

  .theme-orange {
      --background-color: #e3693a;
      --background-color-sec-bg: #7e2b0b;
      --background-color-before-el: #e3693a66;
      --text-color: #ffffff;
      --button-background-color: #e3693a;
      --button-text-color: #ffffff;
  }

  .theme-green {
      --background-color: #0d9989;
      --background-color-sec-bg: #003c35;
      --background-color-before-el: #0d998961;
      --text-color: #ffffff;
      --button-background-color: #0d9989;
      --button-text-color: #ffffff;
  }

  .theme-blue {
      --background-color: #2F65B9;
      --background-color-sec-bg: #1C3964;
      --background-color-before-el: #2f65b95c;
      --text-color: #ffffff;
      --button-background-color:#2F65B9;
      --button-text-color: #ffffff;
  }

  .styled-button {
      background-color: var(--button-background-color);
      color: var(--button-text-color);
      border: none;
      padding: 10px 20px;
      cursor: pointer;
      transition: background-color 0.5s, color 0.5s;
  }

.theme-buttons {
    display: flex;
    padding: 8px;
    position: fixed;
    top: 50%;
    right: -170px;
    background-color: #fff;
    border-radius: 3px 0px 0px 3px;
    z-index: 9;
    transition: 0.3s ease;
    box-shadow: 0px 0px 9px 2px #0000000f;
}
.theme-buttons:hover {
    right: 0px;
}
.theme-buttons span {
    width: 35px;
    height: 35px;
    display: block;
    text-align: center;
    line-height: 2;
    margin-right: 5px;
    cursor: pointer;
}
.theme-buttons .btn-theme-red {
    background-color: #D8220B;
    width: 35px;
    height: 35px;
    border: none;
    margin-right: 5px;
}
.theme-buttons .btn-theme-orange {
    background-color: #e3693a;
    width: 35px;
    height: 35px;
    border: none;
    margin-right: 5px;
}
.theme-buttons .btn-theme-green {
    background-color: #0d9989;
    width: 35px;
    height: 35px;
    border: none;
    margin-right: 5px;
}
.theme-buttons .btn-theme-blue {
    background-color: #2F65B9;
    width: 35px;
    height: 35px;
    border: none;
    margin-right: 5px;
}
.carousel .active:after {
    display: none;
}
.navbar .active {
    position: relative;
}
.navbar .active:after {
    content: '';
    display: block;
    width: 45px;
    height: 2px;
    background-color: var(--button-background-color);
    position: absolute;
    left: 0px;
    right: 0px;
    margin: auto;
    border-top: none !important;
    bottom: 4px;
}

/*/ --- navbar css starts --- /*/
.navbar {
    position: relative;
    width: 100%;
    z-index: 99;
    padding: 5px 7%;
    top: 0px;
    transition: 0.2s ease;
    /*background: rgb(255,255,255);*/
    /*background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(0,212,255,0) 100%);*/
}
.navbar-fixed-top.scrolled-inner {
    position:fixed;
    background-color: #fff !important;
    transition: background-color 200ms linear;
    -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
}
.navbar .navbar-brand {
    width: 135px;
    transition: 0.2s ease;
}
.navbar-fixed-top.scrolled-inner .navbar-brand {
    width: 110px;
}
.navbar .nav-link {
    font-family: "Oxygen", sans-serif;
    color: #000;
}
.navbar .navbar-nav {
    margin-left: auto;
}
.navbar .navbar-nav .nav-link {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
}
.navbar-toggler img {
    width: 25px;
    opacity: 0.8;
}
.navbar .login-nav-link {
    border-radius: 50px;
    border: 2px solid #2f65b9;
    margin-left: 5px;
    color: #2f65b9;
    font-weight: 600;
    padding: 5px 10px !important;
}
/*/ --- navbar css ends --- /*/


/*/ --- home slider css starts --- /*/
.main-slider img {
    height: 88vh;
    object-fit: cover;
}
.main-slider {
    position: relative;
}
.main-slider .slider-content {
    position: absolute;
    top: 33%;
    left: 7%;
    width: 50%;
}
.main-slider .slider-content h1 {
    font-family: "Marcellus", serif;
    color: #fff;
    font-weight: 800;
    font-size: 34px;
    text-shadow: 2px 1px 6px #00000036;
}
.main-slider .slider-content h2 {
    font-size: 18px;
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-weight: 500;
    text-shadow: 2px 1px 6px #00000036;
}
.main-slider .slider-content p {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    text-shadow: 2px 1px 6px #00000036;
    font-size: 15px;
}
.main-slider .slider-content h5 {
    font-family: "Marcellus", serif;
/*     background-color: #2F65B9; */
    color: #fff;
    width: fit-content;
    padding: 5px 17px;
    border-radius: 3px;
    margin-bottom: 15px;
}
.main-slider .slider-content .search-bar input {
    padding: 20px 70px 20px 35px;
    width: 100%;
    font-size: 18px;
    border-radius: 50px;
    background-color: #fff;
    border: none;
}
.main-slider .slider-content .search-bar input:focus-within {
    outline: none;
}
.main-slider .slider-content .search-bar {
    position: relative;
    width: 70%;
    margin-top: 20px;
}
.main-slider .slider-content .search-bar button {
    font-family: "Oxygen", sans-serif;
    border: none;
    position: absolute;
    top: 20px;
    right: 15px;
    z-index: 9;
    background-color: #fff;
}
.main-slider .slider-content .search-bar input::placeholder {
    font-family: "Oxygen", sans-serif;
}
.main-slider .slider-content .login-reg-btns a {
    display:block;
    border-radius: 50px;
    border: 2px solid #2f65b9;
    margin-left: 5px;
    color: #2f65b9;
    font-weight: 600;
    padding: 5px 18px !important;
    font-family: "Oxygen", sans-serif;
    width:fit-content;
}
.main-slider .slider-content .login-reg-btns {
    display:flex;
    gap:10px;
}
.carousel-control-next, .carousel-control-prev {
    width:5% !important;
}
/*/ --- home slider css ends --- /*/


/*/ --- highlights css starts -- /*/
.hightlights-main .custom-container {
    padding: 0px 7%;
    background-color: var(--background-color-sec-bg);
    transition: background-color 0.5s, color 0.5s;
}
.hightlights-main .custom-container {
    padding: 0px 7%;
}
.hightlights-main .highlights-box h4 {
    font-family: "Marcellus", serif;
    color: #fff;
    font-size: 24px;
    text-align: center;
}
.hightlights-main .highlights-box a {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-weight: 300;
    font-size: 14px;
    margin: auto;
    display: block;
    width: fit-content;
}
.hightlights-main h6 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    width: fit-content;
    padding: 5px 17px;
    border-radius: 3px;
    text-align: center;
    margin: -15px auto 0px;
    z-index: 88;
    position: relative;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
}
.hightlights-main .highlights-box {
    padding: 50px 20px;
}
.hightlights-main .highlights-box:first-child {
    border-right: 1px solid #fff;
}
.hightlights-main .highlights-box:last-child {
    border-right: none;
}
/*/ --- highlights css ends --- /*/

/*/ --- anniversaries home starts --- /*/
.anniversaries-home {
    background-color: #edf1f4;
}
.anniversaries-home .custom-container {
    padding: 80px 7%;
}
.anniversaries-home h4 {
    font-family: "Marcellus", serif;
    color: #242528;
    font-size: 46px;
}
.anniversaries-home a {
    font-family: "Oxygen", sans-serif;
    color: var(--button-background-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 40px;
    letter-spacing: 2px;
    display: block;
}
.anniversaries-home .ann-row {
    display: flex;
    flex-wrap: wrap;
}
.anniversaries-home .ann-row .ann-box {
    width: 20%;
    padding: 0px 14px;
    position: relative;
}
.anniversaries-home .ann-row .ann-box .date {
    position: absolute;
    top: 13px;
    left: 25px;
}
.anniversaries-home .ann-row .ann-box img {
    height: 230px;
    object-fit: cover;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.anniversaries-home .ann-row .ann-box .content {
    text-align: center;
    background-color: #fff;
    padding: 15px 10px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
.anniversaries-home .ann-row .ann-box .content h5 {
    margin-bottom: 0px;
    font-family: "Oxygen", sans-serif;
    font-weight: 600;
}
.anniversaries-home .ann-row .ann-box .content p {
    margin-bottom: 0px;
    font-weight: 400;
}
.anniversaries-home .ann-box .date h3 {
    display: flex;
    flex-wrap: wrap;
    width: 50px;
}
.anniversaries-home .ann-box .date h3 span:first-child {
    background-color: var(--button-background-color);
    color: var(--button-text-color);
    font-family: "Oxygen", sans-serif;
    font-size: 16px;
    width: 100%;
    text-align: center;
    padding: 4px;
    transition: background-color 0.5s, color 0.5s;
}
.anniversaries-home .ann-box .date h3 span:nth-child(2) {
    background-color: #fff;
    color: #000;
    font-family: "Oxygen", sans-serif;
    font-size: 16px;
    width: 100%;
    text-align: center;
    padding: 4px;
}
/*/ --- anniversaries home ends --- /*/

/*/ --- blog home starts --- /*/
.blog-home .custom-container {
    padding: 80px 7%;
}
.blog-home .head {
    font-family: "Marcellus", serif;
    color: #242528;
    font-size: 46px;
}
.blog-home .head-link {
    font-family: "Oxygen", sans-serif;
    color: var(--button-background-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 40px;
    letter-spacing: 2px;
    display: block;
}
.blog-home .highlighted-blog {
    position: relative;
}
.blog-home .highlighted-blog img {
    height: 550px;
    object-fit: cover;
    border-radius: 4px;
}
.blog-home .highlighted-blog .content {
    position: absolute;
    left: 0px;
    bottom: 0px;
    padding: 20px;
}
.blog-home .highlighted-blog .content h4 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-weight: 600;
    font-size: 22px;
}
.blog-home .highlighted-blog .content h6 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-size: 16px;
    font-family: 400;
}
.blog-home .highlighted-blog .content .user {
    display: flex;
    align-items: center;
}
.blog-home .highlighted-blog .content .user img {
    width: 40px;
    height: 40px;
    border-radius: 60px;
}
.blog-home .highlighted-blog .content .user h5 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-size: 16px;
    padding-left: 10px;
    font-family: 400;
}
.blog-home .highlighted-blog:before {
    content: '';
    display: block;
    width: 100%;
    height: 550px;
    background-color: #00000080;
    position: absolute;
    border-radius: 4px;
}

.blog-home .normal-blog {
    position: relative;
    margin-bottom: 20px;
}
.blog-home .normal-blog img {
    height: 265px;
    object-fit: cover;
    border-radius: 4px;
}
.blog-home .normal-blog .content {
    position: absolute;
    left: 0px;
    bottom: 0px;
    padding: 20px;
}
.blog-home .normal-blog .content h4 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-weight: 600;
    font-size: 22px;
}
.blog-home .normal-blog .content h6 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-size: 16px;
    font-family: 400;
}
.blog-home .normal-blog .content .user {
    display: flex;
    align-items: center;
}
.blog-home .normal-blog .content .user img {
    width: 40px;
    height: 40px;
    border-radius: 60px;
}
.blog-home .normal-blog .content .user h5 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-size: 16px;
    padding-left: 10px;
    font-family: 400;
}
.blog-home .normal-blog:before {
    content: '';
    display: block;
    width: 100%;
    height: 265px;
    background-color: #00000080;
    position: absolute;
    border-radius: 4px;
}
/*/ --- blog home ends --- /*/

/*/ --- footer starts --- /*/
.footer {
    background-color: #fafbfc;
    display: flex;
}
.footer .custom-container {
    padding: 60px 7%;
}
.footer .footer-about p {
    font-family: "Oxygen", sans-serif;
    text-align: left;
    color: #000;
    margin-bottom: 0px;
}
.footer .footer-links a {
    font-family: "Oxygen", sans-serif;
    text-align: left;
    color: #000;
}
.footer .footer-links ul {
    margin-bottom: 0px;
}
.footer .footer-links ul li {
    list-style: none;
    margin-bottom: 15px;
}
.footer-photos .photos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
}
.footer-photos .photo-box {
    width: 10%;
}
.footer-photos .photo-box img {
    height: 130px;
    object-fit: cover;
    filter: grayscale(1);
    transition: 0.3s ease-in;
}
.footer-photos .photo-box img:hover {
    filter: grayscale(0) !important;
    cursor: pointer;
}
/*/ --- footer ends --- /*/


/*/ --- copyright starts --- /*/
.copyright .custom-container {
    padding: 30px 7%;
}
.copyright p {
    font-family: "Oxygen", sans-serif;
    color: #000;
    font-size: 15px;
    margin-bottom: 0px;
}
.copyright p a {
    font-family: "Oxygen", sans-serif;
    color: #000;
}
.copyright .text-right p {
    text-align: right;
}
/*/ --- copyright ends --- /*/


/*/ --- timeline page css starts --- /*/
.timeline-main {
    background-color: #edf1f4;
    padding-bottom: 60px;
}
.timeline{
    position:relative;
    margin:0px auto 0px;
    padding:40px 0;
    width:1000px;
    box-sizing:border-box;
    z-index: 9;
}
.timeline:before{
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #c5c5c5;
    top: 0px;
    border: 10px;
}
.timeline ul{
    padding:0;
    margin:0;
}
.timeline ul li{
    list-style:none;
    position:relative;
    width:50%;
    padding:20px 40px;
    box-sizing:border-box;
}
.timeline ul li:nth-child(odd){
    float:right;
    text-align:left;
    clear:both;
}
.timeline ul li:nth-child(even){
    float:left;
    text-align:right;
    clear:both;
}
.timeline .content{
    padding-bottom:115px;
    position: relative;
}
.timeline ul li:nth-child(odd):before {
    content:'';
    position:absolute;
    width:10px;
    height:10px;
    top:28px;
    left:-4px;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
    border-radius:50%;
    box-shadow:0 0 0 3px var(--background-color-before-el);
    z-index: 8;
}
.timeline ul li:nth-child(even):before {
    content:'';
    position:absolute;
    width:10px;
    height:10px;
    top:28px;
    right:-6px;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
    border-radius:50%;
    box-shadow:0 0 0 3px var(--background-color-before-el);
    z-index: 8;
}
.timeline ul li:nth-child(odd):after {
    content: '';
    position: absolute;
    width: 46px;
    height: 1.5px;
    top: 33px;
    left: -45px;
    background: rgb(203 206 208);
}
.timeline ul li:nth-child(even):after {
    content: '';
    position: absolute;
    width: 46px;
    height: 1.5px;
    top: 33px;
    right: -45px;
    background: rgb(203 206 208);
}
.timeline ul li:nth-child(odd) h3{
    margin: 0;
    margin-bottom: 0px;
    font-family: "Oxygen", sans-serif;
    font-weight: 600;
    font-size: 17px;
    background-color: #fff;
    width: fit-content;
    padding: 17px 30px 17px 50px;
    position: absolute;
    top: -17px;
    left: 65px;
    border-radius: 50px;
}
.timeline ul li:nth-child(even) h3{
    margin: 0;
    margin-bottom: 0px;
    font-family: "Oxygen", sans-serif;
    font-weight: 600;
    font-size: 17px;
    background-color: #fff;
    width: fit-content;
    padding:17px 50px 17px 30px;
    position: absolute;
    top: -17px;
    right: 65px;
    border-radius: 50px;
}
.timeline ul li p{
    margin:10px 0 0;
    padding:0;
}
.timeline ul li .time h4{
    margin:0;
    padding:0;
    font-size:14px;
    font-family: "Oxygen", sans-serif;
    color: #000;
}
.timeline ul li:nth-child(odd) .time{
    position: absolute;
    top: 16px;
    left: -200px;
    margin: 0;
    padding: 8px 16px;
    background: transparent;
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 0 0 3px rgb(126 126 126 / 30%);
    min-width: 155px;
    text-align: center;
}
.timeline ul li:nth-child(even) .time {
    position: absolute;
    top: 16px;
    right: -200px;
    margin: 0;
    padding: 8px 16px;
    background: transparent;
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 0 0 3px rgb(126 126 126 / 30%);
    min-width: 155px;
    text-align: center;
}
.timeline .content img {
    width: 95px;
    height: 95px;
    object-fit: cover;
    border-radius: 200px;
    position: absolute;
    top: -37px;
    border: 4px solid #fff; 
    z-index: 9;
}

/*.timeline-head-banner .custom-container {
    padding: 0px 0px 150px;
}*/
.timeline-head-banner .banner img {
    height: 70vh;
    object-fit: cover;
    filter: grayscale(1);
}
.timeline-head-banner .banner {
    position: relative;
}
.timeline-head-banner .banner:before {
    content: '';
    /*display: block;*/
    display:none;
    width: 100%;
    height: 80vh;
    background-color: #0000003d;
    position: absolute;
    top: 0px;
    z-index: 9;
}
.timeline-head-banner .banner .content h6 {
    font-family: "Oxygen", sans-serif;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
    color: #fff;
    width: fit-content;
    padding: 5px 17px;
    border-radius: 3px;
    text-align: center;
    margin: -45px auto 0px !important;
    position: relative;
    z-index: 88;
}
.timeline-head-banner .banner .content h4 {
    font-family: "Marcellus", serif;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    text-shadow: 2px 1px 6px #00000036;
    text-align: center;
    margin-top: 12px;
    width: 80%;
    margin: 15px auto;
}
.timeline-head-banner .banner .content {
    /*position: absolute;*/
    /*top: 200px;*/
    z-index: 9;
    /*left: 0px;*/
    /*right: 0px;*/
    position: unset !important;
    background-color: var(--background-color-sec-bg);
    transition: background-color 0.5s, color 0.5s;
    padding: 30px 0px 30px;
}
.timeline ul li:nth-child(odd) img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 200px;
    position: absolute;
    top: -40px;
    border: 4px solid #fff;
    z-index: 9;
}
.timeline ul li:nth-child(even) img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 200px;
    position: absolute;
    top: -40px;
    border: 4px solid #fff;
    z-index: 9;
    right: 0px;
}
/*.timeline ul li:first-child .time {*/
/*    box-shadow: 0 0 0 3px rgb(255 255 255 / 90%);*/
/*}*/
.timeline ul li:first-child .time h4 {
    color: #000;
}
.timeline ul li h3 span {
    font-size: 14px;
    color: #7f7f7f;
    font-weight: 400;
}
/*/ --- timeline page css ends --- /*/


/*/ --- directory page css starts --- /*/
.directory-head-banner .banner img {
    height:70vh;
    object-fit: cover;
    filter: grayscale(1);
}
.history-head-banner .banner img {
    height:75vh !important;
}
.history-head-banner .banner:before {
    display:none !important;
}
.history-head-banner .banner .content {
    position:unset !important;
    background-color: var(--background-color-sec-bg);
    transition: background-color 0.5s, color 0.5s;
}
.directory-head-banner .banner {
    position: relative;
}
.directory-head-banner .banner .content h6 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    width: fit-content;
    padding: 5px 17px;
    border-radius: 3px;
    text-align: center;
    margin: -45px auto 0px;
    z-index: 88;
    position: relative;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
}
.directory-head-banner .banner .content h4 {
    font-family: "Marcellus", serif;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    text-shadow: 2px 1px 6px #00000036;
    text-align: center;
    margin-top: 12px;
    width: 80%;
    margin: 15px auto;
}
.directory-head-banner .banner .content {
    /*position: absolute;*/
    /*top: 200px;*/
    z-index: 9;
    /*left: 0px;*/
    /*right: 0px;*/
    position: unset !important;
    background-color: var(--background-color-sec-bg);
    transition: background-color 0.5s, color 0.5s;
    padding: 30px 0px 30px;
}
.history-head-banner .content {
    bottom:5px;
    top:unset !important;
    padding: 30px 0px 30px;
}
.history-head-banner .content h4 {
    padding: 10px;
    border-radius: 5px;
    margin:0px auto !important;
}
.history-head-banner .content h6 {
    margin:-45px auto 0px !important;
    position:relative;
    z-index:88;
}
.directory-head-banner .banner:before {
    content: '';
    /*display: block;*/
    display:none;
    width: 100%;
    height:63vh;
    background-color: #0000003d;
    position: absolute;
    top: 0px;
    z-index: 9;
}
.directory-head-banner .search-box {
    background-color: #fff;
    padding: 13px 45px;
    width: 50%;
    margin: auto;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: -50px;
    z-index: 9;
    border-radius: 70px;
    box-shadow: 0px 0px 7px 2px #00000029;
}
.directory-head-banner .search-box input {
    font-family: "Oxygen", sans-serif;
    border: none;
    position: relative;
    width: 100%;
    height: 45px;
}
.directory-head-banner .search-box input:placeholder {
    font-family: "Oxygen", sans-serif;
}
.directory-head-banner .search-box input:focus-within {
    outline: none;
}
.directory-head-banner .search-box button {
    border: none;
    background: none;
    position: absolute;
    top: 23px;
    right: 27px;
}
.directory-head-banner .search-box button i {
    font-size: 20px;
}
.members-directory-inner {
    background-color: #edf1f4;
}
.members-directory-inner .custom-container {
    padding: 80px 7%;
}
.members-directory-inner .member-row {
    display: flex;
    flex-wrap: wrap;
}
.members-directory-inner .member-row .member-box {
    width: fit-content;
    min-width: 35%;
    padding: 0px 14px;
    position: relative;
    margin-bottom: 25px;
}
.members-directory-inner .member-box {
    background-color:#fff;
}
.members-directory-inner .member-box .content {
    padding:10px 5px;
}
.members-directory-inner a {
    color:#000;
}
.member-box h5 {
    text-align:center;
    font-size:18px;
    margin-bottom:0px;
    color#000;
}
.member-box h6 {
    text-align:center;
    font-size:15px;
    margin-bottom:0px;
    color#000;
}
.member-box p {
    text-align:center;
    font-size:14px;
    margin-bottom:0px;
    color#000;
}
.member-box {
    margin-bottom:15px;
}
.members-directory-inner .member-row .member-box img {
    height: 170px;
    object-fit: cover;
    border-radius: 10px !important;
}
.members-directory-inner .member-row .member-box .content {
    text-align: center;
    background-color: #fff;
    padding: 15px 10px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
.members-directory-inner .member-row .member-box .content h5 {
    margin-bottom: 0px;
    font-family: "Oxygen", sans-serif;
    font-weight: 600;
}
.members-directory-inner .member-row .member-box .content p {
    margin-bottom: 0px;
    font-weight: 400;
}

.members-directory-inner .popup h5 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 0px;
}
.members-directory-inner .popup h6 {
    text-align: center;
    font-size: 15px;
    margin-bottom: 5px;
}
.members-directory-inner .popup p {
    text-align: center;
    font-size: 14px;
    margin-bottom: 0px;
}

/* Styles for overlay */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index:9;
        }

        /* Styles for popup */
        .popup {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            position: relative;
            width: 300px;
            text-align: center;
        }

        /* Close button */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
        }
/*/ --- directory page css ends --- /*/


/*/ --- family tree css starts --- /*/
.familytree-head-banner .banner img {
    height:67vh;
    object-fit: cover;
    filter: grayscale(1);
}
.familytree-head-banner .banner {
    position: relative;
}
.familytree-head-banner .banner .content h6 {
    font-family: "Oxygen", sans-serif;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
    color: #fff;
    width: fit-content;
    padding: 5px 17px;
    border-radius: 3px;
    text-align: center;
    margin: auto;
}
.familytree-head-banner .banner .content h4 {
    font-family: "Marcellus", serif;
    color: #fff;
    font-weight: 800;
    font-size: 54px;
    text-shadow: 2px 1px 6px #00000036;
    text-align: center;
    margin-top: 12px;
}
.familytree-head-banner .banner .content {
    position: absolute;
    top: 200px;
    z-index: 9;
    left: 0px;
    right: 0px;
}
.familytree-head-banner .banner:before {
    content: '';
    display: block;
    width: 100%;
    height:67vh;
    background-color: #0000003d;
    position: absolute;
    top: 0px;
    z-index: 9;
}
.familytree-head-banner .family-member img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 150px;
    border: 3px solid #fff;
    margin-right: 10px;
}
.familytree-head-banner .family-member .member-content h4 {
    font-family: "Marcellus", serif;
    color: #fff;
    font-weight: 800;
    font-size: 50px;
    text-shadow: 2px 1px 6px #00000036;
}
.familytree-head-banner .family-member .member-content h5 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 0px;
    text-shadow: 2px 1px 6px #00000036;
}
.familytree-head-banner .family-member .member-content p {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    text-shadow: 2px 1px 6px #00000036;
}
.familytree-head-banner .family-member {
    position: absolute;
    top: 250px;
    z-index: 9;
    display: flex;
    margin: auto;
    left: 0px;
    right: 0px;
    justify-content: center;
}
.family-tree-main {
    background-color: #edf1f4;
}
.family-tree-main .custom-container {
    padding: 70px 12%;
}
.family-tree-main .parents-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
    row-gap: 90px;
    padding: 50px 0px;
}
.family-tree-main .parents-row .member-box {
    width: 22%;
    position: relative;
    margin-bottom: 25px;
    z-index: 8;
    background-color:#fff;
}
.children-row-second .member-box{
    width:100% !important;
}
.children-row-second{
    margin-left:35px;
}
.family-tree-main .parents-row .member-box img {
    height: 210px;
    object-fit: contain;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.family-tree-main .parents-row .member-box .content {
    text-align: center;
    background-color: #fff;
    padding: 20px 10px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
.family-tree-main .parents-row .member-box .content h5 {
    margin-bottom: 0px;
    font-family: "Oxygen", sans-serif;
    font-weight: 600;
}
.family-tree-main .parents-row .member-box .content p {
    margin-bottom: 0px;
    font-weight: 400;
}
.family-tree-main .parents-row .father-box .content {
    background-color: var(--background-color-sec-bg);
    transition: background-color 0.5s, color 0.5s;
}
.family-tree-main .parents-row .father-box .content h5 {
    color: #fff;
}
.family-tree-main .parents-row .father-box .content p {
    color: #fff;
}
.family-tree-main .parents-row .member-box .w-name {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
    text-transform: uppercase;
    font-size: 15px;
    padding: 3px 14px;
    width: fit-content;
    border-radius: 3px;
    position: absolute;
    top: -12px;
    right: 0px;
    left: 0px;
    margin: auto;
    letter-spacing: 1.5px;
}
.family-tree-main .parents-row .wife-box:before {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #ced0d9;
    position: absolute;
    left: -40px;
    top: 260px;
    z-index: -1;
}

.family-tree-main .childrens-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
    row-gap: 90px;
    padding: 50px 0px;
    position: relative;
}
.family-tree-main .childrens-row:before {
    display: block;
    content: '';
    position: absolute;
    top: -75px;
    margin-left: -1px;
    width: 2px;
    background-color: #ced0d9;
    bottom: calc(50% - 0px); /* Initial position */
    left: calc(((100% - 120px) / 4) / 2);
}

.family-tree-main .childrens-row-second:before {
    bottom: 0%; /* Adjusted position when childrensecond appears */
}

.family-tree-main .childrens-row .member-box {
    width: 100%;
    position: relative;
    margin-bottom: 25px;
    z-index: 8;
    background-color:#fff;
}
.family-tree-main .childrens-row .member-box:before {
    display: block;
    content: '';
    position: absolute;
    right: 50%;
    top: -45px;
    margin-top: -2px;
    height: 2px;
    z-index: 10;
    background-color: #ced0d9;
    left: -50%;
    margin-left: -40px;
}
.family-tree-main .childrens-row .member-box:after {
    display: block;
    content: '';
    position: absolute;
    left: 50%;
    top: -45px;
    margin-top: -2px;
    margin-left: -1px;
    width: 2px;
    height: 50px;
    z-index: -1;
    background-color: #ced0d9;
}
.family-tree-main .childrens-row .member-box:nth-child(3n+1) {
    grid-column-start: 2;
}
.family-tree-main .childrens-row .member-box img {
    height: 210px;
    object-fit: contain;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.family-tree-main .childrens-row .member-box .content {
    text-align: center;
    background-color: #fff;
    padding: 20px 10px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
.family-tree-main .childrens-row .member-box .content h5 {
    margin-bottom: 0px;
    font-family: "Oxygen", sans-serif;
    font-weight: 600;
}
.family-tree-main .childrens-row .member-box .content p {
    margin-bottom: 0px;
    font-weight: 400;
}
.family-tree-main .childrens-row .member-box .w-name {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
    text-transform: uppercase;
    font-size: 15px;
    padding: 3px 14px;
    width: fit-content;
    border-radius: 3px;
    position: absolute;
    top: -12px;
    right: 0px;
    left: 0px;
    margin: auto;
    letter-spacing: 1.5px;
}
.family-tree-main .childrens-row .member-box button {
    background: #fff;
    padding: 8px;
    border-radius: 50px;
    border: 4px solid #edf1f4;
    height: 50px;
    width: 50px;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -33px;
    left: 0px;
    right: 0px;
    margin: auto;
}
.family-tree-main .childrens-row .member-box span i {
    color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
}
.hidden {
    display: none;
}
.family-tree-main .childrens-row:before {
    display: block;
    content: '';
    position: absolute;
    top: -75px;
    margin-left: -1px;
    width: 2px;
    background-color: #ced0d9;
    bottom: calc(50% - 0px); /* Initial position */
    left: calc(((100% - 120px) / 4) / 2);
}

.family-tree-main .childrens-row.show-second:before {
    bottom: -10%; /* Adjusted position when childrensecond appears */
}

.family-tree-main .children-row-second .childrens-row:before {
    bottom: calc(50% - 0px);
}

/*/ --- family tree css ends --- /*/


/*/ --- history page css starts --- /*/
.history-main .custom-container {
    padding: 80px 15%;
}
.history-main .content p {
    font-family: "Oxygen", sans-serif;
    color: #000;
}
.history-main .content h3 {
    font-family: "Marcellus", serif;
    font-size: 40px;
    margin: 30px 0px;
}
.history-main .content img:nth-of-type(odd) {
    float: left;
    width: 35%;
    margin: 0px 30px 30px 0px;
    filter: grayscale(1);
}
.history-main .content img:nth-of-type(even) {
    float: right;
    width: 35%;
    margin: 0px 0px 30px 30px;
    filter: grayscale(1);
}
.history-main .content h4 {
    font-family: "Marcellus", serif;
    font-size: 40px;
    margin: 30px 0px;
    font-weight: 600;
}
/*/ --- history page css ends --- /*/


/*/ --- blog page css starts --- /*/
.blog-list-main {
    background-color: #edf1f4;
}
.blog-list-main .custom-container {
    padding: 80px 7%;
}
.blog-list-main .blog-box {
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 20px;
}
.blog-list-main .blog-box img {
    height: 250px;
    object-fit: cover;
    transition: 0.2s ease;
}
.blog-list-main .blog-box img:hover {
    transform: scale(1.1);
    height: 250px;
}
.blog-list-main .blog-box .box-content {
    padding: 20px;
}
.blog-list-main .blog-box .box-content .head {
    display: flex;
    padding: 15px 0px;
}
.blog-list-main .blog-box .box-content .head img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 150px;
    margin-right: 20px;
}
.blog-list-main .blog-box .main-img {
    height: 250px;
    overflow: hidden;
}
.blog-list-main .blog-box .box-content .head-content h4 {
    font-family: "Marcellus", serif;
    font-size: 26px;
    margin-bottom: 5px;
    font-weight: 500;
}
.blog-list-main .blog-box .box-content .head-content h6 {
    font-family: "Oxygen", sans-serif;
    font-size: 15px;
    margin-bottom: 5px;
    color: #717171;
}
.blog-list-main .blog-box .box-content .head-content h5 {
    font-family: "Oxygen", sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    color: #464646;
}
.blog-list-main .blog-box .box-content .content p {
    font-family: "Oxygen", sans-serif;
    font-size: 15px;
    color: #000;
}
.blog-list-main .blog-box .box-content .content a {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
    display: block;
    padding: 8px 20px;
    border-radius: 50px;
    width: fit-content;
    font-size: 14px;
}
/*/ --- blog page css ends --- /*/


/*/ --- blog detail page starts --- /*/
.blogdetail-head-banner .banner img {
    height:67vh;
    object-fit: cover;
    filter: grayscale(1);
}
.blogdetail-head-banner .banner {
    position: relative;
}
.blogdetail-head-banner .banner .content h6 {
    font-family: "Oxygen", sans-serif;
    background-color: var(--button-background-color);
    transition: background-color 0.5s, color 0.5s;
    color: #fff;
    width: fit-content;
    padding: 5px 17px;
    border-radius: 3px;
    text-align: center;
    margin: auto;
}
.blogdetail-head-banner .banner .content h4 {
    font-family: "Marcellus", serif;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    text-shadow: 2px 1px 6px #00000036;
    text-align: center;
    margin-top: 12px;
    width: 80%;
    margin: 15px auto;
}
.blogdetail-head-banner .banner .content {
    position: absolute;
    top: 200px;
    z-index: 9;
    left: 0px;
    right: 0px;
}
.blogdetail-head-banner .banner:before {
    content: '';
    display: block;
    width: 100%;
    height:67vh;
    background-color: #0000003d;
    position: absolute;
    top: 0px;
    z-index: 9;
}
.blog-detail-main {
    background-color: #edf1f4;
}
.blog-detail-main .custom-container {
    padding: 0px 18% 80px;
}
.blog-detail-main .blog-box {
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: -80px;
    z-index: 9;
    position: relative;
}
.blog-detail-main .blog-box img {
    height: 350px;
    object-fit: cover;
    transition: 0.2s ease;
}
.blog-detail-main .blog-box .box-content {
    padding: 20px;
}
.blog-detail-main .blog-box .box-content .head {
    display: flex;
    padding: 15px 0px;
}
.blog-detail-main .blog-box .box-content .head img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 150px;
    margin-right: 20px;
}
.blog-detail-main .blog-box .box-content .head-content h4 {
    font-family: "Marcellus", serif;
    font-size: 26px;
    margin-bottom: 5px;
    font-weight: 500;
}
.blog-detail-main .blog-box .box-content .head-content h6 {
    font-family: "Oxygen", sans-serif;
    font-size: 15px;
    margin-bottom: 5px;
    color: #717171;
}
.blog-detail-main .blog-box .box-content .head-content h5 {
    font-family: "Oxygen", sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    color: #464646;
}
.blog-detail-main .blog-box .box-content .content p {
    font-family: "Oxygen", sans-serif;
    font-size: 15px;
    color: #000;
}
.blog-detail-main .blog-box .box-content .content a {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    background-color: #1C3964;
    display: block;
    padding: 8px 20px;
    border-radius: 50px;
    width: fit-content;
    font-size: 14px;
}
/*/ --- blog detail page ends --- /*/

/*/ --- gallery page starts --- /*/
.gallery-list-main {
    background-color: #edf1f4;
}
.gallery-list-main .custom-container {
    padding: 80px 7%;
}
.gallery-list-main .gallery-box {
    position: relative;
    margin-bottom: 20px;
}
.gallery-list-main .gallery-box img {
    height: 265px;
    object-fit: cover;
    border-radius: 4px;
    transition: 0.2s ease;
}
.gallery-list-main .gallery-box:hover img {
    filter: brightness(0.5);
}
.gallery-list-main .gallery-box .content {
    position: absolute;
    left: 0px;
    bottom: 0px;
    padding: 20px;
    display: none;
    transition: 0.2s ease;
}
.gallery-list-main .gallery-box:hover .content {
    display: block;
}
.gallery-list-main .gallery-box .content h4 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-weight: 600;
    font-size: 22px;
}
.gallery-list-main .gallery-box .content h6 {
    font-family: "Oxygen", sans-serif;
    color: #fff;
    font-size: 16px;
    font-family: 400;
}
.gallery-list-main .popup-gallery img {
    height: 265px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}
/*/ --- gallery page ends --- /*/


/*/ --- login reg page starts --- /*/
.register-main {
  font-family: 'Arial', sans-serif; /* Replace with the font from your site */
  margin: 0;
  padding: 0;
}
.register-main.container {
  max-width: 680px;
  margin: 170px auto 50px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow:hidden;
}
.register-main h1 {
  text-align: center;
  color: #333;
}
.register-main form {
  display: flex;
  flex-direction: column;
}
.register-main input {
  margin: 10px 0;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.register-main button {
  padding: 10px;
  background-color: #1C3964; /* Match your button color */
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Oxygen", sans-serif;
}
.register-main button:hover {
  background-color: #0c213f;
}
.register-main .register-row {
    display:flex;
}
.register-main .register {
    width: 65%;
    padding: 40px;
    height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.register-main .register-form {
    height:570px !important;
}
.register-main .register h1 {
    font-family: "Marcellus", serif;
    color: #242528;
    font-size: 40px;
}
.register-main .register input {
        font-family: "Oxygen", sans-serif;
    text-align: left;
    color: #000;
}
.register-main .register p {
    font-family: "Oxygen", sans-serif;
    text-align: left;
    color: #000;
}
.register-main .register input:placeholder {
        font-family: "Oxygen", sans-serif;
    text-align: left;
    color: #000;
    text-transform:capitalize;
}
.register-main .login-img {
    width:35%;
}
.register-main .login-img img {
    height:100%;
    object-fit:cover;
}

.men-box {
    border: 2px solid blue;
}

.women-box {
    border: 2px solid #ed798d;
}


/*/ --- login reg page ends --- /*/

@media only screen and (min-width:768px) and (max-width:1200px) {
    .main-slider .slider-content {
        top:35%;
    }
    .main-slider .slider-content h1 {
        font-size:26px;
    }
    .main-slider .slider-content h2 {
        font-size:16px;
    }
    .main-slider .slider-content p {
        font-size:14px;
    }
    .directory-head-banner .banner .content h4 {
        width:90%;
        font-size:13px;
    }
    .directory-head-banner .banner .content {
        top:155px;
    }
    .timeline-head-banner .banner .content h4 {
        width:90%;
        font-size:13px;
    }
    .timeline-head-banner .banner .content {
        top:155px;
    }
    .blogdetail-head-banner .banner .content h4 {
        font-weight: 400;
        width:90%;
        font-size: 13px;
        margin:auto;
    }
    .blogdetail-head-banner .banner .content {
        top:155px;
    }
}

@media only screen and (max-width:1000px) {
    .timeline {
        width:100%;
    }
}

@media only screen and (max-width: 991.5px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 1rem;
    }
    .family-tree-main .parents-row {
        display: flex;
        flex-wrap: wrap;
    }
    .family-tree-main .childrens-row {
        display: flex;
        flex-wrap: wrap;
    }
    .family-tree-main .childrens-row:before {
        display: none;
    }
    .family-tree-main .childrens-row .member-box:before {
        display: none;
    }
    .family-tree-main .childrens-row .member-box:after {
        display: none;
    }
    .family-tree-main .parents-row .wife-box:before {
        display: none;
    }
    .navbar-collapse {
        background-color: #fff;
        padding: 10px 0px;
    }
    .active:after {
        right: unset;
        left: 40px;
    }
    .pagination{
        flex-wrap:wrap;
    }
    .register-main .register-row {
        display: flex;
        flex-wrap: wrap;
    }
    div.register {order: 2;}
    div.login-img {order: 1;}
    .register-main .register {
        width: 90%;
        margin: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin-top: -80px;
        background-color: #fff;
        z-index: 7;
    }
    .register-main .login-img {
        width:100%;
    }
    .register-main .login-img img {
        height: 220px;
        object-fit: cover;
    }
    .register-main.container {
        box-shadow:none;
    }
    .register-main.container {
        margin: 120px auto 50px;
    }
    .history-head-banner .banner img {
        height:60vh !important;
    }
    .timeline-head-banner .banner img {
        height:60vh !important;
    }
    .directory-head-banner .banner img {
        height:60vh !important;
    }
    .navbar .navbar-collapse {
        position: absolute;
        width: 100%;
        left: 0px;
        top: 95px;
    }
    .navbar .active:after {
        margin-left:40px;
        margin-right:auto;
    }
}

@media only screen and (max-width: 767.5px) {
    .navbar {
        padding: 5px 3%;
    }
    .navbar .navbar-brand {
        width: 130px;
    }
    .main-slider .slider-content h1 {
        font-size: 23px;
    }
    .main-slider .slider-content h2 {
        font-size:16px;
    }
    .main-slider .slider-content {
        position: absolute;
        top: 25%;
        left: 7%;
        width: 90%;
    }
    .main-slider .slider-content p {
        font-size: 12px;
    }
    .main-slider .slider-content h5 {
        font-size: 15px;
    }
    .blog-home .highlighted-blog {
        margin-bottom: 20px;
    }
    .anniversaries-home .ann-row .ann-box {
        width: 50%;
        margin-bottom: 15px;
    }
    .footer .footer-links ul {
        padding-left: 0px;
    }
    .footer .footer-links ul li {
        margin-top: 15px;
        margin-bottom: 0px;
    }
    .hightlights-main .highlights-box {
        padding: 25px 5px;
    }
    .hightlights-main .highlights-box h4 {
        font-size: 20px;
    }
    .footer-photos .photo-box img {
        height: 110px;
    }
    .copyright .text-right p {
        text-align: center;
    }
    .copyright .text-left p {
        text-align: center;
    }
    .timeline{
        width:100%;
        padding-bottom:0;
    }
    .timeline:before {
        left:20px;
        height:100%;
        top: 25px;
    }
    .timeline ul li:nth-child(odd),
    .timeline ul li:nth-child(even) {
        width:100%;
        text-align:left;
        padding-left:50px;
        padding-bottom:30px;
    }
    .timeline ul li:nth-child(odd):before,
    .timeline ul li:nth-child(even):beforen{
        top:-18px;
        left:16px;
    }
    .timeline ul li:nth-child(odd) .time,
    .timeline ul li:nth-child(even) .time {
        top:16px;
        left:80px;
        right:inherit;
    }
    .timeline-head-banner .banner .content h4 {
        font-size: 12px;
    }
    .blogdetail-head-banner .banner .content h6 {
        font-size:12px;
        font-weight:400;
    }
    .directory-head-banner .banner .content h4 {
        font-size: 12px;
        width:90%;
    }
    .timeline ul li:nth-child(odd):before {
        left: 16px;
    }
    .timeline ul li:nth-child(odd) img {
        top: -25px !important;
        width: 70px !important;
        height: 70px !important;
        left: -7px;
    }
    .timeline ul li:nth-child(odd) h3 {
        top: 58px;
        padding: 10px 16px 7px 22px;
        left: 55px;
        font-size:12px;
    }
    .timeline ul li:nth-child(even):before {
        left: 16px;
    }
    .timeline ul li:nth-child(odd):after {
        width: 20px;
        left: 30px;
    }
    .timeline ul li:nth-child(even):after {
        width: 20px;
        left: 30px;
    }
    .timeline ul li:nth-child(even) img {
        top: -25px !important;
        width: 70px !important;
        height: 70px !important;
        left: -7px;
        right: unset;
    }
    .timeline ul li:nth-child(even) h3 {
        top: 58px;
        padding: 10px 16px 7px 22px;
        left: 55px;
        right: unset;
        font-size: 12px;
    }
    .timeline-head-banner .banner .content {
        top: 170px;
    }
    .timeline {
        margin: 0px auto 0px;
    }
    .directory-head-banner .search-box {
        width: 80%;
        padding: 9px 24px;
    }
    .directory-head-banner .search-box button {
        top: 19px;
        right: 20px;
    }
    .directory-head-banner .search-box button i {
        font-size: 18px;
    }
    .history-main .content img:nth-of-type(odd) {
        float: unset;
        width: 35%;
    }
    .history-main .content img:nth-of-type(even) {
        float: unset;
        width: 35%;
    }
    .blogdetail-head-banner .banner .content h4 {
        font-size: 12px;
        font-weight:400;
    }
    .blogdetail-head-banner .banner .content {
        top: 130px;
    }
    .blog-detail-main .custom-container {
        padding: 0px 3% 80px;
    }
    .blog-detail-main .blog-box img {
        height: 300px;
    }
    .blog-detail-main .blog-box .box-content .head {
        flex-wrap: wrap;
    }
    .blog-detail-main .blog-box .box-content .head-content {
        padding: 20px 0px;
    }
    .familytree-head-banner .family-member .member-content h4 {
        font-size: 30px;
    }
    .familytree-head-banner .family-member img {
        width: 80px;
        height: 80px;
    }
    .familytree-head-banner .family-member .member-content h5 {
        font-size: 14px;
    }
    .familytree-head-banner .family-member .member-content p {
        font-size: 14px;
    }
    .theme-buttons {
        top: 60%;
    }
    .members-directory-inner .member-row .member-box {
        width: 40% !important;
    }
    .directory-head-banner .banner .content {
        top:130px;
    }
    .directory-head-banner .banner img {
        height:35vh;
    }
    .timeline-head-banner .banner img {
        height:35vh;
    }
    .family-tree-main .parents-row .member-box {
        width: 75%;
        position: relative;
        margin-bottom: 0px;
        z-index: 8;
        background-color: #fff;
    }
    .family-tree-main .parents-row {
        row-gap: 50px;
    }
    .children-row-second {
        margin-left:0px;
    }
    .family-tree-main .childrens-row {
        row-gap: 40px;
        padding: 30px 0px;
    }
    .history-head-banner .banner img {
        height: 35vh !important;
    }
}

@media only screen and (max-width: 499.5px) {
    .anniversaries-home .ann-row .ann-box {
        width: 100%;
        margin-bottom: 15px;
    }
    .footer-photos .photo-box img {
        height: 60px;
    }
}