body
{
    margin:0px;
    padding:0px;
    background-color:#e9e9e9;
    font-family: Arial, sans-serif;
    font-size:14px;
	
	
	
	
}
a
{
    color: #767676;
    text-decoration: none;
}
img
{
    margin-bottom: 15px;
    border-style: none;
}

#header img
{
    margin-bottom: 0px;
}
a:hover
{
    color: #5199bf;
}
p
{
    font-family: 'Open Sans', sans-serif;
    text-indent: 0px;
    line-height: 120%;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align = justify;
}  
  
h4, h5, h6
{
    margin-bottom: 6px;
    color: #767676;

}
h1
{
    font-size: 26px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #5199bf;
}
h2
{
    font-size: 20px;
    color: #767676;
    margin-bottom: 8px;
}
h3
{
    font-size: 16px;
    line-height: 22px;
    font-weight: normal;
    color: #000;
}
h4
{
    font-size: 14px;
}
h5
{
    font-size: 12px;
}
h6
{
    font-size: 11px;
}
table
{
    font-size: 13px;
    color: #000;
    border-spacing: 0px;
    border-collapse: collapse;
    overflow-x:auto;
}

th, td {
    text-align: left;
    padding: 10px 0 10px 0;
    width = 100%;
}

th
{
    font-size: 14px;
    color:#767676;
    border-bottom: 2px solid #ccc;
}

tr:nth-child(even) {
  background-color: #f2f2f2
}


td
{
    color: #000;
}

table.invisible_table
{
    font-size: 12px;
    color: #000;
    border-spacing: 0px;
    border-collapse: collapse;
}
table.invisible_table th
{
    color:#767676;
    padding: 3px 5px 0px 4px;
    border-bottom: none;
}
table.invisible_table tbody tr:hover td
{
    /*color: #767676;*/
}
table.invisible_table td
{
    border-bottom: none;
    color: #000;
    padding: 1px 8px 0px 8px;
}
div.gallery table
{
    font-size: 12px;
    color: #000;
    border-spacing: 0px;
    border-collapse: collapse;
}
div.gallery table th
{
    color:#767676;
    padding: 3px 5px 0px 4px;
    border-bottom: 2px solid #ccc;
}
div.gallery table tbody tr:hover td
{
    /*color: #5199bf;
    */
    color: #000;
}
div.gallery table td
{
    border-bottom: none;
    color: #000;
    padding: 1px 8px 0px 8px;
}

ul
{
    margin-left: 5px;
    padding-left: 8px;
    text-indent: -10px;
}
ul li
{
    margin-left: 5px;
    padding-left: 0px;
    list-style-type: none;
}
ul li:before
{
    /*content: url("arrow_black.png");*/
}
#container
{
    width: 80%;
    margin: 0 auto;
    background: white;
    text-align: justify;
    border: none;
}

#containerflex {
  display: flex;
  width: 100%;
}

#header
{   
    height: 120px;
    background: #5199bf;
    padding: 24px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 5%;
}

#intranet-container
{
    clear: both;
    height: 20px;
    margin-top: 20px;
    text-align: center;
    background-color: transparent;
}

#intranet-right
{   
    clear: both;
    width: 5%;
    float: right;
    text-align: center;
}

#intranet-container a
{
    /*float: right;    */
    letter-spacing: 10px;
}


#left
{
    float: left;
    text-align: left;
    width: 18%;
	/* HARD LIMITING */
    overflow: hidden;
    height: 100%;
    padding: 40px 20px 20px 100px;
    clear: both;	
}

#content
{
    float: left;
    padding: 40px 20px 20px 20px;
    width: 82%;
    overflow: hidden;
    padding-right: 100px;
    min-height:345px;
}
#right
{
    float: right;
    text-align: right;
    overflow: hidden;
    margin-right: 0px;
    padding: 40px 20px 20px 100px;
}

#navigation-bkg
{
    padding-left: 5%;    
    padding-right: 5%;
    background-color: #5199bf;
}

#center-content-only
{
    float: left;
    padding: 40px 5% 20px 5%;
    width: 100%;
    overflow: hidden;
}


#homepage-left
{
    float: right;
    width: 20%;
    overflow: hidden;
    height: 100%;
    padding: 40px 20px 20px 5% ;
    clear: both;	
}

#homepage-right
{
    float: right;
    width: 20%;
    overflow: hidden;
    height: 100%;
    padding: 40px 5% 20px 20px;
    clear: both;	
}


