@font-face {
	font-family: 'GillSans';
	src: url('font/GillSans.eot');
	src: local('GillSans'), url('font/GillSans.woff') format('woff'), url('font/GillSans.ttf') format('truetype');
}

body {
	margin:0;
	padding:0;
	border:0;
}

html {
	font-family: "GillSans";
}

.wide-div {
	max-width:900px;
	margin-left:auto;
	margin-right:auto;
}

.left-align {
	text-align: left;
}

.center-align {
	text-align: center;
}

.justify-align {
	text-align: justify;
}

.bold {
	font-weight:bold;
}

.upper {
	text-transform:uppercase;
}

.title {
	font-family: 'GillSans';
	font-size:36px;
}

.small-title {
	font-family: 'GillSans';
	font-size:26px;
}

.descr {
	font-family: 'GillSans';
	font-size:16px;
}

.big-descr {
	font-family: 'GillSans';
	font-size:22px;
}

.red {
	color:#AE2226;
}

.grey {
	color:#5F6162;
}

.white {
	color:white;
}

div.main-menu {
	display:none;
	position:fixed;
	width:100%;
	height:100%;
	background-color:rgba(174,34,38,0.8);
	z-index:100;
	top:0px;
	left:0px;
}

#main-menu.menu {
	position:relative;
	margin:0px;
	padding:0px;
	text-align:center;
	top:50%;
	transform:translateY(-50%);
	font-size:0px;
}

#main-menu.menu li {
	list-style:none;
	margin:10px auto;
	/*border: 1px solid transparent;*/
}

#main-menu.menu li:last-child {
	display: none;
}

#main-menu.menu li a {
	text-decoration:none;
	color:white;
	font-family: 'GillSans';
	font-size: 5vh;
	text-transform:uppercase;
	transition: 0.2s;
}

#main-menu.menu li a:before/*, .menu li a:after*/ {
	/*text-decoration: underline;*/
	/*border: 1px solid white;*/
	color: transparent;
	content: "➜";
	transition: 0.2s;
}

#main-menu.menu li.active a:before,
#main-menu.menu li.active a:after /*a*/,
#main-menu.menu li a:hover:before,
#main-menu.menu li a:hover:after /*a*/ {
	color: white;
}

#close-menu {
	display:none;
	position:fixed;
	z-index:101;
	top:35px;
	right:30px;
	cursor:pointer;
}

#close-menu:after {
	position:absolute;
	top:0px;
	right:0px;
	color:white;
	text-transform:uppercase;
	font-weight:bold;
	font-family: 'GillSans';
	font-size:26px;
	padding-right:45px;
	cursor:pointer;
	z-index:101;
	cursor:pointer;
	background-image:url('images/menu-fechar.png');
	background-repeat:no-repeat;
	background-position:100% 50%;
}

#close-menu:lang(pt):after {
	content:"Fechar";
}

#close-menu:lang(en):after {
	content:"Close";
}

.header-top {
	position:relative;
}

#menu-ham {
	position:fixed;
	top:50px;
	right:0px;
	background-image:url('images/menu-ham.png');
	background-repeat:no-repeat;
	background-position:100% 50%;
	padding-right:50px;
	margin:0px 20px;
	cursor:pointer;
	z-index: 50;
}

.slideshow-wrapper {
	margin-top:20px;
}

.slideshow-wrapper img {
	width:100%;
}

.orbit-caption {
	background:none!important;
	margin:0px!important;
	padding:0px!important;
	height:100%;
}

.orbit-caption p {
	position:absolute!important;
	top:50%;
	transform:translateY(-50%);
	left:60%;
	display:inline-block!important;
	text-align:left;
	margin:0px!important;
	padding:0px!important;
}

.orbit-bullets-container {
	position:relative;
	top:-50px;
	text-align:left!important;
}

.orbit-bullets {
	padding:0px!important;
	margin:0px!important;
	display:inline-block!important;
	position:relative!important;
	left:60%;
}

.orbit-bullets li {
	background:transparent!important;
	width:18px!important;
	height:18px!important;
	border:1px solid #AE2226;
}

.orbit-bullets li.active {
	background:#AE2226!important;
}

footer {
	background-color:#5F6162;
	margin-top:30px;
	min-height:320px;
}

footer div div {
	display:inline-block;
}

