/* -----------------------------------------
   Shared Styles
----------------------------------------- */
* {
	*behavior:
		url(http://www.asepp.es/media/js/boxsizing.htc);
	/*url(http://www.asepp.antaviana.net/media/js/boxsizing.htc);*/
}

/** {behavior: url(http://10.0.2.2:8888/antaviana/asepp/media/js/boxsizing.htc);}*/
/*clearfix*/
/* For modern browsers */
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}

.clearfix:after {
	clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
	zoom: 1;
}

body {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	color: #525252;
	overflow-x: hidden;
}

/*header.top {
	background: #D4D4D4 url('img/bg-header.jpg') repeat-x;
}*/
/*s*/
#s {
	margin: 45px 0 0;
	padding: 0;
	/*text-align: right;*/
}
.area {
	margin: 47px 0 0;
}
	.area img {float: left; margin-right: 15px;}
	.area a, .area a:link { color: black; text-decoration: none;}
		.area a:hover {text-decoration: underline;}




.lt-ie9 #s {
	float: right;
}

#s input {
	width: 180px;
	display: inline;
	margin: 0 10px 0;
	border: 1px #5353A0 solid;
	border-radius: 4px;
}

#s button {
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	height: 38px;
	width: 38px;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

.lt-ie8 #s button {
	top: -7px;
}

/*nav-bar*/
.principal-nav {
	background: linear-gradient(to right, #5353A0, #CD5264);
	margin-bottom: 3em;
	padding: 1em 0;
}
.main-nav li a {
	padding: 0 12px !important;
}
/*.main-nav {
	margin: -2.5em 0 40px 0;
	background: #333 url('img/bg-main-nav.jpg') repeat-x;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	-khtml-border-radius: 12px;
	border-radius: 12px;
	border: 5px solid #fff;

}*/

.main-nav .inici {
	display: none;
}

/*.lt-ie8 .main-nav {
	margin-top: 1em;
}*/
.nav-bar {
	margin: 0;
	height: auto;
	background: none;
	display: flex;
	flex-wrap: nowrap;
}

.nav-bar li {
	border: none;
	line-height: 1.2;
	-webkit-box-shadow: 0 0 0;
	-moz-box-shadow: 0 0 0;
	box-shadow: 0 0 0;
	flex: 1 1 0;
	width: 0;
	/*text-align: center;*/
}

.nav-bar li:last-child {
	border-right: none;
	-webkit-box-shadow: 0 0 0;
	-moz-box-shadow: 0 0 0;
	box-shadow: 0 0 0;
}

/*.nav-bar>li>a:first-child {
	display: block;
	float: left;
	/*border-right: 2px solid #93C7EC;*
	height: 4em;
	padding: 10px 0;
}*/


/*.nav-bar .aso a {
	width: 14%;
}

.nav-bar .ser a {
	width: 15%;
}

.nav-bar .dir a {
	width: 14%;
}

.nav-bar .not a {
	width: 9%;
}

.nav-bar .act a {
	width: 11%;
}

.nav-bar .docs a {
	width: 14%;
}

.nav-bar .con a {
	width: 12%;
}

.nav-bar .pri a {
	width: 11%;
}

.lt-ie8 .nav-bar .pri a {
	border: none;
}*/

/*.nav-bar li:first-child a {
	-moz-border-radius: 7px 0 0 7px;
	-webkit-border-radius: 7px 0 0 7px;
	-khtml-border-radius: 7px 0 0 7px;
	border-radius: 7px 0 0 7px;
}

.nav-bar li:last-child a {
	-moz-border-radius: 0 7px 7px 0;
	-webkit-border-radius: 0 7px 7px 0;
	-khtml-border-radius: 0 7px 7px 0;
	border-radius: 0 7px 7px 0;
}*/
.nav-bar li:hover,
.nav-bar li.active,
.nav-bar li.active:hover {
	background: none;
}

.nav-bar li a:hover,
.nav-bar .active a,
.nav-bar li.active a {
	/*background: #CD5264;*/
	text-decoration: underline;
	background: none;
	cursor: pointer;
}

/*.nav-bar li:last-child a {
	border: none;
	float: right;
}*/

nav select {
	/* el menú en select és només per a pantalles < 767px */
	display: none;
}

/*side-nav*/
.side-nav {
	padding: 0;
}

#nav-sub .side-nav li {
	display: inline;
	background: none;
	padding: 0;
	margin: 0;
}

