:root {
  --wgp-pure-black: #000;
  --wgp-pure-white: #fff;
  --wgp-primary-red: #c60c30;
  --wgp-patterned-blue: #1a3d5f;
  --wgp-dark-gray: #9d9d9d;
  --wgp-light-gray: #ddd;
  --wgp-image-overlay: rgba(26, 61, 95, 0.5);

  --wgp-base-font-size: 16px;
  --wgp-secondary-font-size: 20px;

  --wgp-radius: 25px;
  --wgp-custom-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);

  --wgp-max-width-sm: 640px;
  --wgp-max-width-md: 768px;
  --wgp-max-width-lg: 1024px;
  --wgp-max-width-xl: 1280px;
  --wgp-max-width-xxl: 1440px;

  /* Speedometer */
  --size: 16rem;
  --rating: 0;
  --round-size: calc(var(--size) / 10);
  --round-o-size: calc(var(--round-size) * 0.32);
}

.wrapper {
  margin: 0 auto;
  max-width: 1440px;
  width: 100%;
}

@media screen and (max-width: 1440px) {
  .wrapper {
    padding: 0 15px;
  }
}

.small-wrapper {
  margin: 0 auto;
  max-width: 1100px;
  width: 100%;
}

@media screen and (max-width: 1100px) {
  .small-wrapper {
    padding: 0 15px;
  }
}

.wgp__image-overlay {
  background-color: var(--wgp-patterned-blue);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}

.wgp__image-overlay-inset {
  position: absolute;
  z-index: 10;
  inset: 0;
  background: var(--wgp-patterned-blue);
  opacity: 0.5;
}

.wgp__wrapper-image-overlay {
  display: flex;
  align-items: stretch;
  position: relative;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.wgp__section-padding {
  padding: 100px 0;
}

@media screen and (max-width: 1280px) {
  .wgp__section-padding {
    padding: 75px 0;
  }
}

@media screen and (max-width: 768px) {
  .wgp__section-padding {
    padding: 50px 0;
  }
}

.wgp__section-margin {
  margin: 100px auto !important;
}

@media screen and (max-width: 1280px) {
  .wgp__section-margin {
    margin: 75px 0 !important;
  }
}

@media screen and (max-width: 768px) {
  .wgp__section-margin {
    margin: 50px 0 !important;
  }
}

.wgp__primary-button {
  display: block;
  width: fit-content;
  text-decoration: none;
  font-size: var(--wgp-base-font-size);
  color: var(--wgp-pure-white);
  padding: 10px 30px;
  border-radius: var(--wgp-radius);
  background-color: var(--wgp-patterned-blue);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wgp__primary-button:hover {
  transition: all 0.3s ease;
  transform: translateY(-5px);
  box-shadow: var(--wgp-custom-shadow);
}

.wgp__transparent-bg {
  border-color: var(--wgp-pure-white);
  background-color: transparent;
}

.wgp__button-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wgp__button-icon img {
  width: 10px;
}

.wgp__button-icon-right {
  transform: rotate(-90deg);
}

.wgp__button-icon-left {
  transform: rotate(90deg);
}

.wgp__button-icon-up {
  transform: rotate(-180deg);
}

.wgp__button-icon-down {
  transform: rotate(0);
}

.wgp__load-more-btn {
  margin-top: 40px;
  padding: 10px 30px;
  font-size: var(--wgp-base-font-size);
  color: var(--wgp-pure-black);
  border-radius: var(--wgp-radius);
  background: none;
  border: 1px solid var(--wgp-pure-black);
  cursor: pointer;
}

.wgp__plate {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--wgp-pure-white);
  font-size: var(--wgp-base-font-size);
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 30px;
  background-color: var(--wgp-primary-red);
  border-radius: 0 15px;
  z-index: 10;
}

.wgp__slider-arrows {
  display: flex;
  justify-content: end;
  gap: 8px;
}

.wgp__slider-arrows .wgp__arrow-prev,
.wgp__slider-arrows .wgp__arrow-next {
  cursor: pointer;
  padding: 15px 8px;
}

.wgp__slider-arrows .wgp__arrow-prev img,
.wgp__slider-arrows .wgp__arrow-next img {
  max-width: 33px;
  object-fit: inherit;
}

.wgp__close-custom-icon {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  border: 2px solid var(--wgp-pure-white);
  overflow: hidden;
  padding: 3px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wgp__close-custom-icon::after,
.wgp__close-custom-icon::before {
  content: '';
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--wgp-pure-white);
  border-radius: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.3s ease;
}

.wgp__close-custom-icon::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.wgp__close-custom-icon:hover {
  transition: all 0.3s ease;
  border-color: var(--wgp-primary-red);
}

.wgp__close-custom-icon:hover::after,
.wgp__close-custom-icon:hover::before {
  background-color: var(--wgp-primary-red);
}

.wgp__close-custom-icon.active-icon {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease-in-out;
}

.wgp__overlay-body-bg.wgp__active-overlay {
  pointer-events: auto;
  -webkit-appearance: initial;
  -moz-appearance: initial;
  appearance: initial;
  visibility: visible;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.swiper-button-disabled {
  opacity: 0.5 !important;
}

/* Preview card style */

.wgp__cards-preview-list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

@media screen and (max-width: 960px) {
  .wgp__cards-preview-list {
    justify-content: space-evenly;
  }
}

.wgp__global-design--card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 23%;
  border-radius: var(--wgp-radius);
  overflow: hidden;
  box-shadow: 8px 2.5px 25px 0px rgba(0, 0, 0, 0.25);
}

.wgp__global-design--card .wgp__wrapper-image-overlay {
  height: 230px;
}

.wgp__global-design--card .card-data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 40px 20px;
  background-color: var(--wgp-pure-white);
  height: calc(100% - 230px);
}

