/* McInspire
-------------------------------------------------- */
body {
    padding-bottom: 0;
    color: #5a5a5a;
    font-family: lato, sans-serif;
    font-weight: 400;
    font-style: normal;
}
.container {
    max-width: 1600px;
}
h1 {
    font-family: lato, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.5rem;
}
@media (min-width: 522px) {
    body {
        padding-bottom: 0;
    }
    h1 {
        font-size: 2.5rem;
    }
}

/* HEADER
-------------------------------------------------- */

header.container {
    position: relative;
}
.header-background {
    background-image: url(img/header-bk.png);
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    padding-bottom: 10px;
    position: relative;
}
.header-strip {
    position: absolute;
    top: 0;
    left:0;
    background-image: url(img/header-white-strip.png);
    background-size: 100% 67px;
    background-position: 50% 22%;
    background-repeat: no-repeat;
    height: 232px;
    width: 100%;
}
.logo-box {
    height: 108px;
    margin-right: 80px;
}
.logo-box .row {
    height: auto;
}
.logo-left img {
    max-height: 67px;
    margin-top: 36px;
}
.logo-center img {
    max-height: 67px;
    margin-top: 36px;
}
.logo-right img {
    max-width: 400px;
    width: auto;
    height: 100px;
}
@media (min-width: 992px) {
    .header-strip {
        background-position: 50% 52%;
    }
    .logo-box .row {
        height: 100%;
    }
    .logo-box {
        height: 200px;
    }
    .logo-right img {
        max-width: 400px;
        width: 100%;
        height: auto;
    }
}
@media (min-width: 1400px) {
    .header-strip {
        background-position: 50% 60%;
    }
}
@media (min-width: 522px) {
    .logo-box {
        margin-right: 0px;
    }
}

/* Navigation */

nav.navbar.navbar-expand-md.navbar-light.bg-light {
    position: relative;
    bottom: unset;
    right: unset;
}
.navbar {
    width: 100%;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 20;
    padding: 0;
}
.navbar-toggler {
    margin-right: 15px;
    margin-top: 8px;
}
.navbar-collapse {
    background: #fff;
    padding-left: 20px;
    padding-top: 20px;
    margin-top: 14px;
}
.bg-light {
    background: transparent !important;
}
.nav-divider:after {
    content: '';
    padding-left: 3rem;
    color: #003087;
}
.navbar-light .navbar-nav .nav-link {
    color: #ca1c1b;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #003087;
}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #003087;
}
li.nav-item {
    padding: 0 16px;
}
a.nav-link {
    text-transform: uppercase;
    font-size: 1rem;
}
.collapse-logo-left img {
    height: 50px;
    width: auto;
    float: left;
    margin-left: 15px;
    margin-top: 45px;
}
.collapse-logo-right img {
    height: 125px;
    width: auto;
    float: right;
}
@media (min-width: 992px) {
    .navbar {
        width: 100%;
        position: relative;
        top: 0;
        padding: .5rem 1rem;
    }
    .navbar-toggler {
        margin-right: 0px;
        margin-top: 0px;
    }
    .nav-divider:after {
        content: '|';
    }
    .navbar-collapse {
        background: transparent;
        padding-left: 0px;
        padding-top: 0px;
        margin-top: 0px;
    }
}
@media (min-width: 522px) {
    .collapse-logo-left img {
        margin-top: 125px;
    }
    .collapse-logo-right img {
        height: 200px;
    }
}

/* CAROUSEL
-------------------------------------------------- */

.carousel {
    border-bottom: 1px solid #ca1c1b;
}
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}
#myCarousel .carousel-item {
    height: 16rem;
    background-color: #777;
}
#myCarousel .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 16rem;
}
.carousel-indicators li {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #ff0000;
    border: 4px solid #fff;
    opacity: 1;
    margin: 0 15px;
}
.carousel-indicators li.active {
    background-color: #003087;
}

#myCarousel2 .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: auto;
    width: 100%;
    overflow: hidden;
}
#myCarousel2 {
    height: 16rem;
}
#myCarousel2 .carousel-item {
    height: 16rem;
}

