@import url('https://fonts.googleapis.com/css?family=Oswald:100,200,300,400,500,600,700,800,900');

html {
	height: 100%;
	box-sizing: border-box;
}
body {
	background: #FFF;
	padding: 0px;
	margin: 0px;
	min-height: 100%;
	position: relative;
	font-family: 'oswald', sans-serif;
	color: #000;
	font-size: 16px;
	text-decoration: none;
	outline: none;	
}

a {
	color: #999;
	text-decoration: none;
}
a:hover {
	color: #CB3301;
	transition: all 0.5s;
}

hr {
	border: none;
	border-bottom: #111 1px dashed;
	margin: 20px 0 20px 0;
}
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=url], input[type=month], input[type=date], textarea, .inputs {
	border: #000 1px solid;
	background: #FFF;
	-webkit-appearance: none;
	resize: none;
	color: #000;
	outline: none;
	font-size: 16px;
	padding: 0px 2px;
	border-radius: 4px;
	padding: 4px;
	-webkit-appearance: none;
    -moz-appearance: none;
}
input[type=month], input[type=date] {
	padding: 2px;
}
input[type=submit], input[type=reset], input[type=button], button {
	background: #0D202E;
	color: #FFF;
	border: none;
	padding: 2px 7px 2px 7px;
	font-weight: bold;
	font-weight: lighter;
	text-align: center;
	cursor: pointer;
	cursor: hand;
	-webkit-appearance: none;
	border-radius: 4px;
	padding: 4px 15px 4px 15px;
	-webkit-appearance: none;
    -moz-appearance: none;
}
input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, button:hover {
	background: #E86B3D;
	transition: all 0.5s;
}

/* Nav */
nav {
	padding: 0 50px;
	margin: 0px;
	display: grid;
	grid-template-columns: 390px auto;
	grid-template-areas: "logo menu";
	grid-gap: 0 20px;
	background: #0D202E url(../img/bgnav.jpg) no-repeat right top;
}
nav section {
	text-align: right;
	display: grid;
	grid-template-rows: auto;
	grid-gap: 5px 0;
}
nav img {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
}
nav section {
	text-align: right;
	padding: 10px 0;
}
nav section span:nth-of-type(1) a, nav section span:nth-of-type(1) label {
	font-size: 12px;
	color: #FFF;
	display: inline-block;
	vertical-align: top;
	padding: 2px 7px;
	border-radius: 3px;
	line-height: 13px;
	margin: 0 0 0 5px;
	text-transform: uppercase;
}
nav section span:nth-of-type(1) label, nav section span:nth-of-type(1) a:hover {
	background: #FFF;
	color: #0D202E;
} 
nav section span:nth-of-type(2) ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
nav section span:nth-of-type(2) ul li {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
	color: #FFF;
	font-size: 13px;
}
nav section span:nth-of-type(2) ul li ul {
	position: absolute;
	min-width: 210px;
	border: #CCC 1px solid;
	border-radius: 4px;
	padding: 5px;
	margin: 0 0 0 -160px;
	background: #FFF;
	display: none;
	cursor: pointer;
	cursor: default;
	z-index: 9999;
}
nav section span:nth-of-type(2) ul li:hover > ul {
	display: block;
}
nav section span:nth-of-type(2) li ul li {
	display: block;
	padding: 2px;
	margin: 0px;
	cursor: pointer;
	cursor: default;
}
nav section span:nth-of-type(2) form {
	padding: 0 0 6px 0;
	border-bottom: #CCC 1px dashed;
	margin: 0 0 4px 0;
	text-align: left;
}
nav section span:nth-of-type(2) form label {
	display: inline-block;
	vertical-align: top;
	font-size: 14px;
	color: #0D202E;
}
nav section span:nth-of-type(2) li ul li a {
	color: #0D202E;
	display: block;
	vertical-align: top;
	text-align: left;
}
nav section span:nth-of-type(2) input[type=text], nav section span:nth-of-type(2) input[type=password] {
	display: inline-block;
	vertical-align: top;
	width: 70px;
	border: #000 1px solid;
	-webkit-appearance: none;
	border-radius: 3px;
	margin: 0px;
	padding: 4px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
}
nav section span:nth-of-type(2) img {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	margin: 0 7px 0 0;
}
nav section span:nth-of-type(2) a {
	font-size: 12px;
	display: inline-block;
	vertical-align: top;
	margin: 0px;
	padding: 0px;
	color: #FFF;
}
nav section span:nth-of-type(2) a:hover {
	color: #D25F2D;
}

