/* Colors
==========================================================================
blue
500: 2196F3 (button)
700: 1976D2 (button, pressed)

pink
50: FCE4EC (fehlende Eingabe)
*/


/* Layout
========================================================================== */
*, *:before, *:after {
  box-sizing: border-box;
}

html {
  font: 100%/1.5 'roboto', Arial, sans-serif;
  font-weight: 400;
}

@media (min-width: 40em) { /* equals 62.500em */
html {
  font-size: 112%;
}
}

@media (min-width: 64em) { /* equals 1020.250em */
html {
  font-size: 120%;
}
}

body {
  background-color: #F5F5F5;
  color: #000000;
  max-width: 60em;
  margin: 0 auto !important;
  float: none !important;
}

.offset:before {
  display: block;
  content: " ";
  height: 9em;
  margin-top: -9em;
  visibility: hidden;
}


/* Main Boxes
========================================================================== */
header {
  position: fixed;
  background-color: #F5F5F5;
  max-width: 60em;
  width: 100%;
  height: 4em;
  top: 0;
  z-index: 1000;
}

.footer,
.footer_right {
  flex: 1 100%;
  font-size: 0.7em;
  text-align: center;
  margin: 0 0 1.250em 0;
  padding: 0.625em 0 0.125em 0;
}

.footer_nav {
  display: flex;
  align-items: flex-start;
  font-size: 1em;
  text-align: center;
  margin: 0 0 0.250em 0;
  padding: 0.125em 0 0.250em 0;
}

.footer_nav a {
  flex: 1 100%;
  margin: 0 1.5em 0 1.5em;
}

@media only screen and (min-width : 64em) {

header {
  height: 5.75em;
}

.footer_left {
  flex: 1 1 0;
}

.footer_right {
  flex: 5 1 0;
}

.footer_nav {
  display: none;
}

}

.info_container,
.main_container,
.main_container_info,
.footer_container {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
}

.info_container,
.main_container
{
  margin: 4em 0 0.625em 0;
}

.main_container_info {
  margin: 0 0 0.625em 0;
}

.info_full,
.main_full {
  flex: 1 100%;
  font-size: 0.9em;
  text-align: left;
  background-color: #FFF;
  padding: 1.250em 1.250em 1.250em 1.250em;
}

.main_left {
  flex: 1 1 0;
}

.main_right {
  flex: 1 100%;
  font-size: 0.9em;
  text-align: left;
  background-color: #FFF;
  padding: 1.250em 1em 1em 1em;
}

@media only screen and (min-width : 64em) {

.info_container,
.main_container,
.main_container_info,
.footer_container {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.info_container,
.main_container {
  margin: 6.313em 0 0.625em 0;
}

.main_container_info {
  margin: 0 0 0.625em 0;
}

.info_full,
.main_full,
.main_right {
  border-radius: 6px;
  border-style: solid;
  border-width: thin 0 0 thin;
  border-color: #E1E1E1;
  box-shadow: 2px 2px 2px #999;
}

.info_full {
  padding: 0.5em 1.875em 0.5em 1.875em;
}

.main_full,
.main_right {
  padding: 1.250em 1.875em 1.875em 1.875em;
}

.main_left {
  font-size: 0.7em;
  text-align: left;
  padding: 0 1em 0 0;
}

.main_right {
  flex: 5 1 0;
}

}


/* Header Items
========================================================================== */
@media only screen and (min-width : 64em) {
.header_inner {
  padding-left: 1.5em;
  padding-right: 1.5em;
}
}

#do-logo {
  position: relative;
  float: left;
  text-align: left;
  border: 0;
  width: 10em;
  height: 0;
  padding-top: 1.5em; 
  margin: 1.250em 0.3em 0.625em 0.25em;
  background-image: url(../nav/digitaloriginal-logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

#loggedin_shopcart {
  display: none;
}

.topnav {
  float: right;
  padding: 0;
  margin: 0;
}

.menu-link,
.cart-link,
.profile-link {
  width: 2.5em;
  height: 2.5em;
  color: #FFF;
  background-repeat: no-repeat;
  background-color: #999;
  background-position: center;
  display: inline-block;
  position: relative;
  margin: 0.625em 0.625em 0 0;
  padding: 0;
  border-radius: 4px;
  float: right;
}

.menu-link {
  background-image: url(../nav/menu_icon.svg);
  background-size: 1.25em 1.25em;
  z-index: 1001;
}

.cart-link {
  background-image: url(../nav/cart_icon.svg);
  background-size: 1.8em 2em;
  z-index: 1002;
}

.profile-link {
  background-image: url(../nav/profile_icon.svg);
  background-size: 1.5em 2em;
  z-index: 1003;
}

.menu li a {
  color: #000;
  text-shadow: none;
  text-decoration: none;
  background-color: #999;
  display: inline-block;
  height: 2em;
  line-height: 1em;
  padding: .4em;
  width: 100%;
  border-bottom: 0.125em solid #333;
}

.menu li a:hover {
  color: #aaa;
  background-color: #333333;
}

body:not(:target) #menu {
  margin: 0 0.625em 0 0;
  padding-top: 3em;
  position: relative;
  z-index: 1000;
}

