/*!
 Theme Name: Rubrum
 Theme URI: 
 Author: Dev Team
 Author URI: 
 Description: Rubrum is a blank canvas for your ideas and it makes the block editor your best brush.
 Requires at least: 6.0.0
 Tested up to: 6.4.1
 Requires PHP: 8.0
 Version: 6.4.0
 Text Domain: rubrum
*/

/**** Pagination Block ****/

.wp-block-query-pagination-numbers {
  margin: 0 !important;
  padding: 8px 0;
}
.date-time-custom time p {
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: 200;
}
time {
  font-weight:600;
}

.wp-block-query-pagination-numbers span.page-numbers,
.wp-block-query-pagination-numbers a.page-numbers {
  padding: 7px 13px;
  background-color: var(--wp--preset--color--white);
  margin: -3px;
  border: 1px solid #e3e3e3;
}
.wp-block-query-pagination-numbers span.page-numbers.current{
  color: var(--wp--preset--color--white);
  border:0px;
  border-radius: 0.25rem 0 0 0.25rem !important;
}
.page-numbers:last-child {
    border-radius: 0 0.25rem 0.25rem 0 !important;
}


.wp-block-query-pagination-numbers span.page-numbers.current {
  background-color: var(--wp--preset--color--primary);
}

.wp-block-query-pagination-numbers span.page-numbers:hover,
.wp-block-query-pagination-numbers a.page-numbers:hover {
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--base) !important;
}

a:not(.btn):not(.wp-block-button__link):hover,
a:not(.btn):not(.wp-block-button__link):focus {
  color: var(--wp--preset--color--link-base) !important;
}

.wp-block-social-links.is-style-logos-only .wp-social-link svg:hover {
  color: #112340;
}

/**** Global Styling ****/

.menu-white li a:hover {
  border-bottom: 2px solid #fff !important;
  padding: 12px 0;
  transition: none !important;
}
.menu-white>li:first-child>a:hover {border: 0px !important; }


.menu-red li a:hover {
  border-bottom: 2px solid var(--wp--preset--color--secondary);
  padding: 12px 0;
  transition: none !important;
}


.header-red-button > .wp-block-button > a:hover {
  background: var(--wp--preset--color--secondary) !important;
  color: var(--wp--preset--color--base) !important;
}

.hr-md-width {
  width: 378px !important;
  border-width: 1px;
}

nav {
  padding: 0px 0px 0px 3rem;
}

.button-hover-blue-home .wp-element-button:hover {
  background: #253754 !important;
  border: 1px solid #fff;
  color: #fff;
}

.button-hover-red-home .wp-element-button:hover {
  background: #bf2b43 !important;
  border: 1px solid #bf2b43;
  color: #fff !important;
}

.button-hover-blue .btn-white a {
  padding: 25px 10px;
  font-weight: 700;
}

.header-shadow > .shadow {
  box-shadow: none !important;
}

.header-menu-style {
  color: #06326a;
}

#gform_fields_7,
#gform_fields_8 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items:center;
}

div#gform_fields_7 div,
#gform_fields_8 div {
  flex-grow: 1;
}

.news-excerpt > .wp-block-post-excerpt__excerpt {
  font-style: italic;
}

a.wp-block-post-excerpt__more-link {
  text-transform: uppercase;
  font-weight: 600;
}

.homepage-group {
  margin-top: -225px !important;
}

#gform_fields_8 input::placeholder {
  color: #fff !important;
  text-transform: none !important;
}

#gform_fields_7 input::placeholder {
  color: #495057 !important;
  text-transform: none !important;
}

#gform_fields_8 input {
  background: transparent !important;
  border: 1px solid #fff !important;
  outline-color: #fff !important;
  color: #fff !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0px !important;
}

#gform_fields_7 input[type="text"],
#gform_fields_7 input[type="email"] {
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  outline-color: #495057 !important;
  color: #495057 !important;
  padding: 0.5rem 0.75rem !important;
}

#gform_submit_button_8,
#gform_submit_button_7 {
  text-transform: uppercase !important;
  width: 100%;
}

#gform_submit_button_7 {
  background: #122340 !important;
  color: #fff !important;
}

#gform_submit_button_7 {
  background: #122340 !important;
  color: #fff !important;
  padding: 0.5rem 0.75rem !important;
}

