/* BRF-FURUDAL.SE */



html, body, form {
    height: 100%; /* låt body ta hela höjden */
    margin: 0;
    display: flex;
    flex-direction: column; /* stapla main + footer vertikalt */
    color: #000000;
    background-color: #F1F6FC !important;
    font-family: "Inter","Nunito Sans" !important;
    font-size: 1rem;
}



h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

/*@media print {
    .no-print {
        display: none;

        body {
            margin: 10mm;
        }
    }*/


::placeholder { 
  color: #B9B9B9;
  opacity: 1; 
}

a, a:active, a:visited, a:link {
    color: #016BA0;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

.aktuellt-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}


  /* Loggans text */
  .navbar-brand span {
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
  }

  /* Vanliga menylänkar */
  .navbar-nav .nav-link {
    font-size: 1rem;     
    font-weight: 400;
    color: black !important;
  }


.cke_contents {
    min-height: 500px !important;
}

/* --- Textbox för admin-rubrik --*/
.big-h1-input {
    font-size: 2rem;
    font-family: "Roboto Slab", serif;
    padding: 0.5rem 0;
    background-color: transparent;
    box-shadow: none;
    color: #000;
    border: 1px solid lightgrey;
    border-radius: 0;
    outline: none;
    padding:3px;
}
/* --- Textbox för admin-intro --*/
.big-intro-input {
    font-family: "Inter","Nunito Sans" !important;
    padding: 0.5rem 0;
    background-color: transparent;
    box-shadow: none;
    color: #000;
    border: 1px solid lightgrey;
    border-radius: 0;
    outline: none;
    padding: 3px;
    font-weight: bold;
    font-size: 1rem !important;
}



/* -- HERO ---*/
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    overflow: hidden;
    background-repeat: no-repeat;
}      
  
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
    }


.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 40px;
}

   
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

  
    .hero-content p {
        font-size: 1.2rem;
        max-width: 600px;
    }

    /** -- END HERO -- */



/* -- CARDS --*/
.cards-container {
    display: flex;
    justify-content: space-between; /* första kort vänster, sista höger */
    flex-wrap: wrap; /* bryt på små skärmar */
    gap: 10px; /* mellanrum mellan korten */
}

/* Vit låda runt varje kort */
.card-wrapper {
    background-color: white;
    padding: 20px;
    display: flex;
    justify-content: center; /* kortet centreras i sin vita låda */
}

.custom-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 250px; /* fix kortbredd */
}

  
    .custom-card img {
        width: 100%;
        height: auto;
        display: block;
    }

    .custom-card .card-body {
        padding: 0;
    }


/* ---- Button Green ----- */
.btn-green {
    background-color: #0F7A5A;
    border: none;
    color: white !important;
    padding: 12px;
    font-style: normal;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    font-family: "Inter", "Segoe UI";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}    
    .btn-green:not([disabled]):not(.disabled).active,
    .btn-green:not([disabled]):not(.disabled):active,
    .btn-green:not([disabled]):not(.disabled).hover,
    .btn-green:not([disabled]):not(.disabled):hover {
        color: #fff !important;
        background-color: #0F7A5A !important;
        border-color: #0F7A5A !important;
    }

    .btn-green:hover, .btn-green:focus, .btn-green:active, .btn-green.active, .open > .dropdown-toggle.btn-green {
        background-color: #0F7A5A !important;
        color: white !important;
        outline: 0 none;
    }
/* --- End Button Green ---*/
/* ---- Small Button Green ----- */
.btn-sm-green {
    background-color: #0F7A5A;
    border: none;
    color: white !important;
    padding: 8px;
    font-family: "Inter", "Segoe UI";
    font-style: normal;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

    .btn-sm-green :not([disabled]):not(.disabled).active,
    .btn-sm-green :not([disabled]):not(.disabled):active,
    .btn-sm-green :not([disabled]):not(.disabled).hover,
    .btn-sm-green :not([disabled]):not(.disabled):hover {
        color: #fff !important;
        background-color: #0F7A5A !important;
        border-color: #0F7A5A !important;
    }

    .btn-sm-green:hover,
    .btn-sm-green:focus,
    .btn-sm-green:active,
    .btn-sm-green.active,
    .open > .dropdown-toggle.btn-sm-green {
        background-color: #0F7A5A !important;
        color: white !important;
        outline: 0 none;
    }
/* --- End Small Button Green ---*/

/* -- Button Red ----*/
.btn-red {
    background-color: #C00000;
    border: none;
    color: white !important;
    padding: 12px;
    font-family: "Inter", "Segoe UI";
    font-style: normal;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

    .btn-red:not([disabled]):not(.disabled).active,
    .btn-red:not([disabled]):not(.disabled):active,
    .btn-red:not([disabled]):not(.disabled).hover,
    .btn-red:not([disabled]):not(.disabled):hover {
        color: #fff !important;
        background-color: #C00000 !important;
        border-color: #35ab73 !important;
    }

    .btn-red:hover, .btn-red:active:focus, .btn-red.active:focus {
        outline: 0 none;
    }

    .btn-red:hover, .btn-red:focus, .btn-red:active, .btn-red.active, .open > .dropdown-toggle.btn-red {
        background-color: #C00000 !important;
        color: white !important;
    }

/* --- End Button Red ---*/

/* ---- Button Black ----- */
.btn-black {
    background-color: #090909;
    border: none;
    color: white !important;
    padding: 12px;
    font-style: normal;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    font-family: "Inter", "Segoe UI";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

    .btn-black:not([disabled]):not(.disabled).active,
    .btn-black:not([disabled]):not(.disabled):active,
    .btn-black:not([disabled]):not(.disabled).hover,
    .btn-black:not([disabled]):not(.disabled):hover {
        color: #fff !important;
        background-color: #090909 !important;
        border-color: #000000 !important;
    }

    .btn-black:hover, .btn-black:focus, .btn-black:active, .btn-black.active, .open > .dropdown-toggle.btn-black {
        background-color: #090909 !important;
        color: white !important;
        outline: 0 none;
    }
/* --- End Button Black ---*/



/* Special for selected in bootstrap */

input:focus, select:focus, textarea:focus, button:focus, a:focus,
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus,
input[type="checkbox"]:focus, input[type="radio"]:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125); /* Ljusgr  kantf rg */
    outline: none; /* Ta bort den bl  outline-linjen */
}


input:disabled:focus, select:disabled:focus, textarea:disabled:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

textarea:focus,
textarea:focus-visible {
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.125) !important;
    outline: none !important;
}

input:focus-visible, select:focus-visible, textarea:focus-visible {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
    outline: none;
}

.form-select:focus,
.form-control:focus {
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.125) !important;
    outline: none !important;
}



/* -- FOOTER -- */
    .footer {
    width: 100%;
    background-color: #D3E3F7;
    font-family: "Inter", "Segoe UI";

    }

/*footer.footer {
    background-color: #D3E3F7;
    padding: 20px;
    font-family: "Inter", sans-serif;
}*/

.aktuell-item {
    cursor: grab;
    transition: box-shadow 0.2s;
}

    .aktuell-item:active {
        cursor: grabbing;
    }

.sortable-ghost {
    opacity: 0.4;
    background: #e8f0fe !important;
}

.aktuell-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}






