﻿html {
    height: 100%;
    margin: 0;
}
body {
    height: 100%;
    margin:0;
    background: #ffffff;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100%);
    background-attachment: fixed;
}
p {
    margin:0px;
}
#container {
    width: 100%;
    height: 100%;
}
#maindiv {
    width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
}


#divfoto {
    grid-column-start: 1;
    grid-column-end: -1;
}
.navbar {
    margin-top: 2px;
    height: 35px;

    background-color: #F5F5F5;
    font-size:0px;
    margin-right:4px;
}

.btnnav:link, btnnav:visited {
    /*background-color: #1563AD;*/
    color: red;
    /*color: #0342ff;*/
    text-align: center;
    text-decoration: none;
    float: right;
}
.btnnav {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    line-height:35px;
    /*color: #0342ff;*/
    color:black;
    background-color:#F0F0F0;
    border-left: 2px solid #E7E5E4;
    border-right: 2px solid #E7E5E4;
    padding-right:10px;
    padding-left:10px;
    float:right;
    
}
    .btnnav:hover {
        background-color: #CCCCCC;
    }

#divnoticias{
    height: 850px;
    overflow-y: hidden;
    overflow-x:hidden;
}
#divfotos {
    /*background-color: lightblue;*/
    height: 850px;
    overflow-y: hidden;
    overflow-x: hidden;
}

#mainleft {
    width: 605px;
    text-align: center;

}
#mainright {
    text-align: right;
}

.cabecalho {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 5px;
    font-family: Arial Black, Arial Bold, Gadget, sans-serif;
    font-size: 20px;
    text-align: left;
    color: #4576B9;
}
.tabela-esq-home {
    display:table;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin: 0px;
    width: 600px;
    text-align: left;
    border-collapse: collapse;
}

    .tabela-esq-home td {
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 8px;
        background: #F7F8F9;
        /*border-top: solid 1px #DEE6EC;*/
        border-bottom: solid 1px #DEE6EC;
    }

.tabela-dir-home td {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    padding-top: 5px;
    padding-bottom: 12px;
    padding-left: 4px;
    background: #F7F8F9;
    /*border-top: solid 1px #DEE6EC;*/
    color: #669;
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word;
}

.noticia-header {
    font-family: Verdana, Geneva, Arial, sans-serif;
    line-height:2;
    font-size:20px;
}
.noticia-text {
    font-family: Verdana, Geneva, Arial, sans-serif;
    line-height:1.5;
    font-size: 12px;
}

.image-list{
    width:240px;
}
.image-list:hover{
    cursor:pointer;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    padding-top:100px;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /*
    display: none;  Hidden by default
    z-index: 1;  Sit on top 
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translate(-50%,0);
    padding-top: 80px;  Location of the box/
    margin: 0 auto;
    width: 1000px;
    height: 700px;
    overflow: auto;
    background-color: rgb(0,0,0);  Fallback color 
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity 
    align-items: center;
    justify-content: center;
    */
}
.modal-image {
    background: white;
    padding: 10px;
    border-radius: 5px;
    margin: auto;
    display: block;
    max-width: 1000px;
    max-height:700px;
}
#img-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
.close-overlay {
    position:absolute;
    top: -60px;
    right:0;
    color: #f1f1f1;
    font-size: 55px;
    font-weight: bold;
    transition: 0.3s;
}
.close-overlay:hover{
    cursor:pointer;
}

#rodape {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 16px;
    margin: 0px;
    text-align: center;
}



/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #1563AD #E7E7E7;
}
#8AC2FF
/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 12px;
}

    *::-webkit-scrollbar-track {
        background: #E7E7E7;
    }

*::-webkit-scrollbar-thumb {
    background-color: #1563AD;
    border-radius: 20px;
}
