:root {
    --seCcolors--GenLight: #ffff;
    --seCcolors--GenGray: #e2e4e4;
    --seCcolors--GenDark: #010101;
    --seCcolors--IndexCol: #a43535;
    --seCcolors--IndexCol2: #a02f2f;
    --seCcolors--IndexCol3: #520909;
    --seCcolors--EPColor: #501869;
    --seCcolors--EPCol2: #1fc0ce;
    --seCcolors--EPCol3: #b760dd;
    --section-colors--EPCol4: #b52487;
    --section-colors--EPCol5: #4c0270;
    --seCcolors--WedCol1: #9b3535;
    --seCcolors--WedCol2: #e7e0de;
    --seCcolors--WedCol3: #e5d5d5;
    --seCcolors--WedCol4: #5a2f2f;  
    --seCcolors--funeMainColor: #010101;  
    --seCcolors--funeSecColor: #050d15; 
    --seCcolors--funeGrey: #babdbe; 
    --seCcolors--FuneBtnGrey: #31363d; 
    --primary-color: #8B0000;
    --secondary-color: #FFD700;
    --text-color: #333;
    --background-color: #FFF5EE;
}

#medsection0 {
    padding: 0;
}

.Submenus-items__news, #footer {
    background-color: #520909;
}

.Memories-headernavs.post {
    margin-bottom: 15px;
}

body{
    font-family: 'Poppins', sans-serif;
    color: rgb(0, 0, 0);
}

ul {
    margin: 0 0 0px;
}

.Memories-container{
    width: 1245px;
    margin: auto;
    background-color: rgb(243, 243, 243);
    display: table;
}

.Sectionname{
    min-height: 95px;
    font-size: 44px;
    font-weight: 200;
    padding: 20px 0px 20px 35px;
}

.Sectionname.funeral{
    color: var(--seCcolors--funeGrey);
}



/* ................................Nav CSS Starts here ................................................................... */

.Memories-headernavs{
    width: inherit;
    background-color: var(--seCcolors--IndexCol3);
}

.Memories-headernavs.funeral{
    background-color:var(--seCcolors--FuneBtnGrey);
}

.Memories-headernavs.party, .Memories-headernavs.birthday, .Memories-headernavs.event{
    background-color:var(--seCcolors--EPColor);
}

.Memories-headernavs ul{
    display: inline-flex;
    list-style: none;
    color: #ffff;
    height: inherit;
}

.Memories-headernavs ul  li{
   font-size: 16px;
   margin: 0px;
   padding: 15px;
}

.Memories-headernavs ul a{
    text-decoration: none;
    color: #ffff;
    padding: inherit;
}

.active,.Memories-headernavs ul li:hover{
    background-color: var(--seCcolors--IndexCol2);
}

.active,.Memories-headernavs ul li:hover a{
    color: #FFF;
}

.Memories-headernavs.funeral ul li:hover{
    background-color: var(--seCcolors--funeSecColor);
}

.Memories-headernavs.party ul li:hover {
    background-color: var(--seCcolors--EPCol3);
}


.Topnavbtns img{
    width: 15px;
    margin-right:5px;
}

.sub-menu-1{
    display: none;
}

.Memories-headernavs ul li:hover .sub-menu-1{
    z-index: 20;
    display: block;
    position: absolute;
    margin-top: 15px;
    margin-left: 15px;
    filter: drop-shadow(5px 0px 5px rgb(0, 0, 0, 0.2));
}

.Memories-headernavs ul li:hover .sub-menu-1 ul{
    display: block;
    background: var(--seCcolors--GenLight);
}


.Memories-headernavs ul li:hover .sub-menu-1 ul li{
   border-bottom: 1px solid #ffff;
  background: transparent;
   border-radius: 0;
   text-align: left;
   padding: 0px;
}

.Memories-headernavs ul li:hover .sub-menu-1 ul li:last-child{
    border-bottom: none;
}

.Memories-headernavs ul li:hover .sub-menu-1 ul li:hover{
    background: var(--seCcolors--IndexCol);
}

.Memories-headernavs ul li:hover .sub-menu-1 ul li:hover > a{
    color: #FFF;
}

.Memories-headernavs.funeral ul li:hover .sub-menu-1 ul li:hover{
    background-color: var(--seCcolors--funeSecColor);
}

.Memories-headernavs.party ul li:hover .sub-menu-1 ul li:hover{
    background-color: var(--seCcolors--EPCol3);
}

.Memories-headernavs ul li:hover .sub-menu-1 ul a{
    color: #010101;
    display: block;
    padding: 15px;
}



.Memories-headernavs ul li:hover .sub-menu-1 ul a:hover{
    color: #ffffff;
}

.sub-menu-2{
    display: none;
}

.hover-me:hover .sub-menu-2{
    display: block;
    position: absolute;
    margin-top: -45px;
    margin-left: 149px;
    filter: drop-shadow(0px 10px 15px rgb(0, 0, 0, 0.2));
}

.hover-me:hover .sub-menu-2 a{
    width:165px;
    font-size: 14px;
}

/* ................................Nav CSS ends here ................................................................... */



/* ................................TopBanner CSS Starts here ................................................................... */

