/*
Theme Name: Center for Individual Rights
Version: 4.0.0;
Description: A Timber base theme
Author: Red Edge
Tags: Timber, Twig, Bootstrap 4
*/

/* Main Logo */

body{
  background-color:#fff;
}
.site-navbar .navbar-logo {
	background: #fff;
	padding: 0;
}

.navbar-nav .menu-item-84 .menu-link,
.footer-nav .menu-item-84 .menu-link {
    background: #f7221b !important;
    color: #fff !important;
    padding: 6px 30px 5px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: initial !important;
    transition: background-color 0.5s ease, color 0.5s ease; /* Add smooth transition */
}

.menu-item-84 .menu-link:hover,
.menu-item-84 .menu-link:focus {
    background: #fff !important;
    color: #f7221b !important;
}

.menu-item-84 .menu-link:hover:after, .menu-item-84 .menu-link:focus:after { opacity: 0 !important; }

.site-footer .logo-thumbnail { width: 200px; }

/* Style for the navbar background */
.site-navbar {
	background-color: white; /* White background */
  }
  
  /* Logo styles */
  .navbar-logo img {
	border: none; /* Remove border */
	outline: none; /* Remove outline */
	max-width: 200px !important;
  }
  
  /* Make all menu links black */
  .navbar-nav .menu-link {
	color: black !important;
  }
  

  
  /* Optional: Change the icon color inside the search button */
  .site-navbar .btn-search{
	color: #243b94; /* Black icon color */
  }
/* Override the after pseudo-element for the navbar logo */
.site-navbar .navbar-logo:after {
    content: none; /* Remove the pseudo-element */
}

.entry-content a,
strong,
.card-title,
.position,
.entry-date,
.case_date
{
	color:#243b94 !important;
}
.btn-primary{
	color:#fff !important;
}

.page-header{
        padding-top: 0 !important;
}

.page-header-secondary, 
.section.donate-form, 
.donate-form,
.bio-post .entry-header:before,
.btn-secondary-dk,
.category-hero .hero-main,
.category-link,
.site-post .entry-header:before,
.indicator,
.pub-name,
.teaser-toggle
{
	background: #243b94 !important;
}

.wp-block-button__link{
  background: none !important;
  color: #000!important;
}

.wp-block-button__link:hover{
  color: #F7221B!important;
}

.header-main .case-status strong, .header-main .posted-on time{
  color:#fff !important;
}

.case-status{
  line-height: 1 !important;
}

.news-card{
  display: flex;
}

.docket-report-card .card-media{
  flex: 0 0 318px !important;
  min-width: 318px !important;
}

.card-tag{
  background-color:transparent !important;
  color:#39414f !important;
  padding: 0 !important;
}

section.donate-form .gform_wrapper ul.gform_fields .ginput_container_radio .gfield_radio li label{
	background-color: #3e53a5;
	border: 1px solid #3e53a5;
}
.site-social .social-link {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff; /* Change background color to white */
    font-size: 22px;
    color: #243b94; /* Change icon color to red for the active state */
    -webkit-transition: color .3s ease-in-out, background-color .3s ease-in-out;
    -o-transition: color .3s ease-in-out, background-color .3s ease-in-out;
    transition: color .3s ease-in-out, background-color .3s ease-in-out;
}

/* Change hover and focus states */
.site-social .social-link:focus,
.site-social .social-link:hover {
    background-color: #243b94; 
    color: #fff; 
}

.site-issue-areas .section-title:after,
.home-hero .page-title .title-intro:after,
.donate-section .donate-section-title:after,
.page-header-secondary .page-title:after,
section.donate-form h3:after,
.site-footer .footer-nav .menu-link:after,
.social-share .share-title:after,
.partner-link .partner-title:after,
.site-issue-areas .section-title:after, 
.home-hero .page-title .title-intro:after, 
.donate-section .donate-section-title:after, 
.page-header-secondary .page-title:after, 
section.donate-form h3:after, 
.site-footer .footer-nav .menu-link:after, 
.social-share .share-title:after, 
.partner-link .partner-title:after,
.timeline-feed.section-timeline .timeline-heading:after,
.about-hero .page-title:after,
.about-page-main .column-title:after,
.staff-feed .feed-title:after,
.staff-card .card-name:after,
.about-page-internships .section-title:after,
.bio-post .entry-title:after,
.page-header .page-title:after,
.category-hero .page-title:after
 {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5000 200'%3E%3Cpath fill='%23515f91' d='M0,0 2500,200 5000,0z'/%3E%3C/svg%3E");
}
.site-issue-areas .link-title{
  width: 100% !important;
}
.site-issue-areas .link-title:after{
  width: 100% !important;
}
.single-case .entry-title:after{
	background-color: #515f91 ;
}

.site-footer .footer-search .form-control{
	background-color: #a8b3db;
}

/* .wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{
	color:#fff !important;
} */

.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{
	background: #243B94 !important;
  color:#fff !important;
}

.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link:hover{
	background: #1f347f !important;
}


