@charset "utf-8";

/**
 *------------------------------------------------------------------------------
 * ÁGUAS DE PORTUGAL - ANUAL REPORTS V-1
 *------------------------------------------------------------------------------
 * @website		  resultados.adp.pt
 * @authors     SKYTRAILS
 * @System      j! 4
 * @css         template.css
 *------------------------------------------------------------------------------
 */

 /* ORIGINAL CSS*/
*, ::after, ::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body{
  color: var(--adp-logo-blue);
}
/*Os modals no backoffice Necessitam disto para apresentar
o body dentro do iframe sem scroll*/
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
 }
/*Este é o body por defeito do bootstrap, 
A definição das variáveis em user.css*/
body {
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  background-color: var(--body-bg);
  color:            var(--adp-logo-blue);
  font-family:      var(--font-text);
  font-size:        var(--body-font-size);
  font-weight:      var(--body-font-weight);
  line-height:      1;
  text-align:       var(--body-text-align);
 }

img, svg, video {
  max-width: 100%;
  height: auto;
}
img, svg {
  vertical-align: middle;
}
.foto, .video{
  background-color: cadetblue;
  min-height: 350px;
}

 /*mantem as imagens "intro image" e "Full Article Image" dentro da tag figure*/
 figure img {
  width: 100%;
  object-fit: cover;
}
.figure img {
  width: 100%;
  object-fit: cover;
}
 /*////////////////////////////////////////////////////
-               Add-ons tests
////////////////////////////////////////////////////*/
.p-big {
  font-size: 1.3rem;
}
.fw-300{
  font-weight: 300;
}
.fw-400{
  font-weight: 400;
}
.fw-600{
  font-weight: 600;
}
.inline {
  display: inline-block;
}
.img-100{
  width: 100%;
}
.img-cover{
  object-fit: cover;
}
.position-sticky {
  position: sticky !important;
}
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}
.visible {
  visibility: visible !important;
}
.visually-hidden {
  visibility: hidden;
  position: absolute;
}
.float-end {
  float: right !important;
}
.flex-column{
  flex-direction: column;
}
.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.no-gutters > .col,
.no-gutters > [class*=col-] {
  padding-right: 0;
  padding-left: 0;
}
.m-0 {
  margin-right: 0;
  margin-left: 0;
}
.p-0 {
  padding-right: 0;
  padding-left: 0;
}
div[class*="txt-col"]{
  column-count: 1;
  column-gap: 2.5em;
}

/*Colunas de texto*/
@media (min-width: 720px) {
  .txt-col-1{
    column-count: 1 !important;
  }
  .txt-col-2{
    column-count: 2 !important;
  }
  .txt-col-3{
    column-count: 3 !important;
  }
}
/*////////////////////////////////////////////////////
-               RESPONSIVENESS
////////////////////////////////////////////////////*/


.view-categories main > div,
.view-featured main > div,
.view-category main > div,
.view-article main > div {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}


.contain{
  width: 100%;
}
.content{
  max-width: 800px;
  margin: 0 auto;
}
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 100%;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 95%;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 85%;
  }
}
@media (min-width: 1300px) {
  .container {
    max-width: 82%;
  }
}
.container .container,
.container-component .container {
  width: 100%;
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}
@media (min-width: 1200px) {
  .full-width .container {
    max-width: 85%;
  }
  .container-fluid .container {
    max-width: 85%;
  }
}
@media (min-width: 1300px) {
  .full-width .container {
    max-width: 82%;
  }
  .container-fluid .container {
    max-width: 82%;
  }
}
.container-fluid {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}
.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: 8px;
  padding-right: 8px;
}
.full-width .container {
  padding-right: 18px;
  padding-left: 18px;
}
@media (min-width: 992px) {
  .full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
/* .container-banner .row {
  justify-content: center;
} */
.container-top-a .row > div{
  width: 100%;
}
.container-top-b .row > div{
  width: 100%;
}
.container-bottom-a .row > div{
  width: 100%;
}
.container-bottom-b .row > div{
  width: 100%;
}
.container-footer .row > div{
  width: 100%;
}
/*////////////////////////////////////////////////////

-               TEMPLATE STRUCTURE
////////////////////////////////////////////////////*/

#stage{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.system-debug {
  display:block
 }
 .module {
  position: relative;
}
   
