/*
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;
}

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;
        list-style-type: circle;
        
    }

@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;
    }
}

/* not specific enough to put default back */
ul.browser-default {
  list-style-type: initial;
}

ul.browser-default li {
  list-style-type: initial;
}



article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block;
    list-style-type: circle;
}


@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 var(--ColorGris);*/
    border-top: thin solid #ddd;
}

.liniabaix{
    /*border-bottom: thin solid var(--ColorGris);*/
    border-bottom: thin solid #ddd;
}

.textesquerra{
    text-align: left;
}

.textdreta{
    text-align: right;
}

.textcentre{
    text-align: center;
}

.margebaix20{
    margin-bottom: 20px;
}

#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
}


/* #######################################################################
                        NOU HEADER
   ########################################################################*/   
ul li {
    list-style-type: disc;
    margin-left: 1.5em; /* which should give space for the disc to show */
    list-style-position: inside; /* will put the disc inside of the li
                                    element, for debugging purposes */
}

ul:not(.browser-default) {
  padding-left: 0;
  list-style-type: disc;
}

ul:not(.browser-default) li {
  list-style-type: disc;
}

.clearfix {
    overflow:auto;
    zoom: 1;
}

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

#header h1{
    margin-left:5%; 
    color:white;
}

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

}

#idiomes a{
    color:white;
}

#idiomes a:hover{
    color:black;
}

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

#cercador input{
    border-bottom:none;
}

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

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

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


#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;
    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 1px;
    border-left:solid #0071cd 1px;
    vertical-align:middle;
    height:100%
}


#menuBotton 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: 4.3%;
    padding-right:4.3%;
}

#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-right:1%;
    padding-left: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: 10vh;
    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;
}

/**********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;
}

*/