@import url('fonts/webfonts/FranklinGothic/FranklinGothic.css');
@import url('fonts/webfonts/GandhiSerif/GandhiSerif.css');
@import url('estils-cap.css');
@import url('estils-dossiers.css');
@import url('estils-peu.css');

body { 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bg1 { 
  background: url("../img/bg/bg1_corsega.jpg") no-repeat center center fixed; 
}

.bg2 { 
  background: url("../img/bg/bg2_altkarabakh.jpg") no-repeat center center fixed; 
}

.bg3 { 
  background: url("../img/bg/bg3_bolivia.jpg") no-repeat center center fixed; 
}

.bg4 { 
  background: url("../img/bg/bg4_saharaoccidental.jpg") no-repeat center center fixed; 
}

.bg5 { 
  background: url("../img/bg/bg5_escocia.jpg") no-repeat center center fixed; 
}

.bg6 { 
  background: url("../img/bg/bg6_grenlandia.jpg") no-repeat center center fixed; 
}

.bg7 { 
  background: url("../img/bg/bg7_novazelanda.jpg") no-repeat center center fixed; 
}

.bg8 { 
  background: url("../img/bg/bg8_palestina.jpg") no-repeat center center fixed; 
}

.bg9 { 
  background: url("../img/bg/bg9_quebec.jpg") no-repeat center center fixed; 
}

.bg10 { 
  background: url("../img/bg/bg10_tibet.jpg") no-repeat center center fixed; 
}

body {
	font-family: 'franklin-gothic',sans-serif;
    font-size: 16px;
    font-weight: 300;    
    line-height: 1.428571429;
    color: #000000;
}

a {
	color: rosybrown;
}

a:hover, a:focus { 
    text-decoration: none; 
    color: rosybrown;
}

i {
    vertical-align: sub;
    margin-right: 3px;
}

h1, .h1, h2, .h2, h3, .h3,
.navbar-nav a,
.navbar-toggle.button-cercar,
.grup-login,
#opcions-navbar {
    font-family: 'franklin-gothic', sans-serif;    
    font-weight: bold;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 10px;    
}

.svg {
	height: 25px;
	width: 25px;
	float: left;
}

ul, ol {
	padding: 0;
}

/* Cookies alert */

.alert-info {
    background-color: deepskyblue;
    border: none;
    color: black;    
}

.alerta-cookies {
    bottom: 0;
    left: 0;
    margin-bottom: 0;
    position: fixed;
    right: 0;
    z-index: 3;
}

.alerta-cookies a {
    color: floralwhite;
    font-weight: bold;
}

/* Contingut */

#principal {
    padding-top: 30px;
}

.destacat {
    width: 100%;
}
 
#blog-inici > article {
	background-color: white;
	padding: 20px;
	margin-bottom: 20px;
	position: relative;
}

article.destacat h1 {
    font-size: 30px;
}

article h1 {
    font-size: 24px;
}

article .top {
	font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

article .categoria {
	float: left;
	margin-right: 0.3em;
    font-weight: bold;
    color: #574f4d;
}

article .cat-document {
	background-color: #1da3b2;
}

/* Bloc entrevistes */

.principal-portada article.cat-entrevista {
    background-color: #e6e3e3;
    padding: 0;
}

#entrevistes {
    background-color: white;
    padding: 20px 0 20px 20px;
}

#entrevistes .row {
    margin: 0;
}

.cat-entrevista {
    background-color: #e6e3e3;
    float: left;
    padding: 0;
    margin-right: 20px;
}

.cat-entrevista img {
    width: 100%;
}

#entrevistes > h3 {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 15px;
    margin-top: -3px;
}

.cat-entrevista h2 {
    font-size: 20px;
}

.cat-entrevista h2 a {
    color: black;
}

.cat-entrevista .subtitol {
    font-size: 16px;
    line-height: 1.2em;
}

.cat-entrevista-nom {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 2px;
	margin-top: 10px;
	text-transform: uppercase;    
}

.destacat.cat-entrevista {
    width: 100%;
}