/*=================================================/
**   HEADER 
*/
header { 
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.03);
}
.container-top-bar .row{
  justify-content: left;
}
.container-head-top .row{
  justify-content: center;
}
.container-nav-top .row{
  display: flex;
  justify-content: center;
}

/*
  NAVIGATION
==============================*/
#main-navbar .container-navbar{
  display: flex;
  flex-wrap: nowrap;
  }
      .navbar-item{
      display: flex;
      height: 90px;
      /* align-items: center; */
      flex-grow: 1;
      flex-shrink: 1;
      }
      #nav-left{
      /* background-color: cornflowerblue; */
      justify-content: start;
      /* align-items: center; */
      }
          .container-nav-left{
              /* background-color: #FF0000;  */
              display: flex;
              justify-content: start;  
              align-items: center;
          }
      #nav-center{
      /* background-color: rgb(192, 255, 195); */
      justify-content: center;
      /* align-items: center; */
      }
          .container-nav-center{
              /* background-color: #FF0000;  */
              display: flex;
              justify-content: center;
              align-items: center;
          }
      #nav-right{
      /* background-color: pink; */
      justify-content: flex-end;
      /* align-items: center; */
      }
          .container-nav-right{
              /* background-color:aqua; */
              display: flex;
              justify-content: flex-end;
              align-items: center;
          }

#nav-bottom{
  display: flex;
}
.container-nav-bottom .row {
  justify-content: center;
}

/*
  Footer 
==============================*/
footer{
  margin-top: auto;
}


/*
  BREADCRUMBS
==============================*/

#breadcrumbs.position {
  margin-top: 30px;
  margin-bottom: 30px;
}
  .mod-breadcrumbs {
    color: inherit;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 0;
    list-style: none;
    background-color: #e9ecef;
    border-radius: .25rem;
  }

.breadcrumb {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: #e9ecef;
  border-radius: .25rem;
}
.breadcrumb-item.active {
  color: #484f56;
}
.breadcrumb-item + .breadcrumb-item {
  padding-left: .5rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: #6d757e;
  content: var(--breadcrumb-divider,"/");
  float: left;
  padding-right: .5rem;
}

/*
  Main Content Area
==============================*/
/* #main-content-area{
  display: flex;
  flex-flow: column wrap;
}
#sidebar-left{
  flex-grow: 1;
  order: 3;
}
#component-area{
  flex-grow: 1;
  padding: 0 15px;
}
#sidebar-right{
  flex-grow: 1;
}
@media (min-width: 992px) {
    #main-content-area{
      flex-direction: row;
      flex-wrap: nowrap;
    }
    #sidebar-left{
      width: 21%;
      min-width: 220px;
      order: 0;
    }
    #component-area{
      width: 58%;
    }
    #sidebar-right{
      width: 21%;
      min-width: 220px;
    }
} */
/*
  Main Content Area
==============================*/
#main-content-area{
  /*background-color: rgb(255, 248, 183); */
  /* display: flex; */
  flex-flow: column wrap; 
  width:100%;
  /* border: 5px solid #e93fbe; */
}
#sidebar-left{
  /* background-color: cornflowerblue; */
  /* flex-grow: 1; */
  width:100%;
  order: 3;
}
#component-area{
  /* background-color: rgb(192, 255, 195); */
  /* flex-grow: 1; */
  width:100%;
  padding: 0;
}
#sidebar-right{
  /* background-color: pink; */
  /* flex-grow: 1; */ 
  width:100%;
}
@media (min-width: 992px) {
    #main-content-area{
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
    }
    #sidebar-left{
      width: 21%;
      min-width: 220px;
      order: 0;
      flex-grow: 1; 
    }
    #component-area{
      width: 58%;
      flex-grow: 1; 
    }
    #sidebar-right{
      width: 21%;
      min-width: 220px;
      flex-grow: 1; 
    }
}



