html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    background: #08262b;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    -webkit-text-size-adjust: none
}

mark {
    background-color: transparent;
    color: inherit
}

input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input[type="text"],
input[type="email"],
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: var(--viewport-height);
    line-height: 1.0;
    word-wrap: break-word;
    overflow-x: hidden;
}

body:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: var(--background-height);
    z-index: 0;
    pointer-events: none;
    transform: scale(1);
    background: fixed url('../img/bg.jpg') center center no-repeat;
    background-size: cover;
    background-color: #08262b;
}

body:after {
    display: block;
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #08262b;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out 0.375s, visibility 1s 0.375s;
    transform: scale(1);
}

body.is-loading:after {
    opacity: 1;
    visibility: visible;
}

:root {
    --site-language-direction: ltr;
    --site-language-alignment: left;
    --viewport-height: 100vh;
    --background-height: 100vh;
}

html {
    font-size: 16pt;
}

u {
    text-decoration: underline;
}

strong {
    color: inherit;
    font-weight: bolder;
}

em {
    font-style: italic;
}

code {
    font-family: 'Lucida Console', 'Courier New', monospace;
    font-weight: normal;
    text-indent: 0;
    letter-spacing: 0;
    font-size: 0.9em;
    margin: 0 0.25em;
    padding: 0.25em 0.5em;
    background-color: rgba(144, 144, 144, 0.25);
    border-radius: 0.25em;
}

mark {
    background-color: rgba(144, 144, 144, 0.25);
}

s {
    text-decoration: line-through;
}

a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.25s ease;
}

#wrapper {
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: var(--viewport-height);
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 3rem 3rem 3rem 3rem;
}

#main {
    display: flex;
    position: relative;
    max-width: 100%;
    z-index: 1;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    flex-shrink: 0;
    text-align: center;
    background-color: #FFFFFF;
    border-radius: 0.625rem 0.625rem 0.625rem 0.625rem;
    transition: opacity 1s ease 0s, transform 1s ease 0s;
    box-shadow: 0 0 30px rgba(0,0,0, 0.2);
}

#main>.inner {
    position: relative;
    z-index: 1;
    border-radius: inherit;
    padding: 5rem 4rem;
    max-width: 100%;
    width: 29rem;
}

#main>.inner>header {
    margin-bottom: 1.125rem;
}

#main>.inner>footer {
    margin-top: 1.125rem;
}

#main>.inner>*>* {
    margin-top: 1.125rem;
    margin-bottom: 1.125rem;
}

#main>.inner>*> :first-child {
    margin-top: 0 !important;
}

#main>.inner>*> :last-child {
    margin-bottom: 0 !important;
}

#main>.inner>.full {
    margin-left: calc(-4rem);
    width: calc(100% + 8rem + 0.4725px);
    max-width: calc(100% + 8rem + 0.4725px);
}

#main>.inner>.full:first-child {
    margin-top: -5rem !important;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

#main>.inner>.full:last-child {
    margin-bottom: -5rem !important;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

#main>.inner>.full.screen {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    border-radius: 0 !important;
    left: 50%;
    right: auto;
    margin-left: -50vw;
}

#main>.inner>*>.full {
    margin-left: calc(-4rem);
    width: calc(100% + 8rem + 0.4725px);
    max-width: calc(100% + 8rem + 0.4725px);
}

#main>.inner>*>.full.screen {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    border-radius: 0 !important;
    left: 50%;
    right: auto;
    margin-left: -50vw;
}

#main>.inner>.active>.full:first-child {
    margin-top: -5rem !important;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

#main>.inner>.active {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

#main>.inner>.active>.full:last-child {
    margin-bottom: -5rem !important;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

body.is-loading #main {
    opacity: 0;
    transform: translateY(1.6875rem);
}

#main>.inner>header,
#main>.inner>footer {
    transition: opacity 0.375s ease-in-out 0.5625s, visibility 0.375s linear 0.5625s;
}

#main>.inner>header.hidden,
#main>.inner>footer.hidden {
    transition: opacity 0.375s ease-in-out, visibility 0.375s;
    opacity: 0;
    visibility: hidden;
}

#main>.inner>section {
    transition: opacity 0.75s ease-in-out 0.375s, min-height 0.375s ease-in-out, max-height 0.375s ease-in-out;
}