.wgp__global-design--card .card-data .card-title {
  margin-bottom: 45px;
  font-size: 18px;
}

@media screen and (max-width: 1280px) {
  .wgp__global-design--card .card-data .card-title {
    margin-bottom: 15px;
  }
}

.wgp__global-design--card .card-data .card-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wgp__global-design--card .card-data .card-info .card-duration {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  border-right: 1px solid var(--wgp-pure-black);
}

.wgp__global-design--card .card-data .card-info .card-duration img {
  width: 15px;
}

.wgp__global-design--card .card-data .card-info .card-date {
  padding-left: 10px;
  padding-left: 10px;
  font-weight: 700;
}

@media screen and (max-width: 1280px) {
  .wgp__global-design--card .card-data {
    padding: 20px 15px;
  }
}

@media screen and (max-width: 1280px) {
  .wgp__global-design--card {
    width: 31%;
  }
}

@media screen and (max-width: 960px) {
  .wgp__global-design--card {
    width: 44%;
  }
}

@media screen and (max-width: 768px) {
  .wgp__global-design--card {
    width: 70%;
  }
}

@media screen and (max-width: 640px) {
  .wgp__global-design--card {
    width: 100%;
    max-width: 380px;
  }
}

form.we-grow-people-form {
  display: flex;
  flex-direction: column;
  max-width: 610px;
}

form.we-grow-people-form .gform-body {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-between;
}

form.we-grow-people-form .gform-body input,
form.we-grow-people-form .gform-body textarea {
  width: 100%;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 50px;
  background: none;
  outline: none;
  border: none;
  box-shadow: none;
  border-bottom: 2px solid var(--wgp-patterned-blue);
}
.gform_validation_errors {
  display: none!important;
}
form.we-grow-people-form .gform-body .gfield_validation_message {
  margin-top: -40px;
}
.gfield_required.gfield_required_text {
  display: none;
}
form.we-grow-people-form .gform_fields {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
}
form.we-grow-people-form .gform-body .gfield {
  width: 47%;
}

@media screen and (max-width: 640px) {
  form.we-grow-people-form .gform-body .gfield {
    width: 100%;
  }
}

form.we-grow-people-form .gform-body .gfield.gfield--type-textarea {
  width: 100%;
}

form.we-grow-people-form .gform-body .gfield.gfield--type-checkbox,
form.we-grow-people-form .gform-body .gfield.gfield--type-radio {
  width: 100%;
}

form.we-grow-people-form .gform-body .gfield.gfield--type-checkbox .gfield_label,
form.we-grow-people-form .gform-body .gfield.gfield--type-radio .gfield_label {
  font-weight: 400;
  font-size: 16px;
}

form.we-grow-people-form .gform-body .ginput_container.ginput_container_checkbox,
form.we-grow-people-form .gform-body .ginput_container.ginput_container_radio {
  margin-bottom: 40px;
}

