
/* eb-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/eb-garamond-v32-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/eb-garamond-v32-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/eb-garamond-v32-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/eb-garamond-v32-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/eb-garamond-v32-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/eb-garamond-v32-latin-regular.svg#EBGaramond') format('svg'); /* Legacy iOS */
}
/* eb-garamond-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/eb-garamond-v32-latin-italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/eb-garamond-v32-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/eb-garamond-v32-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/eb-garamond-v32-latin-italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/eb-garamond-v32-latin-italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/eb-garamond-v32-latin-italic.svg#EBGaramond') format('svg'); /* Legacy iOS */
}
/* eb-garamond-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/eb-garamond-v32-latin-500.eot'); /* IE9 Compat Modes */
  src: url('../fonts/eb-garamond-v32-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/eb-garamond-v32-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/eb-garamond-v32-latin-500.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/eb-garamond-v32-latin-500.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/eb-garamond-v32-latin-500.svg#EBGaramond') format('svg'); /* Legacy iOS */
}
/* eb-garamond-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/eb-garamond-v32-latin-500italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/eb-garamond-v32-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/eb-garamond-v32-latin-500italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/eb-garamond-v32-latin-500italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../fonts/eb-garamond-v32-latin-500italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../fonts/eb-garamond-v32-latin-500italic.svg#EBGaramond') format('svg'); /* Legacy iOS */
}

html, body {
  padding:0;
  margin: 0;
  background-color: #FEFDEF;
  color: teal;
/* font-size: 1.1rem; */
}

body {
  font-family:"EB Garamond";
  margin: 0 auto;
}

.deadline {
    font-size:1.4rem;
}

.emphasise {
    font-size:1.5rem;
    font-weight: 500;    
}

/* Hide checkbox */
#menuToggle {
  display: none;
}

/* Hide checkbox */
#submenuToggle {
  display: none;
}

.menuicon {
    color: teal;
}

/* Required as a class for a div container to keep image size to 266px width max, image class has to be 100% width */
.header-logo {
  height: 100%;
  max-width: 400px;
  text-align: center;
  margin: auto;
}

.header-logo-wide {
  height: 100%;
  max-width: 600px;
  text-align: center;
  margin: auto;
}

/* Image has to be width 100% to be responsive */
.header-logo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.responsiveimage {
  /* Needs to be 100% so that the image can fill a column */
  max-width: 100%;
  height: auto;
  /* max-height: 500px; needs to be set so that full page-width images do not get too large */
  max-height: 500px;
  display: block;
  /* Margin is top;right;bottom;left or top+bottom; right+left */
  margin: 1px auto;
}

.responsiveimageportraitleft {
  /* Max-width: 70% ensures that this is narrower than the full size landscape image */
  max-width: 70%;
  height: auto;
  display: block;
  /* Margin is top;right;bottom;left */
  margin: 1px auto 1px 0;
  float: left;
}

.responsiveimageportraitright {
  max-width: 70%;
  height: auto;
  display: block;
  /* Margin is top;right;bottom;left */
  margin: 1px 0 1px auto;
}

.responsiveposter {
  max-width: 50%;
  height: auto;
  display: block;
  margin: auto;
}

.responsivegridimage {
  max-width: 100%;
  height: auto;
  max-height:150px;
  display: inline-grid;
  /* Margin is top;right;bottom;left */
  margin: 1px 0 1px 0;
}

.sponsorsgrid {
    grid-template-columns:10% 23% 10% 23% 10% 24%;
    display:grid;
}

/* Fixed header container */
.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 160px;
  z-index: 3;
}

/* Dark overlay */
.fixed-header-overlay {
  background: rgba(254,253,239,0.6);
  height: 100%;
}

/* Sidebar (hidden by default) */
.sidebar {
  position: fixed;
  top: 160px;
  left: -200px;
  width: 200px;
  height: 100%;
  padding-top: 160px;
  transition: 0.3s;
  z-index: 4;
}

/* Sub Sidebar (hidden by default) */
.subsidebar {
  position: relative;
  left: 80px;
  width: 150px;
  height: auto;
  line-height: 0.8;
  margin: 0;
  z-index: 5;
  display: none;
  visibility: hidden;
}

/* When checkbox is checked, show sidebar */
#menuToggle:checked ~ .sidebar {
  left: 0;
}

/* When sidebar is shown, hide the subsidebar */
#menuToggle:checked ~ .subsidebar {
  display: none;
  visibility: hidden;
}

/* When subsidebar checkbox is checked, show sidebar */
#submenuToggle:checked ~ .subsidebar {
  display: block;
  visibility: visible;
}

/* Push content down below fixed header */
.main-content {
  margin-top: 160px; 
}

@media only screen and (max-width: 900px) {
  .header-logo {
    max-width: 266px;
  }

.fixed-header {
    height: 106px;
  }

.sidebar {
    top: 106px;
    padding-top: 106px;
  }

.main-content {
    margin-top: 106px; 
  }
  
.deadline {
    font-size:1.2rem;
  }
  
.emphasise {
    font-size:1.3rem;
    font-weight: 500;    
}
  
.sponsorsgrid {
    grid-template-columns:15% 35% 15% 35%;
    display:grid;
  }
  
.responsiveposter {
  max-width: 67%;
  }
}

@media only screen and (max-width: 500px) {
.small_hide {
    visibility: hidden;
    display: none;
  }
  
.deadline {
    font-size:1rem;
  }

.emphasise {
    font-size:1.1rem;
    font-weight: 600;
  }

.responsiveposter {
  max-width: 75%;
  }
}




/* Responsive height */
/* Applies to wider views */
/* Default is narrow (i.e. Mobile) */
/* .header-image height is tied to margin-top of .main-content for initial view */
/*
@media (min-width: 768px) {
  .sidebar {
    padding-top: 170px;
  }
  .main-content {
    margin-top: 170px;
  }
  .margin-centred {
    padding: 30px;
    margin: auto;
    max-width: 900px;
  }
}

@media only screen and (max-width: 900px) {
    .margin-centred {
      padding: 30px;
      margin: auto;
      max-width: 750px;
    }
}

*/