/***** by filipe vieira /***********************************/



 

@media (max-width: 990px) {

	#block-main {padding: 30px 0 0px 0 !important;}
	nspArt.nspCol1 {padding:0 !important;}
	
	.texto_home table tr td {
		min-width: inherit !important;
		}

	body {
		min-width: 0 !important;
		width: 100%;
	}
	.wrapper {
		width: 100% !important;
	}
	
	#header #logo {
		float: none;
		width: 100%;
		
	}
	
	#headerbar {margin-bottom: 14px !important;}
	
	#logo .custom-logo {
		background-attachment: scroll;
		background-color: rgba(0, 0, 0, 0);
		background-image: url("../../../images/logo-responsive.png") !important;
		background-position: 0 0;
		background-repeat: no-repeat;
		background-size: 100% auto;
		margin: 0 auto;
		max-width: 400px;
		/*width: 100% !important;*/
	}
	 
	#menu {
		bottom: 0;
		position: inherit;
		right: 0;
		width: 100%;
	}
	
	#top-a .grid-box{
		width:90% !important;
		padding: 0 5%;
	}
	#top-a .deepest{
		min-height:inherit !important;
	}
	#top-a .wk-slideset-inspire .sets {
		height: 100% !important;
	}
	
	#maininner {
		width: inherit !important;
	}
	
	.home #maininner {
		width: 63% !important;
	}
	
	#sidebar-a {
		width: 100% !important;
		float:right !important;
	}
	
	.home #sidebar-a {
		width: 37% !important;
		float:right !important;
	}
	
	.wk-content h1 { font-size:25px !important;}
	aside#sidebar-a.grid-box {min-height:inherit !important}
	div#maininner.grid-box {min-height:inherit !important}
	div.screen {height:inherit !important; width:inherit !important;}
	
	
	body#page {
		max-width: 100% !important;
		min-width: 0 !important;
	}
	.contactos_top{
		display:none;
	}
	
	.home #maininner {
		/*width:100px !important;*/
	}
	div.screen ul.slides li img {width:100% !important; height:initial !important;}
	div.screen ul.slides li  {width:100% !important;}
	.wk-slideshow { width:100% !important;}
	.screen .wk-slideshow-default { left:0 !important;}
}


@media (min-width: 581px) {
	#menu_responsive,ul.srm_ulmenu {
		display: none;
	}
}


@media (max-width: 580px) {
	#menu{display:none;}
	#headerbar {
		margin-bottom: 15px !important;
	}
	#headerbar .module {
		float: right !important;
		margin-right: 0;
		width: 100% !important;
		max-width:inherit !important;}

	select#srm_select_list {max-width:inherit !important; width:100% !important;}
	
	#menu_responsive, ul.srm_ulmenu {
		display: block;
		height:40px;
		width: 100%;
	}	
	.menu a, .menu span {
		display: none !important;
	}
	.item-page img{
		max-width:100%!important;
		height:auto!important;
		float:inherit !important;

	}
	
	
	
	
	
	.texto_home table tr td {
		padding: 5px 1.5%!important;
		width: 97% !important;
		
	}
	
	#logo .custom-logo {background-image: url("../../../images/logo.png"); width: inherit !important; margin-top: -19px !important; }
	div.srm_position { width:99% !important;}
	
	.home #maininner {
		width: 100% !important;
	}
	

	
	.home #sidebar-a {
		width: 100% !important;
		float:right !important;
	}
	
	
	
}

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

#logo .custom-logo {height: 113px !important;}
.wk-content h2 {font-size: 13px !important;line-height: 15px !important;}
.wk-content h1 {font-size: 18px !important;line-height: 19px !important;}
div.screen ul.slides {height: 177px !important;}
img {margin:0 !important;}
p a {word-wrap: break-word !important;}
.item-page table td{float:inherit;}
.item-page table{width:100%!important;}
}

@media only screen and (min-width : 321px) and (max-width : 480px) {

#logo .custom-logo {height: 171px !important;}
.wk-content h2 {font-size: 15px !important;line-height: 15px !important;}
.wk-content h1 {font-size: 20px !important;line-height: 27px !important;}
img {margin:0 !important;}
p a {word-wrap: break-word !important;}
.item-page table td{float:inherit;width: inherit !important;}
.item-page table{width:100%!important;}
}

		