.container-main
{
    display: flex;
    flex-direction: column;

    min-height: 100vh;
}

.container-main header
{
    display: none;
    align-items: center;
    justify-content: space-between;

    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
}

.container-main header nav
{

}

.container-main header nav a,
.container-main header nav button
{
    color: var(--main-color);
    font-weight: 300;
    text-decoration: none;
}

.container-main header nav a:hover,
.container-main header nav a:active
{
    text-decoration: underline;
}

a.nav-link-custom-email {
    align-items: center;
    color: rgb(255, 123, 0) !important;
    display: inline-flex !important;
    font-weight: 500 !important;
}

a.nav-link-custom-email .badge-new {
    background-color: rgb(255, 123, 0);
    border-radius: 3px;
    color: #000;
    font-size: 11px;
    margin-left: 6px;
    padding: 0.25em 0.35em;
}

.header-large > :first-child :first-child
{
    font-size: 2.5rem;
}

.header-large > :first-child a
{
    font-weight: 600;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.header-large > :first-child a span
{
    font-weight: 300;
}

.header-small
{
    padding: 0 2rem;
}

.header-small button
{
    color: var(--main-color);
}

.header-small button i
{
    font-size: 1.5rem;
}

.header-small > :first-child
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-small > :first-child a
{
    font-weight: 600;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.header-small > :first-child a span
{
    font-weight: 300;
}

.header-small > :first-child :first-child
{
    font-size: 2rem;
}

.header-small > :first-child :last-child
{
    text-align: right;
}

.container-menu-header-small
{
    border-bottom: 1px solid var(--main-color);
    display: none;
}

footer
{
    border-top: 1px solid rgba(25, 79, 175, 0.15);
}

footer > div > :last-child
{
    opacity: 0.65;
}

.modal
{
    display: none;
    align-items: center;
    justify-content: center;

    backdrop-filter: blur(8px);
    background-color: rgba(25, 175, 25, 0.15);
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;
}

.modal.active
{
    display: flex;
}

.modal-dialog
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 24px 6px rgba(0, 0, 0, 0.15);
    max-height: 680px;
    width: 640px;
}

.modal-title
{
    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #eee;
    padding: 1em;
}

.modal-title > span
{
    color: var(--main-color);
    font-size: 1.1em;
    font-weight: 300;
}

.modal-title > a,
.modal-title > button
{
    color: var(--main-color);
}

.modal-content
{
    flex: 1;

    font-weight: 400;
    overflow: auto;
    padding: 1em;
}

.modal-content form
{
    background-color: rgba(28, 95, 191, 0.05);
    border-radius: 6px;
    padding: 1em;
}

.modal-content form .line-input label
{
    font-size: 0.8em;
}

.modal-footer
{
    border-top: 1px solid #eee;
    padding: 1em;
    text-align: right;
}

.modal-footer a,
.modal-footer button
{
    border: 1px solid #333;
    border-radius: 3px;
    color: #333;
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
}

#toast
{
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 1em;
    width: 100%;

    animation-delay: 0;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    animation-name: toastIn;
    animation-timing-function: ease-in;
}

#toast.active
{
    display: block;
    transform: translateY(-20px);
}

#toast .container-content
{
    border-radius: 6px;
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    padding: 1em;
    width: 100%;
}

#toast .container-content.error
{
    background-color: #c00;
    color: #fff;
}

#toast .container-content.success
{
    background-color: #090;
    color: #fff;
}

#toast .container-content.warning
{
    background-color: #fc0;
    color: #fff;
}

@keyframes toastIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
    }
    97% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 1199px) {

    main
    {
        padding: 0 2em;
    }

    .container-main header
    {
        padding: 2rem;
    }

    .container-main header nav
    {
        padding-bottom: 1em;
    }

    .container-main header nav a
    {
        display: block;
        font-size: 1.35em;
        padding: 0.75em 0;
    }

    .container-main .header-small
    {
        display: block;
    }

    footer
    {
        margin-top: 2em;
        padding: 2em 2em 3em;
    }

    footer nav
    {
        margin-top: 1em;
    }

    footer nav > div
    {
        margin-bottom: 1em;
    }

    footer .container-social-links
    {
        font-size: 1.5em;
    }

    footer .container-social-links a
    {
        margin-right: 0.75em;
    }

    .modal-dialog
    {
        max-height: 60vh;
        max-width: 86%;
    }

}
@media (min-width: 1200px) {

    .container-main
    {
        margin: 0 auto;
        width: 1140px;
    }

    .container-main header
    {
        padding: 1em 1em 1em 0;
        margin-top: 2em;
    }

    .container-main header nav
    {
        text-align: right;
    }

    .container-main header nav a,
    .container-main header nav button
    {
        font-size: 1.1em;
        margin-right: 1em;
    }

    .container-main header nav a:last-child,
    .container-main header nav button:last-child
    {
        margin-right: 0;
    }

    .container-main .header-large
    {
        display: flex;
    }

    footer
    {
        display: flex;
        justify-content: space-between;

        font-size: 0.95em;
        margin-top: 2em;
        opacity: 0.75;
        padding: 1em 0 2em;
    }

    footer > div > :first-child
    {
        font-size: 0.95em;
    }

    footer > div > :last-child
    {
        font-size: 0.75em;
    }

    footer nav
    {
        display: flex;
        align-items: center;
    }

    footer .container-social-links
    {
        font-size: 1.25em;
        margin-left: 0.5em;
    }

    footer .container-social-links a
    {
        margin-left: 0.35em;
    }

}