* {margin:0;padding:0;} 

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	align-items: center;
	gap: 15px;
	background: #f5f5f5;
	color: #505050;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 24px;
	margin: 0;
}

h1 {
    font-size: 18px;
}

h2 {
    font-size: 16px;
}

h3 {
    font-size: inherit;
}

h1, h2, h3, h4 {
    font-weight: 400;
}

.center {
    margin: 0 auto;
    max-width: 900px;
}

.f-12 {
	font-size: 12px;
}

.no-borders {
	border: none !important;
}

.better {
	color: green;
}

.same {
	color: orange;
}

.worse {
	color: red;
}

ul, ol {
    list-style-position: inside;
}

#detail-page h1 {
    white-space: nowrap;
}

img {
    border: 0
}

	img.thumb {
		max-width: 224px
	}

[hidden] {
    display: none
}

.hidden {
    display: none
}

.left {
    float: left
}

.right {
    float: right
}

.block {
    display: block
}

.flex {
    display: flex
}

.inline-block {
    display: inline-block
}

.space-around {
    display: -webkit-flex;
    -webkit-justify-content: space-around;
    display: flex;
    justify-content: space-around;
}

.align-right {
    text-align: right
}

.align-center {
    text-align: center
}

.align-img-center {
	display: block;
    margin: 0 auto;
    max-width: 100%;
    padding: 10px 0;
    box-sizing: border-box
}

.align-middle {
    vertical-align: middle
}

.w-250 {
	width: 250px
}

.adslot_container a {
	border: none !important;
}

.ads-notify {
	font-size: 11px;
	line-height: normal;
}

.adslot_detail_custom img
{
	max-width: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
	a:hover {	
		text-decoration: underline;
	}

b,
strong {
    font-weight: 400
}
.ultra-strong {
    font-weight: 900
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0
}

button,
input {
    line-height: normal
}

button,
select {
    text-transform: none
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
    appearance: button;
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],
html input[disabled] {
    cursor: default
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=search] {
    appearance: textfield;
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

textarea {
    overflow: auto;
    vertical-align: top
}

table {
    padding: 0;
    margin: 0;
    border-spacing: 0;
}

tr,
td {
    padding: 0;
    margin: 0
}

legend,
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

pre {
    padding: 0;
    margin: 0
}

pre code {
    overflow: hidden
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 900px;
	max-width: 100%;
	box-sizing: border-box;
	border-radius: 5px;
	border: solid 1px #ddd;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
	background: #fff;
	min-height: 100%;
}

.bottom-wrapper {
    margin-top: auto; 
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    width: 100%;
    border-bottom: 1px solid #fff;    
}

.header-logo {
	padding-left: 2.5%;
}

.header-logo img {
    width: 210px;
}

.header-top-row {
    background: #767676;
}

.header-top-row section {
	width: 900px;
	max-width: 100%;
  margin: 0 auto;
  height: 75px;
	display: flex;
	justify-content: space-between;
	align-items: center;  
	line-height: 0;
}

.header-top-right {
	display: flex;
	padding-right: 2.5%;	
	gap: 10px;
}

.header-bot-row {
	background: #f5f5f5;
	color: #505050;
	max-height: 40px;
	border-bottom: 1px solid #ddd;
}

.header-bot-row li {
	display: inline;
	white-space: nowrap;
	overflow: hidden;	
}

.header-bot-row li a {
	font-weight: 300;
	color: inherit
}

	.header-bot-row li a:hover {
	color: black;
	text-decoration: underline;
	}

.header-bot-row li:first-child {
	margin-left: 0;
}

.header-bot-row li:last-child {
	margin-right: 0;
}

.sub-header,
.sub-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 2.5%;
	box-sizing: border-box;
	background-color: #fafafa;
}

.sub-header {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
  	border-bottom: solid 1px #ddd;
}

.sub-footer {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
  	border-top: solid 1px #ddd;
}

.panel-sort-order {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 1% 2.5%;
	box-sizing: border-box;
	background-color: #fafafa;
	border-bottom: solid 1px #ddd;
}


.ui-tooltip {
	padding: 5px 10px;
	color: inherit;
	border-radius: 5px;
	font-size: 12px !important; 
	box-shadow: 4px 4px 8px grey;
	white-space: pre-line;
}

.adslot_detail_custom img
{
	max-width: 100%;
}

/* Footer */

footer {
	width: 100%;
	margin-top: auto;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
}

	#footer a:hover {
		color: white;
	}