body:not(:target) #menu li {
  list-style: none;
  width: 100%;
  height: 0;
  line-height: 0;
  overflow: hidden;
}

body:not(:target) #menu li.mobilnoshow {
  display: none;
}

body:not(:target) #menu:target {
  z-index: 1001;
}

body:not(:target) #menu:target .menu-link {
  background-color: #999;
  border-radius: 4px 4px 0 0;
}

body:not(:target) #menu:target li {
  height: 2em;
  line-height: normal;
}

body:not(:target) #menu:target li:first-child {
  border-top: 0.125em solid #333;
  border-bottom: 0.125em solid #333;
}

body:not(:target) #menu:target .back {
  height: 0;
  line-height: 0;
}

body:not(:target) #menu:target .back a {
  width: 100%;
  background-color: transparent;
  border: none;
  height: auto;
  position: absolute;
  top: -101em;
  bottom: -101em;
  left: 0;
  right: 0;
  text-indent: -999em;
  z-index: -1;
}


@media only screen and (min-width : 64em) {

#do-logo {
  padding-top: 1.5em;
  margin: 1.250em 0.3em 0.625em 0.313em;
}

#loggedin_shopcart {
  position: relative;
  float: right;
  display: block;
  text-align: right;
  padding: 0.5em 0.5em 0 0;
  font-family: 'roboto', Arial, sans-serif;
  font-size: 0.725em;
  font-weight: 700;
  text-decoration: none;
}

#loggedin_shopcart a {
  color: #000;
}

#loggedin_shopcart a:hover {
  color: #787878;
  transition: 100ms;
  transition-timing-function: ease-in-out;
}

#loggedin_shopcart .loggedin {
  text-align: right;
  margin: 0 0.3em 0 0;
}

#loggedin_shopcart .shopcart {
  text-align: right;
  display: table;
  margin: 0 0.3em 0 0;
}

#loggedin_shopcart .shopcart div {
  display: table-cell;
  vertical-align: middle;
}

#loggedin_shopcart .shopcart div a svg {
  padding: 0 0.3em 0.1em 0;
}

#loggedin_shopcart .shopcart div a svg:hover {
  fill: #787878;
}

#loggedin_shopcart .shopcart div a svg {
  transition: 100ms;
  transition-timing-function: ease-in-out;
}

#menu-icon,
#cart-icon,
#profile-icon {
  display: none;
}

.topnav {
  float: none;
}

.menu li a {
  line-height: inherit;
}

body:not(:target) #menu {
  display: block;
  position: static;
  background: none;
  padding: 0;
  margin: 0;
  border-radius: 6px; 
  box-shadow: 2px 2px 2px #999;
  float: left;
  width: 100%;
}

body:not(:target) #menu li {
  float: left;
  list-style: none;
  text-align: center;
  width: 100%;
  background: none;
  padding: 0.438em 0.313em 0 0.313em;
  margin: 0;
}

body:not(:target) #menu:target li {
  height: auto;
}


body:not(:target) #menu li.mobilnoshow {
  display: inline;
}


body:not(:target) #menu:target {
  z-index: 1001;
}

body:not(:target) #menu li a {
  border-radius: 0;
  outline: none;
}

body:not(:target) #menu li:first-child a {
  /* Rounded Corners */
  border-radius: 6px 0 0 6px;
  border-left: none;
}

body:not(:target) #menu:target li:first-child {
  border-top: none;
  border-bottom: none;
}

body:not(:target) #menu li:nth-last-child(2) a {
  /* Rounded Corners */
  border-radius: 0 6px 6px 0;
  border-right: none;
}

body:not(:target) #menu li a:hover {
  cursor: pointer!important;
  color: #fff!important;
  background-color: #666!important;
}

body:not(:target) #menu li a:active {
  color: #fff!important;
  text-shadow: 0 -0.063em 0.063em #000!important;
  background-color: #666!important;

  /* Box Shadow */
  box-shadow: inset 0 0.063em 0.125em 0.125em #000;
}

body:not(:target) #menu li a:link, body:not(:target) #menu li a:visited {
  font-family: 'roboto', Arial, sans-serif;
  font-size: 0.875em;
  display: block;
  color: #FFF;
  background-color: #000;
  text-decoration: none;
  padding: 0.2em 0 0.250em 0;
}

body:not(:target) #menu a.current:link, a.current:active, a.current:visited {
  color: #fff !important;
  background-color: #666!important;
}

.menu-link,
.cart-link,
.profile-link,
body:not(:target) #menu .back,
body:not(:target) #menu .back a {
  display: none;
}

body:not(:target) #menu li {
  display: inline;
  width: 12.5%;
  height: inherit;
  line-height: inherit;
  padding: 0;
}
}


