@font-face {
    font-family: 'dancing_script_otregular';
    src: url('../../fonts/dancingscript-regular-webfont.woff2') format('woff2'),
        url('../../fonts/dancingscript-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    background-color: #4b4f52;
}

footer {
    background-color: #4b4f52;
    padding: 1.5em 15px;
    color: white;
    font-size: 1.2em;
    margin-top: 30px;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #4b4f52;
}

.text-success {
    color: #5cb85c;
}

a {
    color: inherit;
}

.bold {
    font-weight: bold;
}

.fullbg {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    overflow: auto;
}

.welcome-box {
    color: white;
    padding: 10px;
}

select.goog-te-combo {
    width: 145px;
}

.goog-te-gadget {
    height: 50px;
    border-radius: 4px;
    padding: 4px;
}

.navbar,
.navbar-inverse {
    border-radius: 0 !important;
}

.nav > li > a {
    padding: 15px 14px !important;
}

#welcome-text {
    display: block;
    margin-bottom: 5px;
}

#welcome-text > a {
    margin-left: 5px;
}

ul#welcome-links {
    clear: both;
    list-style-type: none;
    float: right;
    padding-left: 0;
    margin-top: 10px;
}

#welcome-links > li {
    float: left;
}

#welcome-links > li > a {
    color: white !important;
    text-decoration: underline;
    padding-left: 5px;
}

.no-gutter {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.header-container {
    position: relative;
}

.main-container {
    background-color: white;
    min-height: 550px;
    position: relative;
}

.desktop-nav {
    list-style-type: none;
    margin-bottom: 0;
    padding-left: 0 !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.desktop-nav > li {
    float: left;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 5px;
    padding: 10px;
    background: #4b4f52;
}

.desktop-nav li a {
    color: white;
}

.member-logo {
    background: white;
    height: 124px;
    cursor: pointer;
}

.tool-logo {
    cursor: pointer;
}

.member-logo > img {
    max-height: 124px;
    max-width: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.content {
    position: relative;
    overflow: hidden;
}

.footer-link {
    padding-top: 2em;
    margin-bottom: 1em;
}

.grey-link {
    color: white !important;
    text-align: center;
    background-color: #4b4f52;
    padding: 5px;
}

.large-grey-link {
    display: block;
    margin-bottom: 15px;
    color: white !important;
    text-align: center;
    background-color: #4b4f52;
    padding: 10px;
}

.red-link,
.red-link:hover {
    color: #c8203f;
}

.mmlink > img {
    height: 135px;
    margin: 15px auto;
    display: block;
}

.mmlink > p {
    text-align: center;
}

.footer-link > .grey-link {
    margin-top: 0.5em;
}

a.remove-ingredient-link {
    color: #4b4f52;
    margin: 0 25px;
    padding: 10px 0;
    display: block;
    clear: both;
    text-decoration: none;
    cursor: pointer;
}

.remove-recipe {
    cursor: pointer;
}

.recipe-holder {
    min-height: 50px;
}

.rec_desc {
    /* display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden; */
    /* overflow: hidden;
    text-overflow: ellipsis;
    height: 60px; */
}

.article_height {
    height: 700px;
}

.article_desc {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 60px;
}

.article-contents a {
    text-decoration: underline !important;
}

.more-articles {
    display: block;
}

.single-ingredient .form-control {
    background-color: #ebebeb;
    border-radius: 0;
    border: none;
    height: 26px;
    padding: 3px 6px;
}

.calculation-sort {
    margin: 0 5px;
    cursor: pointer;
}

.calculation-sort > .chosen-sort {
    color: #a8b647 !important;
}

.modal-calculation-sort,
.calculation-view {
    margin: 0 10px;
    cursor: pointer;
    opacity: 0.8;
}

.modal-calculation-sort#sort-date {
    margin-right: 15px;
}

.calccost {
    margin-top: 2.5em;
}

.food-calc-header {
    border-bottom: 1px solid #a6a8aa;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-weight: bold;
}

.mobile-ingredient label {
    display: block;
}

.mobile-ingredient label[for='ingredient[]'] {
    border-bottom: 1px solid #a6a8aa;
}

.green-title {
    text-transform: uppercase;
    color: white;
    background-color: #5c9860;
    padding: 5px 10px;
}

#smartsource-title {
    background-color: #f27600;
    color: white;
    padding: 10px 15px;
    font-weight: 400;
    margin-top: 0;
}

.featured-title {
    color: white;
    padding: 10px 15px;
    margin-top: 0;
    font-weight: 400;
}

.category-course-container {
    position: relative;
    -webkit-background-size: cover;
    background-size: cover;
    padding-left: 0;
    padding-right: 5px;
}

.category-course-container img {
    width: 100%;
}

.category-course-container > h4 {
    position: absolute;
    bottom: 0;
    left: 0px;
    right: 5px;
    background-color: rgba(75, 79, 82, 0.75);
    margin: 0;
    padding: 10px;
    height: 58px;
}

.category-course-container > h4 > a {
    display: block;
    color: white;
    font-weight: 300;
    text-align: center;
}

.smartsource-file-link {
    color: white !important;
    width: 100%;
    background-color: #f27600;
    display: block;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 1.4em;
}

.category-video-link {
    font-size: 1.2em;
    font-weight: 500;
    padding: 10px 15px;
    text-decoration: none;
}

.category-video-link.cycle-pager-active {
    background-color: #f27600;
    color: white;
}

.ui-article-helper {
    margin: 0 1em 1em 0;
    height: 50px;
    display: block;
}

.private-brands-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.supplier-news {
    background: #d7d7d7;
    padding-bottom: 20px;
}

.arrow-right {
    position: relative;
}

.arrow-right:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: ' ';
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-width: 15px;
    margin-top: -15px;
}

