@CHARSET "ISO-8859-1";

@font-face {
  font-family: 'Rockwell';
  src: url('../fonts/Rockwell.ttf');
}

@font-face {
  font-family: 'Grotesk';
  src: url('../fonts/BertholdAkzidenzGroteskBoldCondensed.ttf');
}

.backloader {
    width: 100vw;
    height: 100vh;
    z-index: 99;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
}

.loader {
  border: 12px solid #ffffffed;
  border-top: 12px solid #1a2b44;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  animation: spin 3s linear infinite;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animateDown  {
    animation: slideDown 1.5s;
}

.animateUp  {
    animation: slideUp 1.5s;
}

.animateLeft  {
    animation: slideLeft 1s;
}

.animateRight  {
    animation: slideRight 1s;
}

@keyframes slideDown {
  from {
    margin-top: -100vh;
  }
  to {
    margin-top: 0;
  }
}

@keyframes slideUp {
  from {
    margin-top: 100vh;
  }
  to {
    margin-top: 0;
  }
}

@keyframes slideLeft {
  from {
    margin-left: 100vw;
  }
  to {
    margin-left: 0;
  }
}

@keyframes slideRight {
  from {
    margin-left: -100vw;
  }
  to {
    margin-left: 0;
  }
}

a:hover {
    text-decoration: none;
}

/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #1a2b44;
}

body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  color: #fff;
}

.fundos-apoios {
  width: 20%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.modal-backdrop {
  position: relative;
}
.modal-dialog {
    max-width: calc(100% - 40px);
    padding: 30px;
    margin: 0;
    max-height: 100%;
}
.modal-content {
    background-color: #1a2b44;
    height: calc(100vh - 70px);
}
.modal-header {
    min-height: 60px;
}

.modal-body {
    height: calc(100vh - 135px);
    overflow-x: unset;
    overflow-y: scroll;
}
div#exampleModalLong {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #00000080;
}
.mh-90 {
    max-height: 90%!important;
    top: 0;
    bottom: 0;
    margin: calc(5vh) 0 calc(5vh) 20px!important;
}

.mhv-77 {
    max-height: 77vh;
    overflow: hidden;
}
.cover-container {
  z-index: 1;
  margin-left: 50px;
  width: calc(100% - 50px);
}

.main-container {
  background-color: rgba(17, 44, 69, 0.75);
  font-family: 'Fira Sans Condensed', sans-serif;
  min-height: calc(100vh - 2rem);
  padding: 30px 60px;
  display: inline-block;
  width: 100%;
}

.overlay-white {
  background-color: rgba(255, 255, 255, 0.5) !important;
}

.overlay-blue {
  background-color: rgba(17, 44, 69, 0.75) !important;
}

/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}

.menu {
  background-color: #112c45;
  width: 50px;
  height: 100vh;
  z-index: 10;
  position: fixed;
  left: 0;
  top: 0;
  text-align: center;
}

.menu>ul {
  list-style-type: none;
  height: 50vh;
  margin-top: 25vh;
  margin-bottom: 25vh;
  padding: 0px;
  display: inline-block;
}

.menu>ul>li {
  display: inline-table;
  text-align: center;
  width: 100%;
  height: 10vh;
}

.menu>ul>li>a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  display: table-cell;
  vertical-align: middle;
}

#menu li.active a {
  color: #1c73bf;
}

#menu li:hover {
    background-color: white;
}

#menu li:hover a{
    color: #112c45;
}

.home {
  background: url(../img/home.JPG) bottom center no-repeat fixed;
  background-size: cover;
}

.logo-home {
  height: calc(90vh - 230px);
}

.logo-img {
  height: calc(100vh - 10vh - 230px);
  max-width: 60vw;
}

.empresa-nome-home {
  width: 100%;
  font-size: 100px;
  font-family: 'Grotesk';
  color: #112c45;
  line-height: 95px;
}

.empresa-desc-home {
  font-size: 30px;
  font-family: 'Grotesk';
  color: #112c45;
  text-transform: uppercase;
  letter-spacing: 5px;
  line-height: 35px;
  margin-top: 5px;
}

.institucional {
  background: url(../img/institucional.JPG) center center no-repeat fixed;
  background-size: cover;
}

.institucional-header {
  font-family: 'Abril Fatface', serif;
  font-size: 28px;
  text-align: left;
  font-weight: bold;
}

.institucional-p {
  font-family: 'Fira Sans Condensed', sans-serif;
  text-align: justify;
  font-size: 18px;
  margin: 30px 0 0 0;
}

.portefolio{
  background: url(../img/portefolio.JPG) center center;
  background-size: cover;
}
.noticias{
  background: url(../img/noticias.JPG) center left;
  background-size: cover;
}
.contactos{
  background: url(../img/contactos.JPG) center center;
  background-size: cover;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
  height: 100%;
}

.carousel-caption {
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  display: grid !important;
  padding: 0px 40px;
}

.carousel-control-next, .carousel-control-prev {
  width: 60px;
  cursor: pointer;
}

