h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
body {
  margin: 0;
  font-family: sans-serif; /* PUT GLOBAL FONT HERE */
  background: #f0f0f0;
}
* {
  line-height: 1;
}
.loginContainer {
  width: 100%;
  text-align: center;
}
.centerAll {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}
.loginContainer h2 {
  color: #222;
  font-size: 48px;
}
.loginContainer h4 {
  font-size: 12px;
  color: #333;
}
#signup {
  width: calc(100% - 80px);
  margin: 5px 40px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  text-align: left;
}
.signupheader {
  width: calc(100% - 80px);
  margin: 0px 40px;
  padding: 16px 0;
  padding-top: 6px;
}
.signupheader img {
  width: 100%;
}
#signup div {
  margin: 20px 0;
}
#signup div input {
  width: 100%;
  padding: 6px 2px;

  box-sizing: border-box;
  border-radius: 3px;
  border: 1px solid #ddd;
}
#signup div input:focus {
  outline: none;
  background-color: #f9f9f9;
}
#signup a {
  color: #258cce;
  text-decoration: none;
}
#signupbutton{
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 3px;
  background: #258cce;
  border: none;
  color: white;
  margin-bottom: 5px;
}
/*  ------------     DEFAULTS      ------------ */
.title {
  font-family: Bebas;
}

/* Anything With This Class Has It's Content Centered */
.centered {
  display: flex;
  align-items: center;
  justify-content: center;
}
.centered img {
  width: 40%;
}

/*  ------------     TOP BAR style      ------------ */

/* header container */
.header {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  min-height: 70px;
  color: white;
  background: #428ed3;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  z-index: 502;
}

/* menu icon & menu container */
.header .menu {
  width: 70px;
}
/* Menu Items Container */
.header #menubar {
  width: 40%;
  height: 20px;
  position: relative;
}
/* Menu Items All */
.header #menubar .menuPart {
  width: 100%;
  background: white;
  padding: 1px;
  position: absolute;
  left: 0;
  border-radius: 5px;
}
/* Each Part 1, 2 and 3 changed distance from top to make menu icon */
.header #menubar .menuPart:nth-child(1) {
  top: 0%;
}
.header #menubar .menuPart:nth-child(2) {
  top: calc(50% - 1px);
}
.header #menubar .menuPart:nth-child(3) {
  bottom: 0%;
}

/* header title text */
.header .title {
  width: calc(100% - 140px);
  text-align: center;
  font-size: 28px;
  letter-spacing: 2px;
  padding: 21px 0;
}
@media (max-width: 330px) {
  .header .title {
    font-size: 20px;
    padding: 25px 0;
  }
  .day-video h2 {
    font-size: 20px !important;
    top: calc(50% + 15px) !important;
    left: calc(50% - 3px) !important;
  }
}
@media (max-width: 300px) {
  .header .title {
    font-size: 16px;
    padding: 24px 0;
  }
}
@media (max-width: 260px) {
  .header .title {
    font-size: 12px;
    padding: 20px 0;
  }
}
/* settings icon & menu container */
.header .settings {
  width: 70px;
}

/* slider in menu stuff */
#menunav {
  position: fixed;
  top: 0;
  left: -80%;
  bottom: 0;
  width: 70%;
  background: #f0f0f0;
  z-index: 600;
  overflow: scroll;
  transition: 0.4s;
}
#settingsnav {
  position: fixed;
  top: 0;
  right: -70%;
  bottom: 0;
  width: 70%;
  background: #f0f0f0;
  z-index: 600;
  overflow: scroll;
  transition: 0.4s;
}
#menunav #menuTitle, #settingsnav #settingsTitle {
  padding: 37px;
  font-size: 30px;
  background: #428ed3;
  color: white;
  display: flex;
  align-items: center;
}
#menunav #menuTitle span, #settingsnav #settingsTitle span {
  width: calc(100% - 10px);
}
#menunav #menuTitle img, #settingsnav #settingsTitle img {
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
}
#invisclose {
  opacity: 0;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  transition: 0.1s;
}
#menunav a, #settingsnav a div {
  color: black;
  text-decoration: none;
}
#menunav a div, #settingsnav a div {
  width: calc(100% - 20px);
  height: 80px;
  padding: 20px;
  margin: 10px;
  display: flex;
  flex-wrap: nowrap;
  box-sizing: border-box;
  align-items: center;
  background: #fff;
}
#menunav a div span, #settingsnav a div span {
  font-size: 18px;
  padding-left: 20px;
}
#menunav a div img, #settingsnav a div img {
  height: 100%;
  width: auto;
}

