@font-face {
    font-family: 'Graphik';
    src: url('../style/Graphik/Graphik-Regular-Web.woff2') format('truetype');
    font-weight: normal;
    font-style: normal;
}
 
@font-face {
    font-family: 'Graphik';
    src: url('../style/Graphik/Graphik-Bold-Web.woff2') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../style/Graphik/Graphik-RegularItalic-Web.woff2') format('truetype');
    font-weight: normal;
    font-style: italic;
}


body {
    font-family: 'Graphik', sans-serif;
    margin: 0;
    padding: 0;
    flex-direction: column;
    width: 100vw; /* 100% of viewport width */
    height: 100vh; /* 100% of viewport height */
    position: relative; /* Set relative positioning */
    background-color: #eeeff2;
}

header {
    background-color: #4a5878;
    height: 66px; /* Fixed height for the header */
    max-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center; /* Ensure the .logo-container is centered within the header */
}

.logo-container {
    width: 90%; /* Occupy 92% of the header width */
    position: relative; /* Relative positioning for fine adjustments if needed */
    display: flex; /* Use flexbox for internal alignment */
    justify-content: center; /* Center the logo horizontally */
    align-items: center; /* Center the logo vertically */
}

#logo {
    max-height: 100%; /* Ensure the logo fits within the container */
    height: auto; /* Maintain aspect ratio */
}

img#logo {
    height: 30px; /* Make the logo take the full height of the header */
    width: auto; /* Adjust the width to maintain the aspect ratio */
    margin-right: auto; /* Push logo to the right */
    z-index: 1000; /* Ensure it's above other elements */
    object-fit: contain; /* Ensure the logo maintains its aspect ratio */
}

/*-----------TOOLTIP--------------*/
/* Style for the clickable link (blue text) */
  .info-link {
    color: #005BD7;      /* Blue color */
    text-decoration: none;
    /*font-weight: bold;*/
    position: relative;
    text-decoration: underline;
  }
  
  /* Underline on hover (optional) */
  .info-link:hover {
    text-decoration: underline;
  }
  
  /* The "i" icon in a circle */
  .info-icon {
    display: inline-block;
    margin-left: 0px;      /* Spacing between text and icon */
    width: 1em;
    height: 1em;
    border-radius: 50%;    /* Make it round */
    background-color: #005BD7; /* Same blue as the link */
    color: #fff;
    text-align: center;
    line-height: 1em;
    font-size: 0.75em;
    font-weight: bold;
    vertical-align: top;
  }

/* Container for the tooltip */
.tooltip {
  position: relative;
  cursor: pointer;
  display: list-item;
}

/* Tooltip text - hidden by default */
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 1rem;
  border-radius: 6px;
  min-width: 400px;
  margin-left: 30px;
  
  /* Position the tooltip above the text */
  position: absolute;
  z-index: 1;
   /*bottom: 125%; /* Adjust to move it higher/lower */
   /*left: 50%; */
  
  /* Fade-in effect */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show the tooltip when hovering over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip-ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
}

/* New class: reposition tooltip above the trigger */
.tooltip .tooltiptext-above {
    left: 50%;
    transform: translateX(-50%);
    bottom: 125%;
    margin-left: 0;
    margin-bottom: 5px;
  }


/*-----------END TOOLTIP--------------*/


.content-container
{
    padding-top: 1em;
}

.text-container
{
    padding-left: 3em;
    padding-top: 1em;
    padding-right: 3em;
}
body::-webkit-scrollbar {
    display: none;
}

main {
    flex: 1; 
    background-color: #ffffff; 
    overflow-y: auto; 
    font-size: 1em; 
    text-align: left; 
    margin: 1em auto;
    min-height: 75vh;
    width: 90%;
    position: relative;
}



.menu-headline {
    color: #999;
    font-size: 0.875em;
    font-weight: 700;
    line-height: 1.2em;
    padding: 10px 0;
    margin: 0; /* Add margin: 0; to remove default margins */
}


a {
    text-decoration: none;
	color:#005BD7;
}


button
{
    background-color: #33415C;
    border-width: 4px;

}

.blue-button-container {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    align-items: stretch;
    max-width: 400px; /* Set a maximum width for the container */
}


.blue-button {
    font-family: inherit;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
    background-color: #4A5878;
    color: #ffffff;
    border: 1px solid #DDE1E7;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 20px;
    text-decoration: none; /* Remove default underline */
    min-width: 25em; /* Set a minimum width for the button */
    font-size: 1em; /* Keep text size at 16px */
    border-width: 4px;
    border-color: #ffffff;
}

.blue-button a {
    font-family: inherit;
    color: inherit; /* Inherit color from parent */
    text-decoration: none; /* Remove default underline */
}

.blue-button:hover {
    background-color: #33415C; /* Darker shade of blue on hover */
    border-color: #92DCFF;
    border-width: 4px;
}


.blue-button:active {
    background-color: #000000; /* Change background color to black when pressed */
    color: #ffffff; /* Ensure text remains visible */
    border-color: #92DCFF;
    border-width: 4px;
}

#openModalLink
{
	color:#005BD7;
}

.modal {
    display: none; /* Hide the modal by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Semi-transparent background */
    overflow: auto; /* Enable scrolling when modal content exceeds viewport height */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px; /* Set maximum width for the modal */
    border-radius: 5px;
    max-height: 70vh; /* Limit height of modal content */
    overflow-y: auto; /* Enable scrolling within the modal if content exceeds height */
}