/* Section
========================================================================== */
section {
  text-align: center;
  margin: 3.75em 0 2.5em 0;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

@media only screen and (min-width : 64em) {
section {
  margin: 5.625em 0 2.5em 0;
}
}


/* index
========================================================================== */

.startpage {
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  padding: 0 0 2em 0;
}

.main_full h1:first-child {
  padding-bottom: 2em;
}

.startpage .column_1 {
  justify-self: center;
}

.startpage .column_2 {
  justify-self: center;
}

.narrowlist {
  padding-left: 1em;
}

.narrowlist li {
  padding-bottom: 0.5em;
}

@media only screen and (min-width : 64em) {

  .startpage {
    padding: 0 0 2em 0;
    grid-template-areas:
            "column_1 column_2";
  }

  .main_full h1:first-child {
    padding-bottom: 0;
  }

  .startpage .column_1 {
    grid-area: column_1;
  }

  .startpage .column_2 {
    grid-area: column_2;
  }

  .startpage.pic_left .column_1,
  .startpage.pic_right .column_1,
  .startpage.pic_left .column_2
  {
    justify-self: start;
  }

  .startpage.pic_right .column_2
  {
    justify-self: end;
  }

  .narrowlist li {
    padding-bottom: 0.25em;
  }
}


/* Navigation left box
========================================================================== */

nav ul {
  padding:0;
  margin:0;
  list-style: none;
}


/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
  display: none;
  position: absolute; 
/* has to be the same number as the "line-height" of "nav a" */
  top: 60px; 
}

/* Hide Dropdowns by Default */
nav ul ul {
  float: none;
  position:static;
  color: #ffffff;
  /* has to be the same number as the "line-height" of "nav a" */
}

.toggle, [id^=drop] {
  display: none;
}

.sub-toggle, [id^=drop] {
  display: none;
}


.toggle,
.sub-toggle {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 0.5em 0 0.5em 0;
  border-bottom: 0.125em solid #333;
}

.toggle {
  background-color: #757575;
  border-top: 0.125em solid #333;
}

.sub-toggle {
  background-color: #9E9E9E;
}

/* Hide the navigation menu by default */
/* Also hide the  */
.toggle + a, .menu-sub-info {
  display: none;
}

/* Hide the navigation menu by default */
/* Also hide the  */
.sub-toggle + a, .menu-sub-info {
  display: none;
}

/* Display Dropdown when clicked on Parent Lable */
[id^=drop]:checked + ul {
  display: block;
}


/* Hide Menu */


#navmenu-toggle-primary a {
  color: #000;
  text-shadow: none;
}

.navmenu-item {
  padding: 0.5em 0 0.5em 0;
  background-color: #E0E0E0;
  border-bottom: 0.125em solid #333;
  text-align: center;
}

ul.navmenu-items a {
  text-shadow: none;
}

@media only screen and (min-width : 64em) {

.toggle, [id^=drop] {
  display: none;
}

.toggle + a,
.menu-sub-info {
  display: block;
}

.sub-toggle,
.navmenu-item {
  border-radius: 4px; 
  border-bottom: 0.063em #999;
  box-shadow: 2px 2px 2px #999;
  text-align: left;
  margin-bottom: 0.625em;
}

.sub-toggle {
  font-family: 'roboto', Arial, sans-serif;
  font-size: 0.9em;
  font-weight: 700;
  color: #000000;
  background-color: #C1C1C1;
  margin-top: 0;
  padding: 0.313em 0.625em 0.313em 0.625em;
 }

.navmenu-item {
  font-size: 1em;
  background-color: #FFF;
  padding: 1em 0.625em 1em 1em;
  border-style: solid;
  border-width: thin 0 0 thin;
  border-color: #E1E1E1;
}

.navmenu-item.first {
  margin-top: 0;
}

.navmenu-item.last {
  margin-bottom: 1em;
}

a .navmenu-item:hover {
  background-color: #DFDFDF;
}


a .navmenu-item:active {
  color: #000 !important;
  background-color: #B7B7B7!important;

  /* Box Shadow */
  box-shadow: inset 0 0.063em 0.125em 0.125em #4D4D4D;
}


li.navmenu-item a {
  text-shadow: none;
}

.menu li a {
  border: none;
}

nav ul ul {
  display: block;
}

}


/* AGB content boxes
========================================================================== */
.agbbox {
  float: left;
  width: 100%;
  margin: 0 0 2em 0;
  padding: 1em 1em 0.625em 1em;
}

.agbbox.bordered {
  border: 0.063em solid #000;
}

.agbbox div {
  padding: 0 0 1em 0;
}

.agbbox div:nth-child(odd) {
  float: left;
  padding: 0 0.4rem 0 0.4rem;
  width: 10%;
}

.agbbox div:nth-child(even) {
  float: left;
  width: 90%;
}

.agbbox div:first-child,
.agbbox div:nth-child(2),
.agbbox_subhead {
  font-family: 'roboto', Arial, sans-serif;
  font-weight: 700;
}

.agbbox_subhead {
  padding: 1em 0 0 0;
}

@media only screen and (min-width : 64em) {

.agbbox div:nth-child(odd) {
  width: 5%;
}

.agbbox div:nth-child(even) {
  width: 95%;
}
}


/* Datenschutz
========================================================================== */
ul.datenschutz {
  list-style-type: lower-alpha;
  margin-top: 0;
  margin-bottom: 2em;
}

