@media screen and (max-width: 1250px) {

	#PageContent {
		width: 790px;
		margin-top: -60px;
	}

	.formContent {
		width: 460px;
		height: auto;
		max-height: 280px;
		padding-bottom: 280px;
	}

	#links {
		position: absolute;
		top: 480px;
		width: 790px;
	}

	#links2 {
		position: absolute;
		left: 490px;
		height: 310px;
		padding-bottom:50px;
	}
	#PageContent select, #PageContent input {
		font-size: 0.95em;
	}

}

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

	/* general */
	/*treure botons rodons a Ipod, Ipad*/
	
	*{
		-webkit-text-size-adjust: none;
		-moz-text-size-adjust: none;
		-ms-text-size-adjust: none;
		text-size-adjust: none;
	}
	
	input[type=submit], textarea {
		-webkit-appearance: none;
	}
	#PageContent {
		width: 100%;
	}

	html, body {
		overflow-x: hidden;
		font-size: 20px !important;
		height: auto;
		padding: 0;
		margin: 0;
	}

	label {
		font-size: 20px !important;
	}

	.formContent {
		position: absolute;
		left: 0;
		top: 10px;
		width: 100%;
		height: auto;
		border: none;
		box-shadow: none;
		background: none;
		padding-bottom: 0;
		margin: 0;
	}
	#nota {display:none}
	#simpleForm {
		padding: 0px;
	}
	/* capçalera */
	#logo {
		display: none;
	}

	header #topMenu {
		display: none
	}
	
	div.header #topMenu li:not(:first-child), div.header #topMenu .pageLanguage{
		display: none
	}
	
	div.header #topMenu{
		border: none;
	}
	
	div.header #topMenu{
		position: absolute;
		top: 5px;
		right: 8px;
		padding: 0;
		margin: 0;
	}
	div.header #topMenu ul{
		top: 0px;
		right: 0px;
		padding: 0;
		margin: 0;
	}
	
	div.header #topMenu li:first-child a{
		color: #FFFFFF !important;
	}

	#topID {
		background-color: #5A9AC6;
		border: none;
		text-align: center;
		font-size: 12px;
		color: #FFFFFF;
		padding: 0;
		margin: 0 0 5px 0;
		width: 100%;
		height: 20px;
	}

	

	#downMenu {
		display: none;
	}

	#logo {
		background-image: none;
		width: 100%;
	}

	/* elements mobil*/

	header {
		background-color: #393C39;
	}

	.header {
		background-color: #393C39;
	}

	#mobileHeader {
		display: block;
	}

	#mobileHeader a {
		display: block;
		position: absolute;
		top: 5px;
		right: 8px;
		padding-left: 12px;
		color: #FFFFFF !important;
		background-image: url('user.png.1');
		background-repeat: no-repeat;
		background-position: left center;
	}

	#downMobileMenu {
		display: block;
	}

	#downMobileMenu a {
		display: inline-block;
		white-space: nowrap;
	}

	#mobileTabs {
		display: block;
	}

	/* links nous */

	#links {
		display: none;
	}

	#links2 {
		display: none;
	}

	/* el meu compte - caixa busqueda */
	.tool {
		display: none !important;
	}
	/*el meu compte - botons disponibles (eliminació botons ordenació i historial) */
	a[href*="getpsearches"], a[href*="readinghistory"] {
		display: none
	}
	#hold_form > a:nth-child(7) > img, #checkout_form > a:nth-child(7) > img, #checkout_form > a:nth-child(8) > img {
		display: none
	}
	/* el meu compte - links ajuda */

	.patHelpLinks {
		display: none;
	}

	/* el meu compte - bottom menu */
	.botmenuLinks {
		display: none;
	}

	#botnav {
		display: none;
	}

	/* el meu compte - llistes */
	.patFunc{margin-top:20px;}
	.patFuncArea {
		position: absolute;
		top: 400px;
		left: 5px;
		right: 5px;
		padding: 0 0 0 0 !important;
		margin: 0 0 0 0 !important;
	}
	
	
	/* el meu compte - link a llistes */
	.patMainFuncs {
		top: 330px;
		width: 100%;
		z-index: 100;
		background-color: transparent;
		box-shadow: none;
	}

	.patStatusLinks {
		z-index: 100;
		width: 100%;
		margin-top: 10px;
	}
	.patStatusLinks a {
		text-align: center;
		font-size:0.9em!important;padding:5px!important;
		width: auto!important;
		display: inline!important;
	}
