/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

/*Orange color #e67e22*/
/*------------------------------------------------------------------*/
/*Configura�oes b�sicas*/
/*------------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  background-color: #fff;
  color: #555;
  font-family: "Lato", "Arial", sans-serif;
  font-weight: 300;
  /*Aqui definimos o tamanho da fonte para todo o site*/
  font-size: 20px;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.clearfix {
  zoom: 1;
}
.clearfix:after {
  content: ".";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

/*------------------------------------------------------------------*/
/*Componentes reutiliz�veis em todo o site*/
/*------------------------------------------------------------------*/
.row {
  max-width: 1140px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

.box {
  padding: 1%;
}
/*------------------------------------------------------------------*/
/*HEADINGS*/
/*------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------------------------*/
/*Aqui o tamanho de h1 � relativo, ou seja se alterar a font-size em html tb altera aqui em termos percentuais*/
/*ou seja a fonte h1 � 240% maior que 20px definidos na tag html tem portanto +- 48px*/
/*porque � 240% maior que 20px, o tamanho base para todo o site*/
/*---------------------------------------------------------------------------------------------------------------*/
h1,
h2,
h3 {
  font-weight: 300;
  text-transform: uppercase;
}
h1 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #fff;
  font-size: 240%;
  word-spacing: 4px;
  letter-spacing: 1px;
}

h2 {
  margin-top: 60px;
  font-size: 180%;
  word-spacing: 2px;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

h2:after {
  display: block;
  height: 2px;
  background-color: #e67e22;
  content: " ";
  width: 100px;
  margin: 0 auto;
  margin-top: 30px;
}
h3 {
  font-size: 110%;
  margin-bottom: 22px;
}

/*------------------------------------------------------------------*/
/*PARAGRAPHS*/
/*------------------------------------------------------------------*/
.long-copy {
  line-height: 145%;
  width: 100%;
  margin-bottom: 200px;
  /*margin-left: 5%;*/
}

.box p {
  font-size: 90%;
  line-height: 145%;
}

/*------------------------------------------------------------------*/
/*ICONS*/
/*------------------------------------------------------------------*/
.icon-big {
  font-size: 32px;
  display: block;
  color: #e67e22;
  margin-bottom: 10px;
}

.icon-small {
  display: inline-block;
  width: 30px;
  text-align: center;
  color: #e67e22;
  font-size: 120%;
  margin-right: 10px;
  /*secrets to align text and icons*/
  line-height: 120%;
  vertical-align: middle;
  margin-top: -5px;
}

/*------------------------------------------------------------------*/
/*BUTTONS*/
/*------------------------------------------------------------------*/

a:link,
a:visited {
  color: #e67e22;
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid #e67e22;
  -webkit-transition: border-bottom 0.2s, color 0.2s;
  -o-transition: border-bottom 0.2s, color 0.2s;
  transition: border-bottom 0.2s, color 0.2s;
}
a:hover,
a:active {
  color: #555;
  border-bottom: 1px solid transparent;
}

/*------------------------------------------------------------------*/
/*BUTTONS*/
/*------------------------------------------------------------------*/
/*------------------------------------------------------------------*/
/*o botao no seu estado normal e visitado tem o mesmo estilo*/
/*------------------------------------------------------------------*/
.btn:link,
.btn:visited,
input[type="submit"] {
  display: inline-block;
  padding: 10px 30px;
  font-weight: 300;
  text-decoration: none;
  border-radius: 200px;
  -webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
  -o-transition: background-color 0.2s, border 0.2s, color 0.2s;
  transition: background-color 0.2s, border 0.2s, color 0.2s;
}

/*--------------------------------------------------------------------*/
/*o botao btn-full no seu estado normal e visitado tem o mesmo estilo*/
/*--------------------------------------------------------------------*/
.btn-full:link,
.btn-full:visited,
input[type="submit"] {
  background-color: #e67e22;
  border: 1px solid #e67e22;
  color: #fff;
  margin-right: 15px;
}
/*--------------------------------------------------------------------*/
/*o botao btn-ghost no seu estado normal e visitado tem o mesmo estilo*/
/*--------------------------------------------------------------------*/
.btn-ghost:link,
.btn-ghost:visited {
  border: 1px solid #e67e22;
  color: #e67e22;
}
/*--------------------------------------------------------------------*/
/*o botao btn on mousse-over*/
/*--------------------------------------------------------------------*/
.btn:hover,
.btn:active,
input[type="submit"]:hover,
input[type="submit"]:active {
  background-color: #cf6d17;
}
/*--------------------------------------------------------------------*/
/*o botao btn-full no seu estado activo ou hover*/
/*--------------------------------------------------------------------*/
.btn-full:hover,
.btn-full:active {
  border: 1px solid #cf6d17;
}
/*--------------------------------------------------------------------*/
/*o botao btn-ghost no seu estado activo ou hover*/
/*--------------------------------------------------------------------*/
.btn-ghost:hover,
.btn-ghost:active {
  border: 1px solid #cf6d17;
  color: #fff;
}

/*------------------------------------------------------------------*/
/*HEADER*/
/*------------------------------------------------------------------*/

header {
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.7)),
      to(rgba(0, 0, 0, 0.7))
    ),
    url(img/hero.jpg);
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(img/hero.jpg);
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(img/hero.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
}