footer div#address-footer {
	margin-left:30px;
	margin-top:40px;
}

footer div#follow-us-footer {
	text-align:center;
	float:right;
	margin-top:40px;
	font-size:0px;
	margin-right:30px;
}

footer div#follow-us-footer p {
	margin-bottom:0px;
}

footer div#address-footer p:first-child, footer div#follow-us-footer p:first-child {
	margin-top:0px;
}

footer div#fin-footer {
	display:block;
	text-align:right;
}

#logo-footer {
	/*float:left;*/
	width:300px;
	height:173px;
	background-color:white;
	position:relative;
	/*top:70px;*/
}

#logo-footer:before, #logo-footer:after {
	content:"";
	position:absolute;
	left:0;
	width:0px;
	height:0px;
	border-left:150px solid transparent;
	border-right:150px solid transparent;
}

#logo-footer:before {
	border-left-color:white;
	border-bottom:87px solid white;
	top:-87px;
}

#logo-footer:after {
	border-top:87px solid white;
	top:100%;
}

#logo-footer-inner {
	float:left;
	width:240px;
	height:303px;
	position:relative;
	top:-65px;
	left:30px;
	background-image:url('images/logo-footer.png');
	background-repeat:no-repeat;
	background-position:50%;
	background-size:100%;
	z-index:1;
}

#logo-footer p {
	position:absolute;
	margin:auto;
	margin-top: 5px;
	top:50%;
	left:50%;
	transform:translateX(-50%) translateY(-50%);
}

p#follow-us:lang(pt):after {
	content:"Siga-nos em:";
	color:white;
	font-family: 'GillSans';
	font-size:26px;
	text-transform:uppercase;
}

p#follow-us:lang(en):after {
	content:"Follow us:";
	color:white;
	font-family: 'GillSans';
	font-size:26px;
	text-transform:uppercase;
}

div#facebook, div#twitter {
	width:50px;
	height:29px;
	background-color:white;
	position:relative;
	top:20px;
	margin: auto 8px;
	/*transition: 0.2s;*/
}

div#facebook:hover, div#twitter:hover {
	background-color: #ae2226;
}

div#facebook:before, div#facebook:after, div#twitter:before, div#twitter:after {
	content:"";
	position:absolute;
	left:0;
	width:0px;
	height:0px;
	border-left:25px solid transparent;
	border-right:25px solid transparent;
}

div#facebook:before, div#twitter:before {
	border-bottom:14px solid white;
	top:-14px;
}

div#facebook:hover:before, div#twitter:hover:before {
	border-bottom:14px solid #ae2226;
}

div#facebook:after, div#twitter:after {
	border-top:14px solid white;
	top:100%;
}

div#facebook:hover:after, div#twitter:hover:after {
	border-top:14px solid #ae2226;
}

div#facebook {
	background-image:url('images/facebook.png');
	background-position:50%;
	background-repeat:no-repeat;
}

div#twitter {
	background-image:url('images/twitter.png');
	background-position:50%;
	background-repeat:no-repeat;
}

div.page-header h2, span.subheading-category {
	color: #ae2226;
	font-family: "GillSans";
	font-size: 26px;
	font-weight: bold;
	text-transform: uppercase;
	max-width: 900px;
	margin: auto;
}

/*noticias*/
div.blog.noticias {
	max-width: 900px;
	margin:auto;
}

div.blog.noticias div.imgs {
	text-align: center;
}

div.blog.noticias h2 {
	font-family: 'GillSans';
	font-size:22px;
	color: #ae2226;
	margin-top: 50px;
	text-transform: none;
}

div.login,
div.registration,
div.reset,
div.reset-confirm,
div.reset-complete,
div.remind,
div.profile,
div.profile-edit {
	text-align: center;
}

div.login *,
div.registration *,
div.reset *,
div.reset-confirm *,
div.reset-complete *,
div.remind *,
div.profile *,
div.profile-edit * {
	font-family: "GillSans";
	font-size: 20px;
}

div.login fieldset,
div.registration fieldset,
div.reset fieldset,
div.reset-confirm fieldset,
div.reset-complete fieldset,
div.remind fieldset,
div.profile fieldset,
div.profile-edit fieldset {
	border: none;
	text-align: center;
	display: inline-block;
	vertical-align: top;
}

