@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/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 other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

html,
body {
  background-color: #fff;
  color: #333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

table {
  border-collapse: collapse;
  margin: .75em 0;
  table-layout: fixed;
  width: 100%
}

th {
  border-bottom: 1px solid #b7b7b7;
  font-weight: 600;
  padding: .75em 0;
  text-align: left
}

td {
  border-bottom: 1px solid #ddd;
  padding: .75em 0
}

tr,td,th {
  vertical-align: middle
}

.hide {
  display: none;
}

.invisible {
  visibility: hidden;
}

.show-for-sr {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.skip-to-content:active,
.skip-to-content:focus {
  background-color: white;
  clip: auto;
  clip-path: none;
  display: inline-block;
  font-size: 18px;
  height: auto;
  left: 3px;
  line-height: 64px;
  margin: 0;
  overflow: visible;
  padding: 0 24px;
  position: absolute;
  top: 3px;
  width: auto;
  z-index: 10000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Source Sans Pro", "PT Sans", Calibri, "Lucida Grande",
    Helvetica, Arial, Verdana, sans-serif;
  font-size: 1em;
  line-height: 1.5em;
  margin: 0 0 0.75em;
}

p {
  margin: 0 0 0.75em;
}

a {
  color: #4b6975;
  text-decoration: none;
  transition: color 0.1s linear;

  &:active,
  &:focus,
  &:hover {
    color: #32464e;
  }
}

hr {
  border-bottom: 1px solid #ddd;
  border-left: none;
  border-right: none;
  border-top: none;
  margin: 1.5em;
}

img,
picture {
  margin: 0;
  max-width: 100%;
}

fieldset {
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  margin: 0 0 .75em;
  padding: 1.5em
}

input,label,select {
  display: block;
  font-family: source sans pro,pt sans,Calibri,lucida grande,Helvetica,Arial,Verdana,sans-serif;
  font-size: 1em;
  margin-bottom: .375em;
  max-width: 100%
}

label {
  font-weight: 600;
  margin-bottom: .375em
}

label.required::after {
  content: "*"
}

label abbr {
  display: none
}

[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:not([type]),textarea,select[multiple=multiple],textarea {
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.06);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.06);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: source sans pro,pt sans,Calibri,lucida grande,Helvetica,Arial,Verdana,sans-serif;
  font-size: 1em;
  margin-bottom: .75em;
  padding: .5em;
  -webkit-transition: border-color;
  transition: border-color;
  width: 100%
}

[type=color]:hover,[type=date]:hover,[type=datetime]:hover,[type=datetime-local]:hover,[type=email]:hover,[type=month]:hover,[type=number]:hover,[type=password]:hover,[type=search]:hover,[type=tel]:hover,[type=text]:hover,[type=time]:hover,[type=url]:hover,[type=week]:hover,input:not([type]):hover,textarea:hover,select[multiple=multiple]:hover,textarea:hover {
  border-color: #c4c4c4
}

[type=color]:focus,[type=date]:focus,[type=datetime]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:not([type]):focus,textarea:focus,select[multiple=multiple]:focus,textarea:focus {
  border-color: #4b6975;
  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.06),0 0 5px rgba(65,91,101,.7);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.06),0 0 5px rgba(65,91,101,.7)
}

