@font-face {
    font-family: 'Adobe Caslon Pro Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Adobe Caslon Pro Regular'), url('ACaslonPro-Regular.woff') format('woff');
    }


body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: rgb(31, 35, 41);
    font-size: 18px;
}

.container {
    max-width: 800px;
    margin: 0px auto;
    padding: 0 20px;
}

.ingress{
    font-size: 1.2em;
}

header {
    padding: 24px;
    text-align: center;
}

header img.logo {
height: 160px;
}

h1{
    font-size: 1.5em;
    line-height: 1.2em;
    color: rgb(31, 35, 41);
}

h2{
    font-size: 1.5em;
    color: rgb(31, 35, 41);
}

h3{
    font-size: 1.2em;
}

form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
select,
button {
    padding: 8px;
    margin-bottom: 10px;
    margin-top: 24px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box; /* Viktigt för att inkludera padding och border i bredden */
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

.survey button {
    background-color: rgb(31, 35, 41);
    border: 2px solid rgb(31, 35, 41);
    color: white;
    cursor: pointer;
    font-size: 1.2em;
}

button:hover {
    background-color: #eee;
    color: rgb(31, 35, 41);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

.radio-group label {
    display: inline-block;
    margin-right: 10px;
}

.radio-group input[type="radio"] {
   
   
    margin-right: 5px;
}

.radio-group{
    
  margin-bottom: 10px;
}

.question_box{
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px; /* Adjust the value for desired roundness */
    background-color: #f9f9f9; /* Optional: Add a light background color */
    
}

.result_box{
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px; /* Adjust the value for desired roundness */
    background-color: #f9f9f9; /* Optional: Add a light background color */
        
}

.score{
    font-size: 1.2em;
    font-weight: bold;
}

.score_level{
    font-weight: bold;
}

.description{
    white-space: pre-line;
}


body.admin{
    padding: 20px;
}

.questionarea{
    width: 100%;
    height: auto;
}

tr.questionarea_holder td{
    border-bottom: 1px solid #666;
}

.navigator_holder{
    width: 100%;
}

.navigator_holder td{
    width: 50%;
}

.navigator_holder td button{
    margin: 0;
}