form#member-registration {
	text-align: center;
}

div.registration fieldset legend,
div.reset p,
div.reset-confirm p,
div.reset-complete p,
div.remind p,
div.profile legend,
div.profile-edit legend {
	color: #5F6162;
}

div.login div.controls, div.login div.control-label,
div.registration div.controls, div.registration div.control-label,
div.reset div.controls, div.reset div.control-label,
div.reset-confirm div.controls, div.reset-confirm div.control-label,
div.reset-complete div.controls, div.reset-complete div.control-label,
div.remind div.controls, div.remind div.control-label,
div.profile div.controls, div.profile div.control-label,
div.profile-edit div.controls, div.profile-edit div.control-label {
	display: inline-block;
	margin: 10px auto;
}

div.login input[type="text"], div.login input[type="password"],
div.registration input[type="text"], div.registration input[type="password"], div.registration input[type="email"],
div.reset input[type="text"],
div.reset-confirm input[type="text"],
div.reset-complete input[type="password"],
div.remind input[type="text"], div.remind input[type="email"],
div.profile-edit input[type="text"], div.profile-edit input[type="password"], div.profile-edit input[type="email"] {
	background: #AE2226;
	color: white;
	border: none;
	padding: 10px;
	text-align: left;
	outline: none;
	transition: 0.1s;
}

div#company-name:not(.active),
div#position:not(.active),
div#cae:not(.active),
div#nif:not(.active),
div#birth:not(.active) {
	display: none;
	transition: 0.2s;
}

div.login label,
div.registration label,
div.reset label,
div.reset-confirm label,
div.reset-complete label,
div.remind label,
div.profile label,
div.profile-edit label {
	color: #5F6162;
}

div.login button[type="submit"],
div.registration button[type="submit"],
div.reset button[type="submit"],
div.reset-confirm button[type="submit"],
div.reset-complete button[type="submit"],
div.remind button[type="submit"],
div.profile li.btn-group,
div.profile-edit button[type="submit"],
div.profile-edit button[type="submit"] + a {
	border: 2px solid #AE2226;
	background: transparent;
	color: #5F6162;
	padding: 10px 30px;
	cursor: pointer;
	text-transform: uppercase;
	text-decoration: none;
	transition: 0.2s;
}

div.login button[type="submit"]:hover,
div.registration button[type="submit"]:hover,
div.reset button[type="submit"]:hover,
div.reset-confirm button[type="submit"]:hover,
div.reset-complete button[type="submit"]:hover,
div.remind button[type="submit"]:hover,
div.profile li.btn-group:hover,
div.profile-edit button[type="submit"]:hover,
div.profile-edit button[type="submit"] + a:hover {
	background: #AE2226;
	color: white;
}

div.profile li.btn-group {
	display: inline-block;
}

div.profile li.btn-group a {
	color: #5F6162;
	text-decoration: none;
}

div.profile li.btn-group:hover a {
	color: white;
}

div.login + div ul {
	padding: 0px;
	margin: 0px;
	text-align: center;
}

div.login + div li {
	display: block;
	margin: 5px auto;
}

div.login + div li a {
	color: #5F6162;
	text-decoration: none;
	transition: 0.2s;
}

div.login + div li a:hover {
	color: #AE2226;
}

div.registration fieldset + div,
div.reset fieldset + div,
div.reset-confirm fieldset + div,
div.reset-complete fieldset + div,
div.remind fieldset + div {
	text-align: center;
}

div.registration div#birth div.input-append,
div.profile-edit div#birth div.input-append {
	position: relative;
}

div.registration div#birth button,
div.profile-edit div#birth button {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
}

div.registration div#type,
div.profile-edit div#type {
	position: relative;
}

div.registration div#type div.btn-group,
div.profile-edit div#type div.btn-group {
	position: absolute;
	top: 0px;
	lef: 0px;
	width: 100%;
	height: 100%;
}

div.registration div#type div.btn-group button,
div.profile-edit div#type div.btn-group button {
	display: none;
}

div.registration div#type div.btn-group ul,
div.profile-edit div#type div.btn-group ul {
	overflow: hidden!important;
	opacity: 0;
	cursor: pointer;
	height: 100%;
}

div.registration div#type div.btn-group ul, div.registration div#type div.btn-group ul li,
div.profile-edit div#type div.btn-group ul, div.profile-edit div#type div.btn-group ul li {
	margin: 0px;
	padding: 0px;
}