.cat-entrevista-info {
    padding: 12px 15px;
}

/* Columna lateral */

#col-lateral .modul {
	background-color: white;
	padding: 20px;
	margin-bottom: 30px;
    margin-top: 30px;
}

#col-lateral .modul:first-child {
    margin-top: 0;    
}

.modul img {
    margin: 20px auto;
}

#col-lateral h3 {
	font-size: 18px;
	margin-top: 0;
}

h3 {
	color: #574f4d;
}

#modul-butlleti .form-control {
	width: 100%;
	color: #626262;
	background-color: gainsboro;
	border: none;
    border-radius: 0;
}

.form-butlleti .btn {
    width: 29%;
}

.btn-primary {
	color: white;
	background-color: rosybrown;
	border: none;
    border-radius: 0;
}

.btn-mes {
    display: block;
    font-size: 18px;
    margin-bottom: 30px;
    margin-left: -15px;
    margin-right: -15px;
}

.btn {
    padding: 7px 0;
}

.form-butlleti-peu .btn {
    width: 30%;
}

.btn:hover {
	background-color: gray;
}

.xarxes-socials {
  	display: inline-block;
    margin: 5px 0 0;
    padding: 0;
}

.xarxes-socials .svg {
    background-color: black;
    fill: white;
    height: 38px;
    padding: 8px;
    width: 38px;
}

.xarxes-socials a:hover .svg,
.xarxes-socials a:hover .svg path {
	background-color: gray;
	fill: white;
}

.facebook .svg { background-color: #2751aa; }
.twitter .svg { background-color: #00c7f9; }
.google .svg { background-color: #f80707; }
.flickr .svg { background-color: #f0f0f0; fill: #fd0084; }
.flickr .svg path:first-child { fill: #246ed7; }
.rss .svg { background-color: #ff8f00; }

.xarxes-socials > li {
	display: inline-block;
    padding-left: 2px;
    padding-right: 10px;
}

#modul-facebook iframe {
	height: 15em;
    width: 100%;
}

/* Articles */

.principal-portada article {
    background-color: white;
    margin-bottom: 30px;
    padding: 20px;
    margin-right: 30px;
    float: none;
}

/* Des de md */

@media (min-width: 992px) {
    #blog-inici .row:not(.row-destacat) {
        margin-right: -60px;
        overflow: hidden;
    }
}

.principal-portada article.cat-opinio {
    background-color: #574f4d;
    background-color: blanchedalmond;
}

#mapa-nacions.modul {
    background-color: #ddd8cd;
}

#mapa-nacions.modul img {
	border: 1px solid #141719;
	padding-bottom: 5px;
}

/* Interior */

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    margin-top: -30px;
    padding: 16px 20px;
}

.breadcrumb > li + li::before {
    content: "";
    padding: 0;
}

.breadcrumb > .active {
    color: black;
}

.breadcrumb a {
    font-weight: bold;
}

#article-principal {
    margin: 0 -15px 20px;
    padding: 6px 20px 20px;
}

/*Fitxa de país*/

#col-lateral #fitxa-pais {
    font-size: 14px;
}

.peu-fitxa {
    text-align: right;
    margin-top: 15px;
}

.peu-fitxa > a {
    font-size: 16px;
}

.peu-fitxa > a:hover {
    color: black;
}

#fitxa-pais {
    font-size: 16px;
}

.titolet-seccio,
#fitxa-pais > h3 {
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 0;
}

#fitxa-pais > h4 {
    font-weight: bold;
    margin-top: 3px;
}

#fitxa-pais > h5 {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#fitxa-pais img {
    border: 1px solid #999;
}

#fitxa-pais dd {
    line-height: 1.2em;
    margin-bottom: 0.5em;
    display: table;
}

.article-fitxa #fitxa-pais dt {
	float: left;
	width: 14em;
}

.bandera-fitxa {
    height: 49px;
    position: absolute;
    right: 15px;
    top: 15px;
}

/* Llista de notícies */

.noticies-llista > li {
    background-color: #fff;    
    margin-bottom: 20px;
}