#main>.inner>section.inactive {
    transition: opacity 0.375s ease-in-out;
    opacity: 0;
}

body.is-instant #main,
body.is-instant #main>.inner>*,
body.is-instant #main>.inner>section>* {
    transition: none !important;
}

body.is-instant:after {
    display: none !important;
    transition: none !important;
}

@keyframes loading-spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.deferred:before {
    content: '';
    display: block;
    width: 4rem;
    height: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -2rem 0 0 -2rem;
    animation: loading-spinner 1s infinite linear;
    transition: opacity 0.25s ease;
    transition-delay: 0.5s;
    opacity: 0;
    z-index: -1;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iOTZweCIgaGVpZ2h0PSI5NnB4IiB2aWV3Qm94PSIwIDAgOTYgOTYiIHpvb21BbmRQYW49ImRpc2FibGUiPjxzdHlsZT5jaXJjbGUge2ZpbGw6IHRyYW5zcGFyZW50OyBzdHJva2U6ICNmZmY7IHN0cm9rZS13aWR0aDogMS41cHg7IH08L3N0eWxlPjxkZWZzPjxjbGlwUGF0aCBpZD0iY29ybmVyIj48cG9seWdvbiBwb2ludHM9IjAsMCA0OCwwIDQ4LDQ4IDk2LDQ4IDk2LDk2IDAsOTYiIC8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xpcC1wYXRoPSJ1cmwoI2Nvcm5lcikiPjxjaXJjbGUgY3g9IjQ4IiBjeT0iNDgiIHI9IjMyIi8+PC9nPjwvc3ZnPg==');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 3rem;
}

.deferred.loading:before {
    opacity: 0.35;
    z-index: 0;
}

.image {
    position: relative;
    max-width: 100%;
    display: block;
}

.image .frame {
    width: 100%;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    /* -webkit-transform: translate3d(0, 0, 0); */
}

.image .frame img {
    width: inherit;
    max-width: 100%;
    vertical-align: top;
    border-radius: 0 !important;
}

.image.full .frame {
    display: block;
}

