
/* WIDTH */


@media only screen and (max-width: 1378px) {
	#flexicontent .rt-block.contactos td { padding: 30px 4% 10px 4%; }
	#flexicontent .rt-block.contactos td.horario,
	#flexicontent .rt-block.contactos td.morada { width: 50%; box-sizing: border-box; }
}

@media only screen and (max-width: 1320px) {
	body.pgcontactos .field_load_module_pos_bottom,
	body.pgcontactos .field_title, body.pgcontactos .field_load_module_pos_top { width: 50%; }
	body.pgcontactos .field_load_module_pos_right { width: 50%; }
}

@media only screen and (max-width: 1299px) {
	#flexicontent .catsgaleria .mod_flexicontent_standard_wrapper .btnct { 	font-size: 140%; }
}

@media only screen and (max-width: 1199px) {
	#flexicontent .catsgaleria .mod_flexicontent_standard_wrapper .btnct { 	font-size: 125%; }
	body.pgsobrenos #flexicontent .field_featured_text .flexivalue:before { font-size: 157px; top: 60px; left: -30px; }
	body.pgsobrenos #flexicontent .field_featured_text { font-size: 155%; line-height: 110%; } 
}

@media only screen and (max-width: 1036px) {
	body.pgcontactos .field_title,
	body.pgcontactos .field_load_module_pos_top { width: 100%; padding-bottom: 0; }

	body.pgcontactos .field_load_module_pos_right { height: 50%; width: 100%; }
	#flexicontent .rt-block.contactos td.horario .fcfile_actions { }
	#flexicontent .rt-block.contactos td.horario .fcfile_actions:last-child {  }



body.pgsobrenos #flexicontent .field_featured_text { line-height: 110%; font-size: 155%; }}

@media only screen and (max-width: 1024px) and (min-width: 960px) {
	body.pgsobrenos #flexicontent .field_featured_text { line-height: 116%; font-size: 154%; }
}

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

	#flexicontent .catsgaleria .mod_flexicontent_standard_wrapper .btnct { font-size: 117%; }
	/* MENU */
	.mainmenu .sidepanel { width: 60px; right: -60px; }
	.mainmenu .logo-small { background-size: 75%; }
	.mainmenu .openbtn { background-position: -38px center; }
	.mainmenu .closebtn { background-position: 16px center; }
	
	#flexicontent { margin-left: 60px; }
	.fotoshome .imagesct { width: calc(100% - 60px);}

	body.pgsobrenos #flexicontent .field_featured_text { font-size: 155%; line-height: 110%; }

	body.pgsobrenos #flexicontent .field_featured_text .flexivalue { padding-top: 5px; }

	body.pgnovidades #flexicontent .field_text .descp, #flexicontent.fctype7 .field_text .descp, body.pggaleria #flexicontent .field_text .descp, body.pgshowroom #flexicontent .field_text .descp, body.pgsobrenos #flexicontent .field_text .descp { font-size: 130%; }

	body.pgcontactos .component-content { overflow: auto; }
	body.pgcontactos .field_load_module_pos_bottom { width: 100%; }
}

@media only screen and (max-width: 1000px) {
	body.pgcontactos .field_load_module_pos_top table tbody { display: table !important; float: none; width: 100%; }
	#flexicontent .rt-block.contactos tr { width: 100%; display: table-row; float: none; }
	#flexicontent .rt-block.contactos td { }
	body.pgcontactos .field_load_module_pos_bottom { height: auto !important; }
	body.pgcontactos .field_load_module_pos_right { height: 400px !important; }
}

