/* 
    BASE.css
    Last Update: Aug 2024
*/

/* #region Globals */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1;
}

:before,
:after {
    -webkit-backface-visibility: hidden;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

input,
button {
    border: 0;
}

a {
    text-decoration: none;
}

a,
button {
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}

ul {
    margin-left: 2rem;
}

ul li:not(:last-of-type) {
    margin-bottom: 1rem;
}

sup {
    line-height: 0;
    font-size: .75rem !important;
}

table {
    border-collapse: collapse;
}

.noscroll {
    overflow: hidden;
}

.fillheight {
    height: 100%;
}

.fullpage {
    min-height: 100vh;
    width: 100%;
}

.halfpage {
    min-height: 50vh;
    width: 100%;
}

.nowrap {
    white-space: nowrap;
}

.hidden {
    display: none !important;
}

.boxbox {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.newsbox {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width:1500px) {
    .boxbox {
        max-width: 94vw;
        width: 100%;
    }
}

.inactive {
    opacity: .25 !important;
    pointer-events: none !important;
}

.rel {
    position: relative;
}

.trans {
    transition: all .3s ease;
}

.slowtrans {
    transition: all 1s ease;
}

/* #endregion */

/* #region Fonts */
@font-face {
    font-family: 'la-main';
    src: url('https://www.midobi.com/mods/fonts/line/la-regular-400.woff');
}

@font-face {
    font-family: 'la-brands';
    src: url('https://www.midobi.com/mods/fonts/line/la-brands-400.woff');
}

@font-face {
    font-family: 'la-solid';
    src: url('https://www.midobi.com/mods/fonts/line/la-solid-900.woff');
}

.la-main {
    font-family: 'la-main' !important;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

.la-brands {
    font-family: 'la-brands' !important;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

.la-solid {
    font-family: 'la-solid' !important;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

.disclaimer {
    font-size: 0.8rem;
}

@font-face {
    font-family: 'fa-main';
    src: url('https://www.midobi.com/mods/fonts/awesome/fa-regular-400.woff');
}

@font-face {
    font-family: 'fa-brands';
    src: url('https://www.midobi.com/mods/fonts/awesome/fa-brands-400.woff');
}

@font-face {
    font-family: 'fa-solid';
    src: url('https://www.midobi.com/mods/fonts/awesome/fa-solid-900.woff');
}

.fa-main {
    font-family: 'fa-main' !important;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

.fa-brands {
    font-family: 'fa-brands' !important;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

.fa-solid {
    font-family: 'fa-solid' !important;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

/* #endregion */

/* #region Flex */
.flex,
.projflex {
    display: flex;
}

.inflex {
    display: inline-flex;
}

.wrap {
    flex-wrap: wrap;
}

.col {
    flex-direction: column;
}

.start {
    align-self: flex-start;
}

.flexend {
    justify-content: flex-end;
}

.around {
    justify-content: space-around;
}

.justcenter {
    justify-content: center;
}

.between {
    justify-content: space-between;
}

.middle {
    justify-content: center;
}

.rowrev {
    flex-direction: row-reverse;
}

.nosh,
.noshrink {
    flex-shrink: 0;
}

.grow {
    flex-grow: 1;
}

.center {
    align-items: center;
}

.end {
    justify-content: flex-end;
}

/* #endregion */

/* #region Padding */
.pad {
    padding: 3rem;
}

.padside {
    padding-left: 3rem;
    padding-right: 3rem;
}

.padtop {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.padhalf {
    padding: 2rem;
}

.padmini {
    padding: 0.3rem;
}

.padtopmini {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.padsidemini {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

.pad2 {
    padding: 6rem;
}

.padside2 {
    padding-left: 6rem;
    padding-right: 6rem;
}

.padtop2 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media only screen and (max-width:1000px) {
    .pad {
        padding: 2rem;
    }
}

@media only screen and (max-width:600px) {
    .pad {
        padding: 1rem;
    }
}

/* #endregion */

/* #region Rounding */
.rounded {
    border-radius: 1rem;
}

.roundedmini {
    border-radius: 0.5rem;
}

.rounded2 {
    border-radius: 2rem;
}

/* #endregion */

/* #region Gaps */
.rowgap {
    row-gap: 2rem;
}

.rowgap2 {
    row-gap: 4rem;
}

.rowgapmini {
    row-gap: 1rem;
}

.colgap {
    column-gap: 2rem;
}

.colgap2 {
    column-gap: 4rem;
}

.colgapmini {
    column-gap: 1rem;
}

/* #endregion */

/* #region Sizing */
.third {
    width: 33%;
}

.half {
    width: 50%;
}

.quarter {
    width: 25%;
}

/* #endregion */

/* #region Spacer / Sider */
.spacerbig>*:not(:last-child) {
    margin-bottom: 3rem;
}

.spacer>*:not(:last-child) {
    margin-bottom: 2rem;
}

.spacersmall>*:not(:last-child) {
    margin-bottom: 1rem;
}

.spacermini>*:not(:last-child) {
    margin-bottom: 0.5rem;
}

.sidermax>*:not(:last-child) {
    margin-right: 6rem;
}

.siderbig>*:not(:last-child) {
    margin-right: 3rem;
}

.sider>*:not(:last-child) {
    margin-right: 2rem;
}

.sidersmall>*:not(:last-child) {
    margin-right: 1rem;
}

.sidermini>*:not(:last-child) {
    margin-right: 0.5rem;
}

/* #endregion */

/* #region Popped */
.popped {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* #endregion */

/* #region Fancybox */
.fancybox-button--zoom {
    display: none !important;
}

/* #endregion */

/* #region Scroll Animations */

.slowscroll {
    position: relative;
}

.scrollwrap {
    overflow: hidden;
    position: relative;
}

.scrollme {
    transition: all 1s cubic-bezier(.9, 0, .1, 1) !important;
    position: relative;
    transform: translate(0, 0) !important;

}

.SCAfadeleft {
    transform: translateX(3rem) !important;
    opacity: 0 !important;
}

.SCAfaderight {
    transform: translateX(-3rem) !important;
    opacity: 0 !important;
}

.SCAfadeup {
    transform: translateY(3rem) !important;
    opacity: 0 !important;
}

.SCAfadedown {
    transform: translateY(-3rem) !important;
    opacity: 0 !important;
}

.SCAleft {
    transform: translateX(100%);
}

.SCAright {
    transform: translateX(-100%);
}

.SCAup {
    transform: translateY(100%);
}

.SCAdown {
    transform: translateY(-100%);
}

/* #endregion */

.pdfembed {
    aspect-ratio: 16/9;
}

@media (orientation: portrait) {
    .pdfembed {
        aspect-ratio: 1 / 1;
    }
}