/*
 * Author Tony Girling
 *
 * Company Mornignton Software Consultants Ltd
 *
 * Created on Mon Apr 20 2020
 *
 * The MIT License (MIT)
 * Copyright (c) 2020 Tony Girling
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
 * and associated documentation files (the "Software"), to deal in the Software without restriction,
 * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all copies or substantial
 * portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
 * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1 {
  font-weight: 500;
}

body {
  font-family: "Raleway", sans-serif;
}

.page {
  padding: 1rem;
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.btn {
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
  text-decoration: none;
  background: #01a301;
  padding: 1rem;
  border-radius: 0.5rem;
  display: inline-block;
  border: none;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  cursor: pointer;
}

.btn.btn-action {
  background-color: #f87000;
  padding: 0.5rem 1rem;
}

.btn:hover {
  background: #434343;
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.57);
          box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.57);
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

section {
  margin-top: 1rem;
}

.results-container {
  font-family: monospace;
  width: 100%;
  border: 1px solid #434343;
  border-radius: 0.5rem;
  padding: 1rem;
  background-color: wheat;
}

.results-container label {
  width: 20ch;
  display: inline-block;
}

#messages p {
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  color: #8a030a;
}

#search_criteria {
  padding: 1rem;
  border: 1px solid #434343;
  border-radius: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

form input {
  padding: 0.5rem 1rem;
}

table {
  margin-top: 1rem;
  border-collapse: collapse;
}

table tr {
  height: 2rem;
}

table th,
table td {
  border: 1px solid grey;
}

table th.pub-score-count,
table td.pub-score-count {
  text-align: center;
  min-width: 3ch;
}

table th.pub-score {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
}

table td.pub-name {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

table td.pub-score {
  text-align: right;
  padding-right: 2rem;
}

.login-form {
  border: 1px solid grey;
  width: 300px;
  margin: auto;
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 0.5rem;
  -webkit-box-shadow: 2px 2px 5px #a1a1a1;
          box-shadow: 2px 2px 5px #a1a1a1;
}

.login-form button {
  display: block;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.alert {
  padding: 20px;
  background-color: #f44336;
  /* Red */
  color: white;
  margin-bottom: 15px;
  text-align: center;
}
/*# sourceMappingURL=style.css.map */