/* Navigation */
.navbar-container {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 10px;
}

.nav-item {
  margin-left: 20px;
}

.logo img {
  height: 60px;
  margin-right: 10px;
}

@media screen and (max-width: 576px) {
  .navbar {
    padding: 0;
  }
  .navbar-container {
    padding: 3px 5px;
  }
  .nav-item {
    margin-left: 8px;
  }
  .logo img {
    height: 32px;
  }
  .navbar-brand {
    margin-right: 0;
  }
}

.navbar-toggler, .navbar-toggler:focus {
  border: none;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

.navbar-toggler:hover {
  background-color: #f1f1f1;
}

.nav-avatar-pc .user-profile-icon {
  width: 1.5em;
}

.nav-avatar-pc .user-profile-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 7em;
}

.user-profile-icon {
  font-size: 1.3em;
}

@media screen and (max-width: 767px) {
  .user-profile-icon {
    font-size: 1.1em;
  }
  .user-profile-icon img, .user-profile-icon svg {
    width: 30px;
    height: 30px;
  }
  .navbar-toggler .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
  }
  .navbar-toggler {
    padding: 3px 4px;
  }
}

/* Alerts */

@media screen and (max-width: 576px) {
  .alert {
    font-size: 0.85em;
    padding: 10px;
  }
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
}

.alert-danger * {
  color: #842029;
  display: contents;
}

.alert-light {
  background-color: #f7f7f7;
  border: 1px solid #efefef;
  color: #6c757d;
}

.alert-light * {
  color: #6c757d;
  display: contents;
}

/* Content */
main {
  min-height: 50vh;
}

.subscription_button, .subscription_button:focus, .subscription_button:active {
  padding: 10px;
  border-radius: 8px;
  min-width: 160px;
  text-align: center;
}

@media screen and (max-width: 576px) {
  .navbar .subscription_button,.navbar .subscription_button:focus, .navbar .subscription_button:active {
    font-size: 0.8em;
    padding: 8px;
    border-radius: 8px;
    min-width: auto;
    white-space: nowrap;
  }
}

h1 {
  text-align: center;
  margin-bottom: 1em;
  font-weight: 500;
  font-size: 2em;
  margin-top: 2em;
}

h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 1.5em;
    margin-top: 1.5em;
    line-height: 1.5em;
  }
  h2 {
    font-size: 1.2em;
  }
  h5 {
    font-size: 1em;
    font-weight: bold;
  }
}

.subtitle {
  text-align: center;
  font-size: 1em;
  margin-top: -0.75em;
}

/* Forms */

.form-group label {
  margin-bottom: 5px;
}

.form-group .form-control {
  padding: 10px 15px;
  margin-bottom: 17px;
  border-radius: 10px;
}

.form-group .col-sm-9, .form-group .col-sm-3 {
  width: 100%;
}

.form-group .checkbox label {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
  cursor: pointer;
}

.form-group .help-block {
  margin-bottom: 1em;
  display: block;
}

input[type="checkbox"] {
  accent-color: #111111;
  width: 1.1em;
  height: 1.1em;
  margin-right: 8px;
  margin-top: -3px;
  min-width: 18px;
  min-height: 18px;
}

.btn, .btn:focus, .btn:active {
  padding: 10px;
  border-radius: 10px;
  border: 0;
}

.btn-sm, .btn-sm:hover, .btn-sm:active {
  padding: 5px 10px !important;
  border-radius: 6px !important;
}

input[type="submit"] {
  width: 100%;
  margin-top: 1em;
}

.avatar {
  width: 4em;
}

.table tr:last-of-type td {
  border: 0;
}

.table tr th {
  font-weight: 500;
}

.badge {
  font-weight: 400;
  font-size: 1em;
}

/* Badges */

.badge-success, .badge-success i {
  background-color: #D5EFD3;
  color: #0D822D;
}

.badge-warning, .badge-warning i {
  background-color: #FFEAC8;
  color: #B57C12;
}

.badge-danger, .badge-danger i {
  background-color: #FFDEDE;
  color: #B10A0A;
}

.badge-info, .badge-info i {
  background-color: #D0E8FC;
  color: #1169BB;
}

.badge-default, .badge-default i {
  background-color: #E9E9E9;
  color: #878787;
}

.badge-sm {
  font-size: .9em;
  border-radius: 4px;
}

/* Footer */
footer {
  font-size: 0.85em;
}

footer .logo {
  width: 100%;
}

@media screen and (max-width: 767px) {
  footer .logo {
    width: 30%;
  }
}

@media screen and (max-width: 576px) {
  footer .logo {
    width: 30%;
  }
}

/* Correctors */

.inherit-color {
  color: inherit;
}

@media screen and (max-width: 576px) {
  .cut-m-60 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60vw;
  }
}

.btn i {
  color: inherit;
}

.text-muted * {
  color: inherit;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spin {
  animation: spin 2s linear infinite;
}

.no-break {
  white-space: nowrap;
}

.crossed-divider {
  margin: 2em 0;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.crossed-divider::before, .crossed-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #dee2e6;
  margin: 0 10px;
}

.cursor-pointer {
  cursor: pointer;
}

.social-sign-in-wrapper .col-sm-3 {
  display: none;
}

.social-sign-in-wrapper .col-sm-9 {
  width: 100%;
}

.social-sign-in-wrapper .btn-social {
  display: flex;
  width: 100%;
  max-width: none;
  height: auto;
  padding: 8px;
  box-shadow: none;
  border-radius: 10px;
  font-size: initial;
  text-decoration: none;
  line-height: initial;
  justify-content: center;
  align-items: center;
}

.social-sign-in-wrapper .btn-social .logo {
  position: relative;
  height: 30px;
  display: flex;
}

.social-sign-in-wrapper .btn-social .logo img {
  height: 100%;
  width: auto;
}

.social-sign-in-wrapper .btn-social span {
  height: auto;
  width: auto;
  line-height: initial;
  font-family: inherit;
  margin-left: 10px;
  color: initial;
}

.social-sign-in .btn-social.btn-google {
  background-color: #F2F2F2;
}

.social-sign-in .btn-social.btn-google:hover {
  background-color: #e4e4e4;
}

.social-sign-in .btn-social.btn-facebook {
  background-color: #d5e8ff;
}

.social-sign-in .btn-social.btn-facebook:hover {
  background-color: #b2d0f4;
}

.social-sign-in .btn-social.btn-twitter {
  background-color: #d7f0ff;
}

.social-sign-in .btn-social.btn-twitter:hover {
  background-color: #aedffd;
}

.social-sign-in .btn-social.btn-apple {
  background-color: #F2F2F2;
}

.social-sign-in .btn-social.btn-apple:hover {
  background-color: #e4e4e4;
}

.social-sign-in .btn-social.btn-magic-link {
  background-color: #ecd8fb;
  border: 0;
}

.social-sign-in .btn-social.btn-magic-link:hover {
  background-color: #e2c4f9;
}

.social-divider {
  margin: 2em 0;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.social-divider::before, .social-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #dee2e6;
  margin: 0 10px;
}

.social-divider hr {
  display: none;
}