.bannerad-slideshow > a {
    padding-left: 15px;
    padding-right: 15px;
}

.bannerad-slideshow img {
    width: 100%;
}

.search-result {
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 10px;
}

.landing-tools {
    padding: 0 5px;
}

.tool-link > .helper {
    display: inline-block;
    height: 100%;
    width: 100%;
    vertical-align: middle;
}

.tool-info {
    background: #eee;
    float: left;
    color: #777;
    padding: 10px;
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 10px;
}

.recipe-bg {
    background-color: #5c9860 !important;
}

.recipe-color {
    color: #5c9860;
}

img.tool-icon {
    max-height: 35px;
    margin-right: 10px;
    margin-top: -5px;
}

.fancyfont {
    font-family: 'dancing_script_otregular';
    color: white;
    text-shadow: 2px 3px 6px black;
}

.default-link:hover {
    background-color: #c81f3f;
}

.pb-link:hover {
    background-color: #c70e3a;
}

.mm-link:hover {
    background-color: #a8b647;
}

.oe-link:hover {
    background-color: #0c4a8a;
}

.smartsource-link:hover {
    background-color: #ef7722;
}

.streetsmart-link:hover {
    background-color: #299ec0;
}

.netnews-link:hover {
    background-color: #c6093b;
}

.pic-link:hover {
    background-color: #8954ac;
}

.add-to-favorites-index {
    padding: 8px;
    color: white;
    cursor: pointer;
}

.remove-from-favorites-index {
    padding: 8px;
    color: white;
    cursor: pointer;
}

.add-to-favorites-single {
    color: white;
    cursor: pointer;
}

.remove-from-favorites-single {
    color: white;
    cursor: pointer;
}

.ui-autocomplete {
    background: white;
    width: 275px !important;
    list-style: none;
    padding-left: 15px;
}

#calculation-modal .modal-body {
    overflow-y: scroll;
    max-height: 500px;
}

.modal-body .grid .thumbnail {
    width: 30%;
    margin: 10px 1.5%;
    float: left;
}

@media (max-width: 767px) {
    .modal-body .grid .thumbnail {
        width: 100%;
        margin: 10px auto;
    }
}

.modal-body .list .thumbnail {
    width: 100%;
    border: none;
    transition: none;
    box-shadow: none;
}

.modal-body .list .thumbnail img {
    float: left;
    width: 75px;
    height: 50px;
    display: inline-block;
    margin: 5px 15px;
}