@media only screen and (max-width: 959px) {
	
	body.pgsobrenos #flexicontent .field_featured_text .flexivalue {padding: 20px 8% 40px 8%;  }
	body.pgcontactos .field_load_module_pos_right { }
	body.pgcontactos .field_load_module_pos_bottom { width: 100%; height: auto; }
	body.font-size-is-default { font-size: 13.5px; }
	body.pgnovidades #flexicontent .field_load_module_pos_top,
	body.pgnovidades #flexicontent .field_load_module_pos_bottom,
	body.pgnovidades #flexicontent .field_text,
	#flexicontent.fctype7 .field_load_module_pos_top,
	#flexicontent.fctype7 .field_load_module_pos_bottom,
	#flexicontent.fctype7 .field_text,
	body.pgshowroom #flexicontent .field_load_module_pos_bottom,
	body.pggaleria .field_load_module_pos_top,
	body.pggaleria #flexicontent .field_text,
	body.pggaleria #flexicontent .field_load_module_pos_bottom,
	body.pgshowroom #flexicontent .field_text,
	body.pgshowroom #flexicontent .field_load_module_pos_top,
	body.pgsobrenos #flexicontent .field_load_module_pos_top,
	body.pgsobrenos #flexicontent .field_featured_text,
	body.pgsobrenos #flexicontent .field_text,
	body.pgsobrenos #flexicontent .field_about_big_photo,
	body.pgsobrenos #flexicontent .field_about_small_photos { width: 100%; float: none; clear: both; }

	body.pgsobrenos #flexicontent .field_about_big_photo .extratext { width: auto; max-width: 457px; }


	body.pgsobrenos #flexicontent .field_featured_text { height: auto; min-height: 0; }
	
	body.pgnovidades #flexicontent .field_text,
	#flexicontent.fctype7 .field_text,
	body.pggaleria #flexicontent .field_text,
	body.pgshowroom #flexicontent .field_text,
	body.pgsobrenos #flexicontent .field_text { height: 360px; }
	
	body.pgsobrenos #flexicontent .field_about_big_photo { overflow: hidden; height: 540px; }
	body.pgsobrenos #flexicontent .field_load_module_pos_top { height: 90px; }
	body.pgsobrenos #flexicontent .field_about_small_photos { height: 305px; }

	body.pgshowroom #flexicontent .field_load_module_pos_bottom { margin: 40px 0 0 0; }
	
	body.pgnovidades #flexicontent .field_load_module_pos_bottom,
	#flexicontent.fctype7 .field_load_module_pos_bottom,
	body.pggaleria #flexicontent .field_load_module_pos_bottom,
	body.pgshowroom #flexicontent .field_load_module_pos_top { overflow: hidden; max-height: 760px; }

	body.pgnovidades #flexicontent .field_load_module_pos_top,
	#flexicontent.fctype7 .field_load_module_pos_top { }

	#ajaxoutput .innerct { padding: 30px 5% 40px 5%; box-sizing: border-box; }
	.component-content { overflow: auto; }

	body.pgcatalogos #flexicontent .field_load_module_pos_bottom,
	body.pgcatalogos #flexicontent .field_title,
	body.pgcatalogos #flexicontent .field_load_module_pos_top { width: 50%; }

	.catgaleria #ajaxoutput .innerct { min-height: 200px; }
	
	body.pgnovidades #flexicontent .field_load_module_pos_top,
	#flexicontent.fctype7 .field_load_module_pos_top,
	body.pgshowroom #flexicontent .field_load_module_pos_top { height: auto; }
	
	#ajaxoutput .fc_bloglist_item .lineinfo {position: absolute;top: 0;left: 0;width: 100%;height: 100%; }

}

@media only screen and (max-width: 767px) {
	.rt-block.mainmenu { width: 220px; margin-left: -220px; }
	.mainmenu ul li a { font-size: 144%; }
	.mod-languageslangs ul li a { font-size: 100%; }
	.catalogos .mod_flexicontent_standard_wrapper { font-size: 92%; }
	.catalogos .mod_flexicontent_standard_wrapper .ctfields .field_catalogos .fcfile_actions { background-position: 0 4px; }
}	

@media only screen and (max-width: 568px) {
	body.pgcatalogos #flexicontent .field_load_module_pos_bottom { padding-bottom: 0; }
	body.pgcatalogos #flexicontent .field_load_module_pos_bottom, body.pgcatalogos #flexicontent .field_title, body.pgcatalogos #flexicontent .field_load_module_pos_top { width: 100%; }
	body.pgcatalogos #flexicontent .field_load_module_pos_top { display: none; }
}

