/*
Theme Name: JJacob
Description: JJacob theme
Version: 1.0
Author: Reticências
Author URI: http://www.reticencias.pt/
*/

/* Reset: http://meyerweb.com/eric/tools/css/reset/ */

html, body, div, span, applet, object, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* --> Main styles <-- */
body {
	margin: 0 auto 0 auto;
	font-size: 62%;
	text-align: center;
	background-image: url('img/bg.jpg');
}
#wrapper {
	text-align: left;
	padding: 0;
	width: 973px;
	height: auto !important;
	height: 900px;
	margin: 10px auto 0 auto;
}
#header {
	width: 973px;
	height: 114px;
	background: url('img/header.png') top no-repeat;
}
#h {
	text-align: left;
	padding: 0;
	width: 973px;
	height: auto !important;
	height: 585px;
	margin: 0 auto 0 auto;
	background: url('img/content.png') repeat-y;
}
h1 {
	padding-top: 20px;
	margin: 20px 0 0 20px;
	font-size: 18px;
	font-family: "Trebuchet MS", Arial, sans-serif;
}
a {
	text-decoration: none;
	color: #F08022;
}
a:hover {
	text-decoration: underline;
}
#top-right {
	position: relative;
	top: -125px;
	float: right;
	margin: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	width: 380px;
}
#top-right p {
	float: right;
	margin: 0 35px 0 0;
	text-transform: uppercase;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #b1b1b1;
}
#search {
	margin: 10px 0 0 110px;
	*margin: 10px 0 0 30px;
	float: left;
	*position: relative;
	*left: 60px;
	*width: 220px;
}
#search input {
	padding-left: 10px;
	font-size: 10px;
	border: 1px solid #dddddd;
	background-color: #dddddd;
	color: #959595;
}
#search label {
	color: #ffffff;
	margin-right: 10px;
}
#search .button {
	padding-left: 4px;
	padding-right: 4px;
	border: 1px solid #afafaf;
	*border: none;
	background-color: #afafaf;
	color: #ffffff;
	cursor: pointer;
	margin-left: -7px;
}
label, input, button {
	font-size: inherit;
	padding: 0.2em;
	margin: 0.1em 0.2em;
/* the following ensures they're all using the same box-model for rendering */
	-moz-box-sizing: content-box;
/* or `border-box` */
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}
button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
#search-bg {
}
/* Header styles */
#logo {
	position: relative;
	z-index: 1;
	margin: 10px 0 0 60px;
	*margin: 0 0 0 60px;
	width: 168px;
	height: 160px;
}
/* Menu styles */
.ssf-red-wrap {
	height: 35px !important;
}
#menu {
	clear: right;
	margin: 0;
	height: 31px;
	position: relative;
	top: -110px;
	margin-left: 250px;
	*z-index: 2;
}
#menu ul li {
	float: left;
	padding: 2px;
	font: 13px "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
}
#menu ul li a {
	color: #ffffff;
	text-transform: uppercase;
	text-align: center;
	padding: 2px 10px;
}
#menu ul li a em {
	font-style: normal;
	font-weight: normal;
	text-decoration: underline;
}
#menu ul li a:hover {
	text-decoration: none;
}
#menu ul li ul {
	margin-top: -5px;
}
#menu ul li ul li {
	margin-top: -4px;
	font: 12px "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
}
#menu ul li ul li a {
	background-color: #ffffff !important;
	color: #5a5a5a;
	text-transform: none;
	text-align: left;
	border: 1px solid #ffffff !important;
	padding: 3px 10px;
}
#menu ul li .selected {
	background-color: #ffffff !important;
}
#menu ul li ul li a:hover {
	background-color: #ffda05 !important;
	color: #ffffff !important;
	text-transform: none;
	text-align: left;
	border: 1px solid #ffda05 !important;
}
#menu .a a {
	border: 0;
	background-color: #e32b2e;
	border: 1px solid #e32b2e;
}
#menu .a a:hover {
	border: 0;
	border: 1px solid #e32b2e;
	color: #e32b2e;
	background-color: white;
}
#menu .b a {
	border: 0;
	background-color: #ffda05;
	border: 1px solid #ffda05;
}
#menu .b a:hover {
	border: 0;
	border: 1px solid #ffda05;
	color: #ffda05;
	background-color: white;
}
#menu .c a {
	border: 0;
	background-color: #9bc444;
	border: 1px solid #9bc444;
}
#menu .c a:hover {
	border: 0;
	border: 1px solid #9bc444;
	color: #9bc444;
	background-color: white;
}
#menu .d a {
	border: 0;
	background-color: #2a61aa;
	border: 1px solid #2a61aa;
}
#menu .d a:hover {
	border: 0;
	border: 1px solid #2a61aa;
	color: #2a61aa;
	background-color: white;
}
/* Content */
#content {
	width: 973px;
	height: 535px;
	*height: 635px;
	padding: 0;
	font-size: 1.2em;
	line-height: 1.2em;
	margin: 0 auto;
	*margin: -80px auto 0 auto;
	*position: relative;
	*z-index: 0;
}
#content p {
	text-align: center;
}
#service-banner {
	width: 910px;
	border-top: 1px solid #b5b5b5;
	border-bottom: 1px solid #b5b5b5;
	padding: 0 0 10px 0;
	margin: 40px auto 0 auto;
	*margin: 30px auto 0 auto;
}
#service-banner ul {
	font: 12px Arial, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
	text-transform: uppercase;
	color: #8f8f8f;
}
#service-banner li {
	display: inline;
}
#service-banner li.last {
	display: inline;
}
#service-banner li img {
	position: relative;
	top: 7px;
}
#service-banner li a {
	color: #8f8f8f;
}
#service-banner li a:hover {
	text-decoration: none;
}
#service-banner li span:hover {
	border-bottom: 1px dotted #8f8f8f;
	text-decoration: none;
}
#service-banner-en {
	width: 915px;
	border-top: 1px solid #b5b5b5;
	border-bottom: 1px solid #b5b5b5;
	padding: 0 0 10px 0;
	margin: 40px auto 0 auto;
	*margin: 30px auto 0 auto;
}
#service-banner-en ul {
	font: 11px Arial, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
	text-transform: uppercase;
	color: #8f8f8f;
}
#service-banner-en li {
	display: inline;
}
#service-banner-en li.last {
	display: inline;
}
#service-banner-en li img {
	position: relative;
	top: 7px;
}
#service-banner-en li a {
	color: #8f8f8f;
}
#service-banner-en li a:hover {
	text-decoration: none;
}
#service-banner-en li span:hover {
	border-bottom: 1px dotted #8f8f8f;
	text-decoration: none;
}
#content-pages {
	background: url('img/fundo_texto.png');
	width: 900px;
	margin: 0 0 0 45px;
	padding-top: 100px;
}
#content-pages #slideshow {
	background-color: #4EA9AE;
	margin: 10px 0 0 0;
}
#content-pages h1 {
	padding: 15px 0;
	margin: 0 0 30px 22px;
	color: #585858;
	font: bold 16px Arial, sans-serif;
	text-transform: uppercase;
	position: relative;
	top: 20px;
}
#content-pages img {
	background: url('img/bckgrnd_foto.png') no-repeat;
	padding: 15px;
	margin: 20px 10px 20px 0;
}
#content-pages #icon {
	float: right;
}
#content-pages p {
	color: #5a5a5a;
	font: 13px Arial, sans-serif;
	line-height: 150%;
	text-align: left;
	margin: 0 0 15px 22px;
}
#content-pages ul {
	list-style-type: disc;
	font: 13px Arial, sans-serif;
	margin: 0 0 10px 35px;
}
#content-pages ul li {
	color: #474747;
	line-height: 150%;
	margin: 0;
}
#content-pages #bar {
	background-color: #E5E5E5;
	height: 30px;
	margin-top: -75px;
}
#content-pages #bar img {
	float: right;
	position: relative;
	background: none !important;
	top: -140px;
	*top: -70px;
	left: 20px;
}
#content-pages #big-icon {
	float: right;
}
#content-pages h4 {
	padding: 15px 0;
	margin: 0 0 20px 22px;
	color: #585858;
	font: bold 16px Arial, sans-serif;
	text-transform: uppercase;
	position: relative;
	top: 20px;
	clear: both;
}
#servico-1 {
	margin-top: 6px;
}
.checkbox {
	cursor: pointer;
}
input#submit {
	cursor: pointer;
	margin-left: 275px;
}
input:hover#submit {
}
/* Footer styles */
#sub-footer {
	height: 70px;
	position: relative;
}
#pre-footer {
	clear: both;
}
#footer {
	background: url('img/footer.png') no-repeat;
	width: 973px;
	height: 48px;
	color: #5a5a5a;
	font: 10px Arial, sans-serif;
	margin: 0;
	position: relative;
	top: 48px;
	z-index: 1;
	text-transform: uppercase;
}
#footer a {
	color: #5a5a5a;
}
#footer .left {
	float: left;
	width: auto;
	padding: 50px 0 0 10px;
}
#footer .right {
	float: right;
	width: auto;
	padding: 50px 10px 0 0;
}
#footer ul {
	list-style: none;
	margin: 0;
	padding: 4px 18px;
}
#footer li {
	float: left;
	padding: 0 4px;
	width: auto;
}
iframe {
	border: 1px solid #A7A8A3;
	margin: 0 -100px 0 0;
	float: right;
}
.lang_sel_sel {
	color: #ffffff;
	background-color: #84bd54;
	margin-right: 4px !important;
}
.lang_sel_other {
	color: #5a5a5a;
	background-color: #dddddd;
	margin-right: 4px !important;
}
.map {
	position: relative;
	top: 25px;
	*top: 10px;
	left: 32px;
}

#badge {
	
	float: right;
	position: relative;
	right: 55px;
	top: -40px;
	*top: 150px;
	z-index: 1;

}

_::-webkit-full-page-media, _:future, :root #badge {
    right: -325px;
    top: 5px;
}

/* Contact Forms */
#contactform {
	border-top: 1px dotted #cccccc;
	font: 12px Arial, sans-serif;
	line-height: 150%;
	margin: 20px 0 0 20px;
	padding-top: 20px;
	width: 315px;
}
input.textbox, textarea {
	margin-bottom: 10px;
	font-size: 12px;
	padding: 4px 4px;
	border: 1px solid #cacaca;
	width: 305px;
}
#contactform p {
	margin: 0 0 0 0 !important;
}
.checkbox {
	cursor: pointer;
}
input#submit {
	cursor: pointer;
	margin: 0;
}
input:hover#submit {
}