﻿
html{
    height: 100%;
}

body {
    background-image: url(../static/background.jpg);
    background-attachment: fixed;
    background-size: cover;
    height: 100%
}

p {
    margin-bottom: 10px;
}

a.active {
    font-weight:800;
}

.footer {
    align-self: flex-end;
}

h3 {
    margin-top: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    height: 100%;
    width: 100%;
    overflow: auto;
    padding: 24px;
}

.body-content > .card {
    margin-bottom: 200px;
}


.navbar {
    background-color: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
    height: 72px;
    padding: 0 20px;
}

.navbar .container {
    padding: 0 15px;
    width: 100%;
    justify-content: center;
}

.navbar-customer-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    float: right;
    height: 50px;
}

.navbar-customer-container span {
    font-size: 1.2em
}

.form-control, .btn {
    border-radius: 2px;
}

.form-control:focus {
    border-color: #9a191b;
    outline: none;
    box-shadow: none;
}

.layout {
    height: 100%;
    padding-top: 60px;
}

.card {
    padding: 12px;
    margin: 0.5rem 0 1rem 0;
    background-color: #fff;
    transition: box-shadow .25s;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    min-width:10px;
    width: 1150px;
    max-width: 1200px;
}

.login {
    width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-left: 70px;
    padding-right: 70px;
}

.btn-primary, .btn-primary:hover, .btn-primary:active {
    outline: none;
    outline-color: none;
    color: #7A1523 !important;
    background-color: white !important;
    border-color: #7A1523;
}

input[type=checkbox], input[type=radio] {
    margin: 0 0 0 0;
}
    .btn-primary:focus {
        outline: none;
        outline-color: none;
        background-color: #7A1523;
        border-color: #7A1523;
        color: #fff;
    }

input[type=checkbox], input[type=radio] {
    margin: 0 0 0 0;
}

.tooltip-inner {
    max-width: 700px;
}

.tooltip.top .tooltip-inner {
    background-color: #7A1523;
}

.tooltip.top .tooltip-arrow {
    border-top: 5px #7A1523 red !important;
}

.teledataHeader {
    font-size: 35px;
    color: #7A1523 !important;
    padding-bottom: 24px;
    align-self: center;
}

.centered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.note {
    color: #333;
    background-color: #f8f8f8;
    
    border-radius: 4px;
    border: 1px solid #f8f8f8;
    
    border-left-width: 4px;
    border-left-style: solid;
    border-left-color: #7A1523;
    
    text-align: center;
    justify-content: center;

    margin: 0 20%;
    padding: 4px; 
}

.img {
    padding: 20px;
    border: thin solid #eee;
    width: 100%;
    height: 100%;
}

.labelfocus {
    visibility: visible !important;
}

.smalllabel {
    opacity: 0.8;
    margin-top: 10px;
    margin-bottom: 1px;
    font-size: small;
    font-weight: bold;
    visibility: hidden;
    padding: 0px;
}

.installationbutton {
    padding-left:20px;
    padding-right:20px;
    margin: 20px;
}

.installationbutton:hover {
    color: white !important;
    background-color: #7A1523 !important;
}

.buttonactivated {
    color: white !important;
    background-color: #7A1523 !important;
}

/*loading animation*/
.spinner {
    color: white;
    width: 20px;
    height: 20px;
    position: relative;
    margin: 0px auto;
}

