/*****************************
*    CSS by element          *
*****************************/

/* Keeps footer at bottom of page */
body {
  position: relative;
  margin: 0;
  padding-bottom: 6em; /*This padding needs to be same height as height of app-footer */
  min-height: 100%;
}

/* Button settings for use on iphone */
button {
    touch-action: manipulation;
}

html {
  height: 100%;
}

language-selector select{
  outline:0px;
}

/*****************************
*    CSS by ID               *
*****************************/

#app-footer{
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3em;
  background-color: darkgray;
  text-align: center;
}

#assignment-mark-out-of {
  text-align:center;
}

#date-capture-div {
  padding: 0 15px;
}

#notes-capture {
  resize: none;
}

/*****************************
*    CSS by class            *
*****************************/

.assignment-course-name {
  padding-left: 32px;
}

.backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: transparent;
  z-index: -1;
}

.calendar-assignment-container {
  border: 1px solid black;
  margin-bottom: 2px;
  word-wrap: break-word;
}

.courses-button {
  margin-bottom: 5px;
  margin-right: 10px
}

.calendar-date-container {
  border: 1px solid black;
  width: 50%;
  background-color: lightgrey;
  margin: auto;
  padding: 1em;
  color: black;
}

.calendar-icon {
  margin-top: 7px;
}

.calender-input {
  width: 100% !important;
}

.calendar-input-padding {
  padding-left: 5px;
}

.course-marks {
  border: 1px solid black;
}

.course-title {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-bottom: 1px solid black;
}

.darker-font {
  color: black;
}

.delete {
  color: red;
}

.error {
  color: red;
}

.overall-title {
  margin-bottom: 10px;
}

.remove-padding-margin {
  margin: 0;
  padding: 0;
}

.suggestion {
  color: darkviolet;
}

.unstyled::-webkit-inner-spin-button,
.unstyled::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

/* For xs screens */
@media (max-width: 767px) {
  .calendar-date-container {
    width: 100%;
  }
}

/* For sm screens */
@media (max-width: 992px) and (min-width: 767px) {
  .calendar-date-container {
    width: 75%;
  }
}

/* For sm and up*/
@media (min-width: 767px) {
  .remove-left-padding {
    padding-left: 0;
  }
}

/*****************************
*    Bootstrap overrides     *
*****************************/

.btn-link {
  cursor: pointer;
}

.form-group {
  margin-bottom: 5px;
}

.modal-header {
  word-wrap: break-word;
}

.navbar-brand, nav a{
  cursor: pointer;
}

/* For xs screens */
@media (max-width: 767px){
  .text-xs-center {
      text-align: center;
  }
}

/* Set a margin below columns when they stack on smaller screens */
[class*="col-"]{
  margin-bottom: 5px;
}

*:focus {
    outline: 0 !important;
}
