/*
Theme Name: WP Bootstrap Starter Child
Theme URI: https://wp-themes.com/wp-bootstrap-starter
Author: Alfred
Author URI: http://alfrekumar.com
Description: My WordPress WP Bootstrap Starter child theme.
Template: wp-bootstrap-starter
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0.0
Text Domain: wp-bootstrap-starter-child
*/

/*Copy Blue: #0073AA */

@media (min-width: 576px) {
    .col-sm-3 {
        -ms-flex: 0 0 25%;
        padding-top: 9px !important;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 767px) {
  .site-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
    .story-image-column {
    padding-top: 1rem;
    padding-bottom: 1.2rem;
    
  }
}    

    .story-image-column {
    padding-top: 1rem;
    padding-bottom: 1.2rem;
    }

#page-sub-header{
    display: none;
}

header#masthead {
    margin-bottom: 0;
    /* background-color: #ff4a8f; */
    background-color: #e33d80;
    /* background-color:#eb77a7; */
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
    padding: .74rem 1rem;
}


@media (max-width: 767px) {
  #masthead .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #masthead .navbar-brand {
    display: block;
    margin-right: 0;
  }
  
  .navbar-brand {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
    justify-content: space-evenly;
    }
    
}
}


#accordeconck2 li.accordeonck {
    list-style: none;
    overflow
: hidden;
    margin: 0;
}


#accordeconck2 li.level1 > span a {
    font-size: 1rem !important;
    font-weight: 500 !important;
}


#accordeconck2 li.level2 > span a {
    font-size: 1rem !important;
    font-weight: 500 !important;
}

#accordeconck5 a,
#accordeconck3 a,
#accordeconck4 a {
  font-size: 1rem !important;
  font-weight: 500 !important;
}


.accordeconck5 {
  color: #1297be !important;
}


.h1, h1 {
    font-size: 1.5rem!important;
}

.h2, h2 {
    font-size: 1.4rem !important;
}

/* .h3 {
    margin-top: .1rem !important;
} */

.h3, h3 {
    font-size: 1.03rem !important;
    margin-bottom: .3rem !important;
    margin-top: .3rem !important;
}




.widget widget_accordeon-menu-ck a {
    color: red !important;
}

/* Added for box*/

/* body:not(.theme-preset-active) #masthead .navbar-nav > li > a { */
    body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
        color: #a8d1e7;
    /*     padding: 0.5rem;
        font-weight: 500;
        font-size: 0.875rem; */
    }
    
.navbar-nav {
    font-weight: 500 !important;
}
    
    
    .homeintrobox {
        background-color: #ededed !important;
    }
    
    .homeintrobox a {
        font-weight:500;
    }
    
    
    #homeCatBox {
        font-size:1rem !important;
    }
    
/*    .story-image-column {
      padding-right: 24px;
    }
    
    #homeCatBox .col-sm-12 {
      padding: 0;
    }*/

    .post.hentry {
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    
    #homeCatBox .post.hentry {
      margin-top: 0.5rem;
      margin-bottom: 0;
    }
    
    
    #moreStoriesCatBox .post.hentry {
        font-size:1rem;
        margin-bottom:2rem;
    }
    
    #moreStoriesCatBox a {
        font-weight: 500;
    }


.rightpbox:not(.expanded) .extra-paragraph {
  display: none;
}

    /* Changes story list spacing */
/*     .post.hentry {
        margin-top: 3.0rem !important; 
    } */

    .entry-header {
        margin-top: 3rem;
    }
    
    .entry-header .entry-title {
        color: #0073AA;
    }

    .entry-content{
        margin-top: 1.2rem;
    }

    #homeCatBox img:nth-child(2){
        width: 60px;
        height:60px;
    }


    
    #homesmallthumbs {
        width:100%;
        height:auto;
        margin-bottom:5px;
     /*    float:left;
     margin: 0 20px 10px 0;  */
        border-radius: 6px !important;

    }

