

/* Header */
header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 4.5rem;
  width: 100%;
  background: #fafafa;
	background: url("../images/homepage-background.jpg");
	z-index: 999;
}
header.homepage{background: none;}
header .h-container {
  position: absolute;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  top: 0;
  left: 0;
  -webkit-transform: translateX(0);
          transform: translateX(0);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  padding: 0 1.5rem;
  margin: 0 auto;
}

header .h-container > .logo {
 
  padding: 0.5rem 0;
}

input.hamburger-button {
  display: none;
}

input.hamburger-button ~ label {
  position: relative;
  padding: 0.25rem;
  width: 1.5rem;
  height: 1.8rem;
}

input.hamburger-button ~ label > div,
input.hamburger-button ~ label > div::before,
input.hamburger-button ~ label > div::after {
  content: "";
  position: absolute;
  top: 0.825rem;
  height: 0.125rem;
  width: 1.5rem;
  opacity: 1;
  background: #ffffff;
  -webkit-transition: 0.14s ease-in-out;
  transition: 0.14s ease-in-out;
}

input.hamburger-button ~ label > div::before {
  top: -0.5rem;
}

input.hamburger-button ~ label > div::after {
  top: 0.5rem;
}

header .h-container .hamburger-button:checked ~ label > div {
  width: 0;
  background: rgba(18, 18, 18, 0);
}

header .h-container .hamburger-button:checked ~ label > div::before {
  -webkit-transform: rotateZ(45deg);
          transform: rotateZ(45deg);
  top: -0rem;
}

header .h-container .hamburger-button:checked ~ label > div::after {
  -webkit-transform: rotateZ(-45deg);
          transform: rotateZ(-45deg);
  top: -0rem;
}

header .h-container .hamburger-button:checked ~ .menu {
  left: 0;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

header .h-container .menu {
  position: absolute;
  z-index: -1;
  top: 4.5rem;
  -webkit-transform: translateX(calc(-100vw - 3rem));
          transform: translateX(calc(-100vw - 3rem));
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
      grid-template-columns: 1fr;
  -ms-grid-rows: (max-content)[2];
      grid-template-rows: repeat(2, -webkit-max-content);
      grid-template-rows: repeat(2, max-content);
  width: 100%;
	
  background:#ffffff;
  -webkit-transition: 0.22s ease-in-out;
  transition: 0.22s ease-in-out;
	box-shadow: 0px 10px 10px #ccc;
}

header .h-container .menu::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 100vh;
  width: 100vw;
  background:none;
}

header .h-container .menu nav {
  grid-area: auto;
}

header .h-container .menu nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
	list-style-type: none;
	padding: 2rem;
}

header .h-container .menu nav ul > li > a {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  padding: 0.5rem 0rem;
  text-align: left;
  color: #000000;
  -webkit-transition: 0.14s ease-in-out;
  transition: 0.14s ease-in-out;
	display: block;
	text-decoration: none;
	border-bottom: 1px solid #E8E8E8;
}



header .h-container .menu nav ul > li > a:hover {
  color: #e91e63;
}

header .h-container .menu nav ul > li.active > a {
  color: #e91e63;
}

header .h-container .menu div.buttons {
  grid-area: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 0.5rem 1rem;
  border-top: 1px solid #e0e5eb;
  background: #fafafa;
}

header .h-container .menu div.buttons > * {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: -webkit-min-content;
  min-width: -moz-min-content;
  min-width: min-content;
  margin: 0.5rem;
}

header .h-container .menu nav ul > li.b-button > a {
	  -webkit-box-sizing: border-box;
			  box-sizing: border-box;
	  width: 100%;
	  padding: 0.2rem 1rem;
	  text-align: left;
	  color: #fff;
	  -webkit-transition: 0.14s ease-in-out;
	  transition: 0.14s ease-in-out;
		display: block;
		text-decoration: none;
		border-bottom:none;
		background: #e91e63;
		border-radius: 5px;
		
	}