.section-home-folio {
  /*background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.7))), url(img/hero.png);
	background-image: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/hero.png);
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/hero.png);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;*/
  height: auto;
}
/*------------------------------------------------------------------*/
/*vou querer uma posi�ao absoluta para a class "hero-text-box"*/
/*com "top" e "left" vou definir a posi�ao absoluta*/
/*com transform vou definir a posi�ao absoluta centrado*/
/*------------------------------------------------------------------*/
.home-text-box {
  position: absolute;
  width: 1140px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/*------------------------------------------------------------------*/
/*Logo*/
/*------------------------------------------------------------------*/
.logo {
  height: 60px;
  width: auto;
  float: left;
  margin-top: 20px;
}
/*logo black n�o vai ser mostrado at�*/
.logo-black {
  display: none;
  height: 60px;
  width: auto;
  float: left;
  margin: 5px 0;
}

/*--------------------------------------------------------------------*/
/*Main Navigation*/
/*Aqui atribuimos ao tamanho do texto 18px que � 18/20=0.9=90% de 20px*/
/*--------------------------------------------------------------------*/
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(126, 126, 126, 0.98);
  box-shadow: 0 2px 2px #1d1d1d;
  z-index: 9999;
}

/*.nav-sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.98);
	box-shadow: 0 2px 2px #efefef;
	z-index: 9999;
}*/

.main-nav {
  float: right;
  list-style: none;
  margin-top: 55px;
}

.main-nav li {
  display: inline-block;
  margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
  padding: 8px 0;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 90%;
  border-bottom: 2px solid transparent;
  -webkit-transition: border-bottom 0.2s;
  -o-transition: border-bottom 0.2s;
  transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
  border-bottom: 2px solid #e67e22;
}

/*--------------------------------------------------------------------*/
/*Mobile navi*/
/*--------------------------------------------------------------------*/
.mobile-nav-icon {
  float: right;
  margin-top: 30px;
  cursor: pointer;
  display: none;
}

.mobile-nav-icon i {
  font-size: 200%;
  color: #fff;
}
/*--------------------------------------------------------------------*/
/*Sticky navi*/
/*a navega�ao vai estar sempre presente na sec��o actual*/
/*--------------------------------------------------------------------*/
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 2px #efefef;
  z-index: 9999;
}

.sticky .main-nav {
  margin-top: 18px;
}

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
  padding: 17px 0;
  color: #555;
}

/*mas se logo-black estiver dentro da sticky  main-nav vai aparecer*/
/*e se logo estiver dentro de sticky n�o vai aparecer*/
.sticky .logo {
  display: none;
}

.sticky .logo-black {
  display: block;
}

/*--------------------------------------------------------------------*/
/*SECTION-studio*/
/*vamos alterar a margin de studiomission mas somente dentro de .section-*/
/*studio*/
/*--------------------------------------------------------------------*/
.section-studio .studioMission {
  margin-bottom: 30px;
}