#nav-sub .side-nav a {
	display: block;
	padding: .6em 1.5em;
	border-bottom: 1px solid #ccc;
	text-decoration: none;
}

#nav-sub .side-nav .active a:link,
#nav-sub .side-nav .active a:visited,
#nav-sub .side-nav a:hover {
	background: #7272B1;
	color: #fff;
	text-decoration: none;
	font-weight: normal;
}

/*Títols*/
h1 {
	margin: 24px 0 45px;
	padding: 0 !important;
}

h2,
h3,
h4,
h5,
h6 {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	color: #444;
}

h2 {
	color: #2C323F;
	font-size: 34px;
	border-bottom: 2px dotted #999;
	padding-bottom: .25em;
	margin-bottom: 1em;
}

h2.icon-title {
	text-transform: uppercase;
	font-size: 28px;
	color: #2D323F;
	margin: 0 0 27px;
	padding: 20px 0 20px 82px;
	background: 0 50% no-repeat;
}

h2.news {
	background-image: url('img/pict-news.png');
}

h2.icon-title.investigacion {
	background-image: url('img/pict-investigacio.png');
	padding: 20px 0 20px 92px;
}

h2.icon-title.act {
	background-image: url('img/pict-cal.png');
	padding-bottom: 35px;
}

h2.icon-title.docs {
	background-image: url('img/pict-docs.png');
}

h3 {
	font-size: 26px;
}

h3.fitxa {
	font-size: 34px;
	margin-bottom: .5em;
}

h4 {
	font-size: 17px;
	background: url('img/kland_titol.gif') 0 50% no-repeat;
	padding-left: 15px;
}

h5 {
	font-size: 16px;
}

/*estils text*/
/*links*/
a:link {
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

/*paràgrafs*/
p.data {
	font-size: 12px !important;
	margin-bottom: .5em;
}

p.mostrant,
p.back {
	border-bottom: 2px dotted #999;
	padding-bottom: .25em;
}

p.back a {
	text-decoration: none;
}

p.back a:hover {
	text-decoration: underline;
}

.back.right {
	margin-top: -4.5em;
	font-size: 13px;
	text-decoration: none;
}

.back.right:hover {
	text-decoration: underline;
}

/*foto+peu*/
img.foto {
	margin-bottom: .5em;
}

p.peu {
	font-size: 13px
}

/*rss*/
.rss:link {
	background: url('img/icon-rss.png') 100% 50% no-repeat;
	padding: 2px 22px 2px 0;
	font-size: 13px;
	text-decoration: none;
	margin-top: -5em;
}

.rss:hover {
	text-decoration: underline;
}

/*destacats*/
.dest {
	background: #97CDF3 url('img/quotes-left.png') 25px 50% no-repeat;
	margin-bottom: 22px;
	padding: 1.5em 25px 1.5em 92px;
}

.dest p {
	margin-bottom: 0;
	padding-right: 67px;
	background: #97CDF3 url('img/quotes-right.png') 100% 50% no-repeat;
	font-size: 20px;
	font-style: italic;
	text-align: center;
	line-height: 1.3;
}

.dest.left,
.dest.right,
aside .dest {
	width: 30%;
	padding: 64px 1em 15px;
	background: #97CDF3 url('img/quotes-top.png') 50% 15px no-repeat;
}

aside .dest {
	width: auto;
}

.dest.left {
	margin-right: 1.5em;
}

.dest.right {
	margin-left: 1.5em;
}

.dest.left p,
.dest.right p,
aside .dest p {
	padding: 0 0 49px;
	background: #97CDF3 url('img/quotes-bottom.png') 50% 100% no-repeat;
}

/*llistes*/
#content ul {
	list-style: none;
}

/*simple*/
#content ul>li {
	background: url('img/kland1.png') 0 .35em no-repeat;
	padding-left: 17px;
	margin-bottom: .5em;
}