@media (min-width: 522px) {
    #myCarousel .carousel-item {
        height: 24rem;
    }
    #myCarousel .carousel-item > img {
        height: 24rem;
    }
    #myCarousel2 {
        height: 24rem;
    }
    #myCarousel2 .carousel-item {
        height: 24rem;
    }
}
@media (max-width: 595px) and (min-width: 520px) {
    #myCarousel2 {
        height: 21rem;
    }
    #myCarousel2 .carousel-item {
        height: 21rem;
    }
}
@media (min-width: 768px) {
    #myCarousel2 {
        height: 32rem;
    }
    #myCarousel2 .carousel-item {
        height: 32rem;
    }
}
@media (min-width: 992px) {
    #myCarousel2 {
        height: 27rem;
    }
    #myCarousel2 .carousel-item {
        height: 27rem;
    }
}
@media (min-width: 1265px) {
    #myCarousel2 {
        height: 35rem;
    }
    #myCarousel2 .carousel-item {
        height: 35rem;
    }
}

@media (max-width: 521px) {
    #myCarousel .carousel-item {
        height: 16rem;
    }
    #myCarousel .carousel-item > img {
        height: 16rem;
    }
}
@media (max-width: 390px) {
    #myCarousel2 {
        height: 14rem;
    }
    #myCarousel2 .carousel-item {
        height: 14rem;
    }
}

/* FILTER AND SEARCH
-------------------------------------------------- */

