/*General*/
@font-face 
{
    font-family: 'custom';
    font-style: normal;
    font-weight: 400;
    src: local('custom'), url('../fonts/gothamBook/Gotham-Book.svg') format('svg'),
    url('../fonts/gothamBook/Gotham-Book.ttf') format('truetype'),
    url('../fonts/gothamBook/Gotham-Book.woff') format('woff');
}
@font-face 
{
    font-family: 'custom';
    font-style: normal;
    font-weight: 700;
    src: local('custom'), url('../fonts/gothamBold/gothambold1.ttf') format('truetype'),
    url('../fonts/gothamBold/gothambold1.woff') format('woff');
}

*
{
  box-sizing: border-box;
}
html
{
  font-family: "custom", sans-serif; font-style: normal; font-weight: 400; margin: 0; padding: 0 ;
  font-style: normal;
  font-weight: 400;
  font-size: 1em;
  line-height: 1;
  color:#343434;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
strong
{
  font-weight: 700;
}
body
{
  background-color:#F6F6F6;
  border-left: 12px solid #FF7900;
  border-right: 12px solid #FF7900;
  border-bottom: 12px solid #FF7900;
  margin:0;
  display:grid;
  grid-template-rows: auto 1fr auto;
  grid-row-gap: 10px;
  width: 100%;
  height: 100%;
  overflow: auto;
}

a
{
  transition: color 0.3s ease;
  text-decoration:none;
  color:#343434;
}
a:hover
{
  color: #FF4C01;
}

/*End of General*/

/*Header Section*/
header
{
  grid-template-columns: 1fr 2fr 2fr 1fr;
  display:grid;
  padding:2em 0em 0em 4em;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color:#F6F6F6;
  border-top:12px solid #FF7900;
  z-index:1;
}
.manoke_logo
{
	grid-column: 1;
}
header ul
{
	grid-column: 2 / span 2;
  align-self: center;
	display:flex;
  /*Had to change from space-evenly bc not supported in older Edge version*/
	justify-content: space-around;
  align-items:flex-end;
  font-size: 1.2em;
  padding-bottom: 0px;
}

header ul li
{
  font-weight: bold;
}

header .btn_login_header, header .btn_login_hamburguer
{
  font-weight: bold;
  border: 3px solid #FF7900;
  /*place-self not supported in older Edge version*/
  place-self: center;
  align-self: center;
  justify-self:center;
  cursor: pointer;
  padding:5.5px 23px 5.5px 23px;
  border-top-left-radius: 15% 50%;
  border-bottom-left-radius: 15% 50%;
  border-top-right-radius: 15% 50%;
  border-bottom-right-radius: 15% 50%;
}
header .btn_login_hamburguer
{
  font-size: 1em;
  margin-bottom: 5%;
}
header .btn_logout
{
  grid-column: 1;
  grid-row: 2;
  margin-top: 5%;
  transform: scale(.8, .8);
  justify-self:end;
}

header .userPortal_header
{
  display: grid;
  /*grid-template-columns: 1fr .3fr;*/
}
header .userPortal_header span
{
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  text-align: right;
  padding-right: 5%;
  font-weight: bold;
}
/*The user image was removed for now - It needs some adjustments*/
/*header .userPortal_header img, header .hamburguer ul .userPortal_hamburguer img
{
  grid-column: 2;
  grid-row: 1;
  border: 1px solid #000;
  align-self: center;
  padding:5%;
  border-radius: 50%;
  width:50%;
  height: 100%;
  place-self:center;
}*/

/*header .hamburguer ul .userPortal_hamburguer
{
  display: flex;
  margin-bottom: 4%;
  width:80%;
}*/
/*header .hamburguer ul .userPortal_hamburguer img
{
  width:15%;
  padding:1%;
}*/
header .hamburguer ul .userPortal_hamburguer
{
  margin-top: 4%;
}
header .hamburguer ul .userPortal_hamburguer li
{
  font-size: 1em;
  white-space: nowrap;
  margin-bottom: 0;
  /*margin:4%;*/
}
header .hamburguer ul .btn_logout
{
  margin-top:1%;
}

@media only screen and (max-width: 600px) {
  header .userPortal_header
  {
    display: none;
  }
}
/*End of Header Section*/

/*Footer Section*/
footer
{
  display:grid;
  grid-template-rows: 1fr 1fr;
  grid-row-gap: 15px;
}
footer ul
{
  display:flex;
  justify-content: center;
  align-items:flex-end;
}
footer ul a
{
  font-weight: bold;
  margin:1em;
}

footer p
{
  font-size: .8em;
  text-align:center;
}
/*End of Footer Section*/

@media only screen and (max-width: 600px) {
  header
  {
    padding:2em 0em 1em 2em;
  }
  header ul, header .btn_login_header
  {
    display: none;
  }
  .manoke_logo
  {
    grid-column: 1 / span 2;
  }
  footer p, footer ul a, header ul a
  {
    font-size: .65em;
  }
}

/*LoginForm*/
header .loginPanel
{
  display: none;
  position:absolute;
  width:100vw;
  height: 100vh;
  background-color: rgba(0,0,0,.8);
  z-index: 10;
}

header .loginPanel .loginForm
{
  position: absolute;
  top:12%;
  left:50%;
  transform: translateX(-50%);
  width:40%;
  min-height: 425px;
  height:70%;
  background-color: white;
}

header .loginPanel .loginForm form
{
  width:100%;
  height: 100%;
  min-height: 425px;  
  display: grid;
  grid-template-rows: repeat(4, 1fr) 2fr;
  grid-template-columns: .1fr 1fr.1fr ;
}
  
header .loginPanel .loginForm form h1
{
  grid-row: 1;
  grid-column: 2;
  justify-self:center;
  align-self:end;
  font-weight: bold;
  font-size: 2em;
}

header .loginPanel .loginForm form .email
{
  grid-row: 2;
  grid-column: 2;
  justify-self:center;
  align-self:end;
}
header .loginPanel .loginForm form .password
{
  grid-row: 3;
  grid-column: 2;
  justify-self:center;
  align-self:end;
}
header .loginPanel .loginForm form .loginButton
{
  grid-row: 4;
  grid-column: 2;
  justify-self:center;
  align-self:end;
  /*Reset button style*/
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  /*End Reset button style*/
  
  font-weight: bold;
  border: 3px solid #FF7900;
  border-top-left-radius: 5% 50%;
  border-bottom-left-radius: 5% 50%;
  border-top-right-radius: 5% 50%;
  border-bottom-right-radius: 5% 50%;  
}

header .loginPanel .loginForm form p
{
  z-index: 1;
  color:#666;
  transition: .5s;
  width:90%;
  height:20%;
  transform: translateY(-170%);
}

header .loginPanel .loginForm form a
{
  grid-row: 5;
  grid-column: 2;
  justify-self: center;
  color: #FF7900;
  text-decoration: underline;
  margin: auto;
}
/*When hovering on the paragraph, input text or focusing in the input text*/
/*header .loginPanel .loginForm form p:hover, header .loginPanel .loginForm form input:hover + p, header .loginPanel .loginForm form input:focus + p
{
  transform: translateY(-170%);
}*/
header .loginPanel .loginForm form input
{
  width:90%;
  height:40%;
}
header .loginPanel .loginForm form input[type="text"], header .loginPanel .loginForm form input[type="password"]
{
  border:none;
  border-bottom:2px solid #ccc;
}
header .loginPanel .loginForm form input[type="text"]:focus, header .loginPanel .loginForm form input[type="password"]:focus
{
  outline: none;
}
header .loginPanel .loginForm form .email:focus ~ div[class="email"], header .loginPanel .loginForm form .email:hover ~ div[class="email"]
{
  transform: scaleX(1);
  transform-origin: 0% 50%;
  background-color: #FF7900;
}
header .loginPanel .loginForm form .password:focus ~ div[class="password"], header .loginPanel .loginForm form .password:hover ~ div[class="password"]
{
  transform: scaleX(1);
  transform-origin: 0% 50%;
  background-color: #FF7900;
}

header .loginPanel .loginForm form div
{
  width:90%;
  height: 2px;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
  background-color: #FF7900;
  transform-origin: 0% 50%;
}

@media only screen and (max-width: 600px) {
  header .loginPanel .loginForm
  {
    width:80%;
    left:50%;
    transform: translateX(-55%);
  }
}

