* {
	margin: 0;
	padding: 0;
}

@media only screen and (max-width: 720px) {
	body {
		font-size: 18px;
	}
}

@media only screen and (min-width: 721px) {
	body {
		font-size: 24px;
	}
}

body {
	background-image: url(../assets/background.png);
	font-family: 'Open Sans Condensed', sans-serif;
	text-rendering: optimizeLegibility;
	box-sizing: content-box;
}

#load img, #logo img {
	width: 100%;
}

#load {
	z-index: 9999;
	position: fixed;
	height: 100%;
	width: 100%;
	background: #FFF;
}

#load-wrapper {
	display: inline-block;
	width: 350px;
	position: fixed;
	left: 50%;
	top: 50%;
	-webkit-transform: translate3d(-50%, -50%, 0);
	transform: translate3d(-50%, -50%, 0);
	text-align: center;
	font-size: 1.2em;
}

header {
	box-shadow: 0px 2px 3px #888;
	background: #EBC559;
	background: -webkit-linear-gradient(#D2A834, #EBC559);
	background: linear-gradient(#D2A834,#EBC559);
	text-align: center;
}

#logo {
	position: relative;
	display: inline-block;
	width: 300px;
	background: #FFF;
	padding: .5em;
	margin: 0.7em 0 -0.7em 0;
	box-shadow: 0 2px 3px #888;
}

#logo:after {
    content: '';
    position: absolute;
    width: 100%;
    left: -.3em;
    border: 0 solid transparent;
    border-width: 0.7em 0.35em;
    color: #A78629;
	z-index: -1;
	border-bottom: none;
    border-top-color: initial;
    bottom: 0;
}

#nav-wrap {
	text-align: center;
	margin-top: 1em;
}

nav {
	display: inline-block;
	text-align: center;
	background-color: #EBC559;
	box-shadow: 0px 2px 3px #888;
	border-radius: 5px;
}

nav ul {
	list-style: none;
	display: inline;
}

nav ul li {
    display: inline;
}

nav ul a:link, nav ul a:visited {
	text-decoration: none;
	color: #FFF;
	text-shadow: 1px 1px 3px #222;
	font-weight: bold;
	padding: .5em .7em;
	position: relative;
	display: inline-block;
	font-size: 0.9em;
	font-family: 'Syncopate', sans-serif;
}

nav ul a:hover {
	border-radius: 5px;
	background-color: #D2A834;
}

nav ul a:active {
	text-shadow: none;
}

#hero {
	max-width: 900px;
	width: 100%;
	margin: 1em auto;
}

.banner-info {
	display: none;
	position: absolute;
	bottom: 15px;
	right: 15px;
	color: #FFF;
	background: rgba(68,68,68,0.6);
	padding: .5em .7em;
}

.banner-info > * {
	text-shadow: 1px 1px 1px #000;
}

.banner-info h2 {
	font-size: 1.3em;
}

.banner-info p {
	font-size: 1em;
}

.banner-info a {
	text-decoration: none;
	color: #D2A834;
	font-size: 1em;
	font-weight: bold;
}

.banner-info a:hover {
	text-decoration: underline;
}

#bemvindo > *{
	vertical-align: middle;
}

#bemvindo p {
	padding-right: .5em;
	vertical-align: middle;
	text-align: justify;
	display: inline-block;
	max-width: 58%;
	position: relative;
}

#img-holder {
	background: #FFF;
	padding: .2em;
	display: inline-block;
	width: 38%;
	box-shadow: 0px 2px 2px #555;
}

#img-holder img {
	width: 100%;
}

#bemvindo span {
	font-weight: bold;
}

.wrap {
	width: 70%;
	margin: 0 auto;
	padding: 1em;
	background-color: rgba(255,255,255,0.4);
}

.wrap h1 {
	position: relative;
	margin: .5em 0;
	font-family: 'Syncopate', sans-serif;
	font-size: 1.3em;
	padding-left: 2em;
}

.wrap h1:before {
	content: '';
	display: inline-block;
	position: absolute;
	left: 0;
	top: 50%;
	width: 2em;
	height: 0.1em;
	background-color: #EBC559;
}

.wrap p {
	font-size: 1em;
}

.wrap p a, .wrap p a:visited {
	text-decoration: none;
	color: #e7b012;
}

.wrap p a:hover {
	text-decoration: underline;
}

.categoria {
	text-align: center;
	width: 60%;
	margin: 0 auto;
}

.categoria h2 {
	display: inline-block;
	padding: 10px;
	margin: 10px;
	font-size: 1.75em;
	color: #e7b012;
	text-shadow: 1px 1px 2px #222;
}

.categoria h2.texto-grande {
	font-size: 2em;
}

.categoria h2.texto-pequeno {
	font-size: 1.5em;
}

#info {
	text-align: center;
}

.wrap .info hr {
	background-color: #EBC559;
	box-shadow: 1px 1px 2px #888;
	height: .1em;
	border: 0;
	width: 100%;
}


.wrap .info ul {
	font-size: 1em;
	vertical-align: middle;
	list-style: none;
	display: inline-block;
	padding: .1em 2em;
	text-align: justify;
}

.wrap .info ul li {
	margin: 15px 0;
	padding-left: 1.66em;
}

.horas {
	font-size: .8em;
}

#gmap {
	position: relative;
	padding-bottom: 33%;
	width: 75%;
	margin: 0 auto;
	height: 0;
	overflow: hidden;
}

#gmap iframe {
	margin: 15px auto;
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

#morada, #horario, #telefone, #telemovel, #email {
	position: relative;
}

#morada:before, #horario:before, #telefone:before, #telemovel:before, #email:before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	height: 1.2em;
	width: 1.2em;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background-image: url(../assets/icon_sprite.png);
	background-size: 506.35% 180.95%;
}

#morada:before {
	background-position: 75% 0;
}

#horario:before {
	background-position: 25% 0;
}

#telefone:before {
	background-position: 0 0;
}

#telemovel:before {
	background-position: 100% 0;
}

#email:before {
	background-position: 50% 0;
}

#fb {
	position: relative;
	padding-left: 1.2em;
	display: inline-block;
	text-decoration: none;
	color: #000;
	border-bottom: 1px solid transparent;
}

#fb:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 1.2em;
	height: 1.2em;
	background-image: url(../assets/icon_sprite.png);
	background-size: 638% 228%;
	background-position: 0 100%;
}

#fb:hover {
	border-bottom: 1px solid #3B579D;
}

#fb:hover:before {
	background-position: 18.96% 100%;
}

footer {
	text-align: center;
	padding: 1em;
	margin-top: 20px;
	background: -webkit-linear-gradient(#D2A834, #EBC559);
	background: linear-gradient(#D2A834, #EBC559);
	box-shadow: 0px -2px 3px #888;
}

footer p {
	font-weight: bold;
	color: #DDD;
	text-shadow: 1px 1px 3px #333;
	font-size: 1em;
}

#topo {
	display: none;
	position: fixed;
	right: 1em;
	bottom: 4em;
	width: 3.33em;
	height: 3.33em;
	background-color: #D2A834;
	border-radius: 0.3em;
	opacity: 0.5;
}

#topo:before {
	content: 'Início';
	color: white;
	font-size: 1em;
	position: absolute;
	bottom: .1em;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

#topo:after {
	content: '';
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	top: -.6em;
	border-bottom: 1.2em solid white;
	border-left: 1.2em solid transparent;
	border-right: 1.2em solid transparent;
	border-top: 1.2em solid transparent;
}

#topo:hover {
	opacity: 1;
	cursor: pointer;
}