.filters {
    background-color: #eeeeee;
    padding: 4rem 0 2rem 0;
}
.insight-hub-sort-filters {
    background-image: url(img/page-top-strip.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 20px;
    background-color: #ffffff;
    padding-top: 5rem;
}

.filters h1 {
    color: #003087;
    padding-bottom: 2rem;
}
.filters h1 span {
    color: #ca1c1b;
}
.custom-select {
    border: 1px solid #003087;
    background-color: #fff;
    color: #003087;
}
.input-group .form-control {
    border-top: 1px solid #003087;
    border-right: 0px;
    border-bottom: 1px solid #003087;
    border-left: 1px solid #003087;
    background-color: #fff;
    color: #003087;
}
.input-group .form-control::placeholder {
    color: #003087;
}
.input-group button {
    border-top: 1px solid #003087;
    border-right: 1px solid #003087;
    border-bottom: 1px solid #003087;
    border-left: 0px;
    background-color: #fff;
}
.search-icon {
    height: 22px;
}
@media (min-width: 522px) {
    .search-icon {
        height: 32px;
    }
}
/* PAGE CONTENT
-------------------------------------------------- */

/* Page wrappers */

.page-content {
    background-image: url(img/page-bottom-strip.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 20px;
    padding-top: 3rem;
}

.default-page-content {
    padding: 5rem 0;
}

.full-image-page-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
}
@media (min-width: 1025px) {
    .full-image-page-content {
        height: calc(100vh + 200px);
    }
}

/* Page content */

.main-content h1 {
    color: #ca1c1b;
    padding-bottom: 1rem;
}

.main-content p {
    color: #003087;
    font-size: 18px;
    line-height: 24px;
    padding-bottom: 1rem;
}
.image-wrapper {
    position: relative;
}
.new-recipe:before {
    content: '';
    background-image: url(img/new-recipe.png);
    background-position: top left;
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    top: -1.5%;
    left: -1.6%;
    z-index: 2;
    height: 100%;
    width: 30%;
}
.new-product:before {
    content: '';
    background-image: url(img/new.png);
    background-position: top left;
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    top: -1.5%;
    left: -1.6%;
    z-index: 2;
    height: 100%;
    width: 30%;
}
.clean-label:before {
    content: '';
    background-image: url(img/clean-label.png);
    background-position: top left;
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    top: -1.5%;
    left: -1.6%;
    z-index: 2;
    height: 100%;
    width: 30%;
}
.nutritional-improvement:before {
    content: '';
    background-image: url(img/nutritional-improvement.png);
    background-position: top left;
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    top: -1.5%;
    left: -1.6%;
    z-index: 2;
    height: 100%;
    width: 30%;
}
.inspired-by:before {
    content: '';
    background-image: url(img/inspired-by-flavour-forecast.png);
    background-position: top left;
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    top: -1.5%;
    left: -1.6%;
    z-index: 2;
    height: 100%;
    width: 30%;
}

/* Product page */

.main-content img {
    width: 100%;
}
.product-details {
    width: 100%;
    color: #003087;
    font-size: 24px;
    padding: 2rem 0;
}
.product-description {
    width: 100%;
    display: block;
}
.product-description p {
    line-height: 24px;
    font-size: 18px;
}
.product-info {
    width: 100%;
    display: block;
    float: none;
}
.product-info p span {
    font-weight: bold;
}
.product-info button {
    margin-top: 1rem;
    background-color: #ca1c1b;
    padding: 10px 80px;
    border-radius: 15px;
    color: #fff;
}
.product-info button:hover {
    background-color: #003087;
    color: #fff;
}

@media (min-width: 992px) {
    .product-description {
        width: 64%;
        display: inline-block;
    }
    .product-info {
        width: 32%;
        display: inline-block;
        float: right;
    }
}
@media (min-width: 522px) {
    .product-description p {
        line-height: 32px;
        font-size: 24px;
    }
    .main-content p {
        font-size: 24px;
        line-height: 32px;
    }
}

/* Accordion for product launches */

.card {
    margin-bottom: 2rem;
}
.card-header {
    padding: 0;
    background-color: none;
    border-bottom: 0;
}
.card-body {
    border-left: 2px solid #003087 !important;
    border-right: 2px solid #003087 !important;
    border-bottom: 2px solid #003087 !important;
    border-top: 0;
    text-align: center;
    padding: 3rem 2rem;
}
.card-body img {
    width: auto;
}
.btn-launch-reveal {
    width: 100%;
    text-align: left;
    position: relative;
    background-color: #fff !important;
    padding: 0.7rem 0.2rem 0.5rem 0.2rem;
    border: 2px solid #003087 !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}
.btn-launch-reveal[aria-expanded="true"] {
    border-bottom: 0 !important;
}
.product-data {
    text-align: left;
    color: #003087;
    text-decoration: underline;
    font-size: 24px;
    line-height: 28px;
    display: inline-block;
}
.product-data p {
    padding-bottom: 0;
}
.product-flag {
    width: 30px;
    display: inline-block;
    float: right;
    margin: 0px 50px 0 0;
}
.launch-caret {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    height: 16px;
    width: 29px;
    background-image: url(img/caret-down.png);
    background-size: contain;
    transition: 0.3s ease;
    transform-origin: top center;
}
.btn-launch-reveal[aria-expanded="true"] .launch-caret {
    transform: rotateX(180deg);
}

@media (min-width: 522px) {
    .btn-launch-reveal {
        padding: 0.7rem 2rem 0.5rem 2rem;
    }
    .product-flag {
        width: 80px;
        margin: 15px 50px 0 0;
    }
}

/* Search Page */

.search-product-box.row {
    margin-left: 0;
}
.search-product-box {
    min-height: 280px;
    width: 100%;
    margin-bottom: 3rem;
}
.search-product-box img {
    height: auto;
    width: 100%;
}
.search-product-details {
    min-height: 280px;
    position: relative;
    padding-bottom: 3rem;
}
.search-product-details h2 {
    color: #ca1c1b;
    padding-top: 0.2rem;
    padding-bottom: 1rem;
    font-weight: bold;
    font-size: 24px;
}
.search-product-details p {
    color: #003087;
    font-size: 18px;
    line-height: 24px;
    padding-bottom: 1rem;
}

.search-product-details button {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-top: 1rem;
    margin-left: 1rem;
    background-color: #ca1c1b;
    padding: 15px 60px;
    border-radius: 15px;
    color: #fff;
}
.search-product-details button:hover {
    background-color: #003087;
    color: #fff;
}

@media (min-width: 522px) {
    .search-product-details h2 {
        font-size: 38px;
    }
    .search-product-details p {
        font-size: 24px;
        line-height: 28px;
    }
}

/* Pagination */

.pages {
    margin-bottom: 2rem;
}
.pages .pagination {
    margin: 0 auto;
    justify-content: center;
}
.page-link {
    border: 0px;
    text-decoration: underline;
    font-size: 1rem;
    color: #003087;
}
.page-link:hover {
    color: #0056b3;
    text-decoration: none;
    background-color: #fff;
    border-color: #fff;
}
.page-item.active .page-link {
    color: #ca1c1b;
    background-color: #fff;
    border-color: #fff;
    text-decoration: none;
}
.page-item.disabled .page-link {
    color: #0056b3;
    text-decoration: none;
}
@media (min-width: 522px) {
    .page-link {
        font-size: 1.4rem;
    }
}

/* Sidebar */

.contact-box {
    background-color: #003087;
    padding: 2rem 3rem;
    margin-bottom: 2rem;
}
.contact-box h2 {
    color: #fff;
    padding-bottom: 1rem;
}
.contact-box-inner p {
    color: #fff;
    font-size: 1.4rem;
    padding-top: 40px;
}
.contact-box p span {
    font-weight: bold;
}
.contact-box-footer {
    padding-top: 20px;
    padding-left: 15px;
    display: block;
}
.contact-box-footer p {
    margin: 0;
}
.contact-box-footer a {
    color: #fff;
    font-size: 1.4rem;
    word-break: break-all;
}
.product-box {
    background-color: #eeeeee;
    padding: 2rem 3rem;
    border: 1px solid #ca1c1b;
}
.product-box h2 {
    color: #ca1c1b;
    padding-bottom: 1rem;
}

.product-card {
    width: 100%;
    height: auto;
    padding-bottom: 3rem;
}
.product-card img {
    width: 100%;
}
.product-card h3 {
    padding-top: 1rem;
    color: #ca1c1b;
}

@media (min-width: 992px) and (max-width: 1450px) {
    .contact-box-inner .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .contact-box-footer a {
        font-size: 1rem;
        word-break: break-all;
    }
}

/* FORMS
-------------------------------------------------- */

.form-wrapper {
    background-image: url(img/form-bottom-strip.png);
    background-position: bottom;
    background-size: 100% 20px;
    background-repeat: no-repeat;
    background-color: #fff;
    min-width: 100%;
    margin: 60px 0;
    padding: 40px 0;
}
.form-logo-header img {
    max-width: 70%;
}
.form-wrapper h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003087;
    padding: 20px 0;
}
.form-group {
    position: relative;
}
.form-control {
    border: 1px solid #003087;
    background-color: #fff;
    color: #003087;
}
.form-control::placeholder {
    color: #003087;
}
.form-control-lg {
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
}
.custom-select-lg {
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
}
.required-star {
    font-size: 2rem;
    color: #ca1c1b;
    position: absolute;
    left: 25px;
    top: 56%;
    transform: translateY(-50%);
}
.help-marker {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}
.help-marker img {
    width: 38px;
}
.form-logo-footer img {
    max-width: 80%;
}
.form-button {
    background-color: #ca1c1b;
    padding: 10px 60px;
    border-radius: 15px;
    color: #fff;
    font-size: 1.3rem;
    margin-left: 45px;
    margin-top: 20px;
    min-width: 200px;
}
.form-button:hover {
    background-color: #003087;
    color: #fff;
}
#login {
    margin-top: 40px;
}
a.forgot-password {
    margin-left: 45px;
    color: #003087;
    text-decoration: underline;
}
a.forgot-password:hover {
    color: #ca1c1b;
    text-decoration: none;
}
#forgotten-password {
    margin-top: 40px;
}
#forgotten-password p {
    margin-top: 20px;
    padding: 0 20px;
    color: #003087;
    font-size: 1.2rem;
}
@media (min-width: 522px) {
    .form-wrapper {
        min-width: 450px;
    }
    .form-control-lg {
        height: calc(1.5em + 1rem + 2px);
        padding: .5rem 1rem;
        font-size: 1.25rem;
        line-height: 1.5;
        border-radius: .3rem;
    }
    .custom-select-lg {
        height: calc(1.5em + 1rem + 2px);
        padding-top: .5rem;
        padding-bottom: .5rem;
        padding-left: 1rem;
        font-size: 1.25rem;
    }
}


