html,
body {
  height: 100%;
  color: #eaeaea;
  background-color: #222222;
}

html {
  font-size: 16px;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Questrial", sans-serif;
}

.material-icons-outlined {
  border: 2px solid green;
  border-radius: 50%;
}

.min-height {
  min-height: 400px;
}

.paginate-nav {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.pagination {
  margin: 0 0 0 1rem;
}

.pagination a.page-link {
  color: #007b75;
}

.pagination .active a.page-link {
  background-color: #007b75;
  border-color: #007b75;
}

.form-control.control-error {
  border-color: #ff5d5d;
  background: rgba(250, 214, 214, 0.39);
}

.text-right {
  text-align: right;
}

header {
  background: #111111;
  height: 90px;
}

header nav .navbar-brand {
  margin: 0 20px;
}

header nav .navbar-brand img {
  max-height: 60px;
}

header nav .navbar-toggler {
  margin-right: 1rem;
}

header nav .navbar-collapse {
  background: #393939;
  color: white;
  z-index: 1;
  transition: all 250ms;
  padding: 1.5rem;
}

footer {
  font-size: 0.9rem;
}

footer .row {
  display: block;
}

footer .contact-info {
  background: #111;
  color: #fff;
}

footer .contact-info .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

footer .contact-info a {
  color: #fff;
  text-decoration: none;
}

footer .home-about-bussiness {
  padding-bottom: 2rem;
}

footer .social-connected {
  text-align: center;
}

footer .social-connected ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  align-content: center;
}

footer .social-connected ul li {
  margin: 0 5px;
}

footer .list-address .item {
  margin: 1rem 0;
}

footer .list-address .item h5 {
  margin: 0;
}

footer .list-address .item address {
  margin: 0.35rem 0;
}

footer .list-address .item a:hover {
  text-decoration: underline !important;
}

.copyright {
  border-top: 2px solid #ba0000;
  font-size: 1.1em;
  background: #111;
}

.copyright .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

.copyright a {
  color: #bababa;
  text-decoration: none;
}

.copyright a:hover {
  color: #fff;
}

.section-title {
  font-weight: bold;
  text-transform: uppercase;
}

.detail-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.show-lg {
  display: none;
}

@media screen and (min-width: 800px) {
  footer {
    font-size: 1rem;
  }
}

@media screen and (min-width: 992px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  header nav .navbar-collapse {
    background: transparent;
    padding: 0;
  }

  header #mainMenu {
    margin: 20px 0 0 0;
    justify-content: flex-end;
  }

  header #mainMenu ul ul {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s;
    position: absolute;
    left: 0;
    min-width: 160px;
    background: #393939;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  header #mainMenu ul ul .nav-item {
    font-size: 1.1rem;
    padding: 0;
    margin: 0;
  }

  header #mainMenu ul ul .nav-link {
    white-space: nowrap;
    padding: 0.75rem 1rem;
  }

  header #mainMenu ul ul .nav-link:hover {
    background: #2c2c2c;
  }

  header #mainMenu .nav-item {
    font-size: 1.1rem;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
  }

  header #mainMenu .nav-item.active {
    font-weight: bold;
  }

  header #mainMenu .nav-item:hover>ul {
    height: auto;
    overflow: initial;
    opacity: 1;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgb(0, 0, 0);
  }

  header #mainMenu .nav-link {
    color: white;
  }

  .detail-section {
    padding-top: calc(90px + 1rem);
    padding-bottom: 1rem;
  }

  .show-lg {
    display: initial;
  }
}

@media screen and (min-width: 1024px) {
  header #mainMenu {
    margin: 20px 0 0 30px;
    justify-content: initial;
  }

  footer .row {
    display: flex;
  }

  footer .home-about-bussiness {
    padding-bottom: 0rem;
  }

  footer .social-connected {
    text-align: right;
  }

  footer .social-connected ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    align-items: center;
    align-content: center;
  }

  footer .social-connected ul li {
    margin: 0 10px;
  }
}

@media screen and (min-width: 1280px) {
  header #mainMenu {
    margin: 20px 0 0 30px;
    justify-content: initial;
  }

  header #mainMenu ul .nav-item {
    font-size: 1.3rem;
    margin-left: 15px;
    margin-right: 15px;
  }
}

.slide-banner {
  display: none;
}

@media screen and (min-width: 1024px) {
  .slide-banner {
    display: initial;
    height: 100vh;
    overflow: hidden;
  }

  .slide-banner .carousel-inner {
    height: 100vh;
  }

  .slide-banner .carousel-inner img {
    height: 100%;
  }
}

.projects {
  padding: 20px 0;
}

.projects .section-title {
  padding: 0 20px;
}

.projects .section-title a {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
}

.projects .items {
  display: flex;
  height: auto;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 25px;
}

.projects .items .item {
  height: auto;
  overflow: hidden;
  padding: 10px;
  position: relative;
}

.projects .items .item .thumbnail {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  align-content: center;
  flex-direction: column;
  overflow: hidden;
}

.projects .items .item .thumbnail img {
  width: 100%;
}

.projects .items .item .info {
  position: absolute;
  right: 30px;
  bottom: 30px;
}

.projects .items .item .info .h3 {
  font-size: 1.4rem;
}

.projects .items .item .info h4 {
  font-size: 1.125em;
}

.projects .items .item .info h3,
.projects .items .item .info h4 {
  color: #fff;
  text-align: right;
  margin: 0;
}

.projects .items .item .info .description {
  display: none;
}

.home-projects {
  margin-top: 20px;
}

.home-projects .section-description {
  display: none;
}

.project-detail-section .project-info {
  background: #353535;
  padding: 2rem 3rem;
  margin: 2.5rem 0 1rem 0;
  color: #fff;
}

