﻿.entry-content #videoCarousel ol, .entry-content #videoCarousel ul {
    margin-bottom: 0px !important;
    margin-left: 0px !important;
}


#myDropdown {
    font-size: 20px;
    padding: 10px 15px;
    border: 3px solid #ed1c29;
    width: 98%;
    margin-top: -20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ed1c29;
    color: #fff;
    font-family: Gill Sans,Gill Sans MT,Calibri,sans-serif;
    border-radius: 0px;
}

.select2-container {
    width: 100% !important;
    margin-bottom: 20px !important;
    margin-top: -15px !important;
}

.select2-selection {
    height: 50px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: #ed1c29 !important;
    width: 825px !important;
    margin-left: auto;
    margin-right: auto;
    font-family: "Gill Sans MT", 'Gill Sans';
    color: #fff !important;
    border: 0px !important;
    font-weight: 500;
    text-align: center;
}

.select2-dropdown {
    background-color: #c72035 !important;
    border: none !important;
    border-radius: 0px !important;
    width: 825px !important;
    margin-top: 15px
}

.admin-bar .select2-dropdown {
	margin-top: 47px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #a7202d !important;
    color: #fff;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    color: #000;
}

.select2-search--dropdown {
    display: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    position: initial !important;
    display: grid;
    margin-top: -27px;
    margin-left: auto;
    margin-right: 5px;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: #fff transparent transparent transparent !important;
        border-width: 7px 6px 0 6px !important;
        position: inherit !important;
    }

.select2-selection__rendered {
    line-height: 50px !important;
    color: #fff !important;
    padding-right: 30px !important;
    padding-left: 30px !important;
}

.select2-selection__arrow {
    height: 48px !important;
}

.select2-results {
    font-size: 16px;
    color: #000;
}

.select2-results__option {
    padding: 10px;
    border-top: 0.5px solid black;
    color: #fff;
}

.select2-results__option--highlighted {
    background: #ccc;
}

span.select2-container.select2-container--default.select2-container--open {
    max-width: 825px;
}

#videoCarousel .slick-slide {
    transition: all 0.3s ease-in-out;
    padding: 11.5px;
    width: auto !important;
}

    #videoCarousel .slick-slide .videoWrapper {
        max-height: 450px;
        transition: all 0.3s ease-in-out;
    }

#videoCarousel .slick-track {
    width: auto;
	left: -100px;
}
/* Center the video within the wrapper */
#videoCarousel .videoWrapper video {
    position: relative;
    display: inline-block;
    object-fit: contain;
    max-height: 450px;
    z-index: 1;
    transition: all 0.5s ease;
    cursor: pointer;
    border-radius: 5px;
}

#videoCarousel {
    max-height: 475px;
}

.videoWrapper {
    position: relative; /* This makes it a positioning context for absolute children */
    width: 100%; /* Full width of the parent slide */
    height: 100%; /* Full height of the parent slide */
}

/* Video overlay */
.videoOverlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translatex(-50%);
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(167, 32, 45, 0.75), rgba(167, 32, 45, 0) 40%);
    pointer-events: none;
    z-index: 10;
    border-radius: 5px;
}

    /* Text overlay */
    .videoOverlay h3, .videoOverlay h4 {
        color: white;
        margin: 0;
        padding: 0 10px;
    }

    .videoOverlay h3 {
        font-size: 25px;
        margin-bottom: 0.25em;
    }

    .videoOverlay h4 {
        font-size: 20px;
        font-family: Serifa;
        font-weight: 500;
    }

    /* Position text */
    .videoOverlay .overlayText {
        bottom: 10px;
        left: 10px;
        position: absolute;
    }

.videoselector {
    max-width: 825px;
    align-items: center;
    margin: auto;
}

.section1 {
    align-items: center;
    display: grid;
    width: 100%;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(88, 89, 91, 0.4);
}

.modal-content {
    position: relative;
    background-color: transparent;
    margin: 1% auto;
    margin-top: 15vh;
    padding: 0px;
    width: 80%;
    max-width: 350px;
}

.close {
    color: #fff;
    margin: 0px;
    font-size: 50px;
    font-weight: bold;
    display: inline;
    float: right;
    position: absolute;
    top: -15px;
    right: 10px;
    z-index: 50;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

#modal-video {
    width: 100%;
}

.selectorheading {
    text-align: center;
    font-size: 40px;
    margin-bottom: 35px;
}

.slick-prev {
    left: -30px;
}
.slick-next {
	right: -20px;
}

