@charset "utf-8";

/** ==========================================================================
    Global styling of HTML tags and common resets
    ======================================================================== */

*, ::before, ::after {
    background-repeat: no-repeat;
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
}

html {
    height: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    cursor: default;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

@-ms-viewport {
    width: device-width;
}

body {
    height: 100%;
    margin: 0;
}

main {
    display: block;
}

iframe {
    border: 0;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

li {
    display: block;
}

h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: inherit;
    font-weight: inherit;
}

hr {
    margin: 2em 0;
    border: 0 solid var(--muted-text-color);
    border-bottom-width: 1px;
}

blockquote {
    margin: 0;
    padding: 0;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

b, strong {
    font-weight: bold;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    outline: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: 0;
    margin: 0;
    padding: 0;
    text-align: inherit;
    text-transform: inherit;
    font: inherit;
    letter-spacing: inherit;
    background: none;
    cursor: pointer;
    overflow: visible;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-font-smoothing: inherit;
}

/* Turn off the cancel button for webkit. Could also be styled... */
::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/* Turn off the cancel button for IE10+. */
::-ms-clear {
    display: none;
}

/* No inner border on buttons in Firefox */
::-moz-focus-inner {
    padding: 0;
    border: 0;
}

svg {
    pointer-events: none;
}



/** ==========================================================================
    Helper classes
    ======================================================================== */

.is-hidden {
    display: none !important;
}

.is-visuallyhidden {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    white-space: nowrap;
}

.is-visuallyhidden.is-focusable:focus,
.is-visuallyhidden.is-focusable:active {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    white-space: inherit;
}

.is-invisible {
    visibility: hidden;
}

.needs-clearfix::before,
.needs-clearfix::after {
    content: ' ';
    display: table;
}

.needs-clearfix::after {
    clear: both;
}

/** ==========================================================================
    Swiper makeover
    ======================================================================== */

:root {
    --swiper-theme-color: #333;
}

.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after {
    content: none;
}

.swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after {
    content: none;
}

/** ==========================================================================
    Actual styling
    ======================================================================== */

html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #fff;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    margin: 0;
    padding: 0;
}

.swiper-slide {
    position: relative;
    background: #fff;
}

.swiper-slide a {
    display: block;
    height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    outline: none;
}

.gallery-top {
    height: 75%;
}

.gallery-thumbs {
    height: 20%;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border: 2px solid;
    border-color: #adadad;
}

.gallery-thumbs .swiper-slide-thumb-active::before {
    border-color: #ad262f;
}

.gallery-top .swiper-slide__image,
.gallery-thumbs .swiper-slide__image {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
}
