/* Structure */
* {
	margin:0;
	padding:0;	
	text-decoration: !important none;
}
body {
	font-family:Arial, Helvetica, sans-serif;
	background-color:#e2f5ff;
}
.secretaria p{
	font-size:.7em;
}
p {
	font-size:.9em;
	line-height:1.5em;
	text-align:justify;
}
h1 {
	font-size: 1.4em;
	font-weight: bold;
	color: #4f177d;
	border-bottom: 3px solid;
}
h2 {
	font-size:1em;
	font-weight:bold;
	color:#4f177d;
	margin:2% 0 2% 0;
	border-bottom: 1px solid;
}
h3 {
	font-size:0.8em;
	font-weight:bold;
	color:#4f177d;

}

.w-10{width: 10%;}

.mb-10{margin-bottom: 10px;}

.mf-10{margin-left: 10px;}

/* imatges */

.fotos img {
	margin:0 15px 13px 0;
	-moz-box-shadow: 2px 2px 5px #888888;
	-webkit-box-shadow: 2px 2px 5px #888888;
	box-shadow: 2px 2px 5px #888888;
}
/* Encapçalat */
#header {
	width:100%;
}
#header a {opacity: 1;}
#header img {
	width:100%;
	height:auto;
}
/* Taules */
table {
	width: 100%;
	font-size: .9em;
	background-color: #eeeeee4d;
	border-radius: 10px;
}
table td {
	padding: 10px 5px;
	vertical-align: top;
	
}
table .tema{
	font-weight: bold;
	background-color: #E5E5E5;
	border-bottom:1px solid #CCC;
}
table td.label {
	font-weight: bold;
	width: 25%;
}
#wrapper {
	overflow:hidden;
	background-color:#fff;
	width:96%;
	max-width:960px;
	margin:15px auto;
	padding:1% 2% 1% 2%;
	border:1px solid #DDDDDD;
	box-shadow:0 0 10px 0 #999999;
}
#content {
	width:60%;
	margin-right:1%;
	float:left;
	background-color:#fff;
	padding:1%;
}
#sidebar {
	width:35%;
	float:right;
	background-color:#e2f5ff;
	padding:1%;
}
#sidebar a{opacity: 1;}
#sidebar a:hover{
	opacity: 0.9;
}
#content h1, #sidebar h1, footer h1 {
	clear:both;
	overflow:hidden;
	margin:0 0 3% 0;
}
#sidebar h1, footer h1 {
	font-size:1.3em;
}
/* Peu de pàgina */
footer {
	clear:both;	
	padding:1%;
	border-top:1px solid #666;
	/*background-color:#666;
	color:#fff;*/
}
footer .secretaria {
	float:left;
	width:50%;	
}
footer .secretaria p {
	text-align:left;
}
footer .logos {
	float:right;
	width:50%;
}
footer .logos img{
	margin-left:50px;
	margin-top:10px;
}

/* Menú */
#menu {
	/*float: right;*/
	/*padding:10px 0 10px 0;*/
	background-color:#34aff5;
}
#menu ul {
	opacity: 1;
	padding:10px 0 8px 0;
	font-weight:bold;
	list-style:none;
}
#menu a li {
	opacity: 1;
	display: inline;
}
#menu a li{
	text-decoration:none;
	color: white;
	opacity: 1;
}
#menu a li:link {
	opacity: 1;
	font-size:.9em;
}
#menu a li:hover {
	opacity: 1;
	color: black;
	transition: 0.3s;
}
#menu a li:visited {
	opacity: 1;
	font-size:.9em;
}
#menu li .especial {
	font-size:.9em;
}
#menu_mobile {
	display:none;
	background-color:rgba(9, 9, 124, 0.65);
	color:#fff;	
	width:auto;
	text-align:right;
	padding:10px 10px 7px 0;
}
/* Menú desplegable */
.menu_expanded {
	display:none;
}
.menu_expanded ul {
	overflow: hidden;
	list-style: none;
	background-color: #5F5FAA;
	1	border-top: 3px solid #0006;
	margin-top: 1px;
}
.menu_expanded ul li {
	float:left;
	margin: 0%;
	padding: 5%;
}
.menu_expanded ul a li{
	color: white;
	font-size: 12px;
	font-weight: bold;
	opacity: 1;
}
.menu_expanded ul a li:hover {
	opacity: 0.6;
	color: black;
	background-color: #ff00001a;
	transition: 0.2s;
	box-shadow: 0px 0px 1px 0px;
}
/* Imatges */

