html, body, div, span, object, iframe, h1, h2, h3, p, pre, em, img, small, strong, sub, sup, var, b, i, ol, ul, li, form, label, table, tbody, tfoot, thead, tr, th, td, canvas, footer, header, menu, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

footer, header, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

em, i {
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: url(assets/lato-400i.woff2) format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  src: url(assets/lato-300.woff2) format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url(assets/lato-400.woff2) format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: url(assets/lato-700.woff2) format("woff2");
}
html {
  min-height: 100%;
}

body {
  min-height: 100%;
  background: #eee9e4;
}

body, html, div, input, select, option, button {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 12pt;
}

p {
  line-height: 1.1em;
  margin: 0 0 0.7em 0;
  cursor: default;
}

h1 {
  font-size: 1.25rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #3e4348;
  display: block;
  margin-bottom: 0.5em;
  cursor: default;
}

h2 {
  font-weight: 400;
  color: rgba(62, 67, 72, 0.5);
  display: block;
  margin-bottom: 1em;
  cursor: default;
}

button {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: rgba(0, 67, 141, 0.9);
}
button:hover {
  background-color: #00438d;
}

.btnbar {
  margin: 20px 0;
}
.btnbar .btn:first-child {
  margin-left: 0;
}
.btnbar .btn-cancel {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #00438d;
  background-color: rgba(0, 67, 141, 0.2);
}
.btnbar .btn-cancel:hover {
  background-color: rgba(0, 67, 141, 0.3);
}
.btnbar .btn-ok {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: rgba(0, 67, 141, 0.9);
  padding-left: 50px;
  background-position: 15px center;
  background-repeat: no-repeat;
  background-image: url(assets/icon_btn_ok.png);
}
.btnbar .btn-ok:hover {
  background-color: #00438d;
}
.btnbar .btn-add {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: rgba(0, 67, 141, 0.9);
  padding-left: 50px;
  background-position: 15px center;
  background-repeat: no-repeat;
  background-image: url(assets/icon_btn_plus.png);
}
.btnbar .btn-add:hover {
  background-color: #00438d;
}

#errormsg {
  position: fixed;
  left: 20px;
  bottom: 20px;
  right: 20px;
  padding: 12px 20px;
  margin-bottom: -100px;
  opacity: 0;
  text-align: left;
  line-height: 1.15em;
  background: #df745d;
  border-radius: 6px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
  z-index: 2000;
}

#epsedarkpage {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
}

#wrapper {
  position: relative;
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  background: #ffffff;
}

#header {
  position: relative;
  border-top: 12px solid #00438d;
  border-bottom: 4px solid #eee9e4;
  padding: 20px 25px;
  height: 46px;
}
#header.admin {
  border-top-color: #ed5353;
}
#header #logo {
  display: inline-block;
  vertical-align: top;
  width: 289px;
  height: 46px;
  background: url(assets/logo.png) left center no-repeat;
  background-size: contain;
}
#header nav {
  display: inline-block;
  vertical-align: top;
  margin-left: 30px;
}
#header #menubar {
  list-style: none;
  display: block;
}
#header #menubar li {
  display: inline-block;
  vertical-align: top;
  margin-left: 30px;
}
#header #menubar li:first-child {
  margin-left: 0;
}
#header #menubar li a {
  display: inline-block;
  height: 46px;
  line-height: 46px;
  text-decoration: none;
  text-transform: uppercase;
  color: rgba(62, 67, 72, 0.5);
}
#header #menubar li a:hover {
  color: rgba(62, 67, 72, 0.9);
}

#content {
  position: relative;
  margin: 30px 50px;
  min-height: 300px;
}

