/*
Code is written by n-do.de for signmax.de
*/
/*
    Created on : Jan 11, 2014, 7:35:51 AM
    Author     : ndo84bw
*/
/* @import url("toolbar.css") all; */

/* variables */
/* https://coolors.co/33cc33-fbfbff-eaeaea-01baef-0b4f6c */
:root {
  --d17-color--accent: #33cc33;
  --d17-color--color1: #fbfbff;
  --d17-color--color2: #eaeaea;
  --d17-color--color3: #01baef;
  --d17-color--color4: #0b4f6c;
  --d17-color--border-dark: #1B1E34;
}
/* paps */
/* https://coolors.co/33cc33-fbfbff-eaeaea-353F59-2C354A */
:root {
  --d17-color--accent: #33cc33;
  --d17-color--color1: #fbfbff;
  --d17-color--color2: #eaeaea;
  --d17-color--color3: #353F59;
  --d17-color--color4: #2C354A;
  --d17-color--border-dark: #1B1E34;
}

.d17-color-text--accent {color:var(--d17-color--accent)}

body {
   font-family: sans-serif;
   font-size: 12px;
   -webkit-tap-highlight-color: rgba(0,0,0,0);
   -webkit-tap-highlight-color: transparent;
}

#td_nav, #td_main, #td_aside {
    display: block;
}

#trikotdesigner {
  background-color: #FF55FF;
  width: 1100px;
  margin: 0 auto;
}

#td_nav {
    background-color: green;
    width: 210px;
    float: left;
}

#td_main {
  background-color: orange;
  margin-left: 220px;
  margin-right: 230px;
}

#td_aside {
  background-color: #808000;
  width: 220px;
  float: right;
}

.d17-drawer-header {
  box-sizing: border-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 16px;
  background-color: var(--d17-color--color4);
}

.d17-navigation {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  background-color: var(--d17-color--color3);
}
.d17-layout .d17-navigation .mdl-navigation__link {
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 500;
}
.d17-layout .d17-navigation .mdl-navigation__link:hover {
  background-color: var(--d17-color--accent);
  color: var(--d17-color--color1);
}
.d17-navigation .mdl-navigation__link .material-icons {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.56);
  margin-right: 32px;
}

.mdl-badge.mdl-badge--overlap.thumb_typ_wrapper {
  margin-right:0px;
}

.mdl-badge.mdl-badge--overlap.thumb_typ_wrapper:after {
  right: 2px;
  top: 2px;
}

.thumb_typ_wrapper {
  display: inline-block;
  width: 20%;
  cursor: pointer;
}

.thumb_typ {
   /* float: left; */
   /* display: block; */
   /* width: calc(100% - 0px); */
   width: 100%;
   /* cursor: pointer; */

   /* border-radius: 1px; */
   /* margin: 0px; */
   transition: all 0.2s ease-out; /* explorer 10 */
   -webkit-transition: all 0.2s ease-out; /* chrome & safari */
   -moz-transition: all 0.2s ease-out; /* firefox */
   -o-transition: all 0.2s ease-out; /* opera */

   /* position:  absolute; */
   /* top: 0; */
   /* left: 0; */
   /* bottom: 0; */
   /* right: 0; */
   border-width: 1px;
   border-style: dashed;
   border-color: rgba(0, 0, 0, 0);
   border-radius: 5px;
}

.thumb_typ_active {
  border-color: var(--d17-color--color2);
  background-color: rgba(100, 100, 100, 0.2);
  transition: all 1s ease-out; /* explorer 10 */
  -webkit-transition: all 1s ease-out; /* chrome & safari */
  -moz-transition: all 1s ease-out; /* firefox */
  -o-transition: all 1s ease-out; /* opera */
}


.cl_table {
  display: table;
  width: calc(100%);
}

.cl_table_row {
  display: table-row;
}

.cl_table_cell {
  display: table-cell;
  width: 50%;
  height: calc(30px - 2*2px);
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  padding: 2px;

  /* border: 1px solid grey; */
  line-height: 0em;
}

.cl_table_cell span {
  display: block;
  text-align: right;
  width: 100%;
  color: white;
  font-size: 1.3em;
  text-decoration-color: var(--d17-color--accent);
  transition: text-decoration 0.2s ease-in-out; /* explorer 10 */
  -webkit-transition: text-decoration 0.2s ease-in-out; /* chrome & safari */
  -moz-transition: text-decoration 0.2s ease-in-out; /* firefox */
  -o-transition: text-decoration 0.2s ease-in-out; /* opera */
}

