body {
  height: 100vh;
  overflow: hidden;
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
}

#pswrapper {
  display: flex;
  height: 100%;
}

#pswrapper .lockup-header {
  width: 100%;
  background: #D6001C;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#pswrapper .lockup-header > img {
  margin: 25px 15px;
}

#pswrapper .col-left {
  flex-basis: 33.33%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #d6001c;
}

#pswrapper .col-left .title-logo-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 289px;
  margin-top: auto;
  padding: 0 15px;
}

#pswrapper .col-left .title-logo-container .title-logo-text {
  color: white;
  font-size: 36px;
  font-weight: 600;
  font-family: museo-slab, "Proxima Nova", Arial, Helvetica, sans-serif;
  word-wrap: break-word;
}

#pswrapper .col-left .lockup {
  margin-top: auto;
  padding: 0 15px 56px 15px;
}

#pswrapper .col-right {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

#pswrapper .col-right .login-landing-page-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
}

#pswrapper .col-right .login-landing-page-wrapper .login-landing-page-help-text {
  color: #3d3d3d;
}

#pswrapper .col-right .login-landing-page-wrapper .button-wrapper {
  padding-bottom: 8px;
}

#pswrapper .col-right .login-landing-page-title {
  color: #3D3D3D;
  font-size: 24px;
  font-family: museo-slab, "Proxima Nova", Arial, Helvetica, sans-serif;
  font-weight: 600;
}

#pswrapper .col-right .uc_casmsg {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

/* Utility class for hiding elements. */
.hidden {
  display: none !important;
}

@media screen and (max-width: 768px) {
  #pswrapper {
    flex-direction: column;
  }

  #pswrapper .lockup-header {
    justify-content: center;
  }

  #pswrapper .col-left,
  #pswrapper .col-right {
    flex-basis: auto;
  }

  #pswrapper .col-left .lockup {
    padding: 25px 15px;
  }

  #pswrapper .col-left .title-logo-container {
    display: none;
  }

  #pswrapper .col-right .login-landing-page-wrapper {
    align-items: center;
  }

  #pswrapper .col-right .login-landing-page-wrapper .login-landing-page-button-component {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }
}

#login,
#login-landing-page {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signonMain {
  margin: auto;
  text-align: center;
  width: 100%;
}

.uc_signonMain .ps_signinentry,
.uc_signonMain .ps_box-link {
  display: none;
}

.ps_text_header {
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weght: 600;
  color: #fff;
  text-shadow: 3px 3px 3px #000;
  width: 351px;
  display: inline-block;
  padding-bottom: 14px;
  text-align: left;
}

html[dir='rtl'] .ps_text_header {
  text-align: right;
  text-shadow: -3px 3px 3px #000;
}

/* begin information page and expire page settings */
.ps_box-info {
  width: 100%;
  padding-bottom: 8px;
}

.ps_box-info > p,
.uc_casmsg > p {
  color: #3d3d3d;
}

p.ps_loginmessagelarge {
  font-weight: 600;
  font-family: museo-slab, "Proxima Nova", Arial, Helvetica, sans-serif;
}

p.ps_loginmessagelarge a {
  margin: 0 .5em;
}
/* end information page and expire page settings */

/* begin signin trace page styles */
#pttracesettings {
  text-align: center;
  display: inline-block;
  width: 100%;
  margin-left: 2em;
  margin-right: 0;
  margin-bottom: 14px;
}

html[dir="rtl"] #pttracesettings {
  margin-right: 2em;
  margin-left: 0;
}

.traceCols {
  float: left; width: 25%; display: inline;
  margin: 0px;
  color: rgb(255, 255, 255);
  text-align: left;
}

html[dir="rtl"] .traceCols {
  float: right; width: 25%; display: inline;
  margin: 0px;
  color: rgb(255, 255, 255);
  text-align: right;
}