#content ul>li ul {
	margin: .5em 0 0 0;
}

#content ul>li ul>li {
	background: url('img/kland2.png') 0 .5em no-repeat;
	padding-left: 14px;
	margin-bottom: .5em;
}

#content ul>li ul ul {
	margin: .5em 0 0 0;
}

#content ul>li ul ul>li {
	background: url('img/kland3.png') 0 .7em no-repeat;
	padding-left: 9px;
	font-size: 13px;
}

/*dues columnes*/
.two-col {
	overflow: auto;
}

.two-col li {
	width: 45%;
	float: left;
	margin-right: 5%;
}

/*fons*/
#content .fons li {
	background-color: #F5F5F1;
	background-position: 12px .75em;
	padding: .4em 1em .4em 28px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
}

/*fons i títol*/
.panel h4 {
	font-size: 16px;
	color: #fff;
	background: #6E6EA9;
	padding: 1em;
	margin: 0;
}

.panel ul,
ul.panel {
	padding: 1em;
	margin-bottom: 0;
}

ul.panel {
	margin-bottom: 17px;
}

.panel ul li,
ul.panel li {
	border-bottom: 1px solid #CECEBF;
	padding-bottom: .5em;
}

.panel ul li li,
ul.panel li li {
	border-bottom: none;
	padding-bottom: .5em;
}

aside .panel ul li {
	font-size: 14px;
	border-bottom: 2px dotted #fff;
}

#content .panel ul li:last-child {
	margin-bottom: 0;
	border: none;
	padding-bottom: 0;
}

/*stripped*/
#content .stripped li {
	padding: 12px 14px 12px 40px;
	margin-bottom: 0;
}

.lt-ie8 #content .stripped li {
	border-bottom: 1px solid #ccc;
}

#content .stripped li:nth-of-type(odd) {
	background-color: #F4F5F5;
}

#content .stripped li a:link {
	text-decoration: none;
}

#content .stripped li a:hover {
	text-decoration: underline;
}

/*table	*/
.basic {
	width: 100%;
	background: none;
	border-collapse: separate;
	border-spacing: 6px;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	border: none;
}

.basic thead {
	background: #6E6EA9;
}

.basic tbody tr,
.basic tbody tr:nth-child(even) {
	background: #F0F0EC;
}

.basic thead tr th {
	color: #fff;
}

/*panel*/
.panel {
	background: #F5F5F1;
	border: none;
}

/*pagination*/
.pagination {
	border-top: 2px dotted #999;
	padding: 1em 0 1.5em;
}

#content ul.pagination>li {
	background: none;
	padding-left: 0;
	margin-bottom: 0;
	font-size: 14px;
}

#content ul.pagination>li a {
	border-bottom: none;
	background: #fff;
	color: #555;
	text-decoration: none;
}

ul.pagination li.unavailable a {
	cursor: pointer;
}

#content ul.pagination li.arrow a {
	background: none !important;
}

#content ul.pagination li.arrow a:hover {
	background: none !important;
	color: inherit !important;
}

#content ul.pagination>li.current a,
#content ul.pagination>li a:hover {
	background: #6c6ca6;
	color: #fff;
}

/*dl*/
.dl {
	background: #97CDF3;
}

.dl a {
	color: #000;
}

.panel-llistat {
	padding: 0;
}

/*pict*/
.pict {
	margin-bottom: 22px;
	padding: 10px;
	background: #fff;
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, .5);
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .5);
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.pict.left {
	margin-right: 1.5em;
}

.pict.right {
	margin-left: 1.5em;
}

/*icons*/
.icon,
#main .rel .icon {
	padding-left: 30px;
	background-repeat: no-repeat;
	font-size: 13px;
	color: #777;
}

#main .rel .icon {
	background-position: 7px 5px;
	padding-left: 35px;
}

.pdf {
	background-image: url('img/icon-pdf.png') !important;
}
.pdf.half {
	background-position: 15px 50%;
	padding-left: 50px;
}

.link {
	background-image: url('img/icon-link.png') !important;
}

.ppt {
	background-image: url('img/icon-ppt.png') !important;
}

