/*
 * 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
 */
/*
 * 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/>.
 */
.ic-badge {
  font-size: 11px;
  font-size: 0.6875rem;
  min-width: 20px;
  line-height: 20px;
  border-radius: 10px;
  background: var(--ic-brand-primary);
  color: #FFFFFF;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  box-sizing: border-box;
  padding: 0 6px;
}

.ic-badge.ic-badge--neutral {
  background: #F5F5F5;
  color: var(--ic-brand-font-color-dark);
}

.ic-badge.ic-badge--success {
  background: #0B874B;
}

.ic-badge.ic-badge--alert {
  background: #FC5E13;
}

.ic-badge.ic-badge--danger {
  background: #E0061F;
}

.ic-DashboardCard__box {
  padding: 12px 0.125rem 0;
}

.unpublished_courses_redesign .ic-DashboardCard__box {
  padding: 12px 24px;
}

.unpublished_courses_redesign .ic-DashboardCard__box__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  margin-bottom: 24px;
}

@media not all and (min-width: 768px) {
  .unpublished_courses_redesign .ic-DashboardCard__box__header {
    font-size: 1.5em;
  }
}

.ic-DashboardCard__box__container {
  margin: -36px 0 0 -36px;
}

@supports (position: sticky) or (position: -webkit-sticky) {
  .ic-DashboardCard__box {
    padding-top: 24px;
  }
}

@keyframes placeholder {
  to {
    opacity: 0.5;
  }
}

.ic-DashboardCard__placeholder-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ic-DashboardCard__placeholder-svg .ic-DashboardCard__placeholder-animates>* {
  fill: #ededed;
  animation-name: placeholder;
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
}

.ic-DashboardCard__placeholder-svg .ic-DashboardCard__placeholder-animates>*:nth-child(2) {
  animation-delay: 0.2s;
}

.ic-DashboardCard__placeholder-svg .ic-DashboardCard__placeholder-animates>*:nth-child(3) {
  animation-delay: 0.3s;
}

.ic-DashboardCard__placeholder-svg .ic-DashboardCard__placeholder-animates>*:nth-child(4) {
  animation-delay: 0.4s;
}

.ic-DashboardCard__placeholder-svg .ic-DashboardCard__placeholder-animates>*:nth-child(5) {
  animation-delay: 0.5s;
}

.ic-DashboardCard__placeholder-svg .ic-DashboardCard__placeholder-animates>*:nth-child(6) {
  animation-delay: 0.6s;
}

.ic-DashboardCard__placeholder-svg .ic-DashboardCard__placeholder-animates>*:nth-child(7) {
  animation-delay: 0.7s;
}

.ic-DashboardCard {
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
  border-radius: 4px;
  overflow: hidden;
  background: #FFFFFF;
  width: 262px;
  display: inline-block;
  vertical-align: top;
  margin: 36px 0 0 36px;
}

.no-touch .ic-DashboardCard:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

@media only screen and (max-width: 620px) {
  .ic-DashboardCard {
    width: 100%;
    margin-left: 0;
  }

  .ic-DashboardCard__box__container {
    margin-left: 0;
  }
}

.ic-DashboardCard__header {
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}

.ic-DashboardCard__header_hero {
  box-sizing: border-box;
  height: 146px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.ic-DashboardCard__header_image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ic-DashboardCard__header_content {
  box-sizing: border-box;
  padding: 12px 18px 0;
  background: #FFFFFF;
}

.ic-DashboardCard__header-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.ic-DashboardCard__header-button i[class*=icon-],
.ic-DashboardCard__header-button i[class^=icon-] {
  line-height: 1;
}

.ic-DashboardCard__header-button i[class*=icon-]:before,
.ic-DashboardCard__header-button i[class^=icon-]:before {
  font-size: 24px;
}

.ic-DashboardCard__header-button-bg {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.ic-DashboardCard__header-publish {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 36px;
}

.ic-DashboardCard_settings_icon {
  color: white;
  opacity: 0.6;
}

.ic-DashboardCard__header-title {
  transition: all 0.2s ease-out;
  transform: translate3d(0, 0, 0);
  padding: 0;
  margin: 0;
  line-height: 1.3;
  font-size: 0.875rem;
  font-weight: bold;
}

.ic-DashboardCard__header-subtitle {
  line-height: 1.3;
  padding: 0;
  margin-top: 4px;
}

.ic-DashboardCard__header-term {
  line-height: 1.3;
  font-size: 12px;
  height: 1rem;
}

.ic-DashboardCard__header-subtitle,
.ic-DashboardCard__header-term {
  color: var(--ic-brand-font-color-dark-lightened-28);
}

.ic-DashboardCard__action-layout {
  position: relative;
  font-size: 24px;
}

.ic-DashboardCard__action-badge {
  font-size: 11px;
  font-size: 0.6875rem;
  min-width: 18px;
  line-height: 18px;
  border-radius: 9px;
  background: var(--ic-brand-primary);
  color: #FFFFFF;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  box-sizing: border-box;
  padding: 0 6px;
  transition: all 0.2s;
  position: absolute;
  top: -0.5rem;
  right: -0.875rem;
  z-index: 1;
}

.ic-DashboardCard__action-container {
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  padding: 0 0 12px;
  margin-top: 9px;
  height: 2.5rem;
}

.ic-DashboardCard__action {
  transition: color 0.2s;
  box-sizing: border-box;
  color: var(--ic-brand-font-color-dark-lightened-28);
  flex: 0 0 25%;
  display: flex;
  justify-content: center;
}

.ic-DashboardCard__action i[class*=icon-],
.ic-DashboardCard__action i[class^=icon-] {
  line-height: 1;
}

.ic-DashboardCard__action i[class*=icon-]:before,
.ic-DashboardCard__action i[class^=icon-]:before {
  font-size: 24px;
}

.no-touch .ic-DashboardCard__action:hover {
  color: var(--ic-brand-primary);
}

.no-touch:not(.ff) .ic-DashboardCard__action:focus {
  outline-style: solid;
  outline-width: 1px;
  outline-offset: -1px;
}

.no-touch.ff .ic-DashboardCard__action:focus {
  outline: none;
}

.no-touch.ff .ic-DashboardCard__action:focus svg,
.no-touch.ff .ic-DashboardCard__action:focus i {
  outline-offset: 0.25rem;
  outline-style: solid;
  outline-width: 1px;
}

.no-touch.ff .ic-DashboardCard__action:hover {
  color: var(--ic-brand-primary);
}

.DashboardCardMenu__ColorPicker {
  padding-left: 8px;
}

.DashboardCardMenu__MovementItem {
  display: flex;
  align-items: center;
}

.DashboardCardMenu__MovementIcon {
  margin-right: 12px;
  font-size: 25px;
}