@media (max-width: 1140px) {
  #wrapper {
    margin: 0 20px;
  }
}
#cookiebar {
  position: fixed;
  z-index: 99;
  padding: 20px 0;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  font-size: 11pt;
  line-height: 1.2em;
  text-align: center;
  color: #fff;
  background: #00438d;
  cursor: default;
}
#cookiebar > span {
  display: block;
  padding: 0 60px;
}
#cookiebar > span > a {
  color: #3582d1;
  text-decoration: underline;
  cursor: pointer;
}
#cookiebar .mobile {
  display: none;
}
#cookiebar > a {
  position: absolute;
  display: block;
  right: 25px;
  top: 50%;
  width: 30px;
  height: 30px;
  line-height: 28px;
  margin-top: -15px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background: #000;
  background: -webkit-gradient(linear, left top, left bottom, from(#000), to(#333));
  background: linear-gradient(to bottom, #000, #333);
  border-radius: 3px;
  cursor: pointer;
}

.hidecookiebar #cookiebar {
  display: none;
}

.form-row {
  display: block;
  margin-bottom: 16px;
  white-space: nowrap;
  overflow: hidden;
}
.form-item {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}
.form-item > em {
  display: block;
  margin-bottom: 0.2em;
  line-height: 1.3em;
  font-weight: 700;
  font-size: 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}
.form-item-text > input, .form-item-text > textarea {
  width: calc(100% - 12px);
  background: transparent;
  border: 0;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid #3e4348;
  outline: none;
}
.form-item-text > input:focus, .form-item-text > textarea:focus {
  border-color: #000000;
}
.form-item-text > textarea {
  height: 50px;
}
.form-item-info > span {
  white-space: normal;
}
.form-item-options > label {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
}
.form-item-options > label > input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  cursor: pointer;
}
.form-item-options > label > span {
  display: inline-block;
  padding: 5px 10px;
  min-width: 80px;
  text-align: center;
  color: #3e4348;
  background-color: #f0f0f0;
  cursor: pointer;
}
.form-item-options > label > input:checked ~ span {
  color: #3e4348;
  background-color: #e5eaef;
}
.form-item-image > label {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 160px;
  height: 90px;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  border: 1px solid #000000;
  cursor: pointer;
}
.form-item-image > label > input {
  display: none;
}
.form-item-image > label:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -19px;
  margin-top: -19px;
  width: 38px;
  height: 38px;
  background: url(assets/icon_upload.png) center center no-repeat;
}
.form-item-25 {
  width: calc(25% - 12px);
}
.form-item-33 {
  width: calc(33.3% - 10.6666666667px);
}
.form-item-50 {
  width: calc(50% - 8px);
}
.form-item-66 {
  width: calc(66.6% - 5.3333333333px);
}
.form-item-75 {
  width: calc(75% - 4px);
}
.form-item-100 {
  width: 100%;
}
.form-buttons {
  display: block;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #000000;
}
.form-button:first-child {
  margin-left: 0;
}
.form-button-cancel {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #00438d;
  background-color: rgba(0, 67, 141, 0.2);
}
.form-button-cancel:hover {
  background-color: rgba(0, 67, 141, 0.3);
}
.form-button-ok {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: rgba(0, 67, 141, 0.9);
  padding-left: 50px;
  background-position: 15px center;
  background-repeat: no-repeat;
  background-image: url(assets/icon_btn_ok.png);
}
.form-button-ok:hover {
  background-color: #00438d;
}
.form-button-delete {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: rgba(0, 67, 141, 0.9);
  padding-left: 50px;
  background-position: 15px center;
  background-repeat: no-repeat;
  background-image: url(assets/icon_btn_ok.png);
}
.form-button-delete:hover {
  background-color: #00438d;
}
.form-button-delete:hover {
  background-color: #ed5353;
}

#login {
  display: block;
  position: absolute;
  left: 50%;
  top: calc(50% - 20px);
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  max-width: 450px;
  margin: 30px;
}
#login > div {
  padding-top: 62.5%;
  background: url(assets/login.jpg) left top no-repeat;
  background-size: contain;
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
#login > a {
  display: block;
  margin-top: 6px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  opacity: 0.7;
}
#login > a:hover {
  opacity: 1;
}
#login .loginscreen {
  margin-top: -8px;
  padding: 15px;
  background: #ffffff;
  border-radius: 8px;
}
#login .loginform {
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 10px;
}
#login .loginform > span {
  display: inline-block;
  vertical-align: top;
  margin-left: 10px;
  width: calc(50% - 7px);
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 6px;
}
#login .loginform > span:first-child {
  margin-left: 0;
}
#login .loginform > span > input {
  padding: 5px;
  width: calc(100% - 10px);
  line-height: 1.1em;
  background: transparent;
  border: 0;
  border-radius: 6px;
}
#login .loginform > span > input:focus {
  outline: 1px solid #ccc;
}
#login input[type=submit] {
  padding: 6px 32px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 67, 141, 0.9);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
#login input[type=submit]:hover {
  background-color: #00438d;
}