/* Menu */
nav span:nth-of-type(3) .hamburger {
	display: none;
}
nav span:nth-of-type(3) .hamburger div {
	padding: 0px;
}
nav span:nth-of-type(3) ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
nav span:nth-of-type(3) ul li {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
}
nav span:nth-of-type(3) ul li a, nav span:nth-of-type(3) ul li label {
	color: #FFF;
	display: inline-block;
	vertical-align: top;
	text-transform: uppercase;
	margin: 0px;
	padding: 2px 15px;
	line-height: 20px;
	font-size: 14px;
	border-radius: 2px;
	text-decoration: none;
	font-family: 'Oswald', sans-serif
}
nav span:nth-of-type(3) ul li a:hover, nav span:nth-of-type(3) ul li label:hover, nav span:nth-of-type(3) ul li:hover label {
	background: #FFF;
	color: #0D202E;
	cursor: pointer;
	cursor: hand;
}
nav span:nth-of-type(3) ul li ul {
	position: absolute;
	background: rgba(13, 32, 46, 0.8);
	text-align: left;
	border-radius: 5px;
	padding: 5px;
	display: none;
	z-index: 999;
}
nav span:nth-of-type(3) ul li ul li {
	display: block;
}
nav span:nth-of-type(3) ul li ul li a {
	display: block;
	text-transform: none;
	color: #FFF;
	padding: 3px 10px 3px 10px;
	border-bottom: none;
	margin: 0px;
	border-radius: 3px;
}
nav span:nth-of-type(3) ul li ul li a:hover {
	background: #FFF;
	color: #0D202E;
	border-bottom: none;
}
nav span:nth-of-type(3) ul li:hover ul {
	display: block;
}

/* Header */
header {
	background-size: cover;
	display: grid;
	grid-template-rows: 460px auto;
	grid-template-areas: "null" "form";
	grid-gap: 20px 0;
	min-height: 100px;
	padding: 0 50px;
}
header form {
	grid-area: form;
	justify-self: center;
	padding: 0 0 50px 0;
	white-space: nowrap;
	width: 100%;
	max-width: 655px;
	margin: 0 auto;
	text-align: left;
	white-space: nowrap;
}
header input[type=search] {
	width: 100%;
	max-width: 500px;
	padding: 9px;
	border: none;
	text-align: left;
	outline: none;
	-webkit-appearance: none;
}
header input[type=submit] {
	border-radius: 0px;
	padding: 10px 30px;
	background: #E86B3D;
}
header input[type=submit]:hover {
	background: #0D202E;
}

/* Conteudo */
#corpo {
	max-width: 980px;
	margin: 0 auto 0 auto;
	padding: 40px 0 50px 0;
}
.titulo {
	font-size: 42px;
	text-transform: uppercase;
	padding: 0px;
	margin: 0 0 25px 0;
}
.titulo span {
	font-size: 42px;
	text-transform: uppercase;
	padding: 0px;
	color: #07475C;
}
.subtitulo {
	font-size: 36px;
	text-transform: uppercase;
}
.subtitulo span {
	font-size: 36px;
	text-transform: uppercase;
	padding: 0px;
	color: #07475C;
}
.slogan {
	color: #999;
	font-size: 18px;
	margin: -25px 0 60px 0;
}
.center {
	text-align: center;
}
#paginador {
	padding: 30px 0 0 0;
	text-align: center;
}

