/*
Theme Name: MatUB
Theme URI: http://www.ub.edu/
Description: Tema de Wordpress de la Facultat de Matemàtiques de la UB. Tots els drets reservats.
Author: Albert Vilalta Noguera
Author URI: avilalta@ub.edu
Version: 1.0
*/

/* Declarem variables globals
   Fallan en IE aixi que de moment estan deshabilitades
 */
:root{
    --ColorPrincipal: #0071cd;
    --SegonColor: #005EA8;
    --ColorFons: #f2f2f2;
    --ColorIdiomes:#333333;
    --ColorGris: #ddd;
    --ColorGrisFuerte:#707070;
    --ColorBlanco:#fff;
    --ColorNergo:#000;
    --ColorBreadcrumb:#656565;
}


@media print {
.impre {display:none}
}


body { 
        height:100%;
        width: 160%;
        padding: 0 0 0 0;
        /* 'verdana', sans-serif;*/
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size:1em;
        /*background-color:var(--ColorFons);*/
        background-color:#f2f2f2;
    }

@media screen and (min-width: 700px){ 
    body { 
        height:100%;
        width: 100%;
        padding: 0 0 0 0;
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size:1em;
    }
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block;
}

ul li{
    list-style-type:disc !important;
    margin-left:25px !important;
}

ul ul li{
    list-style-type:circle !important;
    margin-left:35px !important;
}

ul.menuLateral li {
    list-style-type:none !important;
    /*padding-left:0px !important;*/
    margin-left:0px !important;
}

div#wpadminbar ul li{
    list-style-type:none !important;
    /*padding-left:0px !important;*/
    margin-left:0px !important;
}





@media screen and (min-width: 960px){ 
    #wrapper { 
        display: block; 
        border: 1px #000000 solid; 
        border-radius: 20px;
        //width: 960px; 
        margin:0px auto; 
        background: rgba(250,250,250,.8);
    }
}

h1{
    text-align: center;
    box-sizing: initial;
    font-size: 2em;
    padding-bottom: 15px;
    margin-bottom: 5px;
}

h2{
    text-align: center;
    font-size: larger;
    padding-bottom: 7px; 
    margin-left: 15%;
    margin-right: 15%;
    color: #122562;
    margin-bottom: 0px;
}

h3{
    font-size: large;
}

h4{
    text-align: right;
    font-size: small;

}

hr{
    width: 70%;
    /*border: 1px solid var(--ColorGris);*/
    border:1px solid #ddd;
    border-bottom: none;
}

.liniadalt{
    border-top: thin solid #122562;;
}

.liniabaix{
    border-bottom: thin solid #122562;;
}

.textesquerra{
    text-align: left;
}

.textdreta{
    text-align: right;
}

.textcentre{
    text-align: center;
}

.margebaix20{
    margin-bottom: 20px;
}

.pulse {
  overflow: visible;
  position: relative;
}

.pulse::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: inherit;
  border-radius: inherit;
  -webkit-transition: opacity .3s, -webkit-transform .3s;
  transition: opacity .3s, -webkit-transform .3s;
  transition: opacity .3s, transform .3s;
  transition: opacity .3s, transform .3s, -webkit-transform .3s;
  -webkit-animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
          animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  z-index: -1;
}

@-webkit-keyframes pulse-animation {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: 0;
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
  }
}

@keyframes pulse-animation {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: 0;
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
  }
}



#footer{
    font-family: "Roboto", sans-serif;
    font-weight: normal;
}

#footer h3{
    font-weight: normal;
}

#llengua{
    text-align: right;
    color: #FFFFFF;
    font-size: small;
    margin-bottom: 5px;
    padding-right: 15px;
}



#widgets{
    width:50%;
}

#titol{
    clear: both;
    float:left;
    //border: thin solid #00FF00;
}

#facultat{
    float: right;
    color:white;
    text-align: right;
    margin: 0px 10px 0px 10px;
    padding:0;
    //border: thin solid #FF0000;
}

#links{
    float: right;
    width: 25%;
    //border: thin solid #FF0000;
}

#content { 
    margin-top: 20px;
    width: 100%; 
    //border: 2px #a2a2a2 solid; 
    float: left; 
}

#sidebar { 
    list-style-type: circle;
}

#sidebar ul {
    margin-left:1%; 
        list-style-type: circle;


}


#sidebar h2{

}