body > table > tbody > tr:nth-child(2) > td:nth-child(1) > div > div.patStatusLinks > a:nth-child(3){display:block!important; margin-top:10px;width:100%;margin-left:25%}

	.patFuncHeaders:nth-of-type(5), .patFuncEntry td:nth-of-type(5) {
		display: none;
	}

	.patFuncHeaders {
		background-color: #5A9AC6;
		font-size: 10px !important;
	}

	.patFuncEntry td, .patFuncEntry a {
		font-size: 10px !important;
	}
	.patFuncMark input[type=checkbox] {
		display: inline !important;
	}
	.loggedInMessage {
		display: none;
	}
	.patNameAddress {
	    position: absolute;
		top: 170px;
		left: 10%;
		width:auto;
		padding:10px 20px 10px 20px;
		background-color: #dddddd !important;
		-webkit-text-size-adjust: none;
		-moz-text-size-adjust: none;
		-ms-text-size-adjust: none;
		text-size-adjust: none;
		font-size: 14px;
		padding: 10px;
		box-shadow:none;
	}
		
	/* selectors */
	body > table:nth-of-type(1) > tbody > tr:nth-of-type(2)> td:nth-of-type(3) {
		display: block;
		position: absolute;
		top: 400px;
		left: 0;
		width: 100%;
	}

	body > table:nth-of-type(1) > tbody > tr:nth-of-type(2)> td:nth-of-type(3) > a:nth-of-type(1) {
		position: absolute;
		top: 0px;
		left: 5%;
	}

	body > table:nth-of-type(1) > tbody > tr:nth-of-type(2)> td:nth-of-type(3) > a:nth-of-type(2) {
		position: absolute;
		top: 0px;
		right: 5%;
	}

	/* resultats cerca*/

	.browseSearchtool, .tool {
		float: left !important;
		margin-left: 0;
		padding-bottom: 2vh;
		color: #ffffff;
		width: 99%;
		height: auto;
		border: 0px !important;
		background-color: #ededed !important;
		background: transparent;
		border-top-left-radius: 0em;
		border-top-right-radius: 0em;
		border-bottom-right-radius: 0em;
		border-bottom-left-radius: 0em;
		box-shadow: 0px 0px 0px 0px #D8D8D8;
	}
.browseSearchtool form, .tool form {margin:-10px;
	max-width: 98%;}
