@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
.limited-width-container {
  display: block;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
.fieldset-label {
  position: relative;
  display: inline-block;
  margin: 1em 0;
  padding-left: 3em;
  font-weight: bold;
}
.fieldset-label:first-child {
  position: absolute;
  top: 1em;
  margin: 0;
}
.fieldset-label > img {
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.5em;
  color: green;
}
.input {
  box-shadow: inset 0 calc(0.2em/3) 0.2em rgba(0, 0, 0, 0.15);
  background-color: white;
  padding: 0.5em calc(1em - 1px);
  border: 1px solid #ddd;
  border-radius: 2px;
  width: calc(100% - 2em);
}
.input-hover {
  box-shadow: 0 calc(0.2em/3) 0.2em rgba(0, 0, 0, 0.15);
  color: #333;
  border-color: #ccc;
}
.input-invalid {
  background-color: hsl(0, 100%, 99%);
  border-color: hsl(0, 40%, 80%);
}
.input-invalid-hover {
  border-color: hsl(0, 75%, 40%);
}
.box {
  box-shadow: inset 0 calc(0.2em/3) 0.2em rgba(0, 0, 0, 0.15);
  background-color: white;
  padding: 0.5em calc(1em - 1px);
  border: 1px solid #ddd;
  border-radius: 2px;
  width: calc(100% - 2em);
  box-shadow: 0 calc(0.2em/3) 0.2em rgba(0, 0, 0, 0.15);
  color: #666;
  margin-top: 1em;
}
.box.good {
  background: hsl(100, 100%, 99%);
  border-color: hsl(100, 75%, 25%);
  color: hsl(100, 75%, 25%);
}
.box.bad {
  background: hsl(0, 100%, 99%);
  border-color: hsl(0, 75%, 40%);
  color: hsl(0, 75%, 40%);
}
fieldset > .box {
  font-style: italic;
}
.small {
  font-size: 80%;
}
.pulse {
  animation-name: pulse;
  animation-duration: 0.5s;
  animation-iteration-count: 3;
}
.remove-button {
  color: #aaa;
  cursor: pointer;
  font-weight: bold;
}
.remove-button:hover {
  color: #a22;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}
.remove-button-hover {
  color: #a22;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  box-shadow: inset 0 calc(0.2em/3) 0.2em rgba(0, 0, 0, 0.15);
  background-color: white;
  padding: 0.5em calc(1em - 1px);
  border: 1px solid #ddd;
  border-radius: 2px;
  width: calc(100% - 2em);
}
input[type="text"]:hover:enabled,
input[type="email"]:hover:enabled,
input[type="tel"]:hover:enabled,
input[type="number"]:hover:enabled,
textarea:hover:enabled,
select:hover:enabled,
input[type="text"]:focus:enabled,
input[type="email"]:focus:enabled,
input[type="tel"]:focus:enabled,
input[type="number"]:focus:enabled,
textarea:focus:enabled,
select:focus:enabled,
input[type="text"]:active:enabled,
input[type="email"]:active:enabled,
input[type="tel"]:active:enabled,
input[type="number"]:active:enabled,
textarea:active:enabled,
select:active:enabled {
  box-shadow: 0 calc(0.2em/3) 0.2em rgba(0, 0, 0, 0.15);
  color: #333;
  border-color: #ccc;
}
input[type="text"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
input[type="number"]:invalid,
textarea:invalid,
select:invalid {
  background-color: hsl(0, 100%, 99%);
  border-color: hsl(0, 40%, 80%);
}
input[type="text"]:invalid:hover:enabled,
input[type="email"]:invalid:hover:enabled,
input[type="tel"]:invalid:hover:enabled,
input[type="number"]:invalid:hover:enabled,
textarea:invalid:hover:enabled,
select:invalid:hover:enabled {
  border-color: hsl(0, 75%, 40%);
}
input[type="text"]:not(:enabled),
input[type="email"]:not(:enabled),
input[type="tel"]:not(:enabled),
input[type="number"]:not(:enabled),
textarea:not(:enabled),
select:not(:enabled) {
  background-color: #eee;
  opacity: 0.5;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder,
select::placeholder {
  color: black;
  opacity: 0.4;
}
#file-list-hint,
#prints-add {
  box-shadow: inset 0 calc(0.2em/3) 0.2em rgba(0, 0, 0, 0.15);
  background-color: white;
  padding: 0.5em calc(1em - 1px);
  border: 1px solid #ddd;
  border-radius: 2px;
  width: calc(100% - 2em);
}
#file-list-hint:hover,
#prints-add:hover,
#file-list-hint:focus,
#prints-add:focus,
#file-list-hint:active,
#prints-add:active {
  box-shadow: 0 calc(0.2em/3) 0.2em rgba(0, 0, 0, 0.15);
  color: #333;
  border-color: #ccc;
}
#file-list-hint.invalid,
#prints-add.invalid {
  background-color: hsl(0, 100%, 99%);
  border-color: hsl(0, 40%, 80%);
}
#file-list-hint.invalid:hover,
#prints-add.invalid:hover {
  border-color: hsl(0, 75%, 40%);
}
input[type="number"] {
  padding-right: 0.2em;
  width: calc(100% - 1.2em - 1px);
}
input[type="radio"] {
  margin-left: 1em;
}
textarea {
  resize: vertical;
  min-height: 3em;
  height: 6em;
}
input[type="checkbox"] {
  float: left;
  margin: 0.5em 0 0 1em;
}
input[type="checkbox"] ~ span:last-of-type {
  display: block;
  font-size: 90%;
  position: relative;
  bottom: -2px;
  margin-left: 2.5em;
}
button,
input[type="submit"] {
  background-color: #eee;
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  border-radius: 2px;
  border: 1px solid #aaa;
  padding: 0.2em 0.5em;
  color: #333;
}
button:hover,
input[type="submit"]:hover,
button:focus,
input[type="submit"]:focus {
  border-color: #888;
  color: black;
}
button:active,
input[type="submit"]:active {
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
}
button#clear-form {
  position: absolute;
  top: 1em;
  right: 1em;
}
#prints-table {
  border: 0;
  border-spacing: 1px;
  width: 100%;
}
#prints-table select {
  padding: calc(0.5em - 0.5px) 0.2em;
  width: calc(100% - 0.2em);
}
#prints-table input[type="number"] {
  padding-left: 0.5em;
}
#prints-table td.prints-remove-row {
  width: 1em;
  display: none;
}
#prints-table tr:not(#prints-header) > td.prints-remove-row {
  color: #aaa;
  cursor: pointer;
  font-weight: bold;
}
#prints-table tr:not(#prints-header) > td.prints-remove-row:hover {
  color: #a22;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}