.noticia-petita h2,
.noticia-petita.cat-entrevista h2 {
    font-size: 17px;
    line-height: 1.2em;
    display: table;
}

.noticia-petita .cos {
    padding: 10px 15px;
}

.noticia-petita .categoria { 
    text-transform: uppercase; 
    color: #574f4d;
    font-weight: bold;
}

.noticia-petita.cat-entrevista  { 
	background-color: #e6e3e3; 
	width: 100%;
	float: none;
}

.noticia-petita .cat-entrevista-nom { 
	margin-top: 0;
}

.noticia-petita.cat-opinio      { background-color: blanchedalmond; }
.noticia-petita h2 a { color: black; }

ul.noticies-llista > .cat-fitxa img {
    float: right !important;
    height: 58px;
    margin-right: 5px;
    width: auto;
    padding: 0;
}

.noticia-petita.cat-fitxa {
    padding: 20px;
}


/* Contacte */

.article-contacte h4 {
    font-weight: bold;
}

@media (min-width: 768px) {

    .noticies-llista {
        margin: 0 -15px 20px;
    }

}

/* Exclòs mòbil */

@media (min-width: 500px) {

    .noticies-llista {        
        padding: 0;
    }

    .noticies-llista > li {
        background-color: #fff;    
        list-style: outside none none;
        margin: 0 -5px 20px 0;
        position: relative;
        padding-right: 10px;
        padding-bottom: 15px;
    }

    ul.noticies-llista > li img {
        float: left;
        margin-right: 15px;
        padding: 15px 0 15px 15px;
        width: 35%;
    }

    ul.noticies-llista > li .categoria {
        padding-top: 11px;
    }

    .noticia-petita .cos {
    	padding: 0;
	}

    .noticies-llista li h2, 
    .noticies-llista li .subtitol {
        display: table;
        margin: 0;
    }

    .noticia-petita h2 {
        font-size: 24px;
        line-height: 1.2em;
    }

    .noticies-llista .nav-meta.element-meta {
        position: absolute;
        right: 5px;
        top: 9px;
    }

    .noticies-llista .nav-meta.element-meta .boto-social a {
        padding: 6px;
    }

    .noticies-llista .nav-meta.element-meta a {
        font-size: 13px;
        font-weight: bold;
    }

}

/* Calendari */

.col-calendari {
    padding-left: 0;
}

.col-calendari .dropdown-menu {
    height: 14em;
    overflow-y: scroll;
}

.calendari {
    width: 100%;
    font-size: 12px;
    line-height: 2em;
    font-weight: bold;
}

.calendari-capsa {
    border: 1px solid #bbb;
    padding: 0 12px 12px;
    margin-bottom: 15px;
    margin-top: 2em;
}

.calendari th,
.calendari td {
    padding: 5px;
    text-align: center;

}

.calendari th {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
}

.calendari th a {
    padding: 0;
}

.muted {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  filter: alpha(opacity=40);
  -moz-opacity: 0.4;
  -khtml-opacity: 0.4;
  opacity: 0.4;
}

.calendari .btn-group {
    position: inherit;
}

.ui-datepicker-title select {
    background-color: transparent;
    border: 1px solid gray;
}

.ui-datepicker-title {
    margin-bottom: 1em;
}

.customSelect.ui-datepicker-month { margin-right: 10px; }
.customSelect.ui-datepicker-year { margin-right: -10px; }

.customSelect {
    margin-right: 0px;
    padding: 0;
}

.calendari .btn-primary > strong {
    background-color: black;
    -moz-border-radius:     3em;
    -webkit-border-radius:  3em;
    border-radius:          3em;
    -khtml-border-radius:   3em;
    display: block;    
    width: 23px;
    height: 23px;
    margin: 0 auto;    
}
.calendari td {
    border: 1px solid #ccc;
}

td.avui {
    background-color: #00a1dd;
    color: white;
}

td.avui a {
    color: white;
}

.calendari .btn-primary {
    background-color: transparent;
    color: #FFFFFF;
    text-transform: uppercase;
}

