/*
    Responsible for spacing et cetera in the normal view
*/

nav#menu {
    background: #155aaa; /* url(bg.png) */
    background-size: 250px 250px;
    background-position: 40px -70px;
    box-shadow: inset -2px 0px 6px rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    width: 150px;
    text-align:center;
}

nav#menu ul:first-child {
    margin: -1px 0px 0px 0;
    overflow:hidden;
    padding: 0 0 1px 0;
}

nav#menu ul:first-child li {
    display: block;
    width: 100%;
}

nav#menu ul:first-child li a {
    display: block;
    width: 100%;

    padding: 20px 0 20px 0;
    margin: 1px 0 0 0;
    background: none;
    border-bottom: 1px solid rgba(0,0,0,0.35);
    outline: 1px solid rgba(255,255,255,0.15);

    text-align: center;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #d7e5f3;
    text-shadow: 0px 1px 0px rgba(0,0,0,0.3);

    -webkit-transition: background 0.2s ease-in-out;
    -moz-transition: background 0.2s ease-in-out;
    -o-transition: background 0.2s ease-in-out;
    -ie-transition: background 0.2s ease-in-out;
    transition: background 0.2s ease-in-out;
}

nav#menu ul:first-child li a:hover {
    background: rgba(255,255,255,0.1);
}

nav#menu ul:first-child li a.current{
    background: rgba(27,75,130,0.55) !important;
    color: #eef7ff;
    position: relative;
    z-index: 99;
    margin: 0px  !important;
    outline: none  !important;
    box-shadow: inset 0px 1px 3px rgba(0,0,0,0.35);
}

body > button {
  position: fixed;
  bottom: 30px;
  left: 0;
  margin: 0;
  padding: 0;
  width: 150px;
  border: none;
  background: none;
  font-weight: normal;
  font-size: 35px;
  color: #fff;
  text-shadow: 0px 1px 0px rgba(0,0,0,0.4);
  opacity: 0.8;
  z-index: 999999;
  outline: none;
  -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    -ie-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

body > button.blur {
    pointer-events: none;
    opacity: 0.3;
}

body > button:hover, body > button.active {
    opacity: 1;
}

body > button:active{
    bottom: 28px;
}

body > button::before {
    content: "";
    display: inline-block;
    position:relative;
    top: -0.4em;
    width: 1em;
    height: 0.15em;
    background: white;
    box-shadow:
            0 0.33em 0 0 white,
            0 0.65em 0 0 white;
}

body > button.notification::after {
    content: '!';
    background: #e93e3e;
    height: 25px;
    width: 25px;
    border-radius:25px;
    color: #fff !important;
    text-shadow: none !important;
    font-size: 21px;
    display: block;
    font-weight: bold !important;
    position: absolute;
    top: 0;
    left: 0;
    right: -40px;
    margin: 0 auto;
    box-shadow: 0px 1px 0px rgba(0,0,0,0.4);
    border: 1px solid #c63030;
    opacity: 1 !important;
}

#sidemenu {
    display: none;
    position: fixed;
    left: 135px;
    min-width: 250px;
    bottom: 20px;
    background: #fff;
    box-shadow: 0px 1px 4px rgba(0,0,0,0.6);
    text-align: left;
    z-index: 99999;
    border-radius: 4px;
    padding: 0px 20px;
}

#sidemenu a {
    border: none;
}

#sidemenu > h2 {
    margin: 0 -20px;
    padding: 10px 20px;
}

#sidemenu > h2:first-of-type {
    border-radius: 4px 4px 0 0;
    border-top: none;
    margin-top: 0;
}

#sidemenu > ul li:last-of-type {
    border-radius: 0 0 4px 4px;
}

#sidemenu > h2 a {
    float: right;
    text-decoration: none;
    color: #fff;
    background: #ccc;
    width: 24px;
    height: 24px;
    font-size: 25px;
    border-radius: 25px;
    text-align: center;
    line-height: 22px;
    opacity: 0.6;
}