.image.full:first-child .frame {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.image.full:last-child .frame {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.image.style2:not(:first-child) {
    margin-top: 1.75rem !important;
}

.image.style2:not(:last-child) {
    margin-bottom: 1.75rem !important;
}

.image.style2 .frame {
    width: 10rem;
    border-radius: 100%;
}

.image.style1:not(:first-child) {
    margin-top: 4rem !important;
}

.image.style1:not(:last-child) {
    margin-bottom: 4rem !important;
}

.image.style1 .frame {
    width: 100vw;
    height: 22rem;
}

.image.style1 img {
    object-fit: cover;
    object-position: center;
    width: 100% !important;
    height: 100% !important;
}

#profile {
    margin-bottom: 0 !important;
}

h1,
h2,
h3,
p {
    direction: var(--site-language-direction);
}

h1 br+br,
h2 br+br,
h3 br+br,
p br+br {
    display: block;
    content: ' ';
}

h1 .li,
h2 .li,
h3 .li,
p .li {
    display: list-item;
    padding-left: 0.5em;
    margin: 0.75em 0 0 1em;
}

h1.style4,
h2.style4,
h3.style4,
p.style4 br+br {
    margin-top: 0.675rem;
}

h1.style4,
h2.style4,
h3.style4,
p.style4 {
    color: #585D6B;
    font-family: 'Fraunces', serif;
    font-size: 3em;
    line-height: 1;
    font-weight: 300;
}

h1.style4 a,
h2.style4 a,
h3.style4 a,
p.style4 a {
    text-decoration: underline;
}

h1.style4 a:hover,
h2.style4 a:hover,
h3.style4 a:hover,
p.style4 a:hover {
    text-decoration: none;
}

h1.style4 mark,
h2.style4 mark,
h3.style4 mark,
p.style4 mark {
    color: #0019FF;
    background-color: transparent;
}

h1.style1,
h2.style1,
h3.style1,
p.style1 br+br {
    margin-top: 1.125rem;
}

h1.style1,
h2.style1,
h3.style1,
p.style1 {
    color: rgba(88, 93, 107, 0.612);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.025rem;
    width: 100%;
    font-size: 1em;
    line-height: 1.875;
    font-weight: 400;
}

h1.style1 a,
h2.style1 a,
h3.style1 a,
p.style1 a {
    text-decoration: underline;
}

h1.style1 a:hover,
h2.style1 a:hover,
h3.style1 a:hover,
p.style1 a:hover {
    text-decoration: none;
}

h1.style1 mark,
h2.style1 mark,
h3.style1 mark,
p.style1 mark {
    color: #4D4D4D;
    background-color: transparent;
}

.style1 small {
    font-size: smaller;
    display: inline-block;
    line-height: 1.3;
}

h1.style2,
h2.style2,
h3.style2,
p.style2 br+br {
    margin-top: 0.675rem;
}

h1.style2:not(:first-child),
h2.style2:not(:first-child),
h3.style2:not(:first-child),
p.style2:not(:first-child) {
    margin-top: 1.5rem !important;
}

h1.style2:not(:last-child),
h2.style2:not(:last-child),
h3.style2:not(:last-child),
p.style2:not(:last-child) {
    margin-bottom: 1.5rem !important;
}

h1.style2,
h2.style2,
h3.style2,
p.style2 {
    color: #f51f4c;
    font-family: 'Fraunces', serif;
    font-size: 2em;
    line-height: 1.125;
    font-weight: 300;
}

h1.style2 a,
h2.style2 a,
h3.style2 a,
p.style2 a {
    text-decoration: underline;
}

h1.style2 a:hover,
h2.style2 a:hover,
h3.style2 a:hover,
p.style2 a:hover {
    text-decoration: none;
}

h1.style2 mark,
h2.style2 mark,
h3.style2 mark,
p.style2 mark {
    color: #0019FF;
    background-color: transparent;
}

h1.style5,
h2.style5,
h3.style5,
p.style5 br+br {
    margin-top: 0.675rem;
}

h1.style5:not(:first-child),
h2.style5:not(:first-child),
h3.style5:not(:first-child),
p.style5:not(:first-child) {
    margin-top: 1.5rem !important;
}

h1.style5:not(:last-child),
h2.style5:not(:last-child),
h3.style5:not(:last-child),
p.style5:not(:last-child) {
    margin-bottom: 1.5rem !important;
}

h1.style5,
h2.style5,
h3.style5,
p.style5 {
    color: #585D6B;
    font-family: 'Fraunces', serif;
    font-size: 1.875em;
    line-height: 1.125;
    font-weight: 300;
}

h1.style5 a,
h2.style5 a,
h3.style5 a,
p.style5 a {
    text-decoration: underline;
}

h1.style5 a:hover,
h2.style5 a:hover,
h3.style5 a:hover,
p.style5 a:hover {
    text-decoration: none;
}

h1.style5 mark,
h2.style5 mark,
h3.style5 mark,
p.style5 mark {
    color: #0019FF;
    background-color: transparent;
}

.inline-icon {
    height: 1em;
    width: 1em;
    vertical-align: -0.15em;
    display: inline-block;
    /* background: #dceaee; */
    /* border-radius: 50%; */
    /* position: relative; */
}
    .inline-icon svg {
        height: 100%;
        width: 100%;
        fill: #f51f4c;
        /* position: absolute; */
        /* left: 50%; */
        /* top: 50%; */
        /* transform: translateX(-50%) translateY(-50%); */
    }

.icons {
    cursor: default;
    padding: 0;
    letter-spacing: 0;
}

.icons li {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}

.icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icons li a svg {
    display: block;
    position: relative;
}

.icons li a+svg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.icons li a .label {
    display: none;
}

.icons.style2 {
    font-size: 1.875em;
    width: calc(100% + 1.5rem);
    margin-left: -0.75rem;
}

.icons.style2 li {
    margin: 0.75rem;
}

.icons.style2 li a {
    border-radius: 100%;
    width: 1em;
    height: 1em;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.icons.style2 li a svg {
    width: 100%;
    height: 100%;
    transition: fill 0.25s ease;
}

.icons.style2 a svg {
    fill: #585D6B;
}

.icons.style2 a:hover svg {
    fill: #F59273 !important;
}

.icons.style2 li a+svg {
    transition: fill 0.25s ease, stroke 0.25s ease;
}

.icons.style1 {
    font-size: 1.75em;
    width: calc(100% + 1.25rem);
    margin-left: -0.625rem;
}

.icons.style1 li {
    margin: 0.625rem;
}

.icons.style1 li a {
    border-radius: 100%;
    width: 2em;
    height: 2em;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.icons.style1 li a svg {
    width: 60%;
    height: 60%;
    transition: fill 0.25s ease;
}

.icons.style1 a {
    background-color: #0ab1e1;
}

.icons.style1 a svg {
    fill: #FFFFFF;
}

.icons.style1 a:hover {
    /* background-color: #FF947D !important; */
    background-color: #f51f4c !important;
}

.icons.style1 li a+svg {
    transition: fill 0.25s ease, stroke 0.25s ease;
}

.icons#toc li {
    margin: 0.1em;
}
    .icons#toc li a {
        width: 0.7em;
        height: 0.7em;
    }
        .icons#toc li a svg {
            width: 100%;
            height: 100%;
        }