ul.datenschutz li {
  padding-top: 0.25em;
}

p.before-list {
  margin-bottom: 0.25em;
}

/* Video-Datenschutz
========================================================================== */
ul.video-datenschutz {
  list-style-type: disc;
  margin-top: 0;
  margin-bottom: 2em;
}

ul.video-datenschutz li {
  padding-top: 0.25em;
}

p.video-datenschutz-indented {
  padding-left: 0.5em;
}

/* Links
========================================================================== */
a, a:visited {
  color: #006aff;
  text-decoration: none;
}

a i {
  color: #000000;
  text-decoration: none;
  vertical-align: middle;
  padding-left: 0.25em;
}

a:hover {
  opacity: 0.7;
}

a:active {
  color: #006aff;
}

a i:hover {
  color: #666;
}

.back_link {
  display: block;
  margin: 1.5em 0 0 0.5em;
}


/* Images
========================================================================== */
img {
  border: 0;
}

img.illupic {
  display: none;
}

.order_info_pic {
  text-align: center;
  padding: 1em 0 2em 0;
}

.order_info_pic img {
  border: 1px solid darkgray;
  box-shadow: 0.25em 0.25em 0.25em #999;
}

@media only screen and (min-width : 64em) {
img.illupic {
  display: none;
  position: relative;
  top: 0.625em;
  right: 0.625em;
  margin: 1em 0.313em 1.250em 2.500em;
  float: right;
}
}


/* Text
========================================================================== */
h1.pagetitle {
  font-family: 'roboto', Arial, sans-serif;
  font-size: 1.250em;
  font-weight: 700;
  color: #4A4A4A;
  margin: 0 0 0.313em 0;
}

h2.caption {
  font-family: 'roboto', Arial, sans-serif;
  font-size: 1.250em;
  font-weight: 500;
  color: #4A4A4A;
  margin: 1.875em 0 0.313em 0;
}

h2.boxcaption {
  font-family: 'roboto', Arial, sans-serif;
  font-size: 1.250em;
  font-weight: 500;
  color: #4A4A4A;
  margin: 2.5em 0 1em 0;
}

h3.caption {
  font-family: 'roboto', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  color: #4A4A4A;
  margin: 1.875em 0 0.313em 0;
}

p.hint {
  font-size: 0.7em;
  text-decoration: underline;
  color: #666666;
  margin: 1.250em 0 0 0;
}

p.hinttext {
  font-size: 0.7em;
  color:#666666;
  margin: 0.313em 0 0 0;
}

.errormessages li {
  font-family: 'roboto', Arial, sans-serif;
  font-weight: 500;
  color: #F00;
}

.small {
  font-size: 0.75em;
}

.small p {
  margin-top: 2px;
}

.indented {
  margin-left: 2em;
}

.desktop_hide {
}

@media only screen and (min-width : 64em) {
.desktop_hide {
  display: none;
}
}

.paragraph {
  padding-top: 1.5em;
}

label .hidden {
  display: none;
}

/* Forms
========================================================================== */
.user_form,
.cust_data_form {
  width: 100%;
  margin-top: 1em;
}

.user_form {
  margin-top: 2em;
}

.cust_data_form {
  display: grid;
}

.user_form label,
.cust_data_form label {
  display: block;
  font-weight: 400;
  padding: 0.5em 0 0.250em 0.125em;
}

.user_form label::after,
.cust_data_form label::after {
  content: ": ";
}

.user_form textarea,
.cust_data_form textarea {
  height: 16em;
}

.user_form button {
  margin-top: 1em;
  margin-bottom: 0.625em;
}

.user_form p[class="hinttext"] {
  margin: 1em 0 2em 0;
}

.cust_data_form input:required:invalid,
.user_form input:required:invalid,
textarea:required:invalid {
  background-image: url(../nav/invalid.svg);
  background-size: 99%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 99% center;
  background-size: 1em;
}

.cust_data_form input:required:valid,
.user_form input:required:valid,
textarea:required:valid {
  background-image: url(../nav/valid.svg);
  background-size: 99%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 99% center;
  background-size: 1em;
}

.cust_data_form .hint,
.cust_data_form .hinttext {
  margin: 0 0 0 0.25em !important;
}

.shipping_select {
  margin: 3em 0 0 0;
}

@media only screen and (min-width : 64em) {
.user_form {
  width: 99%;
  padding: 0 0 0 0.25em;
}

.user_form label {
  padding-left: 0;
}

.cust_data_form {
  display: grid;
  grid-template-columns: 1fr 6fr;
  width: 99%;
  padding: 1em 0 2em 0.25em;
}

.cust_data_form label {
  grid-column: 1 / 2;
  text-align: right;
  padding: 0 0.5em 0 0;
}

.cust_data_form input {
  grid-column: 2 / 3;
}

.cust_data_form .hint,
.cust_data_form .hinttext {
  grid-column: 2 / 3;
}
}


/* Simple Button form
========================================================================== */
.button_form {
  width: 100%;
}

