body {
  background-color: #f6f6f7;
  min-width: 960px;
  margin-left: auto;
  margin-right: auto;
  width: 973px;
}

.row {
  clear: both;
  min-height: 500px;
}

a {
  color: #000;
}

header {
  margin-top: 35px;
  height: 69px;
}

header .logo {
  float: left;
  width: 119px;
  margin-left: 10px;
  margin-right: 10px;
}

footer {
  float: left;
  width: 953px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 30px;
}

footer p {
  font-size: 10px;
  float: right;
}

.nav-menu {
  float: right;
  width: 814px;
  margin-left: 10px;
  margin-right: 10px;
}

nav {
  float: right;
  overflow: hidden;
  margin-top: 11px;
  margin-right: 1px;
  margin-left: 50px;
}

nav ul {
  list-style: none;
  margin: 0 auto;
  font-family: "Sintony", sans-serif;
  font-weight: 400;
  font-size: 12px;
}

nav li {
  float: left;
  display: inline;
  margin: 1px 13px 0 0;
  text-transform: uppercase;
}

nav li:last-child {
  margin-right: 0;
}

nav .active {
  border-top: 1px solid #ee2323;
  margin-top: 0;
}

nav a {
  text-decoration: none;
  color: #000;
}

nav .menu-header {
  text-transform: uppercase;
  color: #ee2323;
}

#top-container {
  margin-top: 22px;
  margin-right: 2px;
  float: right;
}

.lang-menu {
  display: block;
  float: left;
  list-style: none;
  margin: 3px 20px auto;
}

.lang-menu li {
  float: left;
  display: inline;
  margin: 0 9px 0 0;
  font-size: 11px;
}

.lang-menu li + li:before {
  content: "|";
  color: black;
  margin-right: 9px;
}

.lang-menu .selected {
  font-weight: 700;
}

.lang-menu a {
  text-decoration: none;
  color: #000;
}

.search-input {
  border: 1px solid #ee2323;
  color: #ee2323;
  width: 114px;
  height: 17px;
}

.sb-category {
  background-color: #eee;
  margin: 5px;
  display: block;
}

.sb-item {
  font-size: 12px;
  display: block;
  clear: left;
  height: 56px;
  text-decoration: none;
}

.sb-item img {
  float: left;
  padding: 5px 15px 5px 0px;
}

.sb-item .sb-headding {
  display: block;
  font-weight: bold;
  padding-top: 5px;
}

.sb-item span {
  color: #555555;
}

.sb-item p {
  font-size: 10px;
}

.sb-image-space {
  display: block;
  float: left;
  padding: 5px 15px 5px 0px;
  width: 40px;
  height: 40px;
  content: "&nbsp;";
}

.fa-3 {
  font-size: 38px;
  margin: auto;
  padding: 2px 2px;
}

#sidebar {
  margin-top: 18px;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-size: 13px;
}

#sidebar ul {
  list-style: none;
  margin: 0 auto;
}

#sidebar li {
  margin: 0;
}

#sidebar a {
  text-decoration: none;
  color: #000;
}

#main {
  float: left;
  margin-left: 10px;
  margin-right: 10px;
  width: 814px;
}

#pagination {
  position: relative;
  width: 814px;
  border-top: 1px solid #ee2323;
  clear: both;
}

#pagination ul {
  float: right;
  list-style: none;
  margin-top: 5px;
  margin-bottom: 0;
  font-family: "Sintony", sans-serif;
  font-weight: 400;
  font-size: 12px;
}

#pagination li {
  float: left;
  display: inline;
  margin: 0 9px 0 0;
  font-size: 12px;
}

#pagination a {
  text-decoration: none;
}

#pagination .current {
  color: #ee2323;
}

#pagination .spr-arrow {
  margin-top: 6px;
}

.col-1 {
  width: 397px;
  display: inline;
  float: left;
  margin-right: 10px;
  margin-bottom: 20px;
}

.col-2 {
  width: 397px;
  display: inline;
  float: left;
  margin-left: 10px;
  margin-bottom: 20px;
  clear: right;
}

.project-item {
  margin-top: 20px;
  width: 397px;
  background-color: #fff;
  position: relative;
}

.project-item-category {
  float: left;
  position: absolute;
  bottom: 15px;
  left: 7px;
}

.project-item-overlay {
  z-index: 1;
  text-align: center;
  position: absolute;
  width: 361px;
  opacity: 0;
  margin: 9px 10px 9px 25px;
  background-color: rgba(0, 0, 0, 0.25);
}