/*Mobile Styles, NOT RESPONSIVE STYLES YET*/
button.slick-next:before, button.slick-prev:before {
    color: red;
    font-size: 25px;
}

@media screen and (min-width: 651px) and (max-width: 915px) {
    #videoCarousel .videoWrapper video {
        margin-bottom: -8px;
    }

    #videoCarousel .slick-slide {
        width: auto !important;
        transition: all 0.3s ease-in-out;
        padding: 7.5px;
        margin-left: -10px;
        width: 185px !important;
        flex: 1 0 auto;
    }

    #videoCarousel {
        max-width: 567px !important;
        max-height: 350px !important;
    }

    .slick-prev {
        left: -30px;
    }

    #myDropdown {
        width: 96%;
    }

    .select2-selection {
        width: 567px !important;
    }

    .select2-dropdown {
        width: 567px !important;
        margin-left: 0px !important;
        margin-top: 15px;
    }

    .select2-container {
        max-width: 567px !important;
    }

    #videoCarousel .slick-track {
        width: auto;
        left: 0px;
    }
}

@media screen and (max-width: 650px) and (min-width: 390px) {
    .videoOverlay .overlayText {
        left: 0px;
        width: 100%
    }

    .videoOverlay h3 {
        font-size: 1.4rem;
        padding: 0 0 5px;
        margin 0 8px 5px;
    }

    .videoOverlay h4 {
        font-size: 1.1rem;
    }
    
    #videoCarousel .videoWrapper video {
        margin-bottom: -8px;
    }

    #videoCarousel .slick-slide {
        width: auto !important;
        transition: all 0.3s ease-in-out;
        padding: 10px 5px;
        margin-left: 0px;
        width: 180px !important;
        flex: 1 0 auto;
    }

    #videoCarousel, .slick-list {
        max-width: 360px !important;
        height: 335px !important;
        margin: auto;
    }

    #videoCarousel .slick-dots li {
        margin: 0px;
    }

    #myDropdown {
        font-size: 20px;
        padding: 5px 7.5px;
        width: 100%;
        margin-top: -10px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
        background-color: #ed1c29;
        color: #fff;
        font-family: Gill Sans,Gill Sans MT,Calibri,sans-serif;
    }

    .select2-selection {
        width: 350px !important;
        max-width: 95% !important;
    }

    .select2-dropdown {
        width: 350px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        position: initial !important;
        max-width: 95% !important;
        margin-top: 15px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        right: 115px !important;
    }

    .select2-selection {
        font-size: 16px;
        text-align: left;
    }

    .select2-selection__rendered {
        padding-left: 10px !important;
    }

    .videoselector {
        width: 100%;
        align-items: center;
        display: grid;
        margin: auto;
        overflow: hidden;
        padding-bottom: 35px;
    }

    .selectorheading {
        text-align: center;
        font-size: 30px;
    }

    span.select2-container.select2-container--default.select2-container--open {
        left: 0px !important;
    }

    #videoCarousel .slick-prev {
        left: -30px;
    }

    #videoCarousel .slick-track {
        width: auto;
        left: 0px;
    }
}
@media screen and (max-width: 440px) {
    #videoCarousel .slick-next {
        right: 40%;
        top: 100%;
        z-index: 50;
    }
    #videoCarousel .slick-prev {
        left: 40%;
        top: 100%;
        z-index: 50;
    }
    #videoCarousel .slick-dots {
        bottom: -35px;
    }
    #videoCarousel .slick-track {
        width: auto;
        left: 0px;
    }
}


@media screen and (max-width: 390px) {
    .videoOverlay .overlayText {
        left: 0px;
        width: 100%
    }

    .videoOverlay h3 {
        font-size: 1.4rem;
        padding: 0 0 5px;
        margin 0 8px 5px;
    }

    .videoOverlay h4 {
        font-size: 1.1rem;
    }

    #videoCarousel .videoWrapper video {
        margin-bottom: -8px;
    }

    #videoCarousel .slick-slide {
        width: auto !important;
        transition: all 0.3s ease-in-out;
        padding: 10px;
        margin-left: -10px;
        width: 240px !important;
        flex: 1 0 auto;
    }

    #videoCarousel, .slick-list {
        max-width: 240px !important;
        height: 425px !important;
        margin: auto;
    }

    .select2-selection {
        width: 90% !important;
    }

    .select2-container {
        width: 90vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .select2-dropdown {
        width: 81vw !important;
        margin-left: 16px !important;
        margin-top: 15px;
    }

    #videoCarousel .slick-dots li {
        margin: 0 -4px;
    }
}