.cl_table_cell:nth-child(1) {
  padding-right: 5px;
}

.cl_table div.colorPickerItem {
  display: inline-block;
  width: calc(100% - 2*1px);
  margin: 0px;
  height: calc(100% - 2*1px);
  cursor: pointer;
  transition: all 0.2s linear; /* explorer 10 */
  -webkit-transition: all 0.2s linear; /* chrome & safari */
  -moz-transition: all 0.2s linear; /* firefox */
  -o-transition: all 0.2s linear; /* opera */
}

.cl_table div.colorPickerItem:hover {
  width: calc(100%);
  height: calc(100%);
}

.cl_table div.colorPickerItemActive {
  width: calc(100% - 0*1px) !important;
  height: calc(100% - 0*1px) !important;
  /* border: 1px solid var(--d17-color--accent); */
  -moz-box-shadow:    inset 0 0 10px #222;
  -webkit-box-shadow: inset 0 0 10px #222;
  box-shadow:         inset 0 0 10px #222;
}

.cl_table_cell span.colorPickerItemLabelActive {
  text-decoration: underline;
  text-decoration-color: var(--d17-color--accent);
}

#colorPalette {
  margin: 25px 8px 8px 8px;
  line-height: 0em;
  /* margin-top: 20px; */
}

.colorPaletteItem {
   display: inline-block;
   width: 36px;
   height: 36px;
   cursor: pointer;
   transition: box-shadow_ 0.2s linear; /* explorer 10 */
   -webkit-transition: box-shadow_ 0.2s linear; /* chrome & safari */
   -moz-transition: box-shadow_ 0.2s linear; /* firefox */
   -o-transition: box-shadow_ 0.2s linear; /* opera */
}

.colorPaletteItem:hover {
   display: inline-block;
   width: calc(36px - 2*1px);
   height: calc(36px - 2*1px);

   border: 1px solid grey;
   margin: 0px;
   cursor: pointer;
}

.colorPaletteItemActive {
  width: calc(36px - 2*1px) !important;
  height: calc(36px - 2*1px) !important;
  /* border-width: 0px !important; */
  border: 1px solid var(--d17-color--accent);
  -moz-box-shadow:    inset 0 0 10px #222;
  -webkit-box-shadow: inset 0 0 10px #222;
  box-shadow:         inset 0 0 10px #222;
}

#colorPalette_wrapper {
  width: 100%;
  height: 100%;
  background-color: var(--d17-color--color3);
  top: 0px;
  left: 0px;
  margin: 0px;
  z-index: 1;
  position: absolute;
  display: none;
}


#colorPalette_wrapper i.d17-close {
  float: right;
  cursor: pointer;
}

.workspace_on_click_action {
  cursor: pointer;
}

#d17-loading-cycle, #d17-loading-cycle-welcome {
  /* background-color: red; */
  /* color: yellow; */
  position: absolute;
  bottom: 10px;
  right: 10px;

}

div.designer-workspace .mdl-tooltip {
  text-align: left;
}

#d17-loading-cycle .mdl-spinner__layer-1 { border-color:var(--d17-color--accent) }
#d17-loading-cycle .mdl-spinner__layer-2 { border-color:var(--d17-color--accent) }
#d17-loading-cycle .mdl-spinner__layer-3 { border-color:var(--d17-color--accent) }
#d17-loading-cycle .mdl-spinner__layer-4 { border-color:var(--d17-color--accent) }

.d17-info-position {
  position: absolute;
  top: 20px;
  right: 20px;
}

.d17-tooltip--left-bottom {
  /* top: 80px !important; */
}

#designerTypeSwitcher > li, #designerTypeColorPalette > li {
  padding-top: 10px;
  padding-bottom: 10px;
}


li.inverterLi > span.mdl-list__item-secondary-action > label {
  padding-left: 40px;
}

li.motiveLi {
  padding-top: 0px;
  padding-bottom: 0px;
  min-height: 2em;
}

.motiveBtn {
  font-size: 1em;
}

.d17-header {
  background-color: var(--d17-color--color3);
  color: var(--d17-color--color1);
  /* box-shadow: none; */
}