.delimiter { 
    clear: both; 
}

#footer { 
    clear: both;
    color: #DDDDDD;
    /*background-color: var(--ColorPrincipal);*/
    background-color:#0071cd;
    width:100%;
    margin-top: 50px;
    //margin-bottom: 15px;
    padding: 10px;
    padding-top:25px;
}

#footer h3{
    color: #FFFFFF
}

.circleLista{
    list-style-type:disc !important;
    margin-left:25px !important;
}

.circleListaSegundo{
    list-style-type:circle !important;
    margin-left:35px !important;
}


ul.llista  li{
    list-style-type:disc !important;
    margin-left:25px !important;
}

ul.llista ul li{
    list-style-type:circle !important;
    margin-left:35px !important;
}

table.taula tr td{
    width:100% !important;
}



/* #######################################################################
                        NOU HEADER
   ########################################################################*/   

strong {
    font-weight: bold;

}

#header {
    clear: both;
    width:100%;
    /*background-color: var(--ColorPrincipal);*/
    background-color: #0071cd;
}

#header h1{
    text-align:right; 
    margin-top:1%; 
    margin-right:1%;
    color:white;
}

#header h1 a{
  color:white;
  text-align:right;
}

#idiomes {
    font-size:90%; 
    text-align:right; 
    color:white;
    /*background-color: var(--ColorIdiomes);*/
    background-color:#333333;

}

#idiomes a{
    color:white;
    margin-right:1%;
}

#idiomes a:hover{
    color:black;

}

#idiomes b{
    color:white;
    margin-right:1%;
}

#cercador {
    /*background-color: var(--SegonColor);*/
    background-color:#005EA8;
}

#cercador input{
    border-bottom:none;
}

#logo {
    margin-top:1%;
    margin-bottom:10px;
}

#logo img{
    max-height: 70px;
}

#logo h1{
    text-align: right;
    box-sizing: initial;
    font-size: 2em;
    padding-bottom: 15px;
    margin-bottom: 5px;
}

#titol {
  text-align:right; 
  margin-top:1%; 
  margin-right:1%;
}



#logo source{
    max-height: 80px;
}

#menu{
    /*background-color:var(--SegonColor); */
    background-color:#005EA8;
    padding-bottom:2px;
}

#menuBotton{
    /*
    background-color:var(--SegonColor); 
    border-right:solid var(--ColorPrincipal) 1px;
    */
    background-color:#005EA8;
    border-right:solid#0071CD;
    width:12.5%;
    vertical-align:middle;
    min-height:100%;
    
}

#menuBottonPrimer{
    /*
    background-color:var(--SegonColor); 
    border-right:solid var(--ColorPrincipal) 1px;
    border-left:solid var(--ColorPrincipal) 1px;
    */
    background-color:#005EA8;
    border-right:solid #0071CD;
    border-left:solid #0071CD;
    width:12.5%;
    vertical-align:middle;
    height:100%
}

#menuBotton a{
    font-size:16px; 
    margin-top:20px; 
    text-align:center; 
    color:white;

}

#menuBotton2{
    /*
    background-color:var(--SegonColor);
    border-right:solid var(--ColorPrincipal) 1px;
    */
    background-color:#005EA8;
    border-right:solid #0071CD;
    vertical-align:middle;
    min-height:100%;

}

#menuBottonPrimer2{
    /*
    background-color:var(--SegonColor);
    border-right:solid var(--ColorPrincipal) 1px;
    border-left:solid var(--ColorPrincipal) 1px;
    */
    background-color:#005EA8;
    border-right:solid #0071cd 1px;
    border-left:solid #0071cd 1px;
    vertical-align:middle;
    height:100%
}

#menuBotton2 a{
    font-size:16px;
    margin-top:20px;
    text-align:center;
    color:white;

}

#menuBottonText{
    font-size:16px; 
    margin-top:5px; 
    text-align:center; 
    color:white;
}

#menuBotton:hover, #menuBottonPrimer:hover{
    /*background:var(--ColorPrincipal);*/
    background:#0071CD;
}

#bottonSearch ul{
    background-color:#4f4f4f;
}
#bottonSearch li:hover{
    background-color:#4f4f4f;
}