.project-item-overlay h1 {
  color: #ee2323;
  font-family: "Sintony", sans-serif;
  font-size: 25px;
  text-transform: uppercase;
  width: 270px;
}

.project-item-overlay h2 {
  color: #fff;
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  width: 200px;
}

.project-item-overlay h3 {
  color: #fff;
  font-family: "Sintony", sans-serif;
  font-size: 14px;
  width: 200px;
}

.project-long {
  height: 410px;
}

.project-long h1 {
  margin: 80px auto 0 auto;
}

.project-long h2 {
  margin: 40px auto 0 auto;
}

.project-long h3 {
  margin: 15px auto 0 auto;
}

.project-short {
  height: 229px;
}

.project-short h1 {
  margin: 45px auto 0 auto;
}

.project-short h2 {
  margin: 30px auto 0 auto;
}

.project-short h3 {
  margin: 10px auto 0 auto;
}

.project-item .project-item-image {
  margin: 9px 10px 9px 25px;
}

.project-item:hover .project-item-overlay {
  opacity: 1;
}

.cover-text {
  margin-top: 20px;
  width: 397px;
  position: relative;
}

.cover-text p {
  margin-top: 70px;
  margin-left: 40px;
}

.relative {
  position: relative;
}

.column-sidebar {
  float: left;
  position: absolute;
  bottom: 9px;
  left: 6px;
}

.column-list {
  float: left;
  width: 367px;
  margin: 70px 0 9px 30px;
}

.column-list h1 {
  font-size: 16px;
  font-weight: normal;
  margin-left: 9px;
  margin-bottom: 15px;
}

.column-list a {
  color: #ee2323;
  font-size: 12px;
  text-decoration: none;
}

.articles {
  margin-left: 9px;
}

.articles dt {
  margin-top: 5px;
}

.articles dd {
  margin-top: -3px;
}

.references {
  margin-left: 9px;
  font-size: 12px;
}

.references dt {
  margin-top: 5px;
}

.references dd {
  margin-top: -3px;
}

.references dd:before {
  content: "-";
  margin: 0 3px;
}

.project-text {
  float: left;
  width: 347px;
  margin: 70px 10px 9px 40px;
}

.project-text h1 {
  font-size: 16px;
  font-weight: 400;
}

.project-text p {
  line-height: 1;
}

.project-info {
  margin-top: 75px;
}

.project-info dl {
  color: #ee2323;
  line-height: 1.2;
  margin-bottom: 1px;
}

.project-info dt {
  float: left;
  margin-right: 5px;
}

.project-info dt:after {
  content: ":";
}

.project-info dd {
}

#project-drawings {
  display: none;
}

.gallery-switcher {
  width: 397px;
  height: 18px;
  text-transform: uppercase;
  font-family: "Sintony", sans-serif;
  font-weight: 400;
  font-size: 12px;
}

.gallery-switcher ul {
  float: right;
  list-style: none;
  margin-bottom: 0;
}

.gallery-switcher li {
  float: left;
  margin-left: 10px;
  margin-top: 1px;
}

.gallery-switcher .active {
  border-top: 1px solid #ee2323;
  margin-top: 0;
}

.gallery-switcher a {
  text-decoration: none;
  color: #000;
}

.gallery-switcher .gallery-header {
  text-transform: uppercase;
  color: #ee2323;
}

.k-gallery {
  width: 397px;
  margin-top: 16px;
}

.k-gallery * {
  margin: 0;
  padding: 0;
}

.k-gallery .k-nav {
  width: 100%;
  position: relative;
}

.k-gallery .k-forward,
.k-gallery .k-back {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 10;
  display: block;
  cursor: pointer;
  width: 10px;
}

.k-gallery .k-back {
  left: -15px;
  background: url(../images/arrow_left.png) 0 28px no-repeat;
}

.k-gallery .k-forward {
  right: -15px;
  background: url(../images/arrow_right.png) 0 28px no-repeat;
}

.k-gallery .k-thumbs {
  overflow: hidden;
  width: 100%;
  margin-top: 16px;
}

.k-gallery .k-thumbs .k-thumb-list {
  float: left;
  width: 9000px;
  list-style: none;
}

.k-gallery .k-thumbs li {
  float: left;
}

.k-gallery .k-thumbs li + li {
  padding-left: 19px;
}

.k-gallery .k-thumbs li a {
  display: block;
}

.k-gallery .k-thumbs li a img {
  display: block;
}

.k-gallery .k-thumbs li a.k-active img {
  border: 1px solid #ee2323;
}

.klightbox-open {
  overflow: hidden;
}

.klightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: auto;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}

