/* tipografia */

@font-face {
	font-family: cc-icons;
	src: url(/pub/sites/all/fonts/cc-icons.ttf);
}

body {
	font-size: 16px;
	line-height: 1.5;
}

p {
    margin: 0 0 16px;
}

a { color: #3366cc; }

/* reduir l'amplària del contingut */

@media (min-width: 992px) {
    section.col-sm-9 {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (min-width: 1200px) {
    section.col-sm-9 {
        padding-left: 50px;
        padding-right: 50px;
    }
}

/* imatges */

.content img {
	max-width: 100%;
}

.figure {
	margin-top: 1em;
	margin-bottom: 1em;
}

.caption {
	margin: 0;
	font-size: 85%;
	color: #333;
}

.caption a {
	color: #333;
}

/* capçalera de la pàgina */

#navbar a.logo img {
	width: 300px;
}
#navbar .container {
	/* background: url(/pub/sites/cent/files/cent-header-background-light-1140x145.png) no-repeat top right; */
}
#navbar.navbar {
	border-radius: 0;
}
#navbar.container {
	max-width: 100%;
	width: 100%;
	border: 0;
	border-bottom: 1px solid #e3e3e3;
	background-color: #f5f5f5; /* gris clar */
	/* background-color: #0e006e; */ /* blau uji */
	max-width: 100%;
	width: 100%;
}
#navbar>container {
    max-width: 100%;
    width: 100%;
}
#navbar ul.menu { font-size: 90%; text-transform: uppercase; }
.navbar-default .navbar-brand {
	color: #333; /* #f8f8f8 */
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
    color: #999; /* #eee; */
    background-color: transparent;
}
.navbar-default .navbar-text {
    color: #333 /* #f8f8f8; */
}
.navbar-default .navbar-nav>li>a {
    color: #333; /* #f8f8f8; */
}
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
    color: #999; /* #eee; */
    background-color: transparent;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color: #f8f8f8;
    background-color: #2e208e;
}
.navbar-default .navbar-nav>.disabled>a, .navbar-default .navbar-nav>.disabled>a:hover, .navbar-default .navbar-nav>.disabled>a:focus {
    color: #ccc;
    background-color: transparent;
}

h1.page-header {
	font-weight: normal;
}
.submitted {
	display: block;
	margin-bottom: 1em;
	font-style: normal;
	text-transform: uppercase;
	font-size: 90%;
}
.submitted a {
	color: #999;
}
.submitted .username {
	text-transform: uppercase;
}

/* llibres */