#prints-table tr td:nth-child(1) {
  width: 25%;
}
#prints-table tr td:nth-child(2) {
  width: 20%;
}
#prints-table tr td:nth-child(3) {
  width: 35%;
}
#prints-table tr td:nth-child(4) {
  width: 20%;
}
#prints-header {
  font-size: 80%;
  font-weight: bold;
  text-indent: 0.2rem;
}
#prints-add {
  display: none;
  text-align: center;
  margin-top: 1em;
  cursor: pointer;
}
#file-list {
  display: none;
  margin-bottom: 1em;
}
#file-list > div.file {
  overflow: hidden;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
}
#file-list > div.file > span {
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.5em;
}
#file-list > div.file > span:first-of-type {
  width: calc(100% - 1.5em);
  text-overflow: ellipsis;
  float: left;
}
#file-list > div.file > span:last-of-type {
  float: right;
  color: #aaa;
  cursor: pointer;
  font-weight: bold;
}
#file-list > div.file > span:last-of-type:hover {
  color: #a22;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}
#file-list > div.file:hover {
  box-shadow: inset 0 calc(0.2em/3) 0.2em rgba(233, 33, 33, 0.1);
  border-color: #ccc;
  color: #a22;
}
#file-list > div.file:hover > span:last-of-type {
  color: #a22;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}
