@media only screen and (max-width: 979px) {
    #tophat {
        margin-top: 49px;
    }
}
#welcome .feature {
    background-position: top center;
    background-size: contain;
}

#welcome .welcome-wrapper {
    position: relative;
}

#welcome .slick-prev-welcome {
    position: absolute;
    height: 90%;
    width: 50%;
    left: 10px;
    top: 0;
    margin-top: -10px;
    z-index: 9999;
    cursor: pointer;
    display: none;
}

#welcome .slick-prev-welcome i,
#welcome .slick-next-welcome i {
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 8px;
    position: relative;
    top: 45%;
}

#welcome .slick-next-welcome {
    position: absolute;
    height: 90%;
    width: 50%;
    right: 10px;
    top: 0;
    margin-top: -10px;
    z-index: 9999;
    cursor: pointer;
    text-align: right;
    display: none;
}

.slickCarousel-loader {
    display: block;

}

.slickCarousel.slick-initialized + .slickCarousel-loader {
    display: none;
}

.slickCarousel.slick-initialized + .slickCarousel-loader + .slick-prev-welcome {
    display: block;
}

.slickCarousel.slick-initialized + .slickCarousel-loader + .slick-next-welcome {
    display: block;
}
/* Comments Form */

.comments-box .comment-input,
.comments-box .form-group *,
.comments-box .email-input,
.comments-box .name-input {
    width: 100%;
}

.comments-box .form-control {
    margin-bottom: 10px;
}


/* Comments List */

.comments-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Comment Item */

.comment-single {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-single:before {
    content: '';
    padding: 0;
}

.comment-single .comment-single {
    padding-left: 40px;
}

.comment-single .comment-container {
    padding: 15px 10px;
    border-bottom: 1px solid #ddd;
}

.comments-list li .comment-text {
    display: block;
}

.comments-list .comment-form {
    display: none;
}

.comment-text p {
    margin: 0;
}

.comment-heading {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
}

.comment-heading .title {
    font-weight: 700;
    text-decoration: none;
    color: #288ce4;
    font-size: 13px;
}

.comment-heading .meta {
    margin-left: 5px;
    font-weight: 500;
    font-size: 12px;
    color: #a5b2b9;
}

/* Comment Item - Reply Form */

.comment-single .comment-form {
    margin: 20px 0 0 0;
    padding-bottom: 0;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    margin: 0;
}

/* Comment Item - Meta Buttons */

.meta-buttons {
    margin-top: 10px;
}

.meta-buttons a {
    font-weight: bold;
    font-size: 11px;
    padding: 0 15px 0 0;
    color: #288ce4;
}

.meta-buttons .comment-votes {
    display: inline-block;
    margin-right: 15px;
    display: none;
}

.meta-buttons .comment-votes a {
    padding: 0 0 0 2px;
}

.meta-buttons .comment-votes .count {
    color: #a5b2b9;
    font-weight: 500;
    font-size: 13px;
    margin-right: 2px;
}

.meta-buttons .static-label {
    font-weight: bold;
    font-size: 11px;
    color: #a5b2b9;
}


/* Comment Item - Share/Options Dropdown */

.comment-options {
    float: right;
    margin-left: 20px;
}

.comment-options > li {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-options > li:before {
    content: '';
    padding: 0;
}

.comment-options > li > a {
    font-weight: bold;
    font-size: 11px;
    color: #288ce4;
    padding: 5px 10px;
}

/* Global Overrides */
img.left {
    float: left;
    margin: 0 2rem 1rem 0;
}

img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    img.left {
        float: none;
        text-align: center;
    }
}

/* Press Mentions */
.pressMentions {
    align-items: center;
    margin-bottom: 3rem;
}
@media only screen and (min-width: 768px) {
    .pressMentions {
        margin: 3rem 0;
    }
}
.pressMentions .pressMentions-logos {
    align-items: center;
}
.pressMentions .pressMentions-logos .logo {
    /*-ms-flex-preferred-size: 17%;*/
    max-width: 17%;
    box-sizing: border-box;
    -webkit-box-flex: 0 1 17%;
    -ms-flex: 0 1 17%;
    -webkit-flex: 0 1 17%;
    flex: 0 1 17%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    text-align: center;
}
.pressMentions .pressMentions-logos .logo:nth-child(3), .pressMentions .pressMentions-logos .logo:nth-child(8) {
    /*-ms-flex-preferred-size: 31%;*/
    max-width: 31%;
    -webkit-box-flex: 0 1 31%;
    -ms-flex: 0 1 31%;
    -webkit-flex: 0 1 31%;
    flex: 0 1 31%;
}
.pressMentions .pressMentions-logos img {
    width: 60%;
    text-align: center;
}
@media (max-width: 767px) {
    .pressMentions .pressMentions-logos .logo {
        max-width: 50%;
        -webkit-box-flex: 0 1 50%;
        -ms-flex: 0 1 50%;
        -webkit-flex: 0 1 50%;
        flex: 0 1 50%;
        margin: 1em auto;
    }
    .pressMentions .pressMentions-logos .logo:nth-child(3), .pressMentions .pressMentions-logos .logo:nth-child(8) {
        max-width: 100%;
        -webkit-box-flex: 0 1 100%;
        -ms-flex: 0 1 100%;
        -webkit-flex: 0 1 100%;
        flex: 0 1 100%;
    }
    .pressMentions-label {
        text-align: center;
        padding: 2rem 0;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .pressMentions .pressMentions-logos img {
        width: 90%;
    }
    .pressMentions-label {
        font-size: 0.8em;
    }
}

/* Video Icon */
.thumb.video .image {
    position: relative;
}

.thumb.video .image a:before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: url(../images/icon-play.svg) no-repeat 0 0 ;
    background-size: cover;
    opacity: 0.7;
    left: 50%;
    top: 50%;
    margin: -40px 0 0 -40px;
}

.video-icon:before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: url(../images/icon-play.svg) no-repeat 0 0 ;
    background-size: cover;
    opacity: 0.7;
    left: 50%;
    top: 50%;
    margin: -40px 0 0 -40px;
}