.double-bounce1, .double-bounce2 {
    color: white;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #9A191B;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    color:white;
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.loadinganimation {
    position: absolute;
    left: 47%;
    right: 50%;
    bottom: 34%;
    top: 28%;
}

.bred {
    background-color: #9A191B;
}

p {
    padding-left: 15px;
}

.os {
    background-color: white;
    cursor: pointer;
    min-width: 180px;
}

.osActive {
    background-color: #9A191B;
}

.osActive > svg {
    fill: white;
}

div.os:hover {
    background-color: #9A191B;
}

.svgColor {
    fill: #9A191B;
    height: 150px;
}

.svgColor:hover {
    fill: white;
}

div.os:hover > .svgColor {
    fill: white;
}

.imgsmall {
    display: none;
}

.imglarge {
    display: unset;
}

.hidewhensmaller{
    display:unset;
}

.hidewhenlarge{
    display:none;
}

.btnsmall {
    white-space: normal;
    padding: 0px;
    margin-left: 15px !important;
    margin-right: 15px !important;
}

.footer > span > a {
    color: black;
    padding: 10px;
    text-decoration: none;
}

#placeholder {
    height: 97%
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

@media only screen and (max-width: 810px){
    body {
        background-image: none;
        background: #ebebeb;
    }

    .osRow{
        width:500px;
    }

    .imgcontainer {
        width: 100% !important;
    }

    .imgpadding {
        padding:1px;
    }

    .hidewhensmaller{
        display:none;
    }

    .hidewhenlarge{
        display:unset;
    }

    .navbar-header {
        padding-left:20px;
    }

}

@media only screen and (max-width: 450px) {

    #hotline {
        padding-left: 25px;
    }

    .osRow {
        width: 300px;
    }

    .os{
        min-width:0px;
    }

    .svgColor{
        height:75px;
        width:75px;
    }

    .img{
        padding:1px;
    }

    .imgcontainer{
        width:100% !important;
    }

    .hidewhensmall{
        display:none;
    }

    .imgsmall{
        display:unset;
    }
    
    .imglarge{
        display:none;
    }

    .teledataHeader{
        text-align:center;
    }

    .hidewhensmaller {
        display: none;
    }

    .hidewhenlarge {
        display: unset;
    }

    .downloadtext {
        line-height: 20px !important;
    }

    .maindownloadbutton {
        max-width: 180px !important;
    }

    .login {
        max-width: 300px;
        padding-left:50px;
        padding-right:50px;
    }

    .installationbutton {
        width: auto;
    }
}

/*#region checkbox*/
@keyframes a {
    0% {
        border-color: silver
    }

    to {
        border-color: #34b93d
    }
}

.checkbox-label {
    padding-left: 30px;
}

.magic-checkbox, .magic-radio {
    position: absolute;
    display: none;
    margin-right: 10px;
}

    .magic-checkbox[disabled], .magic-radio[disabled] {
        cursor: not-allowed
    }

    .magic-checkbox + label, .magic-radio + label {
        position: relative;
        display: block;
        padding-left: 30px;
        cursor: pointer;
        vertical-align: middle
    }

        .magic-checkbox + label:hover:before, .magic-radio + label:hover:before {
            animation-duration: .4s;
            animation-fill-mode: both;
            animation-name: a
        }

        .magic-checkbox + label:before, .magic-radio + label:before {
            position: absolute;
            top: 0;
            left: 0;
            display: inline-block;
            width: 22px;
            height: 22px;
            content: '';
            border: 1px solid silver
        }

        .magic-checkbox + label:after, .magic-radio + label:after {
            position: absolute;
            display: none;
            content: ''
        }

    .magic-checkbox[disabled] + label, .magic-radio[disabled] + label {
        cursor: not-allowed;
        /*color: #e4e4e4*/
    }

        .magic-checkbox[disabled] + label:after, .magic-checkbox[disabled] + label:before, .magic-checkbox[disabled] + label:hover, .magic-radio[disabled] + label:after, .magic-radio[disabled] + label:before, .magic-radio[disabled] + label:hover {
            cursor: not-allowed
        }

            .magic-checkbox[disabled] + label:hover:before, .magic-radio[disabled] + label:hover:before {
                border: 1px solid #e4e4e4;
                animation-name: none
            }

        .magic-checkbox[disabled] + label:before, .magic-radio[disabled] + label:before {
            border-color: #e4e4e4
        }

    .magic-checkbox:checked + label:before, .magic-radio:checked + label:before {
        animation-name: none
    }

    .magic-checkbox:checked + label:after, .magic-radio:checked + label:after {
        display: block
    }

    .magic-radio + label:before {
        border-radius: 50%
    }

    .magic-radio + label:after {
        top: 6px;
        left: 6px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #34b93d
    }

    .magic-radio:checked + label:before {
        border: 1px solid #34b93d
    }

    .magic-radio:checked[disabled] + label:before {
        border: 1px solid #c9e2f9
    }

    .magic-radio:checked[disabled] + label:after {
        background: #c9e2f9
    }

    .magic-checkbox + label:before {
        border-radius: 3px
    }

    .magic-checkbox + label:after {
        top: 2px;
        left: 7px;
        box-sizing: border-box;
        width: 8px;
        height: 15px;
        transform: rotate(45deg);
        border: 2px solid #fff;
        border-top: 0;
        border-left: 0
    }

    .magic-checkbox:checked + label:before {
        border: #3e97eb;
        background: #34b93d
    }

    .magic-checkbox:checked[disabled] + label:before {
        border: #c9e2f9;
        background: #c9e2f9
    }

/*#endregion checkbox*/