#sidemenu > h2 a:hover {
    opacity: 1;
}

#sidemenu > h2 time {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: normal;
    display: block;
    float: right;
    margin: 3px 0 0 20px;
}

#sidemenu > ul {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0;
}

#sidemenu > ul li {
    margin: 0 -20px ;
    padding: 10px 20px;
    background: none;
    border: none;
    border-radius: 0px;
}

#sidemenu > ul li::before{
    display: none;
}

#sidemenu > ul li:nth-of-type(2n) {
    background: #f8f8f8;
}

#sidemenu > ul li span.saldo {
    float: right;
    color: #e93e3e;
    font-weight: bold;
    font-size: 100%;
    padding: 0;
}

#sidemenu > ul.kaslades li a {
    float: right;
    text-decoration: none;
    text-transform: uppercase;
    font-size:12px;
    color: #ccc;
    padding: 2px 5px;
    margin: 0;
}

#sidemenu > ul.kaslades li a:hover {
    color: #fff;
    background: #e93e3e;
    border-radius: 4px;
}

#sidemenu::before {
    content: "\25c4";
    color: #fff;
    font-size: 40px;
    text-shadow: -2px 1px 2px rgba(0,0,0,0.3);
    position: fixed;
    bottom: 20px;
    margin:  0 0 0 -53px;
    z-index: -1;
}

#sidemenu.show {
    display: block;
}

#sidemenu [id*=korting_status_]{
    float:right;
}




div#content {
    margin-left: 175px;
    padding: 0 0 100px 0;
    box-sizing: border-box;
}

div.panel {
    position: relative; /* To allow children to position themselves w.r.t. this element */
    margin: 0;
    padding: 0;
}

h2 {
    width: inherit;

    background: #f4f4f4; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #f4f4f4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f4f4f4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#f4f4f4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#f4f4f4 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%,#f4f4f4 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */

    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    /*box-shadow: inset 0px 1px 1px rgba(0,0,0,0.2);*/
    padding: 10px 27px 10px 27px;
    margin: -1px 0 15px -25px;

    font-weight: bold;
    font-size: 18px;
}

