/*
Theme Name: mia
Theme URI: http: //madeinalberta.co/
Description: Custom child theme for Salient
Author: Chris Glubish
Author URI: http: //www.somnia.ca/
Template: salient
Version: 2.0
*/

@import url("../salient/style.css");

.txt-pink {
  color: #f0649c;
}
.txt-gold,
.txt-gold h1,
.txt-gold h2,
.txt-gold h3 {
  color: #eeb310 !important;
}
.txt-blue {
  color: #307bbc;
}
.txt-darkblue {
  color: #08193e;
}
.txt-teal {
  color: #72c2ce;
}

h1 i,
h2 i,
h3 i {
  padding-right: 10px;
}

.txt-poppins {
  font-family: "poppins";
}
.muted {
  color: #999;
}
.hide,
.hidden {
  display: none !important;
}

::placeholder {
  opactiy: 1;
  color: #307bbc;
}

.link-nav {
  float: right;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  text-decoration: none !important;
}

.link-nav i {
  padding-left: 8px;
}

a i {
  text-decoration: none !important;
}

h1 a,
h2 a,
h3 a,
h4 a {
  text-decoration: none !important;
  color: inherit !important;
}

header li.menu-item a:hover span,
header li.current-menu-item a span {
  color: #f0649c !important;
}

ul#menu-profile-top-nav.sf-menu li {
  margin: 0 !important;
}

ul#menu-profile-top-nav.sf-menu li a, /* mobile, 2nd class is desktop */
ul.sf-menu.buttons li a {
  height: 32px;
  font-size: 14px !important;
  text-transform: uppercase !important;
  padding: 7px !important;
  border-radius: 4px;
  background-color: #f0649c;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0 !important;
  margin-left: 6px !important;
}
ul#menu-profile-top-nav.sf-menu li a {
  height: 30px;
  font-weight: 600;
}

@media only screen and (max-width: 1200px) {
  ._som .navlog1 a {
    margin-right: 8px !important;
  }
}

@media only screen and (max-width: 1100px) {
  #header-outer[data-full-width="true"] header > .container {
    padding: 0 2vw !important;
  }
}

.flex_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

._som .navlog2 a {
  color: #fff;
  margin-right: 18px;
}

._som .navlog2 a span {
  color: #fff !important;
}

._som .navlog2 a:hover span {
  color: #fff !important;
}

._som .navlog1 a {
  background-color: #ffffff;
  border-radius: 25px;
  color: #01183f;
}

._som .navlog1 a span {
  color: #01183f !important;
}

._som .navlog1 a:hover {
  opacity: 0.9;
}
._som .navlog1 a:hover span {
  color: #01183f !important;
}

._som .off-canvas-menu-container .navlog1 a,
._som .off-canvas-menu-container .navlog2 a {
  width: 80% !important;
  margin-right: 0 !important;
}

._som .off-canvas-menu-container .navlog1 a {
  margin-top: 20 !important;
}

._som .off-canvas-menu-container li {
  margin-bottom: 0 !important;
  padding: 0 !important;
}

body._som #header-outer #top nav > ul > #menu-item-607.navlog2 a:hover,
body._som #header-outer #top #menu-item-607.navlog2.current-menu-item a {
  background-color: #fff !important;
  color: #0b2c45 !important;
}

/* PAGINATION */
.mia-paginate {
  padding: 40px 0 20px 20px;
}
.mia-paginate .wp-pagenavi {
  display: flex;
}
.mia-paginate .pages {
  font-weight: bold;
  padding-right: 40px;
}
.mia-paginate .current {
  min-width: 25px;
  font-weight: bold;
  color: #f0649c;
}
.mia-paginate .previouspostslink {
  font-size: 180%;
  margin-right: 15px;
  text-decoration: none !important;
}
.mia-paginate .nextpostslink {
  font-size: 180%;
  margin-left: 15px;
  text-decoration: none !important;
}
.mia-paginate .page {
  min-width: 25px;
}
.mia-paginate .last {
  padding-left: 8px;
}

@media only screen and (max-width: 600px) {
  .mia-paginate {
    padding-left: 0;
    font-size: 90%;
  }
  .mia-paginate .pages {
    padding-right: 16px;
  }
}