hr {
    width: 100%;
    position: relative;
    padding: 0;
    border: 0;
}

hr:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
}

hr.style2:not(:first-child) {
    margin-top: 4rem !important;
}

hr.style2:not(:last-child) {
    margin-bottom: 4rem !important;
}

hr.style2:before {
    width: 100%;
    border-top: dashed 3px rgba(88, 93, 107, 0.18);
    height: 3px;
    margin-top: -1.5px;
}

hr.style3:before {
    width: 100%;
    border-top: dashed 3px rgba(88, 93, 107, 0.18);
    height: 3px;
    margin-top: -1.5px;
}

p.style1.copyright {
    font-size: 80%;
    line-height: 1.1;
}

.gallery .inner {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

.gallery ul li {
    position: relative;
}

.gallery ul li .thumbnail {
    position: relative;
    border-radius: inherit;
}

.gallery ul li .frame {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}

.gallery ul li img {
    width: auto;
    max-width: 100%;
    margin: 0;
    vertical-align: top;
}

.gallery ul li .caption {
    width: 100%;
}

.gallery ul li .caption p {
    width: 100%;
}

@keyframes gallery-modal-spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.85);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s, z-index 0.5s;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.gallery-modal:before {
    content: '';
    display: block;
    width: 4rem;
    height: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -2rem 0 0 -2rem;
    animation: gallery-modal-spinner 1s infinite linear;
    transition: opacity 0.25s ease;
    transition-delay: 0.5s;
    opacity: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iOTZweCIgaGVpZ2h0PSI5NnB4IiB2aWV3Qm94PSIwIDAgOTYgOTYiIHpvb21BbmRQYW49ImRpc2FibGUiPjxzdHlsZT5jaXJjbGUge2ZpbGw6IHRyYW5zcGFyZW50OyBzdHJva2U6ICNmZmY7IHN0cm9rZS13aWR0aDogMS41cHg7IH08L3N0eWxlPjxkZWZzPjxjbGlwUGF0aCBpZD0iY29ybmVyIj48cG9seWdvbiBwb2ludHM9IjAsMCA0OCwwIDQ4LDQ4IDk2LDQ4IDk2LDk2IDAsOTYiIC8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xpcC1wYXRoPSJ1cmwoI2Nvcm5lcikiPjxjaXJjbGUgY3g9IjQ4IiBjeT0iNDgiIHI9IjMyIi8+PC9nPjwvc3ZnPg==');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 4rem;
}

.gallery-modal .inner {
    opacity: 0;
    transform: translateY(0.75em);
    transition: all 0.5s ease;
}

.gallery-modal .inner img {
    display: block;
    max-width: 80vw;
    max-height: 85vh;
    box-shadow: 0 1em 3em 0 rgba(0, 0, 0, 0.35);
}

.gallery-modal .nav {
    position: fixed;
    top: 30%;
    width: 8rem;
    max-width: 10vw;
    height: 40%;
    min-height: 6rem;
    cursor: pointer;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjRweCIgaGVpZ2h0PSI2NHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHpvb21BbmRQYW49ImRpc2FibGUiPjxzdHlsZT5saW5lIHtzdHJva2U6ICNmZmY7c3Ryb2tlLXdpZHRoOiAxLjVweDt9PC9zdHlsZT48bGluZSB4MT0iMjQiIHkxPSI4IiB4Mj0iNDgiIHkyPSIzMiIgLz48bGluZSB4MT0iMjQiIHkxPSI1NiIgeDI9IjQ4IiB5Mj0iMzIiIC8+PC9zdmc+');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 3rem;
    opacity: 0.25;
    transition: opacity 0.25s ease;
}

