/*
Theme Name: Gambit Child theme of gambit
Theme URI: 
Description: Child theme of gambit theme for the Gambit theme
Author: <a href="https://themezee.com">ThemeZee</a>
Author URI: 
Template: gambit
Version: 2.1.0
*/

/* Generated by Orbisius Child Theme Creator (https://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Wed, 20 Nov 2024 17:05:40 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/
.single-post .main-sidebar {
	display: none;
}
.tab-content.active p {
	text-align: justify;
}
.header-main.container.clearfix {
	padding: 0px 30px !important;
}
#logo {
	display: none;
}
.subcategory-icon img {
	width: 50px;
}
.chm-header {
	margin-top: -20px !important;
}
.chm-mid {
	margin-top: -30px !important;
	margin-bottom: -20px !important;
}
.single-post p {
	line-height: 1.5em !important;
}
.single-post .small-sidebar {
	padding: 0 !important;
	width: 22% !important;
}
.category-post-item {
	border: 1px solid gray;
	padding: 30px;
	margin-top:10px;
}
.category-post-item h2 a {
	font-size: 20px !important;
}
.category-post-item h2, .category-post-item p {
	line-height: 1em !important;
	margin:10px 0px !important;
}
.button-container {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Adjust the width as needed */
}

.download-btn.green{
    	background-color: green !important;
}

.download-btn.orange{
    	background-color: orange !important;
}
.button-container .download-btn {
	background-color: #0073aa;
	color: white !important;
	padding: 5px 10px;
	text-align: center;
	font-size: 14px;
	cursor: pointer;
}
.left-buttons, .right-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
    margin-right:10px;
}

.track-link-click {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
}

.track-link-click:hover {
    background-color: #45a049;
}

/* CSS for categories grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.category-item {
    text-align: center;
}

.category-icon img {
    max-width: 100px;
    height: auto;
}

.category-name {
    font-size: 16px;
    margin-top: 10px;
}

/* CSS for posts grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.post-item {
    text-align: center;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.post-title {
    font-size: 18px;
    margin-top: 10px;
    font-weight: bold;
}


.chm-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.custom-menuclass {
    width: 100%;
}
.chm-content h1 {
	font-size: 28px !important;
}

.chm-content h3, .chm-content h2 {
	font-size: 18px !important;
	line-height: 1em !important;
}
.chm-main-content {
	display: flex;
	width: 100%;
	justify-content: space-between;
	margin-top: 50px !important;
}
.header-image-class {
	height: 50px !important;
}
.home .entry-title.page-title {
	display: none;
}
.column {
            float: left;
            padding: 20px;
            text-align: center;
        }
        .column:nth-child(1) {
            width: 15%;
        }
        .column:nth-child(2) {
            width: 70%;
        }
        .column:nth-child(3) {
            width: 15%;
        }


.chm-content h1 {
	font-family: 'Stardos Stencil';
	font-size: 30px !important;
	/* padding: 0px !important; */
	margin: 0px !important;
}
.chm-content {
    padding: 10px;
    font-size: 16px;
}

.button img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .chm-main-content {
        flex-direction: column;
        align-items: center;
    }
#text-5 {
	display: none !important;
}
    .chm-left, .chm-right ,.chm-mid{
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .chm-content h1 {
	font-size: 22px !important;
}


.chm-content h3, .chm-content h2, .chm-content h1 {

	line-height: 1.5em !important;
}
    .chm-submit-button {
        width: 100%;
        text-align: center;
    }
}

#text-5 {
	margin: 0px !important;
	float: left;
	padding-bottom: 10px;
}

.chm-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Optional: For vertical centering within a specific height */
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.main-navigation ul a, .main-navigation ul a:link, .main-navigation ul a:visited {
	padding: 10px 15px !important;
}
.single-post #primary {
	width: 76%;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns with equal width */
    gap: 20px; /* Space between grid items */
    padding: 20px; /* Padding around the grid */
}
#text-5 {

	width: 100% !important;
}

.chm-right.column img {
	height: 60px;
	width: auto;
}
.chm-left.column img {
	height: 100px;
	width: auto;
}
.chm-left.column, .chm-right.column {
	padding: 0px 10px 10px 10px !important;
}