.img-sidebar{
	float: right;
	box-shadow: 0px;
	padding: 5px;
}

.img-sidebar-full{
	width: 100%;
	height: auto;
}

#sidebar .social_mobile img {
	width:68px;
	height:68px;
	margin:0 2% 0 0;
}
/* Banners */
.banner_text {
	background-color:#63bcff;
	color:#000000;
	font-size:.9em;
	font-weight:bold;
	padding:3% 5% 3% 5%;
	margin:1% 0 2% 0;
	opacity: 0.8;
	border-radius: 5px 5px 5px 5px;
}

.banner_text:hover {
	opacity: 1;
	transition: 0.6s;
	color:#ffffff;
}

.banner_text a:link {
	color:#EABA1C;
	text-decoration:none;
}
.banner_text a:hover {
	color:#EABA1C;
	text-decoration:none;
}
.banner_text a:visited {
	color:#EABA1C;
	text-decoration:none;
}


/* Banners */
.banner_text_p {
	background-color:#680000;
	color:#fbf71c;
	font-size:.9em;
	font-weight:bold;
	padding: 2% 3% 2% 3%;
	margin: 0% 0 2% 0;
	width: 26%;
	float: right;
	border-radius: 5px 5px 5px 5px;
}

.banner_text_p:hover {
	background-color:#680000;
	color:#fbf71c;
	text-decoration:underline;
}

.banner_text_p a:link {
	color:#EABA1C;
	text-decoration:none;
}
.banner_text_p a:hover {
	color:#EABA1C;
	
	text-decoration:none;
}
.banner_text_p a:visited {
	color:#EABA1C;
	text-decoration:none;
}
/* Programa */
.prog_hora {
	float:left;    
	text-align:justify;
	width: 18%;
	margin-top:3px;
}
.prog_tema {
	/*float:left;*/
	margin-left:25px;
	width:80%;
	text-align:left;
	padding: 0px 0px 5px 80px;
	padding-bottom: 10px;
}
.color1{background-color: #FFBFFF; padding: 0 5px;}
.color2{background-color: #B8E4A5; padding: 0 5px;}
.color3{background-color: #EBD889; padding: 0 5px;}
.color4{background-color: #FFBFFF; padding: 0 5px;}

.titol_tema{
	width:100%;
	margin-left:auto;
	text-align:left;
	margin-top:3px;	
}
/* Xarxes socials */
.facebook {
	padding:0 0 2% 0;
}
#fb-root {
	display:none;
}
/* To fill the container and nothing else */
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
	width:100% !important;
}
.twitter {
	width:100%;
	padding:0 0 2% 0;
}
.social_mobile {
	display:none;
}

.social_mobile a {
	text-decoration:none;
}
/* Media Queries */
@media screen and (max-width: 980px) {
	#wrapper {
		width:94%;
	}
	#content {
		width:65%;
	}
	#sidebar {
		width:30%;
	}
}
@media screen and (max-width: 700px) {
	#wrapper {
		width:98%;
		border:0;
		box-shadow:none;
		padding:0;
		margin:1%;
	}
	#content, #sidebar {
		width:auto;
		float:none;
		margin-right:0;
	}
	#sidebar {
		border-top:1px solid #666;
	}
	.prog_hora {
		background-color:#EEEEEE;
		float:none;
		width:auto;
	}
	.prog_tema {
		float:none;
		width:auto;
	}
	#menu {
		display:none;
	}
	#menu_mobile {
		display:block;
	}
	.facebook {
		display:none;
	}
	.twitter {
		display:none;
	}
	.social_mobile {
		display:block;
	}
	footer .secretaria {
		float:none;
		width:auto;
	}
	footer .logos {
		float:none;
		width:auto;
	}
}


/**estils adicionals**/

#domenec{
	text-align:center;
}

#domenec img{
	width: 100%;
	height: auto;
}

#map2{
	width: 100%;
	height: auto;
	margin-bottom:25px; 
	margin-top:45px; 
	margin-left:0px; 
	overflow:hidden;
}

.lista_premis{
	
	list-style:none;
}

.lista_premis li{
	margin-left:30px;
	text-align:justify;
	font-size:13px;
}