/* Slick Tweaks */
.slickCarousel {
    display: none;
}

.slickCarousel.slick-initialized {
    display: block;
}

/* Instragram */

.instagramGallery {
    position: relative;
    padding: 0 20px;
}

.instagramGallery .slide {
    padding: 20px 15px;
}

.instagramGallery .slide {
    position: relative;
}

.instagramGallery .slide .video:before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: url(../images/icon-play.svg) no-repeat 0 0 ;
    background-size: cover;
    opacity: 0.7;
    left: 50%;
    top: 50%;
    margin: -40px 0 0 -40px;
}

.instagramGallery img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.instagramGallery .slick-prev {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 999;
    font-size: 24px;
    cursor: pointer;
}


.instagramGallery .slick-next {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 999;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .instagramGallery {
        padding: 0;
    }

    .instagramGallery .slick-next,
    .instagramGallery .slick-prev {
        display: none;
    }
}

/* Footer Nav */
footer {
    padding: 2rem 0;
}

.footer-nav {
    width: 100%;
}

.footer-nav > li {
    float: left;
    width: 50%;
}

.footer-nav > li > a {
    display: none;
}

.footer-nav > li li {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .footer-nav > li {
        float: none;
        width: 100%;
        text-align: center;
    }
}

/* Social Promo */
.socialPromo {
    background-color: #fff;
    margin-bottom: 2rem;
    padding: .1rem 1.5rem 1.5rem 1.5rem;
    -webkit-box-shadow: 3px 4px 5px rgba(173,172,172,0.2);
    box-shadow: 3px 4px 5px rgba(173,172,172,0.2);
    border: solid 1px #eaead2;
}

.socialPromo-social {
    overflow: hidden;
}

.socialPromo-socialHeadline {
    margin: 2rem 0 .5rem;
}

.socialPromo-social div {
    float: left;
    margin: 0 12px 0 0;
    font-size: 20px;
}

.socialPromo .newsletterSignup input[type=text] {
    color: #8a1e14;
    border: 1px solid #8a1e14;
    padding: 5px 5px 4px 5px;
    vertical-align: middle;
    float: left;
    width: auto;
}

.socialPromo .newsletterSignup input[type=submit] {
    background: #fba906;
    color: #fff;
    font-family: 'roboto_slabbold';
    border: 0;
    padding: 7px 10px;
    vertical-align: middle;
    font-size: 14px;
    letter-spacing: 0.05em;
    cursor: pointer;
}

/* Popular Content */
.popularContent {
    background-color: #fff;
    margin-bottom: 2rem;
    padding: .1rem 1.5rem 1.5rem 1.5rem;
    -webkit-box-shadow: 3px 4px 5px rgba(173,172,172,0.2);
    box-shadow: 3px 4px 5px rgba(173,172,172,0.2);
    border: solid 1px #eaead2;
}

/* Rich Text */
.richText img {
    max-width: 100%;
    width: auto;
    height: auto;
}

/* Recipe Box */
.recipeBox-remove {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
}

