/*Actual stylesheet*/

* {
  box-sizing: border-box;
}

a {
    color: black;
}

/* Style the body */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header/logo Title */
.header {
  padding: 80px;
  text-align: center;
  background: #1abc9c;
  color: white;
}

/* Increase the font size of the heading */
.header h1 {
  font-size: 40px;
}

/* Sticky navbar - toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport - then it "sticks" in place (like position:fixed). The sticky value is not supported in IE or Edge 15 and earlier versions. However, for these versions the navbar will inherit default position */
.navbar {
  overflow: hidden;
  background-color: #333333;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  padding-left: 15%;
  padding-right: 15%;
}

.phoneMenuButton {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 16px 20px;
  text-decoration: none;
  width: 100%;
}

.phoneMenuButton:hover {
  background-color: #ddd;
  color: black;
}

.phoneMenuButtonActive {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 16px 20px;
  text-decoration: none;
  width: 100%;
  background-color: #666;
}

/* Style the navigation bar links */
.navbarbuttons {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 16px 20px;
  text-decoration: none;
}

.title {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: larger;
}

/* Right-aligned link */
.navbar a.right {
  float: right;
}

/* Change color on hover */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Active/current link */
.navbarbuttonsactive {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 16px 20px;
  text-decoration: none;
  background-color: #666;
  color: white;
}

/* Column container */
.row {  
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  flex-grow: 1;
  width: 70%;
  margin-left: 15%;
  margin-right: 15%;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  -ms-flex: 30%; /* IE10 */
  flex: 30%;
  background-color: white;
  padding: 20px;
}

/* Main column */
.main {   
  -ms-flex: 70%; /* IE10 */
  flex: 70%;
  background-color: white;
  padding: 20px;
}

.main2 {   
  -ms-flex: 100%; /* IE10 */
  flex: 100%;
  background-color: white;
  padding: 20px;
}

/* Fake image, just for this example */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Footer */
.footer {
    margin-top: auto;
  padding: 20px;
  text-align: center;
  background: #ddd;
}

.PhoneIcon {
    background: #333333;
    color: white;
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  padding: 5px 20px;
}

.container {
    display: block;
    height: 50px;
}

#myLinks {
    display: none;
}

.publicationItem {
    margin: 20px 16px;
}

.publicationItem h4 {
    margin: 0;
}

.publicationItem p {
    margin: 5px 20px;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {   
    flex-direction: column;
    width: 100%;
    margin-left: 0%;
    margin-right: 0%;
  }

  .navbarbuttons {
    display: none;
  }

  .PhoneIcon {
    display: block;
  }

  .navbarbuttonsactive {
    display: none;
  }

  .navbar {
    padding-left: 0%;
    padding-right: 0%;
  }
}