div.registration div#type div.btn-group ul li,
div.profile-edit div#type div.btn-group ul li {
	display: block;
	overflow: hidden;
	height: 0px;
}

div.profile ul.btn-toolbar {
	display: block;
}

div.profile dt, div.profile dd {
	display: block;
	text-align: left;
}

div.profile dt {
	color: #5F6162;
	margin-bottom: 2px;
	margin-top: 5px;
}

div.profile dd {
	color: white;
	background: #AE2226;
	padding: 10px;
}

div#system-message-container {
	color: #5F6162;
	max-width: 800px;
	margin: 20px auto;
}

table#ideias {
	max-height: 30px;
	overflow: hidden;
	display: block;
	width: 100%;
	transition: 1s;
	margin: 20px auto;
	border-collapse: collapse;
	color: #5F6162;
}

table#ideias:focus {
	max-height: 1500px;
}

table#ideias:focus tr:first-child p {
	max-height: 0px;
}

table#ideias tr:first-child td {
	height: 30px;
	text-align: center;
}

table#ideias tr:first-child p {
	margin: 0px;
	cursor: pointer;
	color: #5F6162;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	transition: 1s;
	position: relative;
	display: inline-block;
	max-height: 30px;
	overflow-x: hidden;
	padding-left: 20px;
	padding-right: 20px;
}

table#ideias tr:first-child p:hover {
	color: #ae2226;
}

table#ideias tr:first-child p:before, table#ideias tr:first-child p:after {
	content: "➜";
	transform: rotate(90deg);
	position: absolute;
	top: 0px;
}

table#ideias tr:first-child p:before {
	left: 0px;
}

table#ideias tr:first-child p:after {
	left: calc(100% - 15px);
}

table#ideias th {
	background: #ae2226;
	color: white;
	text-transform: uppercase;
	font-weight: normal;
}

table#ideias tr:not(:first-child) td, table#ideias th {
	padding: 10px;
}

table#ideias tr:not(:first-child):not(:nth-child(2)):not(:last-child) td {
	border-bottom: 1px solid #ae2226;
}

div#div-rede-contactos h3 {
	color: #ae2226;
	font-family: "GillSans";
	font-size: 26px;
	font-weight: bold;
	text-transform: uppercase;
	max-width: 900px;
	margin: auto;
}

ul#menu-rede-contactos {
	padding: 0px;
}

ul#menu-rede-contactos li {
	display: block;
	border: 2px solid #AE2226;
	background: white;
	transition: 0.2s;
	padding: 10px;
	cursor: pointer;
	margin: 10px;
	text-align: center;
}

ul#menu-rede-contactos a {
	color: #5F6162;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'GillSans';
	font-size: 20px;
}

ul#menu-rede-contactos li:hover, ul#menu-rede-contactos li.current {
	background: #AE2226;
}

ul#menu-rede-contactos li:hover a, ul#menu-rede-contactos li.current a {
	color: white;
}

div.blog:not(.noticias) {
	max-width: 900px;
	margin: auto;
}

div.blog:not(.noticias) div.items-row {
	font-size: 0px;
	text-align: center;
}

div.blog:not(.noticias) div.span6 {
	display: inline-block;
	width: 430px;
	height: 430px;
	vertical-align: top;
	border: 2px solid #ae2226;
	margin: 10px;
	padding: 20px;
}

div.blog:not(.noticias) div.span6 p.descr {
	text-align: left;
	display: inline-block;
}

div.blog:not(.noticias) div.span6 div.item-image {
	max-width: 80%;
	margin: auto;
}

div.blog:not(.noticias) div.span6 div.item-image img {
	max-width: 100%;
	margin: 10px auto;
}

div#system-message-container a.close, div#system-message-container h4 {
	display: inline-block;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(255, 255, 255, 0.8);
}
::-moz-placeholder { /* Firefox 19+ */
  color: rgba(255, 255, 255, 0.8);
}
:-ms-input-placeholder { /* IE 10+ */
  color: rgba(255, 255, 255, 0.8);
}
:-moz-placeholder { /* Firefox 18- */
  color: rgba(255, 255, 255, 0.8);
}

img[src*="image158"] {
	background: #5F6162;
}