html,body{
    margin: 0;
    font-family: 'Titillium Web', sans-serif;
}
a{
    text-decoration: none;
}
ul{
    padding: 0;
    margin: 0;
}
ul li{
    list-style: none;
    display: inline-block;
}
ul li a{
    color: #4B4B4D;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.9;
}

/*header*/
#header{
    height: 150px;
    background: #fff;
    /* padding: 20px; */
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    z-index: 12;
    position: relative;
}
#header .logo{
    width: 210px;
    height: 60px;
    padding-left: 20px;
    padding-top: 20px;
}
#header .menu-nav{
    width: 100vw;
    background-color: #f2f2f3;
    margin-top: 20px;
    height: 42px;
}
.menu-nav li{
    padding-top: 7px;
    padding-bottom: 7px;
}
#header .menu-nav ul li a{
    padding-left: 10px;
    padding-right: 10px;
    list-style: none;
}
#header .menu-top{
    padding-right: 20px;
    padding-top: 20px;
}
#header .menu-top ul a {
    padding: 0 2px;
}
.nav{
    padding: 0;
    margin: 0;
}
.nav li a:hover{
    background-color: #1abbe9;
    color: #fff;
}

/*colors hover menu*/
.consorci:hover{
    background-color: #1abbe9;
}
.consorci:hover a{
    color: #fff;
}
.alumnat:hover{
    background-color: #f1b320;
}
.alumnat:hover a{
    color: #fff;
}
.professorat:hover{
    background-color: #E26420;;
}
.professorat:hover a{
    color: #fff;
}
.centres:hover{
    background-color: #56AB38;
}
.centres:hover a{
    color: #fff;
}
.suport:hover{
    background-color: #bf5094;
}
.suport:hover a{
    color: #fff;
}

#ul-info{
    background: #f2f2f3;
    padding: 10px 30px;
    color: #fff;
    position: absolute;
    /* height: 45px; */
    width: 329px;
    box-sizing: border-box;
    transition: .7s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 12;
    right: 25px;
    top:180px;
    border-left: solid 5px #56AB38;
    border-right: solid 25px #e0e1e1;
    font-size: 14px;
    font-weight: 700;
}
#ul-info:hover{
    border-right: solid 25px #56AB38;
}
#ul-info:hover .info-mes{
    color: #56AB38;
}
.info-mes{
    position: absolute;
    right: -20px;
    background: white;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #e0e1e1;
    vertical-align: middle;
    line-height: 12px;
    transition: .7s cubic-bezier(0.075, 0.82, 0.165, 1);
}
#ul-info a{
    color: #4B4B4D;
}
#textinfo{
    max-width: 700px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    display: block;
    padding-top: 100px;
}
#ul-tornar{
    background: #56AB38;
    padding: 10px 30px;
    color: #fff;
    position: absolute;
    height: 45px;
    width: 329px;
    top: 180px;
    box-sizing: border-box;
    transition: .7s cubic-bezier(0.075, 0.82, 0.165, 1);
}
#ul-tornar .fletxa-desplegable{
    transform: rotate(180deg);
}

/*Llistacentres*/
#llistacentres{
    width: auto;
    background: rgba(255,255,255,.67);
    display: inline-block;
    width: 329px;
    max-height: calc(100vh - 320px);
    overflow: scroll;
    position: absolute;
    top:195px;
    left: 0;
    height: 0;
    transform: translate3d(0,-120%,0);
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    /* padding-top: 45px; */
}
#llistacentres.open{
    transform: translate3d(0,0,0);
    height: 100%;
}

#llistacentres ul li{
    /* display: none; */
    display: block;
    padding-left: 30px;
    padding-bottom: 5px;
    padding-top: 5px;
    border-bottom: solid 1px #979797;
}
#llistacentres ul{
    cursor: pointer;
}
#ul-llista{
    background: #56AB38;
    padding: 10px 30px;
    color: #fff;
    position: absolute;
    height: 45px;
    width: 329px;
    top: 150px;
    box-sizing: border-box;
    transform: translate3d(-100%,0,0);
    transition: .7s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 12;
}
#ul-llista.inici{
    transform: translate3d(0,0,0);
}
.background-flexta{
    position: absolute;
    right: 0;
    top: 0;
    height: 45px;
    width: 48px;
    background: #45892C;
}
.fletxa-desplegable{
    position: absolute;
    right: 0;
    transform: rotate(0deg);
    transition: .3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    padding: 13px;
    top: 0;
    height: 19px;
    z-index: 1;
}
.fletxa-desplegable.open{
    transform: rotate(90deg);
}