.calendari .btn-primary a {
    color: #FFFFFF;
}

.calendari > thead > tr > th {
    position: relative;
}

.calendari th .cal-fletxa-esquerra {
    position: absolute;
    left: 0px;
    width: 25px;
    top: 8px;
}

.calendari th .cal-fletxa-dreta {
    position: absolute;
    right: 0;
    width: 25px;
    top: 8px;
}

.calendari .btn-group > .btn:hover, 
.calendari .btn-group > .btn:focus {
    background-color: transparent;
    color: black;
}

/*  ====================
    MEDIA QUERIES
    ==================== */

/*Només mòbil*/

@media (max-width: 768px) {


	/* Capçalera & Menu principal */

	#menu-principal {
        display: none;
    }

    #capsalera {
        position: absolute;
        top: 0;
    }

    .breadcrumb {
        margin-top: -30px;
    }

	.form-butlleti .btn {
	    margin-top: 0;
	}

	.navbar-header {
    	width: 100%;
	}

	#menu-main-menu > li {    
    	font-size: 30px;
	}

	#menu-llengua a {
    	float: left;
	}

	.xarxes-socials > li {
    	padding-right: 6px;
	}

    #blog-inici article {
        width: 100%;
    }

    /* Cookies */

    .alerta-cookies {    
        font-size: 14px;
    }

}

/* Exclòs mòbil */

@media (min-width: 768px) {

    #cap .alert > .container {
        padding: 0 0 0 28px;
    }

	#col-lateral {
    	float: right;
    	width: 294px;
	}

    .whatsapp { display: none !important; }

    .principal-portada article {
        margin-right: 30px;
    }

    /* Tipografia */

    .titol-seccio {
        font-size: 30px;
    }

}

/* mòbil + tablet */

@media (max-width: 992px) {

	.form-butlleti .btn {
	    display: inline-table;
	    margin: 15px 14px 0;
	    padding: 7px 19px;
	    width: -moz-available;
	    width:-webkit-fill-available;
	}

    #col-lateral {
        float: none;
        margin-top: 20px;
        width: 100%;
    }

    #entrevistes .cat-entrevista {
        margin-bottom: 20px;
    }

}

/* Només tablet */

@media (min-width: 768px) and (max-width: 992px) {

    .principal-portada article:not(.destacat) {
        float: left;
        width: 360px;
    }

}

/* Entre md i lg */

@media (min-width: 992px) and (max-width: 1200px) {

	#menu-llengua {    
    	margin-left: 100px;
	}
}

/* Des de md */

@media (min-width: 992px) {

    .principal-portada article:not(.destacat) {
        width: 307px;
    }

    .cat-entrevista {
        width: 23.25%;
    }

    .cat-entrevista:last-child {
        margin-right: 0;
    }

}

/* lg */
@media (min-width: 1200px) {

    #col-lateral {
        width: 360px;
    }

    .principal-portada article:not(.destacat) {
        width: 374px;
    }

}

/* hacks */

#menu-principal:after,
.noticies-llista > li:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}


.paginacio { float: right; margin-bottom: 10px; }
.paginacio a, .paginacio span {
    display: block;
    float: left;
    margin-right: 5px;
    padding: 3px 6px;
    border: 1px solid #FFD3D3;
    background-color: #FFD3D3;
    color: #000;
}
.paginacio a:hover {
    color: #FFF;
    background-color: #BC8F8F;
    border: 1px solid #BC8F8F;
}
.paginacio span.actual {
    font-weight: bold;
    background-color: #BC8F8F;
    border: 1px solid #BC8F8F;
    color: #FFF;
}

