

/* DATAS Vis Mod XXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
.datas {position: fixed; top: 0px; left:0; background: rgba(0,0,0,0.7);  
        text-align: left; font-size: 12px; color: var(--texgg); z-index: 3;}

/* The TOP navigation bar XXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
.TOPnavbar {overflow: hidden; background-color: var(--fundo3);  /*    var(--fundo);  */
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  width: 100%; }/* Full width */
/* Links inside the navbar */
.TOPnavbar a {  /*float: left; */  display: block;  color: #f2f2f2;  text-align: center;
  padding: 4px 6px;  text-decoration: none;}
/* Change background on mouse-over */
.TOPnavbar a:hover {  background: #ddd;  color: black;}
/* The TOP navigation bar XXXXXXXXXXXXXXXXXXXXXXXXXXXXX */


/* NAV BAR XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
.header {background:var(--fundo6); top:0; margin:0; padding: 0px; width: 99%;  position: fixed;
    text-align: left; text-indent: 0px; z-index: 2;} /*display: inline-block;  position: fixed;  */
/* Navbar container */
.navbar {overflow: hidden;  background-color: var(--fundo2); color: var(--texr);  }
/* Links inside the navbar */
.navbar a {float: left; text-align: center; padding: 0px 5px 0px px; text-decoration: none;} /* font-size: 16px; color: white;  */
/* The dropdown container */
.dropdown {float: left; overflow: hidden; }
/* Dropdown button */
.dropdown .dropbtn {background-color: inherit; font-size: inherit; 
    border: none; outline: none; color: var(--texn); padding: 0px 0px; border-radius: 8px;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0;} /* Important for vertical align on mobile phones */
/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {background-color: orangered;}
/* Dropdown content (hidden by default) */
.dropdown-content {display: none; background-color: var(--fundo1); position: absolute; padding: 0px 5px; 
    min-width: 150px; box-shadow: 10px 0px 0px 0px rgba(0,0,0,0.2); 
    border: 1px solid var(--texr); text-align: left; color:var(--texn); }
/* Links inside the dropdown */
.dropdown-content a {float: none; color: var(--texcy); padding: 0px 0px;
  text-decoration: none; display: block; text-align: left;}
/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {background-color: orangered;}    /*   var(--fundo7); */
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block; }
/* NAV BAR XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */



/* TabNav = TABELA DE BOTÕES DE NAVEGAÇÃO XXXXXXXXX */
.TabNav {border: 2px solid gold; padding: 3px 9px 3px 9px}
.TabNav th  {background-color: var(--fundo6); border-radius: 1em; border-style: outset; min-width: 19em;/* */ 
            padding: 2px 10px 0px 10px; font-size:0.95em; text-align: center; color: var(--texn); }
.TabNav th:hover    {background-color: var(--fundo3);}
.TabNav td:hover    {background-color: var(--fundo3);}
.TabNav td {background: var(--fundo6); padding: 2px 8px 2px 8px; /* min-width: 19em; */
            border-radius: 0.5em; text-align: left; color: var (--texn);} 
/* Botões de Navegação XXXXXXXXXXXXXXXXXXXXXXXXXXX*/
.btNav  {background:var(--fundo); border-style: outset; border-color: var(--texn); border-radius: 5pt; color:var(--texn);}
.btNav:hover {cursor: pointer; background-color: orangered; color: white;}




/* The side navigation menu XXXXXXXXXXXXXXXXXXXX */
#openNavBt      {position: fixed; bottom: 0px; left: 0px; z-index: 10; } /*       */
.sidenav {position: fixed; /* Stay in place */ left: 0; bottom: 55px; 
    background-color: var(--fundo3);  /* #111; Black*/ color: var(--texn); opacity: 0.85;
    height: 230px; /* 100% Full-height */  width: 0; /* 0 width - change this with JavaScript */
    padding-top: 10px;  /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    z-index: 3; /* Stay on top */ 
    overflow-x: hidden; /* Disable horizontal scroll */}
.sidenavM {background-color: var(--fundo3); color: var(--texn); opacity: 0.85; z-index: 3; overflow-x: hidden;
    position: fixed; bottom: 55px; left: 0; height: 300px; width: 0; padding-top: 10px; transition: 0.5s;  }