/* FOOTER */

.footer-wrap {
  font-size: 85% !important;
  line-height: 180%;
}

.footer-wrap a {
  color: #fff;
  text-decoration: underline;
}

.footer-wrap a:hover {
  color: #eca82c;
}

._som .footer-wrap .footer-right,
._som .footer-wrap .footer-right strong,
#menu-main-nav-2 {
  font-family: "Open Sans" !important;
}

.footer-right img {
  float: right;
}

.footer-contact {
  float: right;
  text-align: left;
}

.footer-logo {
  width: 90px !important;
  margin-left: 100px;
}

.footer-logo-mobile {
  width: 90px !important;
  display: none;
  margin: 15px auto 0 auto;
}

@media only screen and (max-width: 640px) {
  .footer-logo {
    display: none;
  }
  .footer-logo-mobile {
    display: block;
  }
  .footer-contact {
    float: none;
    text-align: center;
  }
  .footer-wrap ul {
    margin: 40px 0 40px 0 !important;
  }
}

@media only screen and (max-width: 1000px) {
  .footer-wrap {
    text-align: center;
  }
  .footer-right {
    display: inline-block;
  }

  .footer-wrap .widget_nav_menu {
    margin-right: 0px !important;
    float: none !important;
  }
}

.footer-wrap .widget_nav_menu {
  margin-right: 90px;
  float: right;
}

.footer-wrap .widget_nav_menu li {
  list-style: none;
  margin-top: 0 !important;
  padding: 0 !important;
  margin-bottom: 6px;
}

.footer-wrap .widget_nav_menu li a {
  text-decoration: none;
}

.footer-wrap .widget_nav_menu li a:hover,
.footer-wrap .widget_nav_menu li.current-menu-item a {
  color: #eeb310 !important;
}

/* HELLO BAR */
.hellobar a {
  color: #e5b540 !important;
}

.hellobar a:hover {
  color: #fff !important;
}

.hellobar h6 {
  font-weight: 700 !important;
  font-size: 20px !important;
}

@media only screen and (min-width: 1000px) {
  .container.main-content {
    padding: 0 5vw !important;
  }
}

.wrap-content {
  max-width: 1300px;
  margin: 0 auto;
}