.zip {
	background-image: url('img/icon-zip.png') !important;
}

.doc {
	background-image: url('img/icon-doc.png') !important;
}

.rtf {
	background-image: url('img/icon-rtf.png') !important;
}

/*enllaços relacionats*/
.rel h4 {
	padding: 1em 0 1em 45px;
	background: #6E6EA9 url('img/clip.png') 11px 50% no-repeat;
}

#main .panel.rel li {
	border: none;
	background-color: #fff !important;
	padding: .5em 0 .5em 37px;
	line-height: 2;
	background-position: 11px 50%;
}

#main .panel.rel li:last-child {
	padding-bottom: .5em;
}

/*top*/
#main .top {
	border-top: 1px solid #ccc;
	padding-top: 1em;
}

#main .top a {
	background: url('img/kland-top.png') 50% 0 no-repeat;
	padding-top: 17px;
	font-size: 13px;
	display: inline-block;
	margin: 0 0 2em;
	text-decoration: none;
	color: #525252;
}

#main .top a:hover {
	text-decoration: underline;
}

/*buttons*/
.button:link {
	border: none !important;
	color: #fff !important;
	margin-bottom: 22px;
	background: #333;
	text-decoration: none;
}

.button:hover {
	background: #444;
}

/*botó tornar*/
.button.back {
	margin-top: -5.5em;
}

/*footer*/
footer {
	color: #fff;
	background: #5353A0;
	/*padding: 30px 0 70px;*/
}

footer .vcard,
footer .dades,
footer .bg-blanc {
	padding: 2rem 15px;
}

footer .vcard h2 {font-size: 20px;}
footer .dades li {
	float: left;
	margin-right: 10px;
}

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

	footer .vcard,
	footer .dades,
	footer .bg-blanc {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}
}

@media screen and (min-width: 768px) {
	footer>.row {
		display: flex;
	}
}

footer .bg-gradient {
	background: linear-gradient(to right, #5353A0, #CD5264);
}

@media screen and (min-width: 768px) {
	footer .bg-gradient {
		display: flex;
	}
}

footer .forma {
	background: none;
}

@media screen and (min-width: 905px) {
	footer .forma {
		background: url('img/forma-footer.png') no-repeat;
		width: 250px;
		height: 100%;
	}
}

footer .bg-blanc {
	background: white;
	position: relative;
}

footer .bg-blanc::after {
	content: '';
	display: block;
	position: absolute;
	right: -500%;
	top: 0;
	background: #fff;
	width: 500%;
	height: 100%;
}

.icon-social {
	margin-right: 15px;
}

footer .vcard,
footer .dades {
	display: flex;
	flex-direction: column;
}

footer .vcard {
	width: 40%;
}

.vcard p,
.dades p:last-child {
	margin-top: auto;
}

.vcard h2 {
	color: #fff;
	font-size: 14px;
	padding: 0;
	border: none;
	margin-bottom: 1em;
	margin-top: .3em;
}

.vcard p {
	font-size: 13px;
	line-height: 1.5;
}

footer a:link,
footer a:visited {
	color: #fff !important;
	text-decoration: none;
}

footer .bg-blanc a:link,
footer .bg-blanc a:visited {
	color: #5353A0 !important;
}

footer a:hover {
	text-decoration: underline;
}

footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}



.colaboradors span {
	display: block;
	margin-bottom: 2em;
}

/*home*/
#slider {
	background: #000 url('img/loading.gif') center center no-repeat;
	height: 400px;
	margin-bottom: 35px;
}

.lt-ie8 #slider {
	display: none;
}

#slider img {
	display: none;
}

#slider.orbit {
	background: none;
}

#slider.orbit img {
	display: block;
	width: 100%;
}

.orbit-wrapper .orbit-caption {
	background: none;
	text-align: left;
	position: absolute;
	left: 32px;
	top: 105px;
	width: 40%;
}

.lt-ie8 {
	margin-bottom: 35px;
}

.lt-ie9 .orbit-caption {
	height: auto;
	padding: .5em 2em;
}

.orbit-wrapper .orbit-caption h2 {
	color: #fff;
	padding: 0;
	border: none;
	font-size: 37px;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, .5);
}

