/* .wpgb-card-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 4px 3px 10px #e8e8e8 !important;
    padding: 0 !important;
} */
/*
    Colors

    Gold: #E9AA30
    Green: #4B9A8E

*/

button.no-focus:focus {
    background-color: #E8AA30 !important;
    border-color: #E8AA30 !important;
}

.hidden {
    display: none;
}

.wpgb-card-media-content .recipe {
    /* position: relative; */
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;

    background: #fff;
    border-radius: 12px;
    min-height: 350px;
    box-shadow: 0 0.3125rem 2.1875rem rgb(0 30 47 / 15%) !important;
    padding: 0 !important;
    white-space: initial !important;
}

.recipe .left, .recipe .right  {
    width: 50%;
}

.recipe .left {
    display: flex;
    align-items: center;
}

.recipe .right {
    background-position: center center;
    background-size: cover;
}

.featured-recipe-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 12px !important;
}

ul.recipe-nutrients {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px !important;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

ul.recipe-nutrients li {
    display: inline-block;
}

ul.recipe-nutrients li a {
    font-size: 14px;
    line-height: 1.25em;
    border-width: 3px;
    border-style: none;
    border-radius: 25px;
    text-align: left;
    padding: 0;
    width: 100%;
    max-width: 150px;
    margin: 0;
    display: inline-block;
    /* float: left; */
    cursor: pointer;
}

ul.recipe-nutrients li.low-phosphorus a, ul.recipe-nutrients li.medium-phosphorus a, ul.recipe-nutrients li.high-phosphorus a {
    border-color: #61988e;
    color: #61988e;
}

ul.recipe-nutrients li.low-sodium a, ul.recipe-nutrients li.medium-sodium a, ul.recipe-nutrients li.high-sodium a {
    border-color: #CA7E00;
    color: #CA7E00;
}

ul.recipe-nutrients li.low-potassium a, ul.recipe-nutrients li.medium-potassium a, ul.recipe-nutrients li.high-potassium a {
    border-color: #60529a;
    color: #60529a;
}

ul.recipe-nutrients li.low-protein a, ul.recipe-nutrients li.medium-protein a, ul.recipe-nutrients li.high-protein a {
    border-color: #29669f;
    color: #29669f;
}

.clearfix:before, .clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

.wpgb-card-media-content .recipes-label {
    font-size: 12px;
    color: #fff !important;
    text-transform: capitalize;
    font-weight: 400 !important;
    display: inline-block;
    padding: 0 10px !important;
    border-radius: 15px !important;
    margin-bottom: 3px !important;
    background-color: #4f9b8f; /* green */
    /* background-color: #CA7E00; gold */
}

.wpgb-card-media-content .recipes-label.meal_type {
    background-color: #CA7E00;
    /* gold */
}

.recipes-label.dietary_requirement {
    background-color: #4f9b8f;
}

h3.feature-recipe-title {
    margin-top: 0;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
    color: #666666 !important;
    line-height: 1.25em !important;
    display: block;
}

/* Clear Button */
.wpgb-facet-4 .wpgb-button.wpgb-reset {
    background-color: #4f9b8f;
}
.wpgb-facet-4 .wpgb-button.wpgb-reset[disabled] {
    display: none;
}

/* Nutritional Info Box */
.nutritional-info-container{
    margin:0;
    margin-bottom: 35px;
}

.nutrition-info-header{
    background-color:#4f9b8f;
    color:#fff!important;
    font-size: 20px!important;
}

.nutrition-info-header .right-col{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 100px;
}

.nutrition-info-header .right-col a.fl-button {
    border-radius: 0;
    border: none;
    display: inline-block;
    background: #e8aa30;
    font-weight: bold;
}

.nutrition-info-header .right-col a.fl-button:hover {
    background: rgba(232,170,48,0.85);
}

.nutrition-info-header h3 {
    color: #fff;
    font-size: 24px!important;
}

.cooking-tip{
    background-color:#e8aa30;
    color:#fff!important;
    font-size: 20px;
}

.nutritional-info-description {
    color: #fff;
    font-size: 18px;
}

.nutritional-info-description p {
    display: inline-block;
    margin-right: 20px;
    margin-top: 0;
    margin-bottom: 5px;
}

.nutritional-info-wrapper{
    padding: 0;
    margin:0;
    position: relative;
}

.nutritional-info-items{
    background-color: #f2f2f2;
    padding: 10px 0px;
    display: flex;
    font-size: 14px;
    flex-wrap: wrap;
}

.nutritional-item-wrapper {
    color: #4f9b8f;
    padding: 10px 35px;
    position: relative
}

.nutritional-item-wrapper:not(:first-child):after {
    content: "";
    left: 35px;
    right: 35px;
    height: 1px;
    background-color: #e9a837;
    position: absolute;
    top: 0
}

.nutritional-item-wrapper>div:first-child {
    font-weight: 700
}

.nutritional-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative
}

