#sp-user2 { /* Language Switcher */
     align-self: center;
 }
 
.sp-megamenu-parent > li > a {
    font-size:14px;
}

#sp-logosection .logo {
    display: flex;
    justify-content: center;
}

#sp-user1 .username {
    display: flex;
    justify-content: right;
    color: #6b1111;
}

#offcanvas-toggler.offcanvas-toggler-right {
    margin-top: -60px;
}

.offcanvas-menu .offcanvas-inner {
    padding-top: 50px;
}

td,tr,th {
    border: 1px solid black;
}

.column2 {
    float: left;
    width: 50%;
}

.modal-backdrop.show {
    display: none !important;
}

.modal-backdrop {

    pointer-events: none !important; /* This allows clicks to pass through */
}



.center-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Clear floats after the columns */
.row2:after {
    content: "";
    display: table;
    clear: both;
}

.button {
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.8rem;
    margin: 4px 2px;
    cursor: pointer;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    transition-duration: 0.2s;
}

.button_graph {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.8rem;
    margin: 2px 2px;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 3px 10px 0 rgba(0,0,0,0.19);
    transition-duration: 0.2s;
    background-color: #6B1111;
    border: 2px solid #6B1111;
    width:100%;
}

.button_graph:hover {
    background-color: #FFFFFF;
    color: black;
    border: 2px solid #c71f1f;
}

.button_register {
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.2rem;
    width: 230px;
    height: 70px;
    margin: 10px 10px;
    cursor: pointer;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    transition-duration: 0.2s;
    background-color: #6B1111;
    border: 2px solid #6B1111;
    border-radius: 10px;
}

.button_register:hover {
    background-color: #FFFFFF;
    color: black;
    border: 2px solid #c71f1f;
}

.button.red {
    background-color: #6B1111;
    border: 2px solid #6B1111;
}

.button.lightred {
    background-color: #c71f1f;
    border: 2px solid #c71f1f;
}

.button.green {
    background-color: #00bb00;
    border: 2px solid #00bb00;
}

.button.gray {
    background-color: gray;
    border: 2px solid gray;
}

.button.disabled {
    background-color: gray;
    border: 2px solid gray;
    cursor: default;
}


.button.red:hover {
    background-color: #FFFFFF;
    color: black;
    border: 2px solid #c71f1f;
}


.button.green:hover {
    background-color: #FFFFFF;
    color: black;
    border: 2px solid #00AA00;
}

.button.gray:hover {
    background-color: #FFFFFF;
    color: black;
    border: 2px solid gray;
}

.button_green {
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    transition-duration: 0.2s;
    background-color: #00cc00;
    border: 2px solid #00cc00;
}

.button_green:hover {
    background-color: #ccff99;
    color: black;
    border: 2px solid #00cc00;
}

.button.bigger {
    font-size: 1rem;
    padding: 10px 15px;
}

.gray_background {
    background-color: gray;
}



.text12px {
    font-size:12px;
}

.nopadding {
    padding: 0px;
}

.basic-table td,tr {
    border: none;
}

.styled-table {
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 0.9rem;
    font-family: sans-serif;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #6B1111;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 5px 10px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #6B1111;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #c71f1f;
}

.table-form {
    border-collapse: collapse;
    margin: 0 auto;
    width:100%;
    font-size: 0.9rem;
    font-family: sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border: none;
}

.table-form td {
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: none;
    text-align: right;
}

.table-form tr {
    border: none;
}

.table-form thead tr {
    background-color: #6B1111;
    color: #ffffff;
    border:none;
}

.table-form thead th {
    text-align: left;
    border:none;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.center td{
    text-align: center;
}

.numberlist-table {
    margin: 0px auto;
    border-style: hidden;
}

.numberlist-table td {
    border-style: hidden;
    padding: 5px 12px;
    text-align: center;
}

.table_graphtoolbar {
    margin: 0px auto;
    border-style: hidden;
}

.table_graphtoolbar td {
    border-style: hidden;
    padding: 0.6rem 0.2rem;
    text-align: center;
}

td.contentfit
{
    width: 1%;
    white-space: nowrap;
}

.norightborder
{
    border-right-style: hidden;
}

.redtext
{
    color:red;
    font-size:18px;
}



.loader-wheel { /* NEPOUZIVAM, ale celkom dobre vyzera*/
    animation: spin2 1s infinite linear;
    border: 2px solid rgba(30, 30, 30, 0.5);
    border-left: 4px solid #fff;
    border-radius: 50%;
    height: 50px;
    margin-bottom: 10px;
    width: 50px;
}

@keyframes spin2 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    color: #000000;
    font-family: arial, sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 60px 0 0 -30px;
}

.loader-text:after {
    content: 'Loading';
    animation: load 2s linear infinite;
}

@keyframes load {
    0% {
        content: 'Loading';
    }
    33% {
        content: 'Loading.';
    }
    67% {
        content: 'Loading..';
    }
    100% {
        content: 'Loading...';
    }
}

.calculating-text {
    color: #000000;
    font-family: arial, sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 60px 0 0 -40px;
}

.calculating-text:after {
    content: 'Loading';
    animation: calc 2s linear infinite;
}

@keyframes calc {
    0% {
        content: 'Calculating';
    }
    33% {
        content: 'Calculating.';
    }
    67% {
        content: 'Calculating..';
    }
    100% {
        content: 'Calculating...';
    }
}

.loader {
    /*position: absolute;
    left: 50%;
    top: 50%;
    */
    /*margin: 0 auto;*/
    top: 50%;
    left: 50%;
    position: absolute;
    z-index: 1;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid red;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom:-100px;
        opacity:0
    }
    to {
        bottom:0px;
        opacity:1
    }
}

@keyframes animatebottom {
    from{
        bottom:-100px;
        opacity:0
    }
    to{
        bottom:0;
        opacity:1
    }
}

div.error {
    width: 100%;
    height: 500px;
    border:1px solid darkgray;
    text-align: center;
    line-height: 500px;
    color: darkred;
    font-weight: bold;
    font-size: 1.2rem;
}

p.error {
    color: darkred;
    font-weight: bold;
    font-size: 1.2rem;
}

td.error {
    color: darkred;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

/* Customize the label (the container) */
.chckbox_container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.chckbox_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ffffff;
}

/* On mouse-over, add a grey background color */
.chckbox_container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a red background */
.chckbox_container input:checked ~ .checkmark {
    background-color: #6B1111;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.chckbox_container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.chckbox_container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
} 