: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;
}

.main-container {
    padding: 163px 0px 0 0px !important;
    overflow: hidden;
}

.Navbar.memories, .top-nav-section {
    background-color: #520909;
}

.navbtn__memories {
    border-bottom: 3px solid #520909;
}

body{
    font-family: 'Poppins', sans-serif;
    color: rgb(0, 0, 0);
}

h4{
    font-size: 12px;
    margin: 0; 
}

p{  font-size: 14px;}

ul {
    margin: 0 0 0px;
}

a{color: black;}

.Memories-container{
/*    background-color: rgb(243, 243, 243);*/
}

.Memories-container.funeral{
    background-color: black;
    overflow: hidden;
}

.Sectionname{
    min-height: 58px;
    font-size: 32px;
    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{
    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;
    width: auto;
}

.Memories-headernavs ul a{
    text-decoration: none;
    color: #ffff;
    padding: inherit;
}

.main-container .active, .Memories-headernavs ul li:hover{
    background-color: var(--seCcolors--IndexCol2);
}

.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 !important;
}

.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: 235px;
    background: none;
    background-color: #a43535;
    border-bottom: 4px solid var(--seCcolors--IndexCol3);
    background-color:#a43535;
    position: relative;
}

.Topbanner-con.wed{
    background: none;
}

.Topbanner-con.party {
    background: none;
    border-bottom: 0;
    height: 330px;
}

.Topbanner-con.funeral {
    height: 277px;
    background: url(https://cdn.ghanaweb.com/design/memories/funeBanBG.jpg);
    border-bottom: 0;
    display: grid;
    place-content: center;
    position: relative;
}

.Topbanner-con__Textbox {
    position: absolute;
    left: 2em;
    top: 20px;
    color: white;
    margin:0px;
}

.Topbanner-con__Textbox.funeral{
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    text-align: center;
}

.Topbanner-con__Textbox--t1{
    font-size: 55px;
    font-weight: 700; 
    margin:0;
}

.Topbanner-con__Textbox--t2{
    font-size: 16px;
    font-style: italic;
    font-weight: 500; 
    width: max-content;
    color:#fcecc0;
    margin: 0;
}

.Topbanner-con__Textbox--t3 {
    width: 265px;
    margin: 9px 0;
}

.Topbanner-con__Textbox--t2.funeral{
    width: 80%;
    margin: auto;
    font-size: 18px;
    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: 5px 16px;
    font-size: 13px;
}

.IndexPageBtn-Btn1.funeral {
    padding: 6px 22px;
}

.IndexPageBtn-Btn1.funeral:hover,
.IndexPageBtn-Btn1.funeraltwo:hover{
    background-color: white;
    color: black;
}

.flower-con {
    display: none;
}

/* ................................TopBanner CSS ends here ................................................................... */


/* ................................FeatureSection CSS Starts here ................................................................... */


.mid-Con{
    background-color: black;
    height: max-content;
}
.midpage-left {
    width: 100%;
    background-color: white;
    margin: 0;
}

.midpage-left.funeral {
    background-color: rgb(0, 0, 0);
}

.FeaturedPost-Con {
    background-color: var(--seCcolors--GenGray);
    height: max-content;
    display: block;
    padding: 20px;
    justify-content: space-evenly;
}

.FeaturedPost-Con.wedding{
    /*height: 400px;*/
    background-color: var(--seCcolors--WedCol2);
    display: block;
    padding-bottom: 30px;
}

.FeaturedPost-Con.wedding h1{
    margin: 0 0 .37em;
}

.FeaturedPost-Con.wedding .section-title-con p{
    margin: 1em 0;
}

.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: 270px;
}

.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: 185px;
    height: 227px;
    margin-top: 46px;
}

.ImgCon-2 {
    width: 138px;
    height: 177px;
    margin-top: 7em;
    margin-left: -2em;
}

