/* 
    Algemene styling 
*/

.max-width {
    max-width: 1600px;
    overflow-x: hidden;
}

body {
    background-color: #f8f8f8;
    /* Achtergrondkleur buiten de applicatie */
    overflow-y: scroll;
    /* Altijd verticale scrollbar om springen te voorkomen */
    font-family: "Open Sans";
}

a {
    color: black;
}

img {
    max-width: 100%;
    height: auto;
}

/* uu-buttons */
.uu-button {
  border: 0px;
  text-transform: uppercase;
  font-size: 15px;
  padding: 10px 14px 10px 14px;
  cursor: pointer;
  margin-top: 15px;
  text-decoration: none !important;
  font-family: "Open Sans";
  font-weight: 700;
  line-height: 24px;
  background-color: #ffcd00
}

@media screen and (max-width: 600px) {
    .uu-button {
        display: flex;
    }
}

.two-columns {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 0px;
    column-gap: 0px;
    -moz-column-gap: 0px;
}

.container-fluid {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

img {
    vertical-align: middle;
}

.underlined-link {
    text-decoration: underline;
}

.visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
    word-wrap: normal;
}

h2 {
    font-size: 2rem;
    line-height: 135%;
}

h3 {
    font-size: 1.7rem;
    line-height: 135%;
}

h4 {
    font-size: 1.5rem;
    line-height: 135%;
}

strong {
    font-weight: 600;
}

/* 
    Bovenste headerbalk met UU-logo 
*/
.logo-bar {
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #fff;
}

.logo-bar .logo {
    min-height: 40px;
    max-height: 80px;
}

.logo-bar .lngswitch {
    margin-left: 10px;
}

.logo-bar .lngswitch-mobile {
    position: relative;
    top: -7px;
    margin-left: 10px;
}

.logo-bar .editlng {
    font-family: Merriweather;
    font-size: 14px;
    display: flex;
    justify-content: right;
    align-items: center;
}

.logo-bar .editlng a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 600px) {
    .logo-bar .logo {
        max-height: 50px;
    }
}

/* 
    Zwarte headerbalk met Medewerkers / Organogram links 
*/
.main-nav-bar {
    background-color: black;
    font-size: 16px;
    line-height: 56px;
    height: 56px;
    overflow: hidden;
}

.main-nav-bar a:hover {
    color: #ffcd00;
}

.main-nav-bar a {
    margin-right: 20px;
}

.main-nav-bar a:first-child {
    position: relative;
    top: -3px;
}

@media screen and (max-width: 993px) {
    .main-nav-bar {
        line-height: 46px;
        height: 46px;
    }

    .main-nav-bar a {
        margin-right: 10px;
    }
}

/* 
    Gele headerbalk met naam en profielfoto 
*/
.main-header {
    background-color: #ffcd00;
    min-height: 200px;
    margin-bottom: 0px;
    padding-top: 40px;
    padding-bottom: 20px;
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 16px;
}

/* Medewerker naam in header */
.main-header h1 {
    margin-top: 0;
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 400;
}

.main-header .socialmediaicons {
    padding-top: 5px;
    text-align: center;
}

.main-header .headerblok {
    line-height: 34px;
}

/* Functienaam in header */
.main-header .position div:first-child {
    font-weight: 700;
    font-size: 18px;
}

/* Functie/aanstelling in header */
.main-header .position div {
    font-size: 16px;
}

.main-header a:hover {
    text-decoration: underline;
}

.socialmediaicons a:hover {
    text-decoration: none;
}

.main-header .row {
    margin-bottom: 0px;
}

.header-icon {
    margin-right: 10px;
}

.header-icon-location {
    position: relative;
    top: -3px;
}

/* Dit is de punaise voor de locatie */
.header-contact>span:first-child {
    position: relative;
    top: 3px;
}

/* Locatie rechts van de punaise */
.header-contact>span {
    display: inline-block;
    vertical-align: top;
}

.main-header .profile-picture {
    text-align: center;
}

/* Mobile header */
.main-header-mobile {
    background-color: #ffcd00;
    min-height: 100px;
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 16px;
    position: relative;
}

.socialmedia-mobile {
    padding-top: 10px;
    margin-top: 15px;
}

.socialmedia-mobile span {
    display: inline-block;
    margin-left: 1px;
    margin-right: 1px;
    margin-bottom: 10px;
}