form.we-grow-people-form .gform-body .gfield_checkbox,
form.we-grow-people-form .gform-body .gfield_radio {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

form.we-grow-people-form .gform-body .gfield_checkbox .gchoice,
form.we-grow-people-form .gform-body .gfield_radio .gchoice {
  width: 47%;
  display: flex;
  align-items: center;
  cursor: pointer;
}
form.we-grow-people-form .gform-body .gfield.gfield--type-multi_choice {
  width: 100%;
}

form.we-grow-people-form .gform-body .gfield_checkbox input,
form.we-grow-people-form .gform-body .gfield_radio input,
form.we-grow-people-form .gform-body .ginput_container_consent input {
  width: 30px;
  height: 30px;
  margin-bottom: 0;
  border: 2px solid var(--wgp-patterned-blue);
  border-radius: 5px;
  background-color: var(--wgp-light-gray);
  padding: 0;
}

form.we-grow-people-form .gform-body .gfield_checkbox input[type='radio']::before,
form.we-grow-people-form .gform-body .gfield_radio input[type='radio']::before {
  background-color: var(--wgp-patterned-blue);
  width: 12px;
  height: 12px;
}
form.we-grow-people-form .gform-body .ginput_container_consent {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
}
form.we-grow-people-form .gform-body .ginput_container_consent input::before {
  color: var(--wgp-patterned-blue) !important;
}

@media screen and (max-width: 640px) {
  form.we-grow-people-form .gform-body .gfield_checkbox .gchoice,
  form.we-grow-people-form .gform-body .gfield_radio .gchoice {
    width: 100%;
  }
}

form.we-grow-people-form .gform-footer.gform_footer.top_label {
  margin-top: 0 !important;
}

form.we-grow-people-form .gform-footer.gform_footer.top_label input[type='submit'] {
  position: relative;
  display: block !important;
  width: fit-content !important;
  text-decoration: none !important;
  font-size: var(--wgp-base-font-size) !important;
  font-weight: 400 !important;
  color: var(--wgp-pure-white);
  padding: 10px 30px;
  border-radius: var(--wgp-radius) !important;
  background-color: var(--wgp-patterned-blue);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
  margin-top: 40px;
}
form.we-grow-people-form.add-white-arrow .gform-footer.gform_footer.top_label input[type='submit'] {
  background: url('../images/icons/arrow-right.svg') var(--wgp-patterned-blue) no-repeat 85% 50%;
  padding-right: 55px !important;
}
form.we-grow-people-form.add-white-arrow .wgp-white-text label {
  color: var(--wgp-pure-white);
}
form.we-grow-people-form .gform-footer.gform_footer.top_label input[type='submit']:hover {
  transition: all 0.3s ease;
  transform: translateY(-5px);
  box-shadow: var(--wgp-custom-shadow);
}

@media screen and (max-width: 768px) {
  form.we-grow-people-form {
    max-width: 100%;
  }
}

/* Custom layout for single post page (Press) Editor*/

.block-editor-block-list__block.wp-block-latest-posts__list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.block-editor-block-list__block.wp-block-latest-posts__list li {
  width: 100%;
}
.block-editor-block-list__block.wp-block-latest-posts__list li a {
  max-width: 100% !important;
  width: 100% !important;
  color: var(--wgp-pure-black);
  text-decoration: none;
  font-weight: 600;
}
.block-editor-block-list__block.wp-block-latest-posts__list li a img {
  max-width: 100% !important;
  width: 100% !important;
  height: 300px !important;
  object-fit: cover;
  border-radius: 15px;
}

/* Custom classes from editor to frontend */

.wgp__row-reverse {
  flex-direction: row-reverse;
}

.dsb-id-box-container {
  padding: 5px;
  border: 1px solid var(--wgp-dark-gray);
  border-radius: 5px;
  font-size: 16px;
  font-style: italic;
  color: var(--wgp-dark-gray);
  margin-bottom: 10px;
}
.dsb-id-box-container p {
  color: var(--wgp-pure-black);
}

.img-size-recommendation {
  padding: 5px;
  font-size: 16px;
  color: var(--wgp-primary-red);
  margin-bottom: 10px;
}

/* Date picker custom style for input capitalize */
.react-datepicker {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}
.react-datepicker-popper {
  width: 220px;
}
.react-datepicker__input-container input,
.react-datepicker__month-wrapper {
  text-transform: capitalize;
}
