/* Global styles for React app - migrated from app.scss after Angular removal */

* {
  margin: 0;
  padding: 0;
}

menu:empty {
  display: none;
}

#react-root {
  width: 100%;
  min-height: 100vh;
}

#react-root:empty {
  display: none;
}

a {
  color: #00b7ff;
}

.full-line {
  display: flex;
}

.container {
  min-height: 100vh;
}

.main {
  width: 100%;
}

.mobile-menu {
  width: 100%;
}

.warning {
  color: red;
}

/* Form field widths - used in profile and other forms */
textarea[name='biographyText'] {
  width: 50rem;
}

input[name='email'] {
  width: 25rem;
}

input[name='qualificationOne'],
input[name='qualificationTwo'],
input[name='qualificationThree'],
input[name='qualificationFour'] {
  width: 25rem;
}

@media print {
  menu {
    display: none;
  }

  .MuiDrawer-root {
    display: none !important;
  }
}

.welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;

  img {
    max-width: 448px;
    height: auto;
    margin: auto;
  }
} 
.menu-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  background-color: #16b3f9;
  margin-bottom: 0px;

  img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
  }
}

.logo {
  display: block;
  text-align: center;

  img {
    max-width: 100%;
    height: auto;
  }
}

.MuiDrawer-paper {
  background-color: #f5f5f5;
}

.MuiListItem-root {
  &.Mui-selected {
    background-color: rgba(0, 0, 0, 0.04);
  }

  &:hover {
    background-color: rgba(0, 0, 0, 0.08);
  }
}

.MuiListItemIcon-root {
  min-width: 40px;
} 