.big-control {
  width: 35px;
  height: 35px;
}

.assinatura {
  font-style: italic;
}

.g-recaptcha > div {
  width: 100%;
}

.contactForm {
  font-family: 'Fira Sans Condensed', sans-serif;
}

.brand-name {
  font-family: 'Grotesk';
}

.mapa {
  width: 100%;
  height: 50%;
}

.mapa {
  width: 100%;
  height: 50%;
}

.news-titulo{
  font-family: 'Rockwell';
  font-size: 30px;
}

.news-p{
  font-size: 22px;
}

.d-grid {
  display: grid;
}

.h-80 {
  height: 80% !important;
}

.controls-bottom {
  position: relative !important;
  user-select: none;
  cursor: pointer;
}

.container-centered{
  max-width: calc( 100% - 80px);
  padding: 0;
  margin: 40px;
}

.jumbotron {
  background-color: transparent;
  border-radius: 0;
  width: calc(100% - 90px);
  margin-left: 20px;
  margin-bottom: 0;
}

.container-noticias{
  display: block;
  float: left;
  min-height: 70vh;
  max-height: 77vh;
}

#tags {
  display: inline-block;
  list-style: outside none none;
  padding: 0px;
}

#tags li {
  display: inline-block;
  margin: 0 2px;
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid #fff;
  border-radius: 2px;
  margin-bottom: 5px;
}

#tags li:hover {
  background-color: rgb(255, 255, 255);
  color: #112c45;
  border-color: white;
}

#tags li a {
  color: #ffffff;
  display: block;
  font-size: 12px;
  padding: 6px 22px;
  text-transform: uppercase;
  cursor: pointer;
}

#tags li a:hover {
  color: #112c45;
}

#tags li.active {
    background-color: rgb(255, 255, 255);
    color: #112c45;
    border-color: white;
}

#tags li.active a{
    color: #112c45;
}
.card {
  border-style: solid;
  border-color: white;
  border-width: 4px;
  cursor: pointer;
  border-radius: 0;
  height: 230px;
  margin-bottom: 20px;
}

.card-img-top {
  border-radius: 0 !important;
  height: 100%;
}

.card-title {
  margin-bottom: 0;
  color: #112c45;
  font-size: 15px;
}

.card-body {
  bottom: 40px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.72);
  position: absolute;
  width: 100%;
  padding: 12px;
  min-height: 60px;
}

.img-centered {
  left: 0;
  right: 0;
}

.mini-caroussel-indicators {
  width: 15px !important;
  height: 15px !important;
  background-color: white !important;
  padding: 2px;
  border-color: white;
  border-width: 3px;
  border-style: solid;
  margin: 5px;
}

.mini-indicators {
    position: relative;
    margin: 10px;
}
.carousel-indicators .active {
    background-color: #1a2b44 !important;
}

.modalDialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.modalDialog > div {
    position: relative;
    margin: 10vh 20vw;
    padding: 5px 20px 13px 20px;
    transform: translateY(-50%);
}

.close {
    color: #FFFFFF;
    line-height: 25px;
    right: 12px;
    text-align: center;
    width: 25px;
    opacity: 0.9;
    border-style: solid;
    border-width: 1px;
    top: -25px;
    position: absolute;
}

.close:focus, .close:hover {
  opacity: .6;
  color: white;
}

.modalDialog > div > h2 {
    color: white;
    font-size: 35px;
    font-family: 'Grotesk';
    letter-spacing: 2px;
    width: 100%;
    margin: auto;
}

.modalDialog > div > p {
    color: white;
    font-size: 20px;
    font-family: 'Fira Sans Condensed';
    letter-spacing: 2px;
    width: 100%;
    margin: auto;
}

.projectPhotos {
    margin: 25px 0 0 0;
}

div#mainProjectFoto {
    width: 100%;
    margin: auto;
}

.myProjectFotos {
  display: none;
  border-style: solid;
  border-color: white;
  border-width: thin;
  max-height: 40vh;
  margin: auto;
  max-width: 100%;
}

.myProjectFotos.active {
    display: block;
}

.project-fotos-section {
    margin-top: 16px!important;
    margin-bottom: 16px!important;
}

.slide-btn {
  border: none;
  display: inline-block;
  outline: 0;
  padding: 6px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none!important;
  color: rgb(255, 255, 255);
  background-color: rgba(255, 255, 255, 0);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  font-size: 25px;
}

.v-center{
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
}