.nutritional-item i {
    position: absolute;
    left: calc(100% + 10px);
    top: 0;
    cursor: pointer
}

.nutritional-item-title {
    padding-right: 10px;
    max-width: 60%;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px
}

.nutritional-item:first-child .nutritional-item-title {
    font-size: 18px;
    overflow-wrap:initial;
}

.nutritional-item-data {
    word-break: break-word;
    margin-top: 0;
    margin-bottom: 5px;
    position: relative
}

.kkf-prep-cook-wrapper {
    padding-left: 75px;
    position: relative;
}

.kkf-prep-cook-wrapper i {
    position: absolute;
    color: #333;
    font-size: 3em;
    top: 18px;
    left: 0;

}

.kkf-prep-cook{
    font-size: 0.85em;
    color:#333;
}

/*mobile phone only (below tablet)*/
@media (max-width: 479px){
    .nutrition-info-header .right-col{
        display: block;
        min-height: 69px;
    }

}

/*tablet and above*/
@media (min-width: 480px){



}

@media (min-width: 480px) and (max-width: 767px){

}

/*all below small desktop*/
@media (max-width: 767px){

    /*only for the recipes */
    .featured-recipes-container .pp-content-post{
        margin: 0 0 18px;
    }

    .featured-recipes-shortcode.featured-recipes-container .recipe{
        width: 84%!important;
        margin: 0 8% 10px;
    }

    .featured-recipes-shortcode {
        display: block;
    }

    .recipe-content-container {
        width: 100%!important;
        display: block!important;
        margin: 0!important;
    }

    .nutritional-item-wrapper:not(:first-child):after {
        left:20px
    }

    .nutritional-item-wrapper {
        padding:10px 35px 10px 20px;
        width: 100%
    }

}

/*small desktop and above*/
@media all and (min-width: 768px) {
    .nutritional-item-wrapper:nth-child(2):after {
        display:none
    }

    .nutritional-item-wrapper {
        width:49%
    }

      /*only for the recipes */
    .featured-recipes-container .pp-content-post{
        width:47%;
    }

}

/*medium desktop and above*/
@media (min-width: 992px) {

    .recipe-content-container {
        margin-left:-12.5%;
        margin-top:80px;
        box-shadow: 8px 3px 8px 0px rgba(0,0,0,.12);
        width: 48%;
        margin-bottom: 80px;

    }

    .nutritional-item-wrapper:nth-child(3):after {
        display:none
    }

    .nutritional-item-wrapper {
        width:33%
    }

    /*only for the recipes */
    .featured-recipes-container .pp-content-post{
        width:32%;
    }
}

@media (min-width: 1200px){

    .kkf-prep-cook-wrapper {
        padding-left: 75px;
        position: relative;
    }

    .kkf-prep-cook-wrapper i {
        position: absolute;
        top: 18px;
        left: 0;
    }
}

/* Selectize */

.selectize-control.loading {
    text-align: left !important;
}


