@font-face {
    font-family: 'lib';
    src: url('font/lib.ttf');
}

@font-face {
    font-family: 'libc';
    src: url('font/libc.ttf');
}

.noselect {
-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
        -moz-user-select: none;
            user-select: none;
}

.super {
   vertical-align: super;
   font-size: smaller;
}

body, html {
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    overflow:hidden;
    font-family:lib, serif;
    background:rgba(85,50,0,1);
}


#background {
    background:rgba(85,50,0,1);
    background-image:url('foto/2.jpg');
    background-size:cover;
    position:absolute;
    width:100%;
    left:0%;
    top:0%;
    height:100%;
    overflow:hidden;
    z-index:1;
    filter:blur(0.2vw);
}

#background span {
    background:rgba(0,0,0,0.2);
    position:absolute;
    width:100%;
    left:0%;
    height:100%;
    z-index:2;
}

#content {
    background:rgba(230,210,170,1);
    box-shadow:0 0 1vmax rgba(85,50,0,1);
    position:absolute;
    height:100%;
    width:24em;
    top:0;
    right:0;
    z-index:3;
    border-top-left-radius: 10vh 100vh;
    border-bottom-left-radius: 10vh 100vh;
    flex-direction: row;
    display:flex;
    justify-content: flex-end;
    align-items: center;
    padding-left:1em;
    box-sizing:border-box;
    font-size:1em;
    transition: 0.8s all ease;
    border-left: 2em solid rgba(85,50,0,1);

}

#content a {
    text-decoration:underline;
    color:rgba(230,210,170,1);
}

#content a:hover {
    text-decoration:underline;
    color:rgba(255,230,200,1);
}

#content.open {
    width:64vw;
    border-top-left-radius:0;
    border-bottom-left-radius: 0;
    box-shadow:0 0 2vmax 1vmax rgba(0,0,0,0.5);
    border-left: 0.7vw solid rgba(85,50,0,1);
}

#content .contentSection {
    display:flex;
    flex-direction:column;
    width:0;
    height:0;
    position:fixed;
    overflow:hidden;
    top:1vh;
    right:21em;
    transition: 0.5s all ease;
}

#content .contentSection.open {
    display:flex;
    flex-direction:column;
    width:0;
    height:98%;
    position:fixed;
    overflow:hidden;
    top:1vh;
    right:21em;
    transition: 0.5s all ease;
}

#content.open .contentSection {
    width:calc(60vw - 20em);
    transition: 1s all ease;
}

#content.open .contentSection.open {
    height:98%;
    display:flex;
}

#content .contentSection h1 {
    background:rgba(85,50,0,1);
    font-size:2em;
    margin:0;
    padding:0.2em 1em 0 1em;
    width:7em;
    color:rgba(230,210,170,1);
}

#content .contentSection .content {
    background:rgba(85,50,0,1);
    margin:0;
    padding:1em 2em 2em 1em;
    overflow-y:auto;
    color:rgba(230,210,170,1);
    flex-grow:10;
}

#content .contentSection .content p{
    text-align:justify;
}

#content h2 {
    text-align:center;
    padding:1em 0 0em 0;
}

#content .menu {
    list-style-type:none;
    padding:0;
    margin:0;
    display:flex;
    margin:0 auto;
    flex-direction: column;
    max-width:40em;
}

#content .menu li {
    display:flex;
    justify-content: space-between;
    border-bottom:1px dotted rgba(230,210,170,0.5);
    padding:0.2em 1em;
    align-items: center;
}

#content .menu li:hover {
    display:flex;
    justify-content: space-between;
    border-bottom:1px dotted rgba(230,210,170,1);
    background:rgba(230,210,170,0.1);
}

#content .menu li:not(:first-of-type) {
    margin-top:1em;
}

#content .menu li>span {
    display:flex;
    flex-direction: column;
}

#content .menu li>span span:last-of-type {
    font-size:smaller;
}

#menu {
    display:flex;
    flex-direction:column;
    width:20em;
    align-items:center;

}

#mainLogo {
    width:15em;
    height:auto;
}