body.material .nectar-button.large,
body.material .nectar-button.jumbo {
  font-size: inherit !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  min-width: 320px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.off-canvas-menu-container .navlog1 a {
  color: #000 !important;
}

.off-canvas-menu-container .navlog1 a:hover {
  color: #333;
}

@media only screen and (max-width: 460px) {
  body.material .nectar-button.large {
    min-width: inherit;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 85% !important;
    line-height: 2 !important;
  }
}

hr {
  margin-top: 40px;
  margin-bottom: 40px;
  border: 0px;
  border-bottom: 2px solid #eeb310;
}

.main-content a {
  text-decoration: underline;
}

ul li {
  padding: 0.5rem;
  margin-top: 10px;
}

ul.fa-ul > li {
  list-style: none;
  padding: 10px 0 10px 40px;
  position: relative;
}

.fa-ul .fa {
  color: #70c1cd;
  font-size: 30px;
  position: absolute;
  top: 7px;
  left: -30px;
}

/* dev placeholder classes ---------------- */
.search_ph {
  display: flex;
  align-items: center;
  border: 2px solid #307bbc;
  background-color: #0a1a3c;
  padding: 20px 50px !important;
  color: #fff !important;
}
.search_ph i {
  font-size: 20px;
  padding: 0 15px 0 10px;
}
/* END placeholders ---------------------- */

/* FORM STYLES ----------------------------*/
.formwrap {
  max-width: 1000px;
  margin: 0 auto !important;
  background-color: #fff;
  padding: 40px 50px !important;
}

.formwrap .gfield_label,
.formwrap .gform-field-label {
  margin-top: 0px !important;
  color: #000;
  text-align: left;
}

._som .gform_wrapper .fieldset {
  margin-top: 8px !important;
}

.gform_wrapper.gravity-theme .gsection {
  padding: 0 16px 8px 0;
  margin: 20px 0;
  border-bottom: 2px solid #eee;
}

._som .gform_wrapper.gravity-theme .gform_button {
  margin: 0px auto;
  padding: 16px 80px !important;
  font-size: 100% !important;
  text-transform: uppercase !important;
}

.gform_wrapper.gravity-theme .gchoice {
  margin-top: 12px;
}

.gform_wrapper.gravity-theme .gfield-choice-input {
  vertical-align: top;
  margin-top: 5px;
}

.formwrap .gform_wrapper .gfield_required {
  color: #f0649c !important;
}

.formwrap input,
.formwrap textarea {
  background-color: #f5f5f5 !important;
  border-color: transparent !important;
  color: #000 !important;
  text-align: left !important;
}

.formwrap .gform_button,
.formwrap .login-submit input {
  background-color: #eb5a90 !important;
  border-color: #eb5a90 !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 32px !important;
  letter-spacing: 2px !important;
}

.formwrap legend {
  text-align: left;
}

body .gform_wrapper.gravity-theme .gform_validation_errors,
body .gform_wrapper .gform_body .gform_fields .gfield_error .validation_message,
body #gform_wrapper_1 .gform_body .gform_fields .gfield_error .validation_message,
body .gform_wrapper.gravity-theme .gform_validation_errors > h2,
body .gform_wrapper.gravity-theme .gfield_error label,
body .gform_wrapper.gravity-theme .gfield_error legend {
  color: #eb5a90;
  border-color: #eb5a90 !important;
}

body .gform_wrapper.gravity-theme .field_description_above .gfield_description {
  padding-top: 8px;
  padding-bottom: 8px;
}

.gform_wrapper .htmlcopy {
  font-size: 15px;
}

.gform_wrapper .htmlcopy ul {
  margin-left: 0px !important;
}

.gform_wrapper .htmlcopy li {
  margin-top: 0px !important;
  padding: 2px !important;
  list-style-position: inside !important;
}

.formwrap ::placeholder {
  color: #aaa !important;
  text-align: left;
}

.gfield_description {
  font-size: 90%;
  font-style: italic;
}

.gform_fields .gfield.product-edit-list .gchoice {
  background-color: #f0f0f0;
  color: #000;
  padding: 8px;
  font-weight: 700;
}

/* FORM STYLES - ACF ----------------------------*/

.acf-label .description {
  font-size: 80%;
}

/* -- END ACF -----------------------------------*/

.infobox {
  border: 2px solid #f0649c !important;
  padding: 20px !important;
  font-size: 15px;
  margin-top: 15px;
}

.infobox p {
  padding-bottom: 10px;
}

.infobox i {
  font-size: 200%;
}

.infobox.msg {
  display: flex;
  align-items: center;
}

.infobox.msg i {
  margin-right: 12px !important;
  color: #f0649c;
}

.infobox.alert {
  border: 0 !important;
  padding: 20px !important;
  background-color: #005a9c;
  font-size: 22px !important;
  margin-top: 15px;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.5;
}

.infobox.alert i {
  color: #fff !important;
}

.infobox.success {
  border: 2px solid #37ca17 !important;
}

.infobox.success i {
  color: #37ca17 !important;
}

.gpfup__droprea--maxed {
  display: none; /* Hide 'max uploads reached' on file upload - we only allow 1 so it's pointless and confusing */
}

/* CAROUSELS */
.mia_carousel_recipes .slick-center {
  transform: scale(1.1); /* Scale the centered image */
  transition: transform 0.3s ease; /* Smooth transition */
}
.mia_carousel_recipes .slick-track {
  padding: 50px 0 50px 0;
}
.mia_carousel_recipes .slick-slide {
  padding-right: 30px;
  padding-bottom: 50px;
}

.mia_carousel_featured_products .slick-center {
  transform: scale(1.3);
}
.mia_carousel_featured_products .slick-track {
  padding: 40px 0;
}

.mia_carousel_shelf .slick-slide {
  width: 300px;
  margin-right: 20px;
}
.mia_carousel_shelf .slick-track {
  padding: 20px 0;
}

.mia_carousel_recipes,
.mia_carousel_featured_products,
.mia_carousel_shelf {
  display: none; /* to avoid FOUC - gets set to visible after slick carousel inits - see carousels.js */
}

/* ALERTS */

.infobox {
  border: 2px solid #f0649c !important;
  padding: 20px !important;
  font-size: 15px;
  margin-top: 15px;
}

.infobox p {
  padding-bottom: 10px;
}

.infobox.msg {
  display: flex;
  align-items: center;
}

.infobox.msg i {
  margin-right: 12px !important;
  color: #f0649c;
}

.infobox.alert {
  border: 0 !important;
  padding: 20px !important;
  background-color: #005a9c;
  font-size: 22px !important;
  margin-top: 15px;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.5;
}

.infobox.alert i {
  font-size: 200%;
  color: #fff !important;
}

.mia-breadcrumb {
  margin: 14px 0 14px;
  font-size: 18px;
}
.mia-breadcrumb a {
  font-weight: 700;
}

.mia-product-image-wrap {
  width: 680px;
  height: 453px;
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fafafa;
}

.mia-product-image-wrap img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
}