@media only screen and (max-width: 950px) {
  .traceCols {
    width: 50%;
  }
  #pttracesettings {
    width: 80%;
    margin-left: 20%;
  }
  html[dir="rtl"] #pttracesettings {
    margin-right: 20%;
  }
}

@media only screen and (max-width: 650px) {
  #pttracesettings {
    width: 90%;
    margin-left: 0%;
  }
  html[dir='rtl'] #pttracesettings {
    width: 90%;
    margin-right: 0%;
  }
  .traceCols {
    width: 100%;
  }
}

#pttracesettings label {
  font-size: .80em;
  font-weight: normal;
  vertical-align: .2em;
  text-shadow: none;
}

#pttracesettings h5 {
  color: #fff;
  text-shadow: none;
  text-align: left;
}

html[dir="rtl"] #pttracesettings h5 {
  text-align: right;
}

/* end signin trace page styles */

.ps_box-label {
  width: 50%;
  text-align: right;
  display: inline-block;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding-right: 2em;
}

html[dir='rtl'] .ps_box-label {
  text-align: left;
  padding-right: 0em;
  padding-left: 2em;
}

.ps_label-show {
  display: inline-block;
  text-align: left;
  width: 351px;
  padding-bottom: 4px;
}

html[dir='rtl'] .ps_label-show {
  text-align: right;
}

input[type="text"], input[type="password"], textarea {
  background-color: #fff;
  /* box-shadow: 3px 3px 5px rgba(0,0,0,0.25) inset;
  border:0.5px inset transparent;
  border-radius:0.25em; */
  border: solid 2px #C0C0C0;
  border-radius: 8px;
  background-clip: padding-box;
  color: #585858;
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  width: 341px;
  padding-left: 10px;
  padding-right: 0;
  padding-bottom: 0.8em;
  padding-top: 0.8em;
}

html[dir='rtl'] input[type="text"], html[dir='rtl'] input[type="password"], html[dir='rtl'] textarea {
  padding-left: 0px;
  padding-right: 10px;
  box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.25) inset;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="checkbox"]:focus,
input[type="text"]:hover,
input[type="password"]:hover {
  outline: 2px solid #9c0534;
  border-color: transparent;
}

*:-ms-input-placeholder {
  color: #939393 !important;
}

.ps_box-control {
  margin-bottom: 23px;
}

.ps_select {
  /* border:0.5px inset transparent;
  border-radius:0.25em;  */
  border: solid 2px #C0C0C0;
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  text-indent: 0.01px;
  text-overflow: "";
  /* box-shadow: 3px 3px 5px rgba(0,0,0,0.25) inset; */
  color: #585858;
  font-size: 15px;
  font-weight: 600;
  align-items: center;
  width: 351px;
  padding-left: 10px;
  padding-right: 0px;
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}

html[dir='rtl'] .ps_select {
  padding-left: 0px;
  padding-right: 10px;
  box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.25) inset;
}

.ps_select:focus {
  outline: 2px solid #9c0534;
  border-color: transparent;
}

@media all and (-ms-high-contrast: active) {
  .ps_select:focus::-ms-value {
    /* For IE10 and above to remove purple hightlight in highcontrast mode */
    background-color: transparent;
    color: #fff;
  }
}

@media all and (-ms-high-contrast: none) {
  .ps_select:focus::-ms-value {
    /* For IE10 and above to remove blue hightlight in normal mode */
    background-color: transparent;
    color: #000;
  }
}

.ps_select:-moz-focusring {
  /* FF:remove default dotted outline*/
  color: transparent;
  text-shadow: 0 0 0 #000;
}


#ps_select_box {
  position: relative;
}

#ps_select_parent {
  display: inline-block;

}

html[dir='rtl'] #ps_select_box:after {
  left: 1px;
  text-align: left;
  margin-right: 90%;
}

