/*! Lity - v2.3.1 - 2018-04-20
* http://sorgalla.com/lity/
* Copyright (c) 2015-2018 Jan Sorgalla; Licensed MIT */
.lity-active .body {
    overflow: hidden;
}

.lity {
    z-index: 9990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    white-space: nowrap;
    background: #0B0B0B;
    background: rgba(0, 0, 0, 0.5);
    outline: none !important;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.lity.lity-opened {
    opacity: 1;
}

.lity.lity-closed {
    opacity: 0;
}

.lity * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.lity-wrap {
    z-index: 9990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    outline: none !important;
}

.lity-wrap:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}

.lity-loader {
    z-index: 9991;
    color: #FFFFFF;
    position: absolute;
    top: 50%;
    margin-top: -0.8em;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.lity-loading .lity-loader {
    opacity: 1;
}

.lity-container {
    z-index: 9992;
    position: relative;
    text-align: left;
    vertical-align: middle;
    display: inline-block;
    white-space: normal;
    max-width: 100%;
    max-height: 100%;
    outline: none !important;
}

.lity-content {
    z-index: 9993;
    width: 100%;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease, -o-transform 0.3s ease;
}

.lity-loading .lity-content,
.lity-closed .lity-content {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.lity-content:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.lity-close {
    -webkit-appearance: none;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 9994;
    outline: none;
    border-radius: 100%;
    border: 0;
    width: 24px;
    height: 24px;
    min-height: 24px;
    background-color: #FFFFFF;
    background-image: url(../images/icon--add.svg);
    background-position: center center;
    background-size: cover;
    transform: rotateY(0deg) rotate(45deg);
    padding: 0;
    text-indent: -9999px;
    cursor: pointer;
}

.lity-close::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
    border-color: #FFFFFF;
    background-color: #FFFFFF;
    color: #FFFFFF;
}

/* Image */
.lity-image img {
    max-width: 100%;
    display: block;
    line-height: 0;
    border: 0;
}

/* iFrame */
.lity-iframe .lity-container,
.lity-youtube .lity-container,
.lity-vimeo .lity-container,
.lity-facebookvideo .lity-container,
.lity-googlemaps .lity-container {
    width: 100%;
    max-width: 746px;
}

.lity-iframe-container {
    width: 100%;
    overflow: auto;
    pointer-events: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-overflow-scrolling: touch;
}

.lity-iframe-container iframe {
    width: 100%;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: all 100ms linear;
}

.lity-hide {
    display: none;
}

/* STYLES INSIDE THE MODAL
   ========================================================================== */
.body--modal {
    background--color: #f9f9f9;
    border-radius: 10px;
    min-height: 0;
    --fields--height: 4.2rem;
    --buttons--height: 4.2rem;
}

.body--modal .main {
    background-color: #f9f9f9;
}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .body--modal .main__wrapper {
        padding: 48px 77px ;
    }
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .body--modal .main__wrapper {
        padding: 52px 16px 48px;
    }
}

.body--modal .article__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
}

.body--modal .article__header__image {
    margin-right: 0;
    margin-bottom: 8px;
    width: 47px;
}

.body--modal .article__header__text__subtitle {
    color: inherit;
}

.body--modal .Separator > legend {
    font-weight: 500;
}

.body--modal .button-bar {
    text-align: center;
}

/* Media query to target tablet and desktop */
@media all and (min-width:700px) {
    .body--modal .button-bar button,
    .body--modal .button-bar input[type="submit"],
    .body--modal .button-bar .button {
        width: auto;
    }
}

.body--modal .button-bar--center {
    text-align: center;
}

.body--modal .button-bar--center button,
.body--modal .button-bar--center input[type="submit"],
.body--modal .button-bar--center .button {
    margin-right: calc(var(--grid--columns--gap) * .5);
    margin-left: calc(var(--grid--columns--gap) * .5);
}

.body--modal .list--actions {
    margin-top: -20px; /* This is the .article__content margin-top. */
    margin-right: -24px; /* This is the .body--modal .main__wrapper padding-right. */
    margin-bottom: -24px; /* This is the .body--modal .main__wrapper padding-bottom. */
    margin-left: -24px; /* This is the .body--modal .main__wrapper padding-left. */
    width: calc(100% + 24px + 24px); /* This is the parent width, plus the .body--modal .main__wrapper padding-right and padding-left */
}

.body--modal .list--actions .list__item + .list__item {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #d7e1f2;
}

.body--modal .list--actions .list__item__link {
    display: block;
    padding: 17px 15px; /* We achieve 56px height trough padding */
    background-color: #FFFFFF;
    font-weight: 500;
    text-align: center;
    color: #00A887; /* var(--color--buttons) */
}

.body--modal .list--actions .list__item__link:hover,
.body--modal .list--actions .list__item__link:active,
.body--modal .list--actions .list__item__link:visited {
    background-color: #E9F9F4; /* var(--color--buttons--15) */
    color: #00A887; /* var(--color--buttons) */
}

.body--modal .list--actions .list__item__link:focus {
    background-color: #E9F9F4; /* var(--color--buttons--15) */
    color: #00A887; /* var(--color--buttons) */

}

