﻿
.back-button {
    position: absolute;
    top: 14px;
    left: 5px;
}

html.dark .text-color-dark {
    color: #c6c8cc !important;
}

#header .header-nav-top .dropdown-menu:before {
    border-left: none;
    border-right: none;
}

.translation-links li {
    cursor: pointer;
}

li.dropdown-item.notranslate {
    border-bottom: 1px solid #f5f5f5;
}

html.dark li.dropdown-item.notranslate {
    border-bottom: 1px solid var(--darkformcontrolbordercolor);
}

#\:1\.container, .skiptranslate {
    visibility: hidden !important;
}

.modal-dialog,
.modal-content2 {
    height: 95%;
}

.modal-body2 {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}




.language-selector {
    display: block;
    border: 1px solid transparent;
    color: #3b4345;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    line-height: 1.4em;
    margin-bottom: 7px;
    overflow: hidden;
}

html.dark .language-selector {
    /*border-color: #3b4345;*/
    color: white;
}

.language-selector:hover {
    background-color: #efefef;
}

html.dark .language-selector:hover {
    background-color: #1e1f20;
}

.font-weight-medium {
    font-weight: 600;
}

.language-selector.selected {
    border: 1px solid #d7d8d9;
}

html.dark .language-selector.selected {
    border: 1px solid #3b4345;
}

#site1_adminMenu .dropdown-item {
    padding: .25rem 1.0rem;
}

/* Flexbox container */
.header-nav-top .nav {
    display: flex;
    flex-wrap: nowrap;
}

/* Default styling */
.hidden-mobile {
    display: inline;
}

/* Media query for mobile devices */
@media (max-width: 475px) {
    .hidden-mobile {
        display: none;
    }
}

.red-dot {
    color: red;
    font-size: 25px;
    position: relative;
    top: 4px;
    left: 5px;
}

.profile-top-events {
    position: absolute;
    top: -4px;
    right: -6px;
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    color: white !important;
    text-align: center;
    text-decoration: none;
    background-color: red;
    font-size: 10px !important;
    font-weight: bold;
    padding: 0px 0px !important;
}

#header .header-column .header-extra-info li {
    margin-left: 10px;
}

#header .header-row {
    max-height: auto;
}

.header-logo {
    /*left: 20px;*/
}

.pt-12px {
    position: relative;
    padding-top: 12px;
}

#header .header-btn-collapse-nav {
    background: black;
    top: -5px;
}

html.dark #header .header-btn-collapse-nav {
    background: transparent;
    color: white;
}

#header .header-btn-collapse-nav {
    background: transparent;
    color: black;
}

.header-btn-collapse-nav .fa-bars {
    position: relative;
    top: 2px;
    left: 10px;
}

.fa-bars:before, .fa-navicon:before {
    content: "\f0c9";
    font-size: 22px;
    font-weight: 300;
    padding-top: 4px;
}

#header.header-effect-shrink .header-container {
    min-height: 70px !important;
}

.custom-bg {
    position: absolute;
    background-color: #f9f9f9; /* Bakgrundsfärg för kolumnen */
    padding: 20px; /* Lägg till lite padding om det behövs */
    height: 100%; /* Fyll hela höjden av megamenyn */
    right: 0px;
    top: 0px;
}

.custom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tre lika breda kolumner */
    gap: 20px; /* Mellanrum mellan kolumner */
}

.custom-bg > * {
    color: #000;
    font-size: 0.8rem;
}

.dropdown-smalltext {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.0rem;
}

@media (max-width: 992px) {
    .custom-bg, .dropdown-smalltext {
        display: none; /* Dölj elementet */
    }
}

.dropdown-divider {
    height: 0;
    margin: .5rem 10px;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}
html.dark .dropdown-divider {
    border-color: #3b4345;
}

.header {
    font-family: 'Source Sans 3', 'Open Sans','Trebuchet MS';
}


/* */
.short-menu {
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

html.dark .short-menu {
    color: white;
}

.short-menu-count {
    position: relative;
    top: -1px;
    left: -0px;
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    color: white;
    background-color: black;
    text-align: center;
    text-decoration: none;
    font-size: 10px !important;
    font-weight: bold;
    padding-right: 0px;
}

html.dark .short-menu-count {
    color: black;
    background-color: #b5992b;
}

.short-menu-nav {
    position: relative;
    right: -20px;
}