
.menu a.submenu {
    color: #000;
    text-decoration: none;
}

@media all and (min-width: 1020px) {
#buttons-menu #show, #buttons-menu #hide, .access, .top-mob-bar,
#buttons-menu #show2, #buttons-menu #hide2{ display:none; }
}

@media all and (max-width: 1020px) {

/* PRESETS */

body { -webkit-text-size-adjust: 100%;}

div > img { /* IMG and IFRAME scaling */
  width: 100%;
  max-width: 100%;
}

iframe { width: 100%; }

iframe,
input[type="text"],
input[type="password"],
textarea {
  max-width: 100%;
}



#hide, #show, #hide2, #show2 {
	display:none;
	background: url("menumw.png") no-repeat scroll center center transparent;
	position:absolute;
	top:15px;
	right:15px;
}

}

@media all and (max-width: 770px) {

	.menum{

	}

	br, .transm {
		display:none;
		content: '';
	}

	br:after {
		content: ''
	}

	br{
		display:block;
	}

/* aux pages */

	.capm-segona, .menum-segona {  
		width:100% !important;
	}

	.capm-segona tr td{
		text-align:center;
	}

	.capm-segona .nom_int br {
		display:block;
	}

	.capm-segona img{
		
	}

	table tr td.linkaelcm, table tr td.notinmobile, table tr td.notinmobile img {
		display:none !important;
		width:0px !important;
		padding:0px !important;
		margin:0px !important;
	}


	#show2, #show, #hide, #hide2, .access {
		background: url("menumw.png") no-repeat scroll center center transparent;
		border: 0 none;
		border-radius: 5px;
		cursor: pointer;
		display: block;
		height: 5px;
		overflow: hidden;
		padding: 17px;
		position: absolute;
		right: 15px;
		top: 7px;
		width: 6px;
		z-index: 99999;
	}

	#hide, #hide2{
		display:none;
	}

	#hide2{
		right: 110px;
		top: 2px;
	}


	#show2, #hide2 {
		background: url("menum_net.png") no-repeat scroll center center transparent;
	}

	.access {
		background: url("icon-login.png") no-repeat scroll 5px -1px transparent;
		height: 20px;
		margin-top: -12px;
		padding: 10px;
		width: 10px;
	}

	.menum-segona{
		position: absolute;
		right: 0px;
		top: 0px;
		display:none;
	}

	.menum-segona tr td .linkmenu{  
		display:block;
		text-align:center;
		font-size:18px;
		line-height:18px;
	}



	table.cosm-segona tr.centermobile td.notinmobile{  
		display:none !important;
	}

	table.cosm-segona {  
		width:100% !important;
		max-width:100% !important;
		display:block !important;
	}

	table.cosm-segona tr.centermobile{
		display:block !important;
		width:100% !important;
		min-width:100% !important;
	}

	table.cosm-segona tr.centermobile td{  
		display:block !important;
		float:left !important;
		width:100% !important;
		min-width:100% !important;
	}

	table.cosm-segona tr.centermobile td.fullm table{  
		display:block !important;
		width:100% !important;
		min-width:100% !important;
	}
	
/*
	table.cosm-segona tr.centermobile{  
		width:100% !important;
		max-width:100% !important;
	}



	table.cosm-segona, table.cosm-segona tr {  
		width:99% !important;
		display:block;
		float:left;
	}

	table.cosm-segona tr td {  
		width:96% !important;
		margin-left: 2% ;
		display:block;
		float:left;
	}

	table..cosm-segona tr td table {
		width:99% !important;
	}

*/

	table.cosm-segona tr td.fons,
	table.cosm-segona tr.notinmobile
	{ 
		display:none !important;
	}

	table.cosm-segona tr.centermobile td.fulltd {
		min-width: 94% !important;
		padding: 2%;
		width: 94% !important;
	}

/* end aux pages */

/* home auto */

	.fotom-home, .menum-home {  
		width:100% !important;
	}

	.fotom-home tr {  
		width:99% !important;
		display:block;
		float:left;
	}

	.fotom-home tr td, .menum-home tr td {  
		width:100% !important;
		display:block;
		float:left;
		text-align:center;
	}

	.fotom-home img {
		width: 100%;
		max-width: 400px;
		margin-top: 90px;
	}

	.fotom-home .nom {

	}

	.fotom-home .nom br {
		display:block;
	}

	.menum-home tr td {  
		height: auto !important;
	}

	.menum-home tr td .linkmenu{  
		display:block;
		text-align:center;
		font-size:18px;
		line-height:18px;
	}

	.menum-home tr td .menu img{  
		display:none;
	}

	.vinclem {
		display:block;
	}

	.titol_bis {
		display: block;
		padding: 25px 0 5px !important;
	}

	.peufoto {
		margin-bottom: 20px;
		margin-top: 5px;
		display:block;
	}

	.peufoto2 {
	  max-width: 162px !important;
	}

/* end home autor*/


	.homem table.fotom-home tr td.fotoautorm{
		
	}

	.nomhomeautor, 	.nomhomeautor td{
		top:0px !important;
		position: absolute;
		min-width: 320px !important;
	}

	.nomhomeautor .nom{
	    background: none repeat scroll 0 0 #000;
		padding:20px !important;
		height: 40px !important;
	}

	.fotom-home .nom, .fotom-home .cognom {
		display: table;
		font-size: 25pt;
		line-height: 30pt;
		min-width: 100% !important;
		width: 100% !important;
		text-align: center;
		margin:0 auto !important
	}

}

@media all and (max-width: 500px) {

	.nom_int, .cognom_int,
	.fotom-home .nom, .fotom-home .cognom	{
		font-size: 20pt;
		line-height: 20pt;
	}

	.cosm-segona tr td img{
	}

	.peufoto {
		margin-bottom: 20px;
		margin-top: 5px;
		display:block;
		width:162px !important;
		max-width: 162px !important;
		  white-space: normal;
	}

	.peufoto2 {
	  width:162px !important;
	  max-width: 162px !important;
	}


}


@media all and (max-width: 400px) {

	.capm-segona tr td {
		text-align: left;
	}

	.nom_int, .cognom_int,
	.fotom-home .nom, .fotom-home .cognom{
		font-size: 15pt;
		line-height: 18pt;
	}



}