/*------------------------------------------------------------------*/
/*project*/
/*os elementos "li" tem um "width" de 25% porque s�o 4 elementos que*/
/*a class .meal-photo img = 100% vai garantir que a imagem tem mesmo*/
/*100% de largura, a altura � definida automaticamente*/
/*na totalidade d� 100% da largura*/
/*a propriedade "transform" em ".meal-photo img" aumenta a imagem*/
/*115% e a propriedade "overflow" em .meal-photo esconde o aumento*/
/*para n�o ser maior que o container ".meal-photo" */
/*.meal-photo img:hover vai escalar at� 1.03 para n�o ficar com uma*/
/*linha branca entre as*imagens*/
/*------------------------------------------------------------------*/
.section-project {
  padding: 80px 0;
}
.project-showcase {
  list-style: none;
  width: 100%;
  align-items: center;
}

.project-showcase li {
  display: block;
  padding: 6px 6px;
  float: left;
  width: 24.99999%;
}

.project-photo {
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.project-photo img {
  opacity: 0.7;
  width: 100%;
  height: auto;
  -webkit-transform: scale(1.15);
  -ms-transform: scale(1.15);
  transform: scale(1.15);
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, -webkit-transform 0.5s;
  -o-transition: transform 0.5s, opacity 0.5s;
  /*transition: transform 0.5s, opacity 0.5s;*/
  /*transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;*/
}

.project-photo img:hover {
  opacity: 1;
  -webkit-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
}

/*------------------------------------------------------------------*/
/*texto overlay*/
/*------------------------------------------------------------------*/
/*
.overlay {
  position: absolute; 
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
/* color: #f1f1f1; 
  width: 100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 10px;
  padding: 0 0 15px 15px;
  text-align: left;
}

.project-photo:hover .overlay {
  opacity: 1;
}
*/

/*
<h2>Image Overlay Title</h2>
<p>Hover over the image to see the effect.</p>

<div class="container">
  <img src="img_avatar.png" alt="Avatar" class="image">
  <div class="overlay">
  	<h2>Projecto no Rio boco</h2>
    <h3>Arquitectura: Victor Cruz</h3>
    <h4>Cliente: Urbicruz, Lda</h4>
  </div>
</div>*/
/*--------------------------------------------------------------------*/
/*HOW IT WORKS*/
/*--------------------------------------------------------------------*/

.section-steps {
  background-color: #f4f4f4;
}

.steps-box:first-child {
  text-align: right;
  padding-right: 3%;
}

.steps-box:last-child {
  padding-left: 3%;
  margin-top: 30px;
  margin-bottom: 70px;
}

.dev-project {
  width: 40%;
}

.works-step {
  margin-bottom: 50px;
}

.works-step:last-of-type {
  margin-bottom: 80px;
}

.works-step div {
  color: #e67e22;
  font-size: 150%;
  height: 50px;
  width: 50px;
  border: 2px solid #e67e22;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  margin-right: 25px;
  float: left;
  padding: 5px;
}
.btn-app:link,
.btn.app:visited {
  border: 0;
}

.btn-app img {
  height: 50px;
  width: auto;
  margin-right: 15px;
}

/*--------------------------------------------------------------------*/
/*CITIES*/
/*".box img" vai fazer com que as imagens tenham exactamenta a largura*/
/*da box, com uma margem de 15px*/
/*--------------------------------------------------------------------*/

.box img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.city-feature {
  margin-bottom: 5px;
}

/*--------------------------------------------------------------------*/
/*TETIMONIALS*/
/*".box img" vai fazer com que as imagens tenham exactamenta a largura*/
/*da box, com uma margem de 15px*/
/*--------------------------------------------------------------------*/

.section-tetimonials {
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.8)),
      to(rgba(0, 0, 0, 0.8))
    ),
    url(img/back-customers.jpg);
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(img/back-customers.jpg);
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(img/back-customers.jpg);
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
}

blockquote {
  padding: 5px 25px;
  font-style: italic;
  line-height: 145%;
  font-size: 95%;
  /*quando fazemos um elemento child com posi��o absoluta*/
  /*temos que fazer o seu "pai" com posi��o relativa*/
  position: relative;
  margin-top: 40px;
}

blockquote:before {
  content: "\201C";
  font-size: 500%;
  display: block;
  /*quando fazemos um elemento child com posi��o absoluta*/
  /*temos que fazer o seu "pai" com posi��o relativa*/
  position: absolute;
  top: -5px;
  left: 10px;
}