.klightbox.fade .klightbox-dialog {
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
}

.klightbox.in .klightbox-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.klightbox-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.klightbox-container {
  position: relative;
  background-color: #fff;
  background-clip: padding-box;
  outline: none;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

.klightbox-container img {
  display: block;
  max-width: 100%;
}

.klightbox-nav-btn {
  width: 20%;
  height: 100%;
  top: 0;
  position: absolute;
  margin: 0;
}

a:hover > .icon {
  display: block;
}

.klightbox-nav-btn-right {
  right: 0;
}

.klightbox-nav-btn-left {
  left: 0;
}

.klightbox .icon {
  background: #000;
  color: #fff;
  width: 40px;
  height: 40px;
  text-align: center;
  position: relative;
  top: 50%;
  margin: 0 auto;
  display: none;
}

.klightbox .icon-left {
  right: 50%;
}

.klightbox .icon-left {
  left: 50%;
}

.klightbox .icon i {
  font-size: 2em;
  margin: 5px auto;
}

.klightbox-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}

.klightbox-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}

.klightbox-backdrop.in {
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.article-header {
  float: left;
  width: 347px;
  margin: 70px 10px 9px 40px;
}

.article-header h1 {
  font-size: 16px;
  font-weight: 400;
}

.article-info {
  color: #ee2323;
  line-height: 1.2;
  margin-bottom: 1px;
}

.article-text {
  margin: 70px 10px 9px 40px;
}

.article-text p {
  line-height: 1;
}

input {
  border: 1px solid red;
  width: 100%;
}

input[type="submit"] {
  background: white;
}

textarea {
  border: 1px solid red;
  width: 100%;
  height: 200px;
  resize: none;
  overflow: auto;
}

.nav-menu__button,
.nav-menu--mobile {
  display: none;
}

.project-text a {
  word-break: break-word;
}

@media screen and (max-width: 800px) {
  body {
    min-width: 0;
    width: calc(100vw - 20px);
    padding: 0 10px;
  }

  header .logo {
    width: 90px;
  }

  header .logo img {
    width: 100%;
    height: auto;
  }

  #sidebar {
    float: none;
    display: inline-block;
    width: auto;
    position: absolute;
    top: 21px;
    right: 21px;
  }

  #sidebar li {
    display: inline-block;
    margin-right: 20px;
  }

  .nav-menu {
    width: calc(100% - 130px);
    text-align: center;
  }

  nav {
    margin-left: 0;
    float: none;
  }

  nav ul {
    text-align: left;
    width: 100%;
  }

  nav li {
    float: none;
    margin: 1px 0 0 10px;
  }

  nav li:first-child {
    display: none;
  }

  nav li:nth-child(2) {
    margin-left: 0;
  }

  #top-container {
    margin-top: 0;
    float: none;
    display: flex;
  }

  #top-container form {
    float: none;
    display: inline-block;
  }

  .lang-menu {
    margin-left: 0;
    display: inline-block;
    float: none;
  }

  #pagination {
    width: 100%;
  }

  #main {
    float: none;
    width: calc(100% - 20px);
    margin: 0;
    padding: 0 10px;
  }

  .cover-text,
  .project-item {
    width: 100%;
  }

  .project-item {
    margin: 15px 0;
  }

  .col-1,
  .col-2 {
    width: 45%;
  }

  footer {
    float: none;
    width: calc(100% - 20px);
    margin: 15px 0 0;
    padding: 0 10px;
    text-align: center;
  }

  footer p {
    float: none;
  }

  .project-item-overlay {
    opacity: 1;
    margin: 0;
    bottom: 0;
    left: 0;
    padding: 20px 10px;
    width: calc(100% - 20px);
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.25);
  }

  .project-item-overlay h1,
  .project-item-overlay h2,
  .project-item-overlay h3 {
    width: 90%;
    margin: 10px auto 0;
  }
  .project-item-overlay h1 {
    font-size: 18px;
  }

  .project-item .project-item-image {
    margin: 10px 30px;
    width: calc(100% - 60px);
    height: auto;
  }

  .project-text {
    width: calc(100% - 50px);
    margin-top: 30px;
  }

  .project-info {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .gallery-switcher,
  .k-gallery {
    width: 100%;
  }

  .row {
    display: inline-block;
    clear: initial;
    min-height: 0;
    width: 100%;
  }

  #pagination ul {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
  }

  #pagination li {
    font-size: 16px;
    padding: 0 5px;
    float: none;
  }

  .klightbox-dialog {
    width: 90%;
  }

  .klightbox-container {
    background: transparent;
  }

  .klightbox-container img {
    margin: 0 auto;
  }
}