@-moz-document url-prefix() {
  /* Start:Firefox only */

  .ps_select_ff_30 {
    /* Workaround for Mozilla bug:687192,610733. Bug until Firefox 30.0 */
    /* Add padding-top to vertically align select text */
    padding-top: 10px;
  }

  /* required to show custom arrow and hide native select arrow */
  #ps_select_box {
    position: relative;
  }

  #ps_select_parent {
    display: inline-block;

  }

  #ps_select_box:after {
    content: '\e905';
    font-family: ucalgary-ps-condensed;
    display: inline-block;
    position: absolute;
    top: 2px;
    right: 8px;
    pointer-events: none;

    box-sizing: border-box;
    font-size: 24px;
    line-height: 40px;
    color: #d6001c;
  }

  html[dir='rtl'] #ps_select_box:after {
    left: 1px;
    background: none;
    box-shadow: none;
    box-sizing: border-box;
  }
  /* end of custom arrow css */

  /* End:Firefox only */
}

select::-ms-expand {
  /* remove the default select arrow in IE10 and above */
  display: none;
}

.ps_select_arrow {
  width: 24px;height: 100%;padding: 0;border: 0;
  background-color: #fff;
  position: relative;
}

html[dir='rtl'] .ps_select_arrow {
  width: 24px;height: 100%;padding: 0;border: 0;
  background-color: #fff;
  position: absolute;
  text-align: right;
}

.ps_select_arrow img {
  position: absolute;
  top: 10px;
}

html[dir='rtl'] select {
  padding-left: 0px;
}

select option {
  background: transparent !important;
  background-color: #00385c;
  padding-left: 10px;
  margin-bottom: 0.25em;
}

html[dir='rtl'] select option {
  padding-right: 10px;
  padding-left: 0;
}

select:hover {
  border-color: #9c0534;
}

.ps_hide {
  display: none;
}

a, a:link, .ps-link, .ps-link:link {
  text-decoration: none;
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #e30c00;
  font-weight: 600;
}

label {
  text-decoration: none;
  /*color: #FFFFFF;*/
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
  font-size: 15px;
  /*text-shadow: 2px 2px 1px #000000;*/
  color: #3d3d3d;
  font-weight: 600;
}

html[dir='rtl'] a, html[dir='rtl'] a:link, html[dir='rtl'] .ps-link, html[dir='rtl'] .ps-link:link, html[dir='rtl'] label {
  text-shadow: -2px 2px 1px #000;
}

a:link:visited,
.ps-link:visited {
  text-decoration: none;
  color: green;
}

a:link:hover,
.ps-link:hover {
  color: #f47c00;
}

.ps-label {
  font-weight: 600;
}

.ps_box-button,
.ps_box-link {
  padding-bottom: 18px;
}

/* buttons */
.ps-button,
a.ps-button {
  /*background: #73c998;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#79cc9c), color-stop(100%,#73c998)); */
  position: relative;
  background: #D6001C;
  padding: 16px 40px !important;
  font-size: 16px;
  border-radius: 32px;
  margin: 0;
  /* color:#000000; */
  color: #fff;
  border: 1px inset transparent;
  /* box-shadow:0px 8px 10px #BDE6CF inset, 3px 3px 3px #000000; */
  font-weight: 400;
  /* text-shadow:0px 1px 0px #BDE6CF; */
  box-sizing: content-box;
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
}

/* Append the animated '->' icon. */
.ps-button:after {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);

  right: 50px;
  opacity: 0;

  content: '\e908';
  font-family: ucalgary-ps-condensed;
  font-weight: 400;
  font-size: 25px;

  transition: right 500ms, opacity 500ms;
}

.ps-button:hover:after,
.ps-button:active:after,
.ps-button:focus:after {
  right: 15px;
  opacity: 1;
}

.ps-button.ps-button-ghost {
  background-color: transparent;
  border: 1px solid #3d3d3d;
  color: #3d3d3d;
  font-weight: 400;
}

html[dir="rtl"] .ps-button {
  /* box-shadow:0px 8px 10px #BDE6CF inset, -3px 3px 3px #000000; */
  box-shadow: 0px 8px 10px #f47c00 inset, -3px 3px 3px #000;
}

