/*
Theme Name: Portal Inovação - take 4
Author: Paulo Oliveira
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.ciencia.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{
    display: flex;
    flex-direction: column;
    background-color: #B0CCDD;
    min-height: 100%!important;
    margin: 0;
}

#header{
    flex-grow:initial;
}

.conteudo{
    padding: 20px;
    background-color: white;
    border-radius: 10px;
}

.col-md-8,.col-xl-8{
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    max-width: 1198px;
    margin: auto;
}

.corpo{
    /*padding-top: 50px;*/
    padding-bottom: 300px;
    flex-grow: 3;
}

#footer{
    /*position: fixed!important;*/
    position: relative;
    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:10px;
    padding-bottom:10px;
    /*background-color: #E1ECF2;*/
}
td.has-text-align-left{
    padding: 10px;
    /*border-right: 40px solid white;*/
}
.has-text-align-left:nth-child(even){
    border-right: 40px solid #b0ccdd;
    border-left: 40px solid #b0ccdd;
}

.post_title{
    font-size: 42px;
    color: #3980AA;
    font-weight: bold!important;
}

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: 430px!important;
    width: 430px!important;
    vertical-align: top;
}

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

@media screen and (max-width: 1000px) {
    #footer{
        position: relative!important;
    }
    h1.titulo-pagina{
        width: 95%!important;
        margin: auto;
    }
    .boas-vindas{
        background: white!important;
        padding-right: 0px!important;
    }
    .wp-block-table table {
        max-width: 380%!important;
    }

    .wp-block-table table th{
        width: 430px!important;
    }

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

}

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

    .upButton{
        position: absolute;
        bottom: 90px;
    }
    .small-footer{
        position: absolute;
        bottom: 0px;
        left: 0px;
    }
}

@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: 1200px;/*380%*/
    }
    .wp-block-table table tr{
        width: 1200px!important;
    }
    .wp-block-table table thead tr th,.wp-block-table table tbody tr td{
        width: 430px!important;
    }
    .conteudo div figure table thead tr th,.conteudo div figure table tbody tr td{
        /*max-width: 430px!important;*/
        width: 430px!important;
        vertical-align: top;
    }
    .upButton{
        position: absolute!important;
        bottom: 315px!important;
    }
    .corpo figure > img{
        width: 100%!important;
        aspect-ratio: 19 / 9;
    }
    .small-footer{
        position: relative;
    }
    figure.wp-block-table thead th{
/*	padding-right: 200px;*/
    }
    figure.wp-block-table thead th img:nth-child(2){
	float: right!important;
    }
}

.boas-vindas{
	background-image: url('template_images/microscopio-background-grande.png');
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 300px;
}
.upButton{
       position: absolute!important;
       bottom: 90px!important;
}
.desaparece{
    display: hidden;
    background-color: #b0ccdd!important;
}

.conteudo{
    /*background-image: url('wp-content/themes/new-gra-look-page/templa>
    background-repeat: no-repeat;
    background-position: right bottom;*/
    background-color: #b0ccdd;
}
figure.wp-block-table thead th img{
    margin: 4px!important;
    background-color: white!important;
    border-radius: 5px 5px 5px 5px!important;
}
th{
    margin: 4px!important;
    background-color: white!important;
    /*border-radius: 5px 5px 0px 0px!important;*/
}
figure.wp-block-table tbody td{
    padding: 12px;
    background-color: white;
    /*border-radius: 0px 0px 5px 5px;*/
}

s > a > img{
    float: right;
}

h5{
    color:#3980AA;
}

.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;
}

button.nav-link {
    border: none !important;
    color: #25536F !important;
}

button.active {
    color: #173344 !important;
    border-bottom: 1px solid #173344 !important;
}

button.nav-link:hover {
    color: #327196 !important;
    border-bottom: 1px solid #327196 !important;
}

body{
    height: 1vh;
}

.wp-block-table thead th{
	width: 400px!important;
}

.splash_image{
    width: 100%;
}