.profile-layout {
    display: flex;
    justify-content: center;
}

.leftpbox {
    flex: 0 0 20%;
    display: block;
    flex-direction: column;
    align-items: stretch; /* Change from center to stretch to test alignment impact */
    text-align: center;
    gap: 0;
    padding-bottom:6px;
}


.rightpbox {
  flex: 0 0 80%;
  padding-left:1rem;
}


@media (max-width: 767px) {
  .profile-layout {
    flex-direction: column;
  }

  .leftpbox,
  .rightpbox {
    flex: 0 0 100%;
    width: 100%;
  }
}

.view-full-image {
  font-weight: 500;
  color:#3697BE;
}

.read-more,
.read-more:focus,
.read-more:active {
  border: none;
  outline: none;
  box-shadow: none;
  font-weight: 500;
  cursor: pointer;
  color:#0073aa;
}

@media (max-width: 767.98px) {
    .external-arrow {
        color: #0073AA;
        font-family: Arial, sans-serif;
        font-weight: bold;
    }
}

.pagenumbers {
    text-align: center;
    margin-bottom:1rem;
}


    #homefeaturedthumb{
      width: 100%;
      height: auto;
        /* float:left;
        margin: 0 7px 0 0; */
    }

    #homefeaturedthumb2{
        width: 100%;
        height: auto;
        border: 1px solid #a1a1a1;
        border-radius: 10px !important;

        /* float:left;
        margin: 0 7px 0 0; */
    }
    
#story-title-box {
  display: flex;
  align-items: center;
}

.story-view {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-weight: 500;
}

#catpgboxposition a {
  color: #fff; !important;
}

    
    .stories-block {
        background-color:#ededed;
        padding-top:1rem;
        padding-left: 16px !important;
    }
    
    
    .stories-block .container{
        padding-left:0px;
    }
    

    .attachment-post-thumbnail{
        border: 1px solid #a1a1a1;
        border-radius: 10px !important;
        background-color: #a1a1a1;
    }

    /* Profile Image Radius */

  /*   #big-profile-pic{
        border: 1px solid #a1a1a1;
        border-radius: 20px;
    } */

   .big-profile-pic {
        border: 1px solid #a1a1a1;
        border-radius: 20px;
    }

    /* GTranslate styles */

     #translate {
        width: 15%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gtranslate_wrapper::before {
        content: "Select a language";
        color:#fff;
        font-size: 0.9rem;
        font-weight: 500;
        border-width: 1px;
    }


    .gt_selector {
        font-size: 15px;
        border-style: solid;
        border-color: #dc3545 !important;
        border-image: initial;
        border-radius: 0px;
    }
    
    /* Mobile Only */
    @media (max-width: 767.98px) {
        font-size: 17px !important;
    }
    

/*     #translate {
        width: 15%;
        display: flex;
        align-items: center;
        justify-content: center;
    } */
    

/* WP admin editor */
.wp-editor-area {
    font-family: Consolas,Monaco,monospace;
    font-size: 14px !important;
}

/* Accordeon menu */
#accordeconck2 li.parent > span span.toggler_icon {
    height: 50% !important;
    width: 15px !important;
    margin-top: 10px !important;
}

.page-links-top {
    text-align: left !important;
    padding-bottom: 20px;
    font-weight:600;
}

.page-links {
    text-align: center !important;
    font-weight:600;
}

.page-numbers{
    font-weight: bold;
    margin-right: 0.5rem;
}

.new-label {
    padding:1px 3px 2px 4px;
    background-color:#EA76A6;
    color:#fff;
    font-size:0.8rem;
}

/* .ccfic {
    padding-left:69px;
} */

/*CSS for front and back arrows for author page*/
/* p {
    font-size: 16px;
} */

a {
    text-decoration: none;
    color: #0073AA !important;/* Default blue */
}

a:hover {
    text-decoration: underline;
}

.site-title {
    color:#fff;
}