.ps-button:focus {
  /*outline: 2px solid #e47b00;*/
  outline: 2px solid #f47c00;
}

.ps-button:hover,
.ps-button:focus,
a.ps-button:hover,
a.ps-button:focus {
  cursor: pointer;
  color: #fff;
  background-color: #ee0e2c;
}

.ps-button.ps-button-ghost:hover {
  border-color: #ee0e2c;
}

.ps-button::-moz-focus-inner {
  /* FF: remove outline on focus */
  border: 0;
  outline: 2px solid #e47b00;
}
.ps-button:-moz-focusring {
  /* FF: allow focus to be seen in highcontrast mode*/
  border: 2px inset transparent;
  outline: 2px solid #e47b00;
}

@-moz-document url-prefix() {
  .ps-button {letter-spacing: 0.02em; line-height: 1.2em; /* FF only */ }
}

.ps_box-staticimg {
  display: inline-block;
  position: relative;
}

.signInText .ps-text:before {
  content: "|";
  display: inline-block;
  margin: 0 0.5em;
  vertical-align: top;
  font-weight: normal;
  color: rgba(0, 051, 102, 0.5);
}

.ps_footer_text {
  font-size: 12px;
  color: #5d5d5d;
  display: inline-block;
  text-align: center;
}

.ps_lan_special {
  margin-top: .5em;
}

#error_link {
  cursor: pointer;
}

.ps_login_error {
  text-align: center;
  margin-bottom: 14px;
}

#ptloginerrorcont, #login_error, #discovery_error {
  display: none;
}

.ps_login_error_inner {
  display: inline-block;
  margin: 0;
}

#login_error {
  font-size: 1em;
  font-weight: 600;
  color: #e30c00;
  display: inline-block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.psloginerror {
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
  font-size: 9pt;
  color: #fff;
  margin: 0;
}

.psloginerror span {
  color: #fff;
}

#browsercheck_error div {
  color: #000;
  font-weight: normal;
  white-space: nowrap;
  width: auto;
}

#browsercheck_error div > div {
  display: inline-block;
  padding-right: 2em;
  text-align: right;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html[dir='rtl'] #browsercheck_error div > div {
  text-align: left;
  padding-right: 0em;
  padding-left: 2em;
}

.ps-staticimg {
  max-width: 100%;
}

/* smartphones */
@media only screen and (max-device-width: 360px) {
  .signInText {
    font-weight: 600;
  }

  .ps_text_header {
    max-width: 100%;
  }
  #ps_select_parent {
    max-width: 103%;
  }

  .ps_select {
    max-width: 100%;

  }

  #ps_select_box:after {
    content: '\e905';
    font-family: ucalgary-ps-condensed;
    display: inline-block;

    height: 40px;
    width: 48px;
    text-align: center;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border: none;
    font-size: 24px;
    line-height: 40px;
    color: #d6001c;
  }

  html[dir='rtl'] #ps_select_box:after {
    left: 0.2em;
  }

  input[type="text"], input[type="password"] {
    max-width: 100%;
  }

  /* .ps_box-group, .ps_box-select,.ps_footer{ */
  .ps_signinentry, .ps_footer, ps_footer_text {

    max-height: 100%;
    padding-left: 2em;
    padding-right: 3em;
    overflow: hidden;
    text-align: center;
    margin: auto;
  }

  html[dir='rtl'] .ps_signinentry, .ps_footer, ps_footer_text {
    padding-left: 3em;
    padding-right: 2em;
  }
}

/* UofC Styles */
#body {
  background-color: #fff;
  padding: 20px 0 10px 0;
}

#ptfooter {
  display: flex;
  align-items: center;
  justify-content: right;
  flex-wrap: wrap;
  background-color: #fff;
  height: 80px;
  width: 100%;
  margin-top: auto;
}

#ptfooter #ptfooterinfo {
  padding: 15px;
  align-self: flex-end;
}

#ptfooter .ptfooter-links {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: center;
}

