body {
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size: 10px;
    color: #000;
    line-height: 20px;
    margin: 0;
    padding: 0;
}

a:link, a:visited, a:active {
    color: #fff;
    text-decoration: underline;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

img {
    border: none;
}

.icon {
    float: left;
    padding: 5px;
    width: 45%;
}

@font-face {
    font-family: 'FuturaLTBold';
    src: url('../fonts/futuralt-bold-webfont.eot');
    src: url('../fonts/futuralt-bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/futuralt-bold-webfont.woff') format('woff'),
    url('../fonts/futuralt-bold-webfont.ttf') format('truetype'),
    url('../fonts/futuralt-bold-webfont.svg#FuturaLTBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1 {
    position: absolute;
    top: 80px;
    left: 10px;
    padding: 0;
    margin: 0;
    font-family: 'FuturaLTBold';
    font-size: 20px;
    color: #b22222;
    font-weight: normal;
    letter-spacing: 2px;
    z-index: 100;
}

h2 {
    padding: 0;
    margin: 0;
    font-family: 'FuturaLTBold';
    font-size: 16px;
    color: #2a71af;
    font-weight: normal;
    line-height: 30px;
    letter-spacing: 1px;
}

.naam {
    font-weight: bold;
    color: #b22222;
}

#bar {
    height: 50px;
    min-width: 1000px;
    width: 100%;
    background: #000;
}

#menu {
    position: relative;
    height: 50px;
    width: 1000px;
    margin: 0 auto;
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size: 14px;
}

#menu ul {
    float: right;
    padding: 0;
    margin: 0;
}

#menu li {
    display: block;
    height: 50px;
    list-style: none;
    float: left;
    padding: 0px 10px;
    background: url(../images/menu.jpg) no-repeat right;
}

#menu li a:link, #menu li a:active, #menu li a:visited {
    font-size: 13px;
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0px;
    color: #fff;
    text-decoration: none;
}

#menu li a:hover {
    color: #ccc;
}

#logo {
    float: left;
    display: block;
    background: #fff;
    height: 107px;
    width: 150px;
    padding: 0px 75px;
}

#fb {
    position: absolute;
    top: 15px;
    left: 15px;
    height: 16px;
    width: 16px;
}

.active {
    font-weight: bold;
}

#container {
    position: relative;
    width: 1000px;
    min-height: 300px;
    margin: 0px auto 0px auto;
}

#content {
    width: 1000px;
    min-height: 300px;
}

#left {
    position: relative;
    clear: both;
    float: left;
    width: 280px;
    padding: 50px 10px 20px 10px;
    background: #fff;
}

#left2 {
    position: relative;
    clear: left;
    float: left;
    width: 280px;
    background: #fff;
}

#right {
    position: relative;
    float: right;
    clear: right;
}

#right2 {
    margin-left: 510px;
}

.item1 a:link, .item1 a:active, .item1 a:visited {
    color: #000 !important;
    text-decoration: underline;
    margin-left: 20px;
}

.item1 a:hover {
    text-decoration: none;
}

.item1 {
    display: block;
    width: 490px;
    min-height: 200px;
    background: #fff;
    margin-bottom: 20px;
}


.item2 {
    display: block;
    float: left;
    width: 230px;
    min-height: 150px;
    margin-right: 30px;
    margin-bottom: 30px;
}

.item3 {
    display: inline-block;
    width: 200px;
    padding: 20px;
    min-height: 150px;
    margin: 20px 0px;
    background: #fff;
    vertical-align: top;
}

.item4 {
    display: block;
    width: 450px;
    min-height: 200px;
    margin: 0px 0px 20px;
    padding: 20px;
    background: #fff;
}

.item2 h2, .item1 h2 {
    padding: 10px 20px 0px 20px;
}

.item2 p, .item1 p {
    padding: 0px 20px 0px 20px;
}

.main {
    display: none;
    width: 920px;
    min-height: 200px;
    background: #fff;
    margin-bottom: 30px;
    float: left;
    padding: 20px;
}

.main a:link, .main a:active, .main a:visited, .sidebar a:link, .sidebar a:active, .sidebar a:visited {
    color: #000 !important;
    text-decoration: underline;
}

.main a:hover, .sidebar a:hover {
    text-decoration: none;
}

.album {
    margin: 0px 20px 20px 0px;
}