cite {
  font-size: 90%;
  margin-top: 25px;
  display: block;
}

cite img {
  height: 45px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

/*--------------------------------------------------------------------*/
/*SIGN UP PLANS*/
/*--------------------------------------------------------------------*/

.section-plans {
  background-color: #f4f4f4;
}

.plans-box {
  background-color: #fff;
  border-radius: 5px;
  width: 90%;
  margin-left: 5%;
  -webkit-box-shadow: 0 2px 2px #efefef;
  box-shadow: 0 2px 2px #efefef;
}

.plans-box div {
  padding: 15px;
  border-bottom: 1px solid #e8e8e8;
}

.plans-box div:first-child {
  background-color: #fcfcfc;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.plans-box div:last-child {
  text-align: center;
  border: 0;
}

.plans-price {
  font-size: 300%;
  margin-bottom: 10px;
  font-weight: 100;
  color: #e67e22;
}

.plans-price span {
  font-size: 30%;
  font-weight: 300;
}

.plans-price-meal {
  font-size: 80%;
}

.plans-box ul {
  list-style: none;
}

.plans-box ul li {
  padding: 5px 0;
}

/*--------------------------------------------------------------------*/
/*FORM*/
/*--------------------------------------------------------------------*/
.section-form p {
  text-align: center;
  padding: 0 0 20px 0;
}

.contact-form {
  width: 60%;
  margin: 0 auto;
}

/*seleciona so os elementos dentro de [BRACKETS]*/
input [type="text"],
input [type="email"],
select,
textarea {
  width: 100%;
  padding: 7px;
  border-radius: 3px;
  border: 1px solid #ccc;
}

textarea {
  height: 100px;
}

input[type="checkbox"] {
  margin: 10px 5px 10px 0;
}

/*todos os elementos de form ficam sem a borda azul onMousseOver*/
*:focus {
  outline: none;
}

.map-box {
  width: 100%;
  height: 630px;
  position: relative;
}

.map {
  width: 100%;
  height: 630px;
  position: relative;
  z-index: 0;
}

.form-box {
  position: absolute;
  width: 50%;
  top: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
  height: 630px;
  padding-top: 40px;
}

.form-messages {
  width: 70%;
  margin: 0 auto;
  padding: 10px;
  border-radius: 3px;
  margin-bottom: 30px;
  color: #333;
}

.success {
  background-color: rgba(25, 188, 56, 0.82);
}

.error {
  background-color: rgba(209, 46, 45, 0.84);
}
/*--------------------------------------------------------------------*/
/*FOOTER*/
/*--------------------------------------------------------------------*/

footer {
  background-color: #333;
  padding: 40px;
  font-size: 90%;
}

.footer-nav {
  list-style: none;
  float: left;
}

.social-links {
  list-style: none;
  float: right;
}

.footer-nav li,
.social-links li {
  display: inline-block;
  margin-right: 20px;
}

.footer-nav li:last-child,
.social-links li:last-child {
  margin-right: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
  text-decoration: none;
  border: 0;
  color: #888;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
  text-decoration: none;
  border: 0;
  color: #ddd;
}

.social-links li a:link,
.social-links li a:visited {
  font-size: 160%;
}

.ion-social-facebook,
.ion-social-twitter,
.ion-social-googleplus,
.ion-social-instagram {
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.ion-social-facebook:hover {
  color: #3b5998;
}
.ion-social-twitter:hover {
  color: #00aced;
}
.ion-social-googleplus:hover {
  color: #dd4b39;
}
.ion-social-instagram:hover {
  color: #517fa4;
}

footer p {
  color: #888;
  text-align: center;
  margin-top: 20px;
}

/*--------------------------------------------------------------------*/
/*back to top btn*/
/*--------------------------------------------------------------------*/

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #e67e22; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #cf6d17; /* Add a dark-grey background on hover */
}
/*--------------------------------------------------------------------*/
/*ANIMATIONS*/
/*--------------------------------------------------------------------*/
.js--wp-1,
.js--wp-2,
.js--wp-3 {
  opacity: 0;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

.js--wp-4 {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated {
  opacity: 1;
}
