/*
	Responsive header
	https://www.w3schools.com/howto/howto_css_responsive_header.asp
*/
/* Style the header with a grey background and some padding */
.header {
    /*overflow: hidden;*/
    /*background-color: #f1f1f1;*/
    padding: 15px 10px 0px 10px;
    border-bottom: 1px solid #f2f2f2;
  }

  /* Style the header links */
  .header > a.logo {
    float: left;
    padding: 12px;
  }
  
  /* Style the header links */
  .header-left > a {
    float: left;
    color: black;
    text-align: center;
    padding: 12px;
    margin: 0px 4px 0px 0px;
    text-decoration: none;
    font-size: 18px; 
    line-height: 25px;
    /*border-radius: 4px;*/
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
  }
    
  /* Change the background color on mouse-over */
  .header-left > a:hover {
    background-color: #ddd;
    background-color: rgb(242,242,245);
    color: black;
  }
  
  /* Style the active/current link*/
  .header-left > a.active {
      background-color: rgb(242,242,245);
  }

  .header-right > a {
    float: left;
    color: black;
    text-align: center;
    padding: 12px;
    margin: 0px 4px 0px 0px;
    text-decoration: none;
    font-size: 18px; 
    line-height: 25px;
    /*border-radius: 4px;*/
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
  }
    
  /* Change the background color on mouse-over */
  .header-right > a:hover {
    background-color: #ddd;
    background-color: rgb(242,242,245);
    color: black;
  }
  
  /* Style the active/current link*/
  .header-right > a.active {
      background-color: rgb(242,242,245);
  }

  /* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
  /*
  .header a.logo {
    font-size: 25px;
    font-weight: bold;
    font-family: segoe ui;
  }
  */
  
  /* Float the link section to the right */
  .header-left {
      padding: 4px 0px 0px 0px;
      float: left;
  }
  .header-right {
      padding: 4px 0px 0px 0px;
      float: right;
  }

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */ 
@media screen and (max-width: 600px) {

	.header-left a {
		float: none;
		display: block;
		text-align: left;
	}
	
	.header-right a{
    float: none;
  }
}

#headerProfilePhoto {
  cursor: pointer;
}

/* The dropdown */
#loggedDropdownPanelDiv {
  min-width: 200px;
  display: none; 
  z-index: 1000; 
  position: absolute; /* with respect to container 'loggedDropdownButton' */
  right: 10px; 
  margin: 12px 0px 0px 0px; 
  background-color: white; 
  border-radius: 8px; 
  box-shadow: 0px 6px 14px 2px rgba(0,0,0,0.15);
}

  /* inner div of loggedDropdownPanelDiv */
  #loggedDropdownPanelDiv > div {
    margin: 8px 4px;
  }

  #loggedDropdownPanelDiv > div > div:hover {
    background-color: #f8f8f9;
  }

  #loggedDropdownPanelDiv > div > div > a{
    display: inline-block;
    color: black;
    color: #444;
    width:  100%;
    padding: 12px;
    display: inline-block;
    text-decoration: none;
    font-size: 17px; 
    font-weight: bold;
  }

  #loggedDropdownPanelDiv > div > div > a{
    color: black;
  }