.project-detail-section .project-info .project-group-title {
  font-size: 2rem;
}

.project-detail-section .project-info .project-item-label {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1rem 0 0 0;
}

.project-detail-section .project-info .project-item-info {
  font-size: 0.95rem;
}

.project-detail-section .project-images .item {
  margin: 20px 0;
}

.project-detail-section .project-images .item img {
  width: 100%;
}

.project-detail-section .project-detail-contents {
  margin: 2rem 0;
}

@media screen and (min-width: 800px) {
  .projects .items .item {
    height: 40vw;
  }

  .projects .items .item .thumbnail img {
    height: 100%;
    width: auto;
  }
}

@media screen and (min-width: 1024px) {
  .projects .items .item {
    height: 20vw;
  }
}

.project_images,
.gallery_images {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.project_images .item,
.gallery_images .item {
  flex: 0 0 auto;
  width: calc(100% - 30px);
  overflow: hidden;
  margin: 15px;
  display: flex;
  flex-direction: column;
  align-content: flex-end;
  align-items: flex-end;
  justify-content: end;
}

.project_images .item img,
.gallery_images .item img {
  width: 100%;
}

@media screen and (min-width: 800px) {

  .project_images .item,
  .gallery_images .item {
    width: calc(50% - 30px);
  }
}

@media screen and (min-width: 992px) {

  .project_images .item,
  .gallery_images .item {
    width: calc(33.33% - 30px);
  }
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin: 0 0 1rem 0;
}

.contact-form button {
  background: #007b75;
  color: white;
}

.contact-form .alert {
  display: none;
}

article {
  line-height: 2rem;
  text-align: justify;
}

article h1 {
  position: relative;
  text-align: center;
  margin: 2rem 0;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
}

article h1:before {
  width: 100%;
  height: 3px;
  background: #ba0000;
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  left: 0;
}

article h1 span {
  background: #222222;
  padding: 0 20px;
  display: inline-block;
  position: relative;
}

article h2,
article h3 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.5rem;
}

article h2 span,
article h3 span {
  border-bottom: 3px solid #ba0000;
}

.about-activities {
  padding: 0 0 20px 0;
}

.about-activities .thumbnail {
  display: flex;
  justify-content: flex-end;
}

.about-activities .columns {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 0 0 0;
}

.about-activities .columns .item {
  flex-grow: 1;
  display: flex;
  align-content: center;
  align-items: center;
}

.about-activities .columns .item h3 {
  font-weight: 300;
  font-style: italic;
  margin: 0 0 1rem 0;
}

.about-activities .columns .item>div {
  background: #ededed;
  padding: 30px;
  position: relative;
}

.about-activities .columns .item .line {
  position: absolute;
  top: 37px;
  left: -100px;
  width: 120px;
  display: flex;
  align-items: center;
  align-content: center;
}

.about-activities .columns .item .line span {
  display: block;
  flex-grow: 1;
  height: 3px;
  background: #007b75;
}

.about-activities .columns .item .line:before,
.about-activities .columns .item .line:after {
  content: "";
  width: 6px;
  height: 6px;
  background: #007b75;
  border-radius: 50%;
}

.human-resources .flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.human-resources .item {
  margin: 30px;
  text-align: center;
  text-transform: uppercase;
}

.human-resources .item img {
  height: 280px;
  margin: 0 0 1rem 0;
}

.human-resources .item h2 {
  margin: 0;
}

.articles {
  display: flex;
  flex-wrap: wrap;
  margin: -2rem;
}

.articles .article-item {
  padding: 2rem;
  flex: 0 0 50%;
}

.articles .article-item h3 {
  font-size: 1.2rem;
  font-size: bold;
}

.articles .article-item a {
  text-decoration: none;
  color: #333;
  display: flex;
}

.articles .article-item .thumbnail {
  flex: 0 0 200px;
  margin: 0 15px 0 0;
}

.articles .article-item .thumbnail img {
  max-width: 100%;
}

#frm_area {
  font-size: 14px;
}

#frm_area * {
  font-size: 1em;
}

#frm_area .inline-form .form-group {
  display: flex;
  align-items: baseline;
  align-content: baseline;
  padding: 0 0 0.7em 0;
}

#frm_area .inline-form .form-group>label:first-child {
  flex: 0 0 300px;
  text-align: right;
  margin-right: 20px;
}

#frm_area .inline-form .form-group>input,
#frm_area .inline-form .form-group>div {
  /*flex-grow: 1;*/
}

#frm_area .inline-form .form-group>.form-control {
  width: 200px;
}

#frm_area .inline-form .form-group>.form-select {
  width: auto;
}

#frm_area .inline-form .form-group>div {
  display: inline-flex;
  align-content: baseline;
  align-items: baseline;
}

#frm_area .inline-form .form-group>div>label {
  white-space: nowrap;
  margin: 0 10px 0 20px;
}

#frm_area .inline-form .form-group .errors,
#frm_area .inline-form .form-group .hint {
  margin: 0 0 0 15px;
}

#frm_area .inline-form .form-group .errors {
  color: #ff0000;
  font-size: 0.9em;
}

#frm_area .inline-form .form-nav {
  padding-left: 320px;
}

.hint {
  font-size: 0.9em;
  color: #666;
  margin: 0 0 0 0.3em;
  font-style: italic;
  white-space: nowrap;
}

.flex {
  display: flex;
  padding: 1em 0;
  /*border-bottom: 1px solid #ccc;*/
}

sup {
  font-size: 0.8em !important;
}

.table-area {
  font-size: 0.9rem;
}

.area-calc .row h3 {
  font-size: 1.3rem;
  display: flex;
  align-content: baseline;
  align-items: baseline;
}