@media only screen and (min-width : 64em) {
.button_form {
  width: 99%;
  padding: 0;
}
}


/* Media info pages
========================================================================== */
.media_image {
 width: 100%;
}

.media_image img {
  width: 100%;
  box-shadow: 0.25em 0.25em 0.25em #999;
}

.media_image .mobile_hide {
  display: none;
}

@media only screen and (min-width : 64em) {
  .media_image {
    width: 30%;
    margin: 10px 10px 10px 10px;
    float: right;
  }

  .media_image .mobile_hide {
    display: unset;
  }
}

/* Imagelist
========================================================================== */
.image_list {
  width: 100%;
}

.image_list_item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background-color: #EEEEEE;
  border-radius: 4px;
  padding: 1em 0 0 0;
}

.image_list_item.view {
  margin-bottom: 1em;
}

.image_list_item.edit {
  margin-bottom: 2em;
}

.image_list_item.cards {
  display: block;
}


.image_list_item.padded {
  padding: 1em 0 1em 0;
  margin-bottom: 2em;
}

.image_list_item img {
  grid-column: 1 / 2;
  place-self: center;
  margin: 1em;
}

.image_data {
  grid-column: 1 / 2;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 2fr;
  grid-column-gap: 0.5em;
  grid-row-gap: 0.25em;
  padding: 0 0.625em 0 0.625em;
  font-size: 0.75em;
  align-items: flex-start;
}

.image_data.cards {
  grid-column: 1 / 2;
}

.image_data div:nth-child(odd) {
  grid-column: 1 / 2;
  font-weight: 600;
  text-align: right;
}

.image_data div:nth-child(even) {
  grid-column: 2 / 5;
}

.image_data div span {
  vertical-align: middle;
}


.media_select,
.size_select {
  grid-column: 1 / 3;
  width: 100%;
  padding: 1em;
}

.media_select .head,
.size_select .head,
.border_set_box .head,
.textline_set_box .head {
  width: 100%;
  font-size: 0.8em;
  font-weight: 600;
  padding: 0 0 0.50em 0;
}

.media_select .media_type,
.image_list_media_master .media_type {
  width: 100%;
  font-size: 0.75em;
  padding: 0.250em 0 0 0.25em;
}

.media_type label .text {
  vertical-align: text-bottom;
}

.image_buttons {
  grid-column: 1 / 3;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1em 1em 1em 1em;
  background-color: #E0E0E0;
  border-radius: 0 0 4px 4px;
  margin: 0;
}

.image_list_item .image_buttons {
  margin: 1em 0 0 0;
}

.image_buttons label {
  flex: 1 1 auto;
  font-size: 0.75em;
  margin: 0;
  justify-self: start;
  align-self: baseline;
}

.image_buttons label .text {
 vertical-align: text-bottom;
}

.image_buttons button {
  margin: 0 0 0 1em;
  justify-self: end;
  align-self: center;
}

.image_buttons .raised_button {
  font-size: 0.75em;
  width: auto;
  margin-bottom: 0.5em;
}


.image_list_mark_all,
.image_list_master_buttons,
.image_list_media_master,
.image_list_size_master,
.image_list_card_master {
  width: 100%;
  background-color: #E0E0E0;
  border-radius: 4px;
  padding: 1em;
  display: flex;
  flex-flow: column;
}

.image_list_mark_all {
  margin-bottom: 2em;
}

.image_list_media_master,
.image_list_size_master {
  margin-bottom: 1em;
}

.image_list_media_master button {
  margin-top: 1em !important;
}

.image_list_media_master .head,
.image_list_size_master .head,
.image_list_card_master .head {
  width: 100%;
  font-weight: 600;
  padding: 0 0 0.75em 0;
}

.image_list_master_buttons button,
.image_list_master_buttons div,
.image_list_mark_all input,
.image_list_media_master button,
.image_list_size_master button,
.image_list_card_master button {
  flex: 1;
  width: 100%;
  margin: 0;
  text-align: center;
}

.image_list_master_buttons button:not(:last-child),
.image_list_mark_all input:not(:last-child),
.image_list_master_buttons div {
  margin: 0 0 1em 0;
}


@media only screen and (min-width : 64em) {
.image_list_item {
  grid-template-columns: 1fr 3fr;
}

.image_data {
  grid-column: 2 / 3;
  padding: 0 0.625em 0 0;
}

.image_data div[class="col_half"]:nth-child(odd) {
  grid-column: auto;
}

.image_data div[class="col_half"]:nth-child(even) {
  grid-column: auto;
}

.image_list_master_buttons, .image_list_mark_all {
  flex-flow: row wrap;
  align-items: flex-start;
}

.image_list_master_buttons div {
  flex: 1 auto;
}

.image_list_master_buttons button:not(:last-child),
.image_list_mark_all input:not(:last-child) {
  margin: 0 1em 0 0;
}

.image_buttons .raised_button {
  font-size: 1em;
  margin-bottom: 0;
}

}


.border_set_box {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  padding: 1em;
}

.border_set_box .card_preview {
  order: 1;
  grid-column: 1 / 4;
  background-color: #FFFFFF;
  border: thin solid #000000;
  margin: 0.5em;
  line-height: 0;
}

