/* @override 
	http://aapb.pt/3.0/css/main.css */

@charset "UTF-8";
/* CSS Document */

/*---------------------------------
	IMPORTS
-----------------------------------*/

@import url(fonts/fontawesome/css/font-awesome.min.css);


/* Resets & Overrides */
*{	
	margin:0;
	padding:0;
}

img, fieldset{
	border:none;
}

a{
	text-decoration:none;
}

/*----------------------------------
	Basic HTML Elements
------------------------------------*/

/* Body  and links*/
body{
	
	font: .75em 'Lucida Sans Unicode', 'Lucida Grande', Lucida, Helvetica, Arial, sans-serif; 
	background: #000;
	color: #fff;
}


a{
	color:#fff;
	background: #000;
	-webkit-transition: background .5s; /* Safari and Chrome */	
	   -moz-transition: background .5s; /* Firefox 4 */
	     -o-transition: background .5s; /* Opera */
	        transition: background .5s;
}
	
a:hover{
	text-decoration:underline;
	color:#000;
	background: #fff;
	-webkit-transition: background .3s; /* Safari and Chrome */
	   -moz-transition: background .3s; /* Firefox 4 */
	     -o-transition: background .3s; /* Opera */
	        transition: background .3s;
}
	


/* Form tags */
legend{
	width:98%;
	padding:2px 10px;
	font-size:14px;
	font-weight:bold;
}

input{
	padding:2px 2px;
	background:#fff;
	margin:2px 2px 2px 0px;
	font:12px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	border: 1px solid #333;
}

select{
	padding:2px 2px;
	border:solid 1px #ccc;
	margin:2px 2px 2px 0px;
	font:12px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	background: #fff;
}

label{
	float: left;
}

button{
	margin: .5em;
	padding: .3em .5em;
	font:1.2em Helvetica, Arial, sans-serif;
	border: none;
	cursor: pointer;
	width:auto;
}

/* Typography */

h1{
	font:1.2em Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}

h2{
	font:bold 13px Helvetica, Arial, sans-serif;
	color:#000;
	margin:.3em 0;
	padding:.4em .4em;
	display: block;
	background: rgba(255,255,255,1);
}

h3{
	font: Helvetica, Arial, sans-serif;
	color:#000;
}


h4{
	font:lighter 20px Helvetica, Arial, sans-serif;
	color:#000;
	margin-top:0px;
	margin-bottom:10px;
}

p{
	padding:.4em .3em;
}

pre {
	font:12px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	padding: 0.1em 0.5em 0.3em 0.7em;
	margin: 0 auto;
	overflow: auto;
}


/*------------------------------------*\
    Page barebones
\*------------------------------------*/

/*Sections and Header*/
section#wrapper{ 
	margin: 0 auto;
	padding:0px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	width:1024px;
	
}

section#social{
	position: fixed;
	top: 100px;
	left: 0;
	z-index: 2;
}

section#social a{
	color: #fff;
	display: block;
	width: 20px;
	height: 20px;
	text-align: center;
	margin: 10px 0;
	font-size: 14px;
}

section#social a:hover{
	color: #000;
	text-decoration: none;
}

section#content{
	margin: 10px;
	min-height:500px;
	z-index: 1;
}

header{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	padding: 0 10px;
	z-index: 20;
	background: rgba(0,0,0, .85);
}

header img{
	float: left;
	margin: 0 20px 0 0;
}


/* NavBar & Nav */
nav{
 font: normal 12px "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}

nav ul{
	list-style: none;
}

nav ul li{
	list-style: none;
	float: left;
	padding: 40px 30px 0 0;
}

nav li a:link, nav li a:visited {
	background: #000 url(../images/arrow_down_hvr.png) no-repeat 98% 50%;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	padding: 4px 20px 3px 4px;
	display: block;
}

nav ul li a:hover{
	background:#eee url(../images/arrow_down.png) no-repeat 98% 50%;
	color: #000;
	text-decoration: none;
}

nav ul li ul{
	position:absolute;
	display:none;
	transition: visibility .5s;
	-moz-transition: visibility .5s; /* Firefox 4 */
	-webkit-transition: visibility .5s; /* Safari and Chrome */
	-o-transition: visibility .5s; /* Opera */
	background-color:#111;
	/*padding:5px 0 10px 5px;
	margin: 1px 0 0 0;*/
	z-index: 100;
	min-width: 160px;
}

nav ul li ul li {
	display:inline;
	float:none;
	padding:0;
}

nav ul li ul li a:link, nav ul li ul li a:visited {
	background: #000 url(../images/arrow_right_hvr.png) no-repeat 98% 50%;
	background-color:#111;
	width:auto;
}

nav ul li ul li a:hover {
	background-color:#fff;
	background:#eee url(../images/arrow_right.png) no-repeat 98% 50%;	
}


/*content tags*/

article{
	max-width: 600px;
	z-index: 2;
	margin: 90px 50px;
}

hgroup{
	position: fixed;
	left: 3em;
	bottom: 3em;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	padding: 4px;
	z-index: 40;
	
}

footer{
	background: rgba(0, 0, 0, 0.8);
	position: fixed;
	bottom: 3em;
	right: 3em;
	z-index: 50;
}

#bodyContent{
	color: #000;
}

#gallery{
	position:fixed;
	top:65px;
	left:0px;
	bottom: 0px;
	width:100%;
	overflow:auto;
	background: #000;
	background-repeat: no-repeat;
	    background-position: center;
	    background-attachment: fixed;
	    -webkit-background-size: cover;
	    -moz-background-size: cover;
	    -o-background-size: cover;
	    background-size: cover;
}

