﻿html {
  font-size: 14px;
}

body, html, p, td, th, tr {
    cursor: default !important;
}

body {
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
   /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}

a {
    color: black;
    text-decoration: underline; /* optional: remove underline */
}

/* Optional: keep a hover effect if desired */
a:hover, a:focus {
    color: black; /* keep black on hover/focus */
    text-decoration: none; /* optional: add underline on hover */
}
       

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
    html {
        font-size: 16px;
    }
}

/* Stor text på små skärmar */
@media (max-width: 576px) {
    .responsive-fs {
        font-size: 2.5rem; /* ungefär fs-4 */
    }
}

/* Normal text annars */
@media (min-width: 577px) {
    .responsive-fs {
        font-size: 1.25rem; /* ungefär fs-6 */
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.container-custom {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5px; /* Bootstrap default padding */
    padding-right: 5px;
    padding-top: 60px;
}

.cursor-pointer {
    cursor: pointer;
}

.nav-link:not(.active):hover {
    color: white;
    background-color: #00488c;
}

.nav-pills .nav-link {
    color: white;
    background-color: #000000; /* #00488c;*/
    border: 1px solid #ffffff; /* Default border */
}

.nav-pills .nav-link.active {
    color: #000000;
    background-color: white;
    border-color: #00488c #00488c #00488c #00488c; /* Top, sides, bottom */
}

.rotate-on-hover i {
    display: inline-block; /* Required for transform to work */
    transition: transform 0.3s ease-in-out;
}

.rotate-on-hover:hover i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.yellow-bg {
    background-color: yellow;
}

.highlight {
    background-color: yellow;
    padding: 0;
    margin: 0;
    line-height: normal;
    font-weight: inherit;
    font-family: inherit;
}

/*.bg-primary {
    background-color: #00488c !important;*/ /* Swedbank-blå */
/*}*/

.bg-primary {
    background: linear-gradient(135deg, #2a3d7e 0%, #4259ac 100%) !important;
}

.btn-outline-primary {
    color: #00488c;
    border-color: #00488c;
}

.btn-outline-primary:hover {
    background-color: #00488c;
    color: white;
}

.list-group-item-action.active {
    background-color: #00488c;
    border-color: #00488c;
}

body {
    overflow-x: hidden;
}

.side-menu {
    position: fixed;
    top: 56px;
    left: 0;
    height: calc(100vh - 56px);
    width: 350px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.side-menu.show {
    transform: translateX(0);
}

.main-content {
    transition: margin-left 0.3s ease;
    margin-left: 0;
}

.main-content.shifted {
    margin-left: 350px;
}

.side-menu.invisible-init {
    visibility: hidden;
}

.main-content.invisible-init {
    visibility: hidden;
}

.footer {
    z-index: 2;
}

/* 🖥️ Visa bara på desktop (från 768px och uppåt) */
.desktop {
    display: none;
}

@media (min-width: 768px) {
    .desktop {
        display: block;
    }
}

/* 📱 Visa bara på mobil (under 768px) */
.mobile {
    display: block;
}

@media (min-width: 768px) {
    .mobile {
        display: none;
    }
}

/* Alias för d-none d-md-table-cell */
.desktop-cell {
    display: none; /* Dölj som standard */
}

@media (min-width: 768px) {
    .desktop-cell {
        display: table-cell; /* Visa som tabellcell från medium-skärmar och uppåt */
    }
}

/* Alias för mobilceller: syns på små skärmar, döljs på medium och uppåt */
.mobile-cell {
    display: table-cell; /* Visa som tabellcell som standard (mobil) */
}

@media (min-width: 768px) {
    .mobile-cell {
        display: none; /* Dölj från medium och uppåt */
    }
}