/* Global */

* {
  font-family: 'Roboto', sans-serif;

  box-sizing: border-box;

  line-height: 1.42857;
}

a {
  text-decoration: none;
}

body {
  width: 100%;

  padding: 90px 0 0 0;

  margin: 0;

  opacity: 0;

  color: #383838;
}

.page-wrapper {
  display: flex;

  width: 1200px;

  max-width: 100%;

  margin: 0 auto;
}

h2 {
  display: block;

  position: relative;

  font-size: 38px;

  color: #383838;

  padding: 0 0 25px 0;

  margin: 0 0 25px 0;
}

h2::after {
  display: block;

  content: '';

  position: absolute;

  bottom: 0;

  left: 0;

  width: 40px;

  height: 4px;

  background: #e73d2f;
}

p {
  font-size: 20px;

  text-align: justify;
}

p a {
  color:#e73d2f;
  font-weight: bold;
}

ul {
  font-size: 20px;
}

ul li {
}

ul li strong {
  display: block;
}

.color-red {
  color: #e73d2f;
}

.background-black {
  color: #fff;

  background-color: #2c2f33;
}

.background-black h2 {
  color: #fff;
}

img {
  display: block;

  max-width: 100%;
}

/* Animations */

.animate-all {
  transition: all 0.3s ease;
}

/* Header */

header {
  display: flex;

  width: 100%;

  position: fixed;

  top: 0;

  left: 0;

  padding: 15px 0;

  background: #ffffff;

  z-index: 1;
}

header.sticky {
  background: #f7f7f7;

  padding: 5px 0;
}

header .page-wrapper {
  display: flex;
}

/* Navigation */

nav {
  font-size: 20px;

  font-weight: 900;

  color: #383838;

  text-transform: uppercase;

  margin: 10px 0 0 0;
}

nav ul {
  padding: 0;

  margin: 0;

  display: flex;
}

nav ul li {
  display: block;

  position: relative;

  padding: 5px 0px 14px 5px;

  margin: 0 10px;

  list-style: none;

  cursor: pointer;
}

nav ul li:first-child {
  padding-left: 0;

  margin-left: 0;
}

nav ul li:last-child {
  padding-right: 0;

  margin-right: 0;
}

nav ul li::before {
  transition: all 0.5s ease;

  display: block;

  content: '';

  position: absolute;

  width: 100%;

  height: 4px;

  background: transparent;

  bottom: 0;

  left: 0;
}

nav ul li.active::before,
nav ul li:hover::before {
  background: #e73d2f;
}

/* Articles */

article {
  display: flex;
}

article.img-left .page-wrapper {
  flex-direction: row-reverse;
}

article .text {
  width: 50%;

  padding: 25px 50px 25px 0px;
}

article.img-left .text {
  padding: 25px 0 25px 50px;
}

article .image {
  width: 50%;
}

article .image img {
  display: block;

  min-height: 100%;

  object-fit: cover;
}

article .quote p {
  padding: 50px;

  font-size: 38px;

  font-style: italic;

  color: #fff;

  text-align: center;
}

/* Article 1 */

.article-1 {
  min-height: 300px;

  width: 100%;

  background-image: url('../img/article-1.jpg');

  background-size: cover;
}

.article-1 .logo {
  display: block;

  height: 247px;

  max-width: 100%;

  fill: #fff;

  margin: 0 auto;
}

/* Article 3 */

.article-4 {
  width: 100%;

  background-image: url('../img/article-4.jpg');

  background-size: cover;
}

/* Article 5 */

.article-5 {
  width: 100%;

  background-image: url('../img/article-5.jpg');

  background-size: cover;

  color: #fff;
}

.article-5 .page-wrapper {
  background: rgba(0, 0, 0, 0.5);
}

.article-5 .page-wrapper .grid > p {
  color: #fff;

  width: 50%;
}

/* grid */

.grid {
  padding: 25px;
}

.grid .grid-container {
  display: flex;

  padding: 15px 0;

  flex-wrap: wrap;
}

.grid .grid-container .grid-item {
  width: 25%;

  padding: 12.5px;

  display: flex;

  flex-direction: column;

  align-items: center;
}

