@charset "utf-8";

.centertext {
	text-align: center;
	margin-bottom:5px;
}
.textblau {
	color: blue;
}

.petita10{font-size:10px;}

/* Plugin Styles
--------------------------------------------- */
/* --- Contact Form 7 --- */
#content .wpcf7 {
	padding:20px 0px 20px 0px;
}
#content #page .wpcf7 p {
	padding:0px 0px 10px 0px;
	font-size:13px;
}
input.wpcf7-text {
	height:22px;
}
.wpcf7 textarea {
	font-family:'Droid Sans', arial, sans-serif;
	font-size:14px;
}
input.wpcf7-submit {
	margin:0px;
	padding:6px 8px 6px 8px;
	background:#333333;
	border:none;
	font-family:'Droid Sans', arial, sans-serif;
	font-size:12px;
	color:#fff;
	cursor:pointer;
}
.wpcf7-response-output, .wpcf7-not-valid-tip {
	margin:0px;
	font-family:'Droid Serif',  Times, serif;
	font-size:12px;
	line-height:18px;
	font-style:italic;
}

.tag .wp-pagenavi a, .tag .wp-pagenavi span {
	padding: 1px !important;
}

/* --- jQuery Thickbox --- */
#TB_window img#TB_Image {
	border-bottom:none ! important;
	border-left:none ! important;
	border-right: none ! important;
	border-top: none ! important;
	margin: 15px 0px 0px 15px;
}
#TB_caption {
	height: 30px ! important;
	padding: 7px 15px 15px 15px ! important;
}
#TB_secondLine {
	padding: 4px 0px 0px 0px;
}
#TB_closeWindow {
	height: 30px ! important;
	padding: 11px 15px 10px 0px ! important;
}
#TB_window a {
	color: #333333 ! important;
}

/* --- Sharif social icons --- */
.shariff-button.info {
    display: none;
}


/* logo slider */
#logoslider { width: 230px; height: 120px; margin-top:5px; }
#logoslider div { width: 235px; height: 120px; text-align: left; overflow: hidden }
#logoslider p { padding-bottom:5px; }

#logoslider2 { width: 230px; height: 100px; margin-top:5px; }
#logoslider2 div { width: 235px; height: 100px; text-align: left; overflow: hidden }
#logoslider2 p { padding-bottom:5px; }


#logoslider3 { width: 230px; height: 100px; margin-top:5px; }
#logoslider3 div { width: 235px; height: 100px; text-align: left; overflow: hidden }
#logoslider3 p { padding-bottom:5px; }
#logoslider3 .banner-image {margin-left:0 !important; max-width:150px;}

/* logos portada */
.banner-image {
	margin-left: -7px;
}

/*styles para tabla de convocatorias para jurado*/
.page-template-page-plain-php #content.unic #pagina {
	background-color: transparent;
}

.page-template-page-plain-php .shadow {
	box-shadow: none;
}

li.boxentry.destacat {
	background-color: yellow;
}

table.cf7-db-table tbody td > div {
	max-height: none;
}


/* mods for mobile devices on top of the theme.
* date: 2020 04 14
* by: jorge vitrubio.net
* * * */

.hide{display: none;}

.toogle-sidebar-segona .show-mobile,
.toogle-sidebar-segona .hide-not-mobile{
	display:none;
}

@media screen and (max-width: 768px) {
/* begin of top-head*/
	#top-head{
		min-height: 6rem;
		height:auto;
		margin-bottom:2rem;
		max-width: 100vw;
		min-width: 0;
		width: 100vw;
	}
	#wrap_topheader.amplegrann {
		display: inline-block;
	}

	ul.diversos.alignleft {
		float: none;
	}
	ul.diversos li {
		margin-right: 0;
	}

	.languages.alignleft {
		display: block;
		float: none;
	}

	#cercar {
		float: none;
		margin-right: 0;
		width: 100%;
	}

	.search-input {
		width: calc(100% - 75px);
	}
	/* end of top-head*/
	#sidebar-primary {
		float: none;
	}

	/* begin of menu-hidden */
	.toogle-sidebar-segona .show-mobile{
		display:inherit;
	}
	.toogle,
	.toogled-menu {
		display: none;
	}
	.toogle:checked+.toogled-menu{
		display: block;
		/* margin-top:0;
		position: relative; */
	}
	.toogle-show {
		position: relative;
		display: inline-block;
		width: 1.8em;
		height: 1em;
		margin-right: 0.3em;
		border-top: 0.3em solid #000;
		border-bottom: 0.3em solid #000;
	}
	.toogle-show:before {
		content: "";
		position: absolute;
		top: 0.3em;
		left: 0px;
		width: 100%;
		border-top: 0.3em solid #000;
	}
	.toogle-hide::after{
		content: 'x';
		display: block;
		top: -1rem;
		left: 0rem;
		height: 1.1rem;
		width: 1.1rem;
		font-size: 2rem;
		font-weight: bold;
		background-color: white;
		color: black;
		padding: 0.2rem;
		margin-top: -1.4rem;
	}
	/* end of menu hidden*/

	/*
	* styles to fit elements into mobile
	* * */
	#content {
		width: 80vw;
		float: none;
	}
	#breadcrumb{
		overflow:unset;
		width:90vw;
		margin-top:1rem;
	}
	#breadcrumb ul li {
		font-size:0.7rem;
	}
	#content.unic #pagina, #content.unic .post, #content.resultats #pagina {
		width: 80vw;
		min-height: auto;
	}
	.boxentry {
		width: 100%;
	}
	:not(li).boxentry {
		width: 100%;
		height: auto;
		padding-bottom:4rem;
	}
	.boxpeu{
		width:100%;
		position:relative;
	}
	.page-template-seccions-php #main, .category #main {
		margin-left:auto;
	}
	#footer {
		height: 100%;
		display: inline-block;
	}
}

@media screen and (min-width: 426px) and (max-width: 768px) {
	.boxentry {
     max-width: 14rem;
 }
 :not(li).boxentry {
	 height: 360px;
	 padding-bottom:15px;
 }
}