.FeaturedPost-Con-ImgCon img {
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.FeaturedPost-Con-txtCon {
    margin: 0em 20px 0em;
    height: 135px;
}

.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: 350px;
    font-size: 19px;
    margin-bottom: 12px;
    line-height: 1.2em;
    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 20px;
    height: max-content;
}

.Recent-posts-con.category{
    padding: 0;
}

.titles-col{
    display: flex;
    gap: 10px;
    padding: 10px 0px;
    align-items: center;
    border-bottom: 1px solid var(--seCcolors--GenGray);
    margin-bottom: 20px;
    justify-content: space-between;
}

.titles-col.party{
    justify-content: end;
}

.titles-col.party.ep{
    margin:  0 30px 10px;
}

.Recent-posts-con.category .titles-col{
    padding: 0 20px;
    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);
    padding: 20px 15px;
}

.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;
}

.Recent-posts h4{
    font-size: 12px;
    margin: 0;
}

.Posts-con {
    margin: 18px 8px;
    border-radius: 12px;
    background-color: #f4f4f4;
}

.Posts-con.category{
    width: 200px;
    height: max-content;
    background-color: white;
    padding: 5px;
    border-radius: 12px;
}

.Post-texts{
    padding: 10px 13px; 
}

.Posts-con.category .Post-texts{
    padding:0 10px 5px;
}

.Posts-con:hover{
    text-decoration: none;
    color: black;
}

.Post-img-con {
    width: 190px;
    height: 131px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.Post-img-con img {
    width: inherit;
    height: inherit;
    object-fit: cover;
    object-position: center;
}

.Category-title {
    font-size: 10px;
    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 {
    max-width: 145px;
    font-size: 11px;
    max-height: 92px;
    overflow: hidden;
}

.adSpace {
    margin: 15px auto ;
    width: 300px;
    height: 250px;
    background-color: #a29f9f;
}

.more-posts-con{
    max-height: 500px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.more-posts-con a:hover{
    text-decoration: none;
    color: var(--seCcolors--IndexCol);
}

.more-posts-con.photoslider{
    background-color: var(--seCcolors--WedCol3);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-height: max-content;
}

.postGrp{
    width: auto;
    height: auto;
    display: flex;
    gap: 12px;
    margin: 0 20px 0 0;
    padding: 10px;
    box-shadow: 3px 1px 10px #CCC;
    border-radius: 10px;
}

.postGrp .imagebox{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.postGrp .imagebox img{
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.textbox{
    width: max-content;
    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;
}

.textbox h3 {
    font-size: 12px;
    max-width: 230px;
    overflow: hidden;   
}

.textbox p {
    font-size: 12px;
    max-width: 230px;
    overflow: hidden;
    text-wrap: wrap;
    margin: 0;
}

.textbox h4 {
    font-size: 11px;
    color: #a0a0a0;
    font-weight: 400;
}

.section-title-con {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 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;
    padding: 0 15px;
    margin: 0;
}

.select-wedEng {
    padding: 20px 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: 100%;
}

.heartImg2 {
    transform: scale(0.6);
    position: absolute;
    top: -27px;
    left: -8px;
    z-index: 1;
}

.heartImg2b {
    transform: scale(0.9);
    position: absolute;
    top: -8px;
    left: 1px;
    z-index: 1;
}

.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: 0;
    top: -62px;
}

.heartSmall2 {
    right: -31px;
    bottom: -32px;
    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);
    padding: 10px 20px;
}

.more{
    display: flex;
    justify-content: flex-end;
    margin: 10px 0;
    gap: 10px;
}

.more.two{
    justify-content: flex-start;
}

.more img{
    width: 90px;
}

.more a{
    font-size: 15px;
    font-weight: 600;
}

.SavetheDateBoard .more{
    padding: 0 25px;
}

.Newpost-con{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 30px;
}

.mpost-con{
    max-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: 97px;
    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: 3px 10px;
}

.singlePost .Category-title{
    left: -9px;
}

.PhotoslideCon .Category-title{
    left: -3px;
    top: 25px;
}

.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: 7em;
    margin-left: -6em;
}

.singlePost .ImgCon-1 {
    width: 260px;
    margin-top: 0;
}

/* Css for little photo slider */

.PhotoslideCon{
    width: 280px;
    position: relative;
}

.slideshow-container {
    width: 235px;
    position: relative;
    margin: auto;
}

.mySlides { /*, .SaveDate*/
    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: 10% 60%;
    position: relative;
}

.StdtextCon {
    width: 80%;
    position: absolute;
    left: 10%;
    top: 138px;
    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: 1.4rem;
    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.35;
    rotate: 151deg;
    width: 323px;
    height: 289px;
    overflow: hidden;
    position: absolute;
    left: 48px;
    top: -64px;
    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: 40%;
    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%;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 28px;
    right: 5px;
}

.dotCon{
    text-align: center;
    position: absolute;
    bottom: -5px;
    width: 100%;
}

.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;
}

.main-container .active, .stddot:hover {
    background-color: #6e0e0e;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* ....................................................................... */


.VideoReelsCon {
    padding: 20px 0;
}

.videobox{
    position: relative;
    width: 300px;
    height: 250px;
    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;
    overflow: scroll;
    gap: 15px;
}

.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: 25px;
    gap: 10px;
    overflow: hidden;
}

.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: 175px;
    height: 88px;
    margin: 10px 0 20px;
}

