/*
Theme Name: AAA - Entidades
Theme URI: http://unidades.ist.utl.pt
Description: Template AAA Serviços
Version: 1.0
Author: Tiago Pratas
Author URI: http://nme.ist.utl.pt
Template: geral
*/
/*......................................................................................

....................Template Geral Entidades............................................
*/

@import url("../../geral/css/responsive.css");

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  h1 a {
	background-image: url("../img/logo_aaa_iniciativa@2x.png") no-repeat 0 0 !important;
	display: block;
	text-indent: -9999999px;
	background-size: 148px 56px;


	}
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

	/*.position {
		width: 153px;
		display: block;
    	margin-left: auto;
    	margin-right: auto; 
		}*/

header {
		height: auto;
		}
	.content_wrapper {
		border-top: none;
		}
	.position {
		width: 241px;
		display: block;
    	margin-left: auto;
    	margin-right: auto; 
		}	
	.global_navigation {
		width: 100%;
		margin-top: 0px;
		display: block;
		text-align: center;
		border-bottom: 17px solid #EBECED;
		padding-bottom: 12px	
		}	
	#homepage .global_navigation {
		border-bottom: none;
		padding-bottom: 0;	
		}	
	.global_navigation ul li {
		padding-left: 1%;
		}	
	.homepage_intro_container {
		margin: 30px auto;
		width: 100%;
		}		
	.homepage_intro {
		width: 100%;
		margin-bottom: 14px;
		}	
	.sub_navigation_menu_container {
		width: 100%;
		}	
	.sub_navigation_menu {
		width: 47.5%;
		margin-right: 5%;
		}	
	.sub_navigation_menu:nth-child(2),
	.sub_navigation_menu:nth-child(4) {
		margin-right: 0;
		}
	.content_wrapper .content_container {
		width: 100%;
		}
	.sub_navigation_menu {
		width: 100%;
		text-align: center;
		}		
	.content_container {	
		width: 100%;
		}
	.contextual_navigation {
		width: 100%;
		border-top: 1px dotted #afafaf;
		border-bottom: 1px dotted #afafaf;
		margin-top: 20px;
		position: relative;
		padding-top: 0;
		}	
	.contextual_navigation	h2,
	.contextual_navigation	p,
	.breadcrumbs {
		display: none;
		}
	.contextual_navigation a {
    	color: #4c4c4c;
    	font-size: 13px;
	    text-decoration: none;
	    text-transform: uppercase;
	    background: none;
		}
	.contextual_navigation dl {
		margin-top: 10px;
		padding-top: 0;
		padding-bottom: 10px;
		}	
	.contextual_navigation dt {
		font-size: 11px;
	    text-transform: uppercase;
	    color: #000;
	    padding: 0;
	    margin-top: 0;
		}	
	.contextual_navigation dd {
		margin-left: 0;
		padding-left: 0;
		text-align: center;
		padding: 4px 0;
		display: none;
		}
	.contextual_navigation dd.active {
		margin-left: 0px;
		padding-left: 0px;
		text-align: center;
		display: block;
		}				
	.contextual_close_top a {
		background: transparent url("../img/mobile_navigation_close.png") no-repeat scroll 0 0;	
		position: absolute;
		right: 0;
		top: 12px;
		text-indent: -9999px;
		width: 12px;
		height: 8px;
		}		
	.contextual_close_bottom a {
		background: transparent url("../img/mobile_navigation_close.png") no-repeat scroll 0 0;	
		position: absolute;
		right: 0;
		bottom: 8px;
		text-indent: -9999px;
		width: 12px;
		height: 8px;
		}		
	.contextual_open_top a {
		background: transparent url("../img/mobile_navigation_open.png") no-repeat scroll 0 0;	
		position: absolute;
		right: 0;
		top: 12px;
		text-indent: -9999px;
		width: 12px;
		height: 8px;
		}		
	.contextual_open_bottom a {
		background: transparent url("../img/mobile_navigation_open.png") no-repeat scroll 0 0;	
		position: absolute;
		right: 0;
		bottom: 8px;
		text-indent: -9999px;
		width: 12px;
		height: 8px;
		}	
	.contextual_breadcrumbs {
		margin-top: -6px;
		}
	.contextual_open_top,
	.contextual_open_bottom,
	.contextual_close_top,
	.contextual_close_bottom {
		display: block;
		}			
	.content_wrapper{
		background: inherit;
		}	
	.content_wrapper .contextual_navigation {
		background: url(../img/bg_wrapper.png) transparent;
		}
	.closed_contextual_navigation dd {
		display: none;
		}
	.closed_contextual_navigation dd.active {
		display: block;
		}
	.grandchild {
		display: none !important;
		}	

	}





}