/*
 * 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/>.
 */
/*
 * 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) 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/>.
 */
.registration-dialog {
  margin: 2em 0;
  font-size: 1.1em;
}
.registration-dialog .registration-dialog .spinner {
  width: 100px;
}
.registration-dialog .ic-Label {
  font-weight: normal;
  font-size: 14px;
}
@media screen and (max-width: 500px) {
  .registration-dialog .g-recaptcha {
    position: relative;
    width: 100%;
  }
  .registration-dialog .g-recaptcha > * {
    float: right;
    right: 0;
  }
}

.terms-of-service__register {
  display: flex;
  flex-direction: row;
  line-height: 1;
}
.terms-of-service__register .terms-of-service__link {
  button: 14px !important;
}

.terms-of-service__link {
  padding-left: 4px;
}

.pairing-code-text {
  display: flex;
  justify-content: space-between;
}
.pairing-code-text a {
  font-size: 14px;
}

/*
 * 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-Layout-contentMain {
  padding: 0;
}

body.ic-Login-Body {
  background-color: var(--ic-brand-Login-body-bgd-color);
  background-image: linear-gradient(transparent, transparent 80%, var(--ic-brand-Login-body-bgd-shadow-color)), var(--ic-brand-Login-body-bgd-image);
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
}

.ic-Login {
  display: flex;
  justify-content: center;
  color: #FFFFFF;
}

.ic-Login__container {
  margin-top: 24px;
}

.ic-Login__content {
  width: 400px;
  margin: 0 auto;
  background: var(--ic-brand-Login-Content-bgd-color);
  border: 5px solid var(--ic-brand-Login-Content-border-color);
  padding: 12px;
  border-radius: 5px;
}

.ic-Login__innerContent {
  padding-top: 24px;
  background: var(--ic-brand-Login-Content-inner-bgd);
  border: 2px solid var(--ic-brand-Login-Content-inner-border);
  border-radius: 5px;
}

.ic-Login__title {
  color: var(--ic-brand-Login-Content-label-text-color);
}

.ic-Login__text {
  color: var(--ic-brand-Login-Content-label-text-color);
}

.ic-Login__body {
  background: var(--ic-brand-Login-Content-inner-body-bgd);
  border: 2px solid var(--ic-brand-Login-Content-inner-body-border);
  padding: 18px 18px 12px 18px;
  margin-top: 12px;
}

.ic-Form-control--login .ic-Label {
  color: var(--ic-brand-Login-Content-label-text-color) !important;
}

.ic-Login__link {
  color: var(--ic-brand-Login-Content-password-text-color) !important;
  text-decoration: underline;
}

.ic-Login__body__error {
  display: block;
  position: relative;
  top: auto;
  left: auto;
  max-width: 400px;
}

.ic-Login-header {
  padding: 0 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ic-Login-header__logo {
  flex: 0 0 160px;
  min-width: 1px;
}

.ic-Login-header__links {
  flex: 1;
  text-align: right;
  font-size: 13px;
  font-size: 0.8125rem;
  line-height: 1.3;
  box-sizing: border-box;
  padding-left: 12px;
}
.ic-Login-header__links .ic-Login__link {
  display: block;
  margin-top: 6px;
}
.ic-Login-header__links .ic-Login__link:first-of-type {
  margin-top: 0;
}

.ic-Login__actions {
  display: flex;
  align-items: center;
}
.ic-Login__actions .ic-Login__actions-timeout {
  flex: 1;
}
.ic-Login__actions .ic-Login__actions-timeout label {
  color: var(--ic-brand-Login-Content-label-text-color);
}
.ic-Login__actions .ic-Login__actions-timeout input[type=checkbox]:focus {
  outline: 1px solid var(--ic-brand-Login-Content-password-text-color);
  outline-offset: 1px;
}
.ic-Login__actions .ic-Login__actions--right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.ic-Login__actions .ic-Login__actions--left {
  flex: 1;
  text-align: left;
}
.ic-Login__actions .ic-Form-control {
  margin-bottom: 0;
}
.ic-Login__actions .Button--login {
  padding: 6px 36px;
  background: transparent;
  color: var(--ic-brand-Login-Content-password-text-color);
  border: 1px solid var(--ic-brand-Login-Content-password-text-color);
  overflow: visible;
}
.ic-Login__actions .Button--login::before {
  content: "";
  position: absolute;
  top: -0.375rem;
  left: -0.375rem;
  right: -0.375rem;
  bottom: -0.375rem;
  border: 1px solid var(--ic-brand-Login-Content-password-text-color);
  border-radius: 0.375rem;
  opacity: 0;
}
.ic-Login__actions .Button--login:focus {
  box-shadow: none;
}
.ic-Login__actions .Button--login:focus::before {
  opacity: 1;
}
.ic-Login__actions .Button--login::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0.175rem;
}
.ic-Login__actions .Button--login:hover::after {
  background: var(--ic-brand-Login-Content-password-text-color);
  opacity: 0.1;
}

.ic-Login__forgot-text {
  color: var(--ic-brand-Login-Content-password-text-color);
  font-size: 16px;
  font-size: 1rem;
  padding: 0 0 24px 0;
  margin: 0;
  line-height: 24px;
}

.ic-Login_enroll {
  text-align: center;
  padding: 12px 0;
}

body.ic-Login-Body #footer.ic-app-footer {
  display: none !important;
}

body.ic-Login-Body #footer.ic-Login-footer {
  display: block !important;
}

.ic-Login-footer .ic-Login-footer__logo-link {
  display: block;
  text-align: center;
}
.ic-Login-footer .ic-Login-footer__logo-link .ic-Instructure-Logo {
  fill: var(--ic-brand-Login-instructure-logo);
}
.ic-Login-footer .ic-Login-footer__logo-link:hover span, .ic-Login-footer .ic-Login-footer__logo-link:focus span {
  border-bottom: 1px solid var(--ic-brand-Login-footer-link-color);
}
.ic-Login-footer span.ui-icon.ui-icon-extlink.ui-icon-inline {
  display: none;
}
.ic-Login-footer .ic-Login-footer__links {
  padding: 12px;
  text-align: center;
}
.ic-Login-footer .ic-Login-footer__links a, .ic-Login-footer .ic-Login-footer__links .menu-item__text, .ic-Login-footer .ic-Login-footer__links .external {
  outline-width: 0.125rem;
  outline-color: transparent;
  outline-style: solid;
  color: var(--ic-brand-Login-footer-link-color);
  font-size: 11px;
  font-size: 0.6875rem;
  padding: 0 6px;
  white-space: nowrap;
  text-decoration: underline;
}
.ic-Login-footer .ic-Login-footer__links a:focus, .ic-Login-footer .ic-Login-footer__links .menu-item__text:focus, .ic-Login-footer .ic-Login-footer__links .external:focus {
  outline-offset: 0;
  outline-color: var(--ic-link-color);
}
.ic-Login-footer .ic-Login-footer__links a:hover, .ic-Login-footer .ic-Login-footer__links a:focus, .ic-Login-footer .ic-Login-footer__links .menu-item__text:hover, .ic-Login-footer .ic-Login-footer__links .menu-item__text:focus, .ic-Login-footer .ic-Login-footer__links .external:hover, .ic-Login-footer .ic-Login-footer__links .external:focus {
  background-color: none;
  color: var(--ic-brand-Login-footer-link-color-hover);
  text-decoration: none;
}
.ic-Login-footer .ic-Login-footer__links a span, .ic-Login-footer .ic-Login-footer__links .menu-item__text span, .ic-Login-footer .ic-Login-footer__links .external span {
  text-decoration: none;
}

.ic-Login__register-banner .ic-Login__banner-title {
  font-weight: normal;
}
.ic-Login__register-banner .ic-Login__banner-subtitle {
  font-weight: bold;
}

#unauthorized_holder {
  box-shadow: 0 4px 20px -2px black;
  margin: 30px auto 20px;
  width: 663px;
}
#unauthorized_holder #modal-box.login-box {
  margin: 0;
  box-shadow: none;
}
#unauthorized_holder #unauthorized_message {
  margin: 0;
  width: auto;
  padding: 15px 20px;
  line-height: 1.2;
}
#unauthorized_holder #unauthorized_message.ui-state-error:before {
  top: 15px;
}
#unauthorized_holder #unauthorized_message h2, #unauthorized_holder #unauthorized_message .h2 {
  height: 41px;
  margin: 0 0 -5px 0;
  padding: 0 0 0 60px;
  color: #000;
}
#unauthorized_holder #unauthorized_message p {
  padding: 0 0 0 60px;
  margin: 0;
  font-size: 1.25em;
  font-weight: normal;
}

.ic-Login-confirmation__headline {
  margin: 0 0 12px;
}

.ic-Login-confirmation__actions {
  margin-top: 24px;
  text-align: right;
}

body.body--login-confirmation {
  background: #2e3c46;
}

.ic-Login-confirmation {
  box-sizing: border-box;
  border-radius: 3px;
  box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.4);
  width: 400px;
  margin: 36px auto 0;
  width: 696px;
}
.ic-Login-confirmation form {
  margin-bottom: 0;
}

.ic-Login-confirmation__header {
  background: #34444f;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  padding: 18px;
}

.ic-Login-confirmation__logo {
  width: 140px;
  height: 35px;
}

.ic-Login-confirmation__content {
  padding: 24px;
  background: #FFFFFF;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.ic-Login-confirmation__auth-icon {
  display: inline-block;
  max-width: 72px;
  height: auto;
  vertical-align: middle;
  margin-right: 12px;
}

/*
 * 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-Login__sso {
  clear: both;
  text-align: center;
}

.ic-Login__sso-divider {
  padding: 10px 0;
  margin: 0;
  line-height: normal;
  font-size: 11px;
  font-size: 0.6875rem;
  color: #cccccc;
  display: flex;
  align-items: center;
  border-top: 1px solid #C7CDD1;
}

.ic-Login__sso-list {
  padding: 12px 0 0 0;
  margin: 24px 0 0 0;
  border-top: 1px solid var(--ic-brand-Login-footer-link-color);
}

.ic-Login__sso-list__item {
  list-style: none;
  display: inline-block;
}

.Button.ic-Login__sso-button {
  padding: 12px 24px;
  background: transparent;
  color: var(--ic-brand-Login-footer-link-color);
  border: 1px solid transparent;
  transition: all 0.5s;
}
.Button.ic-Login__sso-button .ic-icon-svg {
  width: 26px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
  fill: var(--ic-brand-Login-footer-link-color);
}
.Button.ic-Login__sso-button--has-text {
  display: flex;
  align-items: center;
}
.Button.ic-Login__sso-button:focus, .Button.ic-Login__sso-button:hover {
  background: transparent;
  color: var(--ic-brand-Login-footer-link-color-hover);
  border: 1px solid var(--ic-brand-Login-footer-link-color-hover);
}
.Button.ic-Login__sso-button:focus.ui-state-hover, .Button.ic-Login__sso-button:hover.ui-state-hover {
  background: transparent;
  color: var(--ic-brand-Login-footer-link-color-hover);
  border: 1px solid var(--ic-brand-Login-footer-link-color-hover);
}

.ic-Login__icon-sso {
  padding-right: 12px;
}

.ic-Login__icon-sso--icon-only {
  padding-right: 0;
}

.ic-Login__sso-button__title {
  color: var(--ic-brand-Login-footer-link-color);
  padding: 0 12px;
}

.ic-Login__sso-button__title-caps {
  text-transform: capitalize;
}