.browseSearchtool select {float:left!important;margin-left:4vw;margin-bottom:0.5vw;font-size:0.9vw}
.browseSearchtool input[type=text] {width:70vw;float:left!important;margin-left:4vw;}
.browseSearchtool input[type=submit] {}
	
	.browseSuperEntry, .browseSearchtoolMessage, .showInlineElem, .pageMainAreaSubHEader, input[type=checkbox]:first-of-type {
		display: none
	}
	.browseScreen {
		width: 100% !important;
		box-shadow: 0px 0px 0px #D8D8D8;
		border-top-right-radius: 1em;
	}
	.browseHeaderMark {
		color: transparent
	}
	.navigationRow {
		display: none;
	}
	.browseSaveJump {
		display: none
	}

	.mylistsSelect select {
		display: none;
	}
	.browseList {
		width: 100% !important;
		border-color: #393C39;
	}

	/*.browseList tr:last-of-type, .browseEntryNum, .browseEntryMark, .browseHeaderMark, .browseHeaderNum , .browseList .browseEntry td:nth-of-type(2):not(.browseEntryData) {
		display: none;
	}*/

	.browseHeaderData {
		background-color: #5A9AC6;
	}

	.browseHeader {
		background-color: #5A9AC6;
	}

	.briefCitRow {
		width: 100% !important;
		border-top-color: #393C39;
	}

	.browseEntry td {
		border-top-color: #393C39;
	}

	a {
		font-weight: bold !important;
		text-decoration: none !important;
		color: #2c383e !important;
		font-size: 12px !important;
	}

	a:hover {
		color: #088A68 !important;
	}

	.briefCitRow > table > tbody > tr td:nth-of-type(1), .briefCitRow > table > tbody > tr td:nth-of-type(4) {
		display: none
	}
	
	.briefCitRow > table > tbody > tr td:nth-of-type(2) img{
		max-width: 100%;
	}

	.briefcitRequest {
		width: auto;
	}

	/*.briefcitRequest a:before {
		content: "Reservar";
	}*/

	/* fitxa llibre */

	body > div:nth-of-type(2), body > div:nth-of-type(3) {
		margin: 0 5px 0 5px !important;
	}
    #centrat{margin:2%}
	#infoTable {
		width: 100%;
	}

	#infoTable > table:nth-of-type(1), #infoTable > div:last-of-type, #infoTable > div:first-of-type:not(#demo) {
		display: none;
	}

	.bibContent {
		display: none !important;
	}

	.bibLeft {
		display: none !important;
	}

	.bibInfoLabel {
		width: 50px !important;
		max-width: 50px !important;
		overflow: hidden;
		font-size: 10px;
	}

	.bibInfoData {
		font-size: 12px;
	}

	#infoTable > table:nth-of-type(2) > tbody > tr:nth-of-type(2) > td:nth-of-type(n + 2) {
		display: none;
	}

	#infoTable > table:nth-of-type(2) > tbody > tr:nth-of-type(n + 3) {
		display: none;
	}

	#syn_summary, #syn_toc {
		display: none;
	}
	.topDiv {
		padding-top: 20px;
		height: 5%
	}
	.topDiv > div > a:nth-of-type(n + 3) , .topDiv > div > select {
		display: none;
	}

	tr.bibItemsHeader > th:nth-of-type(5), tr.bibItemsHeader > th:nth-of-type(6), tr.bibItemsHeader > th:nth-of-type(7) {
		display: none;
	}

	tr.bibItemsEntry > td:nth-of-type(5), tr.bibItemsEntry > td:nth-of-type(6), tr.bibItemsEntry > td:nth-of-type(7) {
		display: none;
	}

	.bibTabOn, .bibTabOff, .conbottom {
		display: none;
	}

	.bibContentWrapper {
		border: none;
		padding: 0 0 0 5px;
		width: 95%;
		margin-left: auto;
		margin-right: auto;
	}

	#reserveBibs tr {
		display: block !important;
		border-bottom: 1px solid #393C39;
	}

	#reserveBibs td {
		border: none;
	}
	#reserveBibs input[type=submit] {
		background: transparent !important;
		border: 0px;
		font-weight: bold;
		color: ffffff;
	}
	#reserveBibs tr:nth-of-type(2) {
		background-color: 5A9AC6
	}
	#reserveBibs .title {
		display: none
	}
	#Syn_spsummary {
		font-size: 0.8em;
		font-style: justify;
		width: 95%;
		margin-left: auto;
		margin-right: auto;
	}
	
	/* reservas */
	
	.folderWrapper{
		width: 100%;
		font-size: 12px;
	}
	
	.folderWrapper select{
		max-width: 90%
	}
	
	#bibLeft, #bibRight{
		display: none !important;
	}
	
	#bibContent{
		width: 100% !important;
	}
	
	

}

@media screen and (max-width: 480px) {
	html, body {
		overflow-x: hidden;
		font-size: 14px !important;
	}
	label {
		font-size: 14px !important;
	}

	#mobileHeader {
		font-size: 22px;
	}

	.mobileTab {
		line-height: 35px;
		min-height: 35px;
	}

}

@media screen and (max-width: 340px) {
	.loggedInMessage {
		top: 90px !important;
	}
}