.thumb {
    position: relative;
}

/* Recipe Index Search */
.searchFilter {
    padding: 20px;
    border: solid 1px #ebebd5;
    margin: 0 0 1.5rem 0;
    background: #fff;
}

.searchFilter-headline {
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 5px;
    font-family: 'roboto_slablight', serif;
}

.searchFilter-group {
    margin-bottom: 2rem;
}
.searchFilter-group label {
    font-size: 11px;
    color: #3f3939;
    font-family: 'roboto_slablight', serif;
}
@media only screen and (min-width: 48em) {
    .searchFilter-group label.larger {
        font-size:13px;
        text-transform: uppercase;
    }
}
.searchFilter-group label img {
    max-height: 16px;
    margin-right: 5px;
    width: auto;
    vertical-align: middle;
}
.searchFilter-group label:hover, .searchFilter-group input[type=checkbox]:checked+label {
    color: #ce1f28;
    cursor: pointer;
}
.searchFilter-group input[type=checkbox]+label {
    margin-left: 20px;
}
.searchFilter-group input[type=checkbox]+label:before {
    top: 0;
    margin-left: -23px;
    margin-right: 5px;
}
.searchFilter-options, .searchFilter-group > label {
    margin: 0;
    padding: 0;
    list-style: none;
}

.searchFilter-options li {
    margin: 0 0 0 24px;
    padding: 0;
    list-style: none;
    font-size: 12px;
}
.searchFilter-options li:before {
    content: '';
    padding: 0;
    margin-left: -24px;
}
@media only screen and (max-width: 767px) {
    #recipeSearchForm h3 {
        margin: 0 0 1rem 0;
    }
    .searchFilter-group.buttons {
        display: none;
    }
    .searchFilter-group {
        margin-bottom: 1rem;
    }
    .searchFilter-group.col-half {
        width: 55%;
    }
    .searchFilter-group.col-half.first {
        float: left;
    }
    .searchFilter-group.col-half.last {
        margin-left: 45%;
    }
    .searchFilter-group.collapsible {
        margin-bottom: 0.5rem;
    }
    .searchFilter-options li {
        width: calc(49% - 24px);
        display: inline-block;
    }
}
#recipeSearchResults .mix {
    display: block;
}

.giveawayPicker {
    background: #fff;
    border: 3px solid #ce1f28;
    padding: 1rem;
}

.asButtonSmall {
    display: block;
    margin-bottom: .5rem;
    text-align: center;
    font-size: 12px;
    height: 26px;
    line-height: 26px;
}

.asButtonSmall:hover {
    color: #EEEEEE;
}

.jscroll-next {
    display: none;
}

.video-container {
    position:relative;
    padding-bottom:52.8%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

#recipe a.btn-primary {
    display: block;
    text-align: center;
    line-height: 40px;
    color: #fff;
}

#recipeSearchResults.loading {
    position: relative;
}

#recipeSearchResults.loading .row {
    opacity: 0.5;
    position: relative;
}

#recipeSearchResults.loading:before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../images/loading.svg) no-repeat center 300px;
}

.btn-mobileSearch {
    background: #ce1f28;
    color: #fff;
    font-family: 'roboto_slabbold';
    vertical-align: middle;
    font-size: 10px;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-transform: uppercase;
    width: 25%;
    height: 32px;
    line-height: 32px;
    text-align: center;
    display: inline-block;
    border: none;
}

@media only screen and (min-width: 768px) {
    .mobileSearch {
        display: none;
    }
}

.text-xs-left {
    text-align: left;
}

.text-xs-right {
    text-align: right;
}

.text-xs-center {
    text-align: center;
}

.text-xs-justify {
    text-align: justify;
}
@media (max-width: 767px) {
    .hidden-xs {
        display: none;
    }
}
@media (min-width: 768px) {
    .text-sm-left {
        text-align: left;
    }
    .text-sm-right {
        text-align: right;
    }
    .text-sm-center {
        text-align: center;
    }
    .text-sm-justify {
        text-align: justify;
    }
    .hidden-sm-up {
        display: none;
    }
}

@media (min-width: 1024px) {
    .text-md-left {
        text-align: left;
    }
    .text-md-right {
        text-align: right;
    }
    .text-md-center {
        text-align: center;
    }
    .text-md-justify {
        text-align: justify;
    }
}

@media (min-width: 1200px) {
    .text-lg-left {
        text-align: left;
    }
    .text-lg-right {
        text-align: right;
    }
    .text-lg-center {
        text-align: center;
    }
    .text-lg-justify {
        text-align: justify;
    }
}