/* Default (Desktop & Tablet) */
.navbar-brand a {
    color: #fff !important;
    font-size: 1.9rem;
    font-weight: 400;
    text-decoration: none;
}

/* Mobile Only */
@media (max-width: 767.98px) {
    .navbar-brand a {
        font-size: 3rem;
    }
}

.navbar-brand {
    display: inline-block;
    padding-top: .0rem !important;
    padding-bottom: .0rem !important;
    margin-left:-16px;
    margin-right:3rem;
}


.navbar-toggler {
    margin-top: 20px;
}

/*Fade out*/
/*.attachment-post-thumbnail {
    opacity: 0; 
    transition: opacity 10s ease-in-out; 
}*/

/* New class for the initial 20% opacity */
.attachment-post-thumbnail.is-initial-fade {
    opacity: 0.2;
}

/* This class will trigger the final fade to 100% */
.attachment-post-thumbnail.is-fully-loaded {
    opacity: 1;
}

/* Hide featured image button */
#hideFeaturedImageButton {
    display: block;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #ededed;
    color: #1297be;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

#hideFeaturedImageButton:hover {
    background-color: #e6e5e5;
}

/* Target only the hide/show button when it's focused */
#hideFeaturedImageButton:focus {
    border: none !important; /* Removes any border on focus */
    outline: none !important; /* Removes the outline on focus */
}

/* Target only the hide/show button when it's focused via keyboard (more accessible) */
#hideFeaturedImageButton:focus-visible {
    border: none !important; /* Removes any border on focus */
    outline: none !important; /* Removes the outline on focus-visible */
}

/* !Video for Maya */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 72.7%; /* Adjust this value based on your video's aspect ratio */
}

.video-container video {
    width: 85%; /* Default width for desktop and tablet */
    height: 85%;
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
}

/* Media query for mobile devices (e.g., screens up to 768px wide) */
@media (max-width: 768px) {
    .video-container video {
        width: 100%; /* Full width on mobile */
        height: 100%;
    }
}
/* //Video for Maya */

/* Center align text below small featured image on first chapters*/
.ccfic a:nth-of-type(2) {
  margin-left: 68px;
}

.site-footer {
    background-color: #EDEDED;
    margin-top: 60px;
    font-weight:500;
    text-align: center;
    color:#0073AA;
}


.site-title {
    font-family: 'merienda', cursive;
}




.pagination-align {
 display:flex;
 justify-content: center;
 margin-bottom:32px;
}

.see-all-stories{
    text-align: right;
    font-weight: 500;
    padding-bottom: 0.5rem;
}

/*Picture block*/
.bigpic {
    text-align: center;
}

.bigpic img {
    display: block;
    margin: 0 auto;
}

.bigpic .entry-meta {
    display: block !important;
    text-align: center;
}

.picturehd {
    margin-top:3rem !important;
    text-align:center;
}

/*End picture block*/



.stories-sub-nav {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    height: 2rem;
    background-color: #EDEDED;
    align-content: center;
    align-items: center;
    font-weight: 500;
    border: 1px solid;
    border-color: #e2e2e2;
}

.stories-sub-nav a {
    text-decoration: none;    
}

.site-main .post-thumbnail {
    display:none;
}


/* Reduce bottom spacing between title items on tag pages */
body.tag .post.hentry {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem; /* Reduced from 1.5rem */
    font-weight:500;
}

/* Set the title font weight to 500 */
body.tag .post.hentry .entry-title {
    font-weight: 500;
    margin-bottom: 0; /* Removes default h2 bottom margin if needed */
}

body.tag .page-title {
    display: block;
    margin-top: 3rem;
    margin-bottom: 2rem;
    color: #0073AA;
    
}
 
body.tag .entry-header {
    margin-top: 1rem;
}

.post-tags strong,
.post-tags a {
    color: #0073aa !important;
    font-size: 0.9rem;
    font-weight: 600;
}