.list .caption {
    display: inline-block !important;
    float: left;
    position: initial;
    top: initial;
    right: initial;
    background: transparent;
    color: black !important;
    text-align: left;
    width: auto;
}

.thumbnail {
    position: relative;
    overflow: hidden;
}

.caption {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(168, 182, 71, 1);
    width: 100%;
    height: 100%;
    padding: 2%;
    display: none;
    text-align: center;
    color: #fff !important;
    z-index: 2;
}

.changeLimit {
    cursor: pointer;
}

@media screen and (max-width: 992px) {
    .tool-info {
        margin-bottom: 2em;
    }
}

@media screen and (max-width: 767px) {
    .member-logo {
        margin-top: 2em;
        margin-bottom: 2em;
    }

    .image-helper {
        display: none;
        width: 100%;
    }

    .member-logo > img {
        display: block !important;
    }

    .tool-logo {
        background: white;
        margin-top: 0em;
        margin-bottom: 2em;
    }

    .header-container .navbar {
        margin-bottom: 0 !important;
    }

    #welcome-text {
        text-align: center;
    }

    .mmp {
        padding: 0 15px;
    }

    #smartsource-title {
        font-size: 24px;
        text-align: center;
    }

    .tool-title {
        display: none !important;
    }

    .col-xs-6:nth-child(2n + 1) {
        clear: left;
    }
}