#dropdowncloser {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.01);
}

.dropdown {
  position: absolute;
  list-style: none;
  display: inline-block;
  height: auto;
  padding: 10px 5px 9px 5px;
  background: #ffffff;
  -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}
.dropdown > li {
  display: block;
  padding: 2px 10px;
  margin-bottom: 1px;
  line-height: 18px;
  color: #3e4348;
}
.dropdown > li.title {
  font-weight: 700;
}
.dropdown > li.separator {
  padding: 0;
  line-height: 1px;
  height: 1px;
  background: #3e4348;
  opacity: 0.2;
}
.dropdown > li.button {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #00438d;
  background-color: rgba(0, 67, 141, 0.2);
  display: block;
  margin-left: 0;
}
.dropdown > li.button:hover {
  background-color: rgba(0, 67, 141, 0.3);
}
.dropdown > li.button.delete:hover {
  color: #ed5353;
}
.dropdown > li.switch {
  cursor: pointer;
}
.dropdown > li.switch em {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 12px;
  border-radius: 6px;
  background: rgba(62, 67, 72, 0.3);
  -webkit-transition: background-color 0.3s linear;
  transition: background-color 0.3s linear;
}
.dropdown > li.switch em::after {
  content: "";
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  top: 2px;
  left: 2px;
  background: #3e4348;
  border-radius: 50%;
  -webkit-transition: left 0.3s linear, background-color 0.3s linear;
  transition: left 0.3s linear, background-color 0.3s linear;
}
.dropdown > li.switch.active em {
  background: rgba(56, 209, 103, 0.3);
}
.dropdown > li.switch.active em::after {
  left: 12px;
  background: #38d167;
}
.dropdown > li.switch:hover em {
  opacity: 0.8;
}
.dropdown > li.selector {
  cursor: default;
}
.dropdown > li.selector .option {
  display: inline-block;
  padding: 0 3px;
  margin-left: 3px;
  text-align: center;
  min-width: 1.9em;
  color: #3e4348;
  background: rgba(0, 67, 141, 0.1);
  border-radius: 3px;
  cursor: pointer;
}
.dropdown > li.selector .option:hover {
  background: rgba(0, 67, 141, 0.25);
}
.dropdown > li.selector .option.selected {
  color: #fff;
  background: #00438d;
  cursor: default;
}
.dropdown > li.selector .option.selected:hover {
  background: #00438d;
}

.overlay {
  position: fixed;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.overlay > a[btncancel] {
  position: absolute;
  display: block;
  right: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: url("assets/icon_close.png") center center no-repeat;
  opacity: 1;
  cursor: pointer;
  z-index: -1;
}
.overlay > a[btncancel]:hover {
  z-index: 1;
}
.overlay > div {
  max-height: 90vh;
  min-width: 420px;
  padding: 20px;
  background: #ffffff;
  border-radius: 0 50px 0 0;
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  z-index: 0;
}
.overlay label.title {
  display: block;
  line-height: 1.1em;
  margin-bottom: 0.5em;
  font-size: 1.25rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #3e4348;
}

#overlay_add .select {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  margin-left: 0;
  color: #3e4348;
  background-color: #f0f0f0;
  text-transform: none;
  padding-right: 50px;
  background-position: right 10px center;
  background-repeat: no-repeat;
  margin-bottom: 20px;
  min-width: 200px;
  background-image: url(assets/icon_btn_select.png);
}
#overlay_add .select:hover {
  background-color: #e5eaef;
}
#overlay_add #variantlist {
  list-style: none;
  max-width: 770px;
  width: auto;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
  row-gap: 10px;
  margin-bottom: 20px;
}
#overlay_add #variantlist li {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
#overlay_add #variantlist li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0;
  padding-bottom: 56.25%;
}
#overlay_add #variantlist li > label {
  position: absolute;
  display: inline-block;
  width: 180px;
  height: 35px;
  left: 50%;
  bottom: 20px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  line-height: 35px;
  text-align: center;
  color: #fff;
  background: #00438d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.8;
  cursor: pointer;
  -webkit-transition: bottom 0.5s ease-in-out;
  transition: bottom 0.5s ease-in-out;
}
#overlay_add #variantlist li:hover > label {
  bottom: 40px;
  opacity: 1;
}

#dropdown_template {
  min-width: 200px;
}