/* Variables 
///////////////////////////////// */
/* Typeography
///////////////////////////////// */
body {
  font-family: 'Roboto', sans-serif;
  color: #444444;
}
h1 {
  font-size: 50px;
  font-weight: bold;
  color: #d52b1e;
}
h3 {
  font-size: 20px;
  font-weight: bold;
}
a {
  color: #d52b1e;
}
p {
  font-size: 18px;
}
/* Forms and buttons
///////////////////////////////// */
body .main-content h3,
body .main-content label {
  font-family: "Roboto";
}
/*Changed 8/2/2019 to stop clashing with contact form in fat footer
body .main-content form,
body:not(.main-content) form {
  background: #fff;
  padding: 0;
}*/
#assignmentForm {
  background: #fff;
  padding: 0;
}
body .main-content input[type="text"],
body:not(.main-content) input[type="text"] {
  font-size: 16px;
  color: #444444;
  border: 1px solid #d5d2c3;
  padding: 5px 10px;
  width: auto;
}
body .main-content input[type="submit"],
body:not(.main-content) input[type="submit"] {
  background: #d52b1e;
  color: #ffffff;
  border: none;
  padding: 10px 50px;
}
body .main-content .ap-btn,
body:not(.main-content) .ap-btn {
  background: #000000;
  color: #ffffff;
  border: none;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0 15px 10px;
}
body .main-content .ap-btn .ap-icon,
body:not(.main-content) .ap-btn .ap-icon {
  font-size: 26px;
  position: relative;
  top: 6px;
  left: -5px;
}
body .main-content .ap-icon-calendar,
body:not(.main-content) .ap-icon-calendar {
  position: relative;
}
body .main-content .ap-icon-calendar:hover .tooltip,
body:not(.main-content) .ap-icon-calendar:hover .tooltip {
  display: block;
}
body .main-content .tooltip,
body:not(.main-content) .tooltip {
  position: absolute;
  display: none;
  right: 0;
  top: -48px;
  background: #000000;
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0 15px;
  min-width: 190px;
}
body .main-content .tooltip .arrow,
body:not(.main-content) .tooltip .arrow {
  width: 20px;
  height: 11px;
  background: url('http://lib.latrobe.edu.au/app-dev-area/calculator-update/tooltip-arrow.png') 0 0 no-repeat;
  bottom: -10px;
  display: block;
  position: absolute;
  right: 6px;
}
body .main-content .hidden-phone,
body:not(.main-content) .hidden-phone {
  display: block;
}
body .main-content .visible-phone,
body:not(.main-content) .visible-phone {
  display: none;
}
/* Styles
///////////////////////////////// */
#assignmentForm .input-container {
  position: relative;
  margin-bottom: 10px;
  padding: 15px 35px;
  background: #eeede8;
}
#assignmentForm .input-container .ap-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  font-size: 60px;
  line-height: 60px;
  color: #d52b1e;
}
#assignmentForm .input-container label {
  display: block;
  margin-bottom: 10px;
  margin-left: 100px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}
