/* ---- button ---- */

.button {
    display: table-cell;
    vertical-align: middle;
    padding: 0.5em 1.0em;
    border: none;
    border-radius: 7px;
    overflow:hidden;
    display:inline-block;
    text-overflow: ellipsis;

    font-family: sans-serif;
    font-size: 16px;
    text-shadow: 0 1px white;
    cursor: pointer;
}

.buttonActive {
    font-weight: bold !important;
    color: #FFCC33;
    border: 4px solid white;
}   


/* ---- button-group ---- */

.button-group:after {
    content: '';
    display: block;
    clear: both;
}

.button-group .button {
    float: left;
    border-radius: 0;
    margin-left: 0;
    margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; }
.button-group .button:last-child { border-radius: 0 0.5em 0.5em 0; }

/* ---- .element-item ---- */

.element-item {
    position: relative;
    float: left;
    margin: 2px;
    padding: 3px;
    color: #262524;
}

.single {
    width: 102px;
    height: 80px;
    display: -webkit-box;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
}

.dbl {
    width: 102px !important;
}

.double {
    width: 200px;
    height: 80px;
}

.icon-left {
    position: absolute;
    right: 10px;
}

.triple {
    width: 316px;
    height: 80px;
}

.triple.errors {
    height: auto;
    min-height: 70px;
    width: 90%;
}

.element-item > * {
    margin: 0;
    padding: 0;
}

.element-item .name {
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: normal;
    overflow: hidden;
    display: inline-block;    
}

.element-item .symbol {
    position: absolute;
    left: 10px;
    top: 0px;
    font-size: 42px;
    font-weight: bold;
    color: white;
}

.newrow {
    clear: left;
}

.productalert {
    background-color: red;
    color: white;
    clear: left;
    padding-top: 30px;
    padding-bottom: 30px;
}

.element-item .number {
    text-align: right;
    position: absolute;
}

.element-item .weight {
    position: absolute;
    left: 10px;
    top: 76px;
    font-size: 14px;
}

span.red, span.lightblue, span.blue, span.green, span.magenta, span.orange,span.grey,span.yellow,span.black {
    min-width: 120px;
    display: inline-block;
    border-radius: 2px;
    padding: 3px;
    text-align: center;
}
    
.blue       { background: #2980b9; color: white;}
.lightblue  { background: #009DE2; color: white;}
.magenta    { background: #E80883; color: white;}
.white      { background: white; color: black;}
.orange     { background: #e67e22; color: white;}
.green      { background: #27AE60; color: white;}
.red        { background: #d35400; color: white;}
.yellow     { background: #FFCC33; color: black;}
.black      { background: black; color: white;}
.grey       { background: gainsboro; color: black;}
.transparent{background: transparent;color: transparent;border: 0px !important;!i;!;!o;!;box-shadow: none !important;!i;!;}


.item {
    width: 100%;
    margin-bottom: 8px;
    -webkit-column-break-inside: avoid; /* Chrome, Safari */
    page-break-inside: avoid;           /* Theoretically FF 20+ */
    break-inside: avoid-column;         /* IE 11 */
    display:table;                      /* Actually FF 20+ */
    overflow: auto;
    display: block;
}

.masonry {
     -webkit-column-count: 1;
     -moz-column-count: 1;
          column-count: 1;
    padding-right: 10px;
}

/*.masonry ul {
     -webkit-column-count: 1;
     -moz-column-count: 1;
          column-count: 1;    
}*/

/* Nexus size */
@media (min-width: 550px) {
  .masonry {
     -webkit-column-count: 2;
     -moz-column-count: 2;
          column-count: 2;
  }  
}

/* Qkassa size */
@media (min-width: 800px) {
  .masonry {
     -webkit-column-count: 3;
     -moz-column-count: 3;
          column-count: 3;

  }
}

#products li h3 {
    word-break: break-word;
    white-space: normal;
 }