/* Demo 2 */
#demo-2 input[type=search] {
    width: 15px;
    padding-left: 10px;
    color: transparent;
    cursor: pointer;
}
#demo-2 input[type=search]:hover {
    background-color: #fff;
}
#demo-2 input[type=search]:focus {
    width: 130px;
    padding-left: 32px;
    color: #000;
    background-color: #fff;
    cursor: auto;
}
#demo-2 input:-moz-placeholder {
    color: transparent;
}
#demo-2 input::-webkit-input-placeholder {
    color: transparent;
}

#verticalmenu-header{
    /*background-color: var(--ColorGris);*/
    background-color:#ddd;
    text-align:left;
    font-size:20px;
    /*color:var(--ColorNegro);*/
    color:#000;
    padding:6px;
}

#sidebar ul{
    margin:0px;
}

#sidebar ul div{
    margin:0px;
}


/* #######################################################################
                        PLANTILLA PAGE
   ########################################################################*/  
#main{
    padding-left: 1%;
    padding-right: 1%;
}

#breadcrumb {
    padding:16px 0;
    margin-bottom:0px;
    font-size:13px;
    line-height:15px;
    /*color: var(--ColorBreadcrumb);*/
    color:#656565;
}

#breadcrumb a {
    /*color: var(--ColorBreadcrumb);*/
    color:#656565;
}

#breadcrumb a span:hover {
    /*color: var(--ColorPrincipal);*/
    color:#0071CD;
}

#header-page{
    /*background-color:var(--ColorGris);*/
    background-color:#ddd;
    margin-top:0px;
    margin-bottom:0px;
    text-align:left;
}

#header-page h1{
    /*color: var(--ColorNegro);*/
    color:#000;
    text-align:left;
    padding:6px;
    font-size:20px;
    margin:0px;

}

#body-page{
    overflow:hidden;
    margin-top:0px;
    padding-top:1%;
    padding-left:1%;
    padding-right:1%;
    width:100%;
    /*background-color:var(--ColorBlanco);*/
    background-color:#fff;

}

#body-page p{
    margin-top:0px;

}

#body-page h1, h2, h3, h4{
    margin:0px;
}



} 
/*################################################################################
                            MENÃš SUPERIOR
################################################################################
*/



.xerrada{
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
    margin-bottom: 50px;
}

#enviat{
    width: 80%;
    margin: auto;
    text-align: center;
    border: medium solid #008800;
    background-color: #00DD00;
    border-radius: 15px;
}
/*
.noticia{

}

.noticia .card{
    height: 200px;
}

.noticia .card-content{
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 20px;
    padding-left: 20px;
}

.noticia .card-title{
    font-size: large;
    border-bottom: medium solid #122562;
}

.noticia .card-reveal{
    font-size: small;
    padding-top: 0;
    padding-bottom: 0;
}

.noticia .card-reveal .card-title{
    border: none;
    margin: 0px 0px 0px 0px;
}

.alignright {
    display:inline;
    float:right;
    margin-left:24px;
    margin-top:4px;
}

*/
/* GALLERY ----------------------------------------------------*/


#gallery-holder{

}

.gallery-thumbs a,
.work-thumbs a{
    text-decoration: none;
    color: #333333;
}

.gallery-thumbs,
.work-thumbs{
    overflow: hidden;
    margin: -38px 0px;
    line-height: 0em;
    width: 850px;
    margin-left: -38px -74px;
}

.gallery-thumbs>li,
.work-thumbs>li{
    float: left;
    margin: 62px;
    width: 300px;
}

.gallery-thumbs>li a.plusbg,
.work-thumbs>li a.plusbg{
    display: block;
    background: #f1f1f1 url(../img/plus.png) no-repeat center center;

    -webkit-box-shadow: 0px 0px 2px  rgba(0,0,0,.3); 
    -moz-box-shadow: 0px 0px 2px  rgba(0,0,0,.3); 
    box-shadow: 0px 0px 2px rgba(0,0,0,.3); 
}

.gallery-thumbs>li img,
.work-thumbs>li img{
    margin: 8px;
}

.gallery-thumbs>li .thumb-description,
.work-thumbs>li .thumb-description{
    line-height: 1.5em;
    margin-top: 15px;
}

.gallery-thumbs>li .thumb-description p,
.work-thumbs>li .thumb-description p{
    margin-bottom: 0px;
}

.gallery-thumbs>li .thumb-description .thumb-title,
.work-thumbs>li .thumb-description .thumb-title{
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 10px;
}