[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:not([type]),textarea {
  border: solid .1rem #4b6975;
  border-bottom: solid .2rem rgba(75,105,117,.5);
  color: #858585;
  margin: 0 0 5px;
  padding: 6px;
  -webkit-transition: border 1s;
  transition: border 1s
}

[type=color]:hover,[type=date]:hover,[type=datetime]:hover,[type=datetime-local]:hover,[type=email]:hover,[type=month]:hover,[type=number]:hover,[type=password]:hover,[type=search]:hover,[type=tel]:hover,[type=text]:hover,[type=time]:hover,[type=url]:hover,[type=week]:hover,input:not([type]):hover,textarea:hover {
  border-bottom: solid 3px #ed870e
}

[type=color]:focus,[type=date]:focus,[type=datetime]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:not([type]):focus,textarea:focus,[type=color]:active,[type=date]:active,[type=datetime]:active,[type=datetime-local]:active,[type=email]:active,[type=month]:active,[type=number]:active,[type=password]:active,[type=search]:active,[type=tel]:active,[type=text]:active,[type=time]:active,[type=url]:active,[type=week]:active,input:not([type]):active,textarea:active {
  border-bottom: solid 3px #ed870e
}

textarea {
  resize: vertical
}

input[type=checkbox],input[type=radio] {
  display: inline;
  margin-right: .375em
}

input[type=file] {
  padding-bottom: .75em;
  width: 100%
}

header {
  max-width: 995px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  padding: 1em 0 0 0;

  .logo-container {
    margin: 0;
  }

  .logo {
    display: inline-block;
    height: auto;
    white-space: nowrap;
  }

  ul.menu {
    overflow: hidden;
  }

  .menu li.menu-item {
    float: left;
  }

  .menu li.menu-item a:before {
    background: url(/movies/assets/navigation-icon-sprite-55ab47a40a54d6a996b9219d705896149a17f7e9c1b32cb4c5ca23ab03cb06c8.png) repeat-y;
    border: none;
    content: "";
    float: left;
    height: 35px;
    margin: 5px 5px 0 0;
    overflow: hidden;
    width: 35px;
  }

  .menu li.menu-item a {
    color: #02999a;
    display: block;
    font-family: "Raleway", sans-serif;
    font-size: 1em;
    font-weight: 400;
    height: 100%;
    letter-spacing: 0.1em;
    line-height: 45px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .menu li.menu-item a:hover {
    color: #ed870e;
  }

  .menu li.menu-item:nth-child(1) {
    width: 24%;

    a:before {
      background-position: 0 0;
    }
  }

  .menu li.menu-item:nth-child(2) {
    width: 18%;

    a:before {
      background-position: -37px 0;
    }
  }

  .menu li.menu-item:nth-child(3) {
    width: 19%;

    a:before {
      background-position: -68px 0;
    }
  }

  .menu li.menu-item:nth-child(4) {
    width: 16%;

    a:before {
      background-position: -106px 0;
    }
  }

  .menu li.menu-item:nth-child(5) {
    width: 23%;

    a:before {
      background-position: -143px 0;
    }
  }

  .secondary-menu {
    background-color: #ededf6;
    clear: both;
    padding: 0.5em;
  }

  .secondary-menu li.menu-item {
    display: inline-block;
    padding: 0.25em;
  }

  .secondary-menu li.menu-item a {
    border-bottom: 0.2rem solid #fff;
    font-size: 1.2em;
  }

  .secondary-menu li.menu-item a:hover {
    border-bottom: 0.2rem solid #ed870e;
  }
}

/* Sliding panel menu */
nav ul.menu.open {
  background-color: #68615e;

  .menu-item {
    display: block;
    float: none;
    padding-left: 0.8rem;
  }

  .menu-item:last-child {
    border-bottom: 0.3rem #ed870e solid;
  }

  .menu-item a {
    text-align: left;
  }

  .menu-item a:before {
    margin-right: 0.9rem;
  }

  .menu-item:nth-child(1),
  .menu-item:nth-child(2),
  .menu-item:nth-child(3),
  .menu-item:nth-child(4),
  .menu-item:nth-child(5) {
    width: 100%;
  }

  & {
    clear: both;
  }
}

.wrapper {
  max-width: 995px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5em 0.5em 0 0.5em;
}

.content {
  margin: 0 0 1rem 0;

  h1 {
    color: #ed870e;
    font-size: 1.5em;
    font-weight: 400;
    margin: 0 0 5px 0;
  }

  h2,
  h3 {
    color: #ed870e;
    font-size: 1.4em;
    font-weight: 400;
    margin: 0.5rem 0 0.75rem 0;
  }
}

.injected-banners {
  background-color: #f4f4f4;
  margin-bottom: 1em;
  padding: 0.75em;
}

.mobile-leaderboard {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banners {
  display: grid;
  grid-gap: 0.75em;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-template-rows: auto;
}

.banners li {
  overflow: hidden;
}

.banners li a {
  display: block;
}

.banners li a img {
  display: block;
  height: auto;
  width: 100%;
}

.sidebar .admin-menu {
  .title {
    border-bottom: 0.1rem solid #ed870e;
    color: #ed870e;
    padding: 0.3rem;
  }

  .primary {
    font-weight: 600;
  }

  .secondary {
    font-style: italic;
  }

  a {
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0);
  }

  li a:hover {
    border-bottom: 0.1rem solid #ed870e;
  }
}

footer {
  align-content: space-between;
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 995px;
  width: 100%;

  .contact,
  .copyright {
    color: #333;
    font-size: 0.9em;
  }

  .contact {
    flex: 1 200px;
    text-align: right;

    a:first-of-type {
      margin: 0 1em 0 0;
    }
  }

  .copyright {
    flex: 1 150px;
    text-align: left;
  }
}

.tmdb-notice {
  color: #ccc;
  font-size: 0.7rem;
  margin: 0.5em 0 3em 0;
  text-align: center;
}

.tmdb-notice p {
  margin: 0;
}

.tmdb-notice img {
  display: block;
  height: 22px;
  margin: 0.25em auto 0 auto;
  width: 120px;
}

/* #################################
   ## Theaters Admin
   ################################# */
.admin-theaters {
  label.checkbox {
    display: inline;
  }
}

/* #################################
   ## Movie and Showtime Admin New
   ################################# */
.movie-new,
.showtime-new,
.admin-movies-edit {
  .details {
    display: none;
  }

  .movie-item {
    border: 2px solid rgba(0, 0, 0, 0);
    margin: 0 0 0.5em 0;
    overflow: auto;
    padding: 0.5em;
  }

  .movie-item:not(.movie-item-selected):hover {
    background-color: #f6b66b;
    cursor: pointer;
  }

  .movie-item-selected {
    background-color: #f6b66b;
    border: 2px solid #ed870e;
  }

  .movie-item img {
    border: 0.1rem solid #333;
    clear: both;
    display: block;
    float: left;
    height: auto;
    margin-right: 0.75em;
    max-width: 90px;
    min-height: 135px;
  }

  .movie-item p {
    margin: 0;
  }

  .movie-item .overview {
    font-size: 0.8em;
    max-height: 80px;
    overflow: hidden;
  }

  .release-date select {
    display: inline;
  }
}

/* #################################
    ## Sessions
    ################################# */
.sessions input {
  margin: 0.5em 0;
}

/* #################################
    ## Users
    ################################# */
.users input {
  margin: 0.5em 0;
}

/* #################################
    ## Showtimes Admin Index
    ################################# */
body.admin-showtimes {
  .revised-times {
    background-color: #e6efc2;
  }

  .revised-delete {
    background-color: #fbe3e4;
  }
}

.admin-showtimes-index .content {
  .info {
    float: right;

    .flash-success,
    .flash-error {
      display: inline-block;
      font-size: 0.8em;
      margin: 0 0.1rem 0 0;
    }
  }

  .tables tr td:first-child {
    padding-left: 0.5rem;
  }

  .actions {
    text-align: center;
  }
}

.admin-showtimes-edit .content {
  img {
    float: left;
    margin-right: 0.5rem;
  }

  .times {
    clear: both;
  }
}

/* #################################
    ## Showtimes Admin New
    ################################# */
.admin-showtimes-new .content {
  .movie-title-query {
    float: right;
    width: 15%;
  }

  #movie_title_query {
    width: 84%;
  }

  .add-movie {
    select {
      display: inline;
    }
  }

  .movie-title-results {
    font-size: 1em;

    .movie-overview {
      font-size: 0.8em;
    }
  }
}

/* #################################
  ## Movies Index
  ################################# */
.movie-list {
  display: grid;
  grid-gap: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-template-rows: auto;
}

.movie-card {
  border-top: 4px solid rgba(0, 0, 0, 0);
  display: flex;
  flex-flow: row wrap;
  vertical-align: top;
}

.movie-card a {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.movie-card a img {
  display: block;
  height: 100%;
  width: 100%;
}

.movie-card__title {
  background-color: #f4a547;
  color: #333;
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  min-height: 75px;
  overflow: hidden;
  padding: 6px;
  text-transform: uppercase;
  width: 100%;
  word-wrap: break-word;
}

.movie-card:hover {
  border-top: 4px solid #ed870e;
}

.movie-card:hover .movie-card__title {
  background-color: #ed870e;
}

/* #################################
  ## Movie Index
  ################################# */
.movie-show {
  .card {
    background-color: #f4a547;
    border-top: 0.3rem solid #ed870e;
    box-shadow: inset 0 0 0.1rem #ddd,
      0 0.2rem 0.3rem #d2d2d2;
    min-height: 4rem;
    margin: 0.75rem 0;
    padding: 0.75em 0.75em 0.75em 0.75em;

    .extra label {
      display: inline-block;
    }

    h1 {
      color: #333;
      font-weight: bold;
      margin: 0 0 0.2rem 0;
    }

    .links a {
      margin-right: 0.4rem;
    }

    .showtime__link {
      display: block;
    }

    .poster {
      float: left;
      margin-right: 0.5rem;
      max-width: 100px;

      img {
        display: block;
        height: auto;
      }
    }

    span {
      margin-right: 1rem;
      white-space: nowrap;
    }
  }

  .showtime .theater a {
    font-size: 1.15em;
  }

  .showtime .theater a,
  .card .links a {
    border-bottom: 0.1rem solid #f6b66b;
    color: #333;
  }

  .showtime .theater a:hover,
  .card .links a:hover {
    border-bottom: 0.1rem solid #ed870e;
  }

  .showtime {
    padding-bottom: 0.75rem;
  }

  .availability-notice {
    color: #333;
    font-size: 0.8rem;
    font-style: italic;
  }

  .embed-responsive {
    position: relative;
    width: 100%;
  }

  .embed-responsive::before {
    display: block;
    content: "";
    /* Maintain 21by9 ratio */
    padding-top: 42.857143%;
  }

  .embed-responsive iframe,
  .embed-responsive embed,
  .embed-responsive object,
  .embed-responsive video,
  .embed-responsive__item {
    border: 0;
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }
}

/* #################################
  ## Theaters Index
  ################################# */
.content .theaters {
  .theater {
    border-top: 0.3rem solid #ed870e;
    min-height: 4rem;
    padding-bottom: 0.75rem;
  }

  .theater .header {
    background-color: #f4a547;
    padding: 0.9rem;
  }

  .theater h2 {
    margin: 0;

    a {
      color: #333;
      font-size: 0.9em;
      font-weight: 500;
      margin: 0;
    }
  }

  .theater .description {
    background-color: #ededf6;
    font-size: 0.9em;
    letter-spacing: 0.02rem;
    padding: 0.5rem 0 0 0.5rem;
  }

  .theater .contact-info {
    display: inline-block;
  }

  .theater .contact-info a {
    color: #333;
    font-size: 0.9em;
    font-weight: 400;
  }

  .theater .contact-info a:hover {
    border-bottom: 0.1rem solid #f9ce9b;
  }

  .theater .theater-links {
    background-color: #ededf6;
    padding: 0 0 0.5rem 0.5rem;
  }

  .theater .theater-links a {
    border-bottom: 0.1rem solid #f6b66b;
    color: #333;
    font-size: 0.85em;
  }

  .theater .theater-links a:hover {
    border-bottom: 0.1rem solid #ed870e;
  }

  .theater span {
    white-space: nowrap;
  }
}

/* #################################
  ## Theater Show
  ################################# */
.theater-show {
  .map {
    float: right;
  }

  .theater-details {
    overflow: hidden;
  }
}

/* #################################
  ## Showtimes Index
  ################################# */
.showtimes {
  select#showtime_theater_id {
    float: right;
    margin: 0.25em 0.5em 0 0;
  }

  .btn-theater-select {
    border: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0px;
    cursor: pointer;
    display: none;
    font-size: 0.8em;
    padding: 4px 15px;
  }

  .theater {
    background-color: #f4a547;
    border-top: 0.3rem solid #ed870e;
    min-height: 4rem;
    margin: 0.75rem 0;
    padding: 0.75em 0.75em 0.75em 0.75em;
  }

  .theater .contact-info {
    display: inline-block;
  }

  .theater .contact-info a {
    color: #333;
    font-size: 0.9em;
    font-weight: 400;
  }

  .theater .contact-info a:hover {
    border-bottom: 0.1rem solid #f9ce9b;
  }

  .theater .info {
    display: none;
    font-size: 0.9em;
  }

  .theater .description {
    background-color: #f6b66b;
    font-size: 0.9em;
    letter-spacing: 0.02rem;
    margin-top: 0.4rem;
    padding: 0.5rem 0.6rem;
  }

  .theater .name {
    clear: left;
  }

  .theater .name h2,
  .theater .name h2 a {
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0.25rem 0 0 0;
  }

  .theater span {
    white-space: nowrap;
  }

  .showtime {
    font-size: 1em;
    overflow: hidden;
  }

  .showtime:not(:last-child) {
    margin: 0 0 1em 0;
  }

  .theaters a {
    border-bottom: 0.1rem solid #f6b66b;
  }

  .theaters a:hover {
    border-bottom: 0.1rem solid #ed870e;
  }

  .showtime__title {
    border-bottom: 0.1rem solid transparent;
    display: inline;
    font-size: 1.4em;
    font-weight: 400;
  }

  .showtime__title:hover,
  .showtime__link:hover .showtime__title {
    border-bottom: 0.1rem solid #ed870e;
  }

  .showtime__poster {
    float: left;
    margin-right: 0.5em;
  }

  .showtime__poster img {
    display: block;
  }

  .showtime__times {
    font-weight: 600;
  }

  .showtime__runtime {
    display: inline;
  }

  .showtime__rating {
    display: inline;
  }
}

/* #################################
  ## Media queries
  ################################# */
@media (max-width: 480px) {
  header {
    .logo-container {
      float: left;
      margin: 0;
      width: 13.5rem;
    }

    nav .hamburger {
      background: #fff url(/movies/assets/hamburger-386c2d4ac71b267977564030141cbe4972a9efda5adb9cc47f21a666c69e0093.png) no-repeat center center;
      cursor: pointer;
      display: block;
      float: right;
      padding-top: 4rem;
      width: 40px;
      z-index: 10;
    }

    nav .hamburger-text {
      display: none;
    }

    nav .menu {
      clear: both;
      display: none;
    }

    .menu li.menu-item a {
      color: #efefef;
    }

    nav .secondary-menu {
      text-align: center;
    }
  }

  .movie-show {
    .card h1 {
      font-size: 1.2em;
    }

    .extra span {
      font-size: 0.7em;
    }

    .links a {
      font-size: 0.8em;
    }
  }

  .sidebar {
    text-align: center;
  }

  .banners li img {
    width: 8rem;
  }

  .footer {
    .contact {
      margin: 1em 0;
      text-align: center;
    }

    .copyright {
      margin: 1em 0;
      text-align: center;
    }
  }
}

@media (max-width: 768px) {
  .header {
    .logo-container {
      float: left;
      margin: 0;
      width: 15rem;
    }

    .menu li.menu-item a {
      color: #efefef;
    }
  }

  nav .hamburger-text {
    display: block;
    float: right;
    margin: 0;
    padding-top: 1.45rem;
    text-transform: uppercase;
  }

  nav .hamburger {
    background: #fff url(/movies/assets/hamburger-386c2d4ac71b267977564030141cbe4972a9efda5adb9cc47f21a666c69e0093.png) no-repeat center center;
    cursor: pointer;
    display: block;
    float: right;
    height: 40px;
    padding-top: 4.5rem;
    width: 50px;
    z-index: 10;
  }

  nav .menu {
    clear: both;
    display: none;
  }

  .sidebar {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .header {
    nav .menu {
      display: block !important;
    }

    nav .hamburger-text {
      display: none;
    }
  }

  .wrapper {
    display: grid;
    grid-template-columns: repeat(12, [col-start] 1fr);
    gap: 30px;
    padding: 0.5em 0 0 0;
  }

  .content {
    grid-column: col-start / span 8;
  }

  .sidebar {
    grid-column: col-start 9 / span 4;
    text-align: right;
  }
}

/* Notification bar */
.easy-notification-bar {
  display: table;
  width: 100%;
  background: #0073aa;
  color: #fff;
  padding: 0.5em 1em;
  font-size: 16px;
  line-height: 1.8;
  position: relative;
  z-index: 99;
}

.easy-notification-bar .enb-textcenter {
  text-align: center;
}

.easy-notification-bar-container {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

.easy-notification-bar-button {
  margin-left: 0.67em;
  padding: 0.2em 0;
}

.easy-notification-bar-message,
.easy-notification-bar-button {
  display: inline-block;
}

.easy-notification-bar-button a,
.easy-notification-bar-button a:hover,
.easy-notification-bar-button a:visited,
.easy-notification-bar-button a:focus {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.5);
}

.easy-notification-bar a,
.easy-notification-bar a:hover,
.easy-notification-bar a:visited,
.easy-notification-bar a:focus {
  color: inherit;
  text-decoration: underline;
}

.easy-notification-bar-button a {
  padding: 0.35em 1.25em;
}

.flash-alert {
  background-color: #fff6bf;
  color: #7f6d00;
  display: block;
  font-weight: 600;
  margin-bottom: 1em;
  padding: 1em;
  text-align: center;

  a {
    color: #403700;
    text-decoration: underline;

    &:focus,
    &:hover {
      color: #000;
    }
  }
}

.flash-error {
  background-color: #fbe3e4;
  color: #8b1419;
  display: block;
  font-weight: 600;
  margin-bottom: 1em;
  padding: 1em;
  text-align: center;

  a {
    color: #540c0f;
    text-decoration: underline;

    &:focus,
    &:hover {
      color: #000;
    }
  }
}

.flash-notice {
  background-color: #e5edf8;
  color: #22487d;
  display: block;
  font-weight: 600;
  margin-bottom: 1em;
  padding: 1em;
  text-align: center;

  a {
    color: #142b4a;
    text-decoration: underline;

    &:focus,
    &:hover {
      color: #000;
    }
  }
}

.flash-success {
  background-color: #e6efc2;
  color: #4d5b18;
  display: block;
  font-weight: 600;
  margin-bottom: 1em;
  padding: 1em;
  text-align: center;

  a {
    color: #22280a;
    text-decoration: underline;

    &:focus,
    &:hover {
      color: #000;
    }
  }
}

button,
.button {
  -webkit-font-smoothing: antialiased;
  background-color: #e6e6e6;
  border-radius: 3px;
  border: 0.1rem solid #adadad;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  color: #333;
  cursor: pointer;
  display: inline-block;
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.5em;
  min-width: 4rem;
  padding: 0.4rem 0.8rem;
  text-align: center;
  text-decoration: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;

  &:focus {
    outline: thin dotted;
    outline: 3px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }

  &:hover {
    background-color: darken(#e6e6e6, 15%);
  }

  &:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
}
