* {
    box-sizing: border-box;
}

html {
    font-family: 'Medium';
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    margin: 0;
    padding: 0;
    flex-grow: 1;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;

    background-color: #efefef;
    
    max-height: 100vh;
}

header {
    padding: 32px;
    background-color: var( --color-red );
    display: flex;
    align-items: center;
    justify-content: center;
}
header img {
    display: block;
    max-height: 48px;
}

main {
    flex-grow: 1;
}
main #frontend_legal_content {
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    background-color: white;
    padding: 40px;
    color: #555;
    line-height: 1.2;
}

.frontend_legal_title {
    text-align: center;
    color: black;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.frontend_legal_subtitle {
    text-align: center;
    color: black;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

h3 {
    color: #333;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
}
h4 {
    color: #333;
    marin-top: 40px;
}

a {
    color: var( --color-red );
}

table{
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}
table th {
    border: 1px solid #777;
    padding: 4px 8px ;
    color: #555;
    text-transform: uppercase;
    font-size: 0.8rem;
}
table td {
    border: 1px solid #777;
    padding: 4px 8px ;
    color: #555;
    font-size: 0.8rem;
}
ul li {
    text-align: justify;
    font-size: 0.8rem;
    color: #555;
}

footer {
    padding: 20px;
    background-color: white;
    color: var( --color-red );
    display: flex;
    align-items: center;
    justify-content: center;
}


@media only screen and (max-width: 600px) {
    table {  display: block; overflow-x: auto; }
}