header .h-container .menu nav ul > li.b-button > a:last-child{
	border-bottom:none;
}
	header .h-container .menu nav ul > li.b-button > a:hover {
		background:#ca1f88;
		color: #fff;
	}
	header .h-container .menu nav ul > li.b-button{margin:0 0 0.2rem;}	

/* Media queries */
@media only screen and (min-width: 728px) {
  header {
    height: 6.5rem;
	  display: block;
	background: url("../images/homepage-background.jpg");
  }
	header.homepage{background: none;}
  header .h-container {
    left: 50%;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    border: none;
	  
  }
  input.hamburger-button ~ label {
    display: none;
  }
  header .h-container .menu {
    z-index: unset;
    top: 0;
    left: 0;
    -webkit-transform: translateX(0);
            transform: translateX(0);
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto max-content;
        grid-template-columns: auto -webkit-max-content;
        grid-template-columns: auto max-content;
    -ms-grid-rows: 3.5rem 3rem;
        grid-template-rows: 3.5rem 3rem;
    background: none;
    -webkit-transition: none;
    transition: none;
	   box-shadow: none;
  }
  header .h-container .menu::after {
    display: none;
  }
  header .h-container .menu div.buttons {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-area: 1/2/2/3;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
  }
  header .h-container .menu nav {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-area: 2/1/3/3;
  }
  header .h-container .menu nav ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
	  padding: 0;
  }
  header .h-container .menu nav ul > li {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  header .h-container .menu nav ul > li > a {
    display: inline-block;
    width: 100%;
    text-align: center;
	  border-bottom: none;
		  color:#fff;
	  
  }
	
	header .h-container .menu nav ul > li > a:hover {
  color: #FFFD00;
}

header .h-container .menu nav ul > li.active > a {
  color: #FFFD00;
}
	
}

@media only screen and (min-width: 1040px) {
  header {
    height: 4.5rem;
	background: url("../images/homepage-background.jpg");
  }
	header.homepage{background: none;}
  header .h-container .menu {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -ms-grid-columns: 4rem auto max-content;
        grid-template-columns: 4rem auto -webkit-max-content;
        grid-template-columns: 4rem auto max-content;
    -ms-grid-rows: 1fr;
        grid-template-rows: 1fr;
    height: 3.5rem;
   /* padding: 0 1.5rem;*/
    -webkit-transition: none;
    transition: none;
	  box-shadow: none;
  }
  header .h-container .menu nav {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-area: 1/2/2/3;
  }
  header .h-container .menu div.buttons {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-area: 1/3/2/4;
  }
  header .h-container .menu div.buttons > * {
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
  }
	header .h-container .menu div.buttons a{
		background: #ccc;
	}
  header .h-container .menu nav ul {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    height: 100%;
    width: 100%;
	  list-style-type: none;
	  padding-right: 2rem;
  }
  header .h-container .menu nav ul > li {
    -webkit-box-flex: 0;
        -ms-flex: 0;
            flex: 0;
  }
  header .h-container .menu nav ul > li > a {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    padding: 1.4rem 1rem;
	  text-decoration: none;
  }
	
	
	header .h-container .menu nav ul > li.b-button > a {
	  -webkit-box-sizing: border-box;
			  box-sizing: border-box;
	  width: 100%;
	  padding: 0.2rem 1rem;
	  text-align: left;
	  color: #000000;
	  -webkit-transition: 0.14s ease-in-out;
	  transition: 0.14s ease-in-out;
		display: block;
		text-decoration: none;
		border-bottom:none;
		background: #ffffff;
		border-radius: 5px;
		
	}
	header .h-container .menu nav ul > li.b-button > a:hover {
		background:#e70977;
		color: #fff;
	}
	header .h-container .menu nav ul > li.b-button{margin:1.2rem 0.2rem;}	
}