input[type=submit], .button {
    padding: 10px 16px 10px 16px !important;

    background: #f7f7f7; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #f4f4f4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f4f4f4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#f4f4f4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#f4f4f4 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%,#f4f4f4 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */

    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
    outline: none;

    color: #5d5d5d;
    font-family: "Open Sans", "Helvetica Neue", "Arial", sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

input[type=submit]:hover, .button:hover {
    background: #f7f7f7; /* Old browsers */
    background: -moz-linear-gradient(top, #fbfbfb 0%, #eeeeee 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fbfbfb 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fbfbfb 0%,#eeeeee 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fbfbfb 0%,#eeeeee 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fbfbfb 0%,#eeeeee 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbfbfb', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
}

input[type=submit]:active,  .button:active {
    background: #e9e9e9; /* Old browsers */
    background: -moz-linear-gradient(top, #f4f4f4 0%, #e9e9e9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f4f4f4), color-stop(100%,#e9e9e9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f4f4f4 0%,#e9e9e9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f4f4f4 0%,#e9e9e9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f4f4f4 0%,#e9e9e9 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f4f4f4 0%,#e9e9e9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#e9e9e9',GradientType=0 ); /* IE6-9 */
}

.button.active {
    background: #ddd; /* Old browsers */
    background: -moz-linear-gradient(top, #ddd 0%, #e9e9e9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ddd), color-stop(100%,#e9e9e9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ddd 0%,#e9e9e9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ddd 0%,#e9e9e9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ddd 0%,#e9e9e9 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ddd 0%,#e9e9e9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd', endColorstr='#e9e9e9',GradientType=0 ); /* IE6-9 */
    box-shadow: inset 1px 2px 5px rgba(0,0,0,0.35);
}

input[type=submit]:disabled {
    color: #ccc;
}

.button {
    display: inline-block;
    padding: 4px 10px 4px 10px;
}

input[type=submit].button-large,
.button.button-large {
    margin-right: 12px;
    margin-bottom: 12px;
    font-size: 1.2em;
    padding: 4px 8px;
}

div.columns {
    -moz-column-count:3; /* Firefox */
    -webkit-column-count:3; /* Safari and Chrome */
    column-count:3;
    padding: 0 40px 0 0;
}

@media (max-width: 1300px){
    div.columns {
        -moz-column-count:2; /* Firefox */
        -webkit-column-count:2; /* Safari and Chrome */
        column-count:2;
    }
}

@media (max-width: 900px){
    div.columns {
        -moz-column-count:1; /* Firefox */
        -webkit-column-count:1; /* Safari and Chrome */
        column-count:1;
    }
}

div.halfblock {
    width: 99%;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    float: left;
    box-shadow: 0px 2px 3px rgba(0,0,0,0.1);
    margin: 5px 2% 20px 0;

    -webkit-column-break-inside: avoid;
    -moz-column-break-inside:avoid;
    -moz-page-break-inside:avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}


div.halfblock h3 {
    margin: 0;
    padding: 7px 15px;

    background: #f4f4f4; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #f4f4f4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f4f4f4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#f4f4f4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#f4f4f4 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%,#f4f4f4 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */

    border-bottom: 1px solid #ccc;

    font-size: 14px;
    font-weight: bold;
}

div.halfblock ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

div.halfblock ul li {
    border-bottom: 1px solid #ccc;
    padding: 0;
    margin: 0;
}

div.halfblock ul li:last-child { border-bottom: none; }

div.halfblock ul li a {
    padding: 10px 15px;
    margin: 0;
    display: block;
    width: 100%;
    height: auto;
    text-decoration: none;
    color: #777;
    background: #fff;
    border: none !important;
}

div.halfblock ul li a:hover {
    color: #2e9fff;
    background: #f7f7f7;
}


div.account_searcher {
    /*margin: 0.3em;
    position: relative;*/
}

input.account_searcher {
    padding: 0px 15px 0px 50px !important;
    height: 53px;
    margin: 0 0 0 2px;
    width: 95% !important;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    border: none;
    border-radius: 0;
    outline: none;

    border-bottom: 3px solid #2e9fff;
    -webkit-appearance: none;
    box-shadow: 0px 0px 2px rgba(0,0,0,0.4);
    padding: 10px 15px 10px 35px;
    position: relative;
    z-index: 15;
    font-family: "Open Sans", "Helvetica Neue", "Arial", sans-serif;
}

div#tapper_1_select input {
    border-bottom: none;
    z-index: 99;
}

div#tapper_1_select ul.account_searcher_names {
    z-index: 98;
}

div#tapper_1_select div.icon-search::before {
    z-index: 100;
}

ul.account_searcher_names {
    list-style: none;
    padding: 0;
    margin: -3px 0 0 2px;
    right: 340px;
    left: 175px;

    position: absolute;
    z-index: 10;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
}

ul.account_searcher_names li {
    padding: 10px 15px 12px 15px;
    background: #3d4044;
    color: #c2c8cf;
    border:none;
    font-size: large;

    opacity: 0.95;
}

ul.account_searcher_names li b {
    color: #fff;
}

ul.account_searcher_names li:nth-child(2n-1) { background: #45494f }
ul.account_searcher_names li:first-child { padding: 15px 15px 10px 15px; box-shadow: inset 0px 6px 3px rgba(0,0,0,0.2);}
ul.account_searcher_names li:last-child, ul.account_searcher_names { border-radius: 0px 0px 5px 5px; }
ul.account_searcher_names li:active { opacity: 0.95;}
ul.account_searcher_names li:nth-child(2n-1):active{ opacity: 0.90;}


ul.account_searcher_names li.selected {
    background: #5a5e64;
}

.blur #menu, 
.blur #content > *:not(#login), 
body > button.blur, 
.blur #logo {
 /*   filter: url("blur.svg#gaussian_blur");
    -webkit-filter: blur(4px);
    -o-filter: blur(5px);
    filter: blur(4px);*/
}
.blur h2 {position: relative; z-index: -1;}

.blur #content > *:not(#login) .pulse::before, 
.blur #content > *:not(#login) .pulse::after { 
    display: none; 
}

