:root{
    --Genbuttons-color:#fede01;
    --SecColor1-color:#83c400;
    --SecColor2-color:#49bc6d;
    --SecColor3-color:#15bcc7;
}

/* CSS for index page starts here  .......................................................................*/

#leftsection {
    display: none;
}

.Cartoon-page-container{
    width: 1245px;
    height: max-content;
    margin: auto;
    background-color: white;
}

.topAdvertSpace{
    width: 100%;
    height: 250px;
    background-color: black;
}

.Navbar-New{
    width: 100%;
    height: 50px;
    background-color: var(--Genbuttons-color);
}

.topNav-section {
    background-repeat: no-repeat;
    width: 100%;
    background-size: contain;
    background-position: right;
    height: 64px;
    position: relative;
    background-image: url(https://cdn.ghanaweb.com/design/cartoon/welcomeBanner.png);
}

/* Nav css starts here ................ ....................................................................*/
.CartoonNav-Container {
    float: left;
    display: inline;
    margin: 8px 0 8px 25px;
    position: relative;
    cursor: pointer;
}

.CartoonNav-Container:hover .drop-menu-con{
    display: block;

}

.CartoonNav-Container a:hover .bar1{
    background-color:var(--SecColor1-color); 
}

.bar1 {
    width: 42px;
    height: 9px;
    border-radius: 20px;
    background-color: var(--SecColor2-color);
    margin: 4px 0;
}


.drop-menu-con{
    display: none;
    width: 180px;
    height: max-content;
    position: absolute;
    top: 5px;
    left: 40px;
    background-color: white;
    z-index: 20;
    filter: drop-shadow(5px 0px 5px rgb(0, 0, 0, 0.2));
}

.drop-menu-con a{
    display: inline-block;
    width: 120px;
    font-size: 14px;
    padding: 10px 30px;
}

.drop-menu-con a:hover{
    background-color: var(--SecColor1-color);
    text-decoration: none;
    color: white;
}
/* nav css ends here ....................................................................................*/

.Mainfeautre-container {
    position: relative;
    height: 500px;
    background: url(https://cdn.ghanaweb.com/design/cartoon/mainfeatBG.png);
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
    padding: 75px 50px 0 50px;
}

.Mainfeautre-container .Section-tag-btn {
    position: absolute;
    top: 32px;
    left: 43%;
    height: 22px;
    transform: rotate(355deg);
    cursor: default;
}

.MainfeatPost1-container,.MainfeatPost2-container {
    width: 450px;
    height: 375px;
    overflow: hidden;
}

.MainfeatPost1-container:hover,
.Small-post__1:hover, .Small-post__2:hover
{
    text-decoration: none;
    color: var(--SecColor2-color);
}

.MainfeatPost1-ImgCon {
    width: inherit;
    height: 250px;
}

.MainfeatPost1-ImgCon img{
    width: inherit;
    height: inherit;
    object-fit: cover;
    object-position: top;
}

.MainfeatPost1-container .TextCon {
    padding: 15px 20px;
    height: 34%;
    background-color: white;
}

.MainfeatPost2-container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.Small-post__1 {
    width: 220px;
    height: 180px;
    overflow: hidden;
    position: relative;
    margin-bottom: 8px;
}

.Small-post__2{
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.Small-post__1:hover
.small-post-textArea,
.Small-post__2:hover
.small-post-textArea {
    bottom: 0px;
    transition: ease 0.9s;
}

.small-post-textArea{
    position: absolute;
    height: 120px;
    width: 192px;
    padding: 10px 14px;
    background-color: white;
    transform: translateY(0);
    bottom: -180px;
    font-size: 12px;
}

.Small-post__1 img, .Small-post__2 img{
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.Small-post__2 .small-post-textArea{
    width: 422px;
    height: 150px;
}

.NewToon-container {
    width: 900px;
    height: max-content;
    margin: auto;
}

.SecNameViewmorebtn-container {
    width: 900px;
    height: 120px;
    position: relative;
    overflow: hidden;
    margin: auto;
}

.Tag-btn-container {
    width: auto;
    height: inherit;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.SecNameViewmorebtn-container img{
    position: absolute;
    left: 60px;
    bottom: -12px;
}


.Section-tag-btn{
    position: absolute;
    font-size: 18px;
    font-weight: 700;
    bottom: 20px;
}

.viewMore-btn-container {
    float: right;
    margin-top: -62px;
    z-index: 1;
}

.viewMore-btn{
    font-size: 15px;
    font-weight: 700;
}

.viewMore-btn, .Section-tag-btn  {
    padding: 10px 40px;
    border: 3px solid black;
    background-color: var(--Genbuttons-color);
}

.viewmoreBgdivfx {
    width: 172px;
    height: 42px;
    background-color: black;
    border: 3px solid var(--Genbuttons-color);
    z-index: -1;
    margin-top: -18px;
    margin-left: -18px;
}


.Contents-group-cotainer
{
    width: 900px;
    display: flex;
    justify-content: left;
    padding: 0;
    margin: 0 auto 20px;
    gap: 13px;
    flex-flow: wrap;
}

.Contents-Post:hover{
    filter: drop-shadow(5px 6px 5px rgb(0, 0, 0, 0.2));
    background-color: white;
    border-radius: 10px;
}

.Contents-Post:hover h3, .Contents-Post:hover p{
    padding-left: 10px;
    transition: ease 0.4s;
}

a.Contents-Post:hover,a.Section-tag-btn:hover,a.viewMore-btn:hover {
    color: var(--SecColor2-color);
    text-decoration: none;
}

.Contents-Post:hover 
.Post-Img-Con img {
    transform: scale(1.06);
    filter: grayscale(1);
    transition: ease 0.4s;
}

.Contents-Post p {
    width: 150px;
    overflow: hidden;
    font-size: 12px;
}

.Contents-Post p span{
    font-weight: 600;
}

.Contents-Post h3 {
    width: 195px;
    height: 37px;
    overflow: hidden;
    font-size: 14px;
    margin: 4px 0 6px;
}

.Post-Img-Con {
    width: 215px;
    height: 126px;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
}

.Post-Img-Con .playbtn {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 30%;
    left: 36%;
    z-index: 40;
}

.Post-Img-Con img{
    width: inherit;
    height: inherit;
    object-fit: cover;
}


.Animations-container-posts{
    margin-bottom: 50px;
}


.Animations-container-posts-Inner {
    width: 100%;
    height: max-content;
    background-color: var(--Genbuttons-color);
}

.Sponsored-Post-Container {
    width: 100%;
    height: max-content;
    padding: 20px 30px;
}

.Sponsored-Post {
    width: 80%;
    height: 100%;
    border: 1px solid black;
    margin: auto;
    background-color: white;
    display: flex;
}

.Sponsored-Post .ImgCon {
    width: 100%;
    padding: 10px;
}

.Sponsored-Post .ImgCon img{
    width: inherit;
}

.Sponsored-Post .TtitleSponsors {
    width: 450px;
    background-color: black;
    padding-left: 20px;
    position: relative;
}

.Sponsored-Post .textArea{
    color: white;
    margin-top: 90px;
}

.Sponsored-Post .textArea h3{
    clear: left;
    font-size: 22px;
    margin: 0px 0 17px;
}

.Sponsors-logo-con {
    color: white;
    position: absolute;
    bottom: 40px;
}

.Sponsors-logo-con .sp-logo{
    width: 80px;
}

.other-animation-videos-container{
    height: max-content;
    background-color: #faf7ca;
    padding: 30px 0 10px 0;
}

/* index page mobile media query here*/
@media screen and (max-width:540px) {

    .Cartoon-page-container a {
        color: #000 !important;
    }

    .topAdvertSpace,   .Navbar-New {
        display: none;
    }

    .topNav-section {
        height: 32px;
        background-color: #ffffff;
    }

    .Cartoon-page-container {
        width: 100%;
    }

    .CartoonNav-Container {
        margin: 0;
    }

    .drop-menu-con {
        width: 100%;
        position: relative;
        top: 5px;
        left: 0;
    }

    .Mainfeautre-container {
        width: 100%;
        height: max-content;
        padding: 35px 10px 30px 10px;
        display: block;
        background-size: cover;
        margin-top: 10px;
    }

    .MainfeatPost1-container{
        width: max-content;
        height: 375px;
        overflow: hidden;
    }

    .MainfeatPost2-container {
        display: block;
        width: 100%;
    }

    .Mainfeautre-container .Section-tag-btn {
        top: 16px;
        left: 9%;
        height: 44px;
        width: 90px;
    }

    .MainfeatPost1-ImgCon {
        width: 100%;
    }

    .SecNameViewmorebtn-container {
        width: 100%;
        height: 91px;
        position: relative;
        overflow: hidden;
        padding: 0 20px;
    }

    .SecNameViewmorebtn-container img{
        width: 100px;
        left: -4px;
    }

    .Tag-btn-container {
        height: inherit;
        position: relative;
        overflow:visible;
    }

    .viewMore-btn, .Section-tag-btn {
        width: 100px;
        text-align: center;
        font-size: 11px;
        padding: 6px 7px;
        border: 3px solid black;
        background-color: var(--Genbuttons-color);
        color: #000;
    }

    .NewToon-container {
        width: 100%;
        margin-bottom: 10px;
    }

    .Contents-group-cotainer {
        width: 100%;
        display: block;
        padding: 10px 40px;
        margin-bottom: 5px;
    }

    .Contents-Post {
        display: block;
        width: 100%;
        margin: auto;
        padding: 0;
        margin-bottom: 20px;
        padding-bottom: 6px;
    }

    .Post-Img-Con {
        width: 100%;
        height: 180px;
        position: relative;
    }

    .Sponsored-Post-Container{
        padding: 20px 10px;
    }

    .Sponsored-Post {
        width: 100%;
        flex-wrap: wrap-reverse;
    }

    .Sponsored-Post .textArea {
        color: white;
        margin-top: 10px;
    }

    .textArea p, .TextCon p {
        font-size: 15px;
    }

    .Sponsors-logo-con {
        position: inherit;
        bottom: 10px;
        margin-top: 50px;
    }

    .Sponsored-Post .TtitleSponsors {
        width: 100%;
        background-color: black;
        padding-left: 20px;
        position: relative;
    }

    .Sponsored-Post .textArea h3 {
        margin: 0px 0 9px;
    }

    .viewMore-btn-container {
        margin-top: -43px;
    }

    .viewmoreBgdivfx {
        width: 83px;
        height: 28px;
        margin-top: -11px;
        margin-left: -11px;
    }

    .small-post-textArea {
        position: relative;
        height: 120px;
        width: 100%;
        bottom: 0;
    }

    .Cartoon-page-container h3 {
        margin: 0;
        font-size: 15px;
    }

    .MainfeatPost2-container {
        height: auto;
    }

    .MainfeatPost2-container a {
        display: flex;
        width: 100%;
        height: 120px;
        margin-top: 10px;
    }

    .MainfeatPost1-container .TextCon {
        padding: 20px 20px 30px;
        height: auto;
    }

    .Small-post__1 img, .Small-post__2 img {
        width: 40%;
    }

    .MainfeatPost2-container a h3 {
        height: 90px;
        overflow: hidden;
    }

}
/* CSS for index page ends here  .......................................................................*/


/*  innerpage css starts here ............................................................................*/
.innerpage{
    width: 1245px;
    height: max-content;
    display: inline-block;
}

.side_navs{
    margin: 50px 0 30px;
}

.head_link{
    font-size: 14px;
    color: var(--SecColor2-color);
    font-weight: bold;
    margin: 10px 0;
}

.side_navs a{
    font-size: 14px;
    display: block;
    margin: 10px 0;
}

.content_container{
    width: 900px;
    background-color: #f5f8f9;
    float: left;
    margin: 15px 0 0 15px;
}

.author {
    width: 300px;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    padding: 15px;
    position: absolute;
    font-size: 13px;
}

.author h3{
    margin: 0;
    color: var(--SecColor2-color);
}

.publishedby span{
    font-weight: bold;
}

.publsieddate_con {
    padding: 15px;
    display: flex;
    gap: 5px;
    justify-content: right;
    font-size: 13px;
}

.content_container h1 {
    font-size: 25px;
    text-align: center;
    float: none;
    margin: 0 15px;
    width: auto;
}

.title_image {
    width: 600px;
    margin: 25px auto;
}

.title_image img{
    width: inherit;
    height: inherit;
}

.content_container .title_subtext, .comment_container{
    width: 600px;
    margin: auto;
}

.content_container .title_subtext{
    font-size: 14px;
    margin-bottom: 40px;
}

.comment_container .text_box, .comments_text{
    display: block;
    width: 578px;
    min-height: 130px;
    border-radius: 12px;
    margin: 11px 0 20px;
    padding: 10px !important;
    font-size: 14px;
    border: 1px solid grey;
}

.text_submit_btn, .write_comments .submit{
    padding: 10px 52px;
    border: 0;
    background-color: var(--SecColor2-color);
    border-radius: 20px;
    margin-left: 0;
}

.text_submit_btn:hover, .write_comments .submit:hover{
    cursor: pointer;
    background-color: #2b7b45;
    color: white;
}

.comments_name {
    padding: 10px !important;
    border-radius: 12px;
    border: 1px solid grey;
    width: 340px;
}

.reply_to {
    width: 575px;
    background: #dfdfdf;
    min-height: 80px;
}

.smsg {
    margin-bottom: 40px;
}

.spacer {
    height: 40px;
}

.back_to_cartoon {
    float: right;
    font-size: 13px;
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.goto_comment{
    display: flex;
    gap: 5px;
}

.no_comment {
    font-size: 14px;
}

.content_container svg {
    height: 18px;
    vertical-align: bottom;
}

.other_related_cartoons {
    padding:10px 20px;
    margin-top: 60px;
    border-top: 1px solid black;
}

.other_related_cartoons h3{
    margin: 5px 0 20px;
}

.other_related_cartoons .Contents-group-cotainer {
    width: inherit;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    padding: 0;
    margin-bottom: 30px;
    gap: 20px;
}

.other_related_cartoons .Post-Img-Con {
    width: 156px;
    height: 85px;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
}

.other_related_cartoons .Contents-Post h3 {
    width: 133px;
    height: 34px;
    overflow: hidden;
    font-size: 13px;
    margin: 4px 0 6px;
}

.right{
    width: 315px;
    float: left;
    margin: 0 0 0 15px;
}

.pagination_bar .pagination a, .pagination_bar .pagination .current {
    background-color: var(--Genbuttons-color);
    font-size: 14px;
    padding: 7px;
    border: 2px solid;
}

.pagination_bar .pagination .current {
    background-color: black;
    color: #FFF;
    border: 2px solid #000;
}

.pagination_bar .pagination .disabled {
    padding: 7px;
    border: 2px solid;
    font-size: 14px;
}

.pagination_bar {
    width: 100%;
}

.pagination_bar a, .pagination_bar .current{
    float: none;
}

blockquote {
  background: #fff8c5;
  border-left: 10px solid #ccc;
  margin: 1em 0;
  padding: 0.5em 10px;
  font-size: 17px;
  font-style: italic;
}
blockquote:before {
  color: #ccc;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
.Article-related {
    width: 600px;
    margin: auto;
    margin-bottom: 3em;
}
.related-links-con a {
  text-decoration: none;
}
.Article-related h4 {
    font-size: 14px;
}
span.more-txt {
    display: inline-block;
    padding: 17px 10px;
    font-size: 18px;
}
#footer, .world ul#footerinner li a {
    background-color: var(--Genbuttons-color);
}

@media screen and (max-width:540px) {
    .innerpage{
        width: 100%;
        margin-top: 10px;
    }

    .left{
        display: none;
    }

    .content_container {
        width: 100%;
        float: none;

    }

    .Contents-Post h3 {
        width: 96%;
        height: auto;
        margin: 12px 0 8px;
        font-size: 14px;
    }

    .title_image {
        width: 100%;
        height: 250px;
    }
    .content_container .title_subtext, .comment_container {
        width: 100%;
        margin: auto;
    }

    .content_container {
        margin: 0;
        padding: 15px;
    }

    .content_container h1 {
        font-size: 18px;
        width: 100%;
        margin: 0;
    }

    blockquote {
        font-size: 15px;
        margin: 0.5em 0;
    }

    .Article-related {
        width: 100%;
        margin-bottom: 1.5em;
    }

    .Article-related h4 {
        font-weight: bold;
        margin-top: 2em;
    }

    .author {
        width: auto;
        margin: 0;
    }

    .comment_container h2{
        font-size: 16px;
        margin: 20px 0 7px;
    }

    .other_related_cartoons {
        padding: 0;
        margin-top: 60px;
        border-top: 1px solid black;
    }

    .other_related_cartoons .Contents-Post {
        width: 48%;
        padding: 0;
        margin: 0;
        margin-bottom: 20px;
    }

    .other_related_cartoons .Post-Img-Con {
        width: 100%;
        height: 85px;
    }

    .other_related_cartoons .Contents-Post h3 {
        height: 48px;
        margin: 4px 0 8px;
        width: 90%;
    }

    .right{
        display: none;
    }     

    .publishedby span {
        font-weight: normal;
    }

    h4{
        margin: 0;
        font-weight: normal;
        font-size: 13px;
    }

    .publsieddate_con, .author{
        padding: 0 0 15px;
    }

    .comments_name, .comments_text {
        width: 100%;
        min-width: 100% !important;
    }

    input::placeholder, textarea::placeholder {
        color: #999;
    }

    .bar1 {
        width: 28px;
        height: 5px;
    }

    .other_related_cartoons .Contents-group-cotainer {
        gap: 4%;
        margin-bottom: 0;
    }

    a.back_to_cartoon {
        font-weight: normal;
        margin-top: 3px;
    }

    .content_container .title_subtext{
        font-size: 15px;
    }

    span.more-txt {
        display: inline-block;
        padding: 6px;
        font-size: 16px;
    }

}

/*  innerpage css ends here ............................................................................*/