.gallery-modal .nav:hover {
    opacity: 1;
}

.gallery-modal .nav.next {
    right: 0;
}

.gallery-modal .nav.previous {
    left: 0;
    transform: scaleX(-1);
}

.gallery-modal .close {
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    display: block;
    cursor: pointer;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjRweCIgaGVpZ2h0PSI2NHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHpvb21BbmRQYW49ImRpc2FibGUiPjxzdHlsZT5saW5lIHtzdHJva2U6ICNmZmY7c3Ryb2tlLXdpZHRoOiAxLjVweDt9PC9zdHlsZT48bGluZSB4MT0iMjAiIHkxPSIyMCIgeDI9IjQ0IiB5Mj0iNDQiIC8+PGxpbmUgeDE9IjIwIiB5MT0iNDQiIHgyPSI0NCIgeTI9IjIwIiAvPjwvc3ZnPg==');
    background-position: top 1rem right 1rem;
    background-repeat: no-repeat;
    background-size: 3rem;
    opacity: 0.25;
    transition: opacity 0.25s ease;
}

.gallery-modal .close:hover {
    opacity: 1;
}

.gallery-modal.visible {
    visibility: visible;
    opacity: 1;
    z-index: 10000;
    pointer-events: auto;
}

.gallery-modal.visible:before {
    opacity: 1;
}

.gallery-modal.loaded:before {
    opacity: 0 !important;
    transition-delay: 0s !important;
}

.gallery-modal.loaded .inner {
    opacity: 1;
    transform: translateY(0);
}

.gallery-modal.switching .inner {
    transition: opacity 0.375s ease, transform 0.5s ease;
}

.gallery.style1:not(:first-child) {
    margin-top: 2rem !important;
}

.gallery.style1:not(:last-child) {
    margin-bottom: 2rem !important;
}

.gallery.style1 .inner {
    max-width: 100%;
    width: 100%;
}

.gallery.style1 ul li {
    border-radius: 0rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(100% / 3);
    max-width: calc(100% / 3);
    margin: 0rem;
}

.gallery.style1 ul li .frame {
    border-radius: 0rem;
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
}

.gallery.style1 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% + 0rem);
    margin: 0rem 0 0rem 0rem;
}

.gallery.style1 ul li img {
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
    object-fit: cover;
    object-position: center;
    height: auto;
    max-height: 13rem;
}

.gallery.style1 ul li .thumbnail img {
    transition: transform 0.75s ease, filter 0.75s ease;
}

.gallery.style1 ul li .thumbnail:hover img {
    transform: scale(1.1475);
}

@media (orientation: portrait) {
    .gallery-modal .inner img {
        max-width: 100vw;
    }

    .gallery-modal .nav {
        width: 8rem;
        max-width: 35%;
        background-image: none;
        opacity: 1;
    }

    .gallery-modal .nav:before {
        content: '';
        display: block;
        width: 3rem;
        height: 3rem;
        position: absolute;
        top: calc(50% - 1.5rem);
        right: 1rem;
        background-color: rgba(144, 144, 144, 0.5);
        background-size: 1.5rem;
        background-position: center;
        background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjRweCIgaGVpZ2h0PSI2NHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHpvb21BbmRQYW49ImRpc2FibGUiPjxzdHlsZT5saW5lIHtzdHJva2U6ICNmZmY7c3Ryb2tlLXdpZHRoOiAzcHg7fTwvc3R5bGU+PGxpbmUgeDE9IjI0IiB5MT0iOCIgeDI9IjQ4IiB5Mj0iMzIiIC8+PGxpbmUgeDE9IjI0IiB5MT0iNTYiIHgyPSI0OCIgeTI9IjMyIiAvPjwvc3ZnPg==');
        background-repeat: no-repeat;
        border-radius: 3rem;
    }
}

@media (max-width: 1680px) {
    html {
        font-size: 12pt;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 12pt;
    }

    .gallery-modal .nav {
        opacity: 1;
    }

    .gallery-modal .close {
        opacity: 1;
    }
}