/*  ------------     HEADER STYLNG  END    ------------ */

/*  ------------     BODY STLYING      ------------ */

.bodyContent {
  position: absolute;
  z-index: 1;
  top: 70px;
  bottom: 70px;
  width: 100%;
  background: #f7f7f7;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 20px;
  box-sizing: border-box;
}

/*  ------------     BODY style  END    ------------ */

/*  ------------     BOTTOM BAR style      ------------ */

/* header container */
.footer {
  display: flex;
  flex-wrap: nowrap;
  height: 70px;
  width: 100%;
  color: white;
  background: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  z-index: 500;
}
#change-item-popup input {
  width: calc(100% - 20px);
  font-size: 20px;
  margin-top: 10px;
  border: none;
  background: #eee;
  color: #000;
  font-family: sans-serif;
  padding: 10px !important;
}
.welcome-box{
  display: flex;
  flex-direction: column;
  text-align: center;
  top: 50%;
  position: absolute;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas';
}
.welcome-box h1{
  font-size: 20vw;
  color: #428ed3;
  margin-bottom: 15px;
  opacity: 0;
  animation: fadeIn 1s;
  animation-delay: 0ms;
  animation-fill-mode: forwards;
}
.welcome-box p{
  margin-bottom: 25px;
  color: #666;
  opacity: 0;
  animation: fadeIn 1s;
  animation-delay: 600ms;
  animation-fill-mode: forwards;
}
#welcome-continue button{
  border: 4px solid #428ed3;
  opacity: 0;
  color: #666;
  padding: 10px;
  width: 60%;
  background: white;
  animation: fadeIn 1s;
  animation-delay: 900ms;
  animation-fill-mode: forwards;
}

@keyframes fadeIn{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

#submitprofile{
  font-size: 16px !important;
  width: 100% !important;
  background: #428ed3 !important;
  color: #fff !important;
  padding: 10px 0 !important;
  margin-bottom: 5px !important;
  font-family: Bebas !important;
}
#cancelsubmit {
  font-size: 16px !important;
  width: 100% !important;
  background: #c5c5c5 !important;
  color: #fff !important;
  padding: 10px 0 !important;
  border: none;
  margin-top: 0 !important;
  font-family: Bebas;
}
#change-item-popup{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  padding: 20px;
  width: 80%;
  display: none;
  z-index: 10000;
}
#background-overlay-popup{
  background: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 600;
  display: none;
}
/*  5 icons default style */
.footeritem {
  width: 20%;
  margin: 10px 0;
}
.footeritem a {
  text-align: center;
}
.footeritem a img {
  height: 25px;
}
/*  change third item style */
.footeritem:nth-child(3) {
  border-radius: 100%;
  background: #428ed3;
  height: 50px;
  width: 50px;
  margin: 10px auto;
}
.footeritem:nth-child(3) a img {
  height: 35px;
}

