/*remove o logo-area do info-area*/
#info-area #logo-area {
	display: none;
}

.widget.widget-header{
	border: 0px;
}

.yd-header{
	color: black;
	background: white;
	right: 0px;
	z-index: 6;
	position: relative;
	float: right;
	padding-bottom: 10px; /*Passa que o menu se afaste*/
	/*margin-bottom: 10px;*/ /*Passa que o menu se afaste*/
}
div.yd-header{
	/*width: 80%;
	margin-left: 20%;*/	
	width: 100%;	
}
.yd-header .header-table{
	float: right;
	max-width: 88%; /*Evita que logo saia da imagem para ecras mais pequenos*/
	margin: 20px 0px;
}


/*TOP LINE*/

.yd-header .header-top-line{
	color: black;
	background: black;
	right: 0px;
	
}
.yd-header .header-top-line h3{
	float: right;
	font-weight: normal;
	padding: 5px 10px 5px;
	font-size: 13px;
	/* font-family: sans-serif; */
	text-transform: uppercase;
	line-height: 12px;
	letter-spacing: 0px;
}
.yd-header .header-top-line .qtranxs_language_chooser{
	float: right;
	text-align: center;
	height: inherit;
	padding: 5px 10px 5px;
	margin: 0px;
	line-height: 15px;
}
.yd-header .header-top-line .qtranxs_language_chooser li{
	margin-right: 15px;
}

/*MIDDLE*/

.yd-header .header-middle{
	float: right;
	/*max-width: 90%;*/
	padding-left: 160px;
	/*padding-left: 12%;*/
}
.yd-header .header-middle td{
	float: right;
}
.yd-header .header-middle .widget-header .widgettitle{
	display: none;
}
.yd-header .header-middle .widget-header{
	background: #E4A301;
	border: none;
	margin: 0.7% 7.5px 0px;
	float: right;
	/* height: 20%; */
	max-width: 88px;
	display: table;
}

.yd-header .header-middle .widget-header a{
	padding: 0px;
	height: 80px;
	display: table-cell;
	vertical-align: middle;
}

.yd-header .header-middle .widget-header .link_text{
	padding: 0px 5px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	font-size: 13px;
	font-weight: normal;
	line-height: 22px;
	outline-width: inherit;
	letter-spacing: -0.5px;
}

.header-menu{
	float:right;
}

/*LOGO*/
.yd-header .header-middle{
	text-align: inherit;
	display: inherit;
}
#logo-area.header-logo-area{
	float:left;
	text-align: left;
	position: relative;
	left: -200px;
}
.yd-header .header-middle #logo-link{
	/*position: relative;*/
	/*left: -290px;*/
	/*left: -33%;
	top: -60px;*/
	/*left: -91%;
	top: -130px;*/
}
.yd-header .header-middle #logo{
	position: absolute;
	width: 160px;
	/*sem position relative no #logo-area.header-logo-area*/
	/*left: 1%;
	top: -8px;*/
	/*com position relative no #logo-area.header-logo-area*/
	left: -90px;
	top: -50px;
}
.yd-header .header-middle #sublogo-link{
	/*position: relative;*/
	/*left: -120px;
	top: 35px;*/
	left: 0px;
	top: 0px;
}
.yd-header .header-middle #logo-area #sub-logo{
	position: absolute;
	width: 110px;
	/*sem position relative no #logo-area.header-logo-area*/
	/*left: 17%;
	top: 70px;*/
	/*com position relative no #logo-area.header-logo-area*/
	left: 70px;
	top: 30px;
}

.header-logo-area{
	height: 0px;	
}

/*BOTTOM LINE*/

.yd-header .header-bottom-line div{
	background: black;
	right: 0px;
	width: 93%;
	float: right;
	line-height: 0.6;
	margin-top: 10px;
}

@media screen and (max-width: 1110px) {
		/*.yd-header .header-middle .widget-header .link_text {
			padding: 0px 5px;
			font-size: 90%;
		}*/
		/*.yd-header .header-middle img#logo{
			top: -14px;
		}
		.yd-header .header-middle #logo-area img#sub-logo{
			top: 79px;
		}*/
}
@media screen and (max-width: 960px) {
		/*.yd-header .header-middle .widget-header .link_text {
			padding: 0px 3px;
			font-size: 80%;
		}*/	
		/*.yd-header .header-middle #logo-area img#sub-logo{
			top: 90px;
		}*/
}

#header-menu-link a, #header-search-link a{
	float: right;
	text-align: center;
}
#header-menu-link img, #header-search-link img{
	width: 20%;
	margin: 10px;
}
	
/*HEADER TOP-MENU*/
.top-search{
	display: none; /*comeca fechado*/
	padding: 5%;
}
	
@media screen and (min-width: 800px) {
	.yd-header-top-menu {
		display:none !important;
	}	
	#header-menu-link, #header-search-link{
		display:none;
	}
	.top-search{
		display: none; /*sempre fechado*/
	}
}
@media screen and (max-width: 799px) {
	#info-area #mobile-nav{
		display:none;
	}
	.header-menu {
		float: right;
		height: 60px;
	}
	.yd-header .header-table {
		max-width: 75%;
		width: 100%;
	}
	.yd-header .header-bottom-line div{
		width: 85%;
	}
	#logo-area.header-logo-area {
		position: absolute;
		left: 0px;
	}
	.yd-header .header-middle #logo-area #logo{
		position: absolute;
		float: left;
		width: 140px;
		left: 75px;
		top: -45px;
	}
	.yd-header .header-middle #logo-area #sub-logo{
		display:block; /*Porque no style tem display:none para ecras pequenos*/
		position: absolute;
		float: left;
		width: 90px;
		left: 215px;
		top: 20px;
	}
	.yd-header .header-top-line h3{
		display:none;
	}
	.yd-header .header-bottom-line div {
		margin-top: 0px; 
	}
	/*#info-area .yd-header-top-menu  #logo-area {
		display: block;
		padding-bottom: 0px;
		text-align: left;
	}
	div#info-area{
		float: right; 
	}*/
}
@media screen and (max-width: 699px) {
	.yd-header .header-bottom-line div{
		width: 75%;
	}	
}
@media screen and (max-width: 599px) {
	.yd-header .header-bottom-line div{
		width: 65%;
	}	
}
@media screen and (max-width: 499px) {
	.yd-header .header-middle #logo-area #logo{
		left: 15px;
	}
	.yd-header .header-middle #logo-area #sub-logo{
		display:block; /*Porque no style tem display:none para ecras pequenos*/
		left: 155px;
	}
}
.yd-header-top-menu {

}

.yd-header-top-menu #logo-area.header-logo-area{
	left: 0px;
}

.yd-header-top-menu #logo-area img{
	width: 75%;
	
}

.yd-header-top-menu #logo-area #sub-logo{
	display: block;
	left: 150px;
	top: 80px;
}

.yd-header-top-menu-left{
	float:left;
}


.yd-header-top-menu-right{
	float: right;
}

#top-menu{
	/*margin-top: 20px;*//*Passou para o yd-header*/
}