.documents-teaser .feed-wrapper{
  display: grid !important;
}

.document-card{
  margin: 0 auto;
}

/* remove in production */
.grecaptcha-badge{
  opacity: 0;
}

/*** RESPONSIVENESS CORRECTIONS ************************************************************/
@media (min-width: 300px) {
	.site-navbar .navbar-toggle { top: -35px; }
}

@media (min-width: 1200px) {
	.site-navbar .menu-item { margin-left: 45px; }
	.navbar-nav .menu-item-84 { margin-left: 45px; margin-right: -5px; }
}

@media (min-width: 992px) and (max-width: 1050px) {
	.navbar-nav .menu-search { position: relative; top: -55px; left: -37px; }
}

@media (min-width: 992px) {
	.site-navbar .navbar-nav { margin-left: 18px; }
}

@media only screen and (min-width: 992px) {
  .case-archive-feed .case-card .card-media {
      flex: 0 0 50%;
  }
}

.feed-title {
  margin-bottom: 20px;
  font-family: mr-eaves-sans, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #788093;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.navbar-nav li ul li a {
  text-decoration: none !important;
}

.dropdown-menu{
  padding: 10px;
}

/* Hide dropdowns by default */
.navbar-nav .dropdown-menu {
  display: none;
  position: absolute; /* Optional: Adjust if necessary */
  background-color: #fff;
  padding: 20px !important;
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  z-index: 1000;
}

/* Show dropdown on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  padding: 20px !important;
}

/* REcent Cases Images */
.card-thumbnail-home {
  height: 200px !important;
  /* width: 100% !important; */
  object-fit: cover !important;
  display: block !important;
}



.timeline-feed.section-timeline,
.section-timeline+.after-post-share {
  background-color: #fff !important;
}
.after-post-share{
  padding-top: 0 !important;
}
.timeline-feed.section-timeline{
  padding-bottom: 0 !important;
}
div#n2-ss-1 .n2-ss-slide-limiter {
  max-width: 100% !important;
}

.site-issue-areas .thumbnail-overlay:after{
  background-color: unset !important;
}


.card-body .h1{
  line-height: 1.0 !important;
}


.card-body h3{
  line-height: 1.0 !important;
}


.timeline-feed.section-timeline .card-header:after {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMDAgMzAiPjxwYXRoIGZpbGw9IiNmZmZmZmYiIGQ9Ik0wLDBIMFYzMEgzMDBWMEwxNTAsMzBaIi8+PC9zdmc+);
  background: transparent;
}
.site-card .card-date:after{
  background-color:transparent !important;
}
.news-card:nth-child(even) {
  background-color: #f0f0f0; 
  padding: 20px;
}
.news-card:nth-child(odd) {
  padding: 20px;
  padding: 20px;
  border-bottom: solid #dbdbdb 4px
}

.news-card:nth-child(even) {
  border-bottom: solid #dbdbdb 4px
}

@media only screen and (min-width: 992px) {
  .about-page-main .main-column {
      -ms-flex: 0 0 100% !important;
      flex: 0 0 100% !important;
      max-width: 100% !important;
  }
}
.about-hero .hero-bg:before{
  background: none !important;
}
.about-hero .hero-bg:after{
  background: none !important;
}
.slick-track{
  margin: 0 auto !important;
}
.site-post .posted-on:after{
  position: relative;
  margin: 0 auto;
}

ss3-force-full-width{
  max-width: 1140px;
  margin: 0 auto;
}

.n2-ss-layer{
  margin: 0 auto !important;
}

.n2-ss-layer-row {
  padding:10px
}

.form-control{
  height: auto !important;
}


@media only screen and (max-width: 1139px) {
  
  ss3-force-full-width{
    width: 100% !important;
    max-width:fit-content;
    margin: 0 auto;
  }
}


@media only screen and (max-width: 889px) {
  
  ss3-force-full-width{
    width: 100% !important;
    max-width:none !important;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1200px) {
  .timeline-feed.default-timeline:before {
      width: calc(1110px* 2 / 2) !important;
  }
  
}


.three-column-feed {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Default to 1 column */
  gap: 1.5rem; /* Space between items */
}


.issue-area .thumbnail-overlay img {
  display: block;
  width: 100%; /* Ensures responsiveness */
  height: 200px; /* Set a consistent height */
  object-fit: cover; /* Ensures the image covers the set dimensions */
  border-radius: 0 5px; /* Optional: for rounded corners */
}


@media only screen and (min-width: 992px) {
  .teaser-feed .document-card {
      max-width: 200px;
      min-width: 100%;
  }
}

@media only screen and (min-width: 576px) and (max-width: 991px) {
  .teaser-feed .document-card {
      min-width: 100%;
  }
}

@media only screen and (max-width: 575px) {
  .teaser-feed .document-card {
      min-width: 100%;
  }
}

@media (min-width: 640px) { /* Small screens and up */
  .three-column-feed {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
  }
}

@media (min-width: 1024px) { /* Large screens and up */
  .three-column-feed {
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
  }
}