.card_preview img {
  margin: 0 !important;
  max-width: 100%;
  height: auto;
}

.border_set_box .margin_top {
  order: 2;
  grid-column: 1 / 4;
}

.border_set_box .margin_left {
  order: 3;
  grid-column: 1 / 2;
}

.border_set_box .margin_right {
  grid-column: 3 / 4;
  order: 4;
}

.border_set_box .margin_bottom {
  grid-column: 1 / 4;
  order: 5;
}

.border_set_box input.margin {
  text-align: right;
}

.textline_set_box {
  width: 100%;
  margin-bottom: 1em;
}

.image_list_item .textline_set_box {
  padding: 0 1em 0 1em;
}

.textline_set_box label {
  display: block;
  font-weight: 400;
  padding: 0.5em 0 0.250em 0.125em;
}

.textline_set_box label::after {
  content: ": ";
}

.border_set_box.master {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 2em 0 2em 0;
  padding: 0;
}

.border_set_box.master .head {
  grid-column: 1 / 4;
}

@media only screen and (min-width : 64em) {
.border_set_box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  margin: 2em 0 2em 0;
}

.border_set_box .margin_top {
  order: 1;
}

.border_set_box .margin_left {
  order: 2;
  justify-self: end;
}

.border_set_box .card_preview {
  order: 3;
  grid-column: 2 / 3;
}

.border_set_box .margin_right {
  order: 4;
  justify-self: start;
}

.border_set_box .margin_bottom {
  order: 5;
}
}

.quality_info {
  display:flex;
  font-size: 0.75em;
  height: 3em;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}


.image_list_item .row {
    width: 100%;
    display: table;
}

.full, .half, .third {
    width: 100%;
}


.sizeselector {
  display: grid;
  grid-column-gap: 0.75em;
  grid-row-gap: 0.75em;
  padding: 0 0 2em 0;
}

.sizeselector:last-child {
  padding: 0 0 1em 0;
}

.size_select .poster,
.size_select .pano,
.size_select .quadrat {
  grid-template-columns: 1fr 1fr;
}

.size_select .din,
.size_select .karten,
.size_select .sonderformat {
  grid-template-columns: 1fr;
}

.size_container {
  width: 100%;
  background-color: #BDBDBD;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.size_container .radio_label {
  padding: 0.125em;
}

.size_container .size_description {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0.125em 0.5em 0.125em 0.25em;
  margin: 0;
  grid-column-gap: 0.125em;
  font-size: 0.9em;
  border-radius: 0 4px 4px 0
}

.size_container .size_description div:first-child {
  grid-column: 1 / 3;
  font-weight: 600;
}

.size_container .size_description div:nth-child(2n) {
  grid-column: 1 / 2;
}

.size_container .size_description div:last-child {
  grid-column: 2 / 3;
  text-align: right;
}


