﻿body {
    background: white;
}

.jnf-widget.info-section p, .jnf-widget.info-section div {
    max-width: 100%;
}

.jnf-widget.jnf-widget-title.jnf-widget-title-normal-centered h1 {
    padding: 25px;
    padding-top: 10px;
}
.jnf-widget.jnf-widget-title.jnf-widget-title-light-centered h1 {
    font-size: 24px;
    text-align: center;
    text-align: center;
    font-weight: bold;
    padding: 40px 20px 4px 20px;
}

.jnf-widget.info-section {
    padding: 0 20px 30px 20px;
}

.font-size-down {
    font-size: 18px;
    padding: 0 0 25px 0;
}

section.ondemand {
    background-color: #f1f2f2;
    border: 1px solid #002855;
    width: 100%;
}

.bg-white {
    background-color: #ffffff;
    padding: 10px 15px;
}

    .bg-white.border {
        padding: 10px 24px;
        border-bottom: 1px solid #002855;
    }

h2,
h3,
h4,
p,
a {
    color: #002855;
    font-family: Compasse, Arial, Helvetica;
    margin: 0;
}

.ondemandmodal h3,
.ondemandmodal h4,
.ondemandmodal p {
    line-height: 1.3;
    margin: 0;
}

.ondemandmodal h3 {
    border-top: 9px solid #FE5000;
    padding: 1em 40px 1em 0;
}

.ondemandmodal p:first-of-type,
.ondemandmodal h4 {
    padding: 0 0 1em 0;
}

h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

h2,
h4,
p {
    font-size: 15px;
}

.live-events {
    text-align: center;
    padding: 24px;
    height: auto;
    position: relative;
}

    .live-events .overflow {
        height: auto;
    }

        .live-events .overflow > div {
            max-width: 900px;
            border: 1px solid #707070;
            margin: 0 0 6px 0;
            text-align: left;
        }

            .live-events .overflow > div:last-child {
                margin: 0 !important;
            }

            .live-events .overflow > div.bg-white > h3::before {
                content: "";
                display: inline-block;
                width: 35px;
                height: 24px;
                margin: 0 10px 0 0;
                background: #FE5000;
                vertical-align: top;
            }

    .live-events .details > div {
        display: block;
        width: 100%;
        margin: 10px 0;
        vertical-align: top;
    }

        .live-events .details > div:last-child {
            margin: 10px 0 3px 0;
        }

    .live-events .details a.button {
        display: block;
        width: 100%;
        height: 41px;
        line-height: 41px;
        font-size: 15px;
        color: white;
        background-color: #002855;
        cursor: pointer;
        text-align: center;
    }

        .live-events .details a.button:hover {
            text-decoration: none;
            cursor: pointer;
        }

.ondemandmodal {
    display: none;
    position: fixed;
    top: 41px;
    background: white;
    padding: 0 24px;
    z-index: 2;
    width: 95%;
    left: 2.5%;
    box-shadow: 5px 5px 10px #888888;
    text-align: left;
    overflow: auto;
} .ondemandmodal.open {
        display: block;
    } .ondemandmodal .close {
        position: absolute;
        right: 24px;
        top: 15px;
        font-size: 34px;
        cursor: pointer;
    } a.orange {
    color: #FE5000;
    font-weight: bold;
} .sfPageEditor div[data-placeholder-label="OnDemandContainer"] {
    background-color: #eeeeee;
} .sfPageEditor div[data-placeholder-label="OnDemandPopUpContainer"] {
    background-color: #fff0f2;
}
.sfPageEditor .ondemandmodal {
    display: block;
    position: relative;
    width: 100%;
    left: 0;
    box-shadow: none;
    border: 1px solid #555555;
    max-width: 902px;
}
  .sfPageEditor .bg-white {
      background-color: transparent;
  }
