html {
    font-size: 14px;
}
body {
    background-color: #F0EAF7;
    color: #000000;
    padding-bottom: 50px; /* Varaa tilaa footerille, jotta sisältö ei peity sen alle */
}
h2, h4 {
    color: #FFA500;
    /*background: linear-gradient(to right, #FFFFFF, #FEF7E4);*/
    padding: 4px;
    /*border: 1px solid #a8a8a8;*/
}
h5 {
    color: #FFA500;
}
li {
    /*font-size: 1.2rem; */
    list-style-type: none;
    position: relative;
    padding-right: 20px;
    padding-bottom: 3px;
}
li::before {
    content: '•'; /* This is a bullet point character */
    color: #FFA500; /* Yellow color */
    font-size: 24px; /* Adjust size if needed */
    position: absolute;
    left: -13px; /* Positioning bullet to the left of the list item */
    top: 35%; /**/
    transform: translateY(-50%); /* Vertically centering the bullet */
}
.custom-link {
    color: black;
    text-decoration: underline;
}
.custom-link-white {
    color: white;
    text-decoration: underline;
}
.sisennys1rem {
    display: block; /* jotta padding vaikuttaisi koko linkkiin */
    padding-left: 1rem; /* sisennys vasemmalta */
}
.container-highlighted {
    position: relative;
    background: linear-gradient(to right, #8B004E, #A23371);
    padding: 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-style: italic;
    display: flex;
    align-items: flex-start; /* asettaa lapset ylös */
    justify-content: space-between; /* Asettaa lapsielementit lohkon eri reunoihin */
}
@media (max-width: 767px) {
    .container-highlighted {
        display: none;
    }
}
.highlighted-label {
    color: #FFA500;
    background: linear-gradient(to right, #FFFFFF, #FEF7E4);
    font-style: normal;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px; /* Väliä labelin ja päätason tekstin välillä */
    height: 35px;
    flex-shrink: 0; /* Estää kutistumisen */
    min-width: 200px;    
}
.highlighted-main-text {
    flex-grow: 1; /* sallii elementin kasvaa ja täyttää tilan */
    color: #ffffff;
    text-align: right;
}
.section-title {
    margin-bottom: 0.5rem;
}
.navbar {
    background: linear-gradient(to right, #8B004E, #A23371);
}

.news-card {
    background-color: #8B004E;
    color: #FFFFFF;
}

/* 5. Varjostus */
.news-card h5 {
    text-shadow: 2px 2px 4px #aaa;
}
/* Reset the default list-style for the navbar list items */
.navbar-nav li {
    font-size: 1.2rem;
    list-style-type: none;
    position: relative;
    padding-right: 20px;
}

/* Add the yellow bullet using the ::before pseudo-element */
.navbar-nav li::before {
    content: '•'; /* This is a bullet point character */
    color: #FFA500; /* Yellow color */
    font-size: 24px; /* Adjust size if needed */
    position: absolute;
    left: -10px; /* Positioning bullet to the left of the list item */
    top: 50%;
    transform: translateY(-50%); /* Vertically centering the bullet */
}

.custom-radio-list table {
    border-spacing: 2px;
}

.custom-radio-list tr td {
    padding: 0px;
}

.custom-radio-list input[type="radio"] {
    margin-right: 5px;
}

.custom-radio-list input[type="checkbox"] {
    margin-right: 5px;
}

.btn-lomake {
    background-color: #FFA500; /* Keltainen taustaväri */
    color: #000000; /* Musta tekstiväri */
    border: none; /* Poista oletusreunus */
    padding: 10px 15px; /* Sisäinen marginaali */
    border-radius: 5px; /* Pyöristetyt kulmat */
    cursor: pointer; /* Käsikursori */
    transition: background-color 0.3s ease; /* Animaatio taustavärin muutokseen */
}

.btn-lomake:hover {
    background-color: #FFC266; /* Vaaleampi keltainen, kun hiiri on nappulan päällä */
}

/* Kiinteä footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
}
.footer-sisalto {
    margin: 0 auto;
    background: linear-gradient(to right, #8B004E, #A23371);
    /*background-color: #8B004E; */
    color: #fff;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Lisää varjo footerin yläosaan */
}
/* Eväste Popup */
.cookie-popup {
    position: fixed;
    /*bottom: 60px; /* Sijoitettu 60px päähän alareunasta, jotta se ei peity footerin alle */
    /*left: 5%; /* Vasen marginaali */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Leveys */
    max-width: 450px; /* Maksimileveys */
    padding: 15px;
    background-color: #8B004E; /* Käytetään samaa väriä kuin .navbar ja .news-card */
    color: #FFFFFF; /* Valkoinen tekstiväri */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Varjostus */
    border-color: #FFFFFF;
    border-width: 2px;
    border-radius: 10px; /* Pyöristetyt kulmat */
    z-index: 1000; /* Varmistetaan, että popup on muiden elementtien päällä */
}

.cookie-popup h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #FFA500; /* Otsikko keltaisella */
}

.cookie-popup button {
    background-color: #FFA500; /* Keltainen taustaväri */
    color: #000000; /* Musta tekstiväri */
    border: none; /* Poista oletusreunus */
    padding: 10px 15px; /* Sisäinen marginaali */
    border-radius: 5px; /* Pyöristetyt kulmat */
    cursor: pointer; /* Käsikursori */
    transition: background-color 0.3s ease; /* Animaatio taustavärin muutokseen */
}

.cookie-popup button:hover {
    background-color: #FFC266; /* Vaaleampi keltainen, kun hiiri on nappulan päällä */
}