.thumbnails img {
    width: inherit;
    height: inherit;
    object-fit: cover;
    border-radius: 4px;
}

.love-articles{
    padding: 25px 20px;
}

.love-articles .tName{
    color: var(--seCcolors--IndexCol2);
}

.grpCon{
    width: 100%;
}

.grpCon.one{
    width: 100%;
}

.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: center;
    gap: 10px;
    margin: 0 0 30px;
}

.story{
    width: 166px;
    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 {
    font-size: 13px;
    width: 65px;
    overflow: hidden;
    height: 34px;
    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: scroll;
    overflow-y: hidden;
    padding-left: 20px;
}

.slidetopSmalls{
    width: 210px;
    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: 250px;
    background-color: black;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.photoBox {
    width: 50%;
    height: 248px;
    background: url(https://cdn.ghanaweb.com/design/memories/frameBigfx.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
}

.topMemBoard .photoBox img {
    width: 133px;
    margin-left: -9px !important;
    margin-top: 33px !important;
    height: 173px;
}

.textBox {
    width: 50%;
    height: 170px;
    padding: 25px 0 0;
}

.text-topic, .dead-persoName{
    font-style: italic;
    font-family: times;
    font-weight: 600;
    line-height: 1em;
    margin: 0 0 5px;
}

.text-topic {
    font-size: 16px;
    color: white;
}

.dead-persoName{
    font-size: 15px;
    color: var(--seCcolors--funeGrey);
}

.yhdeath-funeLocation{
    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:4px 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: 17px;
}

.more.funeralvmore a {
    color: white;
}

.more.funeral.top a {
    color: white;
    z-index: 40;
    position: absolute;
    top: 0;
    right: 20px;
}

.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;
    padding-left: 20px;
    overflow: scroll;
}

.Posts-con.category.testi {
    display: block;
    width: 200px;
    max-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{
    width: inherit;
    display: flex;
    gap: 10px;
    align-items: center;
}

.Posts-con.category.testi .Post-texts p {
    font-size: 11px;
    max-height: 72px;
    overflow: hidden;
}

.Cath-con {
    padding: 28px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.cath {
    width: 45%;
    height: 210px;
    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 {
    width: inherit;
    height: 139px;
    scale: 0.9;
    margin-top: -20px;
}

.cathBtn-con {
    background-color: var(--seCcolors--EPCol2);
    border-radius: 0 0 19px 19px;
    height: 45%;
    text-align: center;
    padding: 11px 0 0;
    position: relative;
}

.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: 6px 12px;
    border-radius: 12px;
    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;
    margin: .67em 0 0;
}

.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;
}

.event-grid-board {
    width: 100%;
    min-height: 600px;
    margin: 20px auto;
}

.grid-line{
    display: flex;
    min-height: 200px;
    flex-wrap: wrap;
}

.grid-line .textArea .location {
    background-color: transparent;
    padding: 0;
}

.blockBig, .blockSmall{
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blockBig{
    width: 50%;
}

.blockSmall{
    width: 50%;  
}

.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;
    padding: 8px 10px;
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
}

.listgrp-con{
    max-height: 355px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    margin: 25px 0;
    padding: 0 10px;
    overflow: hidden;
}

.listgrp{
    width: 150px;
    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;
    margin: 15px 0;
}

.featured-lisitng{
    position: relative;
    height: max-content;
}

.featured-lisitng .ImgCon-1 {
    width: 155px;
    height: 187px;
    margin-top: 0;
}

.featured-lisitng .ImgCon-1.two {
    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);
    font-size: 12px;
}

.Allslider-Con{
    height: 230px;
}

.Allslider-Con.party {
    height: 321px;
    overflow: hidden;
    position: relative;
}

.sliderCon-party {
    position: relative;
    width: 100%;
    height: 316px;
    margin: 0 auto;
    background-color: blue;
    top: 0;
    left: 0;
}

.sliderParty {
    position: relative;
    width: 100%;
    height: 100%;
}

.sliderPee {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #708806;
    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%;
    height: inherit;
    object-fit: cover;
}

.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 {
    width: 255px;
    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: 100%;
    /*display: flex;*/
    padding: 25px 20px;
    /*gap: 15px;*/
}

.topCat-left{
    display: flex;
    gap: 15px 4%;
    flex-wrap: wrap;
}

.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: 48%;
}

.topCat-left .Posts-con.category.testi{
    width: 175px;
}

.Cat-Posts-con.party .Posts-con.category {
    display: block;
    margin: 0;
    width: 48%;
}

.topCat-left .Posts-con.category .Post-img-con {
    height: 90px;
    width: 100%;
}

.topCat-left .Category-title{
    bottom: 0;
}

.SquAdbox{
    width: 337px;
    height: inherit;
    background-color: white;
    display: none;
}

.read-content-con .Category-title {
    margin: 15px 26px 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);
}

