:root
{
    --header-outer-height: 400px;
    --header-inner-height: 50px;
    --header-height-difference: calc( var(--header-outer-height) - var(--header-inner-height) );
    --header-bg: #fff;
}

html
{
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px)
{
    html
    {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1875px)
{
    .showMore
    {
        display: block;
    }

    .div-outer
    {
        display: grid;
        position: relative;
        top: 0px;
        left: 0;
        width: 100%;
        overflow-y: auto;
    }
    
    .bannerLeft
    {
        width: auto;
        float: none;
    }

    .bannerRight
    {
        width: auto;
        float: none;
    }
}

@media only screen and (min-width: 1875px)
{
    .showMore 
    {
        display: none;
    }

    .div-outer
    {
        display: table;
        position: absolute;
        left: initial;
        overflow-y: hidden;
    }

    .bannerLeft
    {
        width: 290px;
        float: left;
    }

    .bannerRight
    {
        width: 290px;
        float: right;
    }
}

.addMenuHeight
{
    position: static;
    background-color: white;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus
{
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body
{
    margin-bottom: 40px;
    background-color: #05111f;
    display: block;
}

.bgsocial
{
    position: fixed;
    width: 100%;
    height: 60%;
    background-image: url(../Images/all-socials.png);
    background-repeat: no-repeat;
    background-position: right top;
    margin: 0 0 0 0;
}

div
{
    position: relative;
    color: white;
}

div main
{
    min-height: calc(100vh - 140px);
}

div input.form-control
{
    background-color: silver !important;
}

div select.form-control
{
    background-color: silver !important;
}

div label
{
    color: black;
}

div.checkbox label
{
    color: white;
}

img
{
    width: 34px;
    vertical-align: central;
}

img.big
{
    width: 128px;
    position: absolute;
    right: 0;
    vertical-align: top;
}

th, td
{
    color: white;
}

div.comandi
{
    text-align: right;
}

div.marginBottom
{
    margin-bottom: 5px;
}

.checkboxlabel
{
    color: white !important;
}

p.text-justify
{
    text-align: justify;
}

/* Sticky header */
.header-outer
{
    /* Make it stick */
    height: var(--header-outer-height);
    position: sticky;
    top: calc( var(--header-height-difference) * -1 ); /* Multiply by -1 to get a negative value */
    display: flex;
    /* Other */
    z-index: 100;
    background-color: var(--header-bg);
    align-items: end;
    background-image: url(../Images/icone-social-post.jpg.webp);
    background-repeat: no-repeat;
    background-position: center bottom;
}

.header-inner
{
    /* Make it stick */
    height: var(--header-inner-height);
    position: sticky;
    top: 0;
    /* Other */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.responsive-wrapper
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.header-logo a
{
    display: block;
    height: calc(var(--header-inner-height)); /* - 30px*/
}

.div-outer
{
    width: 100%;
}

.div-middle
{
    display: table-cell;
    vertical-align: middle;
}

.bannerLeft
{
    position: relative;
    height: auto;
    margin: 5px;
    border-radius: 4px;
    padding: 4px;
    top: 0;
    left: 0;
}

.bannerLeft a
{
    text-decoration: none !important;
}

.bannerLeft a td
{
    color: silver !important;
}

.bannerRight
{
    position: relative;
    height: auto;
    margin: 5px;
    border-radius: 4px;
    padding:4px;
    top:0;
    right: 0;
}

.bannerRight a
{
    text-decoration: none !important;
}

.bannerRight a td
{
    color: silver !important;
}

.bannerHTML
{
    height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
}

.bannerHTML a
{
    text-decoration: none !important;
}

.showMore
{
    border: 1px solid white;
    margin: 2px 2px 2px 2px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.showMore + input
{
    display: none;
}

.showMore + input + .div-outer
{
    max-height: 0;
    /*and eventually delay an overflow:auto; */
    /*overflow: auto;*/
    transition: max-height 0.5s;
}

.showMore + input:checked + .div-outer
{
    /* here comes the compromise, set a max-height that would for your usual contents*/
    max-height: 20em;
    /*overflow: hidden;*/
    transition: max-height 0.5s;
}