@media only screen and (min-width : 64em) {
.size_select .poster,
.size_select .quadrat {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.size_select .pano,
.size_select .din {
  grid-template-columns: 1fr 1fr 1fr;
}

.size_select .karten,
.size_select .sonderformat {
  grid-template-columns: 1fr 1fr;
}
}


/* Addonlist
========================================================================== */
.addon_list {
  width: 100%;
  display: table;
}

.addon_list_item {
  margin-bottom: 1em;
}

.addon_list_row {
  width: 100%;
  display: table;
  border-bottom: 2px solid #FFF;
}

.addon_list_row .col {
  font-size: 0.9em;
  padding: 0.25em 0.5em 0.25em 0.5em;
  display: table-cell;
}

.addon_list_row .col {
  border-right: 2px solid #FFF;
}

.addon_list_row .col:last-child {
  border-right: 0;
}

.addon_list_row:first-child div:first-child {
  border-radius: 4px 0 0 0;  
}

.addon_list_row:first-child div:last-child {
  border-radius: 0 4px 0 0;  
}

.addon_list_row:last-child div:first-child {
  border-radius: 0 0 0 4px;  
}

.addon_list_row:last-child div:last-child {
  border-radius: 0 0 4px 0;
}

.addon_list_row.addon_header .col {
  font-weight: 600;
  color: #000000;
  background-color: #BDBDBD;
}

.addon_list_row.addon_element .col {
  background-color: #EEEEEE;
}

.addon_list_row div:first-child {
  width: 12%;
}

.addon_list_row div:nth-child(2) {
    width: 55%;
}

.addon_list_row div:nth-child(3) {
  width: 12%;
}

.addon_list_row div:nth-child(4) {
  width: 9%;
}

.addon_list_row div:nth-child(5) {
  width: 12%;
}

.addon_list_row.addon_element div:nth-child(3),
.addon_list_row.addon_element div:nth-child(4),
.addon_list_row.addon_element div:nth-child(5) {
  text-align: right;
}


/* Page submit line
========================================================================== */

.page_submit {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  margin: 0 0 0.625em 0;
}

.page_submit input {
  flex: 1 1 0;
  width: 100%;
  margin: 0 0 1em 0;
}

@media only screen and (min-width : 64em) {
.page_submit {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  margin: 2em 0 0.625em 0;
}

.page_submit.right {
  justify-content: flex-end;
}

.page_submit input {
  width: auto;
  margin: 0 1em 0 0;
}

.page_submit input:last-child {
  margin: 0;
}
}



/* Selection boxes
========================================================================== */
.selectionbox {
  margin: 0 0 1.5em 0;
  padding: 0;
  *border-collapse: collapse; /* IE7 and lower */
  border-spacing: 0;
  width: 100%;
}

.selectionbox .top {
  font-size: 1em;
  font-weight: 700;
  vertical-align: middle;
  padding: 0.75em 0.5em 0.75em 0.75em;
  background-color: #BDBDBD;
  text-align: left;
  border-radius: 8px 8px 0 0;
}

.selectionbox .top .radio_label i {
  padding-right: 0.125em;
}

.selectionbox .top .checkbox_label {
  padding-left: 0 !important;
}

.selectionbox .bottom {
  font-size: 1em;
  font-weight: 400;
  vertical-align: middle;
  padding: 0.75em 1em 0.75em 1em;
  margin: 0;
  background-color: #E0E0E0;
  text-align: left;
  border-radius: 0 0 8px 8px;
}

.selectionbox .bottom .hinttext {
  margin: 2em 0 0.5em 0;
}


@media only screen and (min-width : 64em) {

.selectionbox {
  font-family: 'roboto', Arial, sans-serif;
}

.selectionbox th {
  font-size: 0.9em;
}

.selectionbox td {
  font-size: 0.9em;
}

}


/* Input Boxes
========================================================================== */
.text_input {
  width: 100%;
  border-width: 0.063em;
  border-style: solid;
  border-color: #999;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  margin: 0 0 1em 0;
  padding: 0.5em 0.250em 0.5em 0.250em;
}

.text_input:focus {
  border-color: #09C;
}

.pink {
  background-color: #FCE4EC;
}

select.text_input {
  padding-left: 0.15em;
}

@media only screen and (min-width : 64em) {
.text_input {
  margin: 0 0 1.250em 0;
  padding: 0.125em 0.125em 0.125em 0.4em;
}
}


/* Finish Order Boxes
========================================================================== */
.headerbox {
  font-size: 0.9em;
  font-weight: 700;
  vertical-align: middle;
  padding: 0.25em 0.25em 0.25em 0.75em;
  background-color: #9E9E9E;
  text-align: left;
  border-radius: 4px;
  margin: 3em 0 1em 0;
}

.adressbox_container,
.infobox_container {
  font-size: 0.9em;
  vertical-align: middle;
  display: grid;
  grid-template-columns: 1fr;
  grid-column-gap: 1em;
  margin-bottom: 1em;
}

.adressbox_container .top,
.infobox_container .top {
  font-weight: 700;
  padding: 0.25em 0.25em 0.25em 0.75em;
  background-color: #BDBDBD;
  border-radius: 4px 4px 0 0;
}

.adressbox_container .bottom,
.infobox_container .bottom {
  font-weight: 400;
  padding: 0.5em 0.5em 0.5em 0.75em;
  background-color: #EEEEEE;
  border-radius: 0 0 4px 4px;
}

.infobox_container .bottom.sums {
  display: grid;
  grid-template-columns: 6fr 1fr;
}

.infobox_container .bottom.sums div {
  text-align: right;
}

.infobox_container .bottom.sums div.sum {
  font-weight: 600;
  padding: 0.5em 0 0.5em 0;
}

.adressbox_container i,
.infobox_container i {
  padding-bottom: 4px;
  margin-left: 0.5em
}

@media only screen and (min-width : 64em) {
.adressbox_container,
.infobox_container {
  grid-template-columns: 1fr 1fr;
}

.infobox_container.single {
  grid-template-columns: 1fr;
}

}


/* Order list
========================================================================== */
.order_list {
  width: 100%;
}

.order_list_item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background-color: #EEEEEE;
  border-radius: 4px;
  padding: 0.5em 0 0.5em 0;
  margin: 0 0 1em 0;
}

.order_data {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-column-gap: 0.5em;
  grid-row-gap: 0.25em;
  padding: 0 0.625em 0 0.625em;
  font-size: 0.75em;
}

.order_data div:nth-child(odd) {
  font-weight: 600;
  text-align: right;
}


/* Info list
========================================================================== */
.info_list {
  line-height: 1.25em;
  margin-left: -0.5em;
}

.info_list li {
  padding-bottom: 0.75em;
  list-style-type: disc;
}

/* Colors
========================================================================== */
.raised_button.blue {
  color: #F5F5F5;
  background-color: #006aff;
}

.blue {
  color: #006aff;
}

.raised_button.blue:active {
  color: #F5F5F5;
  background-color: #1976D2;
}

.raised_button.blue:hover {
  color: #F5F5F5;
  opacity: 0.92;
}

.action_button.blue:hover {
  opacity: 0.7;
}


/* Buttons
========================================================================== */
.raised_button {
  text-decoration: none;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border: 0;
  cursor: pointer;
}

