body {
    font-family: poppins,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 400;
    background: #fff;
    color: gray;
}

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    color: #2f89fc;
}

    a:hover, a:focus {
        text-decoration: none !important;
        outline: none !important;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

button {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

    button:hover, button:focus {
        text-decoration: none !important;
        outline: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
    line-height: 1.5;
    font-weight: 400;
    font-family: poppins,Arial,sans-serif;
    color: #000;
}

.img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.wrapper {
    width: 100%;
}
#sidebar {
    min-width: 300px;
    max-width: 300px;
    background: #32373d;
    color: #fff;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    position: relative;
}

    #sidebar .h6 {
        color: #fff;
    }

    #sidebar.active {
        margin-left: -300px;
    }

        #sidebar.active .custom-menu {
            margin-right: -50px;
        }

        #sidebar.active .btn.btn-primary:before {
            content: "\f053";
            font-family: fontawesome;
            right: 2px !important;
        }

        #sidebar.active .btn.btn-primary:after {
            display: none;
        }

    #sidebar h1 {
        margin-bottom: 20px;
        font-weight: 700;
        font-size: 20px;
    }

        #sidebar h1 .logo {
            color: #fff;
            display: block;
            padding: 10px 30px;
            background: #2f89fc;
        }

    #sidebar ul.components {
        padding: 0;
    }

    #sidebar ul li {
        font-size: 16px;
    }

        #sidebar ul li > ul {
            margin-left: 10px;
        }

            #sidebar ul li > ul li {
                font-size: 14px;
            }

        #sidebar ul li a {
            padding: 15px 30px;
            display: block;
            color: rgba(255,255,255,.6);
            border-bottom: 1px solid rgba(255,255,255,.05);
            text-decoration: none;
        }

            #sidebar ul li a span.notif {
                position: relative
            }

                #sidebar ul li a span.notif small {
                    position: absolute;
                    top: -3px;
                    bottom: 0;
                    right: -3px;
                    width: 12px;
                    height: 12px;
                    content: '';
                    background: red;
                    border-radius: 50%;
                    font-family: poppins,Arial,sans-serif;
                    font-size: 8px;
                }

            #sidebar ul li a:hover {
                color: #fff;
                background: #2f89fc;
                border-bottom: 1px solid #2f89fc;
            }

        #sidebar ul li.active > a {
            background: 0 0;
            color: #fff;
        }

            #sidebar ul li.active > a:hover {
                background: #2f89fc;
                border-bottom: 1px solid #2f89fc;
            }

@media(max-width:991.98px) {
    #sidebar {
        margin-left: -300px;
    }

        #sidebar.active {
            margin-left: 0;
        }

        #sidebar .custom-menu {
            margin-right: -60px !important;
            top: 10px !important;
        }
}

#sidebar .custom-menu {
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 0;
    margin-right: -35px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

@media(prefers-reduced-motion:reduce) {
    #sidebar .custom-menu {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

#sidebar .custom-menu .btn.btn-primary {
    background: #2f89fc;
    border-color: transparent;
    position: relative;
    color: #000;
    width: 30px;
    height: 30px;
}

    #sidebar .custom-menu .btn.btn-primary:after, #sidebar .custom-menu .btn.btn-primary:before {
        position: absolute;
        top: 2px;
        left: 0;
        right: 0;
        bottom: 0;
        font-family: fontawesome;
        color: #fff;
    }

    #sidebar .custom-menu .btn.btn-primary:after {
        content: "\f054";
        left: 2px;
    }

a[data-toggle=collapse] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media(max-width:991.98px) {
    #sidebarCollapse span {
        display: none;
    }
}

#content {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.btn.btn-primary {
    background: #2f89fc;
    border-color: #2f89fc;
}

    .btn.btn-primary:hover, .btn.btn-primary:focus {
        background: #2f89fc !important;
        border-color: #2f89fc !important;
    }

.footer p {
    color: rgba(255,255,255,.5);
}

.form-control {
    height: 40px !important;
    background: #fff;
    color: #000;
    font-size: 13px;
    border-radius: 4px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: transparent;
}

    .form-control:focus, .form-control:active {
        border-color: #000;
    }

    .form-control::-webkit-input-placeholder {
        color: rgba(255,255,255,.5);
    }

    .form-control::-moz-placeholder {
        color: rgba(255,255,255,.5);
    }

    .form-control:-ms-input-placeholder {
        color: rgba(255,255,255,.5);
    }

    .form-control:-moz-placeholder {
        color: rgba(255,255,255,.5);
    }

.subscribe-form .form-control {
    background: #4897fc;
}


.sidebar-head {
    color: #fff;
    font-size: 18px;
}
    .sidebar-head h3 {
        color: #fff;
        font-size: 18px;
    }


.table-head{
    font-weight: 600;
}

.login-page {
    background-image: url('/bilder/login-bg.jpg') !important;
    overflow-x: scroll;
    background-size: cover !important;
    /* fallback for old browsers */
    background: #6a11cb;
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, rgba(106, 17, 203, 1), rgba(37, 117, 252, 1));
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, rgba(106, 17, 203, 1), rgba(37, 117, 252, 1))
}



@keyframes example {
    50% {
        background-color: #8ab9ff;
    }
}

.animate-menu {
    animation-delay: 0s;
    -webkit-animation-name: example; /* Chrome, Safari, Opera */
    -webkit-animation-duration: .15s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: 2; /* Chrome, Safari, Opera */
    animation-name: example;
    animation-duration: .5s;
    animation-iteration-count: 2;
}

.kat-bg {
    background-position: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
.custom-yellow {
    background-color: #FFEA00; /* gul */
}

    .custom-yellow .nav-link,
    .custom-yellow .navbar-brand {
        color: #000; /* svart text så det syns */
    }
        .custom-yellow .nav-link.disabled {
            color: #6c757d; /* Bootstraps standard "grå" */
            pointer-events: none;
            opacity: 0.65;
        }

.bottom-overlay {
    background: rgba(0, 0, 0, 0.65); /* halvtransparent svart */
    padding: 15px;
    width: 100%; /* hela bredden */
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

    .bottom-overlay h5,
    .bottom-overlay p {
        color: #fff;
        margin: 0;
    }

.top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.5); /* halvtransparent svart */
    padding: 10px 0;
    text-align: center;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

    .top-overlay h2 {
        margin: 0;
        color: #fff;
    }
body {
    padding-top: 60px;
}
.carousel-item {
    height: 450px; /* bestäm höjd för desktop */
}

    .carousel-item img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

@media (max-width: 768px) {
    .carousel-item {
        height: 300px; /* lägre höjd på mobil */
    }
}