html {
  font-size: 14px;
}

@media only screen and (max-width: 1024px) and (max-height: 768px) {
} (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}
/*
.eksterne-linker-frame {
    border: 2px solid #adb5bd; // Bootstrap grey 
    border-radius: 0.75rem;
    background: #f8f9fa;
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
*/
.eksterne-linker-frame {
    border: none;    
    background: none;
    padding: 0rem;
    margin: 0px;
}

.eksterne-linker-btn {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    background: #e9ecef;
    color: #212529 !important;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.eksterne-linker-btn:hover,
.eksterne-linker-btn:focus {
    background: #0d6efd;
    color: #fff !important;
    text-decoration: none;
}
.eksterne-linker-btn i,
.eksterne-linker-btn svg,
.eksterne-linker-btn span.icon {
    font-size: 1.2em;
    margin-right: 0.5em;
    vertical-align: middle;
    color: inherit;
}
.eksterne-linker-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(52,58,64,0.06);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s, background 0.2s;
    border: 1px solid #dee2e6;
}
.eksterne-linker-card:hover {
    background: #e9ecef;
    box-shadow: 0 4px 16px rgba(52,58,64,0.12);
    text-decoration: none;
}
.eksterne-linker-card .icon {
    font-size: 1.5em;
    margin-right: 1rem;
    color: #343a40;
    min-width: 2em;
    text-align: center;
}
.eksterne-linker-card span {
    color: #343a40;
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 0.01em;
}
@media (max-width: 767px) {
    .eksterne-linker-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .eksterne-linker-card .icon {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}


header.custom-header {
    background-color: transparent;
}

@media (max-width: 576px) {
    header.custom-header {
        background-color: #99B34A; /* Bootstrap primary color */        
    }
}