.sidebar {
    display: none;
    float: right;
    width: 260px;
    min-height: 200px;
    background: #fff;
    margin-bottom: 30px;
    padding: 20px;
}

.sidebar img {
    margin-bottom: 20px;
}

.sidebar h2, .sidebar p {
    padding: 10px 20px 10px 20px;
}

.tab {
    padding-left: 20px;
    padding-right: 20px;
}

.meer {
    display: block;
    float: right;
    width: 96px;
    height: 19px;
    background: url(../images/meer.jpg);
}

.more {
    display: block;
    float: right;
    width: 96px;
    height: 19px;
    background: url(../images/more.jpg);
}

.bekijk {
    display: block;
    float: right;
    width: 115px;
    height: 19px;
    background: url(../images/bekijk.jpg);
}

#footer {
    clear: both;
    height: 40px;
    min-width: 1000px;
    width: 100%;
    background: #000;
    bottom: 0;
}

#footercontent {
    color: #fff;
    width: 1000px;
    margin: 0 auto;
}

#footer a:hover {
    color: #fff !important;
    text-decoration: none !important;
}


/* === MOBILE-ONLY overrides (не трогают десктоп) ========================== */
/* Работают только когда ширина вьюпорта ≤1024px (узкие окна и телефоны) */
@media (max-width: 1024px) {

    /* Базовые штуки — только на узких экранах */
    html { -webkit-text-size-adjust: 100%; }
    body { font-size: 16px; line-height: 1.6; margin: 0; overflow-x: hidden; }

    /* Медиа не вылезают за край */
    img, video, svg, canvas { display: block; max-width: 100%; height: auto; }
    iframe, embed, object {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9;
        display: block;
    }

    /* Убираем жесткую ширину макета — только на мобиле */
    #bar, #footer { min-width: 0 !important; }                    /* было min-width:1000px */
    #menu, #container, #content, #footercontent {                 /* было width:1000px */
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Боковые поля для контента */
    #container, #content, #footercontent {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Шапка / логотип / иконка FB */
    #menu { height: auto; }
    #logo {
        display: inline-flex;
        align-items: center;
        height: auto !important;
        width: auto !important;
        padding: 8px 12px !important; /* было 0 75px */
        background: #fff;
    }
    #logo img { max-height: 44px; width: auto; }
    #fb { position: absolute; top: 12px; right: 12px; left: auto; }

    /* Меню — горизонтальная прокрутка вместо «ломания» */
    #menu ul {
        float: none !important;
        display: flex !important;
        gap: 12px;
        overflow-x: auto !important;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 0 8px;
        margin: 8px 0;
    }
    #menu li {
        float: none !important;
        height: auto;
        background: none;        /* убрать разделитель-картинку */
        padding: 0 4px;
    }
    #menu li a {
        height: 44px;
        line-height: 44px;
        padding: 0 4px;
    }

    h1 {
        position: static !important;   /* было absolute */
        margin: 16px 0 8px 0;
        font-size: clamp(20px, 4vw, 28px);
        letter-spacing: 1px;
        z-index: auto;
    }

    #left, #left2 {
        position: static;
        float: none;
        width: auto !important;
        padding: 12px 0;
        background: #fff;
    }
    #right2 { margin-left: 0 !important; }

    .item1, .item2, .item3, .item4, .main, .sidebar {
        width: auto !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }
    .item3, .item4, .main, .sidebar { padding: 16px !important; }

    .item1 img, .item2 img, .item3 img, .item4 img { max-width: 100%; height: auto; }

    #footercontent { display: flex; justify-content: space-between; gap: 12px; }
    #footercontent p { float: none !important; margin: 8px 0; }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    #menu li a { height: 40px; line-height: 40px; }
    #logo img { max-height: 36px; }
    #container, #content, #footercontent { padding-left: 12px; padding-right: 12px; }
}

@media (max-width: 1024px) {
    body { overflow-x: visible !important; }

    *, *::before, *::after { box-sizing: border-box; min-width: 0; }
    #bar, #menu, #container, #content, #footercontent {
        width: 100% !important;
        max-width: 100vw !important;
    }
    #left, #left2, #right2,
    .item1, .item2, .item3, .item4, .main, .sidebar {
        margin-right: 0 !important;
    }

    table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    th, td { word-break: break-word; }
    p, li { word-wrap: break-word; }

    #menu ul { -ms-overflow-style: none; scrollbar-width: none; }
    #menu ul::-webkit-scrollbar { display: none; }
}