@media (max-width: 480px) {
    .member-logo {
        margin-top: 0;
    }

    .fancyfont {
        font-size: 32px;
        text-align: center;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .header-container {
        min-height: 210px;
    }

    .fancyfont {
        position: absolute;
        bottom: -10px;
        font-size: 44px;
        left: 0;
        right: 0;
        text-align: center;
    }
}

@media (min-width: 768px) {
    #welcome-text {
        float: right;
    }

    #google_translate_element {
        display: inline-block;
        top: -2px;
        margin-left: 20px;
        margin-right: auto;
        position: absolute;
        right: -170px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-container {
        min-height: 225px;
    }

    .desktop-nav > li {
        width: 16%;
    }

    .desktop-nav > li > a {
        font-size: 12px;
    }

    .tool-logo > img,
    .member-logo {
        height: 124px;
    }

    .fancyfont {
        position: absolute;
        bottom: -15px;
        font-size: 76px;
        left: 0;
        right: 0;
        text-align: center;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .desktop-nav > li {
        width: 16%;
    }

    .desktop-nav > li > a {
        font-size: 15px;
    }

    .header-container {
        min-height: 250px;
    }

    .tool-logo > img,
    .member-logo {
        height: 124px;
    }

    .fancyfont {
        position: absolute;
        bottom: -15px;
        font-size: 76px;
        left: 0;
    }

    footer {
        bottom: 0;
        left: 0;
        right: 0;
    }
}

@media (min-width: 1200px) {
    .header-container {
        min-height: 250px;
    }

    .tool-logo > img,
    .member-logo {
        height: 124px;
    }

    .category-videos h3 {
        margin-top: 0;
        line-height: 1em;
        margin-bottom: 2em;
    }

    .category-videos h4 {
        margin: 0.5em 0;
        line-height: 1em;
        clear: both;
        float: left;
    }

    .fancyfont {
        position: absolute;
        bottom: -20px;
        left: 0;
        font-size: 86px;
    }
}

.pics-folder a:hover {
    text-decoration: none;
}

.pics-folder .folder-text {
    font-size: 26px;
    background-image: url('../../img/folder-background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 145px;
    margin-top: 25px;
    padding-top: 50px;
    text-align: center;
}

.pic {
    background: #eee;
    margin-bottom: 5px;
    padding: 15px;
    margin-left: 1px;
    margin-right: 1px;
}

.pic-text {
    font-size: 16px;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

/* Clearfixes for columns */
@media (min-width: 767px) {
    /* Column clear fix */
    .recipe-list .col-lg-1:nth-child(12n + 1),
    .recipe-list .col-lg-2:nth-child(6n + 1),
    .recipe-list .col-lg-3:nth-child(4n + 1),
    .recipe-list .col-lg-4:nth-child(3n + 1),
    .recipe-list .col-lg-6:nth-child(2n + 1),
    .recipe-list .col-md-1:nth-child(12n + 1),
    .recipe-list .col-md-2:nth-child(6n + 1),
    .recipe-list .col-md-3:nth-child(4n + 1),
    .recipe-list .col-md-4:nth-child(3n + 1),
    .recipe-list .col-md-6:nth-child(2n + 1) {
        clear: none;
    }

    .recipe-list .col-sm-1:nth-child(12n + 1),
    .recipe-list .col-sm-2:nth-child(6n + 1),
    .recipe-list .col-sm-3:nth-child(4n + 1),
    .recipe-list .col-sm-4:nth-child(3n + 1),
    .recipe-list .col-sm-6:nth-child(2n + 1) {
        clear: left;
    }
}

/*  Medium Desktop  */
@media (min-width: 992px) {
    /* Column clear fix */
    .recipe-list .col-lg-1:nth-child(12n + 1),
    .recipe-list .col-lg-2:nth-child(6n + 1),
    .recipe-list .col-lg-3:nth-child(4n + 1),
    .recipe-list .col-lg-4:nth-child(3n + 1),
    .recipe-list .col-lg-6:nth-child(2n + 1),
    .recipe-list .col-sm-1:nth-child(12n + 1),
    .recipe-list .col-sm-2:nth-child(6n + 1),
    .recipe-list .col-sm-3:nth-child(4n + 1),
    .recipe-list .col-sm-4:nth-child(3n + 1),
    .recipe-list .col-sm-6:nth-child(2n + 1) {
        clear: none;
    }

    .recipe-list .col-md-1:nth-child(12n + 1),
    .recipe-list .col-md-2:nth-child(6n + 1),
    .recipe-list .col-md-3:nth-child(4n + 1),
    .recipe-list .col-md-4:nth-child(3n + 1),
    .recipe-list .col-md-6:nth-child(2n + 1) {
        clear: left;
    }
}

/*  Large Desktop  */
@media (min-width: 1200px) {
    /* Column clear fix */
    .recipe-list .col-md-1:nth-child(12n + 1),
    .recipe-list .col-md-2:nth-child(6n + 1),
    .recipe-list .col-md-3:nth-child(4n + 1),
    .recipe-list .col-md-4:nth-child(3n + 1),
    .recipe-list .col-md-6:nth-child(2n + 1),
    .recipe-list .col-sm-1:nth-child(12n + 1),
    .recipe-list .col-sm-2:nth-child(6n + 1),
    .recipe-list .col-sm-3:nth-child(4n + 1),
    .recipe-list .col-sm-4:nth-child(3n + 1),
    .recipe-list .col-sm-6:nth-child(2n + 1) {
        clear: left;
    }

    .recipe-list .col-lg-1:nth-child(12n + 1),
    .recipe-list .col-lg-2:nth-child(6n + 1),
    .recipe-list .col-lg-3:nth-child(4n + 1),
    .recipe-list .col-lg-4:nth-child(3n + 1),
    .recipe-list .col-lg-6:nth-child(2n + 1) {
        clear: left;
    }
}

@media (min-width: 767px) {
    /* Column clear fix */
    .article-holder .col-lg-1:nth-child(12n + 1),
    .article-holder .col-lg-2:nth-child(6n + 1),
    .article-holder .col-lg-3:nth-child(4n + 1),
    .article-holder .col-lg-4:nth-child(3n + 1),
    .article-holder .col-lg-6:nth-child(2n + 1),
    .article-holder .col-md-1:nth-child(12n + 1),
    .article-holder .col-md-2:nth-child(6n + 1),
    .article-holder .col-md-3:nth-child(4n + 1),
    .article-holder .col-md-4:nth-child(3n + 1),
    .article-holder .col-md-6:nth-child(2n + 1) {
        clear: none;
    }

    .article-holder .col-sm-1:nth-child(12n + 1),
    .article-holder .col-sm-2:nth-child(6n + 1),
    .article-holder .col-sm-3:nth-child(4n + 1),
    .article-holder .col-sm-4:nth-child(3n + 1),
    .article-holder .col-sm-6:nth-child(2n + 1) {
        clear: left;
    }
}

/*  Medium Desktop  */
@media (min-width: 992px) {
    /* Column clear fix */
    .article-holder .col-lg-1:nth-child(12n + 1),
    .article-holder .col-lg-2:nth-child(6n + 1),
    .article-holder .col-lg-3:nth-child(4n + 1),
    .article-holder .col-lg-4:nth-child(3n + 1),
    .article-holder .col-lg-6:nth-child(2n + 1),
    .article-holder .col-sm-1:nth-child(12n + 1),
    .article-holder .col-sm-2:nth-child(6n + 1),
    .article-holder .col-sm-3:nth-child(4n + 1),
    .article-holder .col-sm-4:nth-child(3n + 1),
    .article-holder .col-sm-6:nth-child(2n + 1) {
        clear: none;
    }

    .article-holder .col-md-1:nth-child(12n + 1),
    .article-holder .col-md-2:nth-child(6n + 1),
    .article-holder .col-md-3:nth-child(4n + 1),
    .article-holder .col-md-4:nth-child(3n + 1),
    .article-holder .col-md-6:nth-child(2n + 1) {
        clear: left;
    }
}

/*  Large Desktop  */
@media (min-width: 1200px) {
    /* Column clear fix */
    .article-holder .col-md-1:nth-child(12n + 1),
    .article-holder .col-md-2:nth-child(6n + 1),
    .article-holder .col-md-3:nth-child(4n + 1),
    .article-holder .col-md-4:nth-child(3n + 1),
    .article-holder .col-md-6:nth-child(2n + 1),
    .article-holder .col-sm-1:nth-child(12n + 1),
    .article-holder .col-sm-2:nth-child(6n + 1),
    .article-holder .col-sm-3:nth-child(4n + 1),
    .article-holder .col-sm-4:nth-child(3n + 1),
    .article-holder .col-sm-6:nth-child(2n + 1) {
        clear: left;
    }

    .article-holder .col-lg-1:nth-child(12n + 1),
    .article-holder .col-lg-2:nth-child(6n + 1),
    .article-holder .col-lg-3:nth-child(4n + 1),
    .article-holder .col-lg-4:nth-child(3n + 1),
    .article-holder .col-lg-6:nth-child(2n + 1) {
        clear: left;
    }
}

/* Print Styles for Food Cost Calculator */
@media print {
    body {
        color: black !important;
        font-size: 12pt;
    }

    .colored-title {
        color: black !important;
        font-size: 16pt;
    }

    .header-bg {
        background: none;
    }

    .header-container {
        min-height: unset;
        height: 175px;
    }

    .little-title {
        display: none;
    }

    .welcome-box {
        display: none;
    }

    .navbar {
        display: none;
    }

    .filter-wrapper {
        display: none;
    }

    .supplier-logo {
        display: none;
    }

    .footer-link {
        display: none;
    }

    .remove-ingredient-link {
        display: none !important;
    }

    .add-ingredient {
        display: none;
    }

    .recipe-img {
        display: none;
    }

    .single-ingredient > div:nth-child(1) {
        width: 51%;
    }

    .single-ingredient > div:nth-child(2) {
        width: 13%;
    }

    .single-ingredient > div:nth-child(3) {
        width: 13%;
    }

    .single-ingredient > div:nth-child(4) {
        width: 23%;
    }

    .no-print {
        display: none;
    }

    footer {
        display: none;
    }
}

/* Archives List on Operator's Edge page */
.expand-collapse {
    color: #fff;
    font-size: 20px;
    line-height: 20px;
}

.grouped-archives .accordionItemContent ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.grouped-archives .accordionItemHeadingText {
    padding: 1rem;
}

.selected-archive {
    font-weight: 700;
    color: #0c4a8a;
}

/* Reset Password pages */
div.copyright {
    height: 60px;
}

.form-row {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
}

#new-password-form .form-control {
    margin-bottom: 15px;
}

/* Share This label is being hidden for LinkedIn. No idea why ¯\_(ツ)_/¯ */
.sharethis-inline-share-buttons div[data-network="linkedin"] {
    min-width: 120px !important;
}

.sharethis-inline-share-buttons .st-remove-label span {
    display: inline !important;
}