* {
  position: relative;
  box-sizing: border-box;  
  margin: 0;
  padding: 0;  
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  font-weight: normal;
}

body {
  color: #444343;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  overflow: hidden;
  background: #941518;
  margin: 0;
  padding: 0;
}

body,
html {
  width: 100%;
  height: 100vh;
  -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -o-text-size-adjust: none;
  -webkit-text-size-adjust: none;  
}

a {
  cursor: pointer;
  text-decoration: none;  
}

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

img.fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img.scale {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

ul,
ol {
  list-style: none;
}

ol li {
  counter-increment: list;
}

*:focus {
  outline: none !important;
}

::placeholder {
  color: #bcbcbc;
  opacity: 1;
  font-style: italic;
  font-weight: 300;
}

::-ms-input-placeholder {
  color: #bcbcbc;
  opacity: 1;
  font-style: italic;
  font-weight: 300;
}

.flex {
  display: flex;
}

.col {
  flex-direction: column;
}

.hc {
  justify-content: center;
}

.he {
  justify-content: flex-end;
}

.vc {
  align-items: center;
}

.ve {
  align-items: flex-end;
}

/* -------------------------------------------------------------------------- */

@keyframes pulsate {
  0% { 
    opacity: 0.2;
  }
  50% { 
    opacity: 1.0;
  }
  100% { 
    opacity: 0.2;
  }
}

/* -------------------------------------------------------------------------- */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
  z-index: 1000;
}

#preloader img {
  width: 100px;
  -webkit-animation: pulsate 3s ease-out;
  -webkit-animation-iteration-count: infinite; 
  animation: pulsate 3s ease-out;
  animation-iteration-count: infinite;  
}

ul.items {
  width: calc(100% + 30px);
  margin: 0 -15px;
  flex-wrap: wrap;
}

ul.items li {
  margin: 15px;
}

ul.items.col-2 li {
  width: calc((100% / 2) - 30px);  
}

ul.items.col-3 li {
  width: calc((100% / 3) - 30px);
}

/* -------------------------------------------------------------------------- */

#wrapper {
  width: calc(100vw + 300px);
  height: 100vh;
}

main {
  width: 100vw;
  height: 100vh;
  background: #ffffff url(../img/background.svg) center center no-repeat;
  background-size: cover;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  z-index: 20;
}

nav {
  width: 300px;
  height: 100vh;
  background: #941518;
  z-index: 10;
  padding: 50px;
  margin-left: -300px;
}

nav.open {
  margin-left: 0;
}

nav a.blank {
  cursor: default;
}

nav ul li a {
  color: #ffffff;
  font-size: 14px;
}

nav ul li.submenu ul {
  margin-left: 20px;
}

nav ul li.submenu {
  margin-top: 10px;
}

nav ul li:not(.submenu) a {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul li:not(.submenu) {
  margin-bottom: 25px;
}

nav ul li:not(.submenu)::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 55px;
  height: 2px;
  background: #b76264;
  display: block;
}

nav ul li:not(.submenu)::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2px;
  background: #b76264;
  display: block;
}

#close-navigation {
  font-size: 30px;
  color: #b76264;
  margin: auto auto -15px auto;
}

/* -------------------------------------------------------------------------- */

section#navigation {
  position: absolute;
  width: 135px;
  height: 120px;
  top: 0;
  left: 0;
  background: url(../img/rectangle-wht.svg) right bottom no-repeat;
  color: #941518;
}

#open-navigation {
  font-size: 40px;
  color: #941518;
  margin: -20px 0 0 -20px;
  padding: 50px;
  z-index: 20;
}

section#copyright {
  position: absolute;
  width: auto;
  height: 185px;
  bottom: 0;
  left: 0;
  background: url(../img/rectangle-red.svg) right top no-repeat;
  color: #ffffff;
  padding: 50px 70px 0 50px;
}

section#copyright h2 {
  font-size: 19px;
  font-weight: 700;
}

section#copyright h3 {
  font-size: 14px;
}

section#company-group {
  position: absolute;
  bottom: 30px;
  right: 100px;
}

section#company-group li {
  margin-left: 50px;
}

section#company-group a {
  width: 55px;
  height: 47px;
  background: url(../img/rectangle-wht.svg) center center no-repeat;
  background-size: cover;
  font-size: 24px;
  color: #941518;
  margin-bottom: 10px;
}

section#company-group h3 {
  font-size: 18px;
  color: #000000;
  font-weight: 700;
}

section#company-group h4 {
  font-size: 10px;
  color: #941518;
  font-weight: 600;
  text-transform: uppercase;
}

section#image-container {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  max-width: 50%;
  height: auto;
  max-height: 700px;
  background: url(../img/rectangle-red-big.svg) left bottom no-repeat;
  background-size: cover;
  padding-left: 20px;
  padding-bottom: 5px;
}