#container {
    width: 90%;
    margin: 80px auto;
    display: none;
}
 
.item {
	border:solid 1px #595959;
	float: left;
}

.item:hover, .item:active{
    border:solid 1px #fff;
}

#infoWindow{
	max-width: 300px;
}

.gmap-popup {
  max-width:304px;
}

#infoWindow, #infoWindow p{
	font-size: 13px;
	line-height: 15px;
}

#formTitle{
	display: block;
	clear:both;
}

#formTitle h2{
	display: block;
	margin: 0 26px 2px 0;
	height: 14px;
}

#formTitle a{
	position: absolute;
	top: 5px;
	right: 4px;
	width: 24px;
	height: 24px;
}

#formContact{
	z-index: 2;
	position: relative;
	visibility: hidden;
}

#formContact label{
	width: 20%;
	padding: 0 0.5em;
}

#formContact textarea{
	vertical-align: top;
}

#formContact button{
	background: #fff;
	transition: background .3s;
	-moz-transition: background .3s; /* Firefox 4 */
	-webkit-transition: background .3s; /* Safari and Chrome */
	-o-transition: background .3s; /* Opera */
	color: #000;
}
#formContact button:hover{
	background: #000;
	transition: background .3s;
	-moz-transition: background .3s; /* Firefox 4 */
	-webkit-transition: background .3s; /* Safari and Chrome */
	-o-transition: background .3s; /* Opera */
	color: #fff;
}


#signature{
	position: fixed;
	bottom: 1.5em;
	right: 3em;
	z-index: 50;
	/*
	-webkit-transform: translate(30px, -60px) rotate(-90deg);
	   -moz-transform: translate(30px, -120px) rotate(-90deg);	
		 -o-transform: translate(30px, -120px) rotate(-90deg); 
		    transform: translate(30px, -120px) rotate(-90deg);
		    */

}

#signature a, #signature a:hover{
 background: none;
 
}

a.back{
	background: #111 url(../images/arrow_left_hvr.png) no-repeat center center;
	text-decoration: none;
	text-transform: uppercase;
	padding: 2px 15px 3px 6px;
	display: inline;
}

a.back:hover{
	background:#eee url(../images/arrow_left.png) no-repeat center center;
	color: #000;
	text-decoration: none;
}

a.close{
	background: #111 url(../images/close.png) no-repeat center center;
	text-decoration: none;
}

a.close:hover{
	background:#eee url(../images/close_hvr.png) no-repeat center center;
	text-decoration: none;
}



@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

#spiner{
	width: 24px;
	height: 24px;
	position: absolute;
	background: url('../images/spiner.png') no-repeat center center;
	top: 50%;
	left: 50%;
	margin-top: -12px;
	margin-left: -12px;
	-webkit-animation-name: spin;
    -webkit-animation-duration: 2000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 2000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 2000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    animation-name: spin;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.screen{
	background: rgba(0, 0 , 0 ,0.8);
	padding: 10px;
}



/* Mobile navigation */
.navbar {
  -webkit-transition: -webkit-transform .5s .5s, background .5s, color .1s;
     -moz-transition:    -moz-transform .5s .5s, background .5s, color .1s;
       -o-transition:      -o-transform .5s .5s, background .5s, color .1s;
          transition:         transform .5s .5s, background .5s, color .1s;
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
}

.navbar-show {
  opacity: 1;
  -webkit-transition: -webkit-transform .25s, background 2s, color .3s;
     -moz-transition:    -moz-transform .25s, background 2s, color .3s;
       -o-transition:      -o-transform .25s, background 2s, color .3s;
          transition:         transform .25s, background 2s, color .3s;
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
}

.navbar-hide {
  opacity: 0;
  -webkit-transition: -webkit-transform .2s, background .3s, color .3s, opacity 0 .3s;
     -moz-transition:    -moz-transform .2s, background .3s, color .3s, opacity 0 .3s;
       -o-transition:      -o-transform .2s, background .3s, color .3s, opacity 0 .3s;
          transition:         transform .2s, background .3s, color .3s, opacity 0 .3s;
  -webkit-transform: translate(0, -80px);
      -ms-transform: translate(0, -80px);
          transform: translate(0, -80px);
}

.nav-mobile {
	display:none; /* Hide from browsers that don't support media queries */
	cursor:pointer;
	position:absolute;
	top:8px;
	right:28px;
	background:#1e1e1e url(../images/nav.svg) no-repeat center center;
	background-size:18px;
	height:50px;
	width:50px;
}


/*------------------------------------*\
    Media Queries
\*------------------------------------*/

@media only screen and (min-width: 320px) and (max-width: 768px) {
	.nav-mobile {
		display:block;
	}
	nav {
		width:100%;
		display:none;
		font-size: 14px;
	}
	
	nav ul li {
		width:100%;
		clear: both;
		padding: 0;
	}

	nav ul li ul{
		position:static;
		width:100%;
		border-top: 1px solid #000;
		border-bottom: 1px solid #333;
	}
	
		
	nav ul li ul li a:link, nav ul li ul li a:visited {
		background:#1f1f1f;
		padding-left: 1em;
	}
	
	nav ul li ul li a:hover{
		color: #000;
		background: #fff;
	}
	
	article{
		max-width: 100%;
		padding: 5px;
		margin: 80px 5px;
	}
	
	hgroup{
	 	left: 2px;
	 	bottom: 2px;	
	}
	
	footer, #signature{
		display: none;
	}
	
	input, textarea{
		width: 100%;
	}
}

/*------------------------------------*\
    Media Queries
\*------------------------------------*/

.left{
	text-align: left;
}

.center{
	text-align: center;
}

.right{
	text-align: right;
}