#assignmentForm .input-container .input-wrap {
  margin-left: 100px;
}
#assignmentForm .input-container.subject-code {
  margin-bottom: 20px;
}
#assignmentForm .input-container.subject-code .ap-icon {
  color: #444444;
}
ul#current-date-range {
  margin: 0;
  padding: 0;
  height: 90px;
  list-style-type: none;
}
ul#current-date-range li {
  width: 33.333333%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  float: left;
  background: #d52b1e;
  color: #fff;
  border-right: 1px solid #fff;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  line-height: 90px;
  font-weight: bold;
}
ul#current-date-range li:last-child {
  border: none;
}
ul#current-date-range li .ap-icon {
  position: relative;
  top: 12px;
  margin-right: 10px;
  font-size: 50px;
}
.form-options {
  clear: both;
  min-height: 50px;
}
.form-options p,
.form-options .create-new {
  float: left;
  max-width: 60%;
}
.form-options .create-new {
  margin-top: 15px;
  background: #d52b1e;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.form-options .create-new .ap-icon {
  font-size: 30px;
  top: 5px;
}
.form-options .button-container {
  float: right;
  margin-top: 15px;
  max-width: 40%;
}
.form-options .button,
.form-options form {
  display: inline-block;
  line-height: 20px;
  margin-left: 10px;
  box-sizing: border-box;
}
#date-range-feedback {
  clear: both;
}
#instructions {
  display: block;
  clear: both;
  width: 100%;
  margin-top: 20px;
}
#instructions .instructions-header {
  position: relative;
  margin-bottom: 25px;
  padding: 15px;
  background: #eeede8;
}
#instructions .instructions-header .ap-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 60px;
  height: 60px;
  background: #e87722;
  font-size: 45px;
  line-height: 60px;
  color: #ffffff;
  text-align: center;
}
#instructions .instructions-header .ap-icon-calendar {
  width: 40px;
  height: 40px;
  font-size: 30px;
  line-height: 44px;
  background: #d52b1e;
  top: 20px;
  left: auto;
  right: 20px;
  cursor: pointer;
}
#instructions .instructions-header .date {
  display: block;
  margin-left: 70px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  color: #d52b1e;
  float: none;
  padding: 0;
}
#instructions .instructions-header .description {
  margin-left: 70px;
  font-size: 18px;
  color: #444444;
  font-weight: bold;
}
#instructions .instructions-header {
  clear: both;
}
#instructions #final {
  background: #d52b1e;
}
#instructions #final .ap-icon,
#instructions #final .date,
#instructions #final .description {
  color: #fff;
}
#instructions #final .ap-icon {
  background: none;
}
#instructions .instructions-to-do {
  clear: both;
}
#instructions .instructions-to-do ul ul{
  display: contents;
}
#instructions .instructions-to-do ul {
  float: left;
  box-sizing: border-box;
  width: 50%;
  margin-top: 0;
  padding-left: 70px;
  list-style-image: url(https://www.lib.latrobe.edu.au/checkbox.jpg);
}
#instructions .instructions-to-do ul li {
  padding-left: 20px;
  margin-bottom: 5px;
}
.mailform .input-container {
  position: relative;
  margin-bottom: 10px;
  padding: 15px 35px 30px;
  background: #eeede8;
}
.mailform .input-container p {
  margin-top: 10px;
}
.mailform .email-student-container,
.mailform .email-other-container {
  width: 50%;
  box-sizing: border-box;
}
.mailform .email-student-container input[type="text"],
.mailform .email-other-container input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}
.mailform .email-student-container label,
.mailform .email-other-container label {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 10px;
}
.mailform .email-student-container label input[type="radio"],
.mailform .email-other-container label input[type="radio"] {
  margin-right: 10px;
}
.mailform .email-student-container {
  float: left;
  padding-right: 5px;
}
.mailform .email-other-container {
  float: right;
  padding-left: 5px;
}
.mailform .assignment-name label {
  display: block;
  padding-bottom: 10px;
}
.mailform .assignment-name input[type="text"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
/* Small screen
///////////////////////////////// */
@media only screen and (max-width: 767px) {
  input[type="submit"] {
    width: 100%;
  }
  #assignment-form .input-container {
    padding: 25px;
  }
  #assignment-form .input-container .ap-icon {
    width: 40px;
    height: 40px;
    font-size: 40px;
    line-height: 40px;
  }
  #assignment-form .input-container label {
    margin-left: 50px;
    min-height: 40px;
  }
  #assignment-form .input-container label .ap-icon-small {
    display: inline-block;
  }
  #assignment-form .input-container .input-wrap {
    margin-left: 0;
  }
  #assignment-form .input-container.subject-code {
    line-height: 40px;
  }
  ul#current-date-range {
    height: 220px;
  }
  ul#current-date-range li {
    font-size: 18px;
    line-height: 60px;
    width: 100%;
    border: right:0;
    margin-bottom: 5px;
  }
  .form-options p,
  .form-options .create-new {
    float: none;
    width: 100%;
    max-width: 100%;
  }
  .form-options .create-new {
    position: relative;
    top: 30px;
    display: block;
  }
  .form-options .button-container {
    float: none;
    width: 100%;
    max-width: 100%;
    height: 40px;
    margin-top: 0;
  }
  .form-options .button-container button {
    margin-left: 0;
  }
  .form-options .button-container button:first-child {
    width: 40%;
    float: left;
    border-right: 5px solid #fff;
  }
  .form-options .button-container button:last-child {
    width: 60%;
    float: left;
  }
  .form-options.footer .button-container {
    position: relative;
    top: -56px;
  }
  #instructions .instructions-to-do ul {
    width: 100%;
    float: none;
    padding-left: 35px;
  }
  #instructions .instructions-to-do ul:first-child {
    margin-top: 0;
  }
  #instructions .instructions-to-do ul:last-child {
    margin-bottom: 0;
  }
  .mailform .email-student-container,
  .mailform .email-other-container {
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
  }
}
