/* Jump Buttons (modified from RM theme) */

.recipe-link,
.wprm-recipe-link {
    font-family: 'Reem Kufi', sans-serif;
    /*background-color: #d01b6a;*/
    /*color: #fff;*/
    font-weight: 600;
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid #d01b6a;
    border-radius: 12px;
    padding: 10px 16px 7px 16px;
    text-decoration: none !important;
    margin-right: 12px;
}

.recipe-link:hover {
    color: #fff;
    background-color: #d01b6a;
}

.wprm-recipe-link {
    color: #d01b6a;
    background: none;
    border: 1px solid #e8e8e8;
}


/* Menu Pairing (pulled from RM theme) */

.menu-pairing-recipes-holder {
    overflow: hidden;
}

.menu-pairing-recipes-holder .recipe-index-items article:nth-of-type(4n+1) {
    clear: both !important;
}

.menu-pairing-recipes-holder .recipe-index-items article:nth-of-type(4n) {
    margin-right: 0% !important;
}

.menu-pairing-recipes-holder .recipe-index-items article {
    width: 23.5%;
    margin-right: 2%;
    float: left;
    margin-bottom: 25px;
}

.menu-pairing-recipes-holder .recipe-index-items article div {
    margin-bottom: 18px;
}

.menu-pairing-recipes-holder .recipe-index-items article img {
    vertical-align: middle;
}

.menu-pairing-recipes-holder h2 {
    font-size: 18px;
}

.menu-pairing-recipes-holder h2 a {
    color: #d9272f;
    text-decoration: underline;
    font-weight: bold;
}

.menu-pairing-recipes-holder .recipe-index-items article h2 {
    font-size: 16px;
    margin-bottom: 0;
}

.menu-pairing-recipes-holder .recipe-index-items article h2 a {
    /*color: #d9272f;*/
    text-decoration: none !important;
    font-weight: 600;
    color: #291f1e !important;
}

@media only screen and (max-width: 800px) {
    .menu-pairing-recipes-holder .recipe-index-items article:nth-child(2n+1) {
        clear: both;
    }

    .menu-pairing-recipes-holder .recipe-index-items article:nth-child(4n+1) {
        clear: none;
    }

    .menu-pairing-recipes-holder .recipe-index-items article:nth-child(2n) {
        margin-right: 0%;
    }

    .menu-pairing-recipes-holder .recipe-index-items article {
        width: 49%;
    }
}


/* Pin Image */

.pin-image,
.visuallyhidden {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0px;
    width: 0px;
}

/* List Wrapper */

.list-wrapper {
    /*background: #e8e8e8;*/
    /*padding: 1px 40px;*/
    background-color: #f4f4f4;
    padding: 25px 25px 20px 25px;
    margin-bottom: 25px;
}

.list-wrapper h2 {
    margin: 0 0 12px !important;
    /*font-size: 120%;*/
    /*letter-spacing: 0;*/
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 25px;
}


.list-wrapper ul {
    margin: 0 !important;
}

.list-wrapper ul li {
    margin: 0 0 0 20px;
    list-style-type : none;
    color: #291f1e;
    margin-bottom: 0.5em;
    line-height: 1.5em;
    font-family: 'Rubik', sans-serif;
    font-size: 23px;
}

/*.list-wrapper ul li::before {*/
    /*content: '\25ba';*/
    /*font-size: 60%;*/
    /*vertical-align: middle;*/
    /*margin-right: 12px;*/
/*}*/

.list-wrapper ul li::before {
    content: '\16eb';
    font-size: 120%;
    vertical-align: middle;
    margin-right: 12px;
}

/* Pairings */

.menu-pairing-recipes-holder {
    overflow: hidden;
}

.menu-pairing-image img {
    margin: 0;
}

.menu-pairing-title {
    margin-top: 0;
}

/* Subscribe CTA */

.subscribe-cta {
    width: 100%;
    box-sizing: border-box;
    padding: 28px 40px;
    vertical-align: top;
    color: #fff;
    background: #d00868;
    margin: 40px 0;
    text-align: center;
}

.subscribe-cta-header {
    margin: 0;
    font-size: 140%;
}

body.single h2.subscribe-cta-header {
    vertical-align: top;
    font-size: 24px !important;
    color: #fff;
    line-height: 1.7;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif !important;
    font-weight: 400;
    letter-spacing: 0px;
    text-transform: none;
}