.d17-content {
  max-width: 1080px;
  /* calc full width if workspace widt is target */
  max-width: calc(850px + (2/10)*850px);
  /* fix width of all and calculate workspace to get quadrat box */
  max-width: 1000px;

  /* max-width: 980px; */
  /* background-color: var(--d17-color--color4); */
  padding: 0px;
  border: 1px solid grey;
}

.designer-trikot, .designer-trikot svg {
  width: 100%;
  max-width: calc(1000px/12*10);
  min-height: 300px;
  max-height: calc(1000px/12*2*4)
}

.d17-main {
  background-color: var(--d17-color--color3);
}

.d17-workspace {
  /* background-color: var(--d17-color--color4); */
  position: relative;
}

#categoryBox-menu {
  background-color: var(--d17-color--color4);
}

.d17-category-menu-box {
  height: calc(25% - 0px);
}

.d17-category-menu-box .d17-category-menu-btn {
  /* color: var(--d17-color--color4); */
  border-color: var(--d17-color--border-dark);
  /* border-style: solid; */
  /* border-width: 1px; */
  border-top: 1px solid;
  border-left: 1px solid;
  border-right: 1px solid;
  display: block;
  height: 100%;
  cursor: pointer;
  position: relative;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.d17-category-menu-box .d17-category-menu-btn-active {
  background-color: var(--d17-color--accent);
  /* color: var(--d17-color--accent); */
}

.d17-category-menu-box:nth-child(1) .d17-category-menu-btn {
  background-image: url(../img/icon_designs.svg);
}
.d17-category-menu-box:nth-child(2) .d17-category-menu-btn {
  background-image: url(../img/icon_motives.svg);
}
.d17-category-menu-box:nth-child(3) .d17-category-menu-btn {
  background-image: url(../img/icon_options.svg);
}
.d17-category-menu-box:nth-child(4) .d17-category-menu-btn {
  background-image: url(../img/icon_save.svg);
}

.d17-drawer .d17-category-menu-btn-active {
  background-color: var(--d17-color--color2) !important;
  color: var(--d17-color--color4) !important;
}

#categoryBox-design > div.mdl-cell:nth-child(2) {
  border-left: 1px solid var(--d17-color--border-dark);
  border-right: 1px solid var(--d17-color--border-dark);
}

#categoryBox-design > div.mdl-cell:nth-child(1),
#categoryBox-design > div.mdl-cell:nth-child(3) {
  padding: 8px;
}

#categoryBox-design-select span, #categoryBox-option span {
  display: block;
  text-align: center;
  width: 100%;
  color: white;
  font-size: 1.3em;
  padding-top: 1em;
}

#categoryBox-design-select .mdl-textfield {
  /* padding: 0px; */
}

#categoryBox-motive {
  text-align: center;
  vertical-align: middle;
  color: white;
  font-size: 1.3em;
  padding-top: 1.3em;
}

.motive_action {
  stroke-opacity: 0.4;
  fill-opacity  : 0.4;
}

.motive_action:hover {
  stroke-opacity: 0.8;
  fill-opacity  : 0.8;
}

.motive_sym_action * {
  /* stroke-opacity: 1; */
  /* fill-opacity: 1; */
  /* fill: var(--d17-color--accent); */
}

.motive_active {
  stroke-opacity: 1 !important;
  fill-opacity  : 1 !important;
}

/* #sym_motiv_body_rear_pocket * {
  fill: var(--d17-color--accent);
} */

.d17-category-menu-box .d17-category-menu-btn span {
  position: absolute;
  bottom: 20%;
  left: 0;
  display: block;
  text-align: center;
  width: 100%;
  /* font-weight: bold; */
  color: white;
  font-size: 1.4em;
}

.d17-action-box {
  background-color: var(--d17-color--color4);
  border-top: 1px solid var(--d17-color--border-dark);
  /* height: cal(100vh - 56px - 4px - ); */
  min-height: 6em;
}

#corner-bottom-right{
  border-color: var(--d17-color--border-dark);
  border: 1px solid;
  min-height: 140px;
}

#corner-bottom-right-box {
  text-align: center;
}

.getmdl-select .mdl-textfield__input {
  background-color: var(--d17-color--color2);
  border-color: var(--d17-color--border-dark);
  border: 1px solid;
  padding-left: 5px;
  width: calc(100% - 2*1px - 5px);
}

.getmdl-select .mdl-icon-toggle__label {
  color: var(--d17-color--accent)
}

