/* Component styles */
.component {
    line-height: 1.5em;
    margin: 0 auto;
    padding: 2em 0 3em;
    width: 90%;
    max-width: 1000px;
    overflow: hidden;
}
.component .filler {
    font-family: "Blokk", Arial, sans-serif;
    color: #d3d3d3;
}
table {
    border-collapse: collapse;
    margin-bottom: 1em;
    width: 100%;
    background: #fff;
}
td, th {
    padding: 0.35em 1.5em !important;
    text-align: center !important;
    border-radius: 0px !important;
}
td.err {
    background-color: #e992b9;
    color: #fff;
    font-size: 0.75em;
    text-align: center !important;
    line-height: 1;
}
th {
    background-color: #636363;
    font-weight: 300;
    color: #fff;
    white-space: nowrap;
    text-align: center !important;
}
tbody th {
    background-color: #636363;
}
thead {
    border-bottom: none !important;
}
thead th.compare{
    background-color: #939393;
}
tbody tr{min-height: 50px;}
tbody tr:nth-child(2n-1) {
    background-color: #f5f5f5;
    transition: all .125s ease-in-out;
}
tbody tr:hover {
    /*background-color: rgb(207,216,220);*/
}
th.divider, td.divider{background-color: #ffffff;}

/* For appearance */
.sticky-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    margin: 2em 0;
    width: 100%;
}
.sticky-wrap .sticky-thead,
.sticky-wrap .sticky-col,
.sticky-wrap .sticky-intersect {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .125s ease-in-out;
    z-index: 50;
    width: auto; /* Prevent table from stretching to full size */
}
.sticky-wrap .sticky-thead {
    box-shadow: 0 0.25em 0.1em -0.1em rgba(0,0,0,.125);
    z-index: 100;
    width: 100%; /* Force stretch */
}
.sticky-wrap .sticky-intersect {
    z-index: 150;

}
.sticky-wrap .sticky-intersect th, th.blank {
    background-color: #ffffff;
    color: #ffffff;
    width: 106px !important;
}
.sticky-wrap td,
.sticky-wrap th {
    box-sizing: border-box;
}

/* Not needed for sticky header/column functionality */
td.user-name {
    text-transform: capitalize;
}
.sticky-wrap.overflow-y {
    overflow-y: auto;
    max-height: 50vh;
}
tr.total{color: #000000; font-size: 1.25em;}
tr.total th{background: #ffffff; color: #000000; font-weight: 700;}

/**********   Form Styles ********/
.table-form input[type=text]{
    width: 40% !important;
    text-align: center;
    border-bottom: none;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    font-weight: 400;
    height: 2rem;
}
.table-form input[type=text]:hover{
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    background-color: #f5f5f5;
    box-shadow: 0 0 0 3px #bdbdbd inset;
}
input[type=text]:disabled{
    color: #000 !important;
    font-weight: 300;
}
input[type=text]:disabled:hover{
    box-shadow: none;
    background-color: transparent !important;
}
td.ord, td.tot, td.ant-o, td.ant-p{
    color: #a1887f;
}
td.model-sum{font-weight: 700;font-size: 1em;}

.man::-webkit-input-placeholder {
    color: #009688 !important;
}

.man:-moz-placeholder { /* Firefox 18- */
    color: #009688  !important;
}

.man::-moz-placeholder {  /* Firefox 19+ */
    color: #009688  !important;
}

.man:-ms-input-placeholder {
    color: #009688  !important;
}
span#man-sum{
    color: #009688;
}
.reg::-webkit-input-placeholder {
    color: #009688 !important;
}

.reg:-moz-placeholder { /* Firefox 18- */
    color: #009688  !important;
}

.reg::-moz-placeholder {  /* Firefox 19+ */
    color: #009688  !important;
}

.reg:-ms-input-placeholder {
    color: #009688  !important;
}
span#reg-sum{
    color: #009688;
}
/*input[value="Välj"],*/ li.disabled span{color: #9e9e9e !important;}
tbody tr:nth-child(2n-1) td:nth-child(4), tbody tr:nth-child(2n-1) td:nth-child(5), tbody tr:nth-child(2n-1) td:nth-child(7), tbody tr:nth-child(2n-1) td:nth-child(9), tbody tr:nth-child(2n-1) td:nth-child(10), tbody tr:nth-child(2n-1) td:nth-child(11), tbody tr:nth-child(2n-1) td:nth-child(12)
{
    background-color: #EDFFFD;
}
table.veckorapport tbody tr:last-child{background-color: #e0e0e0;}
table.veckorapport tbody tr:last-child td:nth-child(n+4){background-color: #e0e0e0 !important;}
span.month{font-weight: 700; text-transform: uppercase;}
th{
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
th, td{padding: 0.35em 0.5em !important; font-size: 0.8em;}
th a{color: white;}
th.divider, td.divider{padding: 0.35em 0.15em!important;}

