/*
 Theme Name:   Mathcore Twenty Twenty
 Description:  MathCore child theme of Twenty Twenty
 Author:       Johan Rosenkilde
 Template:     twentytwenty
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twentytwentychild
*/

/* The following creates a red bar underneath the header as padding of a div
 * whose bg is set to red */
#site-header {
    background-color: #990000;
    padding-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
    max-width: 1536px;
}
.header-inner {
    background-color: white;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    max-width: none;
}
.header-titles-wrapper {
    padding: 3em 3em 0 3em !important;
}

.header-navigation-wrapper {
    background-color: #990000;
}

.primary-menu a {
    color: #ffffff !important ;
    text-decoration: none !important ;
}

.primary-menu li:hover {
    text-decoration: underline ;
}

.footer-top {
    padding: 1rem !important;
    border-bottom: none;
}

.footer-menu {
    font-size: 1rem !important;
}



@media (min-width: 1000px) {
    .site-logo img {
            max-height: none;
    }

    .header-navigation-wrapper {
        padding: 10px;
    }

    .header-inner {
        position: relative;
    }

    .header-navigation-wrapper {
        position: absolute;
        bottom: 2.8rem;
        right: 3.8rem;
    }
}

@media (max-width: 999px) {
    .site-logo img {
            max-height: 200px;
    }
}

@media (max-width: 999px) {
    #site-header .toggle {
        color: #990000 !important;
    }
    #site-header .toggle-text {
        color: #990000 !important;
    }
}

.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 70rem;
	width: calc(100% - 4rem);
}

/* Styling tables */
ul.entity-list {
    max-width: 80rem;
}

.entity-list li {
    list-style-type: none;
    list-style-position: outside;
    margin-left: 0;
    margin-top: 0;
}

.entity {
    border-bottom: none;
    /* border-bottom: solid 1px #666; */
    margin-bottom: 0.5em;
    background-color: rgb(240, 240,240);
    padding: 10px;
    margin-left: -10px; 
    width: calc(100% + 20px);
}

.entity .entity-data:after {
    clear: both;
}
.entity .portrait {
    float: left;
    max-width: 25%;
    padding-right: 20px;
    min-width: 100px;
}

.entity .entity-search {
    float: left;
    max-width: 75%
}

.entity .titular {
    font-weight: bold;
    margin: -3px 0 3px 0;
}

.entity .entity-keywords {
    font-size: 0.7em;
}

.entity .entity-keywords em {
    font-style: normal;
    font-weight: bold;
}
.entity .entity-keywords p {
    margin-bottom: 0em;
}

.entity-data ul {
    margin: 0 !important;
}
.entity-data li {
    margin: 0 !important;
}

.entity-note {
    float: none;
    margin-top: 1em;
    margin-left: 1em;
}

.entity-description {
    margin-top: 0.5em;
    font-size: 0.9em;
}

.entity-description .desc-more {
    display: none;
}

.entity-description .toggle-more {
    font-size: 0.8em;
    font-weight: bold;
    border: grey solid 1px;
    padding: 0 5px;
    background-color: rgb(230,230,230);
    cursor:pointer;
    text-decoration: none;
    color: black;
    white-space: nowrap
}

.entity-orcid {
    float: left;
}

.entity-dtupage {
    margin-left: 3em;
    float: left;
}

.entity-dtupage:after {
    clear: both;
}

.contact-data {
    margin-top: -.5em;
}

.contact-data a {
    font-size: 0.9em;
    text-decoration: none;
    color: rgb(153,0,0);
}

.clear {
    clear: both;
    height: 0px;
}

@media (min-width: 461px) {

.entity .entity-stuff {
    float: left;
    width:75%;
}

}

@media (max-width: 460px) {

    .entity-stuff{
        clear: both;
        padding-top: 0.01em;
        width: 100%;
    }
}