/* Primeira página */
#ppagina section {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 40px 20px;
}
#ppagina article {
	border: #CCC 1px solid;
	max-width: 310px;
}
#ppagina article figure {
	overflow: hidden;
	height: 200px;
	display: block;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
	max-width: 100%;
}
#ppagina label {
	display: block;
	vertical-align: top;
	padding: 0 10px 10px 10px;
	color: #999;
	font-size: 14px;
}
#ppagina article figure img {
	display: block;
	vertical-align: top;
	position: relative;
	width: 100%;
	min-height: 200px;
	height: auto;
	z-index: -1;
}
#ppagina article p {
	margin: 0px;
	padding: 5px 10px;
	font-size: 20px;
}
#ppagina div {
	text-align: center;
	padding: 50px 0;
}
#ppagina div a {
	display: inline-block;
	vertical-align: top;
	padding: 6px 20px;
	border-radius: 4px;
	margin: 0px;
	color: #FFF;
	text-transform: uppercase;
	background: #0D202E;
	font-size: 14px;
}
#ppagina div a:hover {
	background: #D25F2D;
}

/* Barra */
#barra {
	background: url(../img/barra.jpg) no-repeat center center;
	background-size: cover;
	padding: 150px 50px 130px 50px;
	text-align: center;
}
#barra label {
	text-transform: uppercase;
	color: #FFF;
	font-size: 42px;
	font-weight: lighter;
}
#barra div {
	padding: 30px 0 0 0;
}
#barra a {
	display: inline-block;
	vertical-align: middle;
	margin: 0px;
	padding: 7px 20px;
	border-radius: 4px;
	color: #FFF;
	background: #E86B3D;
	text-transform: uppercase;
	font-size: 18px;
}
#barra a:hover {
	color: #E86B3D;
	background: #FFF;
}

/* Contactos */
#contactos {
	padding: 0 50px 80px 50px;
	max-width: 980px;
	margin: 0 auto;
}
#contactos section {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 0 60px;
}
#contactos div ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
#contactos div ul li {
	margin: 0 0  30px 0;
	padding: 0 0 0 30px;
}
#contactos div ul li:last-of-type() {
	margin: 0px;
}
#contactos div ul li:nth-of-type(1) {
	background: url(../img/pointer.jpg) no-repeat left top;
}
#contactos div ul li:nth-of-type(2) {
	background: url(../img/tel.jpg) no-repeat left top;
	background-size: contain;
}
#contactos div ul li:nth-of-type(3) {
	background: url(../img/envelope.jpg) no-repeat left top;
	background-size: 25px auto;
}
#contactos input[type=text], #contactos input[type=email], #contactos input[type=tel], #contactos textarea {
	width: calc(100% - 25px);
	padding: 5px 12px;
	margin: 0 0 6px 0;
}
#contactos form div {
	text-align: right;
	padding: 5px 0 30px 0;
}
#contactos input[type=submit] {
	padding: 10px 25px;
	text-transform: uppercase;
}
#contactos form span {
	display: block;
	vertical-align: top;
	padding: 30px 0 0 0;
}

/* Footer */
footer {
	background: #0D202E;
	padding: 40px 60px;
	display: grid;
	grid-template-columns: 250px 250px auto;
	grid-gap: 20px 20px;
}
footer ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
footer ul li {
	margin: 3px 0 0 0;
}
footer ul p {
	color: #FFF;
	font-size: 18px;
	padding: 0px;
	margin: 0 0 20px 0;
	text-transform: uppercase;
	font-weight: lighter;
}
footer ul li a, #baixo a {
	font-size: 14px;
}
footer ul li a:hover, #baixo a:hover {
	text-decoration: none;
	color: #FFF;
}
footer span {
	text-align: center;
	justify-self: flex-end;
}
footer span img {
	display: block;
	margin: 0 auto 20px auto;
	max-width: 200px;
	height: auto;
	padding: 0px;
}
footer span label {
	color: #999;
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	display: block;
	vertical-align: top;
	padding: 0 0 10px 0;
}
footer span ul li {
	display: inline-block;
	vertical-align: top;
	margin: 0 5px;
}

