/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
@font-face {
    font-family: "GSansCB";
    src: url("../fonts/Gill Sans MT Light.woff") format("woff");
    
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  font-family: "GSansCB";
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  /*border-top: 1px solid #ccc;*/
  margin: 3em 0;
  padding: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(238,196,123,1) 50%, rgba(0,0,0,0) 100%);
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  font-family: GSansCB;
  color: #eec47b;
  background-color: rgba(20,20,20,1);/*black;*/

  /*background-image: url("../img/bar-gd99ae0164_1280.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top center;
  background-size: cover;*/
}
.divMain {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

main {
  box-sizing: content-box;
  overflow: hidden;
  position: relative;
  width:  600px;
  min-width: 360px;
  max-width: 600px;
  background: rgba(22,10,0,0.75);
  /*margin: 0.5em;*/
  padding: 1em;
}
main h1 {
  text-align: center;
  margin-bottom: 2.0em;
  line-height: 0.9;
  padding: 0;
}
main h1 span {
  padding-top: 0.1em;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1;
  border-top: thin solid #eec47b;
}
.nav {
  width: 100%;
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3em;
}
.btn-reload {
  text-align: center;
  width: 200px;
  color: #eec47b;
  background-color:#211302;
  padding: 0.5em;
  border: thin solid rgba(145,109,47,0.5);#916d2f;
  border-radius: 0.5em;
  font-size: 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
/*flex-grow: 1;*/
} 
.btn-reload svg {
  margin-bottom: 0.3em;
}
.nav div {
  margin-bottom: 1em;
  max-width: 33.3333%;
  text-align: center;
}
.topNav {
  position: absolute;
  width: 100%;
  top: 40px;
}
.topNav div {
  padding-right:  2em;
  display: flex;
  justify-content: space-between;
  align-content: center;
}

.topNav div a {
  align-items: center;
}
.btn-settings {
  color: #eec47b;
  padding: 0.5em;
  border: thin solid rgba(145,109,47,0.35);
  border-radius: 0.15em;
  /*font-size: 1.5rem;*/
}
.btn-newCustomer {
  color: #eec47b;
  padding-top: 0.65em;
  padding-bottom: 0.5em;
  padding-left: 0.75em; 
  padding-right: 0.75em;
  border: thin solid rgba(145,109,47,0.35);
  border-radius: 0.15em;
}

section {
  margin-bottom: 3em;
}
section.showCustomer {
  text-align: center;
}
section.showCustomer h3 {
  font-size: 1rem;
  color: #916d2f;
  margin-bottom: 0;
}
section.showCustomer p {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
}
section.showCustomer h3:first-of-type {
  margin-top: 3em;
}

section.removeCustomer div:first-of-type {
  width: 80%;
  padding-bottom: 1.5em;
  margin-top: 3em;
  margin-left: auto;
  margin-right: auto;
  border: thin solid #694914;
}

section.showCustomer h3:first-of-type {
  margin-top: 1em;
}

section.removeCustomer h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 0;
}

section.removeCustomer .divAnswerBtns a {
  background: transparent;
  text-decoration: none;
  padding: 0.5em;
  color: #bf8425;
  border: thin solid #694914;
}

section.removeCustomer .divAnswerBtns a+a {
  /*width: 120px;*/
  color: #ab2c48;
  background-color: #3b180e;
  border: thin solid #ab2c48;
  text-decoration: none;
  padding: 0.5em;
}

section.sendCustomer h2 {
  margin-bottom: 3em;
}
section.sendCustomer div {
  margin-bottom: 2em;
}
section.sendCustomer p {
  font-size: 1rem;
}

