html,
body {
    font-family: 'Merriweather', sans-serif !important;
    background-color: #F4F7F6;
    height: 100%;
}
.wrap {
    min-height: 100%;
}

.main {
    overflow: auto;
    padding-bottom: 72px;
}

.pageHeader {
    margin-top: 1%;
}

#moreMargin {
    margin-top: 1%;
}

/* must be same height as the footer */

#footer {
    position: relative;
    margin-top: -72px;
    /* negative value of footer height */
    height: 72px;
    clear: both;
}

/* navbar settings */
.bg-primary {
    background-color: #002B4D !important;
}

#logged_out {
    padding: 0 0.5em 0.6em;
}

#nav-heading {
    padding-left: 0.5em;
}
.group-link {
    display: inline-block;
    width: 7cm; /* Juster bredden etter behov */
    height: 5cm; /* Juster høyden etter behov */
    background-color: rgb(17, 17, 98);
    margin: 10px; /* Juster margene etter behov for å lage mellomrom mellom gruppene */
    text-align: center;
    line-height: 5cm; /* Sentrer teksten vertikalt */
    color: white;
    text-decoration: none; /* Fjerner understreking fra lenkene */
}

/* CSS for Profile in mobile version */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none; /* This hides elements on screens smaller than 768px */
    }

    .group-container {
        padding: 10px; /* Optional: Adds padding for better spacing on mobile */
    }

    .group-name h4 {
        font-size: 16px; /* Optional: Adjusts the font size for mobile readability */
    }
}

/* icon color */
.bi {
    color: white;
}

/* CSS to alter the button cards styling */
.btncardB {
    border: none !important; /* removes border */
    outline: none !important; /* removes outline */
    box-shadow: none !important; /* removes box-shadow */
}

.btncardB:hover, .btncardB:focus {
    background: #004080 !important; /* changes background color on hover/focus */
    color: white !important; /* optional: changes text color */
    text-decoration: none !important; /* optional: if you want to remove underline on hover (if there is any) */
}

/* CSS to show dropdown menu on hover */
.hover-dropdown:hover .dropdown-menu {
    display: block;
}


 /* Groups CSS */
tr:hover {
    background-color: #f5f5f5;
}

/* Search bar styling */
#searchInput {
    width: 300px;              /* Width of the search bar */
    padding: 10px 15px;        /* Padding to give some space inside the search bar */
    font-size: 18px;           /* Font size */
    margin-bottom: 20px;       /* Space between the search bar and the table */
    border: 1px solid #ddd;    /* Border */
    border-radius: 5px;        /* Rounded corners */
}  
.deleteBtn {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-weight: bold;
}


/**
Dropdown menu
**/
#myInput[type=text] {
    width: 200px;
    box-sizing: border-box;
    border-top: 2px solid rgba(0, 0, 0, 0);
    border-left: 2px solid rgba(0, 0, 0, 0);
    border-right: 2px solid rgba(0, 0, 0, 0);
    border-bottom: 3px solid #1F4766;
    font-size: 16px;
    font-weight: bold;
    color: #999;
    background-color: rgba(0, 0, 0, 0);
    background-position: 10px 12px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
    text-align: left;
    transition: width 0.4s ease-in-out;
    font-family: 'gothic' !important;
}


#myInput[type=text]:focus {
    width: 100%;
    outline: none;
    border-bottom: 3px solid #1F4766;
}

.hover-bold:hover {
    font-weight: bold;
}

.dropdown2 {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 240px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    background-color: #f1f1f1
}

.show {
    display: block;
}

ul {
    padding: 0;
    list-style-type: none;
}

.inputkeyword {
    border-radius: 10px;
    border-color: black;
}

.btn-keyword {
    border-radius: 10px;
    border-color: black;
    color: black;
    font-weight: bold;
}
.keywordlimit {
    position: absolute;
    right: 0px;
    bottom: -5px;
    padding: 5px;
    width: 15px;
}

.selected {
    background: #ccc;
}

li a:hover {
    background: #ccc;
}
.cardLogo {
    max-width: 60%;
    max-height: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block; 
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    position: absolute;
    top: 40%;
    left: 50%;
}

.card-footer{
    color: #ffffff;
    background-color: #1F4766;
    text-align: center;
    padding: 0.75rem;
}

.logobox{
    height: 150px;
}

.card{
   margin: auto;
   margin-bottom: 15px;
   width: 100%;
}

/* Group page */
.group-info-container {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .group-info-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
  }
  
  .group-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .group-info-item {
    margin: 5px 0;
  }
  
  .group-info-label {
    font-weight: bold;
    margin-right: 10px;
    display: inline-block;
    width: 180px; 
  }
  
  .group-info-value {
    display: inline-block;
    color: #555;
  }

#changeRoleModal{
    width: 100%;
}

.form-check{
    height: calc(1.5em + .75rem + 2px);  
    padding: .375rem .75rem; 
    display: block;
    margin-left: .5rem;
}

.clickable-row {
    cursor: pointer;
    
}

.clickable-row2 {
    cursor: pointer;
    
}
.addToAlumni{
    margin: 20px 10px;
}
#myInputDA[type=text] {
    /* Styles for the dropdown input */
}

#myInputDA[type=text]:focus {
    /* Styles when the dropdown input is focused */
}

.card {
    border-radius: 15px !important;
}

.nav-link {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}

/* Styling the Select Element */
.select-dropdown {
    width: 170px; /* Adjust as needed */
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    appearance: none; /* Removes default styling */
    -moz-appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 16px;
}


/* Style focus state */
.select-dropdown:focus {
    outline: none;
    border-color: #aaa;
    box-shadow: 0 0 4px rgba(33,150,243,0.5); /* A light blue glow */
}


/* Search Input Styling */
.search {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 300px;
}

/* Search Results Container */
.resultsContainer1 {
    margin-top: 10px;
    border-top: 2px solid #eee;
    padding-top: 10px;
}

/* Individual Search Result Item */
.search-result-item {
    display: block;  /* Makes each result take up the full width */
    padding: 5px 10px;
    margin-bottom: 5px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.search-result-item:hover {
    background-color: #eaeaea;
}

/* Changing the width of the roles table in superadmin/roles */

#roles {
    min-width: fit-content;
}


.loader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    animation: spin 2s linear infinite;
    display: none;
    position: relative;
    left: 50%;
    top: 50%;
  }
  
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

#loadingSpinner {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 8000;
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}


.form-check {
    height: auto; /* or adjust to a suitable height */
}

.btn-group .btn {
    transition: background-color 0.3s, color 0.3s !important;
}

.btn-group .btn.active {
    background-color: #17a2b8 !important;
    color: white !important;
}

.btn-group .btn:not(.active) {
    background-color: #f8f9fa !important; 
    color: #343a40 !important;
}

/* Centered spinner styling */
#loading-container {
    display: none; /* Initially hidden */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 9999;
    width: 300px; /* Adjust the size of the spinner container */
    height: 300px;
}/* The rotating spinner */
.spinner {
    border: 16px solid #f3f3f3; /* Light gray */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 250px; /* Spinner size */
    height: 250px; /* Spinner size */
    animation: spin 1s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Text inside the spinner */
.spinner-text {
    position: absolute;
    top: 48%;
    left: 43%;
    transform: translate(-50%, -50%);
    font-size: 16px; /* Adjust text size */
    color: #3498db;  /* Match the blue color of the spinner */
    z-index: 10; /* Ensure text is above the spinner */
}

/* Status message styling */
#spinner-text {
    top: 25%; /* Position above the current job text */
}

#status-message {
    top: 50%; /* Position below the Nr of jobs */
}
