/****************************
Global
****************************/

:root {
    --disabled: #989898;
    --red: #992020;
    --black: #333333;
    --dark-red: #681313;
    --swal2-confirm-button-background-color: var(--red) !important;
}

*,
::before,
::after {
    box-sizing: border-box;
    font-feature-settings: "lnum" 1;
}


body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    background-color: #fafafa;
    color: var(--black);
}

body.noScroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
    font-weight: 700 !important;
}


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

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button {
    cursor: pointer;
}

textarea {
    resize: none;
}

img,
picture,
video {
    display: block;
    height: auto;
    width: 100%;
}

dialog {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    display: none;
    height: 100%;
    left: 0;
    max-height: none;
    max-width: none;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

dialog[open] {
    display: flex;
}

dialog::backdrop {
    animation: backdrop-vanish 0.3s ease;
    background-color: rgba(0, 0, 0, 0);
}

dialog[open]::backdrop {
    background-color: rgba(0, 0, 0, 0.3);
}

@keyframes backdrop-vanish {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.3);
    }
}

/****************************
Button
****************************/

.button {
    appearance: none;
    background-color: var(--red);
    border: 1px solid var(--dark-red);
    color: white;
    cursor: pointer;
    display: block;
    text-align: center;
    transition: .3s ease;
    width: 100%;
    padding: 10px 45px 10px 20px;
    /* right arrow SVG as background image */
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNjQwIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDcuMS4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik01NjYuNiAzNDIuNkM1NzkuMSAzMzAuMSA1NzkuMSAzMDkuOCA1NjYuNiAyOTcuM0w0MDYuNiAxMzcuM0MzOTQuMSAxMjQuOCAzNzMuOCAxMjQuOCAzNjEuMyAxMzcuM0MzNDguOCAxNDkuOCAzNDguOCAxNzAuMSAzNjEuMyAxODIuNkw0NjYuNyAyODhMOTYgMjg4Qzc4LjMgMjg4IDY0IDMwMi4zIDY0IDMyMEM2NCAzMzcuNyA3OC4zIDM1MiA5NiAzNTJMNDY2LjcgMzUyTDM2MS4zIDQ1Ny40QzM0OC44IDQ2OS45IDM0OC44IDQ5MC4yIDM2MS4zIDUwMi43QzM3My44IDUxNS4yIDM5NC4xIDUxNS4yIDQwNi42IDUwMi43TDU2Ni42IDM0Mi43eiIvPjwvc3ZnPg==);
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 16px;
}

.button:disabled {
    background-color: var(--disabled);
}

.button:hover {
    background-color: var(--dark-red);
}

.button.center {
    margin: auto;
    width: fit-content;
}

.button.loading {
    color: transparent;
    pointer-events: none;
    position: relative;
}

.button.loading::after {
    animation: loading 1s ease infinite;
    border: 4px solid transparent;
    border-radius: 50%;
    border-top-color: #FFF;
    bottom: 0;
    content: "";
    height: 22px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

@media (max-width: 800px) {
    .button {
        max-width: none;
    }
}

/*************************
Titles
 */

.title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.title.borderBottom {
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
}

/*************************
Pages
 */

#page {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

#page h1 {
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 20px;
}

#page h2 {
    font-size: 20px;
    margin-bottom: 30px;
}

#page h2.center {
    text-align: center;
}

#page h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 600;
}

#page h3 + p:not(.infoText) {
    margin-top: 10px;
}

#page strong,
#page b {
    font-weight: 450;
}

#page p {
    margin: revert;
}

#page p.gray {
    color: #999999;
}

#page .infoText {
    font-size: 15px;
    line-height: 22px;
}

#page .red {
    color: var(--red);
}

#page h3.infoText {
    font-size: 18px;
    margin: 20px 0 30px;
    text-transform: unset;
}

#page ul {
    list-style: square;
    margin-bottom: 1rem;
}

#page ol {
    margin-bottom: 1rem;
}

#page ol li {
    padding-bottom: 10px;
}

#page ol li.shrinkSpace {
    padding-bottom: 0;
}

#page a {
    color: #992020;
    cursor: pointer;
}

#page a:hover {
    text-decoration: underline;
    color: #681313;
}

/*************************
Form
 ************************/

.form {
    max-width: 600px;
    margin: 0 auto;
}

.formTitle {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-transform: capitalize;
    text-align: center;
}

.formSubtitle {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.formLabel {
    display: block;
    margin-bottom: 4px;
}

.formInput,
.formSelect,
.formTextarea {
    margin-bottom: 15px;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: #555;
}

.formLabel {
    display: block;
    margin-bottom: 4px
}

.formButton {
    margin-top: 40px;
}


/*************************
Util
 */

.line {
    max-width: 920px;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.09) 35%, rgba(0, 0, 0, 0.09) 70%, transparent 100%);
    display: block;
}

@media (max-width: 1200px) {
    #page.resize {
        max-width: 960px;
    }
}

@media (max-width: 1000px) {
    #page.resize {
        max-width: 720px;
    }
}