/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/* Legacy variables. Discontinue to use these: */
/*
 * Copyright (C) 2017 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/* Legacy variables. Discontinue to use these: */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2012 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Convert font-size from px to rem with px fallback
 * @param $size - the value in pixel you want to convert
 * e.g. p {@include fontSize(12px);}
 * courtesy of https://github.com/stubbornella/oocss/blob/master/oocss/src/components/utils/_fontSize.scss
 */
#right-side .placeholder {
  height: 200px;
}

.recent-activity-header {
  margin: 0;
  border-bottom: 1px solid #C7CDD1;
  line-height: 1.2;
  padding-bottom: 12px;
  font-size: 1.5em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent_activity > li {
  position: relative;
  border-bottom: 1px solid #ddd;
}
.recent_activity > li .title {
  font-weight: normal;
}
.recent_activity > li .links {
  font-size: 11px;
  font-size: 0.6875rem;
}
.recent_activity > li .unread-count {
  display: block;
  background: var(--ic-brand-primary);
  border-radius: 15px;
  width: 10px;
  height: 10px;
  position: absolute;
  left: 3px;
  top: 22px;
  padding: 0;
}
.recent_activity > li .accessibly-hidden {
  position: absolute;
  left: -9999px;
}
.recent_activity > li .unread {
  width: 10px;
  height: 10px;
  margin-left: -15px;
  background-color: var(--ic-brand-primary);
  border-radius: 5px;
}

.stream_header {
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  display: flex;
  padding: 12px 0;
}
.stream_header .image-block {
  flex: 1;
  align-items: center;
  padding-right: 6px;
}
.stream_header .toggle-details {
  text-transform: uppercase;
  font-size: 11px;
  font-size: 0.6875rem;
}
.stream_header:hover {
  background: #E5F2F8;
}
.stream_header:hover .toggle-details {
  text-indent: 0;
  text-align: right;
}

.header-right-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.toggle-details {
  display: block;
  text-align: right;
  text-indent: 0;
}
.toggle-details:hover {
  text-decoration: none;
}

.details_container {
  display: none;
  margin-left: 52px;
}

.stream-details {
  width: 100%;
}
.stream-details tr {
  border-top: 1px dotted #C7CDD1;
  line-height: 2;
}
.stream-details tr:hover {
  background: #E5F2F8;
}
.stream-details .date {
  font-size: 11px;
  font-size: 0.6875rem;
  line-height: 1.5;
  width: 20%;
  white-space: normal;
  text-align: center;
}
.stream-details .remove {
  width: 5%;
}

.ignore-item {
  float: none;
  display: block;
  text-align: center;
  text-indent: 0;
}

.content_summary {
  overflow-wrap: break-word;
  word-break: normal;
  word-wrap: break-word;
  display: block;
  color: inherit;
  font-weight: bold;
  font-size: 14px;
  font-size: 0.875rem;
}
.content_summary:hover {
  text-decoration: none;
}

.fake-link {
  color: var(--ic-link-color);
}
.fake-link:hover {
  text-decoration: underline;
}

#course_home_content .fake-link,
#group_messages .fake-link,
#course_home_content .stream_header .links,
#group_messages .stream_header .links {
  display: none;
}

.recent_activity .image-block-image {
  width: 28px;
  margin-right: 10px;
  margin-left: 10px;
}

.recent_activity .image-block-image i {
  height: 28px;
  font-size: 28px;
  line-height: 28px;
}
.recent_activity .image-block-image i:before {
  color: #b3b3b3;
  font-size: 28px;
}

.ic-dashboard-app {
  margin-top: -24px;
}

.ic-notification + .ic-dashboard-app {
  margin-top: 0;
}

.ic-Dashboard-header__layout {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #C7CDD1;
  background: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
  height: 4.5rem;
}
.ic-Dashboard-header__layout.small {
  padding-bottom: 0.5rem;
}
.ic-Dashboard-header__layout.small .ic-Dashboard-header__actions {
  display: flex;
  flex-wrap: wrap;
}

.ic-Dashboard-Activity {
  padding: 12px;
}

.ic-Dashboard-header__title {
  margin-top: 0;
  margin-bottom: 0;
  flex: 1;
  padding-right: 12px;
  box-sizing: border-box;
}

.ic-Dashboard-header__actions {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@supports (position: sticky) or (position: -webkit-sticky) {
  .ic-Dashboard-header,
body.dashboard-is-planner .ic-Dashboard-header {
    position: sticky;
    top: 0;
    z-index: 5;
  }

  .ic-Dashboard-header__layout {
    height: auto;
    min-height: 4.5rem;
  }

  body.dashboard-is-planner .ic-dashboard-app {
    padding-top: 0;
  }
  body.dashboard-is-planner .ic-Dashboard-header {
    left: auto;
    width: auto;
    height: auto;
  }
  body.dashboard-is-planner.primary-nav-expanded .ic-Dashboard-header {
    left: auto;
    width: auto;
  }
}