.footer-top-row {
	background: #767676;
	color: #dbdbdb;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px
}
	.footer-top-row section {
		width: 900px;
		max-width: 100%;
	}
	.footer-top-row section:first-child {
		padding-top: 40px;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}	
	.footer-top-row section > div {
		padding: 0 2.5%;
	}
	.footer-top-row section.country-switcher > div {		
		color: white;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}	
	.footer-top-row section.country-switcher div div {		
		padding-right: 15px;
	}					
	.footer-top-row section.country-switcher div div span:nth-of-type(2) {		
		padding: 0 5px;
	}

		
.footer-informatie {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.footer-informatie div:first-child {
	font-weight: 400;
	color: white;
}

.footer-informatie div:last-child {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
}
	.footer-informatie div:last-child a {
		padding: 0 15px;
	}

.footer-top-uk,
.footer-top-default {
	font-weight: 400;
	color: white;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.footer-top-uk a,
.footer-top-default a {
	padding: 0 15px;
}

.footer-bot-row {
  text-align: center;
	background: #535353;
	color: #767676;
}

.footer-partners {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 20px;
	line-height: 0;
}

.footer-partners a svg,
.footer-partners a img {
	height: 64px;
}

.header-settings {
    display: flex;
    align-items: center;
}

/* Settings Button */
#settings-button,
#country-selector-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

#settings-button:hover,
#country-selector-button:hover {
    transform: scale(1.2);
}

/* Settings Modal */
.settings-modal,
.country-selector-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 300px;
}

.settings-modal.active,
.country-selector-modal.active {
    display: block;
}

.settings-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.settings-overlay.active {
    display: block;
}

/* Settings Header */
.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Close Icon */
.settings-close-icon {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.settings-close-icon:hover {
    color: #333;
}

/* Settings Options */
.settings-option {
    margin-bottom: 15px;
}

.settings-option label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

/* Units List */
.units-list,
.country-list {
    list-style: none;
    padding: 0;
    margin: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.units-list li,
.country-list li {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.units-list li:hover,
.country-list li:hover {
    background-color: #f0f0f0;
}

.units-list li.selected,
.country-list li.selected {
    background-color: #e0e0e0;
}

.settings-option small {
    display: block;
    padding-left: 10px;
    color: #666;
    font-size: 0.8rem;
}

.country-list .country-name {
	display: flex;
	gap: 10px;
}

/* Settings Actions */
.settings-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.settings-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

#apply-settings,
#apply-country,
#confirm-action {
    background-color: #4CAF50;
    color: white;
}

#apply-settings:hover,
#apply-country:hover,
#confirm-action:hover {
    background-color: #3e8e41;
}

.settings-close,
.country-close {
    background-color: #ccc;
    color: white;
}

.settings-close:hover,
.country-close:hover {
    background-color: #505050;
}

.settings-option p {
    text-align: center;
}

/* Breadcrumb Container */

.header-breadcrumb section {
    width: 900px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Breadcrumb Navigation */
.breadcrumb {
    list-style: none;
    padding: 8px 2.5%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
    padding: 0 5px;
    color: #767676;
}

.breadcrumb-item a {
    color: #505050;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.breadcrumb-item a:hover {
    text-decoration: none;
    border-bottom: 1px solid #505050;
}

.breadcrumb-item.active {
    color: #767676;
}

@media only screen and (max-width:900px) {

	.sub-header,
	.sub-footer,
	.jplist-panel,
	main {
		border-radius: 0px;
	}

	main {
		border-left: 0 !important;
		border-right: 0 !important;
	}
		
}

@media only screen and (max-width:750px) {

	.header-logo {
		margin-left: 0;
	}

	.header-bot-row {
		display: none;
	}	

	.header-bot-row.recruit {
		display: block;
	}	

    .header-breadcrumb {
        padding: 0 10px;
    }
    
    .breadcrumb {
        font-size: 13px;
    }

	.footer-top-row {
		gap: 20px;
	}

	.footer-top-row section:first-child {
		padding-top: 20px;
	}
}

@media only screen and (max-width:450px) {
	.header-logo img {
		width: 170px;
	}

    .header-top-row section {
        height: 50px;
    }
}

main.content {
    flex: 1 0 auto;
    width: 900px;
    max-width: 100%;
}
