html, body, header, nav {
  margin:0;
  padding:0;
  border:0;
}

img {
  max-width:100%;
  border:0;
  -ms-interpolation-mode:bicubic;
  vertical-align:middle;
}

body {
  margin:0 auto 100px auto;
  background-color:#ffffff;
  font-family: Arial, sans-serif;
}

body.admin-panel {
    max-width:90%;
}

h1, h2, h3, h4, h5, h6 {
  color:#159957;
}

p { line-height: 1.6; }
h1 { font-size: 2.2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1em; }
h5 { font-size: 0.8em; }
h6 { font-size: 0.7em; }

input[type=text],
input[type=password],
textarea {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #cccccc;
  display: inline-block;
  border-radius: 10px;
  box-sizing: border-box;
}

input, select, textarea {
  color: #555555;
}

input.warning,
textarea.warning {
  border: 2px solid #ff0000;
}

textarea.comment {
  height: 100px;
}

.warning {
  color: red;
}

p, ul {
  margin:0.5em 0;
}

hr {
  margin:40px 0;
  border:0;
  border-bottom: 1px dashed #ccc;
  background: #999;
}

header {
  margin:0 0 80px 0;
  padding:0;
  text-align:center;
}

main {
  margin:0 auto;
  max-width:1200px;
  padding:0 20px;
}

form.signup-child-garden, form.signup-volunteer {
  max-width:500px;
  margin:0 auto;
  padding:0 20px;
}

li {
  padding:5px 0;
  list-style-position: inside;
}

.small {
  font-size:smaller;
}

section.signup {
  margin:0 auto;
  max-width:900px;
  padding:0 20px;
}

div.box1,
div.box2,
div.box3 {
  margin-top:40px;
  margin-bottom:40px;
  display:grid;
  grid-template-columns:1fr;
  grid-gap:2em;
}

div.box1-right {
  display:grid;
  align-content:center;
}

div.box1-right h2 {
  margin-top:0;
}

div.box2-right {
  order:1;
}

div.box2-left {
  display:grid;
  order:2;
  align-content:center;
}

div.box2-left h2 {
  margin-top:0;
}

div.box3-right {
  display:grid;
  align-content:center;
}

div.box3-right h2 {
  margin-top:0;
}

footer {
  text-align:center;
}

div.box4 {
  padding:0 5px;
  text-align:left;
}

div.logo {
  margin:40px 0;
  text-align:center;
}

input.postal-number, input.age {
  max-width: 80px;
}

.red {
  color: red;
}

.green {
  color: green;
}

.orange {
  color: orange;
}

.grey {
  color: grey;
}

.red, .green, .orange, .grey {
  font-weight: bold;
}

.black {
  color: #000000;
}

.blue {
  color: blue;
}

.darkgreen {
  color: darkgreen;
}

.center {
  text-align: center;
}

/* Add space before and after labels */
label:before {
  display: block;
  content: " ";
  padding-top: 15px;
}

label.comment:before {
  padding-top: 0;
}

label:after {
  display: block;
  content: " ";
  padding-bottom: 5px;
}

label.warning {
  border: 0;
  color: red;
}

.notify-info, .notify-success, .notify-error, .notify-tip {
  width: fit-content;
  margin: 20px auto;
  padding: 15px;
  text-align: center;
}

.notify-info {
  border: 1px solid #3498db;
  border-radius: 10px;
  background-color: #f1f6fa;
  color: #333;
}

.notify-success {
  border: 1px solid #2ace7a;
  border-radius: 10px;
  background-color: #e7f6f1;
  color: #333;
}

.notify-error {
  border: 2px solid #e94b3f;
  border-radius: 10px;
  background-color: #fcf7f3;
  color: #e94b3f;
  font-weight: bold;
}