@media only screen and (max-width: 544px) {
	
	.slideshow .imgdata .imgtitle { font-size: 150%; }
	body.pgsobrenos #flexicontent .field_about_small_photos .bgimg.cols2 { width: 100%; }
	#flexicontent .catsgaleria .mod_flexicontent_standard.cols5 .mod_flexicontent_standard_wrapper { width: 100%; }
	#flexicontent .catsgaleria .mod_flexicontent_standard_wrapper .btnct { font-size: 110%; }
	#fcontactenos .rsform-block { width: 100%; }
	#flexicontent .rt-block.contactos tr { border: none; }
	body.pgcontactos .field_load_module_pos_top { height: auto; padding-bottom: 30px; }
	#flexicontent .rt-block.contactos td.horario,
	#flexicontent .rt-block.contactos td.morada { border: none; width: 100% !important; float: left; padding-right: 0; padding-left: 0;}
}

@media only screen and (max-width: 480px) {
	body.pggaleria .field_load_module_pos_top { height: 20%; }
	#flexicontent .catsgaleria .mod_flexicontent_standard.cols5 .mod_flexicontent_standard_wrapper { }
	body.pggaleria #flexicontent .field_load_module_pos_bottom { height: 100%; }
	#ajaxoutput .fc_bloglist_item { width: 50%; }
	body.pgshowroom #flexicontent .field_load_module_pos_bottom { height: 320px !important; }
}





/* HEIGHT */

@media only screen and (max-height:940px) and (max-width: 1024px) {
	body.pgcontactos .field_load_module_pos_bottom { height: auto !important; }
}

@media only screen and (max-height:940px) {
	
	body.pgcontactos .field_load_module_pos_top { width: 100%; }
	body.pgcontactos .field_load_module_pos_top table { }
	body.pgcontactos .field_load_module_pos_top table tbody { display: block; }
	body.pgcontactos .field_load_module_pos_top table tr { width: 50%; float: left; display: block; }
	body.pgcontactos .field_load_module_pos_top table tr td { }
	#flexicontent .rt-block.contactos tr:last-child td { padding-top: 0; }
	#flexicontent .rt-block.contactos td.horario { border: none; }
	#flexicontent .rt-block.contactos tr:last-child { }
	#flexicontent .rt-block.contactos tr { border: none; }

	body.pgcontactos .field_load_module_pos_top { height: auto; }

	body.pgcontactos .field_load_module_pos_bottom,
	body.pgcontactos .field_load_module_pos_right { height: calc(100% - 304px); }

}

@media only screen and (max-height: 876px) {
	
	#flexicontent.fctype7 .field_text { min-height: 200px; }
	#flexicontent.fctype7 #ajaxoutput .innerct { padding-top: 20px; }
	#ajaxoutput .fc_bloglist_item { }

}

@media only screen and (max-height: 860px) {
	#flexicontent.fctype7 .field_load_module_pos_top {  }
	#ajaxoutput .fc_bloglist_item { min-height: 60px; }

}

@media only screen and (max-height: 720px) {
	
	.component-content { overflow: auto; }
	/*
	body.pgshowroom #flexicontent .field_load_module_pos_bottom,
	body.pgshowroom #flexicontent .field_text,
	body.pgshowroom #flexicontent .field_load_module_pos_top { width: 100%; }
	#ajaxoutput .fc_bloglist_item {}

	body.pgshowroom #flexicontent .field_text { height: 320px; }
	
	body.pgshowroom #flexicontent .field_load_module_pos_bottom { height: 100%; }
	*/
}

@media only screen and (max-height: 630px) {
	/*
	body.pgshowroom #flexicontent .field_load_module_pos_top,
	body.pgsobrenos #flexicontent .field_load_module_pos_top,
	body.pgsobrenos #flexicontent .field_featured_text,
	body.pgsobrenos #flexicontent .field_text,
	body.pgsobrenos #flexicontent .field_about_big_photo,
	body.pgsobrenos #flexicontent .field_about_small_photos { width: 100%; }
	*/
}

@media only screen and (max-height: 410px) {
	.socialicons { }
	.mainmenu .logoimg { margin: 0; }
}