.selectize-control .selectize-dropdown > div {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.selectize-control .selectize-dropdown .by {
  font-size: 11px;
  opacity: 0.8;
}
.selectize-control .selectize-dropdown .by::before {
  content: 'by ';
}
.selectize-control .selectize-dropdown .name {
  font-weight: bold;
  margin-right: 5px;
}
.selectize-control .selectize-dropdown .title {
  display: block;
}
.selectize-control .selectize-dropdown .description {
  font-size: 12px;
  display: block;
  color: #a0a0a0;
  white-space: nowrap;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
}
.selectize-control .selectize-dropdown .meta {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 10px;
}
.selectize-control .selectize-dropdown .meta li {
  margin: 0;
  padding: 0;
  display: inline;
  margin-right: 10px;
}
.selectize-control .selectize-dropdown .meta li span {
  font-weight: bold;
}
.selectize-control::before {
  -moz-transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
  content: ' ';
  z-index: 2;
  position: absolute;
  display: block;
  top: 12px;
  right: 34px;
  width: 16px;
  height: 16px;
  background: url(/wp-content/themes/astra/assets/images/spinner.gif);
  background-size: 16px 16px;
  opacity: 0;
}
.selectize-control.loading::before {
  opacity: 0.4;
}
.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  background-size: 16px 16px;
  margin: 0 3px 0 0;
}
.icon.fork {
  background-image: url(images/repo-fork.png);
}
.icon.source {
  background-image: url(images/repo-source.png);
}

.selectize-item-container {
    padding: 8px;
}

.modal__content label {
    font-weight: bold;
}

.modal__content label .required {
    color: red !important;
}

.modal__content .control {
    margin-bottom: 20px;
}

.modal__content p.subtext {
    font-style: italic;
    font-size: small;
    margin: 0;
}


.alert-message {
    display: none;
}

.alert-message-title {
    background-color: #4B9A8E;
    color: white;
    margin: 0;
    padding: 6px 12px;
}

.alert-message-title a {
    color: white;
}

.alert-message-body {
    margin: 0;
    padding: 6px 12px;
}

.elementor-element-8f62902:hover,
.elementor-element-c555cf1:hover {
    cursor: pointer;
}

.meal-plan-days h4 {
    color: #4B9A8E;
    font-weight: bold;
}

.modal__footer {
    padding-bottom: 15px;
}

/* .modal__footer .modal__btn.modal-close {
    margin-top: -77px;
} */

.akf-card-button-cluster {
    display: flex;
    flex-direction: row;
    justify-content: start;
    flex-wrap: nowrap;
}

/* Meal plan single page */
.day-container {
    margin-bottom: 5px !important;
}

.meal-totals, .all-meal-totals {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 7px;
    background-color: #f5f5f5;
}

.meal-totals p, .all-meal-totals p {
    margin-bottom: 0 !important;
}

.meal-totals {
    margin-bottom: 15px;
}

textarea#snacks {
    border: 2px solid #4F9D8F;
    height: 90px;
}

.add-additional-item-button {
    border-radius: 7px !important;
    padding: 5px 10px !important;
    font-size: 12px !important;
    /* margin-left: 7px !important; */ /* See AKFPRJ-116 */
}

.add-additional-item-button:focus,
.add-additional-item-button:hover {
    background-color: #0274be !important;
    border-color: #0274be !important;
}

.item-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 5px !important;
    margin-bottom: 15px !important;
    align-items: center;
}

.additional-item-name {
    width: 48% !important;
    margin-top: 0 !important;
    line-height: 15px !important;
}

.additional-item-comments {
    width: 48% !important;
    margin-top: 0 !important;
    line-height: 15px !important;
}

.additional-item-delete {
    width: 4% !important;
    margin-top: 0 !important;
    line-height: 15px !important;
    padding-left: 7px;
    font-size: 20px;
}

.additional-item-delete:hover {
    cursor: pointer;
}

.meal-type-labels {
    display: inline-block;
    font-size: 12px;
    margin-top: 4px;
    border-radius: 12px;
    border: 1px solid lightgray;
    padding: 2px 10px;
}

.dropdown-thumb {
    float: left;
}

.print-render-container {
    /* display: block; */
    display: none;
}

@media print {
    /* All your print styles go here */
    /* #header, #footer, #nav { display: none !important; }  */
    #wpadminbar, .skip-link, [data-elementor-type="header"], [data-elementor-type="footer"] {
        display: none !important;
    }

    .hide-on-print {
        display: none;
    }

    .print-render-container {
        display: block;
    }

    hr {
        background-color: lightgray;
        margin-bottom: 20px;
    }

    h2 {
        margin-bottom: 15px;
    }

}