@media (max-width: 980px) {
    html {
        font-size: 10pt;
    }
}

@media (max-width: 736px) {
    html {
        font-size: 12pt;
    }

    #wrapper {
        padding: 0rem 0rem 0rem 0rem;
    }

    #main {
        border-radius: 0;
    }

    #main>.inner {
        padding: 3.5rem 2rem;
    }

    #main>.inner>header {
        margin-bottom: 1.125rem;
    }

    #main>.inner>footer {
        margin-top: 1.125rem;
    }

    #main>.inner>*>* {
        margin-top: 1.125rem;
        margin-bottom: 1.125rem;
    }

    #main>.inner>.full {
        margin-left: calc(-2rem);
        width: calc(100% + 4rem + 0.4725px);
        max-width: calc(100% + 4rem + 0.4725px);
    }

    #main>.inner>.full:first-child {
        margin-top: -3.5rem !important;
    }

    #main>.inner>.full:last-child {
        margin-bottom: -3.5rem !important;
    }

    #main>.inner>.full.screen {
        margin-left: -50vw;
    }

    #main>.inner>*>.full {
        margin-left: calc(-2rem);
        width: calc(100% + 4rem + 0.4725px);
        max-width: calc(100% + 4rem + 0.4725px);
    }

    #main>.inner>*>.full.screen {
        margin-left: -50vw;
    }

    #main>.inner>.active>.full:first-child {
        margin-top: -3.5rem !important;
    }

    #main>.inner>.active>.full:last-child {
        margin-bottom: -3.5rem !important;
    }

    .image.style2:not(:first-child) {
        margin-top: 1.3125rem !important;
    }

    .image.style2:not(:last-child) {
        margin-bottom: 1.3125rem !important;
    }

    .image.style2 .frame {
        width: 7.25rem;
    }

    .image.style1:not(:first-child) {
        margin-top: 2.625rem !important;
    }

    .image.style1:not(:last-child) {
        margin-bottom: 2.625rem !important;
    }

    .image.style1 .frame {
        height: 27.5rem !important;
    }

    .image.style1 img {
        object-fit: cover;
        object-position: center;
    }

    h1.style4,
    h2.style4,
    h3.style4,
    p.style4 {
        letter-spacing: 0rem;
        width: 100%;
        font-size: 3.5em;
        line-height: 1.125;
    }

    h1.style1,
    h2.style1,
    h3.style1,
    p.style1 {
        letter-spacing: -0.021875rem;
        width: 100%;
        font-size: 1em;
        line-height: 1.875;
    }

    h1.style2:not(:first-child),
    h2.style2:not(:first-child),
    h3.style2:not(:first-child),
    p.style2:not(:first-child) {
        margin-top: 1.125rem !important;
    }

    h1.style2:not(:last-child),
    h2.style2:not(:last-child),
    h3.style2:not(:last-child),
    p.style2:not(:last-child) {
        margin-bottom: 1.125rem !important;
    }

    h1.style2,
    h2.style2,
    h3.style2,
    p.style2 {
        letter-spacing: 0rem;
        width: 100%;
        font-size: 3em;
        line-height: 1.125;
    }

    h1.style5:not(:first-child),
    h2.style5:not(:first-child),
    h3.style5:not(:first-child),
    p.style5:not(:first-child) {
        margin-top: 1.125rem !important;
    }

    h1.style5:not(:last-child),
    h2.style5:not(:last-child),
    h3.style5:not(:last-child),
    p.style5:not(:last-child) {
        margin-bottom: 1.125rem !important;
    }

    h1.style5,
    h2.style5,
    h3.style5,
    p.style5 {
        letter-spacing: 0rem;
        width: 100%;
        font-size: 1.875em;
        line-height: 1.125;
    }

    .icons.style2 {
        font-size: 2.25em;
        width: calc(100% + 1.125rem);
        margin-left: -0.5625rem;
    }

    .icons.style2 li {
        margin: 0.5625rem;
    }

    .icons.style1 {
        font-size: 1.75em;
        width: calc(100% + 1.25rem);
        margin-left: -0.625rem;
    }

    .icons.style1 li {
        margin: 0.625rem;
    }

    .inline-icon {
        display: block;
        text-align: center;
    }
        .inline-icon svg {
            width: auto;
        }

    hr.style2:not(:first-child) {
        margin-top: 2rem !important;
    }

    hr.style2:not(:last-child) {
        margin-bottom: 2rem !important;
    }

    hr.style3:before {
        width: 100rem;
    }

    .gallery-modal .close {
        background-position: top 0.5rem right 0.5rem;
    }

    .gallery.style1:not(:first-child) {
        margin-top: 2.625rem !important;
    }

    .gallery.style1:not(:last-child) {
        margin-bottom: 2.625rem !important;
    }

    .gallery.style1 ul li img {
        max-height: none;
        height: auto;
        width: 100%;
        display: block;
    }

    .gallery.style1 ul {
        width: 100%;
        margin: 0;
    }

    .gallery.style1 ul li {
        display: block;
        margin: 0rem 0;
        flex-basis: calc(100% / 2);
        max-width: calc(100% / 2);
    }

    .gallery.style1 ul li:first-child {
        margin-top: 0;
    }

    .gallery.style1 ul li:last-child {
        margin-bottom: 0;
    }

    .gallery.style1 ul li .thumbnail {
        display: block;
    }
}