#file-list div.file + div.file {
  border-top: 0;
}
#file-list-hint {
  position: relative;
  display: none;
  text-align: center;
  font-style: italic;
  cursor: pointer;
  margin-top: 0;
}
#file-list-hint > span {
  display: block;
  margin-left: 2.5em;
}
#file-list-hint > span:first-of-type {
  color: #a22;
}
#file-list-hint > svg.feather {
  height: 100%;
  width: 2em;
  color: #aaa;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1em;
}
#file-list-hint:hover > span:first-of-type {
  color: #800;
}
#file-list-hint:hover > svg.feather {
  color: #666;
}
#submit {
  display: block;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  margin: 2em auto;
  height: 4px;
  background: #2fb457;
  width: 100%;
  font-size: 140%;
  text-align: center;
}
#submit > div {
  margin: auto;
  background: #eee;
  text-align: center;
  display: inline;
  position: relative;
  bottom: 0.6em;
}
#submit > div > input {
  margin: 0 1em;
}
body {
  padding: 0;
  font-family: arial, sans-serif;
  background-color: #eee;
  color: black;
  line-height: 1.5em;
  width: 90%;
  max-width: 960px;
  min-width: 280px;
  margin: auto;
}
body > div.hint,
body > div.box {
  display: block;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  margin: 2em auto;
}
a {
  text-decoration: underline;
  color: #152;
}
a:hover,
a:active {
  color: #2fb457;
}
header {
  display: block;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
header img {
  width: 100%;
  margin-top: 2em;
}
div.hint {
  text-align: center;
  background-color: transparent;
}
div.hint > ul {
  margin: auto 0;
  text-align: left;
  padding-left: 1em;
}
div.hint > ul > li:not(:first-child) {
  margin-top: 0.5em;
}
#order > p {
  display: block;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 1em;
  text-align: center;
}
#order form > div.hint,
#order form > fieldset {
  display: block;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  margin: 2em auto;
  padding: 1em;
  border: 0;
  color: black;
}
#order form > fieldset {
  box-shadow: 0 calc(0.2em/3) 0.2em rgba(0, 0, 0, 0.15);
  position: relative;
  padding-top: 3.5em;
  background-color: #fff;
  border-radius: 2px;
}
#order form > fieldset fieldset {
  position: relative;
  border: 0;
  padding: 3.5em 0 0 0;
  margin: 0;
  margin-top: 1em;
}
#order form > fieldset div.hint:not(:first-child) {
  margin-top: 1em;
}
#order form > fieldset hr {
  height: 1em;
  border: 0;
  margin: 0;
}
#order form > fieldset label + label {
  margin-top: 0.5em;
}
#order form > fieldset label {
  display: block;
  position: relative;
}
#order form > fieldset label > span.dyn-label {
  position: absolute;
  font-size: 0.8em;
  font-weight: bold;
  left: 1.2em;
  top: -0.4em;
}
#order form > fieldset label > span.dyn-label > span.dyn-required {
  display: none;
}
#order form > fieldset label > input:invalid ~ span.dyn-label {
  color: hsl(0, 75%, 40%);
}
#order form > fieldset label > input:not(:enabled) ~ span.dyn-label {
  opacity: 0.5;
}
#order form > fieldset label > input[type="text"],
#order form > fieldset label > input[type="email"],
#order form > fieldset label > input[type="tel"],
#order form > fieldset label > input[type="number"],
#order form > fieldset label textarea {
  margin-top: 1em;
}
#order form > fieldset#order-language #template-language-sv {
  margin-top: 0;
}
#order form > fieldset#order-prints p {
  margin-top: 0;
}
#order form > fieldset#final {
  padding-top: 1em;
}
#order form > fieldset#final > .hint {
  text-align: left;
  margin-bottom: 1em;
}
#order form > fieldset#final > input[type="submit"] {
  display: block;
  margin: auto;
  font-size: 120%;
}
#foot {
  font-size: 80%;
  display: block;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1rem 30vh;
  border-top: 5px solid #ddd;
}
#foot #our-address,
#foot #contact {
  width: 50%;
}
#foot #our-address {
  float: left;
}
#foot #contact {
  text-align: right;
  float: right;
}
#foot #contact svg.feather {
  width: 1em;
  height: 1em;
  position: relative;
  top: 2px;
  margin-right: 0.3em;
}
#drop-target-overlay {
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#drop-target-overlay > div {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
#drop-target-overlay > div > svg {
  width: 64px;
  height: 64px;
}
#drop-target-overlay > div > p {
  text-shadow: black 1px 1px 1px;
}
#loading,
#success,
#error,
#error-email,
#error-ajax,
#error-input,
#drop-target-overlay {
  display: none;
}
#error-response {
  font-style: italic;
  margin-top: 2rem;
}
body.invert {
  background-color: #111;
  color: white;
  font-weight: bold;
}
body.invert header img {
  background: white;
}
body.invert div,
body.invert fieldset,
body.invert input,
body.invert button,
body.invert ul,
body.invert select,
body.invert textarea {
  color: white;
  font-weight: bold;
  opacity: 1;
}
body.invert fieldset,
body.invert input,
body.invert button,
body.invert select,
body.invert textarea {
  background-color: black;
}
body.invert input,
body.invert button,
body.invert select,
body.invert textarea,
body.invert #file-list-hint,
body.invert #prints-add,
body.invert fieldset > .box {
  border-width: 2px;
}
body.large {
  font-size: 150%;
}
body.larger {
  font-size: 200%;
}
@media only screen and (min-width: 600px) {
  #order form {
    margin-bottom: 1em;
    border-radius: 2px;
    border: 4px solid #2fb457;
    background-color: #d0e8d2;
  }
  #submit > div {
    background: #d0e8d2;
  }
}
