/*
Theme Name: Portal Inovação - Módulo Ris3
Author: Paulo Oliveira / GRA
Description: Proposta de tema para a DRCID plataforma da Inovação
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 0.3-1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ciencia-acores.azores.gov.pt
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

html,body,.corpo, figure *{
    background-color: #F7F8F3;
}

body{
    min-height: 1vh!important;
}

tr,th,td{
    background-color: #F7F8F3;
}

.corpo{
    padding-top: 50px;
    padding-bottom: 50px;
}

#footer{
    position: relative!important;
    bottom: 0px;
    width: 100%;
}

.wp-block-table{
    overflow-x:auto;
}

th.has-text-align-left{
    /*border-right: 40px solid white;*/
    font-weight: normal;
    font-size: 23px;
    padding:10px;
    padding-top:40px;
    padding-bottom:20px;
}
td.has-text-align-left{
    padding: 10px;
    /*border-right: 40px solid white;*/
}
.has-text-align-left:nth-child(even){
    border-right: 30px solid white;
    border-left: 40px solid white;
}

.post_title{
    font-size: 42px;
    color: #3980AA;
}

figure > table > thead > tr > th > a > img:nth-child(2){
    display:none!important;
}
figure > table > thead > tr > th > a:hover > img:nth-child(1){
    display:none!important;
}
figure > table > thead > tr > th > a:hover img:nth-child(2){
    display:inline!important;
}

.conteudo > div figure > table > thead > tr > th, .conteudo > div > figure > table > tbody > tr > td{
    max-width: 350!important;
    width: 430!important;
    vertical-align: top;
}

/*#footer{
    position: fixed;
    bottom: 0px; 
    width: 100%;
}*/

@media screen and (max-width: 1515px) {
    #footer{
        position: relative!important;
    }
    .menu-mobile{
        position: relative! important;
        left: -10px;
    }
    .submenu_1{
        position: absolute!important;
        top: 0px!important;
        left: -40px!important;
        height: 190px!important;
        background-color: white!important;
        width: 120%!important;
    }
    .submenu_2{
        position: absolute!important;
        top:-90px!important;
        left: -30px!important;
        height: 190px!important;
        background-color: white!important;
        z-index: 3!important;
        width: 120%!important;
    }
    .corpo figure > img{
	width: 100%!important;
	aspect-ratio: 16 / 9!important;
    }
    .wp-image-150{
	width: 100%;
	height: 120%;
    }
}

@media screen and ( min-width:640px ) {
    .conteudo > div figure > table > thead > tr > th,.conteudo > div > figure > table > tbody > tr > td{
        max-width: 450px!important;
        width: 430px!important;
        vertical-align: top;
    }

    .upButton{
        position: absolute;
        bottom: 90px;
    }
}

@media screen and ( max-width:640px ) {
    .logo{
        margin-top: 15px!important;
    }
    .logo_a{
        margin-top: 15px;
    }
    .menus_desktop{
        padding-top: 15px;
    }
    .wp-block-table table {
        width: 380%;
    }
    .wp-block-table table thead tr th,.wp-block-table table tbody tr td{
        width: 80px!important;
    }
    .conteudo > div figure table thead tr th,.conteudo div figure table tbody tr td{
        max-width: 40px!important;
        width: 40px!important;
        vertical-align: top;
    }
    .upButton{
        position: absolute;
        bottom: 315px;
    }
}

/*#footer div{
	width: 101%!important;
}*/

.menu-mobile div{
	background-color: white!important;
 }

 .small-footer div a:hover{
    text-decoration: underlined;
    color: white;
}
.small-footer div a{
    text-decoration: underlined;
    color: white;
}

.small-footer div a:active{
    text-decoration: underlined;
    color: white;
}


.small-footer div a:visited{
    text-decoration: underlined;
    color: white;
}

.small-footer div a:link{
    text-decoration: underlined;
    color: white;
}
.wrapper{
    display: flex!important;
    flex-direction: column!important;
    height: auto;
}
body{
    height: 100%;
}
.corpo{
    min-height: 82%;
}