.book-navigation {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	padding-top: 0;
	padding-bottom: 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
.book-navigation ul.menu {
	margin-top: 1em;
	margin-bottom: 1em;
	padding-left: 0;
}
.book-navigation ul.menu ul.menu {
	padding-left: 2em;
}
.book-navigation ul.menu ul.menu ul.menu {
	margin-top: 0;
	margin-bottom: 0;
}
.book-navigation .page-links {
	margin-top: 1em;
}

/* paginació */

.pager .previous, .pager .next, .pager .page-up {
	text-transform: uppercase;
	font-size: smaller;
}
.pager .previous {
	text-align: left;
}
.pager .previous a {
	margin-left: 0;
	padding-left: 4px;
}
.pager .next {
    text-align: right;
}
.pager .next a {
    margin-right: 0;
    padding-right: 4px;
}
.pager li > a, .pager li > span {
	border: 0;
	border-radius: 0;
}
.pager .previous > a, .pager .previous > span {
    max-width: 40%;
}
.pager .next > a, .pager .next > span {
        max-width: 40%;
}

.well {
	background-color: #f8f8f8;
	border-radius: 0;
}
.region-sidebar-second {
	font-size: 14px;
}
#block-search-form { padding-bottom: 1em; }
h2.block-title {
	font-size: 24px;
	font-weight: normal;
}

/* tags */

.node-teaser .field-type-taxonomy-term-reference { display:none; }

.field-type-taxonomy-term-reference .field-items {
	margin: 1em 0;
}
.field-type-taxonomy-term-reference .field-items .field-item {
	display: inline;
	margin-right: 1em;
	text-transform: uppercase;
	font-size: 85%;
}
.field-type-taxonomy-term-reference .field-items .field-item a {
	background-color: #3366cc;
	padding: 2px 8px;
	color: #fff;
	text-decoration: none;
}
.region-sidebar-second .block ul {
	padding-left: 20px;
}

/* peu de pàgina */

div.region-footer section {
	float: left;
	width: 50%;
	color: #666;
}
div.region-footer section a {
	color: #666;
}
.social {
  margin: 0;
  padding: 0;
  float: right;
}
.social ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.social ul li {
    margin: 0 0 10px 10px;
    float: left;
}
.social-profile {
    /* position: absolute;
    right: 0;
    top: 3em; */
	float: right;
}
.social-profile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.social-profile ul li {
    margin: 0 0 10px 10px;
    float: left;
}
.social-profile ul li a {
    display: block;
    background: url(/pub/sites/all/themes/bootstrap_cent/images/social-profiles.png) no-repeat right top;
    width: 34px;
    height: 34px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    /* text-indent: -9999px; */
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.social-profile ul li a:active {
    -moz-box-shadow: inset 0 0 6px #000;
    -webkit-box-shadow: inset 0 0 6px #000;
    box-shadow: inset 0 0 6px #000;
}
.social-profile ul li.facebook a {
    background-position: 0 0;
}
.social-profile ul li.facebook a:hover {
    background-position: 0 -44px;
}
.social-profile ul li.twitter a {
    background-position: -44px 0;
}
.social-profile ul li.twitter a:hover {
    background-position: -44px -44px;
}
.social-profile ul li.rss a {
    background-position: -88px 0;
}
.social-profile ul li.rss a:hover {
    background-position: -88px -44px;
}
.social-profile ul li.you-tube a {
    background-position: -132px 0;
}
.social-profile ul li.you-tube a:hover {
    background-position: -132px -44px;
}
.social-profile ul li.linkedin a {
    background-position: -176px 0;
}
.social-profile ul li.linkedin a:hover {
    background-position: -176px -44px;
}
.social-profile ul li.tumblr a {
    background-position: -220px 0;
}
.social-profile ul li.tumblr a:hover {
    background-position: -220px -44px;
}
.social-profile ul li.vimeo a {
    background-position: -264px 0;
}
.social-profile ul li.viemo a:hover {
    background-position: -264px -44px;
}
.social-profile ul li.dribbble a {
    background-position: -308px 0;
}
.social-profile ul li.dribbble a:hover {
    background-position: -308px -44px;
}
.social-profile ul li.my-space a {
    background-position: -352px 0;
}
.social-profile ul li.my-space a:hover {
    background-position: -352px -44px;
}
.social-profile ul li.aim a {
    background-position: -396px 0;
}
.social-profile ul li.aim a:hover {
    background-position: -396px -44px;
}
.social-profile ul li.flickr a {
    background-position: -440px 0;
}
.social-profile ul li.flickr a:hover {
    background-position: -440px -44px;
}
.social-profile ul li.pinterest a {
    background-position: -484px 0;
}
.social-profile ul li.pinterest a:hover {
    background-position: -484px -44px;
}
.social-profile ul li.google-plus a {
    background-position: -528px 0;
}

.social-profile ul li.google-plus a:hover {
    background-position: -528px -44px;
}
.social-profile ul li.wordpress a {
    background-position: -572px 0;
}
.social-profile ul li.wordpress a:hover {
    background-position: -572px -44px;
}
.social-profile ul li.deviantart a {
    background-position: -616px 0;
}
.social-profile ul li.deviantart a:hover {
    background-position: -616px -44px;
}
.license {
	margin: 0;
	padding: 0;
	clear: right;
	float: right;
	text-align: right;
	font-size: smaller;
}
.license p {
	margin: 0;
}
.license h1 {
	margin: 0;
	font-size: 72px;
}
.cc-icons {
    font-family: cc-icons;
}

/* agenda */

.agenda-block .cal_0 { background-color: #006e0e; }
.agenda-block ul.moreinfo .glyphicon { font-size: 150%; }

/* reproductor de vídeo */

/*
div.field-name-flowplayer-draft a#player {
	max-width: 576px !important;
}
*/


/* events */

.field-name-field-date, .field-name-field-address, .field-name-field-geo-gmap {
	margin: 1em 0;
}

.date-display-single {
	display: block;
}

.date-display-single:first-letter {
	text-transform: uppercase;
}

.date-display-range {
	display: inline;
}

.addtocal {
	/* border-radius: 0; */
	color: #fff;
	background-color: #d9534f;
	border-color: #d43f3a;
}

ul.addtocal_menu {
	/* border-radius: 0; */
	background-color: #f8f8f8;
}

/* media print */

@media print {
	ul.nav {
		display: none;
	}
	div.main-container .row section {
		left: 5%;
		width: 90%;
	}
	aside {
		display: none;
	}
}