/* Insight Hub
-------------------------------------------------- */
.bootstrap-select > .dropdown-toggle.bs-placeholder,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder:hover,
.bootstrap-select .dropdown-menu li a span.check-mark,
.bootstrap-select .dropdown-menu li a {
    color: #003087;
}
.bootstrap-select .bs-ok-default::after {
    border-width: 0 0.13em 0.13em 0
}
.bootstrap-select .dropdown-menu li a {
    background: url('img/select-checkbox-unchecked.png') right 12px top 8px no-repeat;
    background-size: 19px;
    padding: 0 1rem;
}
.bootstrap-select .dropdown-menu li a.region-option {
    font-weight: 700;
}
.bootstrap-select .dropdown-menu li a.country-option span.text {
    display: inline-block;
    padding-left: 12px;
}
.bootstrap-select .dropdown-menu li a.country-option span.text:before {
    content: '- ';
    display: inline;
}
.bootstrap-select > .dropdown-toggle::after {
    display: none;
}
#insight-hub-modal .modal-content {
    height: calc( 100vh - 3.5rem );
}


.search-insight-hub-result .search-insight-hub-pdf-icon img {
    width: 142px;
    height: auto;
}
.search-insight-hub-button img {
    width: 62px;
    height: auto;
}
.search-insight-hub-result h2 {
    color: #ca1c1b;
    font-weight: 700;
    font-size: 24px;
}
.search-insight-hub-result dl {
}
.search-insight-hub-result p,
.search-insight-hub-result dl dt,
.search-insight-hub-result dl dd {
    color: #003087;
    font-size: 18px;
    line-height: 24px;
}
.search-insight-hub-result .search-insight-hub-tags p {
    width: max-content;
}
.search-insight-hub-result .search-insight-hub-tags p .search-insight-hub-tag-label {
    font-weight: 700;
}
.search-insight-hub-result .search-insight-hub-tags p a.search-insight-hub-tag {
    color: #ffffff;
    background: #ca1c1b;
}

