.bg-title {
  overflow: unset;
}

/*
 * Growi original
 */

#page-wrapper {
  padding-bottom: 0;
}

/*
 * Sidebar
 */
.content-wrapper {
  // hide elements by agile-admin completely
  .logo .logo-text {
    display: none;
  }
  @media(min-width:768px) {
    .sidebar {
      display: none;
    }
  }
  #page-wrapper {
    margin-left: 0;
  }
}

/*
 * Logo
 */
.top-left-part {
  line-height: 0%;

  a {
    text-transform: none;
  }
}
.logo {
  .logo-mark {
    svg {
      padding: 12px;
      width: 50px;
      height: 50px;
    }
  }
  .logo-text {
    svg {
      width: 156px;
      height: 50px;
    }
  }
}

/*
 * Nav
 */
.nav-pills {
  > li > a {
    border-radius: 3px;
  }
}

/*
 * Link
 */
a {
  &:hover, &:focus {
    text-decoration: underline;
  }
}

/*
 * Alert
 */
.alert {
  a:not(.btn) {
    color: white;
  }

  &.alert-info {
    a:not(.btn) {
      &:hover, &:focus {
        color: lighten($info, 40%);
      }
    }
  }
  &.alert-success {
    a:not(.btn) {
      &:hover, &:focus {
        color: lighten($success, 40%);
      }
    }
  }
  &.alert-warning {
    a:not(.btn) {
      &:hover, &:focus {
        color: lighten($warning, 30%);
      }
    }
  }
  &.alert-danger {
    a:not(.btn) {
      &:hover, &:focus {
        color: lighten($danger, 30%);
      }
    }
  }
}

/*
 * Form
 */
.input-sm,
.input-group-sm > .form-control,
.input-group-addon.input-sm,
.input-group-sm > .input-group-addon,
.btn-group-sm > .btn {
  border-radius: $radius;
}

/*
 * Button
 */
button.btn.btn-link:hover {
  text-decoration: none;
}

/*
 * Dropdown
 */
.dropdown-menu {
  > li > a {
    padding: 5px 15px;
  }
}


/*
 * Modal
 */
.modal-content {
  border: none;
  // border-radius: 0;

  .modal-header, .modal-footer {
    padding: 10px 15px;
  }
}


/*
 * Wells
 */
.well {
  border-radius: 3px;
  padding: .7em;
  &.well-sm {
    padding: .5em;
  }

  a {
    text-decoration: underline;
  }
}


/*
 * Panel
 */
.panel {
  .panel-heading {
    padding: 7px 15px;
    text-transform: none;
  }
  .panel-body {
    padding: 15px;
  }
  .panel-footer {
    padding: 7px 15px;
  }
}
.panel.panel-primary .panel-heading{

}


/*
 * Label
 */
.label {
  padding: 2px 7px;
}


/*
 * Wiki
 */
.wiki {
  a {
    text-decoration: underline;
  }
}