section#image-container img {
  width: 100%;
  height: 100%;
  max-height: 700px;
  object-fit: cover;
  mask-image: url(../img/rectangle-red-big.svg);
  mask-position: bottom right;
  mask-repeat: no-repeat;
  mask-size: 100%;
  -webkit-mask-image: url(../img/rectangle-red-big.svg);
  -webkit-mask-position: bottom right;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
}

section#content {
  position: absolute;
  top: 50px; 
  width: 50%;
  min-width: 450px;
  z-index: 10;
}

section#content .container {
  width: 450px;
  margin: 0 auto;
}

section#content .container h1,
#modal .title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

section#content .container h1::before,
#modal .title::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);  
  width: 55px;
  height: 2px;
  background: #000000;
  display: block;
}

section#content .container h1::after,
#modal .title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);  
  width: 35px;
  height: 2px;
  background: #000000;
  display: block;
}

section#content .container h2,
#modal h2 {
  color: #941518;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
}

section#content .container h2::before,
#modal h2::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 55px;
  height: 2px;
  background: #941518;
  display: block;
}

section#content .container h2::after,
#modal h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2px;
  background: #941518;
  display: block;
}

#logo {
  width: 400px;
  margin: 0 auto 30px auto;
}

section#content .container p,
section#content .container ul,
section#content .container ol {
  line-height: 24px;
  text-align: justify;
}

#modal .content {
  overflow: auto;
  padding-right: 30px;
  margin-right: -30px;
}

section#content .container p,
#modal .content p {
  margin: 15px 0;
}

section#content .container p a,
#modal .content p a {
  color: #941518;
  text-decoration: underline;
}

section#content .container p b,
section#content .container p strong,
#modal .content p b,
#modal .content p strong {
  color: #000000;
  font-weight: 600;
}

section#content .container ul:not(.items) li::before,
#modal .content ul:not(.items) li::before {
  content: '\2022';
  color: #941518;
  font-weight: 800;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

section#content .container ol li::before,
#modal .content ol li::before {
  content: counter(list);
  color: #941518;
  font-weight: 800;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

section#content .container ul:not(.items),
#modal .content ul:not(.items),
section#content .container ol,
#modal .content ol {
  margin: 15px 0 0 30px;
  list-style-position: outside;
}

#modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: -1;
  opacity: 0;
}

#modal.open {
  z-index: 999;
  opacity: 1;  
}

#modal .box {
  width: 900px;
  max-width: calc(100% - 60px);
  height: auto;
  max-height: calc(100vh - 60px);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 10px rgba(0,0,0,0.8);
  border-radius: 50px;
  padding: 50px 50px 20px 50px;
  opacity: 0;
}

#modal .box.open {
  opacity: 1;
}

#modal .footer {
  text-align: center;
  color: #000000;
  font-size: 30px;
  margin-top: 30px;
}

#modal .content ul,
#modal .content ol,
#modal .content p {
  font-size: 14px;
  line-height: 19px;
  text-align: justify;  
}

#modal .content p.highlight,
#modal .content p.highlight a {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
}

.contact-map {
  margin-top: 15px;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
}

#modal .header {
  border-bottom: #000000 1px solid;
  padding-bottom: 10px;
  color: #000000;
  font-weight: 600;  
}

#modal .row {
  padding: 15px 0;
  border-bottom: #bcbcbc 1px solid;
}

#modal .header div,
#modal .row div {
  width: 20%;
  font-size: 14px;
  font-weight: inherit;
  color: inherit;
}

#modal .header div:first-child,
#modal .row div:first-child {
  width: 60%;
}

#modal .row div:first-child span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;  
}

#modal .row a,
#modal .row a span {
  color: #941518;
  font-weight: 600;
}

#modal .row a i {
  font-size: 24px;
  margin-right: 10px;
}

#modal .header a {
  font-size: 16px;
  color: #bcbcbc;
  font-weight: 700;
  margin: 0 10px;
}

#modal .header a.selected {
  color: #941518;
}

#modal .lead {
  display: none;
  width: 100% !important;
}

#modal .intro {
  padding-right: 40px;
  width: 100% !important;
}

#modal .row h4 {
  font-weight: 600;
  color: #000000;
  font-size: 14px;
}

#modal .row h5 {
  color: #444343;
  font-size: 14px;
}

#modal .lead p {
  margin: 10px 0;
}

#modal .lead a {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #941518;
}

#modal .row h6 {
  color: #444343;
  font-size: 14px;
  font-style: italic;
  opacity: 0.5;
}

#modal a.open,
#modal a.close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 20px;
}

#modal a.open {
  color: #000000;
}

#modal a.close {
  color: #941518;
  display: none;
}

/* -------------------------------------------------------------------------- */

@media only screen
and (min-width : 1161px) {
  .ease:hover {
    opacity: 0.5;
  }
  .transition {
    transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;    
  }
}