/* -------- prettyPhoto -------- */
div.light_rounded .pp_top .pp_left{background:url(../img/prettyphoto/sprite.png) -88px -53px no-repeat}
div.light_rounded .pp_top .pp_right{background:url(../img/prettyphoto/sprite.png) -110px -53px no-repeat}
div.light_rounded .pp_next:hover{background:url(../img/prettyphoto/btnNext.png) center right no-repeat;cursor:pointer}
div.light_rounded .pp_previous:hover{background:url(../img/prettyphoto/btnPrevious.png) center left no-repeat;cursor:pointer}
div.light_rounded .pp_expand{background:url(../img/prettyphoto/sprite.png) -31px -26px no-repeat;cursor:pointer}
div.light_rounded .pp_expand:hover{background:url(../img/prettyphoto/sprite.png) -31px -47px no-repeat;cursor:pointer}
div.light_rounded .pp_contract{background:url(../img/prettyphoto/sprite.png) 0 -26px no-repeat;cursor:pointer}
div.light_rounded .pp_contract:hover{background:url(../img/prettyphoto/sprite.png) 0 -47px no-repeat;cursor:pointer}
div.light_rounded .pp_close{width:20px;height:20px;background:url(../img/prettyphoto/tanca.png) no-repeat;cursor:pointer;}
div.light_rounded .pp_nav .pp_play{background:url(../img/prettyphoto/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
div.light_rounded .pp_nav .pp_pause{background:url(../img/prettyphoto/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
div.light_rounded .pp_arrow_previous{background:url(../img/prettyphoto/sprite.png) 0 -71px no-repeat}
div.light_rounded .pp_arrow_next{background:url(../img/prettyphoto/sprite.png) -22px -71px no-repeat}
div.light_rounded .pp_bottom .pp_left{background:url(../img/prettyphoto/sprite.png) -88px -80px no-repeat}
div.light_rounded .pp_bottom .pp_right{background:url(../img/prettyphoto/sprite.png) -110px -80px no-repeat}

div.pp_pic_holder a:focus{outline:none}
div.pp_overlay{background:#000;display:none;left:0;position:absolute;top:0;width:100%;z-index:9500}
div.pp_pic_holder{display:none;position:absolute;width:100px;z-index:10000}
.pp_content{height:40px;min-width:40px}
* html .pp_content{width:40px}
.pp_content_container{position:relative;text-align:left;width:100%}
.pp_content_container .pp_left{padding-left:20px}
.pp_content_container .pp_right{padding-right:20px}
.pp_content_container .pp_details{float:left;margin:10px 0 2px}
.pp_description{display:none;margin:0 0 5px}
.pp_nav{clear:right;float:left;margin:3px 10px 0 0}
.pp_nav p{float:left;margin:2px 4px}
.pp_nav .pp_play,.pp_nav .pp_pause{float:left;margin-right:4px;text-indent:-10000px}
a.pp_arrow_previous,a.pp_arrow_next{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px}
.pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000}
.pp_gallery{display:none;left:50%;margin-top:-50px;position:absolute;z-index:10000}
.pp_gallery div{float:left;overflow:hidden}
.pp_gallery ul{float:left;height:35px;position:relative;white-space:nowrap;margin:0 0 0 5px;padding:0}
.pp_gallery ul a{border:1px rgba(0,0,0,0.5) solid;display:block;float:left;height:33px;overflow:hidden}
.pp_gallery ul a img{border:0}
.pp_gallery li{display:block;float:left;margin:0 5px 0 0;padding:0}
.pp_gallery li.default a{background:url(../images/prettyPhoto/facebook/default_thumbnail.gif) 0 0 no-repeat;display:block;height:33px;width:50px}
.pp_gallery .pp_arrow_previous,.pp_gallery .pp_arrow_next{margin-top:7px!important}
a.pp_next{background:url(../img/prettyphoto/btnNext.png) 10000px 10000px no-repeat;display:block;float:right;height:100%;text-indent:-10000px;width:49%}
a.pp_previous{background:url(../img/prettyphoto/btnNext.png) 10000px 10000px no-repeat;display:block;float:left;height:100%;text-indent:-10000px;width:49%}
a.pp_expand,a.pp_contract{cursor:pointer;display:none;height:20px;position:absolute;right:30px;text-indent:-10000px;top:10px;width:20px;z-index:20000}
a.pp_close{position:absolute;right:0;top:0;display:block;line-height:22px;text-indent:-10000px}
.pp_loaderIcon{display:block;height:24px;left:50%;position:absolute;top:50%;width:24px;margin:-12px 0 0 -12px}
#pp_full_res{line-height:1!important}
#pp_full_res .pp_inline{text-align:left}
#pp_full_res .pp_inline p{margin:0 0 15px}
div.ppt{color:#fff;display:none;font-size:17px;z-index:9999;margin:0 0 5px 15px}
div.pp_default .pp_content,div.light_rounded .pp_content{background-color:#fff}
div.pp_default #pp_full_res .pp_inline,div.light_rounded .pp_content .ppt,div.light_rounded #pp_full_res .pp_inline,div.light_square .pp_content .ppt,div.light_square #pp_full_res .pp_inline,div.facebook .pp_content .ppt,div.facebook #pp_full_res .pp_inline{color:#000}
div.pp_default .pp_gallery ul li a:hover,div.pp_default .pp_gallery ul li.selected a,.pp_gallery ul a:hover,.pp_gallery li.selected a{border-color:#fff}
div.pp_default .pp_details,div.light_rounded .pp_details,div.dark_rounded .pp_details,div.dark_square .pp_details,div.light_square .pp_details,div.facebook .pp_details{position:relative}
div.light_rounded .pp_top .pp_middle,div.light_rounded .pp_content_container .pp_left,div.light_rounded .pp_content_container .pp_right,div.light_rounded .pp_bottom .pp_middle,div.light_square .pp_left,div.light_square .pp_middle,div.light_square .pp_right,div.light_square .pp_content,div.facebook .pp_content{background:#fff}
div.light_rounded .pp_description,div.light_square .pp_description{margin-right:85px}
div.light_rounded .pp_gallery a.pp_arrow_previous,div.light_rounded .pp_gallery a.pp_arrow_next,div.dark_rounded .pp_gallery a.pp_arrow_previous,div.dark_rounded .pp_gallery a.pp_arrow_next,div.dark_square .pp_gallery a.pp_arrow_previous,div.dark_square .pp_gallery a.pp_arrow_next,div.light_square .pp_gallery a.pp_arrow_previous,div.light_square .pp_gallery a.pp_arrow_next{margin-top:12px!important}
div.light_rounded .pp_arrow_previous.disabled,div.dark_rounded .pp_arrow_previous.disabled,div.dark_square .pp_arrow_previous.disabled,div.light_square .pp_arrow_previous.disabled{background-position:0 -87px;cursor:default}
div.light_rounded .pp_arrow_next.disabled,div.dark_rounded .pp_arrow_next.disabled,div.dark_square .pp_arrow_next.disabled,div.light_square .pp_arrow_next.disabled{background-position:-22px -87px;cursor:default}
div.light_rounded .pp_loaderIcon,div.light_square .pp_loaderIcon{background:url(../img/prettyphoto/loader.gif) center center no-repeat}
div.dark_rounded .pp_top .pp_middle,div.dark_rounded .pp_content,div.dark_rounded .pp_bottom .pp_middle{background:url(../img/prettyphoto/contentPattern.png) top left repeat}
div.dark_rounded .currentTextHolder,div.dark_square .currentTextHolder{color:#c4c4c4}
div.dark_rounded #pp_full_res .pp_inline,div.dark_square #pp_full_res .pp_inline{color:#fff}
.pp_top,.pp_bottom{height:20px;position:relative}
* html .pp_top,* html .pp_bottom{padding:0 20px}
.pp_top .pp_left,.pp_bottom .pp_left{height:20px;left:0;position:absolute;width:20px}
.pp_top .pp_middle,.pp_bottom .pp_middle{height:20px;left:20px;position:absolute;right:20px}
* html .pp_top .pp_middle,* html .pp_bottom .pp_middle{left:0;position:static}
.pp_top .pp_right,.pp_bottom .pp_right{height:20px;left:auto;position:absolute;right:0;top:0;width:20px}
.pp_fade,.pp_gallery li.default a img{display:none}