.search-insight-hub-result dl dt {}
.search-insight-hub-result dl dd {}
.search-insight-hub-result dl dd:last-child {}

@media (min-width: 522px) {
    .search-insight-hub-result h2 {
        font-size: 38px;
    }
    .search-insight-hub-result p,
    .search-insight-hub-result dl dt,
    .search-insight-hub-result dl dd {
        font-size: 21px;
        line-height: 25px;
    }
}
@media (min-width: 576px) {
    .search-insight-hub-result .search-insight-hub-tags p {
        width: auto;
    }
}


/* FOOTER
-------------------------------------------------- */

footer {
    padding: 40px 0;
    background-color: #000000;
    color: #ffffff;
    position: relative;
    z-index: -1;
}

footer h2 {
    font-family: lato, sans-serif;
    font-weight: 700;
    font-style: normal;
}

footer h2 span {
    color: #ca1c1b;
}

footer a {
    color: #fff;
}
footer a:hover {
    color: #fff;
}
ul.footer-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.footer-menu li {
    display: inline-block;
    padding-right: 0;
    padding-left: 10px;
}
ul.footer-menu li:after {
    content: '|';
    color: #fff;
    padding-left: 10px;
}
ul.footer-menu li:last-child::after {
    display: none;
}
a.footer-nav-link {
    text-decoration: underline;
    color: #fff;
}
a.footer-nav-link:hover {
    text-decoration: none;
}
.footer-logo {
    max-width: 66%;
}