.product-grid-item .product-text {
  padding-bottom: 50px; /* add space for verifiedbadge */
}

@media (max-width: 640px) {
  .mia-product-image-wrap {
    margin: 0 0 20px 0 !important;
    width: 100%;
    height: auto;
    background-color: none;
  }
  .single-product .product_links {
    text-align: center;
  }
  .single-product .nectar-button {
    width: 80%;
    margin-bottom: 10px;
  }
  .single-product .more-from-vendor .product-grid-item {
    min-height: auto;
  }
}

.product_company-social {
  display: flex;
  gap: 10px;
}
.product_company-social a {
  display: inline-block;
  text-align: center;
  padding-top: 12px;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  color: #fff;
  font-size: 160%;
  text-decoration: none;
}

.product-ph {
  margin-top: 0px;
  width: 100%;
  height: 453px;
  background-color: #f4f0f1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.product-ph.medium {
  width: 270px;
  height: 180px;
}

.product-ph .product-ph-imgwrap {
  width: 52% !important;
  height: 80% !important;
  background-color: #ccc;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-ph.medium .product-ph-imgwrap {
  width: 130px !important;
  height: 130px !important;
}

.category_tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
}
.category_tag a {
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none !important;
}

.product-ph img {
  height: 70% !important;
}

.more-from-vendor {
  margin: 80px 0 100px;
}
.more-from-vendor .mia-product-image-wrap {
  min-width: 300px;
  margin-right: 0px;
}
.more-from-vendor .mia-product-image-wrap img {
}

/* ADMIN STUFF */
body._som .nectar-button.mia-admin {
  position: absolute;
  top: -20px;
  background-color: #eeb310 !important;
  color: #fff !important;
  min-width: inherit !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  border-radius: 0px !important;
}

body._som .nectar-button.mia-admin .fa {
  color: #fff !important;
  font-size: 30px;
}

@media (max-width: 600px) {
  .mobile-nobr br {
    display: none;
  }
}

/* style main nav */
header nav {
  align-items: center;
}

header nav ul,
header nav ul li,
header nav ul li a {
  height: 100%;
}

header nav a span {
  display: flex;
  height: 100%;
  align-items: center;
}

.sf-menu li ul li a .menu-title-text:after,
body #header-outer[data-lhe="animated_underline"] #top nav > ul > li:not([class*="button_"]) > a .menu-title-text:after,
body #header-outer[data-lhe="animated_underline"] .nectar-header-text-content a:after {
  bottom: 0px !important;
  border-top: 4px solid #72c2ce;
}

._som .mia_search.search_mobile {
  position: fixed;
  top: 28px !important;
}
@media only screen and (max-width: 690px) {
  ._som .mia_search.search_mobile {
    max-width: 320px !important;
    margin-left: -140px !important;
  }
}
@media only screen and (max-width: 460px) {
  ._som .mia_search.search_mobile {
    max-width: 180px !important;
    margin-left: -100px !important;
  }
}

._som .mia_search.search_mobile form input {
  flex: 2 0 200px;
}

._som .mia_search {
  width: 100%;
}

._som .mia_search form label {
  width: 100%;
}

._som .mia_search form input,
._som.search .mia_search form input {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 20px !important;
  border: none !important;
  text-decoration: none !important;
  line-height: normal !important;
  max-height: 3em !important;
  flex: 2 0 360px;
}