/* ************CALENDARI************** */

#iframecalendari{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

/* ************TARGETES************** */

.card.small{
    height: 32vh;
    position: relative;
    box-sizing: border-box;
}

.card.small .card-image{
    height: 15vh;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

.card.small .card-image:before{
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    box-sizing: border-box;
}

.card.small .card-image:after{
    content: '';
}

.card .card-image img{
    vertical-align: middle;
    display: inline-block;
    max-width: 96%;
    margin: 2% auto;
    width: 96%;
    box-sizing: border-box;
}

.card .card-image:hover{
    -webkit-filter: brightness(150%);
    filter: brightness(150%);
}

.help_imatge{
    padding-top: 15vh;
    box-sizing: border-box;
}

.card .card-content{
    height: 15vh;
    box-sizing: border-box;
}

.card .card-content .card-title{
    font-size: 2vh;
    line-height: 20px;
    height: 8vh;
    box-sizing: border-box;
}

.card .card-reveal .card-title{
    font-size: 2vh;
    line-height: 20px;
    height: 8vh;
    box-sizing: border-box;
}

.card-link{
    text-align: right;
    box-sizing: border-box;
}

img.responsive-img{
    //max-height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.men a:hover{
    background-color:red;
}

thead.asignaturas{
    background-color:#ddd;
}

thead.asignaturas th, tr{
    text-align:center !important;
}

table.asignaturasCuerpo tr, td, th{
    border-style:solid;
    border-color: #707070;
    border-width:1px;
}


/* ******** BOTONES AZULES **********  */

@import url(https://fonts.googleapis.com/css?family=Roboto:400,900);

.moduleOne {
/*  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(http://develop.mat.ub.edu/wp-content/themes/matUB/images/blau_two.jpg);*/
  background-size: cover;
  width: 100%;
  height: 90px;
  margin: 10px 0 0 1%;
  position: relative;
  float: center;
}

.moduleOne:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleGrau {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 150px;
  margin: 10px 0 0 1%;
  position: relative;
  float: center;
}

.moduleGrau:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}


.moduleTwo {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_two.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleThree {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_three.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleFour {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_four.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleFive {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_five.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleSix {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_six.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleSeven {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_seven.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleEight {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_eight.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleNine {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_nine.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleTen {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_ten.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleEleven {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_eleven.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleTwelve {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_twelve.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleThirteen {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_thirteen.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleFourteen {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_fourteen.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleFifteen {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_fifteen.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleSixteen {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_sixteen.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleSeventeen {
  background: 
    linear-gradient(
      rgba(0,113,205,.5),
      rgba(0,113,205,.5)
    ),
    url(https://mat.ub.edu/matapps/wp-content/themes/matUB/images/blau_seventeen.jpg);
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  float: center;
  text-align:center;
}

.moduleSeventeen:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleSixteen:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleFifteen:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}


.moduleFourteen:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleThirteen:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleTwelve:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}


.moduleEleven:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleTen:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleNine:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleEight:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleSeven:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}
.moduleSix:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleFive:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleFour:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleThree:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}
.moduleTwo:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleOne:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}

.moduleImage:hover {
    -webkit-filter: grayscale(100%);filter: grayscale(100%);
    transition: -webkit-filter 0.2s;

}


.top h2 {
  color: white;
  margin: 0;
  padding: 20px;
}

.lr p {
  font-family: 'Roboto', sans-serif;
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  margin: 0;
}

@media screen and (min-width: 1060px) { 
.mid h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 100%;
  transform: translate(-50%, -50%);
}

.midGrau h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 110%;
  transform: translate(-50%, -50%);
}
}

@media screen and (max-width: 1061px) { 

  .amaga {
    display: none;
  }

  .mid h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 100%;
  transform: translate(-50%, -50%);
}

  .midGrau h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 90%;
  transform: translate(-50%, -50%);
}
}

.cap p {
  padding: 20px;
  color: white;
  font: 12px Monaco, Mono-Space;
  margin: 0;
}




/**********PAGINACIÓ**********

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
	color: #fff;
	text-decoration:none;
}

.navigation li {
	display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
	background-color: #6FB7E9;
	border-radius: 3px;
	cursor: pointer;
	padding: 12px;
	padding: 0.75rem;
}

.navigation li a:hover,
.navigation li.active a {
	background-color: #3C8DC5;
}

*/