.grid .grid-container .grid-item .icon {
  display: flex;

  align-items: center;

  margin: 0 auto;

  fill: #fff;

  width: 75px;

  height: 75px;
}

.grid .grid-container .grid-item h3 {
  display: inline-block;

  position: relative;

  padding: 0 0 10px 0;

  margin: 15px 0;

  font-size: 30px;

  color: #fff;
}

.grid .grid-container .grid-item h3::after {
  display: block;

  content: '';

  position: absolute;

  bottom: 0;

  left: 0;

  background: #fff;

  width: 100%;

  height: 4px;
}

.grid .grid-container .grid-item p {
  font-size: 16px;

  text-align: center;
}

.grid .grid-container .grid-item:nth-child(4n + 1) {
  padding-left: 0;
}

.grid .grid-container .grid-item:nth-child(4n) {
  padding-right: 0;
}

/* Top Footer */

.top-footer {
  padding: 25px 0;
  background-image: url('../img/article-8.jpg');
  background-size: cover;
}

.top-footer a {
  color: #383838;
}

.top-footer h2 {
  color: #fff;
}

.top-footer .address-boxes {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.top-footer .address-boxes .address-box {
  width: calc(33.3% - 12.5px);
  background: #ffffff;
  padding: 15px 25px 25px 25px;
  margin: 0 0 25px 0;
}

.top-footer .address-boxes.wide .address-box {
  width: 100%;
}

.top-footer .address-boxes .address-box > div {
  width: 100%;
  margin-top: 15px;
  display: flex;
}

.top-footer .address-boxes .address-box > div a {
  display: block;
}

.top-footer .address-boxes .address-box > div a:hover {
  color: red;
}

.top-footer .address-boxes .address-box h4 {
  display: block;
  font-size: 20px;
  font-weight: 900;
  padding: 15px 0 0 0;
  margin: 0;
}

.top-footer .address-boxes .address-box .footer-icon {
  margin-right: 10px;
  width: 25px;
  height: 25px;
  fill: red;
}

.top-footer .address-boxes .address-box .google-map {
  width: 100%;
}

/* Bottom footer */

.bottom-footer {
  background: #2c2f33;

  padding-bottom: 100px;
}

.bottom-footer .page-wrapper {
  flex-direction: column;
}

.bottom-footer .columns {
  width: 100%;

  display: flex;
}

.bottom-footer .columns .logo {
  max-width: 220px;

  fill: #fff;
}

.bottom-footer .columns .copyrights {
  margin: auto 0 0 auto;

  padding: 0;

  display: flex;

  text-align: right;

  color: #99aab5;

  font-size: 16px;
}

@media all and (max-width: 1500px) {
  h2,
  article .quote p {
    font-size: 30px;
  }

  p,
  ul {
    font-size: 16px;
  }

  header .page-wrapper,
  .bottom-footer .page-wrapper,
  .top-footer .page-wrapper {
    padding: 0 25px;
  }

  article .text {
    padding: 25px !important;
  }

  .top-footer .contact-info {
    padding-left: 25px;
  }
}

@media all and (max-width: 1000px) {
  .top-footer .page-wrapper .address-boxes {
    flex-direction: column;
  }

  .top-footer .page-wrapper .address-boxes .address-box {
    width: 100%;
  }
}

@media all and (max-width: 800px) {
  header .page-wrapper,
  .bottom-footer .page-wrapper,
  .top-footer .page-wrapper {
    padding: 0 15px;
  }

  article .text {
    padding: 15px !important;
  }

  .top-footer .contact-info {
    padding-left: 15px;
  }

  article .page-wrapper {
    flex-direction: column !important;
  }

  article .text,
  article .image {
    width: 100%;
  }

  .article-5 .page-wrapper .grid > p {
    width: 100%;
  }

  .grid {
    padding: 15px;
  }

  .grid .grid-container .grid-item {
    width: 50%;
  }

  .grid .grid-container .grid-item:nth-child(even) {
    padding: 7.5px 0 7.5px 7.5px !important;
  }

  .grid .grid-container .grid-item:nth-child(odd) {
    padding: 7.5px 7.5px 7.5px 0px !important;
  }
}
