/* *** WEBDTI */

html {   
  scroll-behavior: smooth; 
  font-family: "Roboto Slab", serif;
}
:root {
    /* CORES CPS */
    --vermelho: #b20000; 
    --vermelho-escuro: #931914; 
    --cinza: #333;
    --cinza-escuro: #333333; 
    --cinza-clarinho: #f2f2f2; 
    --verde-claro: #2bb8c9; 
    --verde-escuro: #005c6e; 
    --azul: #2bb8c9;
    --beige: #f8f0e6;
    --dourado: #d5a02d;
}
/* FONT CPS */
@font-face {
    font-family: robotobold;
    src: url(../fonts/RobotoSlab-Bold.ttf);
}
/* Segunda fonte */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&family=Zalando+Sans:ital,wght@0,200..900;1,200..900&display=swap');
body {
  	margin: 0;
	line-height: 130%;
	color: #555; 
    background-color: #e1e6ea; 
    background-color: rgba(0, 72, 84, .2);
	line-height: 30px;
    min-height: 100vh;
    font-family: "Roboto Slab", serif;
}
header {
 text-transform: uppercase;
}
header, section {
  display: block;
  margin: 0;
  padding: 0;
}
body .container {                         
  width: 100%;  
}
span.dti {
    color: #333;
    font-family: robotobold;
    font-size: 1.2rem;
}
span.fatecsp {
    color: var(--vermelho-escuro);
    font-family: robotoitalic;
    font-size: 1.1rem;
}
.largura_total {
    width: 90%;
}
p {
    padding-bottom: 15px;
    line-height: 160%;
}
p.center {
    text-align:center; 
    font-family: robotoitalic;
    font-family: "Roboto Slab", serif;
}
p.slogan {
    text-transform: none; 
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    font-family: "Roboto Slab", serif;
    text-align: center;
}
.tit_princ {
    background-color: #fefefe; 
    background-color: var(--vermelho-escuro); 
    padding: 0 1vw;
    font-family: robotoitalic;
    font-family: "Roboto Slab", serif;
    font-weight: 500;
    text-align: center;
    color: #fff;
    font-size: .8rem;
}
h1 {
    display: block;
    width: 100%;
    background-color: #f1f3f2; 
    color: #555;
    text-align: center;
    font-family: "Roboto Slab", serif;
    font-size: 13px; 
    font-variant: small-caps;
    font-weight: 400; 
    text-transform: none;
}
h2, .title, .conteudo {
    text-align: center;
    text-transform: none;
    font-variant: small-caps;
    color: var(--verde-escuro);
    font-weight: 600;
    font-family: "Roboto Slab", serif;
    font-size: 16px;
    line-height: 130%;
    padding: 5px 2%;
}
h5 {
    padding-bottom: 5px;
}
h6 {font-weight: 500;
    padding-top: 30px;
    font-size: 15px;
    font-family: roboto;
    font-family: "Roboto Slab", serif;
}
ul#docentes a.aprof:hover {
     color: #b20000;
}
#doc_vitae figure {
    max-width: 200px;
    margin: 0 auto;
}
b, strong {
    font-weight: bold;
}
em {
    font-style: italic;
}
ul {
    padding-bottom: 10px;
}
ul.lista {
    list-style: square;
    margin-left: 12px;
}
.center {
    text-align: center;
}
.top, .mainnav {
	background-color: #b20000; 
}
/* LOGOS INSTITUCIONAIS */

div#logos {
    background-color: #fff;
}
div.logos_institucionais {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    background-color: #fdfdfd;
    padding-left: 2vw;
    padding-right: 2vw;
    max-width: 1300px;
    margin: 0 auto;
}
div.logos_institucionais a {
    display: block;
    background-blend-mode: #fff;
}
/* Fatec-SP */
div.logos_institucionais a:nth-child(1){
    max-width: 100px;
}
/* WEBADS */
div.logos_institucionais a:nth-child(2) {
    max-width: 170px;
    padding-left: 7%;
}
/* CPS-GOVSP */
div.logos_institucionais a:nth-child(3) {
    max-width: 190px;   
}
div.logos_institucionais a img {
    width: 100%;
}
/* Logo WEBADS/Banner *** vide em: banner.css */