.close {
    color: #aaa;
    float: right;
    font-size: 1.75em;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal::-webkit-scrollbar {
    display: none;
}



/* Media query for smaller screens */
@media only screen and (max-width: 600px) {
    
    main {
        font-size:  1.1em !important; /* Increase font size for main content on smaller screens */
        margin: 0 1em;
    }
    
    #gfk-footer {
        font-size:  1.1em !important; /* Increase font size for footer on smaller screens */
        margin: 0  ; /* Set a default margin */
        padding: 0.5em 0 0.5em 0;
    }
	
	.text-container
	{
		padding-left: 0.5em;
		padding-top: 1em;
		padding-right: 0.5em;
	}
	
    .blue-button {
        font-size: 1.1em; /* Increase font size for better readability */
        min-width: 80%; /* Make the button full width */
        padding: 0.5em 0.1em;
    }

    .blue-button-container {
        max-width: 100%; /* Allow the container to fill the screen width */
    }

    #gfk-footer .menu-headline {
        font-size: 0.6em !important;
    }

    #gfk-footer .menu-link {
        font-size: 0.6em !important;
    }

    #copyright {
        font-size: 0.6em !important;
    }
    
	#tooltip {
		position: relative;
		gap: 5px;
        align-items: flex-start;
	}
	
	.tooltip {
		position: static;
	}
	
	 /* Initially hide tooltips */
	#tooltip li span.tooltiptext {
        display: none;
        font-size: 0.9em;
    }
	
    /* Show tooltip on hover or when li has the "active" class */
	#tooltip li.active span.tooltiptext {
	  display: block;
	}
	
	/* Tooltip text - hidden by default */
	.tooltip .tooltiptext {
	  visibility: hidden;
	  border-radius: 6px;
	  min-width: auto;
	  margin-left: 0px;
	  margin-top: 5px;
	  left: 0px;
	  
	  /* Position the tooltip above the text */
	  position: absolute;
	  z-index: 1;
	   /*bottom: 125%; /* Adjust to move it higher/lower */
	   /*left: 50%; */
	  
	  /* Fade-in effect */
	  opacity: 0;
	  transition: opacity 0.3s;
	}

	/* Show the tooltip when hovering over the tooltip container */
	.tooltip:hover .tooltiptext {
	  visibility: visible;
	  opacity: 1;
	}

	.tooltip-ul {
		display: flex;
		flex-direction: column;
		gap: 0px;
		align-items: center;
	}
	
}


/* Media query for smaller screens */
@media only screen and (max-width: 400px) {
    
    main {
        font-size:  1.2em !important; /* Increase font size for main content on smaller screens */
        margin: 0 1em;
    }
    .text-container
	{
		padding-left: 0.5em;
		padding-top: 1em;
		padding-right: 0.5em;
	}
    #gfk-footer {
        font-size:  1.2em !important; /* Increase font size for footer on smaller screens */
        margin: 0  ; /* Set a default margin */
        padding: 0.5em 0 0.5em 0;
    }

    .blue-button {
        font-size: 1.2em; /* Increase font size for better readability */
        min-width: 80%; /* Make the button full width */
        padding: 0.5em 0.1em;
    }

    .blue-button-container {
        max-width: 100%; /* Allow the container to fill the screen width */
    }

    #gfk-footer .menu-headline {
        font-size: 0.6em !important;
        padding: 0;
    }

    #gfk-footer .menu-link {
        font-size: 0.6em !important;
    }

    #copyright {
        font-size: 0.6em !important;
    }
	
    
}


.footer {
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    /*bottom: 0;*/
    background-color: white;
    border-top: 1px solid #ccc;
    -webkit-box-shadow: 0 0 13px rgb(0 0 0 / 40%);
    box-shadow: 0 0 13px rgb(0 0 0 / 40%);
}

.footer>.bottombar {
    display: block;
}

  .bottombar>ul {
    padding: 0;
    margin: 0 auto;
  }

  .bottombar>ul li {
    display: block;
    width: 50%;
    padding: 0;
    margin: 0;
    font: 12px/40px InsightWebRegular,Arial;
    float: left;
  }

.bottombar>ul {
    margin: 0 0;
}


.gfk-survey {
    font-size: 16px;
    text-align: initial;
    display: flex;
    min-height: 75vh;
    flex-direction: column;
    /*justify-content: space-between;*/
}

.footer li
{
    display: block;
    color: #999;
}

.footer a {
        text-decoration: none;
        color:#999;
}



.footer {
    display: block;
    width: 100%;
    position: relative; /* Ensure proper alignment within the layout */
    background-color: white;
    border-top: 1px solid #ccc;
    box-shadow: 0 0 13px rgba(0, 0, 0, 0.4);
}

.bottombar {
    display: flex; /* Use Flexbox for alignment */
    justify-content: space-between; /* Space between left and right content */
    align-items: center; /* Align items vertically */
}

.menu-container {
    display: flex; /* Flexbox to manage layout within the container */
    flex-direction: column; /* Stack elements vertically */
}

.menu-headline {
    font-weight: bold; /* Highlight the headline */
}

.menu-link {
    color: #005bd7; /* Customize link color */
    text-decoration: none; /* Remove underline */
}

.menu-link:hover {
    text-decoration: underline; /* Add underline on hover */
}