.Topbanner-con{
 height: 430px;
    border-bottom: 4px solid var(--seCcolors--IndexCol3);
    background: url(https://cdn.ghanaweb.com/design/memories/bannerImg.png);
    background-size: cover;
    background-position: 20% 50%;
    background-color:#a43535;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 15px;
}

.Topbanner-con.wed{
    background: none;
}


.Topbanner-con.party {
    background: url(https://cdn.ghanaweb.com/design/memories/partySlideBg.png);
    background-size: contain;
    background-repeat: no-repeat;
    border-bottom: 0;
    background-position: center;
    height: 398px;
    position: relative;
}




.Topbanner-con.funeral {
    height: 395px;
    background: url(https://cdn.ghanaweb.com/design/memories/funeBanBG.jpg);
    border-bottom: 0;
    display: grid;
    place-content: center;
    position: relative;
}

.Topbanner-con__Textbox {
    width: 30%;
    position: absolute;
    left: 4em;
    top: 12em;
}

.Topbanner-con__Textbox.funeral{
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    text-align: center;
}

.Topbanner-con__Textbox{
    color: white;
    margin:0px;
}

 .Topbanner-con__Textbox--t1{
    font-size: 64px;
    font-weight: 700; 
    margin-bottom: -5px;
}

.Topbanner-con__Textbox--t2{
    font-size: 24px;
    font-style: italic;
    font-weight: 500; 
    width: max-content;
    color:#fcecc0;
}

.Topbanner-con__Textbox--t2.funeral{
    width: 695px;
    font-size: 34px;
   font-style: normal;
   color:#ffffff;
   text-align: center;
   font-family: 'Times New Roman', Times, serif;
   font-weight: 600;
   line-height: 1.2;
}

.Topbanner-con__Textbox--t2.funeral span{
    color: var(--seCcolors--funeGrey);
}

.IndexPageBtn-Btn1.funeral,
.IndexPageBtn-Btn1.funeraltwo {
    border-radius: 33px;
    background-color: var(--seCcolors--FuneBtnGrey);
    color: white;
    margin: 19px auto 0;
}

.IndexPageBtn-Btn1.funeraltwo{
    padding: 12px 28px;
}

.IndexPageBtn-Btn1.funeral{
    padding: 16px 48px;
}

.IndexPageBtn-Btn1.funeral:hover,
.IndexPageBtn-Btn1.funeraltwo:hover{
    background-color: white;
    color: black;
}

.flower-con {
    position: absolute;
    left: -10px;
    bottom: -10px;
}

.flower-con img{
    width: 200px;
}

/* ................................TopBanner CSS ends here ................................................................... */


/* ................................FeatureSection CSS Starts here ................................................................... */


.mid-Con{
    background-color: black;
    height: max-content;
}
.midpage-left {
    width: 900px;
    float: left;
    background-color: white;
    margin: 0 15px;
}


.midpage-left.funeral {
    background-color: rgb(0, 0, 0);
}


.FeaturedPost-Con {
    background-color: var(--seCcolors--GenGray);
    height: max-content;
    padding: 20px 0px;
    display: flex;
    justify-content: space-evenly;
}

.FeaturedPost-Con.wedding{
    height: 450px;
    background-color: var(--seCcolors--WedCol2);
    display: block;
}

.FeaturedPost-Con.funeral {
    background-color: var(--seCcolors--funeSecColor);
    height: 380px;
    padding: 20px 0px;
    display: block;
    border-bottom: 98px solid white;
}

.FeaturedPost-Con-txtCon, .FeaturedPost-Con-ImgCon{
    width: fit-content;
    height: 300px;
}

.FeaturedPost-Con-ImgCon{
    right: 9em;
    display: flex;
}

.ImgCon-2,.ImgCon-1{
    border-radius: 20px;
    border: 5px solid white;
    overflow: hidden;
    filter: drop-shadow(0px 10px 15px rgb(0, 0, 0, 0.2));
} 

.ImgCon-1 {
    width: 228px;
    height: 293px;
    margin-top: 46px;
}

.ImgCon-2 {
    width: 138px;
    height: 177px;
    margin-top: 24em;
    margin-left: -5em;
}

.FeaturedPost-Con-ImgCon img {
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.FeaturedPost-Con-txtCon {
    margin: 5em 0 10em;
}

.FeatureTtileCon{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.Tag-Name {
    padding: 2px 11px;
    background-color: var(--seCcolors--IndexCol);
    color: white;
}

.FeaturedPost-Con-txtCon h1 {
    width: 396px;
    font-size: 26px;
    line-height: 1.2em;
    margin-bottom: 27px;
    font-weight: 600;
}

.FeaturedPost-Con-txtCon p {
    font-size: 14px;
    margin-bottom: 29px;
}

.IndexPageBtn-Btn1{
    border-radius: 12px;
    padding: 5px 17px;
    background-color: var(--seCcolors--IndexCol);
    color: white;
    margin-top: 19px;
   
}

.IndexPageBtn-Btn1:hover{
    background-color: var(--seCcolors--IndexCol3);
    color: white;
    text-decoration: none;
}

/* ................................FeatureSection CSS ends here ................................................................... */


/* ................................RecentPosts CSS starts here ................................................................... */

.Recent-posts-con{
    padding: 0 30px;
    height: max-content;
}

.Recent-posts-con.category{
    padding: 0;
}

.titles-col{
    display: flex;
    padding: 10px 0px;
    align-items: center;
    border-bottom: 1px solid var(--seCcolors--GenGray);
    margin-bottom: 20px;
}

.titles-col.party{
    justify-content: end;
}

.titles-col.party.ep{
    margin:  0 30px 10px;
}

.Recent-posts-con.category .titles-col{
    padding: 0 30px;
    margin-bottom: 0;
    border-bottom: 0px;
    background: #e3e3e3;
}

.titles-col h1{
    font-size: 16px;
    font-weight: 600;
}

.titles-col a {
    font-size: 14px;
    text-wrap: nowrap;
    font-weight: 600;
}

.Recent-posts{
    width: 100%;
    max-height:340px;
    display: flex;
    overflow-x: scroll;  
}

.Recent-posts.category {
    background-color: rgb(233, 233, 233);
    gap: 20px;
}

.Recent-posts::-webkit-scrollbar {
    height: 5px;
  }
  
  .Recent-posts::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  .Recent-posts::-webkit-scrollbar-thumb {
    background: var(--seCcolors--GenGray);
  }
  
  .Recent-posts::-webkit-scrollbar-thumb:hover {
    background: gray;
  }


  .Posts-con {
    margin: 18px 8px;
    border-radius: 12px;
    background-color: #f4f4f4;
}


.Posts-con.category{
    width: 184px;
    height: max-content;
    background-color: white;
    padding: 5px;
    border-radius: 12px;
}

.Posts-con.category .Post-img-con{
    width: 100%;
    height: 131px;
    margin-bottom: 10px;
}


.Post-texts{
    padding: 15px 13px; 
}

.Posts-con.category .Post-texts{
    padding:0 10px 5px;
}


.Posts-con:hover{
    text-decoration: none;
    color: black;
}

.Post-img-con {
    width: 182px;
    height: 134px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    /* margin-bottom: 20px; */
}

.Post-img-con img {
    width: inherit;
    height: inherit;
    object-fit: cover;
    object-position: center;
}

.Category-title {
    font-weight: 600;
    color: white;
    bottom: 1em;
    position: absolute;
    z-index: 4;
    padding: 4px 20px;
    background-color: var(--seCcolors--IndexCol);
}

.Recent-posts.category.party .Category-title {
    background-color: var(--section-colors--EPCol5);
}



.Post-texts h3 {
    font-size: 12px;
    max-height: 16px;
    overflow: hidden;
    line-height: 1.3em;
}

.Post-texts p{
  font-size:13px
}

.Posts-con.category .Post-texts p {
    font-size: 11px;
    max-height: 92px;
    overflow: hidden;
}


.adSpace{
    margin: 15px 0 0;
    width: 100%;
    height: 130px;
    background-color: #a29f9f;
}

.adSpace.wed{
    margin: 0;
}


.more-posts-con{
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* border-bottom: 3px solid var(--seCcolors--IndexCol2); */
}

.more-posts-con a:hover{
    text-decoration: none;
    color: var(--seCcolors--IndexCol);
}

.more-posts-con.photoslider{
    background-color: var(--seCcolors--WedCol3);
    justify-content: center;
}

.postGrp{
    width: 246px;
    height: max-content;
    display: flex;
    gap: 12px;
    margin: 0 20px 20px 0;
    padding: 10px;
    box-shadow: 3px 1px 10px #CCC;
    border-radius: 10px;
}

.postGrp:nth-child(3n) {
    margin-right: 0;
}

.postGrp .imagebox{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.postGrp .imagebox img{
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.textbox{
    width: 170px;
    height: inherit;
}

.textbox .Category-title {
    font-size: 11px;
    font-weight: 400;
    color: var(--seCcolors--IndexCol);
    position: relative;
    bottom: 0;
    padding: 0px;
    background-color: transparent;
    text-align: right;
    margin-top: -6px;
}

.textbox h3 {
    font-size: 12px;
    max-width: 230px;
    overflow: hidden;   
}

.textbox p {
    font-size: 13px;
    max-width: 230px;
    overflow: hidden;
    text-wrap: wrap;
    margin: 0;
}

.textbox h4 {
    color: #a0a0a0;
    font-weight: 400;
}

.section-title-con {
    width: 500px;
    text-align: center;
    margin: 0 auto;
    padding: 15px 0 0;
}

.FeaturedPost-Con.funeral .section-title-con{
    color: white;
}

.FeaturedPost-Con.funeral .section-title-con h1{
    color: var(--seCcolors--funeGrey);
}

.section-title-con h1{
    color: var(--seCcolors--IndexCol);
    font-family: 'Times New Roman', Times, serif;
    font-size: 26px;
}

.section-title-con p{
    font-size: 13px;
}


.select-wedEng {
    padding: 10px 0 0;
    justify-content: center;
    display: flex;
    align-items: center;
}


.catGrp .Category-title {
    font-weight: 600;
    color: #a43535;
    bottom: 0;
    position: initial;
    z-index: 4;
    padding: 10px 0 5px;
    background-color: transparent;
}


.heart-con{
    position: relative;
}

.heart-con img{
   width: 80%;
}

.heartImg2 {
    transform: scale(0.6);
    position: absolute;
    top: -40px;
    left: -12px;
    z-index: 30;
}

.heartImg2b {
    transform: scale(0.9);
    position: absolute;
    top: -10px;
    left: 1px;
    z-index: 30;
}

.catGrp:hover .heartImg2{
    filter: grayscale(1);
    transform: scale(0.63);
    transition: 0.5s linear;
    top: -45px;
}

.catGrp:hover .heartImg2b{
    filter: grayscale(1);
    transform: scale(0.83);
    transition: 0.5s linear;
    top: -8px;
}



.catGrp:hover .heartImg1{
    mix-blend-mode: color-dodge;
}

.heartSmall1,.heartSmall2  {
    position: absolute;
    transform: scale(0.1);
    animation: example 1s infinite alternate; 
}

.heartSmall1{
    left: 0px;
    top: -88px;
}

.heartSmall2{
    right: -22px;
    bottom: -59px;
    animation-delay: 1s;
}

@keyframes example {
    0% {  transform: scale(0.1);}
    100% {  transform: scale(0.14);}
}


.flower img{
    mix-blend-mode: darken;
    opacity: 0.3;
}


.Recent-posts-con.Newpost{
    background-color: var(--seCcolors--WedCol2);
}


.more{
    display: flex;
    justify-content: flex-end;
    margin: 10px;
    gap: 10px;
}

.more.two{
    justify-content: flex-start;
}

.more img{
    width: 90px;
}

.more a{
        font-size: 15px;
        font-weight: 600;
}


.Newpost-con{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 30px;
}

.mpost-con{
    width: 395px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}



.Newpost-con .Post-img-con {
    width: 100%;
    height: 60px;
    margin-bottom: 5px;
    border-radius: 7px;
}

.mpost-con .Posts-con {
    width: 90px;
    background-color: white;
    padding: 5px 5px 10px;
    border-radius: 12px;
    margin: 0;
}

.Newpost-con .Post-texts h3 {
    font-size: 11px;
    font-weight: 600;
    height: 30px;
    margin: 4px 0 3px;
}

.Newpost-con .Post-texts h4{
    font-weight: 200;
    font-size: 10px;
}

.mpost-con .Post-texts {
    padding: 0px;
}

.singlePost{
    position: relative;
    width: 300px;
}

.singlePost .Category-title,
.PhotoslideCon .Category-title,
.videobox .Category-title{
    position: absolute;
    top: -7px;
    transform: rotate(350deg);
    bottom: initial;
    padding: 8px 20px;
}

.singlePost .Category-title{
    left: -12px;
}

.PhotoslideCon .Category-title{
    left: -3px;
    top: 5px;
}

.PhotoslideCon .more{
    margin: 6px 0;
}

.PhotoslideCon .more a{
    font-size: 11px;
}

.singlePost p,
.PhotoslideCon p{
    font-size: 13px;
    margin: 10px 0;
}

.PhotoslideCon p{
    padding: 0 20px;
}

.singlePost .ImgCon-1,
.singlePost .ImgCon-2{
    border-radius: 12px;
}
.singlePost .ImgCon-2 {
    width: 120px;
    height: 132px;
    margin-top: 13em;
    margin-left: -8em;
}

.singlePost .ImgCon-1 {
    width: 260px;
    margin-top: 0;
}


/* Css for little photo slider */

.PhotoslideCon{
    width: 280px;
    /* padding: 0 30px; */
    position: relative;
}


.slideshow-container {
    width: 235px;
    position: relative;
    margin: auto;
}
  
 
.mySlides, .SaveDate:not(.show)  {
    display: none;
}

.mySlides.fade  {
    height: 300px;
}

.SaveDate.fade{
    width: 100%;
    height: inherit;
    background: url(https://cdn.ghanaweb.com/design/memories/stdBG2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.StdtextCon {
    width: 345px;
    position: absolute;
    left: 91px;
    top: 84px;
    text-align: center;
}

.date{
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
    color: var(--seCcolors--IndexCol2);
}

.date-con img,
.CoupNames-Con img
{
    width: 100px;
}

.CoupNames-Con{
    margin: 10px 0;
}

.Name{
    font-size: 35px;
    font-weight: 700;
    color: var(--seCcolors--IndexCol2);
    margin:0;
    line-height: 1em;
}

.Name.two{
    margin-bottom: 13px;
}

.Venue {
    font-size: 15px;
    margin: 0 0 6px;
}

.rsvp {
    font-size: 13px;
    font-weight: 700;
}



.StdimgCon {
    scale: 0.95;
    rotate: 151deg;
    width: 323px;
    height: 289px;
    overflow: hidden;
    position: absolute;
    right: 72px;
    top: 53px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.StdimgCon img{
    object-fit: cover;
    object-position: top;
    rotate: -151deg;
    width: inherit;
    height: inherit;

}

  .mySlides.fade img
  {
    object-fit: cover;
}

.mySlides.fade img{
    height: 300px;
    border: 6px solid white;
    border-radius: 15px;
}


  
/*.prev, .next,
.stdprev, .stdnext {
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--seCcolors--IndexCol2);
    font-weight: bold;
    font-size: 45px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next,
.stdnext {
    right: -43px;
    border-radius: 3px 0 0 3px;
}

.stdnext {
    right: 6px;
}

.stdprev {
    left: 6px;
}

.prev{
    left: -47px;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover,
.stdprev:hover, .stdnext:hover {
    background-color: transparent;
}*/
  
.text {
    color: #a43535;
    font-size: 15px;
    padding: 14px 12px;
    position: absolute;
    bottom: 36px;
    background-color: white;
    width: 80%;
}

.text > p {
    padding: 0;
    max-height: 58px;
    overflow: hidden;
    margin: 0;
}
  
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

  .dotCon{
    text-align: center;
    position: absolute;
    left: 47%;
    bottom: 20px;
  }

  .stddot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .stddot:hover {
    background-color: #6e0e0e;
  }
  

  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }


/* ....................................................................... */


.VideoReelsCon {
    padding: 26px 0 0 53px;
    border-left: 1px solid var(--seCcolors--IndexCol);
}

.videobox{
    position: relative;
    width: 460px;
    height: 320px;
    background-color: var(--seCcolors--IndexCol3);
}

.videobox .Category-title {
    left: -24px;
    top: -13px;
    bottom: initial;
}



.SavetheDateBoard .slideshow-container {
    width: 100%;
    height: 400px;
    position: relative;
    margin: auto;
}

.SavetheDateBoard .prev, .SavetheDateBoard .next{
    top: 40%;
}
.SavetheDateBoard .next {
    right: 3px;
}

.SavetheDateBoard .prev {
    left: 3px;
}


.eventhire{
    display: flex;
    padding: 10px 15px 20px;
    gap: 10px;justify-content: center;
}

.what-to-hire{
    width: 220px;
    height: 250px;
    border-radius: 14px;
    background-color: var(--seCcolors--GenGray);
    padding: 10px 20px;
}

.what-to-hire .title {
    display: flex;
    height: 40px;
    align-items: baseline;
    gap: 10px;
}

.what-to-hire p{
    font-size: 11px;
    line-height: 1.2em;
}

.tName {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}

.tName.articleTitle{
    font-weight: 200;
}

.title img{
    width: 30px;
}

.thumbnails{
    width: 100%;
    height: 100px;
    margin: 10px 0 20px;
  
}

.thumbnails img {
    width: inherit;
    height: inherit;
    object-fit: cover;
    border-radius: 4px;
}

.love-articles{
    display: flex;
    gap: 10px;
    padding: 25px 20px;
}

.love-articles .tName{
    color: var(--seCcolors--IndexCol2);
}

.grpCon{
    width: 250px;
}

.grpCon.one{
    width: 350px;
}

.title p{
    overflow: hidden;
}


.content-box {
    width: 100%;
    max-height: 425px;
    border: 2px solid var(--seCcolors--IndexCol);
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.story{
    width: 150px;
    display: block;
}

.imageBox{
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.imageBox.Art{
    height: 120px;
}

.imageBox.two{
    height: 100px;
}

.imageBox img{
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.Story-text{
display: flex;
justify-content: space-between;
margin: 5px 0;
}

.Story-text p{
    height: max-content;
}

.story:hover .imageBox{
    border-radius: 12px;
    transition: ease 0.4s;
}

.story:hover .imageBox img {
    transform: scale(1.06);
    filter: grayscale(1);
    transition: ease 0.4s;
    cursor: pointer;
}

.article-read{
    font-size: 13px;
}

.content-box .IndexPageBtn-Btn1 {
    margin-top: -5px;
}


.profileCon .photoCon{
    width: 65px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px;
    background-color: red;
}

.photoCon img{
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.personsName {
    width: 65px;
    overflow: hidden;
    height: 28px;
    line-height: 1.2;
}



.recentPostslider{
    height: 230px;
  padding: 15px 0;
  position: relative;
}

.slider-trackTop{
    width: 800px;
    display:flex;
    gap: 20px;
    margin: 20px auto 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.slidetopSmalls{
    width: 185px;
    height: 200px;
    background-color: yellow;
    position: relative;
    padding: 10px;
    background: url(https://cdn.ghanaweb.com/design/memories/framefx.png);
    background-size: contain;
    background-repeat: no-repeat;
}




.slidetopSmalls img{
    width: 165px;
    height: 180px;
    object-fit: cover;
    filter: grayscale(1);
}

.slidetopSmalls:hover img{
    transform: scale(1.06);
    filter: grayscale(0);
    transition: ease 0.4s;
    cursor: pointer;
}

.textArea {
    height: 100px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -185px;
    color: white;
    padding: 10px 20px;
}

.textArea p{
    position: relative;
    z-index: 100;
}

.textArea .location{
    background-color: black;
    width: max-content;
    padding: 4px 8px;
}

.textArea::before{
    content: '';
    width: inherit;
    height: 100px;
    background-color: black;
    opacity: 0.6;
    position: absolute;
    left: 0;
    z-index: 0;
}

.slidetopSmalls:hover .textArea,
.slidetopSmalls:hover .textArea::before
{
    bottom: 3px;
    transition: ease 0.4s;
}


.prevNextsliderBtnsCon{
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 10px;
}

.prevNextsliderBtnsCon .btn{
  width: 30px;
  height: 30px;
  background-color: white;
  display: grid;
  place-content: center;
  border-radius: 50%;
}


.topMemBoard{
    height: 400px;
    background-color: black;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.photoBox {
    width: 300px;
    height: 396px;
    background: url(https://cdn.ghanaweb.com/design/memories/frameBigfx.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.photoBox img {
    position: absolute;
    width: 216px;
    height: 295px;
    object-fit: cover;
    top: 48px;
    left: 35px;
}

.textBox {
    width: 400px;
    height: 350px;
    display: grid;
    place-content: center;
    text-align: center;
}

.text-topic, .dead-persoName{
    font-style: italic;
    font-family: times;
    font-weight: 600;
    line-height: 1em;
    margin: 0 0 5px;
}

.text-topic{
    font-size: 26px;
    color: white;
}

.dead-persoName{
    font-size: 36px;
    color: var(--seCcolors--funeGrey);
}

.yhdeath-funeLocation{
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 10px 0 0;
}

.yhdeath-funeLocation p{
    color: white;
    font-size: 13px;
}

.yhdeath-funeLocation span{
    color: var(--seCcolors--funeGrey);
}

.linebgfx img{
    width: 140px;
}

.Strip-devider{
    margin:-100px 0 0;
}


.Strip-devider img{
    width: 100%;
}

.section-title-con.funeral{
    color: white;
}

.section-title-con.funeral h1{
    color: var(--seCcolors--funeGrey);
}

.linebgfx.funeral{
text-align: center;
}


.Min-slideshow-container {
    height: max-content;
    margin: auto;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 15px auto;
}

.more.funeral a {
    color: white;
    z-index: 40;
    position: absolute;
    top: 0;
    right: 0;
}

.more.funeralvmore a {
    color: white;
}


.more.funeral.top a {
    color: white;
    z-index: 40;
    position: absolute;
    top: 0;
    right: 52px;
}

.Min-slideshow-container::before,
.Min-slideshow-container::after{
    background: linear-gradient(to right, rgb(0 0 0) 0%, rgba(255, 255, 255, 0) 100%);
content: '';
height: 100%;
position: absolute;
width: 15%;
z-index: 14;
}


.Min-slideshow-container::before{
    left: 0;
    top: 0;
}

.Min-slideshow-container::after{
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}


.slideTrack, .slideTrack2{
    display: flex;
    width: calc(250px * 8);
}

.slideTrack{
    animation: scrollleft 40s linear infinite;
}

.slideTrack2{
    animation: scrollright 40s linear infinite;
}

@keyframes scrollleft{
    0%{
       transform: translateX(0);
    }

    100%{
       transform: translateX(-50%);
    }
}

@keyframes scrollright{
    0%{
        transform: translateX(-50%);
    
    }

    100%{
        transform: translateX(0);;
    }
}

.slideTrack:hover,
.slideTrack2:hover{
    animation-play-state: paused;
}



.slideInf{
    height:170px;
    width: 250px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
}


.slideInf img {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100);
}


.slideInf img:hover{
    filter: grayscale(0);
    transform: translateZ(5px);
    transition: ease 0.4s;
    cursor: pointer;
}


.Midbanner-con.funeral {
    height: 286px;
    background: url(https://cdn.ghanaweb.com/design/memories/burialcoffin.jpg);
    border-bottom: 0;
    display: grid;
    place-content: center;
    margin: 35px 0;
}

.testimonials-con {
    display: flex;
    gap: 20px;
    margin: 35px 0;
}

.Posts-con.category.testi {
    display: block;
    width: 184px;
    height: 300px;
    background-color: white;
    padding: 5px;
    border-radius: 12px;
}

.Posts-con.category.testi 
.Category-title,
.Cat-Posts-con.funeral .Category-title
{
    background-color: var(--seCcolors--FuneBtnGrey);
}

.testimonials-con.Events .Posts-con.category.testi .Category-title {
    background-color:#0a7781;
}


.byreadmore{
    display: flex;
    justify-content: space-between;
}

.Posts-con.category.testi .Post-texts p {
    font-size: 11px;
    height: 94px;
    overflow: hidden;
}


.Cath-con {
    padding: 28px 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}


.cath {
    width: 172px;
    height: 225px;
    border-radius: 19px;
    background-color: #7deff9;
}

.cath.violet{
    background-color: var(--seCcolors--EPCol3);
}

.cath .imgcon {
    height: 55%;
    display: flex;
    justify-content: center;
}

.cath .imgcon img {
    scale: 1.3;
    margin-top: -20px;
    /* padding: 0px 0 4px; */
}


.cathBtn-con {
    background-color: var(--seCcolors--EPCol2);
    border-radius: 0 0 19px 19px;
    height: 45%;
    text-align: center;
    padding: 11px 0 0;
    position: relative;
    z-index: 100;
}

.cath.violet .cathBtn-con{
    background-color: var(--seCcolors--EPColor);
}

.cathBtn-con p {
    margin: 0px auto 15px;
    text-align: center;
    font-size: 14px;
    color: white;
}


.IndexPageBtn-Btn1.ep {
    padding: 8px 30px;
    border-radius: 15px;
    background-color: #d5f6f9;
    color: black;
}

.cath.violet .IndexPageBtn-Btn1.ep{
    background-color: #ebd4f5;
}


.section-title-con.party h1 {
    color: var(--seCcolors--EPColor);
    font-family: 'Times New Roman', Times, serif;
    font-size: 26px;
}


.FeaturedPost-Con.party {
    background-color: #eeffff;
}


.FeaturedPost-Con.party .Tag-Name {
    background-color: #1fc0ce;
}

.FeaturedPost-Con.party .IndexPageBtn-Btn1 {
    background-color: #501869;
}


.testimonials-con.Events{
    background-color: #1fc0ce;
    padding: 20px 10px;
}

.event-grid-board{
    width: 100%;
    margin: auto;
}

.grid-line{
    display: flex;
    height: 200px;
}

.grid-line .textArea .location {
    background-color: transparent;
    padding: 0;
    width: 100%;
}

.blockBig, .blockSmall{
    position: relative;
    overflow: hidden;
    height: inherit;
}

.blockBig{
    width: 50%;
}

.blockSmall{
    width: 25%;  
}

.blockBig img, .blockSmall img{
    width: 100%;
    height: inherit;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 0;
}


.blockBig:hover img, .blockSmall:hover img{
    transform: scale(1.06);
    transition: ease 0.4s;
}

.blockBig:hover .textArea, .blockBig:hover .textArea::before,
.blockSmall:hover .textArea, .blockSmall:hover .textArea::before
{
    bottom: 0;
    transition: ease 0.4s;
    cursor: pointer;
}

.blockBig .textArea, 
.blockSmall .textArea
{
    height: 200px;
    padding: 10px 20px;
    place-content: center;
    z-index: 100;
}

.blockBig .textArea::before,
.blockSmall .textArea::before
{
    content: '';
    height: 200px;
    background-color: var(--seCcolors--EPColor);
    opacity: 0.95;
}

.blockSmall.one .textArea::before,
.blockBig.two .textArea::before
{
    background-color: var(--seCcolors--EPCol2);
}

.textArea .eventName {
    font-size: 20px;
    line-height: 1.2;
    max-height: 135px;
    overflow: hidden;
}


.booking-events-con{
    background-color: #17131e;
    max-height: 600px;
    padding: 45px 35px;
    display: flex;
}


.listgrp-con{
    max-height: 400px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.listgrp{
    width: 165px;
    color: white;
}

.listgrp .Event-title {
    font-size: 12px;
    color: white;
    font-weight: 200;
    margin: 0 0 5px;
}

.listgrp .dateBtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px;
    border-bottom: 1px solid white;
    padding: 0 0 10px;
}

.tdate {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: white;
    font-size: 12px;
}

.listgrp .IndexPageBtn-Btn1 {
    border-radius: 12px;
    padding: 3px 19px;
    background-color: var(--section-colors--EPCol5);
    color: white;
    margin-top: 0;
    font-size: 11px;
}


.featured-lisitng-con {
    display: flex;
    gap: 20px;
}

.featured-lisitng{
    position: relative;
    height: max-content;
}

.featured-lisitng .ImgCon-1{
    width: 198px;
    height: 269px;
    margin-top: 0;
}

.featured-lisitng .ImgCon-1.two {
    margin-top: 50px;
    position: relative;
}

.featured-lisitng .ImgCon-1 img {
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.featured-lisitng .ImgCon-1 .textArea,
.featured-lisitng .ImgCon-1.two .textArea {
    height: inherit;
    bottom: -100%;
}

.featured-lisitng .ImgCon-1.two .textArea::before,
.featured-lisitng .ImgCon-1 .textArea::before {
    content: '';
    width: inherit;
    height: inherit;
    background-color: #20052c;
    opacity: 0.76;
}


.featured-lisitng:hover .ImgCon-1 .textArea,
.featured-lisitng:hover .ImgCon-1.two .textArea
{
    bottom: 0;
    transition: ease 0.4s;
    cursor: pointer;
}

.featured-lisitng .ImgCon-1 .textArea .eventName {
    font-size: 16px;
    padding: 10px 0 0;
}


.featured-lisitng .ImgCon-1 .tdate{
    margin: 0 0 10px;
}

.featured-lisitng .IndexPageBtn-Btn1{
    border-radius: 12px;
    padding: 7px 35px;
    background-color: var(--section-colors--EPCol5);
    font-size: 13px;
    position: absolute;
    bottom: 22px;
    left: 21px;
}

.featured-lisitng:hover .IndexPageBtn-Btn1:hover{
    background-color: white;
    color: black;
}

.Recent-posts-con.category.party .IndexPageBtn-Btn1{
    background-color: var(--section-colors--EPCol5);
}


.Allslider-Con.party {
    width: 84%;
    height: 321px;
    overflow: hidden;
    position: relative;
    left: 67px;
    top: 30px;
}


.sliderCon-party {
    position: relative;
    width: 750px;
    height: 316px;
    margin: 0 auto;
    background-color: blue;
    top: 31px;
    left: -5px;
}
  
  .sliderParty {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .sliderPee {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #b761dd;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s;
    overflow: hidden;
  }

  .sliderPee::before{
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    left: 0;
    top: 0;
    opacity: 0.3;
    background-color: black;
  }

  .sliderPee img{
    width: 100%;
  }
  
  .sliderPee.active {
    opacity: 1;
  }

  .textInfo-area {
    width: 319px;
    position: absolute;
    left: 87px;
    top: 46%;
    transform: translateY(-50%);
}

  .textInfo-area .FeaturedPost-Con-txtCon{
    margin: 0;
  }

  .textInfo-area .IndexPageBtn-Btn1 {
    border-radius: 12px;
    padding: 6px 66px;
    background-color: var(--seCcolors--EPColor);
    color: white;
    margin-top: 19px;
}

  .textInfo-area h1 {
    margin: 10px 0 20px;
}
  
  .prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 3px 8px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
}
  
  .prev-btn {
    left: 20px;
  }
  
  .next-btn {
    right: 20px;
  }
  
  .dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
  }
  
  .dot.active {
    background-color: #fff;
  }


  .Cat-Posts-con {
    width: 860px;
    display: flex;
    padding: 25px 20px;
    gap: 15px;
}

.topCat-left{
   display: flex;
   gap: 20px;
   flex-wrap: wrap;
}

.topCat-left.top {
   width: 508px;
}

.Cat-Posts-con.party{
    background-color: #dbc7e4;
}

.Cat-Posts-con.funeral{
    background-color: #d5d5d5;
}


.Cat-Posts-con.engagementWed{
    background-color: var(--seCcolors--WedCol2);
}


.Cat-Posts-con.party .Category-title {
    background-color: #501869;
}

.Cat-Posts-con.partytwo .Category-title {
    background-color:var(--seCcolors--EPCol2);
}

.topCat-left .Posts-con.category {
    display: block;
    margin: 0;
    width: 146px;
}

.Cat-Posts-con.party .Posts-con.category {
    display: block;
    margin: 0;
}

.topCat-left .Posts-con.category .Post-img-con {
    height: 90px;
}


.SquAdbox{
    width: 337px;
    height: inherit;
    background-color: white;
}


.read-content-con .Category-title {
    margin: 15px auto 10px;
    width: max-content;
    padding: 4px 20px;
    position: static;

}

.read-content-con .Category-title.party{
    background-color: var(--section-colors--EPCol5);
}

.read-content-con .Category-title.funeral{
    background-color: var(--seCcolors--funeSecColor);
    margin: 15px 26px 10px;
}

.read-title{
    margin: 12px 0 0; 
}

.read-title.pad{
    padding: 0 20px; 
}

.read-text-topic {
    float: none;
    font-size: 29px;
    width: 70%;
    margin: 10px auto;
    text-align: center;
}

.read-text-topic i {
    font-size: 14px;
    font-weight: normal;
}

.read-content-con.funeral .read-text-topic {
    float: none;
    font-size: 29px;
    width: 70%;
    margin: 20px auto 25px;
    text-align: center;
    line-height: 1em;
}

.tabs-bar{
    width: max-content;
    margin: 15px auto 10px;
}

.tabs-bar a{
    padding: 5px 15px;
    background-color: var(--seCcolors--funeMainColor);
    color: white;
    margin: 0;
}

.tabs-bar .bar-active{
    background-color:var(--seCcolors--funeGrey);
    color: black;
}

.tabs-bar a:hover{
    background-color:var(--seCcolors--funeGrey);
    text-decoration: none;
    color: black;
}

.head-image-con{
    width: 100%;
    height: 350px;
    margin: 10px 0 15px;
}

.head-image-con img{
    width: 100%;
    object-fit: cover;
    height: inherit;
    object-position: top;
}

.sqAdMini {
    width: 300px;
    /*min-height: 250px;*/
    float: right;
    clear: both;
    margin: 10px;
    background-color: #c6c6c6;
}

.sqAdMini img{
    width: 100%;
}

.post-text-con{
    font-size: 15px;
    padding: 10px 10px 15px;
}


.Burial-info-con{
    height: 245px;
    background-color: white;
    margin: 20px;
    border-radius: 14px;
    filter: drop-shadow(5px 6px 5px rgb(0, 0, 0, 0.1));
    border: 1px solid var(--seCcolors--FuneBtnGrey);
    padding: 20px;
    display: flex;
    justify-content: space-around;
}

.Burial-info-con .textbox h3 {
    font-size: 15px;
    max-width: 239px;
    overflow: hidden;
    line-height: 1.2;
}

.Burial-info-con h4{
    margin-bottom: 10px;
}

.locationMap{
    width: 50%;
}

.locationMap iframe{
    width: 100%;
    height: 100%;
}

.gallery-con{
    height: max-content;
    background-color: var(--seCcolors--funeSecColor);
    display: flex;
    gap: 10px;
    padding: 10px;
    flex-wrap: wrap;
    position: relative;
}


.gallery-con .imgbox{
  width: 210px;
  height: 180px;
  border: 1px solid black;
}

.gallery-con .imgbox img{
    width: 100%;
    height: inherit;
    object-fit: cover;
    cursor: pointer;
}



.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9); 
  }
  

  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  
  .modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  

  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }


 .testimonial-content{
    width:auto;
    max-height: 400px;
    padding: 15px 20px;
    background-color: var(--seCcolors--FuneBtnGrey);
    color: white;
    margin: 15px;
    border-radius: 13px;
    overflow-y: auto;
 }


 .testi-by-name{
    display: flex;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid white;
 }

 .testi-by-name p{
    margin: 0;
 }

 .testimonial-text{
    padding: 10px 0;
    font-size: 13px;
 }


.Cat-Posts-con.party .listgrp{
    color: black;
}

.Cat-Posts-con.party .listgrp,
.Cat-Posts-con.party .Event-title,
.Cat-Posts-con.party .tdate
{
    color: black;
}

.midside{
    width: 300px;
    float: left;
}


.adbox{
    width: 300px;
    height: 250px;
    background-color: white;
    margin-bottom: 20px;
}

.adbox.rec{
    height: 900px;
}

img.obituary {
    width: 100%;
}

.prev, .next, .stdprev, .stdnext {
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--seCcolors--IndexCol2);
    font-weight: bold;
    font-size: 45px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev:hover, .next:hover, .stdprev:hover, .stdnext:hover {
    color: var(--seCcolors--IndexCol2);
    text-decoration: none;
}

.next, .stdnext {
    right: -43px;
    border-radius: 3px 0 0 3px;
}

.stdnext {
    right: 6px;
}

.prev {
    left: -47px;
    border-radius: 3px 0 0 3px;
}

.section-title {
    padding: 0px 15px 5px;
    margin-top: -5px;
}

.pagination {
    width: auto;
    float: right;
    margin-top: 10px;
    margin-bottom: 5px;
    vertical-align: bottom;
    padding: 0 20px;
}

.pagination .disabled {
    border: 1px solid #444;
    background-color: white;
    display: inline-block;
    padding: 3px;
    margin-left: 3px;
    color: #444;
}

.pagination .current {
    border: 1px solid #444;
    background-color: #444;
    display: inline-block;
    padding: 3px;
    margin-left: 3px;
    color: #fff;
}

.pagination a {
    border: 1px solid #444;
    display: inline-block;
    padding: 3px;
    margin-left: 3px;
    color: #444;
    position: relative;
    font-weight: normal;
    font-size: inherit;
    right: unset;
    left: unset;
}

.wedding-card .pagination {
    display: inline-table;
    position: relative;
    top: -90px;
    text-align: right;
}

.wedding-card .pagination a, .wedding-card .pagination .current, .wedding-card .pagination .disabled {
    padding: 3px 6px;
    border-radius: 0;
    border-color: #b07a5b;
}

.wedding-card .pagination .current {
    background-color: #b07a5b;
}

.mem-no-results {
    font-size: 14px;
    padding: 30px 10px;
}

.midpage-left.wedding {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.wedding-card {
    margin: 0 auto;
    padding: 30px 0;
    background: url(https://cdn.ghanaweb.com/design/memories/background.png) no-repeat;
    background-size: 900px;
    background-position: 8% -15%;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    display: grid;
}

.couplesPhotos-blended-in-bg{
    position: absolute;
    right: 0;
    top: 0;
    width: 400px;
    height: 500px;
    opacity: 0.1;
    z-index: 0;
    background-color: #fcede4;
}

.couple-photo-blend{
    position: relative;
    width: inherit;
    height: inherit;
    object-fit: cover;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

.couple-photo-blend::before{
    background: linear-gradient(to right, rgb(0 0 0) 0%, rgba(255, 255, 255, 0) 100%);
    content: '';
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 14;
}

.wedding-card .category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    margin: 0 30px 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 10px;
    width: 80px;
    text-align: center;
}

.wedding-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 30px;
    line-height: 1.3em;
}

.framebibleverse-container{
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 0px 0 35px;
}

.photo-frame {
    position: relative;
    width: 300px;
    height: 300px;
}

.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.frame-decoration {
    position: absolute;
    top: -10px;
    right: -18px;
    bottom: -10px;
    left: -23px;
    border-radius: 50%;
    z-index: 5;
}

.frame-decoration img{
    width:351px;
}

.bible-verse {
    text-align: center;
    margin: 2rem 0;
    color: black;
    font-size: 14px;
}

.bible-quote{ 
    color: var(--primary-color);
    font-style: italic;
    font-weight: 700;
    font-size: 18px;
}

.invitation-card {
    width: 600px;
    background-color: white;
    padding: 2rem;
    border-radius: 27px;
    text-align: center;
    margin: 2rem auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #dbdbdb;
    position: relative;
    font-size: 18px;
}

.invitation-card .ring-con {
    position: absolute;
    top: -28px;
    right: 31px;
}

.invitation-card .ring-con-two{
    position: absolute;
    bottom: -20px;
    left: 31px;
}

.invitation-card .ring-con img,
.invitation-card .ring-con-two img
{
    width: 60px;
}

.invitation-card .flower-edge{
    position: absolute;
    top: -42px;
    right: 105px;
    height: 41px;
    overflow: hidden;
}

.invitation-card .flower-edge img{
    width: 170px;
}

.invitation-card h2 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    font-size: 26px;
}

.invitation-card .rsvp {
    font-size: inherit;
}

.date {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
    color: var(--primary-color);
}

.rsvp {
    margin-top: 1rem;
    font-weight: 500;
}

.location-details {
    text-align: center;
    margin: 2rem 0;
    background-color: white;
    padding: 12px 0;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.location-details p {
    margin: 0;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0 0 2rem;
    border-top: 10px solid white;
    border-bottom: 10px solid white;
    padding: 10px 20px 50px;
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.countdown {
    text-align: center;
    margin: -2rem 0 2rem;
    background-color: white;
    padding: 10px 0;
}

.countdown.gap {
    margin: 0;
}

#timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0;
    font-size: 30px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-block span {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.time-block .label {
    font-size: 0.9rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .wedding-card {
        padding: 1rem;
    }

    .wedding-card h1 {
        font-size: 2rem;
    }

    .photo-frame {
        width: 250px;
        height: 250px;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    #timer {
        gap: 1rem;
    }

    .time-block span {
        font-size: 1.5rem;
    }
}

.topBannerWithFrame {
    background: url(https://cdn.ghanaweb.com/design/memories/banbg.png);
    height: 510px;
    background-size: cover;
    background-position: 16% 83%;
    display: flex;
    justify-content: center;
}

.leftside-Ban {
    position: relative;
}

.Rightside-Ban {
    position: relative;
    width: 50%;
}

.frame-box {
    position: relative;
}

.pFrame {
    width: 395px;
    margin: 43px 0 0;
}

.Add-photo-con {
    position: absolute;
    top: 102px;
    left: 97px;
}

.Add-photo-con img {
    width: 224px;
    height: 301px;
    overflow: hidden;
    object-fit: cover;
    object-position: 65% 50%;
}

.Age-circle {
    width: 110px;
    height: 110px;
    background-color: #2c2b28;
    border-radius: 50%;
    position: absolute;
    right: -30px;
    bottom: 101px;
    color: white;
    display: flex;
    place-content: center;
    flex-direction: column;
    align-items: center;
}

.agetext {
    font-size: 16px;
    text-align: center;
}

.ageNumb {
    font-size: 29px;
    font-weight: 700;
}

.PName {
    font-size: 18px;
    margin-top: -12px;
    position: absolute;
    left: 47px;
}

.inMemText {
    mix-blend-mode: multiply;
    display: block;
    margin: 20px auto 0;
}

.flowerPot {
    position: absolute;
    bottom: 30px;
    left: 10px;
}

.obituary-funeDate-section {
    display: flex;
    justify-content: center;
    padding: 30px 20px 50px;
    position: relative;
}

.leftside-obi {
    position: relative;
    width: 50%;
}

.Rightside-obi {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.imgCon {
    width: 243px;
    height: 326px;
    padding: 10px;
    border: 1px solid rgb(157, 157, 157);
    z-index: 5;
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.imgCon img {
    width: 243px;
    cursor: pointer;
}

.imgCon.two {
    width: 232px;
    height: 283px;
    transform: rotate(90deg);
    position: absolute;
    bottom: 20px;
    z-index: 2;
    left: 88px;
}

.leftside-obi .blank-div {
    width: 5px;
    height: 50px;
    background-color: #000000;
    position: absolute;
    bottom: -50px;
    left: 50%;
    z-index: 4;
}

.Rightside-obi .dateLocation-title {
    margin: 0 0 5px;
    font-size: 16px;
}

.Rightside-obi .date {
    color: black;
    font-size: 26px;
}

.Rightside-obi p {
    font-size: 16px;
}

.blank-div {
    width: 100%;
    height: 120px;
    background-color: #e1dfdb;
    position: absolute;
    bottom: 0;
}

.biogrphy-short-con {
    padding: 70px 0;
}

.bio-text-con {
    position: relative;
    border: 1px solid black;
    width: 530px;
    height: max-content;
    margin: auto;
    padding: 30px 30px 20px;
    text-align: center;
}

.bio-text-con .blank-div {
    width: 5px;
    height: 70px;
    background-color: #000000;
    position: absolute;
    top: -71px;
    right: 15%;
    z-index: 4;
}

.bio-text-con .bio-title {
    color: white;
    padding: 3px 23px;
    background-color: black;
    display: block;
    margin: -42px auto 19px;
    width: max-content;
}

.bio-text-con .text-here {
    font-size: 15px;
    text-align: center;
    margin: 0 0 10px;
    height: 115px;
    overflow: hidden;
}

.read-more-announce {
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.read-more-announce:hover{
    color: #CA0002;
    text-decoration: underline;
}

.bio-text-con .dove {
    position: absolute;
    top: -43px;
    right: -70px;
}

.bio-navs-con {
    margin-top: 30px;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    padding: 0 0 3px;
}

.tabs-bar {
    width: max-content;
    margin: 15px auto 10px;
}

.obituary-big-display,  .bigGal-con{
    position: fixed;
    height: 100%;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 100;
    display: none;
}

.inner-display{
    position: relative;
    width: inherit;
    height: inherit; 
    color: white;
}

.inner-display::before{
    content:"";
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: black;
    opacity: 0.87;
}

.obi-photo-big-con{
  position: relative;
  width: 900px;
  margin: auto;
  top: 40px;
  padding: 50px;
}

.obi-photo-big-con .prev,
.obi-photo-big-con .next{
    top: 35%;
    color: #ffffff;
}

.obi-photo-big-con .next{
    right: 20px;
}

.obi-photo-big-con .prev{
    left: 20px;
}

.close-btn{
    color: white;
    position: absolute;
    top: 30px;
    right: -178px;
    font-size: 30px;
    background-color: black;
    padding: 5px 15px;
}

.close-btn:hover{
    cursor: pointer;
    background-color: grey;
    color: black;
}

.bigPhoto{
    width: 600px;
    max-height: 800px;
    margin: auto;
}

.bigPhoto{
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }

.obi-photo-big-con img,
.bigGal-con img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.PhotoDescribe{
    padding: 10px 0;
    font-size: 15px;
}

.BioSection {
    padding: 0 30px;
}

.leftSide-bio {
    position: relative;
    width: 840px;
}

.BiotitleBg {
    background-color: #d2cdca;
    height: 250px;
    width: 350px;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 51% 100%, 0 68%);
    margin-left: 30px;
}

.Biotext-description {
    margin: 30px 0;
    font-size: 15px;
}

.leftSide-bio img {
    position: absolute;
    top: 45px;
    z-index: 1;
}

.title-link {
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    align-items: center;
    background-color: #d2cdca;
}

.title-link p {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.descript {
    font-size: 14px;
}

.relative-list {
    padding: 10px 10px 30px;
}

.testimonial-con {
    position: relative;
    margin: 0 0 30px;
}

.testi-title-text {
    margin: 30px auto;
    width: max-content;
    display: block;
    height: 42px;
}

.roseflowFx {
    position: absolute;
    right: 0;
    top: 20px;
    z-index: 1;
}

.testimonies-grp {
    height: max-content;
    display: flex;
    flex-wrap: wrap;
    padding: 0 35px;
    gap: 30px;
}

.testimon-here {
    width: 400px;
    position: relative;
}

.text-area-con {
    width: 280px;
    height: 427px;
    position: absolute;
    top: 56px;
    left: 50px;
    text-align: center;
    padding: 10px;
}

.testimon-here img {
    width: inherit;
}

.text-area-con p {
    font-size: 16px;
    padding: 10px 0 0;
    max-height: 365px;
    overflow-x: hidden;
    overflow-y: scroll;
    line-height: 1.5;
}

.NavBar {
    margin: 20px 0;
    position: relative;
}

.nav-links {
    position: relative;
    background-color: white;
    border: 1px solid black;
    display: block;
    width: max-content;
    margin: auto;
    z-index: 2;
}

.nav-links a {
    padding: 5px 10px;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
}

.linebar {
    top: 50%;
    position: absolute;
    width: 100%;
    height: 6px;
    background: radial-gradient(#fde09d, #c8a376);
}

.testimonial-con .pagination {
    border: 1px solid #000;
    padding: 2px 2px 0;
    font-size: 14px;
    position: relative;
    z-index: 2;
    margin: auto;
    float: none;
    width: max-content;
    background: #FFF;
}

.testimonial-con .pagination a, .testimonial-con .pagination span {
    border: none;
    padding: 3px 10px;
    margin: 0;
    background: transparent;
    color: #000;
    font-weight: 500;
}

.testimonial-con .pagination .next {
    padding-left: 5px !important;
}

.testimonial-con .pagination .current {
    border-bottom: 2px solid #987050;
}

.text-area-con h4 {
    margin-left: -20px;
}

.read-content-con .Category-title {
    margin: 15px 26px 10px;
}

.top-section-party {
    display: flex;
    min-height: 410px;
    margin-top: 20px;
    background: url(https://cdn.ghanaweb.com/design/memories/bgfxcolor.png);
    background-size: cover;
}

.image-Gal, .Info-section {
    width: 50%;
    height: inherit;
    overflow: hidden;
    position: relative;
}

.Info-section {
    padding-left: 30px;
}

.Info-section .invitation-card {
    width: 390px;
    background-color: white;
    padding: 20px;
    border-radius: 27px;
    text-align: left;
    margin: 60px auto 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #dbdbdb;
    position: relative;
}

.Info-section .invitation-card .ring-con {
    position: absolute;
    top: -55px;
    right: 31px;
}

.Info-section .invitation-card .ring-con img {
    width: 45px;
}

.Info-section .date {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    color: black;
}

.Info-section .location-details {
    text-align: center;
    margin: 0;
    background-color: white;
    padding: 10px 0;
}

.Info-section .invitation-card p {
    width: 90%;
    font-size: 14px;
    overflow: hidden;
    text-align: left;
    font-size: 17px;
}

.Info-section .invitation-card.rsvp {
    padding: 20px;
    border-radius: 17px;
    margin: 20px auto;
}

.Info-section .rsvp {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.image-Gal-inn {
    transform: rotate(336deg);
    position: absolute;
    right: -42px;
    top: 7px;
    z-index: 2;
}

.photofx-grp {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: end;
}

.photofx-con {
    width: 160px;
    height: 160px;
}

.photofx-con img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right;
}

.small-photos-grp {
    display: flex;
    gap: 10px;
    flex-direction: column;
    height: 200px;
    flex-wrap: wrap-reverse;
}

.photofx-con.small {
    width: 95px;
    height: 95px;
}

.photofx-con img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right;
}

.image-Gal .bgImg {
    width: 83%;
    position: absolute;
    top: -91px;
    rotate: 12deg;
    right: 66px;
    z-index: 0;
}

.Side-Attraction-con {
    position: relative;
    padding: 30px;
    height: max-content;
    border-bottom: 3px solid #1fc0ce;
}

.fxline {
    position: absolute;
    top: 0;
    z-index: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #501869;
}

.side-photo-con {
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: white;
    height: fit-content;
}

.side-photo-con img {
    width: 360px;
    border: 1px solid #1fc0ce;
    border-radius: 20px;
}

.side-text-con {
    width: 320px;
    min-height: 140px;
    height: fit-content;
    padding: 30px;
    border: 1px solid #1fc0ce;
    border-radius: 20px;
    background-color: white;
    margin-left: -35px;
    margin-top: 35px;
    overflow: auto;
}

.boxfx.two {
    position: absolute;
    bottom: 20px;
    right: 50px;
}

.Side-Attraction-Inn {
    display: flex;
    z-index: 1;
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
}

.side-text-con p {
    font-size: 13px;
}

.read-content-con {
    width: 900px;
}

.Gal-photos-con {
    height: max-content;
    width: 800px;
    padding: 20px 50px 50px 50px;
    background: #f6f6f6;
    display: inline-block;
}

.photoBox2 {
    background: none;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photoBox2 {
    overflow: hidden;
    position: relative;
    border: 1px solid #f6f6f6;
    float: left;
}

.photoBox2.big1 {
    width: 394px;
    height: 402px;
}

.photoBox2 img {
    height: inherit;
    width: inherit;
    object-fit: cover;
}

.photoBox2.big2 {
    width: 200px;
    height: 402px;
}

.photoBox2.small {
    width: 200px;
    height: 200px;
}

.photoBox2.big3 {
    width: 297px;
    height: 200px;
}

.nav-wrap {
    position: relative;
    top: -50px;
    right: 30px;
}

.photo-gal {
    padding: 0 50px;
}

.flex-center {
    justify-content: center;
}