div#overlay{
    position:fixed;
    top:0;
    bottom:0;
    left: 0;
    right:0;
    background:rgba(0,0,0,0.4);
    z-index: 9998;
    display: none;
}

div#overlay.show {
    display: block;
}

form > div.login, div.popup {
    background: #fff;
    max-width: 300px;
    padding: 25px 30px 22px 30px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 100px auto 0 auto;
    z-index: 9999;
    text-align: center;
}

div.popup {
    padding: 0px;
    text-align: center;
}

div.login input[type="text"],input[type="password"] {
    display: block;
    border: none;
    outline: none;
    background: #eef4f6;
    padding: 10px 20px 10px 45px;
    margin: 5px 0px;
    width: 235px;
}

input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px #eef4f6 inset;
    -webkit-text-fill-color: #333;
}

form > div.login input[type=checkbox] {
    display: none;
}

form > div.login #close, div.popup #close {
    background: #000;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 2px solid white;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.5);
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 21px;
    line-height: 19px;
    position: absolute;
    top: 0;
    right: 0;
    margin: -10px -10px 0 0;
    cursor: pointer;
}

ol#autorisaties {
    margin: 10px 0 10px 0;
    padding: 0;
    width: 100%;
    text-align:center;
}

.users .block, ol#autorisaties li {
    display: inline-block;
    padding: 0 !important;
    text-align: center;
    text-shadow: 0px 1px 0px rgba(0,0,0,0.4);
    color: #fff;
    margin: 0px 3px;
    width: 80px;
    height: 80px;
    border-radius: 80px;
    background: #aaa;
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 1);
}

ol#autorisaties li, .users.small .block {
    background: #377cc2;
    width: 80px;
    height: 80px;
    border-radius: 80px;
    margin: 0px 1px;
}

.users .block.selected {
    background-color: #377cc2;
}

.users .block.selected::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: inherit;
    background-color: #377cc2;
    opacity: 0.5;
}

ol#autorisaties li.sb, .users .block.selected.sb { background: #6ab8e9; }
ol#autorisaties li.tapper, .users .block.selected.tapper { background: #509deb; }

ol#autorisaties li span, .users .block span {
    display: block;
    font-size: 14px;
    max-width: 70px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 4px;
    right: 0px;
    transform: translateY(-50%);
    padding: 0;
    margin: 0;
    overflow: hidden;
    z-index: 2;
    font-weight: bold;
}

ol#autorisaties li span, .users.small .block span {
    max-width: 70px;
    font-size: 13px;
}

ol#autorisaties li a {
    display: none;
    background: #e93e3e;
    position: absolute;
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    width: 80px;
    height: 80px;
    text-align: center;
    line-height:76px;
    border-radius: 80px;
    border: none !important;
    z-index: 3;
}

ol#autorisaties li:hover a {
    display:block;
}

ul.messages {
    padding: 0;
    margin: 0 0 10px 0;
}

#content > ul.messages {
    width: 95%;
}

form > p.right {
    text-align:right;
    display: block;
    width: 95%;
    margin: 1em 0 0 5px;
}

/* product list */
div#productlist {
    padding: 10px;
    background:#eee;
    box-shadow: inset 1px 3px 5px rgba(0,0,0,0.3);
    border-radius: 10px;
    left: 175px;
    top: 70px;
    right: 380px;
    position: absolute;
    bottom: 15px;
}

div#productlist_products {
    margin: 0px;
    line-height: 0px;
    overflow: auto;
    overflow-x: hidden;
    
    position: absolute;
    top: 70px;
    padding-top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