._som .mia_search form button,
._som.search .mia_search form button {
  width: 30px;
  background: none !important;
  font-size: 18px !important;
  color: #fff !important;
  padding: 0 15px 0 10px;
  text-transform: uppercase;
  color: white;
  border: none;
  padding: 0.35em 0.75em !important;
  cursor: pointer;
  margin-left: auto;
}

._som .mia_search .search-widget-btn span,
._som.search .mia_search .search-widget-btn span {
  color: #fff !important;
  padding: 5px 0 5px 10px;
  background: none !important;
}

._som .mia_search form button .text {
  display: none !important;
}

._som .mia_search form button.search-widget-btn:hover {
  background: none !important;
  opacity: 1 !important;
  color: #eee;
}

/*hide default wp forgot password and register links on login form */
.gf_login_links {
  display: none !important;
}

/* PASSWORD RESET - ALSO USED FOR NEW REGISTRATIONS */
#password-lost-form-wrap fieldset {
  text-align: left;
}

#password-lost-form-wrap legend {
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.somfrp-lost-pass-form-text {
  padding: 10px 0 25px;
}

#password-lost-form-wrap .lostpassword-submit button {
  margin-top: 25px;
  font-weight: 700;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  font-size: 18px !important;
}

#password-lost-form-wrap label {
  font-weight: 700;
}

/* SLICK OVERRIDES AND CAROUSEL STUFF */

.slick-prev,
.slick-next {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 20%;
  bottom: -14px;
  z-index: 999;
  text-decoration: none;
  width: 50px;
  height: 50px;
}

.slick-prev svg,
.slick-next svg {
  width: 20px !important;
  z-index: 999;
  transition: transform 0.45s cubic-bezier(0.15, 0.75, 0.5, 1);
}

.slick-prev svg path,
.slick-next svg path {
  fill: #fff;
}

.slick-prev:before,
.slick-next:before {
  position: absolute;
  display: block;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #eeb310;
  border-radius: 100px;
  transition: transform 0.45s cubic-bezier(0.15, 0.75, 0.5, 1), opacity 0.45s cubic-bezier(0.15, 0.75, 0.5, 1);
}
.slick-next:before {
  background-color: #f0649c;
}

.slick-next {
  left: inherit;
  right: 20% !important;
}

.slick-prev:hover:before,
.slick-next:hover:before {
  transform: scale(1.15);
}

.slick-dots {
  margin: 0px;
  display: flex;
  justify-content: center;
  margin-top: 0px;
}

.slick-dots li {
  float: left;
  list-style: none;
  width: 26px;
  padding-right: 0px;
  height: 26px;
  border: 2px solid transparent;
  border-radius: 100px;
  position: relative;
  justify-content: center;
  align-items: center;
  display: flex;
  margin-right: 5px;
}

.slick-dots .slick-active {
  border: 2px solid #fff;
}
.slick-dots button:before {
  color: #fff !important;
}

.slick-dots button:before {
  content: "\f111";
  font-family: FontAwesome;
  color: #000;
  font-size: 10px;
}

.slick-dots button {
  width: 20px;
  height: 20px;
  border: 0;
  color: transparent;
  background-color: transparent;
  margin-left: -8px;
  line-height: 10px;
}

.slide_image {
  margin-top: 0px !important;
}

/* MAIN CAROUSEL TYPE */

.main_carousel_item {
  display: inline-block;
  float: left;
}

