/*General*/
body * {
    font-family: "Montserrat", sans-serif;
  }
  
  html,
  body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
  }

  body {
    opacity: 1;
    transition-duration: 2s;
    transition-property: opacity;
  }

  body.fade {
    opacity: 0;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5 {
    font-weight: bold;
  }
  
  ul li {
    border: none !important;
  }
  
  td, th {
    text-align: left;
    padding: 8px;
  }

  /*Containers*/
  /*Contact details*/
  .image-section {
    height: 100%;
    -moz-text-align: center; /*works on Firefox */
    -webkit-text-align: center; /*works on Safari and Google Chrome*/
    text-align: center;
    font-size: 16px;
    background-color: #647dab;
    color: #e0e1e4;
    -moz-padding: 20px; /*works on Firefox */
    -webkit-padding: 20px; /*works on Safari and Google Chrome*/
    padding: 20px;
  }
  
  .image-section img {
    max-width: 60%;
    max-height: 60%;
    margin-top: 40px !important;
    object-fit: cover;
  }
  /*News items*/
  .image-section2 {
    height: 100%;
    -moz-text-align: left; /*works on Firefox */
    -webkit-text-align: lrft; /*works on Safari and Google Chrome*/
    text-align: left;
    background-color: #e0e1e4;
    -moz-padding: 20px; /*works on Firefox */
    -webkit-padding: 20px; /*works on Safari and Google Chrome*/
    padding: 20px;
  }
  
  .image-section2 img {
    max-width: 100%;
    max-height: 100%;
    margin-top: 10px !important;
    object-fit: cover;
  }  

  .links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .links a {
    flex: 0 0 10%;
  }
  
  .icon-link {
    text-decoration: none;
    font-size: 48px auto;
    padding: 26px;
  }
  
  .content-container {
    width: 70%;
    margin: 0 auto;
  }

  .content-container2 {
    width: 60%;
    margin: 0 auto;
  }
  
  .home {
    width: 80%;
    margin: 0 auto;
  }
  
  .home p {
    font-weight: bold;
  }
  
  .home h1 {
    font-size: 64px;
  }
  
  .html {
    width: 90%;
    background-color: #4CAF50;
  }
  
  .row {
    display: flex;
  }

  .column {
    flex: 33%;
    padding: 0px;
  }

  .button {
    border: none;
    color: white;
    padding: 14px 14px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin: 4px 2px;
    transition-duration: 0.2s;
    cursor: pointer;
  }

  .button1 {
    background-color: #647dab; 
    color: #e0e1e4; 
    border: 2px solid #4CAF50;
  }

  .button1:hover {
    background-color: #4CAF50;
    color: white;
  }

  /* Scroll back to top button style */
  #topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 14px;
    font-weight: bold;
    outline: none;
    background-color: #647dab;
    color: #e0e1e4;
    cursor: pointer;
    padding: 15px;
    border: 2px solid #4CAF50;
  }

  #topBtn:hover {
    background-color: #4CAF50;
    color: white;
  }

  .w3-ul li {
    padding: 8px 0px;
  }
  
  /* Utilities */
  
  .w3-margin-top-2 {
    margin-top: 28px;
  }
  
  .w3-margin-top-4 {
    margin-top: 64px;
  }
  
  .w3-margin-top-10-percent {
    margin-top: 10%;
  }
  
  .w3-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
  
  .w3-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
  }

  /* Publications */
  /*
    Style of links in Publications section
  */  
  div.all > a:link {
    color:darkblue;
    background-color: transparent;
    text-decoration: underline;
  }
  div.all > a:hover {
    color: #C00000;
    background-color: transparent;
    text-decoration: underline;
  }

  div.inv {
    display: none;
  }
  /*
    Indent style of reference items 
  */
  div.all {
    padding-left: 1.5em;
    text-indent: -1.5em;
    margin: 0 0 10px 0;
  }

  /* News */
  /*
    Style of links in News section
  */
  p.news > a:link {
    color:darkblue;
    background-color: transparent;
    text-decoration: underline;
  }
  p.news > a:hover {
    color: #C00000;
    background-color: transparent;
    text-decoration: underline;
  }
  /* 
    Style of carousel with news highlights
  */
  ol.carousel-indicators {
    position: absolute;
    color: #e0e1e4;
    bottom: 0;
    margin: 0;
    left: 0;
    right: 0;
    width: auto;
  }
  ol.carousel-indicators li,
  ol.carousel-indicators li.active {
    float: center;
    width: 5%;
    height: 5px;
    margin: 5px;
    border-radius: 0;
    border: 0;
    background: #e0e1e4;
  }
  ol.carousel-indicators li.active {
    background: black;
  }


  /* Research */
  /* 
    Style of sub-navigation
    in desktop mode.
  */
  .droplnk {
    position: relative;
  }
  .dropdown-content {
    display: none;
    position: absolute;
    top: 40px;
    right: 116px;
    width: 40px;
    height: 90px;
    background-color: #e0e1e4;
    min-width: 115px;
    box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  .dropdown-content a {
    color: black;
    padding: 16px 0px 0px 16px;
    text-decoration: none;
    display: block;
  }
  .dropdown-content a:hover {
    text-decoration: underline;
  }
  .droplnk:hover .dropdown-content {
    display: block;
  }
  /* 
    Style of buttons used to open
    and close the accordion panels.
  */
  .accordion {
    background-color: #647dab;
    color: #e0e1e4;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: 2px solid #4CAF50;
    outline: none;
    transition: 0.4s;
  }
  /* 
    Add a background color to the button 
    if it is clicked on (.active), 
    and when the mouse moves over it (:hover) 
  */
  .active2, .accordion:hover {
    background-color: #4CAF50;
    color: white;
  }
  .accordion:after {
    content: "\002B";
    float: right;
    margin-left: 5px;
  }
  .active2:after {
    content: "\2212";
  }
  /* 
    Style of accordion panels. 
    The panels are hidden by default 
  */
  .panel {
    padding: 15px 15px;
    background-color: #e0e1e4;
    display: none;
    overflow: hidden;
  }
  .menu_content{
    padding: 10px 18px;
  }
  /*
    Style of links expanding / collapsing accordion
  */
  p.acc > a:hover {
    color: #4CAF50;
    background-color: transparent;
    text-decoration: underline;
  }  
  
  /*Media queries*/
  @media screen and (max-width: 1200px) {
    .home {
      width: 90%;
    }
    .content-container {
      width: 80% !important;
    }

    .content-container2 {
      width: 70% !important;
    }
  
    .download-text {
      display: none;
    }
  }
  
  @media screen and (max-width: 992px) {
    .home {
      width: 100%;
    }
    .home h1 {
      font-size: 48px;
    }
    .content-container {
      width: 90% !important;
    }

    .content-container2 {
      width: 80% !important;
    }
  }
  
  @media screen and (max-width: 600px) {
    
    .content-container {
      width: 100% !important;
    }

    .content-container2 {
      width: 100% !important;
    }
  
    .image-section {
      -moz-padding: 10px; /*works on Firefox */
      -webkit-padding: 10px; /*works on Safari and Google Chrome*/
      font-size: 20px;
      padding: 10px;
      height: auto;
    }

    .image-section img {
      max-width: 60%;
      max-height: 60%;
    } 
  
    .links a {
      flex: 0 0 5% !important;
    }
  
    .home {
      text-align: center;
      width: 100%;
    }
  
    .home p {
      font-size: medium !important;
    }

    .home h1 {
      font-size: 32px;
    }
    .home h2 {
      font-size: 24px;
    }
  
    .w3-fixed {
      position: inherit;
    }
  
    .icon-link {
      font-size: 24px;
    }
  
    .w3-container,
    .w3-panel {
      padding: 0.01em;
    }
  
    .download-text {
      display: inline-block;
    }
  }