.divAnswerBtns {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
  margin-top: 3em;
  margin-bottom: 3em;
}
.divAnswerBtns div  {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.divAnswerBtns a {
  width: 95px;100px;
  text-align: center;
  text-decoration: none;
  padding: 0.75em;
}

.divAnswerBtns div:first-of-type a {
  color: #ab2c48;
  background-color: #3b180e;
  border: thin solid #ab2c48;
}
.divAnswerBtns div:first-of-type a:first-of-type, .divAnswerBtns div:last-of-type a:last-of-type { 
  width: auto;
}

.divAnswerBtns div:last-of-type a {
  border: thin solid #06bc5b;
  color: #06bc5b;
  background-color: #1d2c0e;
}

.imgInBtn {
  margin-right: 0.25em;
}

.btn-back {
  text-decoration: none;
  padding: 0.5em;
  color: #bf8425;
  /*background-color: #211302;*/
  border: thin solid #694914;
}

h2 {
  text-align: center;
  background-color: #eec47b;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(238,196,123,0.75) 50%, rgba(0,0,0,0) 100%);
  color: black;
  font-size: 1rem;
}

.ulReservations {
  width: 100%;
  list-style-type: none;
  padding-left: 0;
}
.ulReservations li {
  font-family: "GSansCB";
  position: relative;
  margin-bottom: 0.5em;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  /*border: thin solid #916d2f;*/
  font-size: 1.1rem;
}
.ulReservations li a:first-child {
  flex-grow: 10;
}
.ulReservations>li>a {
  /*background: #170e01;*/
  padding: 0.5em;
  /*border: thin solid #654c21;*/
  text-decoration: none;
  /*color: #eec47b;*/
}
.ulReservations>li>a+a {
  flex-grow: 0;
  background: #170e01;
  border: thin solid #654c21;
  border-left: none;
}
.ulReservations>li>a+a img {
  margin-right: 0em;
  padding: 0em 0.75em;
  vertical-align: -0.15em;
}
.ulReservations>li>a>img {
  margin-right: 0.25em;
  vertical-align: -0.15em;
}

@media (max-width: 400px) {
  main {
    padding-left: 0px;
    padding-right: 0px;
  }
  .ulReservations li {
    font-size: 1.0rem;
  }
  .topNav div:first-child {
    padding-left: 1em;
  }
  .topNav div:last-child {
    padding-right: 1em;
  }
}


.dropdown-content {
  position: absolute;
  right: 0;
  top: 2.5em;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a img {
  margin-right: 0.5em;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}
.hide {display: none;}


.allGuests {
  display: block;
  width: 80px;
  margin: 0em auto 0 auto;
  padding: 0.5em 0.4em 0.3em 0.4em;
  font-weight: bold;
  text-align: center;
  background:rgba(238, 196, 123,0.2);
  border-radius: 1.5em 1.5em 0 0 ;
  color:#150c05;
  background:#b0905a;
  /*border: thin solid #b1915a;*/
}
.allGuests-cancelled {
  font-weight: bold;
    background-color:rgba(189, 49, 80, 0.2);
  color:#ab2c48;
  padding:0.3em 0.25em 0.2em 0.25em;
  border-radius:0.3em;
}
.allGuests-accepted {
  font-weight: bold;
  background-color:rgba(6, 188, 91,0.2);
  color:#06bc5b;
  padding:0.3em 0.25em 0.2em 0.25em;
  border-radius:0.3em;
}
.allGuests-outstanding {
  font-weight: bold;
   background-color:rgba(238, 196, 123,0.2);
  color: #e7bf7e;
  padding:0.3em 0.25em 0.2em 0.25em;
  border-radius: 0.3em;
}

.item-accepted {
    border: thin solid #06bc5b;
    color: #06bc5b;
    background-color: #1d2c0e;
}

.item-accepted:hover {
    border: thin solid #07d869;
    color: #07d869;
    background-color: #1d3a0e;
}
.item-accepted:visited {
    color: #06bc5b;
}

.item-rejected {
    color: #ab2c48;
    background: #3b180e;
    border: thin solid #ab2c48;
}
.item-rejected:hover {
    color: #bd3150;
    background-color:#4c180e;
    border: thin solid #bd3150;
}
.item-rejected:visited {
    color: #ab2c48;
}

.item-outstanding {
    color: #e7bf7e;
    background-color: #211302;
    border: thin solid #694914;
}
.item-outstanding:hover {
    border-color: #e2b274;
    color: #e2b274;
    background-color: #3a2204;
}
.item-outstanding:visited {
    color: #e7bf7e;
}

.item-cancelled {
    color: #ab2c48;
    background:  #242424;
    border: thin dashed #ab2c48;
}
.item-cancelled:hover {
    color: #bd3150;
    background: #242424;
    border: thin dashed #ab2c48;
}
.item-cancelled:visited {
    color: #ab2c48;
}

.item-edit {
    color: #bf8425;
    background-color: #211302;
    border: thin solid #694914;
}
.item-edit:hover {
    border-color: #e2b274;
    color: #e2b274;
    background-color: #3a2204;
}
.item-edit:visited {

    color: #bf8425;
}



.form-wrapper {
  margin-top: 2em;
  display: flex;
  justify-content: center;
}

.form-wrapper form div {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin:  1em 0;
}
.form-wrapper form div:last-of-type {
  justify-content: center;
  margin: 2em 0;
}
.sectionSettings .form-wrapper form div {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  margin: 1em 0;

}
.form-wrapper form div label {
  padding-right: 1em;
}
.sectionSettings .form-wrapper form div label {
  text-align: left;
}
.form-wrapper form div input {
  padding: 0.25em;
}
.form-wrapper form div select {
  padding: 0.25em;
}
.submit-btn-save {
  margin:  auto;
  width:  150px;
  height:  45px;
  color: #bf8425;
  background: rgba(33,19,2,0.5);
  border: thin solid #694914;
  transition: all 0.2s;
}
.submit-btn-save:hover {
  cursor: pointer;
  background-color: #211302;
}

.customCustomer form textarea, .sectionSettings form textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 2em 0;
}

.sectionSettings form textarea {
  margin: 0;
  background-color: #cfffd2;
}
.sectionSettings #formTxtRejected {
  background: #ffbebe;#ff7d7d;
}  
/*
.formLogin {
    background-color: rgba(33,19,2, 1); 
    position: relative;
    max-width: 300px;
    margin-left:  auto;
    margin-right: auto;
    padding: 2em 2em 1.5em 2em;
    border: thin solid #e2b274;
    border-radius: 5px;
}*/

.login .form-wrapper .formLogin div {
  flex-direction: column;
}
.formLogin input[type=submit] {
  width: 185px;
  height: 50px;
}
.formLogin input[type=submit]:hover {
  cursor: pointer;
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #1a1814;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #1a1814;
  border-top-color: #eec47b;
  border-bottom-color: #eec47b;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