@media only screen and (max-width: 1200px) {
  .main_carousel_item {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media only screen and (max-width: 600px) {
  .main_carousel .slick-dots {
    margin-top: 10px !important;
  }
}

.main_carousel_item .slide_image {
  max-width: 680px !important;
  width: 66% !important;
  max-height: 450px !important;
  object-fit: cover;
  overflow-y: hidden;
}

.main_carousel_item .slide_wrapper {
  display: flex;
  border: 1px solid #01183f;
  max-width: 1100px;
}

.main_carousel_item .slide_content {
  width: 40% !important;
  margin: 20px 36px 0 36px;
  line-height: 1.4 !important;
  font-size: 15px;
}

@media only screen and (max-width: 800px) {
  .main_carousel_item .slide_wrapper {
    flex-wrap: wrap;
  }

  .main_carousel_item .slide_content {
    width: 100% !important;
    margin-bottom: 10px;
  }

  .main_carousel_item .slide_image {
    width: 100% !important;
    margin-top: 10px;
  }
}

.main_carousel_item .slide_content h2 {
  font-size: 26px !important;
  line-height: 1.1 !important;
}

.main_carousel_item .slide_content h3 {
  font-size: 20px !important;
  line-height: 1.1 !important;
}

.main_carousel_item .btn {
  margin: 12px 0;
  background-color: #004eb0;
  border-radius: 8px;
  padding: 12px 40px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  display: inline-block !important;
}

.more {
  margin: 12px 0;
  border-radius: 8px;
  padding: 12px 40px;
  text-decoration: none !important;
  font-weight: 700;
  display: inline-block !important;
  padding: 8px 40px;
  border: 2px solid #f0649c;
}

.main_carousel_item .slide_image {
}

/* TOGGLE PANEL */
body .toggle > div {
  background: transparent;
  box-shadow: none;
}
.toggle > .toggle-title {
  font-size: 30px !important;
}
.toggle > .toggle-title i {
  font-size: 120% !important;
}
.toggle > .toggle-title a {
  background: transparent !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
  padding-top: 8px !important;
  margin: 14px;
  color: #222 !important;
}
.toggle.open {
  border: 0 !important;
  background-color: #fdeef4;
  border-left: 10px solid #eb5a90 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10%;
}
.toggle-title a {
  text-decoration: none !important;
}
.toggle > .toggle-title a i {
  font-size: 120% !important;
  color: #efefef !important;
}
.toggle.open .toggle-title a i {
  color: #222 !important;
}

@media only screen and (max-width: 600px) {
  .toggle > .toggle-title a {
    font-size: 20px !important;
  }
}

.fancybox-bg {
  background-color: rgba(0, 0, 0, 0.7) !important;
}
.fancybox-close-small {
  background-color: #004eb0 !important;
}
.fancybox-close-small svg {
  color: #fff !important;
}
.fancybox-content {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
}

@media only screen and (max-width: 600px) {
  .awards_flex_wrapper {
    flex-wrap: wrap;
  }
}

/* NEWS PREVIEWS */
.news_preview {
  position: relative;
  max-width: 600px;
  display: flex;
  background-color: #2894d2;
  color: #000;
}

.news_preview_image_container {
  position: relative;
  height: 400px !important; /* Set your static height */
  width: 100% !important; /* Set the width to fill its parent */
  overflow-x: hidden; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical overflow */
  white-space: nowrap; /* Prevent child elements from wrapping */
  display: flex; /* Enable Flexbox on the container */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center image horizontally */
  flex: 1;
}

.news_preview_image_container img {
  height: 100% !important; /* Image height fills the container */
  width: auto !important; /* Image width adjusts automatically */
  max-width: none !important;
  object-fit: contain; /* Prevents distortion, keeps aspect ratio */
  margin: 0 !important;
}

.news_preview_image_container::after {
  content: ""; /* Required for pseudo-elements to render */
  position: absolute; /* Positions the gradient over the image */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, /* Starts completely transparent */ rgba(0, 0, 0, 0.7) /* Ends with a semi-transparent black overlay */);
}

.news_preview_text_container {
  flex: 1;
  padding: 20px 18px;
  position: relative;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}

.news_preview_text_container .mia_rose {
  width: 50px !important;
  height: 50px !important;
  position: absolute;
  left: -62px;
  top: 10px;
}

.news_preview_text_container .item_title {
  font-weight: 800;
  font-size: 30px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 34px;
}

.news_preview_text_container .item_more {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-weight: 800;
  color: #000;
}

/* RECIPE PREVIEWS */
.recipe-pic {
  width: 100%;
  border-radius: 50%;
}

.recipe_preview {
  position: relative;
  width: 400px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  color: #000;
  background-color: #fff;
  padding: 30px;
}

.recipe_preview a {
  text-decoration: none !important;
}

.recipe_preview a:hover {
  opacity: 0.8;
  text-decoration: none !important;
}

.recipe_preview_image_container {
  position: relative;
  height: 600px !important; /* Set your static height */
  width: 100% !important; /* Set the width to fill its parent */
  overflow-x: hidden; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical overflow */
  white-space: nowrap; /* Prevent child elements from wrapping */
  display: flex; /* Enable Flexbox on the container */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center image horizontally */
}

.recipe_preview_image_container img {
  height: 100% !important; /* Image height fills the container */
  width: auto !important; /* Image width adjusts automatically */
  max-width: none !important;
  object-fit: contain; /* Prevents distortion, keeps aspect ratio */
  margin: 0 !important;
}

.recipe_preview_text_container {
  flex: 1;
  padding: 16px 0px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.recipe_time {
  flex: none;
  display: flex;
  flex-direction: column;
  background-color: #005b9c;
  width: 70px !important;
  height: 70px !important;
  border-radius: 100%;
  color: #2a94d0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  justify-content: center;
}

.recipe_preview_text_container .item_title {
  font-weight: 700;
  font-size: 16px;
  color: #333;
}

.recipe_preview .more_button {
  width: 100%;
  color: #fff;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 16px;
}

.recipe_preview .more_button.item1 {
  background-color: #f0649c;
}

.recipe_preview .more_button.item2 {
  background-color: #eeb310;
}

.recipe_preview .more_button.item3 {
  background-color: #72c2ce;
}

.recipe_preview .more_button.item4 {
  background-color: #0756bd;
}

/* NEWS POSTS */
article.news {
  max-width: 1100px;
  margin: 0 auto 50px auto;
  padding: 0 60px;
}

/* ACF FORMS */
.acf-label label {
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px !important;
}

.acf-field .acf-input {
  max-width: 900px;
}

.acf-field.sm .acf-input {
  max-width: 200px;
}
.acf-field.md .acf-input {
  max-width: 300px;
}
.acf-field.lg .acf-input {
  max-width: 500px;
}
.categorychecklist-holder {
  max-height: initial !important;
}

/* TODO COMMENTS */
.todo {
  margin-top: 100px;
  font-size: 14px;
  padding: 20px;
  background-color: #d9ffc5;
}
.todo ul li {
  margin-top: 0;
  padding: 0;
}

/* CROPPER */
.cropper_wrapper {
  background-color: #f5f5f5;
  padding: 20px;
}

.cropper_specs {
  font-size: 11px;
  font-weight: 700;
  padding-left: 6px;
}

.cropper_wrapper .c_title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.cropper_wrapper .c_info {
  margin: 6px 0 14px 0;
  font-size: 15px;
}

.acf-cropper-overlay {
  position: fixed; /* Positions the element relative to the viewport */
  top: 0; /* Aligns to the top edge of the viewport */
  left: 0; /* Aligns to the left edge of the viewport */
  width: 100%; /* Spans the full width of the viewport */
  height: 100%; /* Spans the full height of the viewport */
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
  z-index: 9999; /* Ensures the overlay appears on top of other content */
  display: none; /* Hidden by default, can be toggled with JavaScript */
}

.acf-cropper-modal {
  /* dont use cropper-modal or it causes conflicts with cropper default css */
  background: #fff;
  padding: 0;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  flex-direction: column;
  z-index: 99999;
  position: fixed;
}
.acf-cropper-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Shifts the element back by half its width and height */
}

.acf-cropper-modal img {
  max-width: 100%;
  max-height: 70vh; /* keeps tall images under control */
}

.cropper-actions {
  display: flex;
  margin-left: 10px;
  gap: 8px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.cropper-actions .mia-button {
}

.acf-image-cropper-uploader label input[type="file"] {
  display: none; /* Hide the native file input */
}

.acf-image-cropper-uploader label {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  background-color: #f0f0f0;
  border-radius: 4px;
  /* Add any other desired styles */
}

.acf-image-cropper-uploader label:hover {
  background-color: #e0e0e0;
}

.acf-cropper-loading {
  margin-left: 1rem;
  font-style: italic;
  color: #555;
  font-size: 13px;
}

.acf-cropper-loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border: 2px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* hide all default ACF image fields */
.acf-field.acf-field-image {
  display: none;
}