footer span ul li:nth-of-type(1) a {
	display: inline-block;
	vertical-align: top;
	-webkit-mask: url(../img/facebook.svg) no-repeat center center;
	-webkit-mask-size: cover;
	mask: url(../img/facebook.svg) no-repeat center center;
	mask-size: cover;
	width: 20px;
	height: 20px;
	margin: 0 7px 0 0;
	background-color: #D6D6D6;
	transition: color 0.5s;
}
footer span ul li:nth-of-type(1) a:hover {
	background-color: #FFF;
}
footer span ul li:nth-of-type(2) a {
	display: inline-block;
	vertical-align: top;
	-webkit-mask: url(../img/instagram.svg) no-repeat center center;
	-webkit-mask-size: cover;
	mask: url(../img/instagram.svg) no-repeat center center;
	mask-size: cover;
	width: 20px;
	height: 20px;
	margin: 0 7px 0 0;
	background-color: #D6D6D6;
	transition: color 0.5s;
}
footer span ul li:nth-of-type(2) a:hover {
	background-color: #FFF;
}

/* Aqui começa o diaporama */
#imageFlow * {
	color: #FFF;
}
#imageFlow { 
    position: relative;
	width: 100%; 
    max-width: 965px; 
    height: 450px;
	min-height: 450px;  
    margin-left: 0px;
 
    overflow: hidden; 
    background: #000;
	text-shadow: none;
	color: #FFF;
} 
#imageFlow .diapo { 
    position: absolute; 
    left: -4000px; 
    cursor: pointer; 
    -ms-interpolation-mode: nearest-neighbor; 
} 
#imageFlow .link { 
    border: dotted #fff 1px; 
    margin-left: -1px; 
    margin-bottom: -1px; 
} 
#imageFlow .text { 
    position: absolute; 
    left: 0px; 
    width: 100%; 
    bottom: 16%; 
    text-align: center; 
    color: #FFF; 
    font-family: verdana, arial, Helvetica, sans-serif; 
    z-index: 1000; 
	text-shadow: none;
} 
#imageFlow .title { 
    font-size: 18px; 
    font-weight: bold; 
	text-shadow:none;
	color: #FFF;
} 
#imageFlow .legend { 
    font-size: 10px;
	color: #FFF;
	text-shadow: none;
} 
#imageFlow .scrollbar { 
    position: absolute; 
    left: 10%; 
    bottom: 20px; 
    width: 80%; 
    height: 16px; 
    z-index: 1000; 
} 
#imageFlow .track { 
    position: absolute; 
    left: 1%; 
    width: 98%; 
    height: 16px; 
    filter: alpha(opacity=30); 
    opacity: 0.3;
} 
#imageFlow .arrow-left { 
    position: absolute; 
} 
#imageFlow .arrow-right { 
    position: absolute; 
    right: 0px; 
} 
#imageFlow .bar { 
    position: absolute; 
    height: 16px; 
    left: 25px; 
} 

/* Galeria */
#galeria {
	height: 540px;
	min-height: 540px;
}
#voltar {
	text-align: right;
}
#voltar * {
	color: #333;
	font-weight: bold;
}

/* SDK */
#ampliar {
	display: block;
	background: #999;
	border: #666 1px solid;
	padding: 5px;
	text-align: center;
	color: #FFF;
	margin-top: 210px;
}
#ampliar a {
	color: #FFF;
}
#ampliacao {
	display: none;
	position: fixed;
	left: 50%;
	top: 50%;
	border: #000 1px solid;
	z-index: 9999;
}
#sblock {
	background: #000;
	position: fixed;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	filter: alpha(opacity=70);
	opacity: 0.7;
	z-index: 999;
	display: none;
}
#fechapop {
	background: #FFF;
	padding: 4px;
	padding-left: 10px;
	padding-right: 10px;
	border: #000 1px solid;
	border-top: none;
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 8888;
	display: none;
}
#imgproduto {
	border: #000 1px solid;
	margin-top: 10px;
}