a{
	text-decoration:none;
	color:#427da9;
	opacity: 0.8;
}
a:hover{
	opacity: 1;
	transition: 0.8s;
	color:#427da9;
}
.dades_allotjament{
	margin-top:-10px;
	font-size:0.8em;
/*color:#565656;
font-weight:bold;*/
}

.separacio{
	height:10px;
}

/**mapa**/

#map2 a{
	color:#4d722c;
	text-decoration:none;
}
#map2 a:hover{
	color:#629138;
	border-bottom:1px solid #629138;
}


#facebook img{
	width:25px;
	height:25px;
}



#programa{
	font-size:.9em;
}

#programa ul li{
	font-size:.9em;
}
#colaboradors{
	float:left;
	width:170px;
	height:103px;
	margin-bottom:20px;
}

.left{
	float: left;
	width: 50%;
}

.right{
	margin-top: 10px;
	float: right;
	font-size: 12px;
	width: 50%;
}

.rig{
	float: right;
	width: 50%;
}


.row{
	margin-bottom: 10px;
}

.right p{line-height: 10px;margin-bottom: 10px}

.patro img{
	width: 40%;
	height: auto;
	max-width: 150px;
	padding-right: 30px;
}

.sub{background-color: rgba(0, 128, 0, 0.24);}

.sub-horari{
	padding-left: 10px;
	background-color: #eee;
	opacity: 0.8;
}

.li-init li{list-style: initial;}

.lloc{
	text-align: center;
	border-top: 1px solid white;
	background-color:rgba(47, 47, 111, 0.3) !important;
}

ul li{ 
	font-size: .9em;
	line-height: 1.5em;
	margin-bottom: .9em;
	text-align: justify;
	margin-left: 30px;
	list-style: none;
}


@media (max-width: 768px) {
	#colaboradors{
		width:100%;
		clear:both;	
		float:none;
	}
	.right{width: 100%;float: left;}
	.rig{width: 100%;float: left;}
	.left{width: 100%;float: left;}
}

@media (max-width: )

li{
	list-style: none;
}

.title_gen{
	font-size: 12px;
	color: black;
	background-color: rgba(0, 0, 255, 0.28);
	padding: 6px;
	font-weight: bold;
}

.day{
	font-size: 1.3em;
	font-weight: bold;
	color: white;
	padding: 6px;
	background-color: rgba(9, 9, 124, 0.65);
	margin: 2% 0 2% 0;
}

.titol_sessio{
	margin-bottom: 10px;
	margin-top: 10px;
	font-size: 14px;
	font-weight: bold;
	border-bottom:2px dotted black;
}

.descans{
	font-size: 11px;
	border-top: 1px dotted blue;
	padding: 5px;
	color: rgba(0, 0, 255, 0.55);
}
.logos{
	width: 100%;
	margin-top: 20px;
}
.data{
	background-color:#f006;
	font-size:14px;
	color: black;
	font-size:.9em;
	font-weight:bold;
	padding:3% 5% 3% 5%;
	margin:1% 0 2% 0;
	opacity: 0.9;
	border-radius: 5px 5px 5px 5px;
	cursor: pointer;
}

.data:hover{opacity: 1;color: !important black;transition: 0.5s;}

/* colors */

.blue{color: #004da1;}
.brown{color: #800023;}
.orange{color: #b37400;}
.grey{color: #464648;}
.black{color: black;}

/* clases custom */

.mod{padding-top: 0px;padding-bottom: 10px;}

.des{border-top: 2px dotted black;border-bottom: 2px dotted black;padding:5px;}

.part{font-size: 14px;font-weight: 600;margin-top: 10px;margin-bottom:10px;border-bottom: 1px solid black;}

/* negreta */

.bold{font-weight: bold;}

.size-18{font-size: 16px;}

/* programa box */

.box_act{margin-bottom: 10px;min-height: 40px;}

.box_hora_act{float: left;margin-right: 10px;}

.box_hora_act li {margin: 0px;padding: 0px;}

.box_title_act{padding-top: 1%;padding-left: 10%;font-weight: 600;}

/* popup */

.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal img{
	width: auto;
}
#myBtn{cursor: pointer;border:none;}
#myBtn h2{border:none;color: black;}
.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 560px;
}
.close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

/* icons */

.pdf-icon{
	font-size: 20px;
	float: right;
	color: #123957;
}
