/*
Theme Name: AOF VA Veilederportalen Theme
Template: genesis-block-theme
Author: Truls Dahl
Author URI: Din nettside
Description: Et child theme for Genesis Block Theme.
Version: 1.0.5
*/

/* Importer stiler fra parent theme */
@import url("../genesis-block-theme/style.css");

/* Her kan du legge til egendefinerte stiler for child theme */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap");

/* Ensure the main content and sidebar are displayed side by side */
#primary,
#secondary {
  display: inline-block;
  vertical-align: top;
}

#primary {
  width: 70%; /* Adjust width as needed */
}

#secondary {
  width: 30%; /* Adjust width as needed */
}
@media (min-width: 2550px) {
    #secondary {
        width: 29%;
    }
}


/*
AOF Accordion Box
*/
details.AOF-accordion-box {
    background-color: #E9F0EB;
  border-radius: 30px;
  margin-bottom: 20px;
  padding: 30px 30px 30px 30px;
}
details.AOF-accordion-box > summary {
  font-size: x-large;
  font-weight: bold;
}
details.AOF-accordion-box > :nth-child(2) {
  margin-top: 20px;
}

details {
    background-color: #E9F0EB;
  border-radius: 30px;
  margin-bottom: 20px;
  padding: 30px 30px 30px 30px;
}
details > summary {
  font-size: x-large;
  font-weight: bold;
}
details > :nth-child(2) {
  margin-top: 20px;
}

details ul{
    list-style: disc;
}


#aof-docLib a {
  color: #90b29b;
  text-decoration: underline;
}

.aof-standardKnapp {
  background-color: #3f425b;
  color: #fff;
  border-radius: 9999px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
}

/* Form Elements */
button,
input:not(input[type="radio"]),
textarea {
	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
	vertical-align: middle;
	box-sizing: border-box;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.comment-navigation a {
	background: #3f425b;
	border: 0;
	border-radius: 58px;
	color: #fff;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	padding: 14px 20px;
	transition: 0.2s ease-in-out;
    cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="tel"],
input[type="time"],
input[type="month"],
input[type="tel"],
textarea,
select,
.select2-container .select2-selection--single {
	color: #62707c;
	background: #fff;
	box-sizing: border-box;
	padding: 12px 16px !important;
	border: solid 2px #C5C6CE;
	transition: 0.1s ease-in-out;
	border-radius: 8px;
	font-size: 17px;
	width: 100%;
}

#masthead > div > div.container {
    display: none;
}

/* Stiler til sidestolpemenyen */
#nav_menu-4, #nav_menu-5 {
	border-radius: 30px;
    background: rgba(233, 240, 235, 1);
    padding: 25px;
	margin-bottom: 10px;
}

#nav_menu-4 h2, #nav_menu-5 h2 {
	padding-bottom: 5px;
    margin-bottom: 25px;
	text-align: center;
	border-bottom: 2px solid #F0956E;
	list-style-image: linear-gradient(90deg, #F0956E, #daccc6);
}

#nav_menu-4 ul, #nav_menu-5 ul {
    list-style: none;
}

#menu-sidemeny-fagskole li::before, #menu-fagomrademeny li::before
    {
        content: "➤";
        color: #F0956E; /* Change color if needed */
        display: inline-block; 
        width: 1em; 
        margin-left: -1em; 
        padding-right: 0.8em; 
}

.page-template-template-bred-side .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.page-template-template-bred-side #primary {
    width: 100%;
    max-width: 100%;
}

.error-404-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.error-404-left,
.error-404-right {
    flex: 1 1 45%; /* Adjust the width as necessary */
    margin: 10px;
}

.error-404-right img {
    max-width: 100%;
    height: auto;
}
.error404 #masthead {
    display: none;
}

.footer-widgets ul li {
    padding: 0 0 5px 0;
}

section#block-13 strong, section#block-15 p{
    color: white;
}

/* User List Styles */ 
/* ------------------------------------ */
/* Styles for the user list shortcode */
/* ------------------------------------ */
#aof-laererliste{
    max-width: 1200px;
}
.user-list {
    padding: 0;
    margin: 0;
    background-color: #E9F0EB;
    border-radius: 30px;
    padding: 20px;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
    justify-content: center;
}

.alphabet-nav a,
.alphabet-nav span {
    padding: 4px 10px 0 10px;
    border: 2px solid #F0956E;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #3f425b;
    font-size: 97%;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.alphabet-nav a:hover {
    background-color: #3f425b;
    color: #fff;
}

.alphabet-nav span {
    color: #ccc;
    border-color: #ccc;
}

.user-group-title {
    font-size: 24px;
    /* margin-top: 20px; */
    color: #3f425b;
    border-bottom: 2px solid #F0956E;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.user-group {
    list-style: none;
    padding: 0;
    margin: 0; 
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
}
.user-group li{
    margin-bottom: 0;
}

.user-item {
    /* background-color: #fff;
    border: 2px solid #C5C6CE;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; */
    width: calc(50% - 20px); /* Two columns */
    display: flex;
    align-items: center;
}

/* .user-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
} */

.user-details {
    display: flex;
    flex-direction: column;
    /* gap: 5px; */
    align-items: flex-start;
}

.user-name {
    font-size: 18px;
    font-weight: bold;
    color: #3f425b;
    text-align: left;
}

.user-email {
    font-size: 14px;
    color: #666;
    text-align: left;
}

#aof-aktuelt-paginering li {
    display: inline;
}

#block-9 figure {
    text-align: center;
}
.site-footer a:hover {
    color: #F0956E;
    text-decoration: underline;
}

.wp-image-1247#Layer_2 {
    height: 23px;
}

#aof-forsidemelding {
    max-width: 830px;
}


#aof-forsidemelding .tb-button__link {
    background-color: rgba(63, 66, 91, 1);
    border-radius: 50px;
    padding-top: 10px;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1px;
}
.groovy-logout-link {
    margin-right: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #8C8E9D;
}