.add-recipe-to-meal-plan-modal-button:focus {
    /* color: inherit !important; */
    background-color: #E8AA30 !important;
    border-color: #E8AA30 !important;
}

.add-resource-to-toolkit-modal-button:focus {
    background-color: #E8AA30 !important;
    border-color: #E8AA30 !important;
}

.fa-question-circle.open-how-toolkits-work:hover {
    cursor: pointer;
}
/* This is used for the single toolkit pages... it uses the same gridbilder grid as the find resource page, so the "add to toolkit" button would be redundant if it were shown on selected resources on the toolkit page itself */
body.single-toolkit .akf-card-button-cluster {
    display: none;
}

.additional_items .usda-link {
    display: inline-block;
    font-size: 12px;
}

.additional_items p {
    /* padding-top: 1em; */ /* See AKFPRJ-116 */
    font-size: 14px;
    margin-bottom: .5em;
}

.nutrient-disclaimer {
    display: block;
    font-size: 11px;
}

.delete-toolkit-button-modal:hover {
    cursor: pointer;
}

/* START updated input styling for edit meal plan TDA 20211006 */

.additional_items_relation .item-row {
    /* for abspos of delete icon */
    position: relative; 
    padding-right: 40px;
}

.additional_items_relation .selectize-control.single .selectize-input {
    color: #303030;
    font-family: inherit;
    font-size: 13px;
}

.additional_items_relation .selectize-control.single .selectize-input > input {
    width: 100% !important;
    color: #303030;
    font-family: inherit;
    font-size: 13px;
}

.additional_items_relation .selectize-control.single .selectize-input > input::-moz-placeholder,
.additional-item-relation-grams::-moz-placeholder,
.additional-item-relation-comments::-moz-placeholder {
    color: #8f8f8f !important; 
    opacity: 1 !important; 
    font-size: 13px !important;
    font-weight: normal !important;
}
.additional_items_relation .selectize-control.single .selectize-input > input:-ms-input-placeholder,
.additional-item-relation-grams:-ms-input-placeholder,
.additional-item-relation-comments:-ms-input-placeholder { 
    color: #8f8f8f !important; 
    font-size: 13px !important;
    font-weight: normal !important;
}
.additional_items_relation .selectize-control.single .selectize-input > input::-webkit-input-placeholder,
.additional-item-relation-grams::-webkit-input-placeholder,
.additional-item-relation-comments::-webkit-input-placeholder  { 
    color: #8f8f8f !important; 
    font-size: 13px !important;
    font-weight: normal !important;
}

.additional-item-relation-comments {border: 1px solid red;}
.additional_items_relation .selectize-control.single .selectize-input:after,
.additional_items_relation .selectize-control.single .selectize-input:before {
    display: none;
}

.additional_items_relation .selectize-control.single {
    flex: 0 0 40%;
    padding-right: 10px;
    height: auto;
}

.additional-item-relation-grams {
    border: 1px solid #d0d0d0 !important;
    display: inline-block !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative;
    z-index: 1;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 10%) !important;
    border-radius: 3px !important;
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    background: #fff !important;
    padding: 0 8px 0 !important;
}

.additional-item-relation-grams-wrapper {
    flex: 0 0 20%;
    position: relative;
}

.daily-meal-plan-heading {
    display: inline;
}

.daily-meal-plan-heading + .nutrition-hover {
    position: relative;
    left: 10px;
    top: -3px;

}

.meal-totals {
    display: none;
    visibility: hidden;
}

.all-meal-totals h6 {}

.nutrition-hover {
    cursor: pointer;
}

.nutrition-hover.disabled {
    opacity: .25;
    cursor: default;
}

.ui-tooltip .nutrition-facts {
    border: 1px solid #000 !important;
    padding: 5px 5px 20px 5px;
}

.ui-tooltip .nutrition-facts h1 {
    font-size: 28px;
    font-weight: bold;
}