.timer {
	display: none !important;
}

.orbit-wrapper .slider-nav span.right,
.orbit-wrapper .slider-nav span.left {

	width: 28px;
	height: 28px;
}

.orbit-wrapper .slider-nav span.right {
	background: url('/media/comu/fletxa-next.png') no-repeat;
	right: 20px;
}

.orbit-wrapper .slider-nav span.left {
	background: url('/media/comu/fletxa-back.png') no-repeat;
	left: 20px;
}


#news,
#docs {
	background: #e9e9e9;
	/* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background:
		url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U5ZTllOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNmY2ZjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, #e9e9e9 0%, #f6f6f6 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e9e9e9),
			color-stop(100%, #f6f6f6));
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #e9e9e9 0%, #f6f6f6 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #e9e9e9 0%, #f6f6f6 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, #e9e9e9 0%, #f6f6f6 100%);
	/* IE10+ */
	background: linear-gradient(to bottom, #e9e9e9 0%, #f6f6f6 100%);
	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9',
			endColorstr='#f6f6f6', GradientType=0);
	/* IE6-8 */
	border-bottom: 1px solid #ccc;
}

.home #news,
.home #act {
	background: white;
	text-align: center;
	border-bottom: 0;
}

.home #news h2.news,
.home #act h2.act {
	border: 0;
	text-align: center;
	border-bottom: 0;
	text-transform: uppercase;
	color: black;
	background: none;
}

.home #news p.data,
.home #act p.data {
	color: black;
}

.home #news h3 a {
	color: #5353A0;
}

.home #news img,
.home #news object,
.home #news embed {
	clip-path: path('M185.481044,202.098841 C287.449686,179.126038 325.65659,145.323143 287.494804,64.8369286 C249.333018,-15.6492859 182.974363,-12.048542 109.598388,26.1849587 C36.2224135,64.4184594 -16.1650857,143.028151 4.57158827,190.435112 C25.3082622,237.842073 83.5124023,225.071645 185.481044,202.098841 Z');
	max-width: none;
	height: 250px;
}

@media screen and (min-width: 768px) and (max-width: 1018px){
	.home #news img {
		clip-path: none;
		height: auto;
		margin-bottom: 20px;
	}
}

.home #act h3 a {
	color: black;
	font-style: italic;
}

.home #act h3 {
	margin-top: 15px;
}

.home #act .card {
	border: 2px #CD5264 solid;
	padding: 40px 35px 35px 35px;
	position: relative;
	height: 100%;
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
}

.home #act .card span {
	background: url('img/ico-actividades.png') no-repeat;
	width: 40px;
	height: 30px;
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
}

.home .mt {
	margin-top: 40px;
}

.home #act .button {
	background: #CD5264;
}

.home #act .button:hover {
	background: #444;
}

.home #act .descr {
	margin-bottom: 0;
	margin-top: auto;
	text-transform: uppercase;
	color: black;
}

.home #docs {
	background: #5353A0;
	text-align: center;
}

.home #docs h2.docs {
	color: white;
	text-transform: uppercase;
	border: 0;
}

.home #docs .card {
	border: 2px white solid;
	padding: 40px 35px 35px 35px;
	position: relative;
	height: 100%;
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
}

.home #docs .card .descr {
	margin-bottom: 0;
	margin-top: auto;
}

.home #docs p,
.home #docs h3,
.home #docs h3 a {
	color: white;
}

.home #docs .card span {
	background: url('img/ico-documentos.png') no-repeat;
	width: 40px;
	height: 31px;
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
}

.home #docs .button,
.home #docs .button:active,
.home #docs .button:focus {
	background: white;
	color: #5353A0 !important;
}

.home #docs .button:hover {
	background: #444;
	color: white !important;
}

/*.actualidad h2.gen {
	text-transform: uppercase;
	font-size: 24px;
}*/





#docs {
	border: none;
}

.home section {
	padding: 20px 0 25px;
}

.home section h3 {
	margin: 0 0 .75em 0;
	font-size: 19px;
	line-height: 1.2;
}

.home section a {
	text-decoration: none;
}

