/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/
/* Change Bootstrap color variables */
:root {
  --bs-primary: #D12828;
  --bs-link-color: #D12828;
  --bs-link-hover-color: #000000;
}

/* Apply to Bootstrap buttons */
.btn-primary,
.btn-outline-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-outline-primary:hover {
  background-color: #000000;
  border-color: #000000;
  color: #fff;
}

/* Focus/active state for buttons */
.btn-primary:focus,
.btn-outline-primary:focus,
.btn-primary:active,
.btn-outline-primary:active {
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Make all <a> tags match */
a {
  color: var(--bs-link-color);
  text-decoration: none;
}

/* Light gray background for category badges */
a.badge.bg-primary-subtle.text-primary-emphasis {
  background-color: #f0f0f0 !important; /* Light gray */
  color: #000 !important; /* Black text */
  border: none !important;
}

/* Hover state */
a.badge.bg-primary-subtle.text-primary-emphasis:hover {
  background-color: #D12828 !important; /* Your brand color */
  color: #fff !important; /* White text */
}

a:hover {
  color: var(--bs-link-hover-color);
  text-decoration: underline;
}

/* Pagination link default state */
.page-link {
  color: #000; /* Black text */
  border: 1px solid #000; /* Black border */
}

/* Hover effect */
.page-link:hover {
  background-color: #000; /* Black background on hover */
  color: #fff; /* White text */
  border-color: #000;
}

/* Active (current page) state */
.page-item.active .page-link {
  background-color: #D12828 !important; /* Red background */
  color: #fff !important; /* White text */
  border: 1px solid #D12828 !important; /* Red border */
}

/* Focus state (when clicked) */
.page-link:focus {
  background-color: #D12828 !important; /* Red background on focus */
  color: #fff !important;
  border: 1px solid #D12828 !important;
  box-shadow: none !important; /* Remove blue glow */
}

/* post title shower in lang */
.single-post h1.entry-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    position: static !important;
    clip: auto !important;
    overflow: visible !important;
}


/* Hide author name site-wide - unique selector for Bootscore */
.bscore-post-meta .byline,
.bscore-post-meta .byline a,
.byline,
.author,
.post-author {
    display: none !important;
}

/* Arrow list style (only applies to UL with class arrow-list) */
ul.arrow-list {
  list-style: none !important; /* Remove default bullets */
  padding-left: 0 !important;
}

ul.arrow-list li {
  position: relative;
  padding-left: 25px !important; /* Space for the icon */
}

ul.arrow-list li::before {
  content: "\f105"; /* Font Awesome unicode for fa-angle-right */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important; /* Solid style */
  position: absolute;
  left: 0;
  top: 0;
  color: #D12828 !important; /* Red arrow */
  font-size: 14px; /* Adjust icon size */
}

/* Hide breadcrumb section on Home page and multiple specific pages */
.page-id-2131 .breadcrumbhomegk,
.page-id-2133 .breadcrumbhomegk,
.page-id-57632 .breadcrumbhomegk {
    display: none !important;
}

/* Ensure Elementor image alignment works on frontend */
.elementor-widget-text-editor img.alignleft {
  display: inline-block;
  float: left;
  margin: 0 15px 15px 0;
}

.elementor-widget-text-editor img.alignright {
  display: inline-block;
  float: right;
  margin: 0 0 15px 15px;
}

.elementor-widget-text-editor img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  float: none;
}



/* Hide Bootscore single post Prev/Next navigation */
.single-post nav[aria-label="bs page navigation"] {
    display: none !important;
}


/* PETITION PAGE CSS */
.table-responsive{
font-family: 'Montserrat';
}
#petitions_filed_tbl_wrapper{
    width: 99% !important;
}
#petitions_filed_tbl_wrapper .dataTables_filter input{
width:auto;
}
table#petitions_filed_tbl {
    border: 1px solid #000;
    border-collapse: collapse;
}
table#petitions_filed_tbl i[class*='fa']{
	font-size:24px;
}
table#petitions_filed_tbl th {
    text-align: center;
}
table#petitions_filed_tbl th, table#petitions_filed_tbl td {
    vertical-align: middle;
    color: #000;
    font-size: 0.8em;
	border:1px solid #000;
}

table#petitions_filed_tbl td[data-column='Sr. No.'], table#petitions_filed_tbl td[data-column='Case No.'], table#petitions_filed_tbl td[data-column='Forum'], table#petitions_filed_tbl td[data-column='Order'], table#petitions_filed_tbl td[data-column='Download Notice'] {
    text-align: center;
}
table#tbl_sort{
border-collapse: collapse;
    font-family: Montserrat;
    font-size: 12px;	
}