body
{
    font-family: Raleway, 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
    margin:0;
}

header
{
    text-align: center;
    height: 150px;
    display: flex;
    align-items: center;
    gap: 1em; 
    padding: 1em;
    
}

header h1
{
    text-align: center;
    color:#003a5d;
}
header > img
{
    height: 100%;
    cursor: pointer;
    
}

@media (max-width: 1024px) {
    header
    {
        text-align: center;
        height: 150px;
        display: flex;
        align-items: center;
        gap: 1em; 
        padding: 1em;
        font-size: 0.5em;
    }

    header > img
    {
        max-width: 50vw;
        height: auto;
        cursor: pointer;
        
    }
}

div#content
{
    margin: 10px 15vw 150px 15vw;
}

div#content *
{
    max-width: 100%;
}


@media (max-width: 1024px) {
    div#content {
        margin: 10px 5vw 150px 5vw;
    }

    #reader
    {
        margin: auto;
    }

}

footer
{

    padding-top: 40px;
    background-image: url('https://sgdf.fr/wp-content/themes/sgdf/assets/images/backgrounds/tornup-paper-seamless-top.png');
    background-repeat: repeat-x;
    background-position: top center;
    color:#e5ebee;
    height: 100px;
    background-color: #003a5d;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

footer a
{
    color:#e5ebee;
    text-decoration: none;
}

footer a:hover
{
    text-decoration: underline;
}

#userinfo
{
    text-align: right;
    font-style: italic;
}

table.large-table
{
    text-align:left;
    width:100%;
    border-collapse: collapse;

}
table.large-table th, table.large-table td
{
    width:16%;
    border-bottom:1px solid black;
    padding:5px 15px;
    overflow-wrap: anywhere;
}
table.large-table td
{
    height: 50px;
}

table.large-table tr:hover td
{
    background-color: #e5ebee;
}

@media (max-width: 1024px) {
    .large-table
    {
        font-size:0.5em;
    }

    .large-table td
    {
        padding:0;
    }
}

a
{
    text-decoration: none;
}

table#res
{
    margin-bottom: 10px;
}

.btn-action
{
    padding: 0 1vw;
}

.border-box
{
    border:solid 1px black;
    border-radius: 2px;
    padding: 5px;
}

.center
{
    text-align: center;
}

.yes-btn
{
    font-size: 1.25em;
}

.no-btn
{
    font-size: 0.75em;
}

.green
{
    color:green;
    font-weight: bold;
}

.red
{
    color:red;
}

.red-border
{
    border-color:red;
}

#action input
{
    margin:1vh 0;
}

.no-search-result
{
    font-size: 0.75em;
    position: absolute;
}

.waiting-search-result
{
    transform: translateX(10px);
}

.waiting-search-result img
{
    height:20px;
}

.standard-btn
{
    border: none;
    padding: 10px;
    border-radius: 3px;
    background-color: #e5ebee;
    color:#186dbc;
    cursor: pointer;
    margin-bottom: 10px;
}

.standard-select
{
    background-color: #e5ebee;
    border: none;
    border-radius: 3px;
    padding:5px;
}

.btn
{
    border: none;
    border-radius: 3px;
    background-color: #e5ebee;
    color:#186dbc;
    cursor: pointer;
}

.standard-btn:hover, .btn:hover
{
    background-color: #186dbc;
    color: #e5ebee;
}

.standard-btn[disabled]
{
    background-color: #a8b4be;
    color: #e5ebee;
}

.pointer-cursor
{
    cursor: pointer;
}

.pointer-cursor .no-click
{
    cursor:auto;
}

.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}

.switch input {
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
top: 0; left: 0; right: 0; bottom: 0;
background-color: green;
transition: 0.4s;
border-radius: 34px;
}

.slider::before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
transition: 0.4s;
border-radius: 50%;
}

input:not(:checked) + .slider {
background-color: red;
}

input:checked + .slider::before {
transform: translateX(26px);
}

input:not(:checked) + .slider::before {
transform: translateX(0);
}

.hidden
{
    display: none;
}

#reader-area
{
    border: 2px solid grey;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin: 0 10vw;
}

@media (max-width: 1024px) {

    #reader-area
    {
        margin: 0;
    }
}

div#content input.readonly[type="text"]
{
    font-weight:bold; 
    text-align:center;
    background-color:#eee;
    width: 500px;
    max-width: 50vw;
}

a.account-link
{
    color: black;
}

a.account-link:hover
{
    text-decoration: underline;
}

div.pagination
{
    margin: 10px 0;
    text-align:right;
}

div.pagination input[type="text"]
{
    width:50px;
}

div#action-result-area
{
    border-radius: 3px;
    background-color: #098846;
    color: white;
    font-weight: bold;
    padding: 5px;
}

div#action-result-area div#action-result-message
{
    padding:5px;
}

span.emoji-btn:hover
{
    opacity: 0.8;
    cursor: pointer;
}

#header-components
{
    margin: 0 10px;
    margin-bottom: 50px;
}