/* The navigation menu links */
.sidenav a {display: block; padding: 8px 8px 8px 32px; text-decoration: none; font-size: 25px; color: var(--texn); transition: 0.3s;}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover {color: #f1f1f1;}
/* Position and style the close button (top right corner) */
.sidenav .closeNavBt {position: fixed; bottom: 0px; left: 0px; z-index: 9;} /* right: 25px; font-size: 36px;  margin-left: 50px;*/
.sidenavM .closeNavBt {position: fixed; bottom: 0px; left: 0px; z-index: 9;} /* right: 25px; font-size: 36px;  margin-left: 50px;*/
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {transition: margin-left .5s;  padding: 20px;}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {.sidenav {padding-top: 15px;} .sidenav a {font-size: 18px;}}
/* The side navigation menu XXXXXXXXXXXXXXXXXXXX */


/* AUTO XXXXXXXXX  */
.abertoAuto {background: var(--fundo); max-width: 19em; margin-left: auto; margin-right: auto;  padding: 5px 5px 5px 5px;
        text-align: left; color: var(--texn); border: solid 2px orange;  margin-bottom: 5px;  }     /*          */
.fecharauto {background-color: var(--texgg);  cursor: pointer;  padding: 0000; margin-left: 0px; /* width: 100%;*/
    border-style: outset; border: solid 1px; border-color: var(--texgg);  /* width: auto;  border-radius: 5px;*/
    font-size:0.8em; color: red; font-weight:bold; padding: 0px 10px 0px 10px; }  /*text-align:center;  */
.fecharauto:before  {content: "▲ "; color:#01f06c; font-size: 1em;} 
.fecharauto:after   {content: " ▲"; color:#01f06c; font-size: 1em;}    

.fechalinha {display: grid;  grid-template-columns: 1fr auto 1fr;  gap: 0.3em; color:#b90000; font-weight:bold;}
/*.fechalinha:before  {content: "▲ "; color:#01f06c; font-size: 1em;} 
.fechalinha:after   {content: " ▲"; color:#01f06c; font-size: 1em;}    */
.fechalinha::before, .fechalinha::after {content: ""; border-top: 1.2em solid var(--texgg); align-self: center;}
  


/* The side PROBLEMA menu XXXXXXXXXXXXXXXXXXXX */
#openProbBt  {position: fixed; bottom: 0px; left: 0px; z-index: 10; } /*       */
.sideProb {background-color: var(--fundo3);  /* #111; Black*/ color: var(--texn); opacity: 1;
    position: fixed; /* Stay in place */
    top: 1.5em; /* Stay at the top */  left: 0;
    /*height: auto;  100% Full-height */  width: 0; /* 0 width - change this with JavaScript */
    /* padding-top: 60px; */ /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    z-index: 3; /* Stay on top */ 
    overflow-x: auto; /*overflow-x: hidden;  overflow-y: auto;  Disable horizontal scroll */}
/* The navigation menu links */
.sidenProb a {display: block; padding: 8px 8px 8px 32px; text-decoration: none; font-size: 25px; color: var(--texn); transition: 0.3s;}
/* When you mouse over the navigation links, change their color */
.sideProb a:hover {color: #f1f1f1;}
/* Position and style the close button (top right corner) */
.sideProb .closeProbBt {position: fixed; bottom: 0px; left: 0px; z-index: 9;} /* right: 25px; font-size: 36px;  margin-left: 50px;*/
/* The side PROBLEMA menu XXXXXXXXXXXXXXXXXXXX */

.janela {width: 100%;}



/* Reinicia - Actualiza XXXXXXXXXXXXXXXXXXXX */
.aviso {position: fixed; top: 11em; left:0; line-height: 200%; width: 100%; 
  background-color: rgba(128, 0, 0, 0.8); opacity: 0.85; z-index: 4; overflow-x: hidden;
  transition: 0.5s; text-align: center; color: white; /* padding: 0px 10px 0px 10px; */
  border-style: outset; border: solid 4px var(--texgg); border-radius: 20px;
  text-indent: 0; font-size:1.20em; color: white;  font-weight: bold; }
.avisoAppR {background:green; border: solid 4px var(--texgg); border-radius: 10px;
        padding: 10px 10px 10px 10px; text-align: center; color: white; z-index: 4;}
.avisoAppA {background:#00CCFF; border: solid 4px var(--texgg); border-radius: 10px;
        padding: 10px 10px 10px 10px; text-align: center; color: white; z-index: 4;}
.avisoPagA {background:lime; border: solid 4px var(--texgg); border-radius: 10px;
        padding: 10px 10px 10px 10px; text-align: center; color: black; z-index: 4;}
/* Reinicia - Actualiza XXXXXXXXXXXXXXXXXXXX text-align: center;*/


/* FOOTER XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
/* TabSet = TABELA DO PAINEL DAS CONFIGURAÇÕES XXX */
/* .conf = botão de configurações ON e OFF*/
/*.conf   {position: fixed; height: 400px; width: 100%; bottom: 40px; z-index: 1;}  /*  position: fixed;      */
#confon         {position: fixed; bottom: 0px; left: 0px; z-index: 3; } /*       */
#confon:hover   {cursor: pointer; background:red}
/*#confoff        {position: fixed; bottom: 0px; left: 20px;}      /*  */
#confoff:hover  {cursor: pointer; background:red}
/* painel de configurações */
.abertoconf     {position: fixed; height: 230px; width: 98%; background: var(--fundo6); color: var(--texn); /* text-align: left;    */
                border: solid 2px var(--texn); margin-bottom: 5px; bottom: 30px; overflow-x: hidden; opacity: 0.9; z-index: 3; }   /*  */
.TabSet {background-color: var(--fundo); width: 98%; border: 1px solid var(--texr); border-collapse: collapse;} 
.TabSet tr {background-color: var(--fundo); width: 98%; border: 1px solid var(--texr);  border-collapse: collapse;} 
.TabSet tr:hover {background-color: var(--fundo2); }  /* */
.TabSet td { text-align:center; line-height: 110%;} /* border-radius: 0;      */
.TabSet td:nth-of-type(1) {min-width: 7em; } /*   */
.TabSet td:nth-of-type(2) {min-width: 8em; } /*   */

.TabSetCFG {background-color: var(--fundo); width: auto; border: 1px solid var(--texr); border-collapse: collapse;
            font-size: 16px; } 
.TabSetCFG th {text-align: center; font-size: 12px; } 
.TabSetCFG tr {background-color: var(--fundo); border-collapse: collapse;} /* width: 98%;   */
.TabSetCFG tr:hover {background-color: var(--fundo2); }  /* */
.TabSetCFG td {width: auto; text-align:center; line-height: 110%; border: 1px solid var(--texr); } /* border-radius: 0;      */
/*.TabSetCFG td:nth-of-type(1) {min-width: 7em; } /*   */
.TabSetCFG td:nth-of-type(1) {width: 200px; } /*   */
.TabSetCFG td:nth-of-type(2) {width: 120px; } /*   */
.TabSetCFG td:nth-of-type(3) {width: 50px; font-size: 1.5em; font-weight:bold ; padding:0px ;} /*   */

.TabSetCFGax {background-color: var(--fundo); width: auto;   font-size: 19px;
            border: 1px solid var(--texr); border-collapse: collapse; } 
.TabSetCFGax tr {background-color: var(--fundo); width: 98%;  border-collapse: collapse;} 
.TabSetCFGax tr:hover {background-color: var(--fundo2); }  /* */
.TabSetCFGax td {width: auto; text-align:center; line-height: 110%; border: 1px solid var(--texr); } /* border-radius: 0;      */

/*.Footer { bottom:0; padding: 0px; text-align: center; width: 100%;} /* opacity: 0.95; */
.Footer { bottom:50; padding: 0px; text-align: center; width: 100%;} /* position: fixed; opacity: 0.95; */
.BtNav {position: fixed; bottom:0; padding: 0px; text-align: center; width: 100%;} /* opacity: 0.95; */
#ModoF {position: relative;}
#BtTOP {
display: none;  /* Hidden by default */
position: fixed;/* Fixed/sticky position */
bottom: 3px;    /* Place the button at the bottom of the page */
right: 3px;     /* Place the button 30px from the right */
z-index: 9;    /* Make sure it does not overlap */
/*border: none; /* Remove borders */
border-style: outset; border-color: var(--texn); opacity: 0.9; border-radius: 7px;  /* Rounded corners */
outline: none;        /* Remove outline */
background: var(-fundo); /* Set a background color */
cursor: pointer; /* Add a mouse pointer on hover */
padding: 1px;    /* Some padding */
font-size: 12pt; } /* Increase font size */
#BtTOP:hover {cursor: pointer; background:red}
/* FOOTER XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/


/* The axVAR XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
.axVAR {background-color: rgba(128, 128, 128, 0.9); /* #111; Black*/ color: var(--texn); opacity: 1;
    position: fixed; /* Stay in place */
    bottom: 55px; /* Stay at the top */  left: 0;
    height: 120px; /* 100% Full-height */  width: 0; /* 0 width - change this with JavaScript */
    /* padding-top: 60px; */ /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    z-index: 2; /* Stay on top */ 
    overflow-x: hidden; /* Disable horizontal scroll */}
.axVARM {background-color: var(--fundo3); color: var(--texn); opacity: 0.85;
    position: fixed;  bottom: 55px;  left: 0; height: 350px; width: 0; 
    transition: 0.5s;  z-index: 2;  overflow-x: hidden; }
/* The navigation menu links */
.axVAR a {padding: 4px 2px 8px 32px;  text-decoration: none;  font-size: 25px;  color: #818181;  display: block;  transition: 0.3s;}
.axVAR a:hover {  color: #f1f1f1;}
.axVAR .closebtn {position: absolute;  top: 0;  right: 1em;  font-size: 36px;  margin-left: 50px;}
/* The VARax XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */



::-webkit-scrollbar {  width: 4px;}     /* width */
::-webkit-scrollbar-track {background: var(--fundo) } /* Track  border-radius: 0.5em; background: #f1f1f1;  */
::-webkit-scrollbar-thumb {background: #888;  background: red;  border-radius: 0.5em;} /* Handle */
::-webkit-scrollbar-thumb:hover {  background: #990d0d;}        /* Handle on hover */
/*.scroller {scrollbar-color: rebeccapurple green}*/

.parent {display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5em,7.5em));
         margin-left: auto; margin-right: auto; place-items: center;}
     
blockquote {margin-left: 5%; margin-right: 5%;}

article {max-inline-size: 66ch;}    /*   max-inline-size: 66ch;   */
:is(article) {max-inline-size: initial;  margin-block-start: var(--metric-box-spacing);}

@media screen and (min-width: 600px) {.tamSet {font-size: 50%; }}


/*@media (min-width: 30em) {article {column-count: 2;}}    /*  (min-width: 50em)   */

@media (min-width: 600px) {         /* min-width: 600px */  
    main {display: flex; flex-direction: line; }  
    main aside   { flex: 1;  max-width: 19em; }  /*  max-width: 240px  min-width: 17.5em;  */
    main article { flex: 2; }  }    */
/*@media (min-width: 45em) {body {display: grid; grid-template-columns: 1fr 2fr;  }   } */
.media {background:green; display: flex; align-items: center; gap: 0.5em;}
.media-illustration {flex: 1; align-items: center; max-inline-size: 100px;}      /*  max-inline-size: 40px;  */
.media-content      {flex: 2; align-items: center;  max-inline-size: 200px;color:white;}  


@media (max-width: 50em) {  
    .cards {display: flex; flex-direction: row; flex-wrap: nowrap; gap: var(--metric-box-spacing); 
    overflow-x: auto; scroll-snap-type: inline mandatory; scroll-behavior: smooth;  }
    .card {flex-shrink: 0; flex-basis: 5em; scroll-snap-align: start;  } }   /*   flex-basis: 15em;   */
@media (min-width: 50em) {
    .cards {display: grid; grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
    grid-gap: var(--metric-box-spacing);  } }

.media {background:green; display: flex; align-items: center; gap: 0.5em;}
.media-illustration {flex: 1; align-items: center; max-inline-size: 100px;}      /*  max-inline-size: 40px;  */
.media-content      {flex: 2; align-items: center;  max-inline-size: 200px;color:white;}  

.media {background:green; display: flex; align-items: center; gap: 0.5em;}
.media-illustration {flex: 1; align-items: center; max-inline-size: 100px;}  /*  max-inline-size: 40px;  */
.media-content      {flex: 2; align-items: center;  max-inline-size: 200px; color:white;}  


.cards  {background:var(--fundo1); display: grid; grid-row-start:auto; grid-row-end:auto; margin-top: 0.5em;
        grid-template-columns: auto auto auto auto;align-content: center; 
        grid-gap: .2em; align-items: center; place-items: center; overflow: visible;
        grid-template-columns: repeat(auto-fill, minmax(7.5em,7.5em));    }  
        /* (para 3 crtões por linha em tam10)  minmax(120px,120px) */
        /*  margin-left: auto; margin-right: auto;      */
        /*  align-items: center;  grid-auto-flow: row;   */
        /*    */
.cards  {background:var(--fundo6); grid-gap: .2em; align-items: center;
        display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5em,7.5em)); }   /* (para 3 crtões por linha em tam10)  minmax(120px,120px) */

.cards  {background:var(--fundo1); display: grid; grid-row-start:auto; grid-row-end:auto; margin-top: 0.5em;
        grid-template-columns: auto auto auto auto;align-content: center; 
        grid-gap: .2em; align-items: center; place-items: center; overflow: visible;
        grid-template-columns: repeat(auto-fill, minmax(7.5em,7.5em));    }  
        /* (para 3 crtões por linha em tam10)  minmax(120px,120px) */
        /*  margin-left: auto; margin-right: auto;      */
        /*  align-items: center;  grid-auto-flow: row;   */
.card   {background: var(--fundo3); padding: 0px; text-indent:0px; margin-left: auto; margin-right: auto; place-items: center;
        align-content: center; text-align:center; font-size:0.7em; color:var(--texn); vertical-align: text-top;     }


/* OBRAS XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */

.obras {background: var(--fundo1); margin-top: 1em; vertical-align: text-top;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5em,7.5em)); grid-gap: .2em;} 

.obra  {background: var(--fundo2); font-size:0.7em; color:var(--texn); 
        text-align:center; vertical-align: text-top; border: 1px solid var(--texn);}
        /* padding: 0px; text-indent:0px; place-items: center;   align-content: center;  
            margin-left: auto; margin-right: auto; */

.obraT {background: var(--fundo2); text-align:center; font-size:0.7em; color:var(--texn);
        position: relative; max-width: 40em;  vertical-align: text-top;  
        border: 3px solid; border-color: red; border-top-style: 3px solid red; 
        border-right-style: none; border-bottom-style: none; border-left-style: none;  }
.obraTB {background: var(--fundo2); text-align:center; font-size:0.7em; color:var(--texn); 
        position: relative; max-width: 40em; border: 3px solid; vertical-align: text-top; 
        border-color: red; border-top-style: 3px solid; border-left-style: none; 
        border-bottom-color:cyan; border-bottom-style: 3px solid; border-right-style: none; }
.obraB {background: var(--fundo2); text-align:center; font-size:0.7em; color:var(--texn); 
        position: relative; max-width: 40em; border: 3px solid; vertical-align: text-top;  
        border-bottom-color:cyan; border-bottom-style: 3px solid; 
        border-top-style: none; border-right-style: none; border-left-style: none;  }

.overT {position: absolute; top: 0; background: rgba(255, 0, 0, 1); opacity:0; /* Black see-through */
        width: 100%; color: white; font-size: 0.9em; text-align: center;} /*transition: .5s ease;*/
.overB {position: absolute; bottom: 0; background: rgba(0, 255, 255, 1); opacity:0; /* Black see-through */
        color: white; font-size: 0.9em; text-align: center;}  /*  padding: 5px;  */ 
.obraT:hover  .overT {opacity: 1;}
.obraTB:hover .overT {opacity: 1;}
.obraTB:hover .overB {opacity: 1;}
.obraB:hover  .overB {opacity: 1;}
.verest {position: absolute; bottom: 0; width: 100%; text-align: center; font-weight: bold; color: cyan; 
     background: rgba(0, 255, 255, 0.2); border: 1px solid cyan;}


/* <span class="overO"><img src="I/02I/2JR/1920/1926-01-__-DL-Lisboa-Velha.jpg" alt="x"></span></span>*/
.obraO {display: inline-block ; width: 100%; position: relative; color: cyan;}
.overO {position: absolute; top:20; left:0; right:0; background-color:gray; overflow: hidden; 
     width:100%; height:auto; transform: scale(0);  transition: .3s ease; z-index: 1;}
.obraO:hover .overO {opacity: 1; transform: scale(1);}

.obraO80 {display: inline-block ; width: 100%; position: relative; color: cyan;}
.overO80 {position: absolute; top:20; right:0; background-color:gray; overflow: hidden; 
     width:80%; height:auto; transform: scale(0);  transition: .3s ease; z-index: 1;}
.obraO80:hover .overO80 {opacity: 1; transform: scale(1);}

.obraO100 {display: inline; color: cyan;}
.overO100 {position: relative; width: 100%; transition: .5s ease; opacity:0; background: rgba(255, 0, 0, 0.7);}
.obraO100:hover .overO100 {opacity: 1;}

.cont-c {position: relative;}  /*  width: 50%; Tamanho da imagem  max-width: 300px;  */
.overlayc    {position: absolute; top:20; left:0; right:0; background-color:gray; overflow: hidden; 
     width:100%; height:auto; transform: scale(0);  transition: .3s ease; z-index: 1;}

.cont-c:hover .overlay {transform: scale(1);}
.cont-c:hover .overlay {opacity: 1; }

p.vermais {background: rgba(0, 255, 255, 0.2);margin: 0px; width: 100%; border: 1px solid; border-color: cyan;
    } 
/* OBRAS XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */

