@import url("https://fonts.googleapis.com/css?family=Work+Sans:300,400,500,700");

* {
  font-family: "Work Sans", sans-serif;
}
/* ==========
  HEADER
========== */
.header {
  border-bottom: 1px solid #262634;
  background-color: #181820;
}
.dashboard-header {
  border-bottom: 1px solid #262634;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 80px;
  background-color: #181820;
  width: 100vw;
  margin: 0 auto;
  align-self: flex-start;
  padding: 0 2vw;
}
@media only screen and (max-width: 800px) {
  .dashboard-header {
    display: block !important;
    height: auto;
  }
  .header__brand-name a span {
    margin: 0;
  }
}

@media (min-width: 801px) {
  header .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 10vh;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  footer .container {
    padding: 0;
  }
}
@media (min-width: 401px) {
  footer .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 10vh;
    width: 100%;
    margin: 0 auto;
  }
  footer .container div {
    flex: 1;
  }
}
@media (max-width: 400px) {
  .dashboard-header .nav-link {
    padding: 0.5rem;
  }
  .dashboard-header .header__button-area {
    margin-top: 30px;
  }
  .dashboard-header .header__button-area a {
    padding: 0 !important;
  }
  footer .container div {
    text-align: center !important;
    margin: 1.2rem 0 1rem;
  }
  footer .container {
    padding: 2rem;
  }
}

footer {
  background-color: #181820;
}
footer p,
footer small {
  color: white;
}

@media (min-width: 1400px) {
  footer .container,
  header .container {
    max-width: 1290px;
  }
}

.dropdown-menu.dropdown-menu-left,
.dropdown-menu[x-placement="bottom-start"] {
  right: 3%;
  left: unset !important;
  min-width: auto;
  transform-origin: right top;
}
@media only screen and (max-width: 991px) {
  .dropdown-menu.dropdown-menu-left,
  .dropdown-menu[x-placement="bottom-start"] {
    right: 4%;
  }
}

@media only screen and (max-width: 1020px) {
  #add-update {
    display: none;
  }
}

@media only screen and (max-width: 754px) {
  .header {
    width: 100vw;
  }

  .header__button-area {
    flex: 0.5;
  }

  .header__links {
    flex: 2;
  }

  main {
    width: 75vw !important;
  }
}
@media only screen and (max-width: 800px) {
  .dropdown-menu.dropdown-menu-left,
  .dropdown-menu[x-placement="bottom-start"] {
    width: 100%;
    right: 0;
    transform-origin: top;
  }
  .dropdown-menu .dropdown-item {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  #navbarDropdown {
    margin-bottom: -10px;
    margin-top: -8px;
  }

  .nav-link.active {
    border-top: none !important;
    border-bottom: 2px solid;
  }

  .header {
    display: block !important;
    height: auto;
  }

  .header__brand-name {
    display: block !important;
    padding-top: 20px;
    padding-bottom: 25px;
    text-align: center;
  }

  .header__button-area {
    display: block !important;
    text-align: center;
    padding-bottom: 25px;
  }
}
@media only screen and (max-width: 340px) {
  .header__button-area a.header-btn button {
    width: auto !important;
  }
}

@media (max-width: 450px) {
  a.header-btn {
    display: none;
  }
}

.header > .header__button-area > .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__brand-name {
  flex: 1;
  overflow: hidden;
  margin: auto;
}
.header__brand-name span {
  color: #ffffff;
  font-weight: 600;
}

.header__links {
  flex: 2;
}

.header__button-area {
  flex: 1;
}

.header__brand-name,
.header__links,
.header__button-area {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
}

.header__brand-name,
.header__links,
.header__button-area a {
  z-index: 9;
}

.header__brand-name {
  justify-content: flex-start;
}
.header__button-area {
  justify-content: flex-end;
}

#navbarDropdown {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========
  MAIN
========== */
body {
  height: 100%;
}

main {
  width: 50vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 50px;
}

.main--members,
.main--projects {
  width: 75vw;
}

.main__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

.main__content {
  padding-top: 50px;
}

/* Main Login */
.main--login {
  width: 100vw;
  display: flex;
  flex-direction: row;
  padding-top: 0;
  height: 100vh;
}

.main__content--sideblock {
  background-color: #3b99fc;
  flex: 0.25;
  width: 100%;
}

.main__content--login {
  display: flex;
  flex-direction: column;
  flex: 0.75;
}

.main__content--login > .main__content--login__header {
  flex: 0.3;
  display: flex;
  align-items: center;
  padding: 0 5%;
  justify-content: flex-end;
}
.main__content--login > .main__content--login__form,
.main__content--login > .main__content--logout__form,
.main__content--create-team__form {
  flex: 0.2;
  display: flex;
  height: 100%;
  width: 50%;
  margin: auto;
  padding-top: 10vh;
  flex-direction: column;
}

.main__content--login__title,
.main__content--create-team__title {
  display: flex;
  align-self: flex-start;
  flex-direction: column;
}

.main__content--login > .main__content--login__form,
.main__content--login > .main__content--logout__form,
.main--create-team > .main__content--create-team__form {
  flex: 1;
  align-items: center;
}

/* Create Team */
.main--create-team {
  height: 90vh;
  justify-content: center;
  align-items: center;
  width: 60vw;
}

/* Logout */
.main__content--login > .main__content--login__form,
.main--create-team > .main__content--create-team__form {
  padding-top: 0;
}

.main__content--create-team__form {
  justify-content: center;
  width: 35vw;
}

/* ==========
   Custom Styles
========== */

/* Button2 */
.btn2 {
  padding: 8px;
  background-color: transparent;
  color: black;
}

.btn2:hover {
  background-color: transparent !important;
  color: black !important;
  border-color: #dfe3e8;
}

.btn-group > .active {
  background-color: #3b99fc !important;
  border-color: #dfe3e8 !important;
  color: white !important;
}
/* End Button2 */

/* Modal */
.modal-sm {
  width: 35vw !important;
}
/* End Modal */
.invite-member:last-child {
  margin-bottom: 0.75rem !important;
}

/* Images */
.thumbnail {
  height: 70px;
  width: 70px;
}
/* End Images */

/* Project Form */
.project-form__image-handler {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.project-form__image-handler--logo {
  border: 1px solid #dfe3e8;
}

.btn-group > button {
  flex: 1 !important;
  border: 1px solid #dfe3e8;
}

.update__success-message {
  visibility: hidden;
}
/* End Project Form */

/* ==========
   Reseting Styles
========== */

.modal-header {
  height: auto !important;
  background-color: transparent !important;
}

.nav-link,
.header__button-area a {
  text-transform: none !important;
  color: #6c757d;
}
.nav-link.active {
  color: #ffffff;
  border-top: 2px solid;
  padding-top: 5px;
}
.nav-link.dropdown-toggle,
.dropdown-item,
.nav-link:hover {
  color: #ffffff;
}

.dropdown-menu .dropdown-item:hover {
  background: #ececec;
}
.dropdown-menu .dropdown-item {
  justify-content: center;
  font-size: 12px;
}

button#add-update {
  border: 1px solid #ffffff;
  padding: 0.6rem 2rem !important;
  font-size: 12px !important;
  color: #ffffff;
  outline: none !important;
  box-shadow: none;
}