.wp-block-post-featured-image img {
  width: auto !important;
}

.aligncenter {
  text-align: center;
}

.issue-template-default .post-date,
.page-id-155 .block-featured-cover {
  display: none !important;
}

.featured-img-issues {
  z-index: -1;
}

.issue-post-group {
  margin-top: -20px;
}

.featured-img-issues {
  z-index: -1 !important;
}

.post-3754 .issues-alt-title-color,
.post-3752 .issues-alt-title-color,
.post-3750 .issues-alt-title-color,
.post-3748 .issues-alt-title-color {
  background: #ee1439 !important;
}

.issue-post-group .wp-block-read-more {
  width: auto !important;
  text-align: center;
}

/**** Forms ****/

.block-footer-form {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

/**** Endorsement Posts ****/

.page-id-165 main,
.page-id-3 .featured-cover {
  display: none;
}

.wp-block-post-template .wp-block-post:nth-child(odd) .card .wp-block-columns,
.endorsement-post .wp-block-column:nth-child(odd) .wp-block-columns{
  background: #ee1439 !important;
}

.endorsement-post .wp-block-post-template .wp-block-post .card {
  box-shadow: none !important;
}

.page-id-163 .block-featured-cover {
  display: none !important;
}

@media screen and (min-width: 782px) and (max-width: 992px) {
  .news-home {
    column-gap: 2rem;
  }
}

@media (max-width: 1024px) {
  #gform_fields_7,
  #gform_fields_8 {
    flex-direction: column;
  }

  .check-mark-icon figure {
    width: 50px;
  }
}

@media (min-width: calc(1340px)) {
  .issue-post-group .wp-block-read-more {
    margin: 0px 3rem;
  }
}

@media (max-width: calc(991px)) {
  .break-lg-6.wp-block-post-template .wp-block-post {
    min-width: 100% !important;
  }

  .news-image img {
    width: 100% !important;
  }

  .news-texts h3,
  .news-texts .wp-block-post-excerpt {
    padding: 0.5rem 0px !important;
  }

  .full-page-banner,
  .page-banner {
    min-height: 18rem !important;
  }
}

@media screen and (min-width: 600px) and (max-width: 940px) {
  .issues-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  ul#input_6_6 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #gform_fields_6 > *:nth-child(n + 2) {
    width: 50% !important;
  }
}
@media (max-width: 640px) {
  ul#input_6_6 {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .gform_legacy_markup_wrapper ul.gfield_checkbox li label {
    width: 100% !important;
  }

  #gform_fields_6 > *:nth-child(n + 2) {
    width: 100% !important;
  }
}
@media (min-width: 782px) {
  .current-menu-item {
    border-bottom: 2px solid #a6142c;
    color: #a6142c !important;
    padding: 8px 0px !important;
  }

  .page-id-2 .current-menu-item {
    color: #fff !important;
    border-color: #fff !important;
  }
  .current-menu-item a:hover{
    border-bottom-width: 0px !important;
    padding:0px !important;
  }
}

@media (max-width: 781px) {
  .padding-mobile-two {
    padding: 2rem !important;
  }

  .home-contact-cover .wp-block-cover__inner-container {
    padding: 3rem 15px;
  }

  #home-contact-section .home-contact-cover {
    min-height: 401px !important;
  }

  .wp-container-core-group-layout-1.wp-container-core-group-layout-1 {
    justify-content: space-between;
    padding: 0px;
  }

  .mobile-padding {
    padding: 0.5rem !important;
  }

  button.wp-block-navigation__responsive-container-open {
    background: #a80c28;
    border: 1px solid rgb(255, 255, 255);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    color: #fff;
  }

  button.wp-block-navigation__responsive-container-close {
    color: #a80c28;
  }

  span.wp-block-navigation-item__label {
    color: #05316b;
  }

  button.wp-block-navigation__responsive-container-close {
    color: #fff;
    background: #a80c28;
    border: 1px solid #ffffff;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
  }

  .wp-block-cover.aligncenter.home-hero {
    min-height: 100vh !important;
    padding-top: 14rem !important;
  }
}

/**** Checkbox Styling ****/

ul#input_6_6 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0rem 0.75rem;
}

