/*
 * Copyright (C) 2013 - 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) 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/>.
 */
.DialogPreview__thumbnail {
  width: 160px !important;
  height: 160px !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  position: relative;
}

.DialogPreview__container {
  height: 0;
  /* Super weird way to keep the column from being massively tall. */
}

/*
 * 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/>.
 */
.RestrictedRadioButtons__publish_icon {
  color: #0B874B;
  padding: 0px 10px 0px 5px;
}

.RestrictedRadioButtons__icon {
  color: var(--ic-brand-font-color-dark);
  padding: 0px 10px 0px 5px;
}

.permissions-dialog-form .radio {
  margin-top: 15px;
}

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

.RestrictedDialogForm__form .form-controls .btn:first-of-type {
  margin-right: 10px;
}

.context_modules2 {
  /*
  .editable .item-group-condensed {
    .ig-title {
      right: 600px;
      left: 30px;
      &.indent-1 {
        left: 42px;
      }
      &.indent-2 {
        left: 54px;
      }
      &.indent-3 {
        left: 66px;
      }
      &.indent-4 {
        left: 78px;
      }
    }
    .ig-details {
      right: 140px;
      width: 400px;
    }
    .ig-publish-btn {
      position: absolute;
      right: 76px;
    }
    .add-item-button {
      padding-left: 7px;
      padding-right: 7px;
    }
  }
  */
}
.context_modules2 .publish-button.published {
  color: #007711;
  /* green */
}
.context_modules2 .publish-button.unpublished {
  color: #999999;
  /* light grey */
}
.context_modules2 .publish-button.published.hover {
  color: #db4f4a;
  /* red */
}
.context_modules2 .publish-button.transitioning {
  color: #999999;
}
.context_modules2 .publish-button.disabled {
  color: #999999;
}
.context_modules2 .publish-button.disabled span,
.context_modules2 .publish-button .icon-unpublished {
  color: #999999;
}
.context_modules2 .module-item-title {
  color: black;
}
.context_modules2 .invisible {
  visibility: hidden;
}
.context_modules2 tr.hidden {
  display: none;
}
.context_modules2 .small-text {
  font-size: 0.9em;
}
.context_modules2 tr.visible {
  display: table-row;
}
.context_modules2 a,
.context_modules2 .ig-publish-btn,
.context_modules2 .module-published-button {
  cursor: pointer;
}
.context_modules2 #breadcrumbs {
  border-bottom-color: #b6babf;
}
.context_modules2 .modules-toolbar {
  padding: 16px;
  border-bottom: 1px solid #b6babf;
}
.context_modules2 .modules-toolbar input[type=search] {
  width: 300px;
  margin-bottom: 0;
}
.context_modules2 .ic-Layout-contentMain {
  padding: 0;
}
.context_modules2 .btn {
  padding-left: 8px;
  padding-right: 8px;
}
.context_modules2 .module-published-button {
  color: #33802a;
  font-size: 14px;
  font-size: 0.875rem;
  display: inline-block;
  padding-bottom: 3px;
  line-height: 22px;
  vertical-align: middle;
}
.context_modules2 a.al-trigger {
  color: #b4b8bb;
}
.context_modules2 a.al-trigger:hover {
  color: #0088cc;
}
.context_modules2 .module h3 {
  font-size: 1.18em;
  font-weight: bold;
  line-height: 1em;
  margin: 0;
}
.context_modules2 table {
  table-layout: fixed;
  margin-bottom: 0;
}
.context_modules2 table thead {
  background-color: inherit;
}
.context_modules2 table .drag-handler {
  cursor: move;
}
.context_modules2 table tbody {
  background-color: white;
  border: 1px solid #c2c9d1;
}
.context_modules2 table tbody tr:hover {
  background-color: #F6F8F9;
}
.context_modules2 table td:first-of-type, .context_modules2 table th:first-of-type {
  text-align: left;
}
.context_modules2 table td:last-of-type, .context_modules2 table th:last-of-type {
  text-align: right;
}
.context_modules2 table td {
  width: 11%;
}
.context_modules2 table td, .context_modules2 table th {
  text-align: inherit;
}
.context_modules2 table td.align-right, .context_modules2 table th.align-right {
  text-align: right;
}
.context_modules2 table td.long, .context_modules2 table th.long {
  width: auto;
}
.context_modules2 table td.inherit-width, .context_modules2 table th.inherit-width {
  width: auto;
}
.context_modules2 table td.compact, .context_modules2 table th.compact {
  width: 1%;
}
.context_modules2 table td.no-right-padding, .context_modules2 table th.no-right-padding {
  padding-right: 0;
}
.context_modules2 .prereqs {
  font-size: 14px;
  font-size: 0.875rem;
  padding: 4px 12px;
  line-height: 22px;
  display: inline-block;
  vertical-align: middle;
}
.context_modules2 .editable-show {
  display: none;
}
.context_modules2 .editable .editable-show {
  display: inherit;
}
.context_modules2 .item-group-condensed .ig-title {
  left: 20px;
}
.context_modules2 .indent-1 {
  margin-left: 18px;
}
.context_modules2 .indent-2 {
  margin-left: 36px;
}
.context_modules2 .indent-3 {
  margin-left: 54px;
}
.context_modules2 .indent-4 {
  margin-left: 72px;
}

tbody.sortable tr {
  display: table-row;
  width: 100%;
}

tr.ui-sortable-helper {
  background-color: white;
}

tbody.sortable.empty2 {
  min-height: 30px;
  display: block;
  width: 100%;
}

.drag_and_drop_warning {
  padding: 4px 8px;
  background: var(--ic-link-color);
  background-clip: border-box;
  text-align: center;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.8);
}
.drag_and_drop_warning:focus {
  color: #fff;
}
.drag_and_drop_warning:focus {
  margin-bottom: 8px;
}

#add_context_module_form .form-controls {
  z-index: 10;
}