/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any styles
 * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
 * file per style scope.
 *
 */
/*
 * GLOBAL VARIABLES
 */
/*
  $dark-blue: #1a3051; //rgb(26,48,81)
  $blue: #005aa8;
  $light-blue: #eaf3fb; // rgb(234,243,251)
  $grey: #dfdcd8; // rgb(223,220,216)
  $light-gray: #cccccc; // rgb(204,204,204)
  $font-family: "Open Sans", sans-serif;
  $dark-red: #b94a48;
  $light-red: #f2dede;
*/
/*
 * IMPORTS
 */
/*
 * APPLICATION-WIDE RULES
 */
body {
  max-width: 1290px;
  font-family: sans-serif;
  margin: auto;
}

.page-wrapper {
  padding: 0 100px;
  margin: 20px auto 50px;
}

#topBanner {
  height: 84px;
  margin: 14px 100px 0;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

footer,
header {
  background-color: #1a3051;
  padding: 25px 100px;
  color: white;

  h1 {
    margin: 10px 0;
  }
}

nav {
  a {
    display: inline-block;
    padding: 6px 12px;

    &:hover {
      background-color: #eafbf3;
    }
  }
}

h1,
h2 {
  font-weight: 300;
}

p {
  margin: 20px 0 28px;

  &.notice {
    font-size: 20px;
  }
}

a {
  color: #005aa8;
}

label {
  display: block;
  margin: 50px auto 2px;

  &.disabled {
    color: #dfdcd8;
  }
}

form {
  h2 {
    margin-top: 80px;

    &strong {
      font-weight: 600;
    }
  }

  .form-control {
    width: 350px;
    height: 40px;
    box-sizing: border-box;
    margin-bottom: 30px;
    border-radius: 4px;
    border: thin solid $light-gray;
    color: #005aa8;
    font-size: 14pt;
  }

  .form-group {
    margin: 0;
  }

  .selected-list {
    margin: 12px 0 6px;
    padding: 0;
    list-style: none;

    li {
      display: inline-block;
      margin: 3px 16px 3px 0;
      cursor: pointer;
      padding: 6px 12px;
      border: thin solid $light-gray;
      background-color: #005aa8;
      color: white;
      border-radius: 6px;

      i {
        margin-left: 12px;
      }
    }
  }

  input[type="checkbox"]:disabled {
    cursor: default;
  }
}

.button {
  display: block;
  border: thin solid $light-gray;
  border-radius: 4px;
  padding: 11px;
  margin: 80px 0;
  font-size: 16pt;

  &.primary {
    background-color: #005aa8;
    color: white;
  }

  &.secondary {
    background-color: white;
    color: #005aa8;
  }
}

section {
  padding: 50px 0;

  &#message {
    margin: auto;
    text-align: center;

    p {
      font-size: 24pt;
      font-weight: 300;
    }
  }
}

.center {
  text-align: center;
}

.inline-block {
  display: inline-block;
}

form .form-control.inline-block {
  width: auto;
  margin: auto 5px;
}

#error_explanation,
.alerts {
  border: thin solid $dark-red;
  border-radius: 4px;
  color: $dark-red;
  padding: 15px;
}

.alerts {
  background-color: $light-red;
}

#error_explanation {
  ul {
    margin: 0;
  }
}

.helpBox {
  display: inline-block;

  .box {
    display: none;
    margin: 12px auto;
    padding: 6px 12px;
    border: thin solid #005aa8;
    border-radius: 4px;
    background-color: #eafbf3;

    p {
      margin: 6px 0;

      strong {
        color: #005aa8;
      }
    }
  }
}