.read-text-topic {
    float: none;
    font-size: 26px;
    width: 80%;
    margin: 10px auto;
    text-align: center;
    z-index: 1;
    position: relative;
}

.read-content-con.funeral .read-text-topic {
    float: none;
    font-size: 29px;
    width: 80%;
    margin: 20px auto 25px;
    text-align: center;
    line-height: 1em;
}

.read-title.pad{
    padding: 0 20px; 
}

.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;
    display: none;
}

.head-image-con img{
    width: 100%;
    object-fit: cover;
    height: inherit;
    object-position: top;
}

.sqAdMini {
    width: 100%;
    min-height: 250px;
    background-color: #c6c6c6;
}

.sqAdMini img{
    width: 100%;
    margin-top: 15px;
}

.post-text-con{
    font-size: 15px;
    padding: 10px 10px 15px;
}

.Burial-info-con {
    height: max-content;
    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;
    flex-wrap: wrap;
}

.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: 100%;
}

.locationMap iframe{
    width: 100%;
    height: 100%;
}

.read-content-con .gallery-con{
    height: max-content;
    background-color: var(--seCcolors--funeSecColor);
    display: flex;

    flex-wrap: wrap;
    position: relative;
}

.read-content-con .gallery-con .imgbox {
    width: 45%;
    margin: 10px;
    height: 180px;
    border: 1px solid white;
}

.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;
    display: none;
}

.adbox{
    width: 300px;
    height: 250px;
    background-color: white;
    margin-bottom: 20px;
}

.adbox.rec{
    height: 900px;
}

.pagination {
    width: auto;
    float: right;
    margin-top: 10px;
    margin-bottom: 5px;
    vertical-align: bottom;
    text-align: right;
    padding: 0 10px;
}