.ways-you-can-help_wrapper .gfield.buttonized .gfield_checkbox .gchoice {
  position: relative;
  text-align: center;
}

.ways-you-can-help_wrapper .gfield.buttonized .gfield_checkbox label {
  position: relative;
  max-width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 2px solid #fff;
  background-color: transparent;
  cursor: pointer;
  font-weight: 300;
  justify-content: center;
}

#gform_6 input[type="checkbox"] + label::before {
  border-style: none !important;
  width: 25px !important;
  content: none !important;
}

.ways-you-can-help_wrapper
  .gfield.buttonized
  input[type="checkbox"]:checked
  + label {
  border-color: #369612;
  background-color: transparent;
  overflow: hidden;
  font-weight: 300 !important;
  justify-content: center !important;
}

.ways-you-can-help_wrapper
  .gfield.buttonized
  input[type="checkbox"]:checked
  + label::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: -0.75em;
  right: -0.75em;
  left: auto;
  width: 1.5em !important;
  height: 1.5em !important;
  background-color: #369612;
  border-radius: 0;
  border: 0;
  transform: rotate(45deg) !important;
  margin-right: -34px !important;
  transition: none !important;
}

#gform_fields_6 > *:nth-child(n + 2) {
  display: inline-grid;
  margin-top: 1rem !important;
}

#gform_fields_6 input::placeholder {
  text-transform: capitalize !important;
  color: #fff !important;
}

form#gform_6 {
  text-align: center;
}

#gform_6 .ginput_container,
#gform_6 .ginput_container input,
.gform_legacy_markup_wrapper ul.gfield_checkbox,
.gform_legacy_markup_wrapper .gfield_checkbox li,
body .gform_legacy_markup_wrapper ul li.gfield {
  margin: 0px !important;
}

#gform_6 .ginput_container input {
  background: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
}

#gform_submit_button_6 {
  background: #a6142c !important;
  border: 1px solid #a6142c !important;
  text-transform: uppercase !important;
  font-weight: 300 !important;
  margin-top: 1rem;
  min-width: 250px !important;
}

#gform_submit_button_6:hover {
  border: 1px solid #fff !important;
  background: transparent !important;
  color: #fff !important;
}

.page-id-167 .block-footer-form {
  display: none;
}

.wp-container-core-group-layout-3.wp-container-core-group-layout-3
  > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.page-id-167 .featured-cover {
  max-width: 1920px !important;
}

.endorsement-post .wp-block-column p {
    overflow: hidden;
    -webkit-line-clamp: 9;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

#bodModalAriaTitle1,
#bodModalAriaTitle2,
#bodModalAriaTitle3,
#bodModalAriaTitle4,
#bodModalAriaTitle5,
#bodModalAriaTitle6,
#bodModalAriaTitle7,
#bodModalAriaTitle8,
#bodModalAriaTitle9,
#bodModalAriaTitle10,
#bodModalAriaTitle11 {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.bod-block-popup-wrap .bod-block-popup {
	border-radius:0.3rem !important;
}
.bod-block-popup-wrap button.bod-block-title-closer {
	font-size:1.75rem;
	color: #6F6F6F !important;
}

#gform_6 .buttonized input[type="checkbox"]:checked+label::before {
    background: #369612 !important;
    content: '' !important;
    width: 3rem !important;
    height: 3rem !important;
    top: -1.5em !important;
    right: -0.35em !important;
    border-radius: 0;
    border: 0;
    transform: rotate(45deg) !important;
}
#lbbLightBox-9d85b513-4 #lightbox-0 .lbbContent_area,
#lbbLightBox-9d85b513-4 #lightbox-0 img{
   border-radius:0px !important;
}
.gform_confirmation_message {
    text-align: center;
    font-weight: 500;
    font-size: 1.5rem;
}
#gform_confirmation_message_7 {
    color:#A6142C;
}
.wp-block-query-pagination-numbers span.page-numbers.current {
    background-color: var(--wp--preset--color--secondary);
}

/* MEDIA FANCY SLIDER */
.fancybox__container {
  z-index: 99999;
}
.fancybox__container .fa a {
    font-family: "Roboto" !important;
    font-weight: 400;
    color:#fff;
}
.fancybox__container .fa-download:before{
  padding-right: 0.5rem;
}
.fancybox__container .fa-download{
  color:#fff;
}