/* 
    Mobile header 
*/
.main-header-mobile div:first-child {
    text-align: center;
    /* Profielfoto horizontaal centreren */
}

.main-header-mobile h1 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
}


/* Socialmedia-icons onderaan in de mobile header */
.main-header-mobile .socialmediaicons {
    position: absolute;
    bottom: 10px;
}

.main-header-mobile .position {
    font-style: italic;
}

/* 
    Desktop menu 
*/
.desktop-nav {
    display: flex;
    background-color: #efefef;
    margin-bottom: 0px;
}

.desktop-nav-container {
    height: 100%;
    padding-top: 60px;
    padding-bottom: 100px;
    font-size: 16px;
}

.desktop-nav-tabs a {
    color: #3b3b3b;
    padding-left: 0px;
    border-bottom: 1px solid #c3c1c1;
    /* grijze lijn onder ieder item */
}

.desktop-nav-tabs a:first-child {
    border-top: 3px solid #c3c1c1;
    /* Dikkere lijn boven bovenste menu-item */
}

.desktop-nav-tabs a:hover {
    color: #3b3b3b;
    text-decoration: underline;
}

.desktop-nav .Active {
    font-weight: bolder;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}

.desktop-nav .title {
    margin-top: 10px;
    font-weight: 700;
}

.desktop-nav-extra {
    margin-top: 30px;
}

/* 
    Mobile menu 
*/
.mobile-nav {
    margin-top: 12px;
    margin-bottom: 12px;
    margin-top: 0px;
    padding-top: 12px;
    padding-bottom: 0px;
}

.mobile-nav a {
    margin-bottom: 0px;
    width: 100%;
}

/* Mobile navigation buttons redesigned for UU */
.mobile-nav .btn {
    text-transform: none;
    background-color: #efefee;
    color: black;
    box-shadow:
        1px 0 0 0 #787878,
        0 1px 0 0 #787878,
        1px 1px 0 0 #787878,
        1px 0 0 0 #787878 inset,
        0 1px 0 0 #787878 inset;
    border-radius: 0px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-nav .Active {
    background-color: #ffcd00;
    color: black;
}


.mobile-nav .col {
    padding-left: 10px;
    padding-right: 10px;
}


/*
    Content-area (tabs)
*/

.content-container {
    background-color: #fff;
    font-family: "Merriweather";
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #3b3b3b;
    line-height: 34px;
    padding-top: 10px !important;

}

/* Alleen op desktop extra witruimte boven content */
.desktop-spacer {
    height: 40px;
}

.content-container .row {
    padding-left: 10px;
    padding-right: 10px;
}

.content-container .field-caption {
    font-weight: 700;
}

.content-container li {
    list-style-type: disc !important;
}

.content-container ul {
    padding-left: 20px !important;
}

.content-container .row a {
    text-decoration: underline;
}

@media screen and (min-width: 993px) {
    .content-container .row {
        padding-left: 100px;
        max-width: 1000px;
    }
}

@media screen and (max-width: 993px) {
    .content-container .row {
        font-size: 16px;
        line-height: 26px;
    }

    img {
        max-width: 100% !important;
    }
}


@media screen and (max-width: 600px) {
    h1 {
        margin: 0;
    }
}


/* Footer */
.footer {
    background-color: #262626;
    color: white;
    min-height: 150px;
    padding-top: 55px;
    padding-bottom: 30px;
}

.footer .col {
    padding: 20px;
}

.footerheader {
    margin-bottom: 25px;
}

.footerheaderlink {
    font-size: 26px !important;
    color: #ffffff !important;
}

.footerlink {
    color: #a1a1a1 !important;
    font-size: 16px !important;
    font-family: Open Sans !important;
    line-height: 20px !important;
    font-weight: 400 !important;
}

.footerlink:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Geen bullets voor de footer-links */
.footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0px;
}


/*
    Styling publicaties (1op1 overgenomen van huidige css) 
*/
.TabPublications a {
    text-decoration: underline;
}

.TabPublications h2 {
    font-size: 1.75rem;
    font-weight: bold;
}

.TabPublications h3 {
    font-size: 1.75rem;
    font-weight: bold;
    border-bottom: solid 1px black;
}

.TabPublications h4 {
    font-size: 1.25rem;
    font-weight: bold;
}

