@charset "utf-8";

*{
    margin: 0;
    padding: 0;
}
/*
body{
    //background: linear-gradient(#01012e,#a12223);//
    background: #650917;
    height: 100vh;
    font-family: system-ui;
}

p {
    color: #e0cbce;
}

li {
    color: #e0cbce;
}
h1, h2, h3, h4, h5, h6 {
    color: #e0cbce;
}
label {
    color: #e0cbce;
}
*/
.color_block {
    /*background-color: #fdfdfe;*/
    color: #077efe;
    font-size: 100%;
}
.color_utips {
    background-color: #d6d8db;
    color: #077efe;
    font-size: 100%;
}
.color_udda {
    background-color: #f8f9ff;
    color: #2a3036;
    font-size: 100%;
}
.color_jamna {
    background-color: #b8daff;
    color: #2a3036;
    font-size: 100%;
}
.color_delete {
    background-color: #ff0000;
    color: white;
    font-size: 100%;
}
.color_blue {
    background-color: #d6d8db;
    color: #077efe;
}


ul{
    text-align: left;
    list-style-position: inside;
}
ul li{
    /*list-style: none;*/
    padding: 5px;
}

/*
section{
    background: url(../img/stars.png);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul{
    text-align: left;
}
ul:hover li a{
    opacity: 0;

}
ul li{
    list-style: none;
    margin: 14px 0;
}
ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 4px;
    background: darkblue;
    padding: 6px 15px;
    border-radius: 20px;
    display: inline-block;
    text-transform: uppercase;
    width: 240px;
    transition: 0.5s;
    position: relative;
    z-index: 10;
}
ul li a:hover{
    transform: scale(1.5);
    background: darkmagenta;
    opacity: 1;
}
ul li::after{
    content: attr(data-text);
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 80px;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0;
    letter-spacing: 50px;
    pointer-events: none;
    transition: 0.5s;
}
ul li:hover::after{
    opacity: 0.5;
    letter-spacing: 5px;
}
*/

/* Footer */
.footer {
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    /*height:90px;*/
    background-color:#d0daee;
}

/* custom class for background*/
.navbar-customclass {
    background-color: #a12223;
}

/* changing brand text color */
/*
.navbar-customclass .navbar-brand,
.navbar-customclass .navbar-text {
    color: #880099;
}*/

/* navigation link text color */

.navbar-customclass .navbar-nav .nav-link {
    color: #ffdd8a;
}


/* navigation links anchor hover and active */
/*.navbar-customclass .navbar-item.active .navbar-link,
.navbar-customclass .navbar-item.hover .nav-link {
    color: #0000ff;
}*/

.c_default{
    cursor:default;
}

.c_pointer{
    cursor:pointer;
}


.row-centered {
     text-align:center;
}
.col-centered {
     display:inline-block;
     float:none;
     /* reset the text-align */
     text-align:left;
     /* inline-block space fix */
     margin-right:-4px;
}


/* Container for flexboxes */
.row {
    display: flex;
    flex-wrap: wrap;
}

/* Create four equal columns */
.column {
    flex: 33%;
    padding: 0px;
}
.div_padding {
    padding-left: 15px;
    padding-right: 15px;
}

/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 992px) {
    .column {
        flex: 50%;
    }
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .row {
        flex-direction: column;
    }
}


.blue{
    /*border:2px solid #207216;*/
    border:0px solid #207216;
    width: 100%;
    border-radius: 10px;
}

.blue thead{
    text-align: center;
    width: 100%;
    background-color:#207216;
}


.td1{
    width:16%;
    height:30px;
    text-align:center;
    font-size: 96%;
    font-weight: bold;
    border:1px solid #000;
    border-radius: 24px;
}

.tipsinfo{
    cursor: default;
    text-align:center;
    background-color: #d9edf7;
    font-size: 80%;
    padding: 0px;
    height: 10px;
}

.deltar_ej{
    background-color: #fffafa;
}

.variabla{
    background-color: #c3e6cb;
}

.utips {
    background-color: #ffff00;
}
.sakra{
    background-color: #ff6347;
}
.tippomaten {
    background-color: #5fc8a8;
}
.lotto {
    background-color: #d2ebd8;
}
.chans_txtruta {
    width:40px;
    background-color: #ffffff;
}
.stips {
    /*background-color: #aad1f0;*/
    background-color: #b3e6ff
}
.stips2 {
    background-color: #4dc3ff;
}
.etips {
    /*background-color: #81de7c;*/
    background-color: #c1f0c1;
}
.etips2 {
    background-color: #6fdc6f;
}

.mtips {
    background-color: #b5c6e2;
}

.ruta3 {
    border-bottom: 1px solid blue;
    border-left:  1px solid blue;
    border-top:  1px solid blue;
}
.ruta4 {
    border-right: 1px solid blue;
}

.utips-warning {
    background-color: #FF0000;
    color: #ffffff;
    font-size: 100%;
    font-weight: bold;
}

.stipstkn-deltar {
    background-color: #00427a;
    color: #ffffff;
    font-size: 100%;
    font-weight: bold;
}

.etipstkn-deltar {
    background-color: #008733;
    color: #ffffff;
    font-size: 100%;
    font-weight: bold;
}

.mtipstkn-deltar {
    background-color: #b5c6e2;
    color: #ffffff;
    font-size: 80%;
    /*font-weight: bold;*/
}

.mtipstkn-deltar-ej {
    background-color: #fffafa;
    color: #7d7d80;
    font-size: 80%;
    /*font-weight: bold;*/
}

.analgaranti {
    text-align: right;
    cursor: default;
}

.critical {
    color: #ff0000;
}

.table-header-rotated th.row-header{
  width: auto;
}

.info_height {
    
}

.table-header-rotated td{
  width: 40px;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  vertical-align: middle;
  text-align: center;
}

.table-header-rotated th.rotate-45{
  height: 80px;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  position: relative;
  vertical-align: bottom;
  padding: 0;
  font-size: 12px;
  line-height: 0.8;
}
/*
.table-header-rotated th.rotate-45 > div{
  position: relative;
  top: 0px;
  left: 40px; // 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle//
  height: 100%;
  -ms-transform:skew(-45deg,0deg);
  -moz-transform:skew(-45deg,0deg);
  -webkit-transform:skew(-45deg,0deg);
  -o-transform:skew(-45deg,0deg);
  transform:skew(-45deg,0deg);
  overflow: hidden;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
}
*/
.table-header-rotated th.rotate-45 span {
  -ms-transform:skew(45deg,0deg) rotate(315deg);
  -moz-transform:skew(45deg,0deg) rotate(315deg);
  -webkit-transform:skew(45deg,0deg) rotate(315deg);
  -o-transform:skew(45deg,0deg) rotate(315deg);
  transform:skew(45deg,0deg) rotate(315deg);
  position: absolute;
  bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  display: inline-block;
  // width: 100%;
  width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
  text-align: left;
  // white-space: nowrap; /*whether to display in one line or not*/
}

.width80 {
    width:400px;
}

.width40px {
    width:30px;
}

.table-container {
    width: 100%;     /* Anpassa till förälderelement */
    /*max-width: 600px; Sätt en maxbredd om nödvändigt */
    height: 600px;     /* Höjd för att rymma ~10 rader */
    overflow-y: auto;  /* Vertikal scrollbar vid behov */
    /*border: 1px solid #ccc;*/
}

table {
    width: 100%;
    border-collapse: collapse;
}
/*
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}
*/