div#productselection {
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0px;
    width: 358px;
    z-index: 99;
}

div#productselection.warning tr.totals #prods_price_total {
     color: #e93e3e;
}
/* Fake disabled state */
div#productselection.warning > input[type=submit] {
    color: #ccc;
}

div#productselection table {
    width: 100%;
}

div#productselection table textarea {
    width: 90%;
    height: 4em;
}

#content div.productblock {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    display: inline-block;
    margin: 0 1.5% 1.5% 0;
    opacity: 0.85;
    position: relative;
    -webkit-transition: opacity 0.1s ease-in-out;
    -moz-transition: opacity 0.1s ease-in-out;
    -o-transition: opacity 0.1s ease-in-out;
    -ie-transition: opacity 0.1s ease-in-out;
    transition: opacity 0.1s ease-in-out;

    box-shadow: 0px 0px 1px rgba(0,0,0,1);
}

/* resized behavior */
@media only screen and (max-width : 550px) { #content div.productblock { width: 100%; padding-bottom: 100%; margin: 0 0 5px 0; } }
@media only screen and (max-width : 750px) and (min-width : 550px) { #content div.productblock { width: 48%; padding-bottom: 48%; margin: 0 2% 2% 0;}}
@media only screen and (max-width : 1150px) and (min-width : 750px) { #content div.productblock {width: 23.5%; padding-bottom: 23.5%;}}
@media only screen and (max-width : 1350px) and (min-width : 1150px) { #content div.productblock {width: 23.5%; padding-bottom: 23.5%;}}
@media only screen and (min-width : 1350px) { #content div.productblock { width: 18.5%; padding-bottom: 18.5%; margin: 0.5%;}}

#content div.productblock:active {
    opacity: 0.6;
}

#content div.productblock p {
    position: absolute;
    bottom: -14px;
    padding: 2px 8px 2px 6px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    left: 0px;
    font-size: 14px;
    line-height: 20px !important;
    max-width: 100%;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    color: #fff;
    text-shadow: 0px 1px 0px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    position: absolute;
    right: 0px;
    width: 343px;
    bottom: 0px;
    top: 0px;
    z-index: 2;
    border-left: 1px solid #ccc;
    background: rgba(0,0,0,0.02);

    font-size: 18px;
    font-weight: bold;
    padding: 10px 0 0 15px;
    text-align: left;
}

#productselection_table {
    box-shadow: none;
    background: none;
}

#productselection_table th {
    color: #555 !important;
    border-radius: 0px !important;
}

#productselection_table tr td {
    border: none !important;
    border-radius: 0px !important;
}

#productselection_table tbody tr td,#productselection_table tfoot tr > * {
    padding: 10px 0 10px 0;
}

#productselection_table tbody tr td:first-child,#productselection_table tfoot tr > *:first-child {
    padding-left: 15px;
}

#productselection_table tbody tr:nth-of-type(2n-1) {
    background: white;
}

#productselection_table tfoot th {
    background: none;
    border: none;
}

.removeProduct, .editPrice, #use_custom_price_button, #use_default_price_button, .bijsponsoren:before {
    font-family: "icons";
    margin-left: 10px;
    margin-right: 15px;
    color: #9f9f9f;
    cursor: pointer;
    border: none !important;
}

.removeProduct{
    color: #e93e3e !important;
}

.editPrice{
    color: #e93e3e;
}

.bijsponsoren:before {
    color: #509deb;
}

.bijsponsoren {
    color: #509deb;
    display: none;
}

#productselection_table tfoot tr.totals::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    background: #ccc;
    height: 2px;
}

.moreLink {
    text-decoration: none;
    margin: 15px 0 0 15px;
    display: inline-block;
    border-bottom: 1px dotted;
    cursor: pointer;
}

#payments,
#pricing_schemes {
    box-shadow: none;
    border-radius: 0px;
    background: none;
}