/*  Making icons correct size, not needed if icons are same picture width  */
.fixed-height-content {
  position: fixed;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
  top: 70px;
  bottom: 70px;
  left: 0;
  right: 0;
  padding: 0px;
}
.fixed-height-content2 {
  height: auto;
}
.two-by-six-grid {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto auto;
  grid-gap: 0px;
  height: calc(100% - 140px);
}
.menu-grid-item {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.white {
  background: #b0b2b1;
  color: white;
}
.orange {
  color: #fe9833;
}
.blue {
  color: #428ed3;
}

/*

MEAL PLAN AND TRAINING PLAN

*/

.height-50 {
  height: 50%;
  position: relative;
  background: #fff;
}
.height-50 div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Bebas;
  font-size: 40px;
  color: #b0b1b0;
  text-align: center;
  width: 100%;
}
.height-50 div img {
  width: 40%;
}
.background-grey {
  background: #b0b1b0;
}
.background-grey div {
  color: #fff;
}

/*

PROFILE PAGE

*/
.profile-header {
  margin: 30px 0;
  width: 100%;
  text-align: center;
}
.profile-header img {
  width: 40%;
}
.profile-header span {
  font-family: Bebas;
  font-size: 30px;
}
.profile-split a {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: block;
  margin-top: 5px;
  padding: 10px 0;
}
.profile-body {
  background: white;
  font-size: 0px;
}

.profile-split {
  text-align: center;
  width: 100%;
  display: inline-block;
  font-size: 30px;
  font-family: Bebas;
  padding: 60px 0;
}
.profile-split span {
  font-size: 30px;
  color: #428ed3;
}
.profile-smaller {
  font-size: 20px !important;
}
/*

CONTENT PAGES

*/
.content-header {
  margin: 0px;
  width: 100%;
  text-align: center;
}
.content-header #video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
#video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 56.25vw; /* 100/56.25 = 560/315 = 1.778 */
  margin-top: -3px;
}
.content-header span,
.content-body span {
  font-family: Bebas;
  font-size: 20px;
}
#daytext {
  font-size: 24px;
  font-family: Bebas;
  padding: 40px;
  text-align: center;
  background: white;
}
.content-body {
  background: white;
}
.half-container {
  width: 50%;
  padding-top: 50%;
  display: inline-block;
}
.pause-journey {
  background: #fe9833;
  position: relative;
}
.pause-journey div {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}
.pause-journey h2 {
  color: #fff;
  text-align: center;
  font-family: bebas;
  font-size: 20px;
}
#pause-journey-image {
  width: 50%;
  transform: translateX(-50%);
  left: 50%;
  position: relative;
}
.day-video {
  position: relative;
}
.day-video h2 {
  position: absolute;
  top: calc(50% + 20px);
  left: calc(50% - 0px);
  transform: translate(-50%, -50%);
  color: #fe9833;
  text-align: center;
  font-family: bebas;
  font-size: 30px;
}
#calendar-journey {
  position: absolute;
  top: 50%;
  left: calc(50% - 5px);
  transform: translate(-50%, -50%);
}
#allvideos {
  padding: 30px;
  position: relative;
  background: #428ed3;
}
#allvideos span {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  text-align: center;
  font-family: "Bebas";
  font-size: 20px;
  color: white;
}

#facebookpage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/*

SIX BOXES STYLES;

*/

.h-row{
  width: 100%;
  min-height: 120px;
  height: 25%;
}
.h-collumn{
  float: left;
  width: 50%;
  height: 100%;
  display: inline-block;
  text-align: center;
  background: #FFFFFF;
  color: #FE9833;
  font-family: 'Bebas';
  position: relative;
}
.h-collumn-dark{
  background: #B0B2B1;
  color: #FFFFFF;
}

.h-collumn svg{
  height: 100%;
  max-width: 100%;
}
.h-collumn h2{
  margin: 0;
  font-size: 20px;
}
.h-collumn h1{
  margin: 0;
  line-height: 1;
  font-size: 36px;
}
.abso-centered{
  position: absolute;
  height: 80%;
  margin: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#iframepdf{
  width: 100%;
  height: 100%;
  border-width: 0;
}
/* Fonts */
@font-face {
  font-family: Bebas;
  src: url("../fonts/BebasNeue-Regular.otf");
}
/*  ------------     BOTTOM style  END    ------------ */