#ptfooter .ptfooter-links a {
  color: #5d5d5d;
  font-size: 12px;
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
  font-weight: 500;
  word-wrap: break-word
}

#ptfooter .ptfooter-links a:hover,
#ptfooter .ptfooter-links a:focus {
  color: #9c0534;
}

#ptfooter .ptfooter-links a:focus-visible {
  outline: 2px solid #f47c00;
}

p.uc_loginmessagelarge {
  font-size: 24px;
}
p.uc_loginmessagelarge a {
  font-size: 16px;
}

@keyframes underline-1px {
  from {background-size: 0 1px}
  to {background-size: 100% 1px}
}

@keyframes clipped-underline-1px {
  from {background-size: 0 1px}
  to {background-size: calc(100% - 25px)  1px}
}

a.animated-link {
  position: relative;
  font-weight: 500;
  line-height: 1.55em;
  background-image: linear-gradient(#5d5d5d, #5d5d5d);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
}

a.animated-link:hover,
a.animated-link:active,
a.animated-link:focus {
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-name: underline-1px;
  background-image: linear-gradient(#9c0534, #9c0534);
}

/* Ucalgary condensed icons */
@font-face {
  font-family: 'ucalgary-ps-condensed';
  src: url('/myUofC/fonts/ucalgary-ps-condensed.eot?12341731');
  src: url('/myUofC/fonts/ucalgary-ps-condensed.eot?12341731#iefix') format('embedded-opentype'),
  url('/myUofC/fonts/ucalgary-ps-condensed.woff2?12341731') format('woff2'),
  url('/myUofC/fonts/ucalgary-ps-condensed.woff?12341731') format('woff'),
  url('/myUofC/fonts/ucalgary-ps-condensed.ttf?12341731') format('truetype'),
  url('/myUofC/fonts/ucalgary-ps-condensed.svg?12341731#ucalgary-ps-condensed') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/*Proxima Nova Regular*/
@font-face {
  font-family: "Proxima Nova";
  src: url("/myUofC/fonts/proximanova-regular-webfont.eot");
  src:
  url("/myUofC/fonts/proximanova-regular-webfont.eot?#iefix") format("embedded-opentype"),
  url("/myUofC/fonts/proximanova-regular-webfont.woff2") format("woff2"),
  url("/myUofC/fonts/proximanova-regular-webfont.woff") format("woff"),
  url("/myUofC/fonts/proximanova-regular-webfont.ttf") format("truetype"),
  url("/myUofC/fonts/proximanova-regular-webfont.svg#proxima_nova_rgregular") format("svg");
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
}

/*Proxima Nova Medium*/
@font-face {
  font-family: "Proxima Nova";
  src: url("/myUofC/fonts/proximanova-medium-webfont.eot");
  src:
  url("/myUofC/fonts/proximanova-medium-webfont.eot?#iefix") format("embedded-opentype"),
  url("/myUofC/fonts/proximanova-medium-webfont.woff2") format("woff2"),
  url("/myUofC/fonts/proximanova-medium-webfont.woff") format("woff"),
  url("/myUofC/fonts/proximanova-medium-webfont.ttf") format("truetype"),
  url("/myUofC/fonts/proximanova-medium-webfont.svg#proxima_novamedium") format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: fallback;
}

/*Proxima Nova Semibold*/
@font-face {
  font-family: "Proxima Nova";
  src: url("/myUofC/fonts/proximanova-semibold-webfont.eot");
  src:
  url("/myUofC/fonts/proximanova-semibold-webfont.eot?#iefix") format("embedded-opentype"),
  url("/myUofC/fonts/proximanova-semibold-webfont.woff2") format("woff2"),
  url("/myUofC/fonts/proximanova-semibold-webfont.woff") format("woff"),
  url("/myUofC/fonts/proximanova-semibold-webfont.ttf") format("truetype"),
  url("/myUofC/fonts/proximanova-semibold-webfont.svg#proxima_nova_rgbold") format("svg");
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
}