﻿body, html {
    height: 100%;
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    background-image: url('../images/background.png');
    background-position-x: center;
    background-position-y: bottom;
    background-size: cover;
}

img {
    max-width: 100%;
    height: auto;
}

#formMain {
    height: 100%;

}

#divAppMain {
    position: relative;
    height: 100%;
    padding-top: 120px;
    background-repeat: no-repeat;
}

a.navbar-left {
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 45px;
}

a.navbar-left img {
   margin-right: 10px;
}

.overlay {
    padding-top: 70px;
    height: 100%;
    width: 100%;
    position: fixed; 
    z-index: 100;
    top: 0;
    transition: 0.5s;
}

.error {
    color: #d9534f
}

.overlay-content {
    position:relative;
    top: 25%; 
    text-align: center; 
    margin: 30px auto 0 auto; 
}

    .overlay-content img {
        /*  width: 25%;
    max-width: 10rem;
    height: auto;   */
    }

/* Overrides */
.navbar { padding: 1.5rem 1rem; }

.navbar-nav hr {
    width:100%
}

.navbar-toggler {
    font-size: 2rem;
    border: 0 !important;
    color: #fff;
}

.navbar-toggler span {
    color: #fff;
}

.nav-link {
    text-transform: uppercase;
    color: #ffffff !important;
}

.center {
    margin: 0 auto;
    display: block;
}

.hidden { display:none }

#panImage { margin-bottom: 15px; }


.profilPicture {
    border: 1px solid #d9d9d9;
    background-color: #fff;
    padding: 8px;
    height:160px;
    width: 160px;
}

.card {
    margin-bottom: 10px;
}

label {
    font-weight: bold;
    margin-top: 0.6rem;
}

.new-indicator {
    background-color: #ffd800;
    font-size: 0.7rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    color: #fff;
    padding: 1px;
    line-height: 20px;
    margin-left: 2px;
    top: -2px;
    position: relative;
    text-shadow: 1px 1px #a0a0a0;
}

.new-indicator-text {
    background-color: #ffd800;
    font-size: 0.7rem;
    height: 22px;
    border-radius: 10px;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    color: #fff;
    padding: 1px 10px 1px 10px;
    line-height: 20px;
    margin-left: 2px;
    top: -2px;
    position: relative;
    text-shadow: 1px 1px #a0a0a0;
}


.new-indicator-main {
    background-color: #ffd800;
    font-size: 0.7rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    color: #fff;
    padding: 1px;
    line-height: 20px;
    margin-left: -10px;
    top: -18px;
    position: relative;
    text-shadow: 1px 1px #a0a0a0;
}


.modal-header {
    background-color: #f1f1f1;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

.bs-callout-info h4 {
        color: #5bc0de;
}

h6.attachements {
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #313131;
    text-decoration: underline
}

i.attachements {
    color: #a0a0a0;
}

span.attachements {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    margin-left: 5px
}

.text-anmald {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    color: #5cb85c;
    margin-top: -3px;
    position: absolute;
    font-weight: bold;
}
.text-anmald-info {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    color: #000;
    margin-top: -3px;
    position: absolute;
}

.text-course-info {
    font-size: 0.8rem;
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    color: #000;
}



.card-course-active {
    background-color: #F1F1DF;
}

.switch-container {
    text-align: right;
    margin-top: -15px;
}

.switch {
    width: auto;
    background-color: #a0a0a0;
    color: #fff;
}

.switch.active {
    overflow: hidden;
    width: 10px;
    background-color: #fff;
    color: #fff;
}

.newstext {
    margin: 20px 0 10px 0;
}

.newstext-truncate {
    overflow-wrap: break-word;
    overflow-y: hidden;
    overflow-x: visible;
    text-overflow: ellipsis;
    max-height: 200px;
    margin: 20px 0 10px 0;
    position: relative;
}

.newstext-truncate img { display:none }

    .newstext-truncate::after {
        content: '';
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 200px;
        background-image: linear-gradient( rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 1) 100% );
    }

.newstext p, .newstext-truncate p, .newstext span, .newstext-truncate span {
    color: #000 !important;
    font-size: 0.9rem !important;
    font-family: "Ubuntu", Helvetica, Arial, sans-serif !important;
}

.imageborder {
    margin-bottom: 30px;
    max-width: 98%;
    border: 8px solid #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    vertical-align: middle;
}
.kommentar {
    padding: 16px;
    border: 1px solid #d3b02e;
    background-color: #feffb0;
    margin-bottom: 23px;
}