body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
	padding-top: 75px;
    padding-bottom: 50px;
}

header {
    background: #005d17;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem; 
}

	/* Roterande logo */
		.logo img {
		  max-height: 75px;
		  width: auto;
		  transition: transform 0.5s ease; /* Smidig övergång vid hover */
		}
		
		/* Roterar logon vid hover */
		.logo img:hover {
		  transform: rotate(180deg);
		}
		
		/* Animation vid första laddning */
		@keyframes spinLogo {
		  0% { transform: rotate(0deg); }
		  100% { transform: rotate(720deg); } 
		}
		
		.logo img.start-spin {
		  animation: spinLogo 2s ease-in-out;
		}


.logo i {
    margin-right: 10px;
}

.logo div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sitetitle {
    margin: 0;
    font-size: 1.8rem; 
	font-weight: bold;
}
.sitetitle a:link, .sitetitle a:visited {color:#fff; text-decoration:none;}

.subline {
    font-size: 0.8rem; 
    color: #ccc;
	font-style:italic;
	margin:0;
}

#breadcrumbs {width:800px; margin:10px auto; clear:both; max-width:85%; padding: 10px 20px 0 20px;
  font-style: italic;}
#breadcrumbs ol {padding-left:0;}
#breadcrumbs ol li {display:inline-block; list-style-type:none; text-transform: capitalize; float:none;
padding:0 2px; font-family: Arial,Helvetica,sans-serif; font-size: 12px;}
#breadcrumbs a:link, #breadcrumbs a:visited {color:#03C !important; text-decoration:underline !important;}

h1 {font-size:2rem; line-height:1.2;}
h2 {font-size:1.3rem; line-height:1.2;}
p img {max-width:100%; height:auto;}
nav {
    margin-top: 1rem;
}

nav a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

main {
    padding: 0 20px 20px 20px;
	max-width:800px;
	margin:0 auto;
	margin-bottom:25px;
}

section {
    margin: 0;
    padding: 0;
}


.block-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.block {
    background: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px;
	box-sizing: border-box;
}

.block-full {
    width: 100%;
}

.block-half {
    width: 100%;
}

.block-third {
    width: 100%;
}

/**********
  FORMS
***********/
.input-container {
    display: flex;
    justify-content: space-around; 
	box-sizing: border-box;
}
.input-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px; 
	border: 1px solid #ccc;
	background-color: white;  
	padding: 10px;
	box-sizing: border-box;
}
.input-group label {margin: 0 auto;
  font-weight: 600;
  text-transform: uppercase;}
.number-input {
    margin-left: 10px;
   -moz-appearance: textfield;
   text-align:center;
   font-size: 1.7rem;
   font-weight: 400;
   border:none;
}
		.two-fields {max-width:45%;}
		.one-field {flex-direction: column;}

.dropdown {
    width: 100%; 
    padding: 5px; 
    margin-top: 5px; 
    border: 1px solid #ccc; 
    border-radius: 5px;
}

textarea {
    width: 97%; 
    padding: 1px; 
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px; 
}

button {
    background-color: #b30000; 
    color: white;
    padding: 10px 20px; 
    border: none;
    border-radius: 10px; 
    max-width: 300px; 
    width: 100%; 
    cursor: pointer; 
    margin: 10px auto; 
    display: block;
	font-size: 1.5rem;
	margin-top: 10px;
}

button:hover {
    background-color: #990000; 
}

/*********
  RESULTAT
  *********/
#result-single, #result-series, #result-yesno{font-weight:bold; font-size:1.8rem; text-align:center;}
#result-yesno {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; 
}
#result {
    font-weight: bold;
    text-align: center;
	font-size:24px;
	color:#2e8b01;
}
#result-groups {color:#000;font-size:24px;text-transform: capitalize;text-align: left;}

.group-title {
    font-weight: bold;
    cursor: pointer;
}

.group-title[contenteditable="true"] {
    background-color: white;
    border: 1px solid #ccc; /* Optional: add a border */
    padding: 4px; /* Optional: add some padding */
    min-width: 100px; /* Ensure the field doesn't collapse */
}

.group-title::placeholder {
    color: #999;
}


.edit-icon {
    cursor: pointer;
    margin-left: 10px;
}


/********
   GRAFIK
   *********/
.loader {
    display: none;
    border: 5px solid #f3f3f3; 
    border-top: 5px solid #3498db; 
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
	margin:0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/************
     BANNERS
	 ***********/
.banner-container {margin: 0 auto;padding:0 0 50px 0; max-width:800px;}
  	 
.desktop-banner {width:728px;height:90px;}

.mobile-banner {width:100%;height:auto;}

.banner-title {font-size:12px;font-style:italic;text-transform:uppercase;}


/**********
    LISTOR
	**********/
#customListInput {
    max-width: 100%; 
    resize: vertical; 
	overflow-y: hidden;
}
.custom-list {
    list-style-type: none; 
    padding: 0;
}

.custom-list li a {
    display: flex; 
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px; 
    text-decoration: none; 
    color: #145e62;
	text-transform:uppercase; 
	font-weight:bold;
}

.custom-list li {
    padding: 0; 
    border: none; 
    margin-bottom: 0;
	background:#fff;
	width:100%;
}
	.custom-list li:hover, .custom-list li a:hover {background: #EAEAEA;}

.custom-list li i:first-child {
    margin-right: 10px;
}

.custom-list li i:last-child {
    margin-left: auto;
}

.custom-list li span {
    flex-grow: 1;
    text-align: left;
}
	
	
/********************

FAQs

*******************/

.faq-container {
            margin-top: 20px;
        }
        .faq-question {
            cursor: pointer;
            padding: 15px;
            background-color: #005d17;
            border: 1px solid #ddd;
            margin-bottom: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
			color:#fff; font-weight:bold;
        }
        .faq-question:hover {
            background-color: #137513;
        }
        .faq-answer {
            display: none;
            padding: 15px;
            border: 1px solid #ddd;
            border-top: none;
            background-color: #fff;
        }
        .faq-icon {
            font-size: 18px;
            transition: transform 0.3s ease;
        }
        .rotate {
            transform: rotate(180deg);
        }


footer {
    background: #ccc;
    color: #000;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
	height:45px;
	font-size:14px;
}
footer p{margin-top:0px;}


@media (min-width: 780px) {
    .block-container {
        
    }

    .block-full {
        
    }

    .block-half {
        width:49.33%;
    }

    .block-third {
        width:32.44%
    }
}

@media (min-width: 1024px) {
    .block-container {
        
    }

    .block-full {
        
    }

    .block-half {
       
    }

    .block-third {
       
    }
}

@media (max-width: 600px) {
    /******
	  FORMS
	  *******/
	  
	.input-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .number-input {
        margin: 0 auto;
		width:150px;
    }
	footer {
        position: static;
    }
}