#payments th,#payments td,
#pricing_schemes th,#pricing_schemes td  {
    background: none !important;
    color: #555 !important;
    border: none;
}

#payments tr:nth-of-type(2n) td {
    background: #fff !important;
}

#payments th:first-of-type h2,
#pricing_schemes th:first-of-type h2 {
    margin: 10px -15px -10px -15px;
    position: relative;
    z-index: 1;
    text-align: left;

    background: #f7f7f7; /* Old browsers */
    background: -moz-linear-gradient(top, #fbfbfb 0%, #eeeeee 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fbfbfb 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fbfbfb 0%,#eeeeee 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fbfbfb 0%,#eeeeee 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fbfbfb 0%,#eeeeee 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbfbfb', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */

}

span[id*=payment_check] img {
    padding-left: 0;
    margin-bottom: -3px;
}

#saldorow th {
    white-space:nowrap;
    color:#aaa !important;
}

.popup > * {
    margin-left: 20px;
    margin-bottom: 15px;
}

.popup > div {
    text-align: center;
}

.popup > div, .popup > h2, .popup > input {
    margin-left: 0;
}

.popup > input {
    display: inline-block;
    margin-bottom: 15px;
}



div.numpadRow:first-of-type {
    width: 100%;
    margin-right: -15px;
    border-bottom: 1px solid #ccc;
}

div.numpadRow {
    border-top: 1px solid #ccc;
}

div.numpadRow > input.big {
    width: 33.3333%;
    height: 40px;
    border: none;
    border-right: 1px solid #ccc;
    background: none;
    margin: 0;
    padding: 0;
}

div.numpadRow > input.big:hover {
    background: #f4f4f4;
}

div.numpadRow > input.big:active {
    background: #ddd;
}

div.numpadRow > input.big:last-of-type{
    border: none;
}

div.numpadRow > input.button {
    margin: 10px;
    padding: 14px 20px 14px 20px !important;
}

#productlist_category_menu > div p.title {
    font-family: 'icons';
    font-size: 18px;
    margin: 4px 0px;
    text-align: center;
    width: 22px !important;
}

#productlist_category_menu {
    white-space: nowrap;
    box-shadow: 0px 7px 7px rgb(238, 238, 238);
    z-index: 999;
    position: relative;
}

@media (max-width: 1100px){
    .sidebar {
        width: 288px;
    }

    div#productselection {
        width: 303px;
    }

    #productlist {
        right: 325px !important;
    }
}

div#productselection .messages {
    padding: 15px !important;
}

#logo {
    width: 70%;
    max-height: 80%;
    position: fixed;
    z-index: -1;
    bottom: -10%;
    right: -17%;
    opacity: 0.04;
    transform:rotate(10deg);
    -ms-transform:rotate(10deg);
    -webkit-transform:rotate(10deg);
}

#complete_payment_button {
    border: none;
}

#bijsponsorUsers {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}


/* kleinere versie voor lage resoluties */
@media (max-height: 560px), (max-width: 950px){
    nav#menu {
        width: 104px;
    }

    nav#menu ul:first-child li a, body.drago nav#menu ul:first-child li a, body.drago nav#menu ul:first-child li a.current {
        padding: 15px 0;
        font-size: 10px;
        color: rgba(255,255,255,0) !important;
        text-shadow: none !important;
        width: 104px;
        display: block;
    }

    nav#menu ul:first-child li a::before {
        font-size: 40px;
        margin-bottom: -15px;
    }

    div#content {
        margin-left: 129px !important;
    }

    body > button {
        width: 104px;
    }

    div.columns {
        padding: 0 25px 0 0;
    }

    #productlist {
        left: 120px !important;
    }

    ul.account_searcher_names {
        left: 129px;
        right: 3.5%;
    }

    .sidebar {
        width: 208px;
    }

    div#productselection {
        width: 223px;
    }

    #productlist {
        right: 245px !important;
    }
}