.sfPageEditor .live-events {
    max-height: max-content;
}
/*carousel css*/
.jcarousel-wrapper {
    margin: 0 auto 0 auto;
    position: relative;
    background: white;
} .jcarousel-wrapper:last-of-type {
        margin: 0 auto 40px auto !important;
    } .jcarousel-wrapper:first-of-type {
        margin: 15px auto 0 auto !important;
    } .jcarousel-wrapper h2 {
        padding: 40px 20px 0 20px;
        margin: 0;
        font-size: 20px;
    } .jcarousel-wrapper p {
        padding: 0 20px;
    } .jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
} .jcarousel ul {
        width: 10000em;
        position: relative;
        list-style: none;
        margin: 0;
        padding: 0;
    } .jcarousel li {
        width: 300px;
        height: auto;
        float: left;
        margin: 6px 6px 0 0;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        text-align: center;
    } .jcarousel .video-container {
        height: 176px;
        position: relative;
        overflow: hidden;
        padding-top: 56.25%;
        margin: 10px 0 20px 0;
    } .jcarousel .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        } .jcarousel li p:last-child {
        font-size: 18px;
    } .jcarousel li p {
        padding: 0 15px;
    }
/** Carousel Controls **/
.jcarousel-control-prev, .jcarousel-control-next {
    position: absolute;
    top: 50%;
    width: 38px;
    height: 33px;
    text-align: center;
    background: #ffffff;
    text-decoration: none;
    padding: 16px;
} .jcarousel-wrapper:first-of-type .jcarousel-control-prev, .jcarousel-wrapper:first-of-type .jcarousel-control-next {
    margin-top: 8px;
} .jcarousel-wrapper:nth-of-type(2) .jcarousel-control-prev, .jcarousel-wrapper:nth-of-type(2) .jcarousel-control-next {
    margin-top: 19px;
} .jcarousel-wrapper:nth-of-type(3) .jcarousel-control-prev, .jcarousel-wrapper:nth-of-type(3) .jcarousel-control-next {
    margin-top: -2px;
} .jcarousel-control-prev {
    left: 0;
} .jcarousel-control-prev::before, .jcarousel-control-next::before {
        content: "";
        width: 13px;
        height: 13px;
        position: absolute;
        border-width: 1px;
        border-style: solid;
        border-bottom: none;
        border-right: none;
        -webkit-transform-origin: top left;
        transform-origin: top left;
        border-color: #707070;
    } .jcarousel-control-prev::before {
        left: 33%;
        -webkit-transform: rotateZ(-45deg);
        transform: rotateZ(-45deg);
    } .jcarousel-control-next {
    right: 0;
} .jcarousel-control-next::before {
        left: 75%;
        -webkit-transform: rotateZ(135deg);
        transform: rotateZ(135deg);
    }
@media screen and (min-width: 1000px) {
    .jnf-widget.jnf-widget-title.jnf-widget-title-light-centered h1 {
        font-size: 42px;
    }

    .jnf-widget.info-section {
        padding: 0 10px 30px 10px !important;
    }

    .font-size-down {
        font-size: 24px;
    }

    .live-events {
        max-height: 450px;
    }

        .live-events .overflow {
            overflow: auto;
            max-height: 400px;
            scrollbar-color: #FE5000 #f1f2f2;
        }

    .overflow::-webkit-scrollbar {
        width: 10px;
    }

    .overflow::-webkit-scrollbar-track {
        background-color: #f1f2f2;
        border-radius: 10px;
    }

    .overflow::-webkit-scrollbar-thumb {
        background: #FE5000;
        border-radius: 10px;
    }

    .live-events .overflow > div > h3::before {
        margin: 4px 10px 0 0 !important;
    }

    h3 {
        font-size: 24px;
    }

    h2,
    h4 {
        font-size: 20px;
    }

    .ondemandmodal {
        position: absolute;
        top: 0;
        width: 80%;
        left: 10%;
    }

        .ondemandmodal p:first-of-type {
            font-size: 18px;
        }

    .live-events .details > div,
    .live-events .details > div:last-child {
        display: inline-block;
        margin: 0;
        width: 210px;
    }

    .jcarousel-wrapper h2 {
        padding: 40px 0 0 0;
    }

    .jcarousel-wrapper p {
        padding: 0;
    }
}
