@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600&display=swap');

html, body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    scroll-behavior: smooth;
}

nav{
    width: 100%;
    height: 6vh;
    background-color: #fd795f;
    min-height: 50px;
}

.container{
    position: relative;
    width: 100%;
    min-height: 84vh;
    background-color: #f9f9f9;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

footer{
    width: 80%;
    height: 10vh;
    background-color: #fff;
}

h1{
    font-size: 24px;
    padding-left: 20px;
}


#nav-container{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-around;
}

.content{
    /*width: 80%;*/
    background-color: #f5f5f5;
    box-sizing: border-box;
    display: none;
    border-radius: 10px;
    padding: 20px;
}

.show{
    display: block;
}

.selector{
    flex: 4;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    
}

#lista-menu{
    list-style: none;
    display: inline-flex;
}

#lista-menu-sb{
    list-style: none;
    padding: 0;
}

.content-container{
    display: flex;
    flex-flow: column nowrap;
    /*align-items: center;*/
    box-sizing: border-box;
    height: 90%;
    min-height: 600px;
    width: 80%;
    min-width: 300px;
    max-width: 1600px;
    margin-left:5%;
    margin-right:5%;
    margin-top:2%;
    margin-bottom: 5%;
}

.option{
    cursor: pointer;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    height: 40px;
    display: flex;
    align-items: center;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    background-color: transparent;
    border: 0;
}

.option:hover{
    border: 1px solid rgb(65, 65, 65);
}

.selected{
    font-weight: 800;
    border: 1px solid rgb(65, 65, 65);
}

/*-------------------------------------NAV------------------------------------*/
.logo{
    flex: 1;
    margin-left: 20px;
}

/*--------------------------------------FOOTER------------------------------------*/
footer{
    display: flex;
    flex-flow: row wrap;
    margin: 0 auto;
}

.copy-container, .suport-container{
    flex: 1;
    min-height: 100px;
    box-sizing: border-box;
    padding-top: 20px;

}

.suport-logo{
    text-decoration: none;
}

/*----------------------------Language Selector---------------------*/
.dropdown{
    flex: 1;
    cursor: pointer;
}

.dropdown .dropbtn{
    font-size: 17px;
    border: none;
    outline: none;
    color: #000;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    position: relative;
    cursor: pointer;
}
.lang-icon{
    max-height: 2vh;
    position: absolute;
    left: -10px;
    min-height: 17px;
}

.dropdown-content{
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    z-index: 1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a{
    float: none;
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropbtn {
    background-color: #fd795f;
    color: #000;

  }
  
  .dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #000;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

.content a{
    text-decoration-line: none;
    text-decoration-style: solid;
    color: #c94010;
}

.content a:hover{
    color: #333;
}

.jerarquia{
    width: 100%;
}

#lista-idiomas, #lista-idiomas-sb{
    list-style: none;
    padding: 0;
}

.desplegado{
    display: block !important;
}
/*---------------------------Go back top---------------------------*/
#gotoparrow{
    width: 25px;
    height: 25px;
}

#gobacktop{
    position: fixed;
    right: 8vw;
    bottom: 25px;

}

.off{
    display: none;
}

.on{
    display: block;
}

/*----------------------------Sidebar-----------------*/
#openSidebar{
    margin-right: 25px;
    display: none;
}

.sidebar{
    position: absolute;
    z-index: 10;
    width: 0px;
    right: 0;
    top: 0;
    background-color: #fd795f;
    padding: 0;
    transition: 0.5s;
}

#selectorsb, #languagesb{
    margin-left: 25px;
}

#selectorsb .option{
    padding-top: 10px;
}

#selectorsb,  #languagesb{
    display: none;
}

#close{
    display: none;
}

/*-----------------------------Desplegables-----------------------------*/
.documentacion{
    border-top: 1px solid rgb(184, 181, 181);
    cursor: pointer;
    padding-top: 20px;
}

.first-documentacion{
    border-top: 0;
}

.documentacion + ul{
    display: none;
    padding: 0;
}

.padding0{
    padding: 0;
}

/*-----------------------------Enlaces-----------------------------*/
.content-container a{
    text-decoration: underline;
}

/*-----------------------------Listas-----------------------------*/
.enlaces-politiques{
    list-style: none;
    display: inline-flex;
    padding-left: 0px;
}

.documentacion-boton{
    border: 0;
    background: transparent;
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.documentacion-boton:hover{
    cursor: pointer;
}

/*-----------------------------Mediaqueries------------------*/
@media (max-width:900px){
    .selector{
        flex-wrap: wrap;
    }

    .option{
        width: 110px;
    }

    #selectorfw, #languagefw{
        display: none;
    }

    #openSidebar{
        display: block;
    }
    .documentacion + ul + li + ul{
        padding: 0;
    }
}

@media (max-width:625px){
    .option{
        min-width:210px;
    }
}