.nfc-only {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
    background: white;
}

.nfc-only h4 {
    margin-bottom: 5px;
}
.nfc-only p.right {
    float: left;
    width: 100%;
    margin-top: 30px;
}

.nfc-only .pulse, .nfc-only .pulse + span {
    float: none !important;
}

.nfc-only .pulse {
    margin-bottom: -2px;
}

.pulse {
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    height: 14px;
    width: 14px;
    margin: 12px;
    display: inline-block;
    z-index: -2;
    text-align: left;
}
.pulse:after,
.pulse:before {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -13px 0 0 -13px;
    -webkit-animation: pulsate 2s ease-out;
    -moz-animation: pulsate 2s ease-out;
    -o-animation: pulsate 2s ease-out;
    -ms-animation: pulsate 2s ease-out;
    animation: pulsate 2s ease-out;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -webkit-box-shadow: 0 0 1px 2px #89849b;
    box-shadow: 0 0 1px 2px #89849b;
}
.pulse:before {
    -webkit-animation-delay: 0.4s !important;
    -moz-animation-delay: 0.4s !important;
    -o-animation-delay: 0.4s !important;
    -ms-animation-delay: 0.4s !important;
    animation-delay: 0.4s !important;
}
.pulse + span {
    font-weight: bold;
    font-size: 13px;
}
.pulse.scanned {
    animation: none;
    opacity: 1;
    content: '';
    width: 5px;
    box-shadow: none;
    border-radius: 0px;
    height: 10px;
    border: solid #1fab6e;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    margin: 12px 15px 0 15px;
    background: none;
}

.pulse.scanned:after, .pulse.scanned:before {
    -webkit-box-shadow: 0 0 1px 2px rgba(31, 171, 110, 0.5);
    box-shadow: 0 0 1px 2px rgba(31, 171, 110, 0.5);
    margin: -12px 0 0 -14px;
}

@-moz-keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        -moz-transform: scale(0.1, 0.1);
        -o-transform: scale(0.1, 0.1);
        -ms-transform: scale(0.1, 0.1);
        transform: scale(0.1, 0.1);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
    }
    30% {
        opacity: 1;
        -ms-filter: none;
        filter: none;
    }
    60% {
        -webkit-transform: scale(1.2, 1.2);
        -moz-transform: scale(1.2, 1.2);
        -o-transform: scale(1.2, 1.2);
        -ms-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
    }
}
@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        -moz-transform: scale(0.1, 0.1);
        -o-transform: scale(0.1, 0.1);
        -ms-transform: scale(0.1, 0.1);
        transform: scale(0.1, 0.1);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
    }
    30% {
        opacity: 1;
        -ms-filter: none;
        filter: none;
    }
    60% {
        -webkit-transform: scale(1.2, 1.2);
        -moz-transform: scale(1.2, 1.2);
        -o-transform: scale(1.2, 1.2);
        -ms-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
    }
}
@-o-keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        -moz-transform: scale(0.1, 0.1);
        -o-transform: scale(0.1, 0.1);
        -ms-transform: scale(0.1, 0.1);
        transform: scale(0.1, 0.1);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
    }
    30% {
        opacity: 1;
        -ms-filter: none;
        filter: none;
    }
    60% {
        -webkit-transform: scale(1.2, 1.2);
        -moz-transform: scale(1.2, 1.2);
        -o-transform: scale(1.2, 1.2);
        -ms-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
    }
}
@keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        -moz-transform: scale(0.1, 0.1);
        -o-transform: scale(0.1, 0.1);
        -ms-transform: scale(0.1, 0.1);
        transform: scale(0.1, 0.1);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
    }
    30% {
        opacity: 1;
        -ms-filter: none;
        filter: none;
    }
    60% {
        -webkit-transform: scale(1.2, 1.2);
        -moz-transform: scale(1.2, 1.2);
        -o-transform: scale(1.2, 1.2);
        -ms-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
    }
}