﻿/* Generic */
.text-left {
    text-align: left;
}

.text-centre {
    text-align: center;
}

.text-right {
    text-align: right;
}

.font-weight-normal {
    font-weight: normal;
}

.font-weight-bold {
    font-weight: bold;
}

.block {
    margin-bottom: 50px;
}

.block .full-width {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

.block form input,
.block form textarea,
.block form select {
    width: 100%;
    padding: 10px 15px;
    text-align: left;
    border-radius: 3px;
    border: 1px solid #949494;
}


/* Image Slider block */
.block-image-slider .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blocks .carousel-controls {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: right;
    position: absolute;
    bottom: 0;
}

.blocks .carousel-controls .splide__arrows {
    display: flex;
}

.blocks .carousel-controls .splide__arrows button {
    position: relative;
    transform: none;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
}

.blocks .carousel-controls .splide__toggle {
    background: none;
    align-items: center;
    background: #ccc;
    height: 2em;
    width: 2em;
    opacity: 1;
    padding: 0;
    display: flex;
    justify-content: center;
}

.blocks .carousel-controls .splide__toggle:hover {
    opacity: 0.9;
}

.blocks .carousel-controls .splide__toggle svg {
    height: 1em;
    width: 1em;
}

.splide .splide__arrow {
    opacity: .9;
}

.fs .splide.is-focus-in .splide__arrow--next:focus,
.fs .splide.is-focus-in .splide__arrow--prev:focus,
.fs .blocks .carousel-controls .splide__toggle:focus,
.fs .splide.is-focus-in .splide__pagination__page:focus {
    outline: -webkit-focus-ring-color auto 1px;
    outline-offset: 2px;
}

/* Image Text block */
.block.block-image-text .block-liner {
    align-items: center;
}

.block.block-image-text .image-right {
    flex-direction: row-reverse;
}

.block.block-image-text img {
    max-height: 350px;
    object-fit: contain;
}

.block.block-image-text h2 {
    margin-top: 0;
}

.block.block-image-text .image-right .image-col {
    text-align: right;
}

/* All Items block */

.block.block-all-items {
    margin-top: 50px;
}

/* Categories */

.block-categories h2 {
    text-align: center;
}
/* Featured Category */
.featured-category {
    padding: 0;
    border-radius: 10px;
    max-height: 620px;
    position: relative;
}

.featured-slider {
    position: relative;
    margin: 0 -10px;
}

.featured-slider .splide__arrow--next {
    right: 0;
}

.featured-slider .splide__arrow--prev {
    left: 0;
}

.featured-category h2 {
    text-align: center;
}

.featured-category.item {
    position: relative;
}

.featured-category.item .validation-summary-errors {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
}

.featured-category.item select {
    margin-top: 5px;
}

.featured-category .items .item .meta {
    min-height: 145px;
}

.featured-category .items .items {
    flex-wrap: nowrap;
}

.featured-category .items .item {
    flex-wrap: nowrap;
    padding: 0 0 0 10px;
}

.featured-category .items.splide__list {
    width: 100%;
}

.featured-category .items.splide__list .width-third {
    width: 33.3%;
}

.featured-category .items.splide__list .width-half {
    width: 50%;
}

@media (max-width: 1000px) {
    .featured-category .items.splide__list .width-third,
    .featured-category .items.splide__list .width-half {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .featured-category .items.splide__list .width-third,
    .featured-category .items.splide__list .width-half {
        width: 100%;
    }
}

@media all and (-ms-high-contrast:none) {
    /** Image fixes for srcset and object fit (IE11 doesn't support either) **/
    *::-ms-backdrop, .block.block-image-text .image-col {
        overflow: hidden;
        height: 400px;
    }

    *::-ms-backdrop, .block.block-image-text img {
        height: auto;
    }

    *::-ms-backdrop, .block-image-slider {
        overflow: hidden;
    }
}

/** Banner **/

.block-banner {
    height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.block-banner .banner-img {
    height: 380px;
    width: 100%;
    object-fit: cover;
}

.block-banner:before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: '';
}

.block-banner .block-banner-content {
    height: 380px;
    margin-top: -380px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.block-banner .block-banner-content.text-center {
    justify-content: center;
}

.block-banner .block-banner-content .btn {
    margin-top: 10px;
}

.block-banner .block-banner-content-text {
    width: 100%;
}

.block-banner.no-image .block-banner-content {
    margin-top: 0;
}

.block-banner.no-image::before {
    background: none;
}

.block-banner.show-overlay::before {
    background: rgba(0,0,0,0.5);
}

/** FAQs **/

.faq-list {
    max-width: 1000px;
    margin: auto;
}

.faq-list .faq {
    padding: 30px 0;
    border: none;
    background-color: unset;
    color: unset;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #dbe7eb;
    cursor: pointer;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
}

.faq-list .faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    font-size: 20px;
    margin: 0;
    font-weight: initial;
}

.faq-list .faq-header .faq-toggle {
    width: 5%;
    text-align: right;
    font-size: 30px;
    line-height: 1;
}

.faq-list .faq-header .faq-toggle .fa {
    transition: all .3s;
}

.faq-list .faq.active .faq-toggle .fa {
    transform: rotate(180deg);
} 

.faq-list h2 {
    text-align: center;
}

.faq-list .faq-content {
    display: none;
    padding-top: 15px;
}

.faq-list .faq-content p {
    font-weight: initial;
    white-space: initial;
}

/* Contact Form block */

.block-contact-form form {
    margin: auto;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
}

.block-contact-form .form-control {
    width: 50%;
    padding: 5px;
}

.block-contact-form .form-control.form-control-full {
    width: 100%;
}

.block-contact-form .form-submit {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.block-contact-form button {
    min-width: 100px;
}

.block-contact-form textarea {
    height: 150px;
}

@media (max-width: 767px) {
    .block-contact-form .form-control {
        width: 100%;
    }
}

/* Image List block */
.block-image-list .image-list ul {
    justify-content: center;
    margin: auto !important;
}

.block-image-list .image-list img {
    display: block;
    width: 100%;    
    margin: auto;
}

.block-image-list .splide__slide {
    padding: 0 10px;
}

.image-list.no-slider .splide {
    visibility: visible;
}

.image-list.no-slider ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 -10px;
}

.image-list.no-slider ul li {
    margin-bottom: 15px;
    width: 16.66%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 1000px) {
    .image-list.no-slider ul li {
        width: 33.3%;
    }
}

@media (max-width: 767px) {
    .image-list.no-slider ul li {
        width: 50%;
    }
}

/** Featured Categories **/

.featured-folder {
    text-align: center;
}

.featured-folder .folder-slider {
    display: flex;
}

#home .featured-folder .folder-slider .category,
.featured-folder .folder-slider .category {
    padding-bottom: unset;
    padding: 0 0 0 10px;
}

.featured-folder .folder-slider-container {
    padding: 0;
    position: relative;
}

.featured-folder .folder-slider .category {
    margin-bottom: 0
}

#home .splide__slide.category .liner,
.blocks .splide__slide.category .liner {
    padding-right: unset !important;
    padding-bottom: 0;
}

/** Image Split **/

.fs .image-split {
	display: flex;
	flex-wrap: wrap;
	height: 100vh;
}

.fs .image-split .split {
	height: 100vh;
	flex: 0 0 50%;
	position: relative;
	overflow: hidden;
    transition: all .3s;
}

.fs .image-split .split:hover {
	opacity: .8;
}

.fs .image-split .split .split-content {
    position: absolute;
    z-index: 99;
    color: #fff;
    padding: 30px 20px;
    width: 450px;
    text-align: center;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 50%;
    transform: translateY(-50%);
}

.fs .image-split .split img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.fs .image-split .split .split-content h2 {
    font-size: 30px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.fs .image-split .split .split-content .btn {
    background: none;
    border: 1px solid #fff;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .fs .image-split {
        height: auto;
    }

    .fs .image-split .split {
        height: 50vh;
        flex: 0 0 100%; 
    }

    .fs .image-split .split img {
        height: 50vh;
    }

    .fs .image-split .split .split-content {
        width: 85%;
    }

    .fs .image-split .split .split-content h2  {
        font-size: 25px;
    }
}