.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 8px;
    margin-left: 3px;
    color: #fff;
}

.pagination a {
    border: 1px solid #444;
    display: inline-block;
    padding: 3px 5px;
    margin-left: 3px;
    color: #444;
    position: relative;
    font-weight: normal;
    font-size: inherit;
    right: unset;
    left: unset;
    min-width: 21px;
    text-align: center;
}

.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: 0 6px;
    border-radius: 0;
    border-color: #b07a5b;
}

.wedding-card .pagination .current {
    background-color: #b07a5b;
}

.post-text-con br { display:none; }

.text > p {
    padding: 0;
    max-height: 58px;
    overflow: hidden;
    margin: 0;
}

.section-title {
    padding: 0 20px;
}

.mem-no-results {
    padding: 0 20px;
}

@media screen  and (max-width: 480px) {

    .Topbanner-con__Textbox--t2 {
        font-size: 18px;
    }

    .FeaturedPost-Con-txtCon {

    }

    .FeaturedPost-Con-txtCon p {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .FeatureTtileCon {
        margin-bottom: 5px;
    }


    .FeaturedPost-Con-ImgCon {
        right: 9em;
        display: flex;
        margin: auto;
    }

    .more-posts-con {
        max-height: 388px;
        padding: 14px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        overflow: auto;
    }

    .textbox h3 {
        width: 150px;
    }

    .textbox .Category-title {
        text-align: left;
    }

    .titles-col {
        margin-bottom: 0px;
    }

    .textbtn-con p {
        margin: 1px auto 2em;
        width: 120px;
        font-size: 12px;
    }

    .catGrp{
        text-align: center;
    }

    .IndexPageBtn-Btn1 {
        border-radius: 20px;
    }

}

.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: 100px;
    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: 14px;
}

.date {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: var(--primary-color);
}

.rsvp {
    margin-top: 0;
    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);
}

.obituary-big-display, .bigGal-con {
    position: fixed;
    height: 100%;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 100;
    display: none;
}

.topBannerWithFrame {
    background: url(https://cdn.ghanaweb.com/design/memories/banbg.png);
    height: 460px;
    background-size: cover;
    background-position: 16% 83%;
    display: flex;
    justify-content: center;
}

.Rightside-Ban {
    display: none;
}

.pFrame {
    margin-left: -14px !important;
    margin-top: 15px !important;
    width: 395px;
}

.Add-photo-con img {
    width: 226px;
    height: 308px;
    overflow: hidden;
    object-fit: cover;
    object-position: 65% 50%;
}

.frame-box {
    position: relative;
}

.Add-photo-con {
    position: absolute;
    top: 69px;
    left: 81px;
}

.Age-circle {
    width: 100px;
    height: 100px;
    background-color: #2c2b28;
    border-radius: 50%;
    position: absolute;
    right: 0;
    bottom: 80px;
    color: white;
    display: grid;
    place-content: center;
    text-align: 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;
}

.bio-navs-con {
    margin-top: 30px;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    padding: 0 0 3px;
    font-size: 11px;
}

.obituary-funeDate-section {
    display: block;
    padding: 30px 20px 0px;
    position: relative;
}

.leftside-obi {
    position: relative;
    width: 100%;
}

.imgCon {
    width: max-content;
    height: max-content;
    padding: 10px;
    border: 1px solid rgb(157, 157, 157);
    z-index: 5;
    position: relative;
    margin: auto;
    display: flex;
}

.imgCon img {
    width: 243px;
    object-fit: cover;
    height: 285px;
}

.imgCon.two {
    width: 314px;
    height: 266px;
    transform: rotate(0deg);
    position: absolute;
    bottom: 20px;
    left: 50%;
    translate: -50%;
    z-index: 0;
}

.leftside-obi .blank-div {
    display: none;
}

.Rightside-obi {
/*    width: 100%;*/
    margin: 20px;
}

.Rightside-obi .dateLocation-title {
    margin: 0 0 5px;
    font-size: 16px;
}

.Rightside-obi .date {
    color: black;
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 5px;
}

.Rightside-obi p {
    font-size: 16px;
}

.blank-div {
    width: 100%;
    height: 320px;
    position: relative;
    bottom: 0;
    background-color: #e1dfdb;
}

.bio-text-con .dove {
    right: 40px;
    width: 53px;
    position: absolute;
    top: -43px;
}

.biogrphy-short-con {
    padding: 70px 0;
}

.bio-text-con {
    position: relative;
    border: 1px solid black;
    width: 100%;
    height: max-content;
    margin: auto;
    padding: 30px 30px 20px;
    text-align: center;
}

.bio-text-con .blank-div {
        display: none;
    }

.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: 109px;
    overflow: hidden;
    line-height: 22px;
}