#menu ul {
    list-style-type:none;
    margin:1em 0 0 0;
    padding:0;
    padding-bottom:2.5em;
    background-image:url('img/line2.png');
    background-repeat:no-repeat;
    background-position:bottom center;
    background-size:contain;
    display:block;
    width:15em;
}

#menu li.item , #menu li.itemnh {
    list-style-type:none;
    margin:0.2em 0;
    padding:0.5em 1em;
    display:block;
    text-align:center;
    color:rgba(85,50,0,1);
    font-size:2em;
    font-family:lib, serif;
    transition: 0.3s all ease;
    cursor:pointer;
}

#menu li.item:hover {
    background:rgba(85,50,0,1);
    color:rgba(230,210,170,1);
}

#menu li.item.active {
    background:rgba(85,50,0,1);
    color:rgba(230,210,170,1);
}

#menu li.spacer {
    width:100%;
    height:0.6em;
    display:block;
    background-image:url('img/line1.png');
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
}

#menu li img {
    height:1em;
}

#menu li.itemnh a {
    width:100%;
    display:flex;
    align-items:center;
    justify-content: center;
}


 @media screen and (orientation:portrait), (max-width:600px) {
    #content {
        background:rgba(230,210,170,1);
        box-shadow:0 0 1vmax rgba(85,50,0,1);
        position:absolute;
        width:100%;
        height:13em;
        top:0;
        left:0;
        z-index:3;
        border-top-left-radius: 0;
        border-bottom-left-radius: 100vw 10vw;
        border-bottom-right-radius: 100vw 10vw;
        flex-direction: row;
        display:flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-left:0;
        border-left: 0;
        border-bottom: 1em solid rgba(85,50,0,1);

    }

     #content.open {
        width:100%;
        height:95%;
        border-top-left-radius:0;
        border-bottom-left-radius: 0;
        border-top-right-radius:0;
        border-bottom-right-radius: 0;
        box-shadow:0 0 2vmax 1vmax rgba(0,0,0,0.5);
        border-left: 0;
        border-bottom: 0.7vw solid rgba(85,50,0,1);
    }

    #content .contentSection {
        display:flex;
        flex-direction:column;
        width:0;
        height:0;
        position:static;
        overflow:show;
        transition: 0.5s all ease;
    }

    #content .contentSection.open {
        display:flex;
        flex-direction:column;
        width:90%;
        height:0%;
        position:static;
        overflow:show;
        top:1vh;
        right:21em;
        transition: 0.5s all ease;
    }

    #content.open .contentSection {
        width:90%;
        height:0%;
        transition: 1s all ease;
    }

    #content.open .contentSection.open {
        height:calc(100% - 11em);
        display:flex;
    }

    #content .contentSection h1 {
        background:rgba(85,50,0,1);
        font-size:2em;
        margin:0;
        padding:0.2em 1em 0 1em;
        width:7em;
        color:rgba(230,210,170,1);
    }

    #content .contentSection .content {
        background:rgba(85,50,0,1);
        margin:0;
        padding:1em 2em 2em 1em;
        overflow-y:auto;
        color:rgba(230,210,170,1);
        flex-grow:10;
    }

    #menu {
        display:flex;
        flex-direction:column;
        width:100%;
        align-items:center;

    }

    #mainLogo {
        width:auto;
        height:7em;
    }


    #menu ul {
        list-style-type:none;
        margin:0;
        padding:0;
        padding-bottom:0.5em;
        background-image:none;
        background-repeat:no-repeat;
        background-position:bottom center;
        background-size:contain;
        display:flex;
        justify-content: space-evenly;
        width:95%;
    }

    #menu li.item {
        list-style-type:none;
        margin:0.2em 0;
        padding:0.2em 0.5em;
        display:block;
        text-align:center;
        color:rgba(85,50,0,1);
        font-size:1.5em;
        font-family:lib, serif;
        transition: 0.3s all ease;
        cursor:pointer;
    }

    #menu li.spacer {
        width:100%;
        height:0.6em;
        display:none;
        background-image:url('img/line1.png');
        background-repeat:no-repeat;
        background-position:center;
        background-size:contain;
    }
}


#map {
    width:100%;
    height:calc(100vh - 15rem);
    min-height:200px;
    background:white;
}