#footer{
    position: absolute;
    bottom: 60px;
    left: 50px;
    color: #fff;
    font-size: 14px;
}

#content{
    height: calc(100vh - 150px);
    top: 150px;
    position: absolute;
    width: 100vw;
    background: #fff;
    z-index: -1;
    overflow: hidden;
}
.slideswrap{
    display: none;
    width: 100%;
    height: 100%;
}

#intro-div{
    opacity: 0;
    transition: .7s cubic-bezier(0.075, 0.82, 0.165, 1);
    height: 100%;
    width: 100%;
}
#intro-div.inici{
    opacity: 1;
}
#text-intro-wrap{
    position: absolute;
    bottom: 120px;
    z-index: 9;
    left: 50px;
    overflow: hidden;
}
#intro-div .img-background{
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
}
#text-intro-wrap .text-intro{
    font-size: 4vw;
    font-family: 'Arimo', sans-serif;
    color: #fff;
    font-weight: bold;
    transform: translate3d(0px, 100% ,0px);
    transition: .7s cubic-bezier(0.075, 0.82, 0.165, 1);
}
#text-intro-wrap .text-intro.inici{
    transform: translate3d(0px, 0 ,0px);
}
.slideswrap .img-background{
    height: calc(100vh - 153px);
    background-size: auto 100%; 
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

#sliders-nav{
    background: #56AB38;
    position: absolute;
    z-index: 10;
    right: 0;
    top: 50%;
    display: none;
    text-align: center;
    transform: translateY(-50%);
    color: #fff;
    padding: 17px 4px; 
}
#sliders-nav div{
    display: inline-block;
    font-size: 1,5vw;
}

#sliders-nav #next{
    display: block;
    height: 50px;
    cursor: pointer;
}
#sliders-nav #prev{
    display: block;
    cursor: pointer;
}
#sliders-nav #next img{
    width: 40px;
}
#sliders-nav #prev img{
    width: 40px;
    vertical-align: bottom;
}
.arrowdown{
    transform: rotate(180deg);
}

.icon-burguer .ingredient-burguer {
    display: block;
    width: 25px;
    height: 4px;
    margin-bottom: 3px;
    background-color: #B3B3B3;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
}

.btn-burguer{
    display: none;
}

.infoimg{
    background: rgba(0,0,0,.67);
    border-top: solid 3px #56AB38;
    width: 100%;
    position: relative;
    z-index: 1;
    display: block;
    bottom: 0;
    position: absolute;
    padding: 10px;
    color: #fff;
    text-align: right;
    box-sizing: border-box;
}


@media only screen and (max-width: 850px) {
    #header{
        height: 70px;
    }
    #content {
        top: 120px;
        height: calc(100vh - 120px);
    }
    .slideswrap .img-background {
        height: calc(100vh - 120px);
    }
    #llistacentres{
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        max-height: none;
        background: #fff;
        top: 45px;
        position: relative;
    }
    #ul-llista{
        width: 100%;
        box-sizing: border-box;
        top: 80px;
    }
    #text-intro-wrap{
        box-sizing: border-box;
        bottom: 0;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    #text-intro-wrap .text-intro{
        font-size: 6vw;
    }
    #footer{
        display: none;
        margin: 0;
        box-sizing: border-box;
        width: 100%;
        bottom: 0;
        left: 0;
        text-align: center;
        font-size: 11px;
    }
    .btn-burguer{
        display: block;
        position: absolute;
        top: 32px;
        right: 17px;
    }
    #header{
        padding-bottom: 10px;
    }
    #header .menu-top{
        display: none;
    }
    #header .menu-nav{
        display: none;
    }
    #header .logo {
        width: 140px;
        height: auto;
    }
    #textinfo {
        padding-top: 50px;
    }
    #ul-info{
        top: auto;
        left: 0;
        bottom: 0;
        transform: translate3d(0,0,0);
        width: 100%;
    }
    #ul-tornar{
        top:80px;
        width: 100%;
        left: 0;
    }
}