
/*****************************
 *                           *
 * Styling of the main body  *
 *                           *
 *****************************/

html {
    height: 100%;
    display: flex;
    flex-direction:column;
}

body {
    background-color: #dcdcdc;
    color: #1a1919;
    font-family:Roboto;
    flex-grow: 1;
    height: 100%;
}

table {
    margin-bottom: 1.5em;
    width: 100%;
    border-spacing: 0px;
}

h1, h2, h3, h4, h5, h6 {
    color: #000000;
}
h1 {
    font-size: 145%;
}
h2 {
    font-size: 118%;
}

a {
    color: #333;
}
a:visited {
    color: #666;
}
a:hover {
    color: #4f81bd;
}

img {
    max-width: 100%;
    height: auto;
}


.main-content-flexbox {
    justify-content: center;
    position: absolute;
    /* padding has to match the height of the footer */
    width: 100%;
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    height: 100%;
    height: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    /* padding has to match the height of the footer */
    padding-bottom:200px;
}


/***********************************
 *                                 *
 * Styling for zooming in and out  *
 *                                 *
 ***********************************/

@media screen and (min-width:64em) {

    .main-content-flexbox > * {
        max-width: 1200px;
        min-width: 1000px;
    }
}

@media screen and (min-width:2400px) {

    .pure-g{
        display: block;
    }

    body {
        padding-left: 25%;
    }
}

@media screen and (max-width:64em) {

    .main-content-flexbox > * {
        width:100%;
    }
}


.main-content-flexbox > * {
     max-width: 1200px; 
}

.main-content-flexbox > * {
    width:100%;
}


.main-content-flexbox > * > *{
    padding: 0 2em;
}
#main-content {
    background-color: white;
    min-height: 100%;
}

#content {
    display: flex;
    padding-bottom: 1em;
}

#body {
    flex: 1 1;
    min-width: 0;
}




/**************************
 *                        *
 * Styling of the header  *
 *                        *
 **************************/

#header {
    padding: 0;
    background-color: white;
    position: relative;
}

#top-bar {
    border-top: solid 14px #4f81bd;
    border-bottom: solid 1px black;
    height: 17px;
}


#header-links {
    position: absolute;
    display: flex;
    flex: wrap;
    right: 2em;
    top: 0px;
    width: 250px;
    background-color: #f6f6f6; 
    z-index:1;
    flex-wrap: wrap;
    align-content: start;
}

#tu-header-link {
    position: relative;
    background-color: #f6f6f6; 
    z-index:1;
}

#tu-header-link img {
    width: 250px;
}

#mais-header-link {
    text-align:left;
    padding: 1em;
    background-color:#4f81bd;
    color: #ffffff;
    text-decoration: none;
}

#mais-header-link:hover {
    text-decoration: underline;
    background-color: #4274af;
}




/******************************************
 *                                        *
 * Styling for the navigation bar on top  *
 *                                        *
 ******************************************/

#banner{
    margin-top: 2px;
    position: relative;
    height: 80px;
}

#main-navigation{
    position: absolute;
    bottom: 20px;
    left: 22px;
}

#main-navigation a {
    color: #000000;
    font-size: 130%;
    text-decoration: none;
    font-weight: bold;
}

#main-navigation a:hover{
    text-decoration: underline;
}

#main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-navigation ul li {
  display: block;
  position: relative;
  float: left;
  padding-right: 60px;
}

#main-navigation .dropdown-button {
  all: unset;
  font-size: 130%;
  text-decoration: none;
  font-weight: bold;
  padding-right: 60px;
}

#main-navigation .dropdown-button.open {
  color: #000000;
}

#main-navigation .dropdown-button.not-open {
  color: #767676;
  text-decoration: none;
}


#main-navigation .dropdown-button:hover{
  color: #000000;
  text-decoration: underline;
}

#main-navigation li ul {
    display: none;
}

#main-navigation .dropdown {
    display: none;
}


#main-navigation .dropdown.open {
    position: absolute;
    display: flex;
    flex-flow: wrap;
    background-color: #ececec;
    z-index: 1;
    width: 700px; 
    top:44px;
}


#main-navigation .dropdown-item {
    list-style: none;
    margin: 0;
    padding: 1.25em;
    width: 100%;
    font-size: 80%;
    color: #767676;
}

#main-navigation .dropdown-item a {
    color: #767676;
}

#main-navigation .dropdown-item a:hover {
    color: #000000;
    text-decoration: underline;
}