#homepage-center
{
    float: left;
    padding: 40px 20px 20px 20px;
    width: 50%;
    overflow: hidden;
    min-height:345px;
}


@media screen and (max-width:1350px)
{ /* For smaller screens: */
  #container {
    width:100%;
  }
  #header, #navigation-bkg{
    padding-left: 5%;
  }
  #left{
    padding-left: 5%;
  }
  #content, #navigation-bkg {
    padding-right: 5%;
  }

}

/* For mobile phones and small devices: */
@media screen and (max-width:750px)
{ 
  #content, #left, #center-content-only {
    width:90%;
    padding: 14px;
    padding-left: 5%;    
    padding-right: 5%;
    margin: 0px 0px 0px 0px;
  }

  #navigation-bkg {
    width:90%;
    padding-left: 5%;    
    padding-right: 5%;
  }
  #container {
    width:100%;
  }
  #header {
    padding-left:5%;
  }
  #containerflex {
    flex-direction: column-reverse;
  }

  #content {
    text-align:justify;
    order: 1
  }
  #left {
    text-align:center;
    order: 2
  }

  #homepage-center {
    text-align:justify;
    order: 3
  }
  #homepage-left {
    text-align:center;
    order: 2
  }
  #homepage-right {
    text-align:center;
    order: 1
  }
  #homepage-right, #homepage-left, #homepage-center {
    width:90%;
    padding: 14px;
    padding-left: 5%;    
    padding-right: 5%;
    margin: 0px 0px 0px 0px;
  }
}



#right a img, #right img
{
    border: none;
    background: transparent;
    width:90px;
    margin-bottom: 100px;
}
#right a:hover
{
    border: none;
    background: transparent;
}
#footer
{
    clear: both;
    height: 20px;
    margin-top: 20px;
    padding-bottom: 10px;
    text-align: center;
}
#footer: a
{
    text-decoration: none;
    color: #313131;
}
#right img
{
    margin-top: 0px;
    margin-bottom: 20px;
}
#ethz
{    
    color: white;
    float: left;
    width: 100%;
    text-align:left;
}
#ethz a
{
    background: none;
    font-size: 13px;
    margin-left: 0px;
    color: white;
}
#ethz a img
{
    border: none;
}

@media screen and (max-width: 750px) {
    #ethzlinksbig{display:none;}
}
@media screen and (min-width: 750px) {
    #ethzlinkssmall{display:none;}
}

#qotitle {  
  width: 100%;
}

#qotitle a {  
  color: white;
  font-size: 65px;
  font-weight: bold;
  margin: auto;
  width: 100%;
  position:relative;
}


#labtitle {  
  font-size: 35px;
  font-weight: bold;
  color: #5199bf;
}

#labtitle a {  
  font-size: 35px;
  font-weight: bold;
  color: #5199bf;
}

/* @media only screen and (max-width:700px) */
@media screen and (max-width: 500px)
{ /* For mobile phones: */
    #qotitle, #qotitle a {
    font-size: 35px;
    text-align:center;
    }
    #ethz {
    text-align:center;    
    }
    #header {
    height: 85px;
    }
}


.topnav {
  overflow: hidden;
  background-color: #5199bf;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 10px;
  text-decoration: none;
  font-size: 17px;
  color: white;
}

.active {
  background-color: #767676;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 10px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.sticky {
  position: fixed;
  top: 0;
  width: 70%;
}

.sticky + .containerflex {
  padding-top: 60px;
}


@media screen and (max-width: 1350px) {
  .sticky {
    width: 1000%;
  }
}

@media screen and (max-width: 1000px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a:first-child, .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 1000px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    text-align: left;
  }
}


a#intranet
{
    font-size: 14px;
}


