/**
 * Base styles
 */

* {
  margin: 0;
  padding: 0;
}

header, footer, section, nav {
  display: block;
}

html {
  background: #fbfbf9;
  height: 100%;
}

/* Kind of small++ screens */
@media only screen and (min-width: 380px) {
  html {
    background-color: #041e42;
  }
}

body {
  color: #63666a;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1em;
  height: 100%;
}

a:link,
a:visited {
  text-decoration: none;
}

img {
  margin-bottom: 1.6rem;
  max-width: 100%;
}

.center {
  text-align: center;
}


/**
 * Layout styles
 */

.wrapper {
  display: block;
  margin: 0 auto;
  overflow: hidden;
  padding-top:1.5rem;
  position: relative;
}

.container {
  background: #fbfbf9;
  box-sizing: border-box;
  height: 100%;
  left: 45%;
  margin: 0 auto;
  padding: 1.875rem 0.9375rem;
  position: static;
  width: 320px;
}

/* Kind of small++ screens */
@media only screen and (min-width: 380px) {
  .container {
    border-radius: 5px;
    width: 380px;
  }
}

/* Medium++ screens */
@media only screen and (min-width: 768px) {
  .container {
    left: 0;
    padding: 1.875rem 1.875rem 1.25rem;
    position: relative;
  }

  .wrapper {
    padding-top: 9.375rem;
  }
}

/* Large++ screens */
@media only screen and (min-width: 1020px) {
  .container {
    left: auto;
  }
}

/* Landscape orientation, all screens */
@media only screen and (orientation: landscape) {
  .wrapper {
    overflow: auto;
    padding-top: 1rem;
  }

  .container {
    left: 0;
    position: relative;
  }
}

/* Landscape orientation, medium++ screens */
@media only screen and (min-width: 768px) and (orientation: landscape) {
  .wrapper {
    padding-top: 3.75rem;
  }
}


/**
 * Header and logo
 */

header {
  padding: 0.625rem 0;
  text-align: center;
}

.logo img {
  border: none;
}

.gu-logo {
  width: 240px;
}

@media only screen and (max-width: 650px) {
  .logo img {
    display: none;
  }

  .logo {
    background: url(../images/dummylogo-mobile.png) no-repeat top center;
    display: block;
    height: 115px;
    width: 100px;
    margin: 0 auto;
  }
}


/**
 * Main layout styles
 */

main {
  overflow: hidden;
  width: 100%;
}

.column.one {
  margin: 0 auto;
  width: 100%;
}

.column.one a:link,
.column.one a:visited {
  color: #011e41;
  font-size: 0.875rem;
  text-decoration: underline;
}

.column.one a:active{
  position: relative;
  top: 1px;
}


/**
 * Form styles
 */

form {
  padding-bottom: 1.3125rem;
}

form legend {
  font-size: 1.2em;
  margin-bottom: 0.75rem;
}

.form-element-wrapper {
  border: 0;
  margin-bottom: 0.75rem;
}

.form-element {
  border: none;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  width: 100%;
}

.form-field {
  border: 2px solid #bbbcbc;
  box-sizing: border-box;
  color: #000;
  font-size: 1rem;
  margin: 5px 1px 3px 0;
  outline: none;
  padding: 0.9375rem;
}

.form-field:focus {
  border: 2px solid #003da5;
}

.form-button {
  background-color: #265ab3;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.125rem;
  margin-top: 0.625rem;
  padding: 1.1rem;
  -webkit-appearance: none;
}

.form-button:hover {
  background: #041e42;
}

.form-button:active {
  position: relative;
  top: 1px;
}

.form-error {
  color: #862633;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.875rem;
  padding: 0 0 0.625rem;
  text-align: center;
}

.forgot-password {
  text-align: center;
}


/**
 * Notes for Workday
 */

.workday-notes {
  color: #000;
  line-height: 1.3;
  margin: 2rem 1rem;
}

@media only screen and (min-width: 380px) {
  .workday-notes {
    color: #fff;
    text-align: center;
  }
}

.workday-notes p {
  margin-bottom: 1rem;
}

.workday-notes a,
.workday-notes a:visited {
  color: #265ab3;
  text-decoration: underline;
}

@media only screen and (min-width: 380px) {
  .workday-notes a,
  .workday-notes a:visited {
    color: #a1a3a6;
  }
}

.workday-notes a:hover {
  text-decoration: none;
}


/**
 * Other things
 */

.list-help {
  margin-top: 2.5rem; /* offset padding on first anchor */
  list-style: none;
}

.list-help-item a {
  display: block;
  padding: 0.375rem 0;
}

.item-marker {
  color: #be0000;
}


/**
 * Duo specific styles
 */

#duo_iframe {
  border: 0;
  height: 330px;
  max-width: 620px;
  min-width: 304px;
  width: 100%;
}

.duo-auth-msg {
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.duo-cancel {
  font-weight: bold;
  text-align: center;
}


/**
 * Apps specific styles
 */

html.apps-login,
html.apps-login .container {
  background-color: transparent;
}

html.apps-login .wrapper {
  padding-top: 1.25rem;
}