.TabPublications h1,
.TabPublications h2,
.TabPublications h3 {
    margin-bottom: 1rem;
}

.TabPublications h4 {
    margin-bottom: 0.5rem;
}

.publicationgroup>div {
    margin-bottom: 5px;
    padding-bottom: 15px;
}

.TabPublications {
    line-height: 28px;
}

.pub-tab {
    margin-bottom: 15px;
}

.tab-buttons {
    margin-bottom: 15px;
}

.pub .title {
    font-size: 18px;
}

/* Verzoek om datum achter de titel te zetten bij activities */
.rendering_activity h2 {
    display: inline;
}

.rendering_activity .dates {
    display: inline;
    text-transform: lowercase;
}

/* Komma tussen titel en datum invoegen */
.rendering_activity .dates::before {
    content: ", ";
}

/* Namen bij activities niet tonen */
.rendering_activity .person {
    display: none;
}

/* Bij prizes datum achter de titel zetten */
.rendering_prize h2,
.rendering_prize p {
    display: inline;
}

.rendering_prize .prize_shortrenderer_date::before {
    content: ", ";
}

.rendering_prize .prize_shortrenderer_date {
    text-transform: lowercase;
}

/* Style de media-containers */
.media-cnt ul {
    /* Geen bullets voor sub-media-items */
    list-style-type: none;
    padding-left: 0px;
}

.media-cnt li {
    /* Afstand tussen sub-media-items */
    line-height: 25px;
    margin-bottom: 25px;
    margin-top: 25px;
}

.media-cnt .media-title {
    border-bottom: solid black 1px;
    width: 100%;
    font-weight: bold;
}

/*
    Einde styling publicaties
*/

/*
    Styling onderzoeksprojecten (1op1 overgenomen van huidige versie)
*/

.caption-projects {
    font-size: 36px;
    line-height: 40px;
    font-family: "Open Sans";
    font-weight: 100;
}

.caption-completed-projects {
    font-size: 36px;
    line-height: 40px;
    font-family: "Open Sans";
    font-weight: 100;
}

.project-caption {
    font-size: 18px;
    padding-top: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 34px;
    font-family: "Open Sans";
}

.project-timespan {
    font-size: 90%;
}

.project-title {
    padding-bottom: 25px;
}

/*
  Einde styling onderzoeksprojecten
*/


.RegisteredAncillaryActivities>div {
    border: 1px solid #c3c1c1;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.RegisteredAncillaryActivities ul {
    margin-top: 0px;
    margin-bottom: 0px;
}

.RegisteredAncillaryActivities h2 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 5px;
}

@media screen and (max-width: 600px) {
    .freetext img {
        width: 100% !important;
    }
}


/*
  Quicksearch in header
*/

.quicksearch {
    margin-right: 15px;
}

#search-box {
    height: 40px;
    background-color: #efefef;
    border-width: 0px;
    font-family: "Merriweather";
    font-size: 14px;
    padding-left: 10px;
    color: #3b3b3b;
}

#search-box::placeholder {
    color: #262626;
}

.frmSearch {
    overflow: hidden;
    display: flex;
    height: 40px;
}

.searchbutton {
    height: 40px;
    width: 50px;
    text-align: center;
    cursor: pointer;
    background-color: #000000;
    color: #ffffff;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}

.searchicon {
    position: relative;
    top: 7px;
}

#suggesstion-box {
    text-align: left;
}

#qs-list {
    float: left;
    list-style: none;
    margin-top: -3px;
    padding: 0;
    width: 200px;
    position: absolute;
}

#qs-list li {
    padding: 10px;
    background: #fff;
    border-bottom: #bbb9b9 1px solid;
}

#qs-list li:hover {
    background: #efefef;
}

#qs-list a {
    text-decoration: none;
    display: block;
}

/*
    Einde autocomplete
*/


.image-style-align-center img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 600px) {
    .image-style-align-left {
        float: left;
        padding-right: 20px;
    }

    .image-style-align-right {
        float: right;
        padding-left: 20px;
    }
}

/* Icon bij external links */
.external:after,
.External:after,
.fieldcontent a[target="_blank"]:after,
.freetext a[target="_blank"]:after
  {
  content: url("../img/external.png");
  padding: 0 0 0 7px;
  text-decoration: none;
  display: inline-block;
  margin-right: 7px;
  text-indent: 0;
}