.home section a:hover {
	text-decoration: underline;
}

.home section p {
	font-size: 14px;
	line-height: 1.2;
}

.home section img.doc {
	margin-right: 16px;
}

.home .icon {
	padding: 2px 0 2px 25px;
	display: inline-block;
	color: #525252;
}

/* revistes */
.revistes {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
	#content .revistes li {
		background: none;
		margin: 0;
        padding: 20px 0;
		width: calc(50% - 15px);
		flex-grow: 0;
        /*flex: calc(50% - 42px);*/
	}
	.revistes li {
		/*float: left;
		width: 50%;*/
		border-top: 2px #7373B1 solid;
		padding: 20px 0;
		flex-grow: 2;
		color: black;
	}
		.revistes li img {float: left;margin-right: 20px;}
		.revistes h3 a {
			text-decoration: none;
			color: #5353A0;
			font-style: italic;
		}


/* caixes flexbox */
@media screen and (min-width: 768px) {
	.row.flex {
		display: flex;
	}
}

/*calendari*/
.cal {
	position: relative;
}

.cal caption {
	font-size: 19px;
	line-height: 1.5;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}

.cal .fletxa {
	position: absolute;
	top: 0;
}

.cal .previous {
	left: 5px;
}

.cal .next {
	right: 5px;
}

.cal thead tr th,
.cal tfoot tr th,
.cal tbody tr td,
.cal tr td,
.cal tfoot tr td {
	font-size: 13px;
	text-align: center;
}

.cal thead {
	background: none;
}

.cal tbody tr,
.cal tbody tr:nth-child(even) {
	background: #e9e9e9;
}

.cal thead tr th {
	font-weight: normal;
	color: #666;
}

.cal abbr {
	border: none;
	text-transform: lowercase;
	color: #666;
}

.cal thead tr th {
	padding-top: 5px;
	padding-bottom: 0;
}

.cal .notInMonth {
	background: #fff !important;
}

.cal .eventDay {
	background: #6E6EA9 !important;
}

.cal .eventDay a:link {
	color: #fff;
}

.cal .eventDay a:visited {
	color: #fff;
}

/*directori*/
#dir {
	background: #E9EAEB;
	padding: 2em;
}

label {
	color: #525252;
	margin-bottom: 1em;
}

#dir .button {
	margin-top: 2.7em;
}

.lt-ie8 #dir .button {
	margin-top: 2em;
}

#dir div ul li {
	background: none !important;
	padding: 0 7px 0 0 !important;
	float: left;
}

#content .dir li {
	background: url('img/icon-dir.png') 14px 50% no-repeat;
}

#dir form select {
	padding: .5em;
	border: 1px #CCCCCC solid;
}

.fitxa-directori h3 {
	padding-left: 30px;
	font-size: 21px;
	background: url('img/icon-dir-nom.gif') 0 3px no-repeat;
}

.fitxa-directori p {
	padding-left: 30px;
	background: 0 3px no-repeat;
}

.fitxa-directori .adr {
	background-image: url('img/icon-dir-adr.gif');
}

.fitxa-directori .hor {
	background-image: url('img/icon-dir-hor.gif');
}

.fitxa-directori .tel {
	background-image: url('img/icon-dir-tel.gif');
}

.fitxa-directori .cita {
	background-image: url('img/icon-dir-cita.gif');
}

/*docs*/
#content .docs li {
	background: url('img/icon-doc.gif') 14px 50% no-repeat;
}

/*notícies*/
#content ul .item {
	background: none;
	padding: 0 0 1em;
	border-bottom: 1px solid #ccc;
	margin-bottom: 1em;
}

#content ul .item:last-child {
	padding: 0;
	border-bottom: none;
	margin-bottom: 0;
}

.item h3 {
	margin-top: 0;
	font-size: 26px;
}

.item h3 a:link {
	text-decoration: none;
}

.item h3 a:hover {
	text-decoration: underline;
}

/*contacto*/
#contact input,
#contact textarea {
	margin-bottom: 2em;
}

.mssg {
	padding-top: 230px;
	background: 50% 0 no-repeat;
}

.ok {
	background-image: url('img/mssg-ok.jpg');
}