.subscribe-cta .subscribe-cta-text {
    /*margin: 4px 0 12px;*/
    margin: 0 0 12px;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
    font-size: 17px;
    letter-spacing: 0px;
    line-height: 1em;
}


.subscribe-cta .formkit-form {
    margin: 0 auto !important;
}

.subscribe-cta .formkit-fields {
    justify-content: space-between;
}

.subscribe-cta input,
.subscribe-cta button {
    /*border-radius: 0 !important;*/
    border: 0 !important;
    height: 48px;
    line-height: 48px !important;
    padding: 0 16px !important;
}

.subscribe-cta button span {
    padding: 0 !important;
    color: #000;

}

.formkit-input {
    font-size: 16px;
    letter-spacing: 0px;
    color: rgb(0, 0, 0);
}

.formkit-form .formkit-submit > span {
    font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
    letter-spacing: 0px;
    font-size: 15px;
    font-weight: 600;
    color: #fff !important;
}

/*Recipe Post Page Bottom Newsletter Form*/

.formkit-form[data-uid="c218bc81bc"] .formkit-fields {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 auto;
}

.formkit-form[data-uid="c218bc81bc"] * {
    box-sizing: border-box;
}

.formkit-form[data-uid="c218bc81bc"] .formkit-submit > span {
    font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
    letter-spacing: 0px;
    font-size: 15px;
    font-weight: 600;
    color: #000 !important;;
}

.formkit-form[data-uid="c218bc81bc"] .formkit-field,
.formkit-form[data-uid="c218bc81bc"] .formkit-submit {
    margin: 0 0 15px 0;
    -webkit-flex: 1 0 100%;
    -ms-flex: 1 0 100%;
    flex: 1 0 100%;
}

.formkit-form[data-uid="c218bc81bc"] .formkit-button,
.formkit-form[data-uid="c218bc81bc"] .formkit-submit {
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 15px;
    overflow: hidden;
    padding: 0;
    position: relative;
    vertical-align: middle;
}

.formkit-form[data-uid="c218bc81bc"] .formkit-alert {
    background: #f9fafb;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    list-style: none;
    margin: 25px auto;
    padding: 12px;
    text-align: center;
    width: 100%;
}

.formkit-form[data-uid="c218bc81bc"] .formkit-alert:empty {
    display: none;
}



@media screen and (min-width: 768px) {
    .subscribe-cta .formkit-form .formkit-field,
    .subscribe-cta .formkit-form .formkit-submit {
        flex: 0 0 30% !important;
        margin: 0;
    }
}

.subscribe-cta .formkit-form .formkit-submit {
    background: #ffd9e8 !important;
    flex-basis: 36% !important;
}

.subscribe-cta .formkit-submit:hover {
    opacity: 0.8;
}

.subscribe-cta .formkit-submit:hover > span {
    background: transparent !important;
}

/* Category Grid */

section.category-grid {
    display: inline-block;
    width: 100%;
    border-bottom: none;
    margin-bottom: 0;
}

.category-grid article {
    float: left;
    width: 31.6%;
    margin-bottom: 40px;
    padding: 0;
    margin-right: 2.6%;
    margin-left: 0px;
}

.category-grid article div a img {
    width: 100%;
}

.category-grid article:nth-of-type(3n+1) {
    clear: both;
}

.category-grid article:nth-of-type(3n) {
    margin-right: 0;
}

.category-grid article div {
    margin-bottom: 18px;
}

.category-grid article.first {
    clear: none;
}


.category-item {
    margin-bottom: 16px;
}

.category-item-image-link img {
    display: block;
    margin: 0;
}

.category-item .category-item-title {
    margin: 8px 0 0;
    font-size: 80%;
    line-height: 1.2;
    text-align: center;
}

.category-item .category-item-title-link {
    color: #333;
}

@media only screen and (max-width: 480px) {

    .category-grid article:nth-of-type(2n+1) {
        clear: both;
        margin-right: 2.6%;
    }

}

@media only screen and (max-width: 480px) {

    .category-grid article:nth-of-type(3n+1) {
        clear: none;
    }

}

@media only screen and (max-width: 480px) {

    .category-grid article {
        margin-right: 0;
        text-align: center;
    }

}

@media only screen and (max-width: 480px) {

    .category-grid article {
        width: 48.7%;
    }

}