.bio-text-con span {
    font-size: 17px;
    font-weight: 700;
}

.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: 100%;
    margin: auto;
    top: 40px;
    padding: 50px;
}

.close-btn {
    color: white;
    position: absolute;
    top: 9px;
    right: 23px;
    font-size: 30px;
    background-color: black;
    padding: 5px 15px;
}

.bigPhoto {
    width: 100%;
    max-height: 800px;
    margin: auto;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.Rightside-obi p {
    font-size: 16px;
}

.BiotitleBg {
    background-color: #d2cdca;
    height: 120px;
    width: 90%;
    clip-path: polygon(0 0, 100% 0, 100% 55%, 71% 100%, 0 68%);
    margin-left: 10%;
}

.Biotext-description {
    padding-right: 0px;
    border-right: 0px solid #d2cdca;
    margin: 20px 0 30px;
    font-size: 15px;
}

.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;
}

.BioSection {
    display: block;
    padding: 0 15px;
}

.descript {
    font-size: 13px;
}

.leftSide-bio {
    position: relative;
}

.leftSide-bio img {
    position: absolute;
    top: 20px;
    left: 3%;
    width: 75%;
}

.gallery-con {
    background-color: var(--seCcolors--funeSecColor);
    display: flex;
    gap: 10px;
    padding: 10px;
    flex-wrap: wrap;
}

.gallery-con .imgbox {
    height: 180px;
    flex: 45%;
    max-width: 49%;
}

.gallery-con .imgbox img {
    width: 100%;
    height: inherit;
    object-fit: cover;
    cursor: pointer;
}

.testi-title-text {
    width: 200px;
    margin: 20px auto !important;
    display: block;
}

.roseflowFx {
    position: absolute;
    right: -50px;
    top: 10px;
    z-index: 1;
    width: auto;
}

.testimonial-con {
    position: relative;
    margin: 0 0 30px;
}

.testimonies-grp {
    height: max-content;
    display: flex;
    flex-wrap: wrap;
}

.testimon-here {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.text-area-con {
    width: 260px;
    height: 80%;
    top: 10%;
    text-align: center;
    padding: 10px;
    position: absolute;
    left: 50%;
    translate: -50%;
}

.text-area-con p {
    font-size: 14px;
    padding: 0 15px;
    height: 255px;
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 0;
}

.testimon-here img {
    width: 300px;
    max-width: 100%;
}

.text-area-con > h4 {
    margin-bottom: 10px;
}

.testi-person-name {
    position: absolute;
    left: 50%;
    translate: -50%;
    bottom: 0;
}

.NavBar {
    margin: 20px 0;
    position: relative;
}

.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;
    max-width: max-content !important;
    background: #FFF;
    left: 50%;
    translate: -50%;
}

.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 .current {
    border-bottom: 2px solid #987050;
}

.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;
}

.clear {
    clear: both;
}

