/*!
Theme Name: BioProtection Portal
Theme URI: https://them.es/starter
Author: CABI
Author URI: https://www.cabi.org
Description: Custom theme for BioProtection Portal
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: bioprotection-portal
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/assets/dist/main.css" */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600;1,800&display=swap");

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

.card-body {
  border-radius: 1rem;
}

.card-img-overlay {
  top: unset;
}

.card-resource {
  height: 489px;
  background-repeat: no-repeat;
  background-size: cover;
}

.card-resource .card-body {
  min-height: 275px;
}

.testimonial {
  min-height: 264px;
  max-height: 150px;
  overflow: auto;
}

.resource-leave-1 {
  position: absolute;
  top: -45px;
  right: 23px;
}

/* .resource-leave-2 {
    position: absolute;
    top: -50px;
    left: 104px;
    width: 73.5px;
    transform: rotate(37deg);
}

.resource-leave-3 {
    position: absolute;
    top: -59px;
    right: 40px;
    transform: rotate(-45deg);
} */

.display-5 {
  font-size: 1.25rem !important;
}

.bg-white-75 {
  background: rgba(255, 255, 255, 0.75) !important;
}

.card-resource a.btn.btn-outline-success:hover {
  background: #d8eed4;
  color: #368729;
}

a.btn.btn-outline-success .resourcebtn:hover {
  background: #d8eed4;
  color: #368729;
}

.card-image-wrapper.theme-image {
  height: 238px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /*     border-radius: 10px 10px 0px 0px; */
}
.article-img {
  height: 80px !important;
  min-width: 125px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.resource-article article a {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: auto-phrase;
}
.news-article article a {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: auto-phrase;
}
.theme-main-img {
  height: 445px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*     border-radius: 20px 0 0 20px; */
}
.resource-image {
  height: 238px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.card-text > p {
  margin-bottom: 0px;
}
div.wpforms-container-full .wpforms-form .wpforms-field-label,
.nf-form-content label {
  font-size: 16px !important;
  font-weight: 700;
}
div.wpforms-container-full .wpforms-form input[type="submit"],
div.wpforms-container-full .wpforms-form button[type="submit"],
div.wpforms-container-full .wpforms-form .wpforms-page-button,
.nf-form-content button,
.nf-form-content input[type="button"],
.nf-form-content input[type="submit"] {
  background-color: #cd4400 !important;
  color: #fff !important;
  font-size: 16px !important;
  padding: 16px !important;
  line-height: 22px;
  font-weight: 700;
  height: unset !important;
}
div.wpforms-container-full .wpforms-form input[type="submit"],
div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover,
.nf-form-content button:hover,
.nf-form-content input[type="button"]:hover,
.nf-form-content input[type="submit"]:hover {
  background-color: #000 !important;
}
.questionaries-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  /* margin: 24px 0; */
}
.questionaries-wrap .wpforms-submit-container {
  text-align: center;
}
.wpforms-confirmation-container-full,
div[submit-success]
  > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  background: #ffffff !important;
  border: 1px solid #368729 !important;
  text-align: center;
}
.wpforms-container-full .wpforms-form .wpforms-list-inline ul li {
  margin: 10px !important;
}
.wpforms-container-full .wpforms-form .wpforms-field-label-inline:hover {
  background: #d8eed4 !important;
  color: #368729;
}
input[type="radio"]:not(.plantix) {
  background-color: #fff !important;
  color: #368729 !important;
  border: 1px solid #368729 !important;
  display: contents !important;
}
#wpforms-form-762 .wpforms-submit-container {
  width: 100% !important;
  display: grid;
}
.wpforms-container-full .wpforms-form .wpforms-field-label-inline {
  font-weight: 700 !important;
  display: block !important;
  padding: 10px 30px !important;
  border: 2px solid #368729 !important;
  /*     border-radius: 8px; */
  background: #d8eed4 !important;
}
.wpforms-container-full
  .wpforms-form
  .wpforms-list-inline
  ul
  li.wpforms-selected
  label {
  background: #ffffff !important;
  color: #368729 !important;
}

.name,
.designation,
.city {
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
}

.owl-carousel .owl-item .card {
  background: #ffffff !important;
  opacity: 0.8 !important;
}
.owl-carousel .owl-item.active.center .card {
  opacity: 1 !important;
}
div.wpforms-container-full {
  margin-top: 24px !important;
  margin-bottom: unset !important;
}
tbody,
td,
tfoot,
th,
thead,
tr {
  border: 1px solid;
  border-color: inherit;
  border-spacing: 4px;
  padding: 10px;
}

figure.aligncenter {
  text-align: center;
}

.select2-container--default .select2-results__option[role="group"] {
  padding: 0;
  background: #e1e1e1;
}

.select2-container--default .select2-results__option[aria-disabled="true"] {
  color: #626161 !important;
}

.select2-results__option > span > span {
  font-size: 75%;
  display: block;
}

.testimonial {
  padding: 8px;
}

.testimonial::-webkit-scrollbar {
  width: 2px;
}

.testimonial::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
}

.testimonial::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}
.partner-benefit-image {
  height: 340px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.category-gallery-widget ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.category-gallery-widget ul li {
  flex: 0 0 119px;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  margin-right: 30px;
}
.category-gallery-widget ul li img {
  width: initial;
  max-height: 100px;
}
.associate-img {
  height: 141px;
  width: 120px;
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: contain;
}
.owl-carousel .owl-dots {
  margin-bottom: 20px !important;
}
.partner-benefit-icon {
  height: 52px;
  width: 52px;
  display: inline-flex;
}

body.page-template-partners .card.shadow.rounded-4 {
  width: 276px;
  height: 176px;
  text-align: center;
  align-items: center;
}

.single-resource h1,
.single-resource h2,
.single-resource h3,
.single-resource h4,
.single-resource h5,
.single-resource h6 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
#search-widget ul.select2-selection__rendered li:not(:first-child) input{
	display: none;
}
.owl-theme .owl-dots .owl-dot span{
  border: solid 1px #B6B6C4 !important;
}

.icon-text {
  display: flex;
  align-items: center;
}
.icon-text .icon {
  width: 35px; /* Adjust icon size as needed */
  height: 35px;
  margin-right: 10px; /* Adjust spacing between icon and text */
}

header.fixed-header {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 999;
}
.testimonial-wrap .owl-item{
	display: flex;
    justify-content: center !important;
}
.um .um-login{
  max-width: none !important;
}
.um-button{
  background-color: #cd4400 !important;
}
.um-button:hover{
  background-color: #000 !important;
}
.um-alt{
  color: #fff !important;
}
.um-center .um-button {
  min-width: -webkit-fill-available !important;
}
.um-locked-content{
  display: none;
}
.um-postmessage{
	font-size:1.5rem;
	max-width:100% !important;
	text-align:center;
}

.um.um-login {
    margin-left: 0px !important;
}
#header_h2{
	scroll-margin-top: 100px;
}
.lined-heading {
  display: flex;
  align-items: center;
  justify-content: center; 
  text-align: center;
  font-size: 1.5em; 
  margin: 20px 0;
}

.lined-heading::before,
.lined-heading::after {
  content: "";
  width: 15%; 
  border-bottom: 1px solid #ccc; 
  margin: 0 10px;
}