.inner {
  height: calc( 100vh - 140px) !important;
  display: initial;
}



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

  .carousel-control-next {
    position: fixed;
    float: right;
    right: 70px;
    width: 30px;
  }

  .carousel-control-prev {
    position: fixed;
    float: left;
    left: 20px;
    width: 30px;
  }
  .conteudo {
    margin-left: 50px !important;
    margin-top: 0px !important;
  }
  .container-centered{
    max-width: calc( 100% - 80px);
    max-height: calc( 100% - 80px);
    padding: 0;
  }
  .jumbotron {
    padding: 40px;
  }
  main {
    position: relative;
    max-height: 100%;
    width: 100%;
  }
  .comercial-home{
    font-size: 22px;
  }
  .comercial-contactos {
      font-size: 15px;
  }
  .foto-noticia{
    margin-bottom: 10px;
  }
  .container-foto-noticia{
    height: 80%;
  }
  .scrollable{
    overflow-x: hidden;
    overflow-y: auto;
  }
  .screen-h{
    max-height: calc(77vh);
    overflow: auto;
  }
  .myBlock {
    max-width: 270px;
    display: inline-block;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
  }

  /* width */
  ::-webkit-scrollbar {
      width: 10px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
      background: #ffffff;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
      background: rgba(25, 42, 67, 0.5);
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
      background: #555;
  }

}

@media screen and (max-width: 768px) {

  .fundos-apoios {
    width: 30%;
  }

  .modal-dialog {
    max-width: calc(100%);
  }
  .mhv-77 {
      max-height: 100vh;
      overflow: visible;
  }
  .container-foto-noticia{
    min-height: 80vh;
  }

  .mini-indicators {
      margin: 0 !important;
  }

  .jumbotron {
    width: 100%;
    padding: 20px;
    margin: 0 !important;
  }
  .v-center {
    top: calc(50% + 20px);
    height: calc(100% - 40px);
  }
  .mh-90 {
    max-height: unset !important;
    height: 100vh;
  }

  .container-noticias {
    min-height: 1px;
  }
  .logo-home {
      height: 65vh;
  }
  .logo-img {
    position: absolute;
    height: calc(100vh - 10vh - 230px);
    max-width: 90vw;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .empresa-nome-home {
    line-height: 45px;
  }
  .carousel-control-next {
    position: fixed;
    float: right;
    right: 5px;
    width: 30px;
  }

  .carousel-control-prev {
    position: fixed;
    float: left;
    left: 5px;
    width: 30px;
  }
  .conteudo {
    margin-left: 0 !important;
    margin-top: 40px !important;
  }
  .container-centered{
    max-width: calc( 100% - 10px);
    padding: 0;
    margin: 5px;
  }
  main {
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: calc(100vh - 150px);
  }
  .comercial-home{
    font-size: 12px;
  }
  .comercial-contactos {
      font-size: 8px;
  }
  .contactForm{
    margin: 20px 0;
    padding: 0 15px;
    height: calc( 100vh);
  }
  .foto-noticia{
    margin-bottom: 15px;
  }

  #tags li {
    float: none;
    display: inline-block;
    margin-bottom: 5px;
  }

  .scrollable{
    text-align: center;
  }

  .myBlock {
    max-width: 270px;
    display: inline-block;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
  }
  .modalDialog > div {
      transform: none;
  }
}

@media screen and (max-width: 800px) and (min-width: 675px) {
    .menu{
        width: 100vw;
        height: 40px;
    }
    .menu>ul {
        height: 40px;
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }
    .menu>ul>li {
        width: 18%;
        height: 40px;
    }
    .cover-container {
        width: 100%;
        margin-left: 0px;
    }
    .empresa-nome-home{
      font-size: 80px;
      line-height: 80px;
    }
}

@media screen and (max-width: 674px) and (min-width: 480px){
    .menu{
        width: 100vw;
        height: 40px;
    }
    .menu>ul {
        height: 40px;
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }
    .menu>ul>li {
        width: 18%;
        height: 40px;
    }
    .cover {
        padding: 0;
    }
    .cover-container {
        width: 100%;
        margin-left: 0px;
    }
    .empresa-desc-home {
      font-size: 18px;
      line-height: 30px;
    }
    .modalDialog > div {
      position: relative;
      margin: 40px 0 0 0;
      padding: 5px 15px 10px 15px;
    }
    .modalDialog > div > h2 {
        font-size: 20px;
    }
    .modalDialog > div > p {
        font-size: 14px;
    }
    .news-titulo {
        font-size: 25px;
    }
    .news-p{
      font-size: 14px;
    }
    .empresa-nome-home{
      font-size: 70px;
      line-height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .menu{
        width: 100vw;
        height: 40px;
    }
    .menu>ul {
        height: 40px;
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }
    .menu>ul>li {
        width: 18%;
        height: 40px;
    }
    .cover {
        padding: 0;
    }
    .cover-container {
        width: 100%;
        margin-left: 0px;
    }
    .empresa-nome-home{
      font-size: 50px;
    }
    .empresa-desc-home {
      font-size: 12px;
      line-height: 22px;
    }
    .main-container {
      padding: 30px 15px;
    }
    .modalDialog > div {
      position: relative;
      margin: 40px 0 0 0;
      padding: 5px 15px 10px 15px;
    }
    .modalDialog > div > h2 {
        font-size: 20px;
    }
    .modalDialog > div > p {
        font-size: 14px;
    }
    .news-titulo {
        font-size: 25px;
    }
    .news-p{
      font-size: 14px;
    }
}