.ui-tooltip .nutrition-facts table,
.ui-tooltip .nutrition-facts tr,
.ui-tooltip .nutrition-facts td {
    border: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.ui-tooltip .nutrition-facts td {
    border-bottom: 1px solid black;
    padding: 6px 0 4px !important;
}

.ui-tooltip .nutrition-facts .calories td {
    font-weight: bold;
    font-size: 20px;
    border-bottom: 4px solid black;
}

.ui-tooltip .nutrition-facts td + td {
    font-weight: bold;
    text-align: right;
}

.ui-tooltip .nutrition-facts .calories td + td {
    font-size: 28px;
}

ul.daily_total{
    list-style: none;
    margin: 0;
    column-count: 2;
    font-size: 18px;
}

ul.daily_total li {
    padding: 0;
    line-height: 1.8;
}

ul.daily_total span.nutrient {
    font-weight: 700;
    display: inline-block;
    width: 60%;
}

.additional-item-relation-comments {
    flex: 0 0 40%;
    margin-left: 10px;
    border: 1px solid #d0d0d0 !important;
    display: inline-block !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative;
    z-index: 1;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 10%) !important;
    border-radius: 3px !important;
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    background: #fff !important;
    padding: 0 8px 0 !important;
}

span.grams-text {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -15px;
    font-size: 13px;
}

span.grams-text + .additional-item-delete {
    position: absolute;
    right: 0;
}

/* END updated input styling for edit meal plan TDA 20211006 */

/* AKFPRJ-143 style for new page hero: */
.postid-86500 .elementor-2701 .elementor-element.elementor-element-6e61b00:not(.elementor-motion-effects-element-type-background) {
    background-position: center right;
    background-size: contain;
    background-color: #002c51;
}

@media screen and (max-width: 600px) {
    .postid-86500 .elementor-2701 .elementor-element.elementor-element-6e61b00:not(.elementor-motion-effects-element-type-background) {
        background-image: url(/wp-content/uploads/2022/02/AKF-bb-hero-mobile.jpg);
        background-size: 100%;
    }

    .postid-86500 .elementor-2701 .elementor-element.elementor-element-6e61b00:not(.elementor-motion-effects-element-type-background) > .elementor-container{
        min-height: 0;
        padding-bottom: 156%;/*aspect ratio of mobile image*/
    }
}
/* END AKFPRJ-143 */


/* AKFPRJ-189 */
#meal-selection {
    border: 2px solid #4F9D8F;
    border-radius: 3px;
    font-size: 13px;
    line-height: 18px;
    -webkit-font-smoothing: inherit;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 10%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 10%);
    padding: 8px 6px !important;
    -webkit-appearance: none;
    background: url('/wp-content/uploads/2022/10/akfdropdown.svg') 98% center no-repeat #fff;
    background-size: auto 5px;
}
#meal-selection:hover,
#meal-selection:focus,
#meal-selection:focus-visible {
    border: 2px solid #4F9D8F !important;
}
#meal-selection::placeholder {
    color: #bababa;
}
#days-selection-checkboxes {
    display: flex;
    justify-content: space-between;
}
.choose_meal_day {
    width: 100%;
}
.choose_meal_day label {
    width: 92%;
    color: #fff !important;
    background-color: #4F9D8F !important;
    border-color: #4F9D8F;
    display: inline-block;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.choose_meal_day input[type=checkbox] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
    color: #fff;
    background-color: #4e9d8f !important;
    border-color: #4e9d8f !important;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 2px solid #4e9d8f !important;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.choose_meal_day input[type=checkbox]:checked + label {
     background-color: #fff !important;
    border: 2px solid #4e9d8f;
     color: #4e9d8f !important
}
/* END AKFPRJ-189 */

/**
  AKFPRJ-162 - Elementor PDF Settings
  This is replicated in the plugin's CSS settings: wp-admin/admin.php?page=rtw_pgaepb&rtw_pgaepb_tab=rtw_pgaepb_css
  Added here for version control and code review
 */
/*
    .recipe-print {
        page-break-before: auto;
    }

    ul.daily_total monday li span.value {
        padding-left: 2em;
    }

    .modal.micromodal-slide.update-meal-plan,
    .modal.micromodal-slide.update-toolkit {
        display: none !important;
    }

    .hide-pdf {
        display: none !important;
    }
}

*/