.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active {
  background-color: var(--d17-color--color4);
  color: var(--d17-color--color1);
}

.mdl-button, .mdl-tabs__tab {
  font-size: 1.2em;
  text-transform: none;
  /* padding: 0 7px; */
}

.mdl-button {
  line-height: 2em;
  transition: box-shadow .2s cubic-bezier(.4,0,1,1),
  background-color .2s cubic-bezier(.4,0,.2,1),
  color .2s cubic-bezier(.4,0,.2,1)
}

.mdl-tabs__tab {

}

.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active {
  background-color: var(--d17-color--color4);
  color: var(--d17-color--accent);
}

.mdl-tabs__tab-bar {
  background-color: var(--d17-color--color3);
  border-bottom: none;
}

#categoryBox-option {
  background-color: var(--d17-color--color4);
}

#designerDesignsContent {
  overflow-y: auto;
  overflow-x: auto;
  white-space: nowrap;
  padding-top: 5px;
  padding-bottom: 5px;
  /* position: absolute; */
  height: calc(100% - 5px - 5px);
}
/* DESKTOP */
@media (min-width: 840px) {
  #designerDesignsContent {
    /* height: 334px; */
    /* max-height: 100%; */
    /* max-height: calc(90vh); */
    /* max-height: calc(100% - 400px); */
    /* max-height: calc(100vh - 560px); */
    max-height: 300px;

  }
}

/* TABLET */
@media (max-width: 839px) and (min-width: 480px) {
  #designerDesignsContent {
    /* max-height: 10vh; */

  }
}

/* PHONE */
@media (max-width: 479px) {
  #designerDesignsContent {
    /* max-height: 10vh; */
    overflow-x: scroll;
  }
}

/*Old Stuff*/





.designer-container {
   width: 1140px;
}

.designer-header, .designer-footer {
   float: left;
   width: 100%;
   border-radius: 20px;
   background-color: black;
   /*border-style: solid;*/
   padding: 5px;
}

.designer-left {
   /*display: block;*/
   float: left;
   width: 905px;
}

.designer-right {
   /*display: block;*/
   float: right;
   width: 230px;
}

.designer-progress, .designer-title {
   min-height: 80px;
}

.designer-progress {
   background-color: coral;
   border-top-left-radius: 16px;
}

.designer-title, .designer-toolbar, .designer-progress, .designer-workspace {
  width: 100%;
  min-height: 400px;
}

.designer-title {
   background-color: orange;
   border-top-right-radius: 16px;
}

.designer-toolbar {
   background-color: #262626;
   border-bottom-right-radius: 16px;
}

.designer-designs {
   /*background-color: yellow;*/
   min-height: 100px;
   /*border-radius: 17px;*/
}

.clear {
   clear: both;
}

.dotted-botton-line {
   border-bottom: #aaaaaa dotted 2px;
}

.center {
   text-align: center;
}

/* fix because pulldown menue, if no fix a scrollbar is vissible */
div.mdl-textfield div.mdl-menu__container {
  bottom: 50px;
  height: 208px;
}

div.d17-content ::-webkit-scrollbar {
  width: 8px;
}

div.d17-content ::-webkit-scrollbar-button {
  /* background-color: red; */
  /* border: 1px solid var(--d17-color--border-dark); */
}

div.d17-content ::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: var(--d17-color--color3);
  border-top: 1px solid var(--d17-color--border-dark);
  border-bottom: 1px solid var(--d17-color--border-dark);

  /* border-radius: 10px; */
}

div.d17-content ::-webkit-scrollbar-thumb {
  /* border-radius: 10px; */
  /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); */
  border: 1px solid var(--d17-color--border-dark);
  background-color: var(--d17-color--color4);
}

#d17-overlay {
  width: 100vw;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  background-color: var(--d17-color--color4);
}

#d17-overlay-panel {
  margin: 10% auto 0 auto;
  width: 50vw;
  height: 50vh;
  /* min-width: 200px; */
  min-height: 400px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  border: 2px solid var(--d17-color--accent);
  position: absolute;
  left: 25%;
  -moz-box-shadow:    inset 0 0 10px #222;
  -webkit-box-shadow: inset 0 0 10px #222;
  box-shadow:         inset 0 0 10px #222;
}

.d17-type_btn {
  display: block;
  float: left;
  width: 200px;
  height: 200px;
  margin: 5px;
  background-color: grey;
  cursor: pointer;
}