.category-item {
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.category-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.category-icon {
    font-size: 30px;
    color: #3498db;
    margin-bottom: 10px;
}

.category-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.subcategories-grid {
    display: none; /* Initially hidden */
    grid-template-columns: repeat(2, 1fr); /* Subcategories in 2 columns */
    gap: 15px;
    padding-top: 10px;
}

.subcategory-item {
    text-align: center;
}

.subcategory-item a {
    text-decoration: none;
    color: #555;
}

.subcategory-icon {
    font-size: 24px;
    color: #e67e22;
    margin-bottom: 5px;
}

.subcategory-name {
    font-size: 14px;
}
.entry-title.JUHI {
	line-height: 1em !important;
}

.subcategory-item a:hover .subcategory-name {
    color: #000;
}

    .button-grid {
    display: flex;
    gap: 20px; /* Space between the left and right sides */
    margin:auto;
}
.left-side {
	align-content: center;
}

.left-side, .right-side {
    flex: 1; /* Both sides take equal space */
}
     
 /* Grid container */
.grid-container {
	display: grid;
	grid-template-columns: 15% 80%;
	gap: 0px;
	padding: 0px;
}
      .square-box {
	width: 110px;
	height: 79px;
	background-color: #0073aa;
	color: white;
	text-align: center;
	font-size: 13px;
}

       

        /* Responsive design for smaller screens */
        @media (max-width: 768px) {
            .grid-container {
                grid-template-columns: 50% 50%; /* 2 columns for smaller screens */
            }
        }

        @media (max-width: 480px) {
            .grid-container {
                grid-template-columns: 1fr; /* 1 column for very small screens */
            }
            .column:nth-child(1),.column:nth-child(2),.column:nth-child(3) {
                	width: 100% !important;
                }
                .chm-left.column img, .chm-right.column img {
	height: 80px;
	width: auto;
	display: block !important;
	align-content: center;
	margin: 0px auto;
}
        }
        
       .download-btn {
	background-color: #0073aa;
	color: white !important;
	padding: 12px 20px;
	text-align: center;
	text-decoration: none !important;
	display: inline-block;
	font-size: 16px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

        /* Button Hover Effects */
        .download-btn:hover {
            background-color: #45a049; /* Darker green on hover */
        }

        /* Button Focus Styling */
        .download-btn:focus {
            outline: none; /* Remove default focus outline */
            box-shadow: 0 0 5px #4CAF50; /* Add a custom focus shadow */
        }
/* Tab styling */
    .tabs {
        display: flex;
        border-bottom: 2px solid #ddd;
    }

    .tab {
        padding: 10px 20px;
        cursor: pointer;
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-bottom: none;
        margin-right: 5px;
        font-weight: bold;
    }

    .tab.active {
        background-color: #0073aa;
        color: #fff;
    }

    .tab-content {
        display: none;
        padding: 15px;
        border: 1px solid #ddd;
        background-color: #fff;
    }

    .tab-content.active {
        display: block;
    }
   /* Top Bar Styles */
        .top-bar {
            background: #008db9;
            color: #fff;
            font-family: Arial, sans-serif;
            padding: 10px 0;
            text-align: center;
        }
        .top-bar a {
            color: #fff;
            text-decoration: none;
            margin: 0 15px;
        }
        .top-bar a:hover {
            text-decoration: underline;
        }

        /* Header Section */
        .header {
            background: linear-gradient(to right, #4c2d6c, #1c1b4a);
            color: #fff;
            font-family: Arial, sans-serif;
            padding: 40px 20px;
            text-align: center;
        }
        .header h1 {
            font-size: 36px;
            margin: 0;
        }
        .header p {
            font-size: 18px;
            margin: 10px 0;
        }

        /* Icon Section */
        .icon-container {
            margin: 30px 0;
            display: flex;
            justify-content: center;
            gap: 20px;
        }
        .icon {
            text-align: center;
            color: #fff;
        }
        .icon img {
            max-width: 80px;
            margin-bottom: 10px;
        }
        .icon p {
            margin: 0;
            font-size: 14px;
        }

        /* Submit Button */
        .cta-button {
            display: inline-block;
            padding: 12px 20px;
            background: #00b3e6;
            color: #fff;
            font-weight: bold;
            text-transform: uppercase;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 20px;
        }
        .cta-button:hover {
            background: #008db9;
        }