/*
Theme Name: Coloring Page
*/

ul.sub-menu {
	 display: none;
}
ul.sub-menu.active{
    display:flex !important;
}
@media only screen and (min-width: 768px) {
    ul.sub-menu {
		background: white;
    }
	
	ul.sub-menu li a {
		color: #212529 !important;
    }
	
	ul.sub-menu li:hover {
        background:var(--bs-cyan);
    }
}

.post-thumbnail img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.blog-item img, .sidebar-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.back-top {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 25px;
}

.image-container {
    column-count: 3;
    column-gap: 0;
}

.image-container img, .image-container .wp-caption {
    width: 90% !important;
}

.image-container .wp-caption img {
    width: 100% !important;
}

@media (max-width: 475px) {
    .image-container {
        column-count: 2;
    }
}
.loading {
    background-color: rgba(0,0,0,.5);
}

.loading-wheel {
    width: 20px;
    height: 20px;
    margin-top: -40px;
    margin-left: -40px;
    left: 50%;
    border-width: 30px;
    -webkit-animation: spin 1s linear infinite;
}

.style-2 .loading-wheel {
    border-style: double;
    border-color: #ccc transparent;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
    }
}

.saboxplugin-wrap .saboxplugin-socials {
    background: transparent !important;
    border-top: none !important;
}

.saboxplugin-socials .saboxplugin-icon-grey {
    text-decoration: inherit;
    box-shadow: none;
    position: relative;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    margin: 10px 5px;
    color: #444;
    fill: #444;
}

.saboxplugin-socials a svg {
    width: 18px;
    height: 18px;
}

.category-item img {
    height: 189px;
	max-height: 189px;
}

.category-filter .active {
    color: white;
    background-color: #0dcaf0;
}

.aligncenter {margin:auto; max-width:100% !important;}

.navigation .nav-links {
    display: flex;
    justify-content: center;
}
.navigation .nav-links ul {
    list-style: none;
    padding-left: 0;
    display: flex;
}
.navigation .nav-links ul li {
    margin: 0 0.25rem;
}
.navigation .nav-links ul li a.current, .navigation .nav-links ul li a:hover, .navigation .nav-links ul li span.current, .navigation .nav-links ul li span:hover {
    opacity: 1;
}
.navigation .nav-links ul li a, .navigation .nav-links ul li span {
    padding: 0.25rem 0.75rem;
    opacity: .5;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #187b93;
    text-decoration: none;
    color: #fff !important;
    border-radius: 10px;
    border: none;
}

.social-share {
    display: none;
    left: 1rem;
}

*:hover > .social-share {
    display: block;
    z-index: 9;
}
.entry-content.img-mw-80 img {
	max-width: 80%;
	margin: auto !important;
}

.wp-caption-text {
	text-align: center;
    font-style: italic;
}


.country-flag a {
	margin: 0.25rem;
    display: block;
}

.country-flag img {width: 50px;}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
    display: block;
    content: "";
}

.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video Overlay Styles */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-radius: 8px;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: #ff0000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    color: white;
    font-size: 40px;
    margin-left: 5px;
}

/* Make the iframe container relative */
.embed-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}