.logo-name {
  font-weight: 500;
  margin-right: 8px;
  text-transform: uppercase;
  height: 32px;
  width: 32px;
  line-height: 0;
  margin-bottom: 0;
  color: white;
  background-color: #1e35ff;
  border-radius: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header__button-area a {
  padding: 0.5rem 1rem;
}
.header__button-area a.header-btn {
  padding: 0;
}
.header__button-area .header-btn button {
  border: none;
  font-weight: 500;
  border: 1px solid #ffffff;
  padding: 0.6rem 2rem !important;
  font-size: 14px !important;
  background-color: #f3f3f6;
  margin: 0 10px;
  color: #181820;
}

.form-control,
.custom-select {
  border: 1px solid #dfe3e8;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.form-control {
  font-size: 12px;
  background-image: none;
  padding: 10px;
}

.form-control::placeholder {
  font-size: 12px !important;
  color: #8c9094;
}

.form-control:read-only {
  background-image: none;
}

.btn {
  text-transform: none !important;
}

.btn-sm {
  font-size: 12px !important;
  border: 1px solid #3b99fc;
}

.lead {
  font-weight: 600;
  font-size: 12px;
}

.alert-success {
  background-color: #00cc6b;
  border-radius: 4px;
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.button {
  letter-spacing: 1.2px !important;
}

small {
  font-size: 11px;
}

nav.special-nav {
  background-color: rgba(24, 24, 32, 1);
  color: white;
  border-bottom: 0.5px solid rgba(119, 119, 141, 0.3);
  height: 10vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
nav.special-nav h3 {
  color: white;
}
@media (max-width: 375px) {
  nav.special-nav h3 {
    font-size: 20px;
  }
}
.nav-item,
.nav-item > a {
  font-size: 12px;
  height: 100%;
  display: flex;
  align-items: center;
}

/* ==========
   Utility Styles
========== */
.-primary {
  padding: 12px 22px !important;
}

.-round {
  border-radius: 30px !important;
}

.custom-container {
  width: 80%;
}

.w-600 {
  font-weight: 600 !important;
}

.w-35 {
  width: 35%;
}

.h-auto {
  height: auto !important;
}
.mobile-nav {
  position: fixed;
  z-index: 101;
  top: 0;
  left: 0;
  background: #212529;
  width: 80%;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
@media (max-width: 350px) {
  .mobile-nav {
    width: 100%;
  }
}
.toggle-button {
  background: transparent;
  border: none;
  cursor: pointer;
  vertical-align: middle;
  margin-left: 1%;
  display: none;
}
.toggle-button:hover,
.toggle-button:focus,
#menu-close:hover,
#menu-close:focus {
  opacity: 0.8;
}
.toggle-button span {
  font-size: 2.4rem;
  color: white;
}
.toggle-button__bar {
  width: 100%;
  height: 0.2rem;
  background: #fff;
  display: block;
  margin: 0.6rem 0;
}
@media (max-width: 400px) {
  .dashboard-header .header__brand-name {
    margin: initial;
    margin-left: -20px;
  }
}
.mobile-nav__items {
  width: 90%;
  height: 100%;
  list-style: none;
  margin: 10% auto;
  padding: 0;
  text-align: center;
}

.mobile-nav__item {
  height: 3.4rem;
  width: 80%;
  margin: auto;
}
.mobile-nav-link {
  height: 100%;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #6c757d;
  padding: 0;
}
.mobile-nav__item a:hover,
.mobile-nav__item a:focus,
.mobile-nav__item a.active {
  color: #fff;
}

.mobile-nav-link.active {
  border-top: none !important;
  border-bottom: 2px solid white;
}

.mobile-nav__items li:last-child {
  margin-top: 30px;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}

.mobile-nav__email {
  color: white;
  text-align: center;
}

.mobile-nav-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #21262a;
  background-color: #1e35ff;
  height: 5rem;
  border: none;
  box-shadow: none;
  width: 5rem;
  border-radius: 2.5rem;
  margin: 2rem auto 0;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.open {
  opacity: 1;
  height: 100vh;
}
a#menu-close {
  position: absolute;
  left: 0;
  margin: 4px 14px;
  font-size: 30px;
}

@media (min-width: 441px) {
  .open {
    display: none !important;
  }
}

@media (max-width: 440px) {
  .toggle-button {
    display: inline-block;
    padding: 0;
  }
  .header__links {
    display: none;
  }
  .dashboard-header .header__brand-name {
    display: inline-block !important;
    padding: 0;
    flex: none;
  }
  .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
  }
  #navbarDropdown {
    display: none;
    margin: 0 !important;
  }
  .dashboard-header .header__button-area {
    display: inline-block !important;
    padding: 0;
    margin: 0 !important;
    flex: none;
  }
  .dashboard-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
  }
}