/* Galerias */
article.cube {
	display: table;
	vertical-align: top;
	padding: 20px 0 20px 0;
	margin: 0px;
	border-bottom: #666 1px dashed;
}
article.cube:last-of-type {
	border: none;
}
article.cube figure {
	display: table-cell;
	width: 100px;
	height: 100px;
	vertical-align: top;
	border: #999 1px solid;
}
article.cube figure img {
	width: 100px;
	height: 100px;
}
article.cube span {
	display: table-cell;
	vertical-align: top;
	width: 99%;
	padding: 0 0 0 10px;
}
article.cube p {
	padding: 0px;
	margin: 0 0 10px 0;
}
article.cube label {
	color: #666;
	font-size: 14px;
}
article.cube div {
	text-align: right;
}
article.cube div a {
	display: inline-block;
	vertical-align: top;
	padding: 1px 7px 1px 7px;
	border: #666 1px solid;
	border-radius: 4px;
	font-size: 14px;
}
article.cube div a:hover {
	color: #FFF;
	background: #666;
}

/* Responsivo */
@media only screen and (max-width: 1010px) {
	#corpo {
		padding-left: 50px;
		padding-right: 50px;	
	}
	#corpo *, img {
		max-width: 100%;
		height: auto;
	}
}

@media only screen and (max-width: 950px) {
	nav {
		display: block;
		text-align: center;
	}
	nav section {
		text-align: center;
		padding: 30px 0 0 0;
	}
	nav span:nth-of-type(3) {
		padding: 30px 0;
	}
	nav span:nth-of-type(3) .hamburger {
		display: inline-block;
		margin: 0px;
		padding: 0px;
	}
	nav span:nth-of-type(3) .hamburger div:nth-of-type(1) {
		padding: 0px;
		margin: 0px;
	}
	nav span:nth-of-type(3) ul ul {
		text-align: center;
		padding: 10px;
		margin: 0px;
		left: 0px;
		right: 0px;
		position: absolute;
		z-index: 9999;
		background: rgba(0, 0, 0, 0.5);
		display: none;
	}
	nav span:nth-of-type(3) ul ul li {
		display: block;
		vertical-align: top;
		color: #FFF;
		padding: 10px;
	}
	nav span:nth-of-type(3) ul ul li a, nav span:nth-of-type(3) ul ul li label {
		display: block;
		vertical-align: top;
		color: #FFF;
		font-size: 16pt;
	}
	nav span:nth-of-type(3) ul ul li ul {
		background: none;
		margin: 0px;
	}
	nav span:nth-of-type(3) ul ul li ul {
		position: relative;
		display: block;
		padding: 0px;
		border-radius: 0px;
	}
	nav span:nth-of-type(3) ul ul li ul li a {
		text-align: center;
		font-size: 12pt;
		text-transform: uppercase;
		padding: 7px 0 7px 0;
		margin: 0px;
		color: #FFF;
	}
	nav span:nth-of-type(3) ul ul li ul li a:hover {
		color: #000;
		background: #FFF;
	}
	nav span:nth-of-type(3).is-active ul ul {
		display: block;
	}
	header {
		padding: 0 50px;
	}
	header form {
		white-space: normal;
		text-align: center;
	}
	header form input {
		text-align: left;
		margin: 10px 0;
	}
	
	footer {
		grid-template-columns: auto;
		grid-gap: 20px 20px;
		text-align: center;
	}
	footer span {
		display: inline-block;
		vertical-align: top;
		margin: 30px auto 0 auto;
		text-align: center;
		padding: 0 0 30px 0;
	}
	footer ul {
		display: block;
		margin: 0 0 40px 0;
	}
}

@media only screen and (max-width: 850px) {
	#ppagina section {
		grid-template-columns: auto auto;
	}
	#contactos section {
		grid-template-columns: auto;
	}
}

@media only screen and (max-width: 650px) {
	#ppagina section {
		grid-template-columns: auto;
	}
	#ppagina article {
		max-width: none;
	}
}