.top-section-party {
    display: flex;
    flex-wrap: wrap-reverse;
    min-height: 410px;
    margin-top: 20px;
    background: url(https://cdn.ghanaweb.com/design/memories/bgfxcolor.png);
    background-size: cover;
}

.Info-section {
    padding-left: 0;
    overflow: visible;
}

.image-Gal, .Info-section {
    width: 100%;
    height: inherit;
    position: relative;
}

.Info-section .invitation-card {
    width: 90%;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 27px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #dbdbdb;
    position: relative;
    z-index: 1;
}

.image-Gal .bgImg {
    width: 83%;
    position: absolute;
    top: -91px;
    rotate: 12deg;
    right: 66px;
    z-index: 0;
}

.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.2rem;
    font-weight: bold;
    margin: 0;
    color: black;
}

.Info-section .location-details {
    text-align: left;
    margin: 0;
    background-color: white;
    padding: 10px 0;
}

.Info-section .invitation-card.rsvp {
    padding: 20px;
    border-radius: 17px;
    margin: 20px auto;
}

.fxline {
    position: absolute;
    top: 0;
    z-index: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #501869;
}

.Side-Attraction-con {
    position: relative;
    padding: 30px;
    height: max-content;
    border-bottom: 3px solid #1fc0ce;
}

.Side-Attraction-Inn {
    display: flex;
    z-index: 1;
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
}

.side-photo-con {
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.side-text-con {
    width: 100%;
    background-color: white;
    margin-left: 0;
    margin-top: 15px;
    min-height: 200px;
    padding: 20px;
    border: 1px solid #1fc0ce;
    border-radius: 20px;
}

.side-text-con p {
    font-size: 14px;
}

.boxfx.two {
    position: absolute;
    bottom: 10px;
    right: 12px;
    width: auto;
}

.image-Gal {
    height: max-content;
    overflow: hidden;
}

.image-Gal, .Info-section {
    width: 100%;
    position: relative;
}

.image-Gal-inn {
    transform: rotate(344deg);
    position: relative;
    right: 10px;
    top: -10px;
    z-index: 1;
}

.photofx-grp {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: end;
}

.photofx-con {
    width: 140px;
    height: 140px;
}

.photofx-con img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right;
}

.small-photos-grp {
    display: flex;
    gap: 10px;
    flex-direction: column;
    height: 160px;
    flex-wrap: wrap-reverse;
}

.photofx-con.small {
    width: 75px;
    height: 75px;
}

.photofx-con.big {
    width: 160px;
    height: 160px;
}

.Gal-photos-con {
    padding: 0 20px;
    display: block;
    background-color: #ffffff;
}

.photoBox2 {
    overflow: hidden;
    position: relative;
    flex-shrink: 1;
    border: 1px solid #f6f6f6;
    float: left;
}

.photoBox2.big1 {
    width: 100%;
    height: 300px;
}

.photoBox2 img {
    height: inherit;
    object-fit: cover;
}

.photoBox2.big2, .photoBox2.big3, .photoBox2.small {
    width: 50%;
    height: 150px;
}

.photo-gal {
    padding: 0 20px;
}

@media (max-width: 768px) {
    .wedding-card {
        padding: 1rem;
    }

    .framebibleverse-container {
        display: block;
        justify-content: center;
        gap: 60px;
        padding: 0px 0 35px;
    }

    .invitation-card {
        width: 100%;
    }

    .frame-decoration {
        left: -4px;
    }

    .frame-decoration img {
        width: 279px;
    }

    h1 {
        font-size: 1.3rem;
    }

    .photo-frame {
        width: 250px;
        height: 250px;
        margin: auto;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    #timer {
        gap: 1rem;
    }

    .time-block span {
        font-size: 1.5rem;
    }
}

@media (max-width: 300px) {
    .testimon-here img {
        display: none;
    }

    .testimon-here {
        min-height: 334px;
        border: 3px solid;
        margin: 0 5px 10px;
    }

    .text-area-con {
        top: 0;
    }

    .testi-person-name {
        bottom: auto;
        margin: 0;
        margin-top: 10px;
    }
}

.wTwi {
    background: #520909;
}

.wTwi .twi_news {
    background-color: #6c0101;
}