﻿/*
Universitat AutÃ²noma de Barcelona
Ã€rea de PlanificaciÃ³ de Sistemes d'InformaciÃ³
Unitat d'Usabilitat, Accessibilitat i PresentaciÃ³
-
PÃ gina de manteniment

/* # # # # # # # # # # # # # # # #
Reset
# # # # # # # # # # # # # # # # */

html {
    box-sizing: border-box;
    font-size: 1em;
}
  
*, *:before, *:after {
    box-sizing: inherit;
}
  
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
  
ol, ul {
    list-style: none;
}
  
img {
    max-width: 100%;
    height: auto;
}

html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
    color: #5c8bbd;
    text-decoration: none;
}

a:hover {
    color: #224e7c;
}

/* # # # # # # # # # # # # # # # #
Estructura
# # # # # # # # # # # # # # # # */


body { 
    background: #F0F1F4 url(../img/clouds.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1em;
    color: #333;
    padding-top: 50px;
}

.container {
    background-color: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
    -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
    box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
}

    .container .uab {
        width: 250px;
        height: 30px;
        background: url(../img/logo-UAB.svg) no-repeat;
        margin-bottom: 1em;
        float: left;
        text-indent: -1000em;
    }
        .container .uab a {
            display: block;
            height: 100%;
            width: 100%;
            text-indent: -1000em;
        }

    .container h1 {
        font-weight: bold;
        font-size: 1.75em;
        letter-spacing: -0.03em;
        text-align: right;
    }

    .container .banner {
        clear: both;
        background: url(../img/capcal.jpg) no-repeat;
        width: 100%;
        height: 180px;
    }

    .container .detall {
        clear: both;
        width: 80%;
        margin: 2em auto;
    }

    .container h2 {
        font-weight: 700;
        font-size: 2.5em;
        letter-spacing: -0.035em;
        color: #5c8bbd;
        margin-bottom: 0.5em;
    }

    .container p {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
        font-size: 1.25em;
        margin-bottom: 0.25em;
        letter-spacing: -0.035em;
    }

/* # # # # # # # # # # # # # # # #
Icones
# # # # # # # # # # # # # # # # */

.icona {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
}

.icona.enllac {
    background: url(../img/icona-enllac.svg);
}

.icona.correu {
    background: url(../img/icona-correu.svg);
}

.icona.telefon {
    background: url(../img/icona-telefon.svg);
}

/* # # # # # # # # # # # # # # # #
Canvi d'idioma
# # # # # # # # # # # # # # # # */

#canvi-idioma {
    float: right;
    font-size: 1.25em;
    font-weight: bold;
    margin-top: 1em;
}

#canvi-idioma a {
    margin-left: 0.75em;
}

#canvi-idioma a.off {
    color: #6e6d68;
    opacity: .5;
}

#canvi-idioma a.off:hover {
    opacity: 1;
}

#canvi-idioma #lang-0-ca:after {
    content: "Català";
}

#canvi-idioma #lang-0-es:after {
    content: "Español";
}

#canvi-idioma #lang-0-en:after {
    content: "English";
}

/* # # # # # # # # # # # # # # # #
Media Queries
# # # # # # # # # # # # # # # # */

@media only screen and (max-width: 650px) {
    .container h1 {
        clear:both;
        text-align: left;
        margin-bottom: 0.5em;
    }
    .container .detall {
        width: 100%;
    }
}