@media (max-width: 480px) {
    #wrapper {
        padding: 0rem 0rem 0rem 0rem;
    }

    #main>.inner>header {
        margin-bottom: 0.984375rem;
    }

    #main>.inner>footer {
        margin-top: 0.984375rem;
    }

    #main>.inner>*>* {
        margin-top: 0.984375rem;
        margin-bottom: 0.984375rem;
    }

    .image.style1 .frame {
        height: 22rem !important;
    }
}

@media (max-width: 360px) {
    #wrapper {
        padding: 0rem 0rem 0rem 0rem;
    }

    #main>.inner {
        padding: 2.625rem 1.5rem;
    }

    #main>.inner>header {
        margin-bottom: 0.84375rem;
    }

    #main>.inner>footer {
        margin-top: 0.84375rem;
    }

    #main>.inner>*>* {
        margin-top: 0.84375rem;
        margin-bottom: 0.84375rem;
    }

    #main>.inner>.full {
        margin-left: calc(-1.5rem);
        width: calc(100% + 3rem + 0.4725px);
        max-width: calc(100% + 3rem + 0.4725px);
    }

    #main>.inner>.full:first-child {
        margin-top: -2.625rem !important;
    }

    #main>.inner>.full:last-child {
        margin-bottom: -2.625rem !important;
    }

    #main>.inner>.full.screen {
        margin-left: -50vw;
    }

    #main>.inner>*>.full {
        margin-left: calc(-1.5rem);
        width: calc(100% + 3rem + 0.4725px);
        max-width: calc(100% + 3rem + 0.4725px);
    }

    #main>.inner>*>.full.screen {
        margin-left: -50vw;
    }

    #main>.inner>.active>.full:first-child {
        margin-top: -2.625rem !important;
    }

    #main>.inner>.active>.full:last-child {
        margin-bottom: -2.625rem !important;
    }

    .image.style1 .frame {
        height: 19.25rem !important;
    }

    h1.style4,
    h2.style4,
    h3.style4,
    p.style4 {
        font-size: 3.5em;
    }

    h1.style1,
    h2.style1,
    h3.style1,
    p.style1 {
        font-size: 1em;
    }

    h1.style2,
    h2.style2,
    h3.style2,
    p.style2 {
        font-size: 3em;
    }

    h1.style5,
    h2.style5,
    h3.style5,
    p.style5 {
        font-size: 1.5em;
    }

    .icons.style2 {
        width: calc(100% + 0.84375rem);
        margin-left: -0.421875rem;
    }

    .icons.style2 li {
        margin: 0.421875rem;
    }

    .icons.style1 {
        width: calc(100% + 0.9375rem);
        margin-left: -0.46875rem;
    }

    .icons.style1 li {
        margin: 0.46875rem;
    }

    .gallery.style1 ul {
        width: 100%;
        margin: 0;
    }

    .gallery.style1 ul li {
        margin: 0rem 0;
    }

    .gallery.style1 ul li:first-child {
        margin-top: 0;
    }

    .gallery.style1 ul li:last-child {
        margin-bottom: 0;
    }
}