td.nav_item a
{
    font-size: 14px;
    text-decoration: none;
    margin: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    /*color: #00419c;
    */
    /*border: solid #00419c 2px;
    */
    border: none;
    background-color: #5199bf;
    display:block;
    margin:0 0 0 1px;
    width: auto;
    line-height:1.5em;
}
td.nav_item a:link
{
    /*color: #00419c:*/ color: #fff;
}
td.nav_item a:visited
{
    /*color: #00419c;
    */ color: #fff;
}
td.nav_item a:hover
{
    color: #FFF;
    background-color: #767676;
}
td.nav_item_act a
{
    font-size: 14px;
    text-decoration: none;
    margin: 1px;
    padding-top: 4px;
    padding-bottom: 4px;
    color: #fff;
    /*color: #00419c;
    */
    /*border: solid #00419c 2px;
    */
    border: none;
    background-color: #767676;
    display:block;
    margin:0 0 0 1px;
    width: auto;
    line-height:1.3em;
}
td.nav_item_act a:link
{
    /*color: #00419c:*/ color: #fff;
}
td.nav_item_act a:visited
{
    /*color: #00419c;
    */ color: #fff;
}
td.nav_item_act a:hover
{
    color: #FFF;
    background-color: #767676;
}
.tx-macinasearchbox-pi1 *
{
    background: none;
    border: none;
    margin:0;
    margin-right: 8px;
    padding:0;
}
.tx-macinasearchbox-pi1 input.ac_input
{
    border: 1px solid #313131;
    margin-right: 5px;
    margin-top: 5px;
}
.tx-macinasearchbox-pi1 input[type="submit"]
{
    color: transparent;
    background: transparent url('search.png') no-repeat;
    width:10px;
    margin-top: 5px;
  
    /*background: #000;
    */
}


div.csc-default
{
    padding-bottom: 5px;
    overflow-x:auto;
}

div.text-img-elements
{
    padding-bottom: 15px;
    /*border-bottom: 1px dotted #767676;*/
}


@media screen and (max-width:700px)
{ /* For mobile phones: */
    .img {
      float: center;      
      width: 100%;
    }
}



/* CITATIONS */
.autores 
{
	color : #000 ;
	font-size: 14px;
	font-style: italic;
	font-weight: bold ;
}

.titles
{
	color : #5199bf ;
	font-size: 16px;
	font-weight: bold ;
	/* padding: 10px; */
}

.numbs
{
	color : #dfdfdf ;
	font-size: 59px;
	text-align: right ;
	padding: 10px 20px 10px 10px; 
}

.paper
{
	color : #000 ;
	font-size: 14px;

}

/* Picture on Personal Page */
.portrait
{
	max-width: 220px;
	width: 100%;
	float: center ;
	padding: 20px 20px 69px 0 ;
}

/* Lab buttons home page */

.button {
  background-color: #CAE7B9; 
  border: none;
  color: #767676;
  width: 100%;
  padding: 14px 0px 14px 0px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  -webkit-transition-duration: 0.2s; /* Safari */
  transition-duration: 0.2s;
  /* new */
  border : solid 1px #fff ;
  border-radius: 12px;
}

.labbutton:hover 
{
  box-shadow: 0 8px 8px 0 rgba(0,0,0,0.24),0 12px 40px 0 rgba(0,0,0,0.19);
  /* new */
  border : solid 1px #aaa ;
}


/* Stuff for gallery page */

.image-gallery-row,
.image-gallery-row > .image-gallery-column {
  padding: 1%;
}

.image-gallery-column {
  float: left;
  width: 30%;
  /* float: left;
  width: 23%;  use this for 4 columns*/
}

.image-gallery-row:after {
  content: "";
  display: table;
  clear: both;
}

.image-gallery-content {
  background-color: #e9e9e9;
  padding: 10px;  
  text-align: center;
}


@media screen and (max-width: 1000px) {
   /* Responsive layout - makes a two column-layout instead of four columns */
  .image-gallery-column {
    width: 48%;
  }
}

@media screen and (max-width: 700px) {
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  .image-gallery-column {
    width: 100%;
  }
}

/* Responsive layout for project images */

.image-project {
  max-width:300px;
  max-height:200px; 
  margin: 0px 0px 3% 3%;
}

@media screen and (min-width: 550px) {
  .image-project {
    float:right;
  }
}

@media screen and (max-width: 550px) {
  .image-project {
    float:center;
    width: 100%;
    max-width:550px;    
    max-height:300px;
    margin: 0px;
    margin-bottom: 15px;
  }
}

/* Responsive welcome title h1 */
.h1-welcome {
  font-size: 35px;
  text-align:center;
}

@media screen and (max-width: 500px) {
  .h1-welcome {
    font-size: 25px;
  }
}


#latticeTeam 
{
 display: none;
}
#lithiumTeam 
{
 display: none;
}
#cavityTeam 
{
 display: none;
}
#impactTeam 
{
 display: none;
}
#admin
{
 display: none;
}
#inschinör 
{
 display: none;
}