@media screen and (max-width: 600px) {
  .col-1,
  .col-2 {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  header {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    border-bottom: 1px solid #000;
    height: auto;
    min-height: 70px;
    align-items: center;
    align-content: start;
  }

  header .logo {
    float: none;
    margin: 0;
    display: inline-table;
  }

  header .logo img {
    display: block;
  }

  #sidebar,
  .nav-menu {
    display: none;
  }

  .nav-menu__button,
  .nav-menu--mobile {
    display: flex;
  }

  .nav-menu__button {
    width: 30px;
    margin: 0 0 0 auto;
    padding: 0;
    flex-direction: column;
    align-content: space-between;
    border: 0;
    background: transparent;
    align-self: center;
    z-index: 5;
  }

  .nav-menu__button--active .nav-menu__line:first-child {
    transform: rotate(-45deg);
  }

  .nav-menu__button--active .nav-menu__line:last-child {
    opacity: 0;
  }

  .nav-menu__button--active .nav-menu__line:nth-child(2) {
    transform: rotate(45deg);
    margin-top: -5.5px;
  }

  .nav-menu__line {
    width: 30px;
    height: 3px;
    background: #000;
    margin-bottom: 3px;
    transition: 1s;
  }

  .nav-menu__line:last-child {
    margin-bottom: 0;
  }

  .nav-menu--mobile {
    width: calc(100vw - 60px);
    padding: 0 30px;
    z-index: 3;
    max-height: 0;
    overflow: hidden;
    transition: 1s;
    opacity: 0;
    display: block;
  }

  .nav-menu--mobile--active {
    max-height: 100vh;
    opacity: 1;
  }

  .nav-menu__area {
    width: 100%;
    text-align: center;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px dashed #ee2323;
  }

  .nav-menu__area:first-child {
    margin-top: 20px;
  }

  .nav-menu__area:last-child {
    border: 0;
    margin-bottom: 20px;
    padding: 0;
  }

  .lang-menu {
    margin: 0;
  }

  .sidebar-menu {
    list-style: none;
    margin-bottom: 0;
  }

  .sidebar-menu li {
    margin-left: 0;
    text-decoration: none;
  }

  .sidebar-menu li a {
    text-decoration: none;
    padding: 4px 0;
    display: block;
  }

  nav li {
    display: block;
    padding: 4px 0;
    text-align: center;
    margin: 0 0 8px;
  }

  .search-input {
    width: 100%;
    margin-bottom: 15px;
  }

  .project-text {
    width: 100%;
    margin: 0;
  }

  .gallery-switcher ul {
    float: none;
  }

  .gallery-switcher .gallery-header {
    margin-left: 0;
  }

  .k-gallery .k-nav {
    width: calc(100% - 30px);
    margin-left: 15px;
  }

  .k-image img {
    width: 100%;
  }

  .spr-project {
    transform: rotate(90deg);
    position: relative;
    top: auto;
    left: auto;
    float: none;
    display: inline-block;
    margin-left: 31px;
    margin-bottom: -20px;
    bottom: auto;
  }

  .spr-who,
  .spr-articles,
  .spr-ref,
  .spr-contact {
    transform: rotate(90deg);
    position: relative;
    top: auto;
    left: auto;
    float: none;
    display: inline-block;
    margin-left: 33px;
    margin-bottom: -20px;
    bottom: auto;
  }

  .spr-ref {
    margin-left: 42px;
  }

  .cover-text p {
    margin: 0 0 20px;
  }

  .column-list {
    margin: 0 0 10px;
    width: 100%;
  }

  .column-list h1,
  .column-list .articles {
    margin-left: 0;
  }

  .language--pt .spr-who {
    margin-left: 46px;
  }

  .language--pt .spr-project {
    margin-left: 56px;
  }

  .project-item-overlay {
    background: transparent;
    color: red;
    position: relative;
  }

  .project-item-overlay h2,
  .project-item-overlay h3 {
    display: none;
  }

  .project-item-overlay h1 {
    margin-top: 0;
  }

  .project-item .project-item-image {
    margin-bottom: 0;
  }

  .project-item a {
    display: flex;
    text-decoration: none;
    flex-direction: column-reverse;
  }

  .project-page,
  .project-page .col-2 {
    display: flex;
    flex-direction: column-reverse;
  }

  .project-page {
    margin-top: 30px;
  }

  .project-page .col-2 {
    margin-bottom: 0;
  }

  .project-page .project-info {
    margin-bottom: 0;
  }
}