.raised_button {
  box-sizing: border-box;
  border-radius: 3px;

  font-size: 90%;
  width: 100%;
  margin: 1.5em 0 0 0;
  padding: 0.75em;
}

.raised_button.disabled {
  pointer-events: none;
  box-shadow: none;
  color: #9E9E9E;
  background-color: #E0E0E0;
}

a.raised_button {
  display: block;
  text-align: center;
}

.raised_button.mini {
  padding: 0.5em;
}

.action_button,
.action_button:active,
.action_button:focus {
  text-decoration: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.text_button {
  border: none;
  border-radius: 3px;
  background-color: transparent;

  font-size: 90%;
  width: 100%;
}

.text_button {
  margin: 1.5em 0 0 0;
  padding: 0.75em;
}

.text_button.outlined {
  border-radius: 3px;
  border: 2px solid;
}

.text_button.mini {
  padding: 0.5em;
}

.text_button:active {
  background-color: #90CAF9;
}

.action_icon {
  font-size: 36px;
  position: relative;
  vertical-align: middle;
  bottom: 2px;
}

@media only screen and (min-width : 64em) {
.raised_button {
  font-size: 100%;
  font-weight: 400;
  width: auto;
  margin: 0;
  padding: 0.250em 1em 0.250em 1em;
}

a.raised_button {
  display: initial;
}

.raised_button.mini,
.text_button.mini {
  font-size: 90%;
  margin: 0;
  padding: 0.1em 1em 0.1em 1em;
}

.raised_button:hover {
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.text_button {
  font-size: 100%;
  font-weight: 500;
  width: auto;
  margin: 0;
  padding: 0.250em 0.5em 0.250em 0.5em;
}

.page_submit button:not(:first-child) {
  margin-left: 2em;
}

.text_button:hover {
  background-color: #E3F2FD;
}
}


/* Checkboxes
========================================================================== */
.checkbox_label input[type="checkbox"],
.checkbox_label .checked {
  display: none;
}

.checkbox_icon {
  font-size: 24px;
  position: relative;
  vertical-align: middle;
  bottom: 2px;
}

.checkbox_icon:hover {
  opacity: 0.92;
}

.checkbox_label input[type="checkbox"]:checked ~ .checked {
  display: inline-block;
}

.checkbox_label input[type="checkbox"]:checked ~ .unchecked {
  display: none;
}

.checkbox_label {
  padding: 0 0 0 0.250em !important;
  position: relative;
}

.checkbox_label:after {
  content: "" !important;
}

.checkbox_native_control {
  display: none;
}


/* Radio buttons
========================================================================== */
.radio_label input[type="radio"],
.radio_label .checked {
  display: none;
}

.radio_icon,
.info_icon {
  font-size: 24px;
  position: relative;
  vertical-align: middle;
  bottom: 2px;
}

.radio_icon:hover,
.info_icon:hover {
  opacity: 0.92;
}

.radio_label input[type="radio"]:checked ~ .checked,
.radio_label input[type="radio"]:checked ~ .sizeselect .checked {
  display: inline-block;
}

.radio_label input[type="radio"]:checked ~ .unchecked,
.radio_label input[type="radio"]:checked ~ .sizeselect .unchecked {
  display: none;
}

.radio_label {
  padding: 0;
  position: relative;
}


.radio_label:after {
  content: "" !important;
}

.radio_native_control {
  display: none;
}


/* Icons
========================================================================== */
.material_icon {
  text-decoration: none;
  box-sizing: border-box;
  border: 0;
  line-height: 0;
  vertical-align: bottom;
}

.material_icon.blue {
  fill: #0066ff;
  stroke: #0066ff;
}

/* Modal
========================================================================== */
.modal::before {
  content: '';
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2000;
  text-align: center;
  display: none;
  /* Fallback for legacy browsers */
  background-color: rgba(0,0,0,0.6);
}

.modal > .content {
  position: fixed;
  top: 4em;
  text-align: left;
  font-size: 0.725em;
  font-weight: 400;
  text-decoration: none;
  background-color: #FFF;
  padding: 15px;
}

@media only screen and (min-width : 64em) {
  .modal::before {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin: 0;
  }

  .modal > .content {
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    width: 700px;
    padding: 20px;
    border-radius: 6px;
  }
}

.modal > .content .close-btn {
  position: absolute;
  top: 10px;
  right: 28px;
  width: 15px;
  height: 15px;
  font-size: 24px;
  text-decoration: none;
}

.target {
  display: block;
  left: 0;
  position: fixed;
  top: 0;
  width: 0;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Behaviour on legacy browsers */
.target:target + .modal {
  display: block;
}

/* Fallback for IE8 */
.modal.is-expanded {
  display: block;
}
.modal.is-expanded > .content {
  top: 50%;
  margin-top: -45px;
}

.icon {
  position: relative;
  vertical-align: middle;
  bottom: 2px;
  fill: #1976D2;
}

.hidden {
  display: none;
}

/* Clearfix by Nicolas Gallagher
========================================================================== */
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