/***************************************************
 *                                                 *
 * Styling for image placeholder on the title page *
 *                                                 *
 ***************************************************/

#title-image-placeholder {
    position: relative;
    display: inline-block;
    background-color: #a8a4a4;
    width: 100%;
    height: 325px;
    z-index: 0;
}

#title-image-placeholder h1 {
    font-size: 200%;
    color: #f6f6f6;
    position: absolute;
    bottom: 0;
}

#title-image-placeholder h1.title-on-main-page {
    bottom: 15%;
}


#title-image-placeholder h2 {
    font-size: 150%;
    color: #f6f6f6;
    position: absolute;
    bottom: 0px;
}


/*******************************
 *                             *
 * Styling of the breadcrumps  *
 *                             *
 *******************************/

#breadcrumbs {
}
#breadcrumbs a {
    color: #666;
}

#breadcrumbs ol {
    list-style: none;
    padding: 0.5em 0;
    margin: 0;
    margin-bottom: 0.2em;
}
#breadcrumbs ol li {
    font-size: 0.9em;
    display: inline;
}

/************************************
 *                                  *
 * Styling for the right side bar   *
 *                                  *
 ************************************/


#right-sidebar {
    flex: 0 0 250px;
    display:flex;
    flex-wrap: wrap;
    align-content: start;
    justify-content: center;
    margin-left: 1em;
}

#contact-button {
    position:relative;
    all: unset;
    color: #4f81bd;
    border: 2px solid #4f81bd;
    height: 50px;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

#contact-button:hover {
    background-color: #4f81bd;
    color: #ffffff;
}

#sidebar-logo {
    width: 60%;
    padding:1em;
}



/****************************
 *                          *
 * Styling for the Footer   *
 *                          *
 ****************************/



#footer {
    position: relative;

    background-color: #4f81bd;

    height:200px;
    padding-top: 125px;

    font-weight: bold;
    font-size: 85%;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#footer a {
    color: #ffffff;
    text-decoration: unset;
}

#footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

#tothetop {
    position: absolute;
    right: 0em;
    top: -2em;
}

#tothetop img {
    background-color: #4f81bd;
}

/**************************************
 *                                    *
 * Styling of the staff overview page *
 *                                    *
 **************************************/

.staff-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.5em 150px;
}
.staff-container > div {
    flex-basis: 300px;
}
.staff-container > div p {
    margin: 0;
}
.staff-container > div img {
    float: right;
    width: 135px;
    height: 180px;
}

/***********************************************************
 *                                                         *
 * Other Styling (for which I don't know where it's used)  *
 *                                                         *
 ***********************************************************/

.hint-box {
    border: 1px dashed #000000;
    padding: 10px;
}

.tool-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

.tool-container > a {
    width: 300px;
    height: 300px;
    border: 1px solid gray;
    align-content: center;
    text-align: center;
}


.tool-container > a > div {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.tool-container > a > div > * {
    flex-basis: 83%;
}


.not-bf {
    font-weight: normal;
}



/************************
 *                      *
 * Styling for Mobile   *
 *                      *
 ************************/

@media screen and (max-width:64em) {
    #right-sidebar {
        display:none;
    }
    #contact-button {
        display:none;
    }
    #sidebar-logo {
        display:none;
    }
}


/********************************************
 *                                          *
 * Old Styling for the side navigation bar  *
 *                                          *
 ********************************************/


/*
#sidenav h2 {
    border-top: solid 2px #4f81bd;
    padding-top: 0.5em;
    margin-bottom: 0.1em;
}
#sidenav h2 a {
    color: #4f81bd !important;
    text-decoration: none !important;
}
#sidenav ul {
    margin-top: 0;
    list-style: none;
    padding-left: 0;
    border-top: solid 1px #4f81bd;
    border-bottom: solid 1px #4f81bd;
}
#sidenav li a {
    display: inline-block;
    width: 100%;
    background-color: rgb(219, 230, 242);
    margin-bottom: 2px;
    padding: 0.6em 8px 5px 0.6em;
    text-decoration: none;
}
#sidenav li a:hover {
    background-color: white;
}
#sidenav li a:visited {
    color: #333;
}
#sidenav li a.depth1 {
    font-weight: bold;
    font-size: 0.95rem;
}
#sidenav li a.depth2 {
    font-size: 0.9rem;
}
#sidenav li a.depth3 {
    padding-left: 18px;
    font-size: 0.85rem;
}
#sidenav li a.active {
    background-color: white;
    color: #4f81bd;
}
*/