.ko {
	background-image: url('img/mssg-error.jpg');
}

@media only screen and (max-width: 767px) {
	nav ul {
		display: none;
	}

	nav select {
		display: inline-block;
	}

	nav .main-nav {
		background: none;
	}

	form#s {
		/* display: none;*/
		margin-top: 0;
		margin-bottom: 20px;
	}
		form#s input {margin-left: 0;}
		form#s button {float: left; margin-right: 10px;}
	p.area {
		margin-top: 0;
		margin-bottom: 30px;
	}
	.nav-bar {
		display: none;
	}
	header h1 {
		margin-bottom: 20px;
	}
}

@media only screen and (min-width : 1000px) {
	#cookies p.text {
		padding-left: 45px;
	}
}

#cursos {
	margin-left: 30px;
	width: 95%;
}

#cursos h3 {
	font-size: 5em;
	font-weight: normal;
	text-transform: uppercase;
}

#cursos h4 {
	color: #cd5264;
	font-weight: lighter;
	font-size: 1.8em;
	background: none;
	padding: 0;
}

#cursos div.primer,
#cursos div.six,
#cursos div.twelve {
	padding-left: 0 !important;
}

#cursos span.tag {
	background-color: #eaeaea;
	color: #898989;
	padding: 10px;
	margin-bottom: 10px;
	display: inline-block;
	font-weight: bold;
}

#cursos span.event_actiu {
	background-color: #eaeaea;
	border-radius: 5px;
	color: #cd5264;
	padding: 10px;
	margin-bottom: 10px;
	display: inline-block;
	font-weight: bold;
}

#cursos span.event {
	color: #6e6fa8;
	padding: 0 0 10px;
	display: inline-block;
	font-size: 0.8em;
}

#cursos .curs {
	border-right: 1px solid #ccc;
	min-height: 220px;
	padding-left: 20px;
}

#cursos .videoBox {
	padding-top: 10px;
}

#cursos .lema {
	margin-top: 40px;
	text-align: center;
}

#cursos .lema .lema_destacat {
	font-size: 1.6em;
	font-weight: 600;
}

#cursos .lema .remarcar {
	color: #01b230;
	font-size: 1.3em;
	font-weight: 900;
}

#inline-video div.flex-video {
	min-width: 275px;
}

@media only screen and (min-width : 600px) {
	#inline-video div.flex-video {
		min-width: 450px;
	}
}

@media only screen and (min-width : 1000px) {
	#inline-video div.flex-video {
		min-width: 800px;
	}
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
	table.cal {
		border-spacing: 3px;
	}

	table.cal thead th {
		padding-left: 0;
		padding-right: 0;
	}

	table.cal tbody td {
		padding-left: 7px;
		padding-right: 7px;
	}
}

/* slider frases portada - slick */

  .home .slider {
	 padding: 140px 0 100px 0;
  }

  .bg-gradient-100 {
	background: linear-gradient(to right, #5353A0, #CD5264);
	padding-bottom: 30px;
  }
  .home .slider p {
	  padding-right: 300px;
	  color: white;
	  font-size: 30px;
	  font-weight: 700;
	  line-height: 1.2;
	  opacity: .75;
  }
  .home .slider a {
	  color: white;
	  font-size: 30px;
	  font-weight: 700;
	  line-height: 1.2;
  }
	.home .slider a:hover {
		text-decoration: none;
		color: rgb(231, 216, 216);
	}
	.home .slick-prev,
	.home .slick-next {display: none!important;}
	.home .slick-dots li.slick-active button:before,
	.home .slick-dots li button:before {color: white;font-size: 10px;}
  .oval {
	background: url('img/oval.png') no-repeat;
	background-position: center;
	min-height: 400px;
  }

  .slick-slide {
	margin: 0px 20px;
  }

  .slick-slide img {
	width: 100%;
  }

  .slick-prev:before,
  .slick-next:before {
	color: black;
  }


  .slick-slide {
	transition: all ease-in-out .3s;
	opacity: .2;
  }

  .slick-active {
	opacity: .5;
  }

  .slick-current {
	opacity: 1;
  }