p#outros {
    margin-top: 55px;
    text-align: center;
    font-family: robotoitalic;
    font-family: "Roboto Slab", serif;
    font-size: .79rem;
}
#outros span {
    color: var(--verde-escuro);
    background-color: #f9f9f9; 
    font-size: 1.1em; 
    font-weight: bold;
}
#rodape {
	padding-top: 0;
    padding-bottom: 5px;
    text-align: center;  
    color: #f9f9f9;
    background-color: #f1f2f3; 
}
#rodape article {
    text-align: center; 
    padding-top: 10px; 
    margin-top: 1vh;
}
#rodape p, #rodape p a {
    color: #555;
}
.mapa_google {
    max-width: 1140px; 
    margin: auto;
}
.fundo {
    background: #444; 
}
.dir {
    background: #e6e6ee;
    margin-top: 0px;
    height: auto;
}
.text {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 12px;
    text-align: justify;
    font-family: Tahoma, Arial;
    font-family: "Roboto Slab", serif;
}
.margem10 {
    margin-left: 10px;
    margin-right: 8px;
}
img#calendario {
    margin-top: 5px; 
}
figure #logolab {
    display: block;
    margin: auto;
    width:30%;
}
div#seta_up {
    position: fixed;
    right: 10px;
    bottom: 20px;
    z-index: 9999;
    width: 30px;
    height: 30px;
    display: block;
    box-shadow: 1px 1px 4px #777;
    line-height: 35px;
    border-radius: 5px;
    border: solid .7px #fff;
    cursor: pointer;
    background-color: #b20000;
    opacity: .9;
}
/* Rodape */
div.duas_cols {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 7%;
    background-color: #e9ecef;
}
div.duas_cols > article li {
    text-align: justify;
    font-size: .97rem;
    font-family: robotoitalic;
    font-family: "Roboto Slab", serif;
    color: #555;
}
/* Outros */
div.duas_cols_geral > article {
    background-color: #fafafa; 
}
div.duas_cols_geral > article p {
    padding: 2% 6%;
    word-wrap: break-word;
}
div.duas_cols_geral > article h6 {
    padding: 2% 5%;
    padding-top: 20px;
}
div.duas_cols_geral figure.fotos {
    width: 80%;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 1.5%;
    border: solid 2px #ccc;
    background-color: #fff;
}
div.duas_cols_geral figure.fotos img {
    width: 100%;
    height: auto;
}
div.duas_cols_geral figcaption {
    text-align: center;
    font-style: italic;
}
.cor1 {
    color: var(--verde-escuro);
}
.cor2 {
    color: #fff;
}
.cor3 {
    color: var(--vermelho-escuro);
}
.cor4 {
    color: var(--dourado);
}
.link_cor3 a {
    color: var(--verde-escuro);
}
.link_cor3 a:hover, .link_cor3 a:active, .link_cor3 a:focus {
    color: var(--vermelho-escuro);
}
.header_h2 {
    font-size: .83rem;
    display: inline-block;
    text-transform: none;
}
.justify {
    text-align: justify;
}
#one_box table.tab tr {
    line-height: 180%;
}
article table#maratona_times td {
    display: block;
    width: 100%;
}
article table#maratona_times div {
    display: block;
    width: 90%;
    margin: 0 auto;
}
img#logo_foot {
    width: 150px;
    margin-left: -78px;
} 
#font_16 {
    font-size: 16px;
}
.topbot {
    padding-top: 25px;
    padding-bottom: 40px;
}
small {
    font-size: 15px;
    color: #777;
}
.rotate180 {
    transform: rotate(180deg);
    color: #fff;
}
/* ************** RESPONSIVO ************** */

@media screen and (min-width: 630px){
    /* cursopd.php */
    div.duas_cols_geral {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-gap: 15px;
        padding: 5px 5% 40px 5%; 
        max-width: 1250px;
        margin: 0 auto;
    }
    div.duas_cols_geral article {
        padding-bottom: 30px;
    }
    section#dti h2:first-child:after {
        font-size: .9rem;
    }
    h1 {
        font-size: 15px;
    }
}
@media screen and (min-width: 630px){
    .container {
        display: grid;
        width: 100%;
        margin: 0 auto;
        grid-template-columns: repeat(2, 290px); 
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        grid-template-rows: auto;
        justify-content: center;
        word-wrap: break-word;
        object-fit: cover;
    }
    .container:last-child {
        margin-bottom: 30px;
    }
    .title, .conteudo {
        font-size: .88rem;
        padding-bottom: 3px;
        margin-bottom: 15px;
    }
    section#dti h2:first-child:after  {
        font-size: .95rem;
    }
    div.duas_cols article:hover {
        background-color: transparent;
    }
    footer#rodape div.duas_cols article:hover {
        border: none;
    }
    .mapa_google {
        max-width: 700px; 
        margin: auto;
    }
    #outros {
        margin-top: 25px;
    }
    .header_h2:first-child {
        padding-right: 10px;
    }
    div.duas_cols {
        flex-direction: row;
        flex-wrap: nowrap;
        padding-left: 0%;
    } 
    div.duas_cols article {
        padding-right: 3%;
    } 
}
@media screen and (min-width: 768px){
    .container {
        grid-template-columns: repeat(2, 370px); 
    }
}
@media screen and (min-width: 1000px){
    .container {
        grid-template-columns: repeat(3, 320px);
        grid-column-gap: 7px;
    }    
    .mapa_google {
        max-width: 950px;
        margin: auto;
    }
}
@media screen and (min-width: 1200px){
    .container {
        grid-template-columns: repeat(3, 350px);
       grid-column-gap: 15px; 
    }
    h1 {
        font-size: .9rem;
    }
    .mapa_google {
        max-width: 1150px;
        margin: auto;
    }
}
@media screen and (min-width: 1300px){
    div#seta_up {
        position: fixed;
        right: 25px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        line-height: 45px;
    }
}
@media screen and (min-width: 1920px){
    .container {
        grid-column-gap: 15px;
    }
}