.notify-tip {
  border: 1px solid #ebc70d;
  border-radius: 10px;
  background-color: #fefbea;
  color: #333;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

div.signup-terms, div.signup-terms-warning {
  margin: 30px 0;
}

div.signup-terms-warning {
  color: red;
}

div.shake-box {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}

div.login-box {
  margin: 0 auto;
  max-width: 400px;
}

table.volunteer {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

table.volunteer th, table.volunteer td {
  padding: 2px 10px;
  text-align: left;
  border: 1px solid #ddd;
}

table.volunteer th {
  background-color: #f2f2f2;
}

table.volunteer tr:hover {
  background-color: orange;
}

table.orders {
  border-collapse: collapse;
  width: 100%;
}

table.orders td, table.orders th {
  border: 1px solid #ddd;
  padding: 8px;
}

table.orders tr:nth-child(even){
  background-color: #f2f2f2;
}

table.orders tr:hover {
  background-color: #e9762b;
}

table.orders th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #51829b;
  color: white;
}

table.orders td.order-id {
  width: 30px;
}

table.orders td.order-date {
  width: 150px;
}

table.orders td.payment-status, table.orders td.accept-status {
  width: 70px;
}

table.orders td.order-accept-status {
  width: 70px;
}

table.orders td.order-email {
  width: 300px;
}

table.orders td.order-email a {
  color:#363d3f;
}

table.orders td.order-id a {
  display: block;
  text-decoration: none;
}

table.orders tr.blank td {
  background-color: #fff;
  border: 0;
  height: 40px;
}

table.order-details {
  width: 100%;
  border-collapse: collapse;
}

table.order-details th.first-left-field {
  width: 200px;
}

table.order-details th, table.order-details td {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

table.order-details th {
  background-color: #51829b;
  color: #fff;
}

table.order-details td:first-child {
  background-color: #f9f9f9;
  font-weight: bold;
}

.status-field {
  padding: 5px 10px;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  color: #ffffff;
  font-size: 16px;
}

div.order-details-accept-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.info {padding:14px;border:1px solid transparent;border-radius:6px;}
.info-blue {color:#004085;background-color:#cce5ff;border-color:#b8daff;}
.info-blue hr {border-top-color:#9fcdff;}
.info-blue .info-link {color:#002752;}
.info-green {color:#155724;background-color:#d4edda;border-color:#c3e6cb;}
.info-green hr {border-top-color:#b1dfbb;}
.info-green .info-link {color:#0b2e13;}
.info-mint {color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb;}
.info-mint hr {border-top-color:#abdde5;}
.info-mint .info-link {color:#062c33;}
.info-yellow {color:#59402D;background-color:#fff3cd;border-color:#c9ba9b;}
.info-yellow hr {border-top-color:#ffe8a1;}
.info-yellow .info-link {color:#533f03;}
.info-red {color:#721c24;background-color:#f8d7da;border-color:#f5c6cb;}
.info-red hr {border-top-color:#f1b0b7;}
.info-red .info-link {color:#491217;}
.info-grey {color:#555555;background-color:#e2e3e5;border-color:#d6d8db;}
.info-grey hr {border-top-color:#c8cbcf;}
.info-grey .info-link {color:#202326;}
.index-intro {color:#626262;}

/*
 * @csswizardry -- csswizardry.com/beautons
 */
.btn {
  display: inline-block;
  vertical-align: middle;
  #ffffff-space: nowrap;
  font-family: inherit;
  font-size: 100%;
  cursor: pointer;
  border: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 3;
  height: 3em;
  padding-right: 1em;
  padding-left: 1em;
  background-color: #1074E7;
  border-radius: 4px;
  overflow: visible;
}
.btn, .btn:hover, .btn:active, .btn:focus {
  text-decoration: none;
  color: #fff;
}
.btn:hover, .btn:focus {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.btn:active {
  outline: 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) inset;
}
.btn::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.btn--small {
  padding-right: .5em;
  padding-left: .5em;
  line-height: 2;
  height: 2em;
}
.btn--large {
  padding-right: 1.5em;
  padding-left: 1.5em;
  line-height: 4;
  height: 4em;
}
.btn--huge {
  padding-right: 2em;
  padding-left: 2em;
  line-height: 5;
  height: 5em;
}
.btn--full {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  text-align: center;
}
.btn--alpha {
  font-size: 3rem;
}
.btn--beta {
  font-size: 2rem;
}
.btn--gamma {
  font-size: 1rem;
}
.btn--natural {
  vertical-align: baseline;
  font-size: inherit;
  line-height: inherit;
  height: auto;
  padding-right: .5em;
  padding-left: .5em;
}
.btn--positive {
  background-color: #2FBF50;
  color: #fff;
}
.btn--negative {
  background-color: #b33630;
  color: #fff;
}
.btn--inactive, .btn--inactive:hover, .btn--inactive:active, .btn--inactive:focus {
  background-color: #ddd;
  color: #777;
  cursor: default;
  box-shadow: none;
}
.btn--soft {
  border-radius: 5em;
}
.btn--hard {
  border-radius: 0;
}

@media only screen and (min-width:768px) {
  div.box1,
  div.box2,
  div.box3 {
    margin-top:40px;
    margin-bottom:40px;
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-gap:2em;
  }
  div.box2-right {
    order:2;
  }
  div.box2-left {
    order:1;
  }
  br.breaker { display:none; }
}

