body {
  /* Quando utilizar fontes do Google Fonts utilizar o nome da fonte como está no site. */
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #666;
  line-height: 1.7;
}

a {
  transition: color 0.2s linear, border 0.2s linear;
  text-decoration: none;
  border-bottom: 1px dotted;
  color: #49bf9d;
}

p {
  margin: 0 0 2em;
}

a:hover {
  border-bottom-color: transparent;
}

.imagem-link {
  border: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #787878;
  font-weight: normal;
  margin: 1em 0;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}
h3 {
  font-size: 26px;
}
h4 {
  font-size: 22px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 15px;
}

sub,
sup {
  font-size: 12px;
}

blockquote {
  border-left: 5px solid #efefef;
  font-style: italic;
  margin: 2em 0;
  padding: 0.5em 0 0.5em 1.5em;
}

code {
  background: #f7f7f7;
  border-radius: 0.35em;
  border: 2px solid #efefef;
  font-size: 0.9em;
  padding: 0.25em 0.65em;
  /* Não podemos utilizar o display block aqui para não quebrar o code que está na linha superior do html.*/
  /* display: block; */
  font-family: 'Courier New', Courier, monospace;
  color: #929292;
}

pre code {
  display: block;
}

ul,
ol {
  padding: 0;
  margin: 0;
  padding-left: 1.1em;
  /* list-style-position: inside; */
}

li {
  padding-left: 0.5em;
}

.ul-alternate {
  list-style-type: none;
  padding-left: 0;
}

.ul-alternate li {
  border-bottom: 2px solid #d8d8d8;
  padding-left: 0;
}

.ul-alternate li:last-child {
  border: 0;
}

.ul-icons {
  list-style-type: none;
  padding-left: 0;
}

.ul-icons li {
  display: inline-block;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 35%;
  padding: 124px 54px 72px;
  box-sizing: border-box;
  background-image: url(../images/overlay.png), url(../images/bg.jpg);
  background-position: left top;
  background-size: auto, cover;
  text-align: right;
}

/* Evitar utilizar a estilização com classes e tags. Procurar sempre criar classes específicas para cada elemento que será estilizado.*/
/*
.main-header h1 {
}
*/
.main-header-title {
  font-size: 22px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
}

.main-header-title strong {
  color: white;
}

.main-header-link {
  color: inherit;
}

.main-header-link:hover {
  color: #49bf9d;
}

.main-content {
  width: 65%;
  margin-left: 35%;
  padding: 124px 54px 72px;
  box-sizing: border-box;
}

input,
label,
textarea,
select {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

input,
textarea,
select {
  background: #ccc;
  padding: 15px;
  border-radius: 5px;
  border: 2px solid transparent;
  margin-bottom: 15px;
}

/*  Seleção por atributo 
input[type='text'] {
  background: red;
} */

input[type='radio'],
input[type='checkbox'] {
  width: auto;
}

input:focus,
textarea:focus {
  border: 2px solid #49bf9d;
  outline: none;
}

textarea {
  height: 10em;
}

.button-default {
  background-color: #49bf9d;
  border: 3px solid #49bf9d;
  color: #fff;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  font-size: 0.8em;
  display: inline-block;
  width: auto;
  transition: all 0.5s;
  cursor: pointer;
}

.button-default:hover {
  background-color: #5ddeb9;
  /* border: 3px solid #5ddeb9; */
  border-color: transparent;
}

.button-default-stroke {
  background-color: #fff;
  border-color: #efefef;
  color: inherit;
}

.button-default-stroke:hover {
  color: #49bf9d;
  border-color: #49bf9d;
  background-color: #fff;
}

.button-small {
  font-size: 0.6em;
}

.button-big {
  font-size: 1em;
}
.button-full {
  /* width: 100%; */
  display: block;
  text-align: center;
}

.table {
  width: 100%;
  margin: 0 0 2em 0;
  border-collapse: collapse;
  text-align: left;
}

.table td {
  padding: 0.75em;
}

.table th {
  background: #ccc;
  padding: 0.75em;
}

.table tbody tr td {
  border-bottom: 1px solid #ccc;
}
.table tbody tr:first-child td {
  border-top: 2px solid #666;
}
.table tbody tr:last-child td {
  border-bottom: 2px solid #666;
}

/* A pseudo-classe nth-child(n) seleciona a 'n' filha da classe selecionada. No caso da tabela, pega a 'n' linha (tr) da tabela.*/
.table tbody tr:nth-child(even) td {
  background: #eee;
}

.table-alternate tbody td,
.table-alternate tbody tr:first-child td,
.table-alternate tbody tr:last-child td {
  border: 1px solid #ddd;
}

.main-header-link img {
  border-radius: 50%;
  overflow: hidden;
}

.recent-works-card img {
  border-radius: 10px;
  overflow: hidden;
}

.gallery-img {
  /* background: red; */
}
.gallery-img img {
  width: 100%;
}

.gallery-thumb img,
.gallery-img img {
  border-radius: 5px;
  margin-bottom: 2%;
  display: inline-block;
  /* background: orange; */
}

.text-left p img {
  /* display: inline-block; */
  float: left;
  margin-right: 10px;
}

.text-right p img {
  /* display: block; */
  /* position: fixed right; */
  float: right;
  margin-left: 10px;
}

.main-footer {
  position: fixed;
  bottom: 0px;
  width: 35%;
  left: 0;
  padding: 0px 54px 72px 0;
  box-sizing: border-box;
  text-align: right;
}

.copyright li {
  display: inline;
}

/* position: fixed;
top: 0;
left: 0;
height: 100%;
width: 35%;
padding: 124px 54px 72px;
background-image: url(../images/overlay.png), url(../images/bg.jpg);
background-position: left top;
background-size: auto, cover; */

/* Grid */

.row {
  overflow: auto;
}

.col {
  width: 48.5%;
  float: left;
}
.col:first-child {
  margin-right: 1.5%;
}
.col:last-child {
  margin-left: 1.5%;
}
.col-2_3 {
  width: 66%;
  float: left;
  /* background: orange; */
}

.col-1_3 {
  width: 32%;
  float: left;
  /* margin-left: 3%; */
  /* background: yellow; */
}

/* .col-1_3:nth-child(2),
.col-1_3:nth-child(5),
.col-1_3:nth-child(8) {
  margin: 0 2%;
} */

.col-1_3:nth-child(3n - 2) {
  margin-right: 2%;
}

.col-1_3:nth-child(3n) {
  margin-left: 2%;
}

.col-2_3 + .col-1_3 {
  margin-left: 2%;
}

.col-1_3 + .col-2_3 {
  margin-left: 2%;
}
