/*
Theme Name: 	Bootsrap 3.3.7
Theme URI: 		babobski.nl
Description: 	Bootstrap on Wordpress
Version: 		1.1
Author: 		bob de haas
Author URI: 	http://babobski.nl
Tags: 			babobski, bootstrap, basis thema
*/

body {
    background-color: #eff9ff;
    font-family: Arial, Helvetica, sans-serif;
}

/* Mobile Header Styles */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1030;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 15px;
    display: none; /* Hidden by default, shown with visible-xs */
}

.mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.mobile-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.mobile-logo-text h1,
.mobile-logo-text h2 {
    margin: 0;
    line-height: 1.2;
    color: #005aab;
}

.mobile-logo-text h1 {
    font-size: 16px;
    font-weight: bold;
}

.mobile-logo-text h2 {
    font-size: 12px;
}

/* Search Form Styles */
.search-form {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-group {
    position: relative;
    margin: 0;
    width: 100%;
}

.search-field {
    width: 100%;
    height: 36px;
    padding: 6px 35px 6px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.search-field:focus {
    border-color: #005aab;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(0, 90, 171, 0.2);
    background-color: #fff;
}

.search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0 5px;
    display: none;
}

.search-clear:hover {
    color: #333;
}

.search-clear.visible {
    display: block;
}

/* Mobile Search Styles */
.mobile-search {
    flex: 1;
    margin-left: 15px;
    position: relative;
}

.mobile-search .search-field {
    padding-left: 35px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23777" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px 16px;
    border-radius: 20px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .search-field {
        width: 100% !important;
    }
    
    .search-form .form-group {
        width: 100%;
    }
    
    .search-clear {
        right: 15px;
    }
}

/* Burger menu styles */
.navbar-toggle {
    margin: 0;
    padding: 12px 10px;
    border: none;
    background: transparent;
    border-radius: 4px;
    transition: background 0.2s;
}

.navbar-toggle:focus {
    outline: none;
    background-color: rgba(0,0,0,0.05);
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #333;
    margin: 4px 0;
    transition: all 0.2s ease;
}

/* Active state for burger menu */
.navbar-toggle:not(.collapsed) .icon-bar {
    background-color: #005aab;
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Ensure search form is properly aligned in the header */
.mobile-header-top {
    display: flex;
    align-items: center;
    position: relative;
}

/* Adjust search on very small screens */
@media (max-width: 360px) {
    .mobile-search {
        margin-left: 10px;
    }
    
    .mobile-search .search-field {
        padding-left: 30px;
        font-size: 15px;
    }
}

/* Ensure desktop header is hidden on mobile */
@media (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }
    
    .mobile-header.visible-xs {
        display: block;
    }
    
    body {
        padding-top: 100px !important; /* Ensure enough space for fixed header */
    }

    .nav>li>a {
       padding: 12px 18px!important;
    }

    .content, 
    .media-list .media,
    .main-content,
    .container.wrapper {
        margin-top: 20px !important;
    }
    
    .mobile-header {
        padding: 10px 15px;
        height: auto;
        min-height: 60px;
    }
    
    #mobile-navbar {
        margin-top: 10px;
        padding: 10px 0;
        border-top: 1px solid #eee;
    }
    
    .container.wrapper {
        padding-top: 10px !important;
    }
}

p {
    font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif;
    font-size: 13px;
    color: #0D1216;
}
body a {
    color: #587593;
}

.container {
    padding: 0;
    max-width: 1042px;
    width: 100%
}
.navbar-right {
    margin-right: 0;
}
.navbar-right .navbar-form {
	padding: 0 10px 0 0; 
}
.navbar {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 0;
    margin-bottom: 0;
}

.wrapper {
    -webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 3px 1px rgba(0,0,0,0.2);
    box-shadow: 0 0 3px 1px rgba(0,0,0,0.2);
    color: #0D1216;
    background-color: #f8f8f8;
}
.wrapper a:hover, .wrapper a:focus {
    text-decoration: none;
}

section.header {
    position: relative;
    z-index: 0;
    width: 1042px;
    height: 370px;
}
section.header .front {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 1042px;
    height: 370px;
    background: url('img/header.png');
    background-repeat: no-repeat;
    background-position: right center;
}
section.header .logos {
    background-color: #ffffff;
    height: 370px;
    max-width: 293px;
    width: 100%;
}
section.header .ordjo-logo, section.header .second-ordjo-logo, section.header .dkm-logo {
    padding-left: 10px;
}
section.header .ordjo-logo {
    padding-top: 12px;
}
section.header .ordjo-logo img {
    width: 70px;
}
section.header .ordjo-logo h1, section.header .ordjo-logo h2 {
    margin-left: 75px;
    margin-top: 0;
    margin-bottom: 0;
    color: #005aab;
    text-shadow: 0 0 1px #666;
}
section.header .ordjo-logo h1 {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.1;
}
section.header .ordjo-logo h2 {
    font-size: 16px;
    margin-top: 4px;
}
section.header .second-ordjo-logo h2, section.header .second-ordjo-logo h3 {
    color: #005aab;
    font-size: 20px;
    line-height: 1.2;
    text-shadow: 0 0 1px #666;
}
section.header .second-ordjo-logo h2 {
    margin: 30px 0 0 0;
    font-weight: bold;
}
section.header .second-ordjo-logo h3 {
    margin: 0;
    font-weight: normal;
}
section.header .dkm-logo h2 {
    margin-top: 30px;
    margin-bottom: 0;
    color: #005aab;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 1px #666;
}
section.header #slides {
    overflow: hidden;
    position: absolute;
    z-index: 0;
    width: 742px;
    height: 370px;
    margin-left: 293px;
}
nav.navbar .search button {
    color: #223e5d;
    font-weight: bold;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    color: #223e5d;
    background-color:unset;
}
.navbar-default .navbar-nav>li>a {
    font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif;
    text-transform: uppercase;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    color: #366091;
}
.dropdown-menu>li>a {
    font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif;
    text-transform: uppercase;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    color: #366091;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: #223e5d;
    background-color:unset;
}
.content {
    margin: 0 7px 7px 7px;
    padding: 13px;
    min-width: 11px;
    min-height: 11px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #99adc2;
    background-color: #ECF0F4;
}
.media-list .media {
    margin: 0 7px 7px 7px;
    padding: 13px;
    min-width: 11px;
    min-height: 11px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #99adc2;
    background-color: #ECF0F4;
}
.media-list .media .media-heading, .content h2 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 13px;
    color: #587593;
    font-weight: bold;
}
.media-list .media time {
    color: #444;
    font-size: 10px;
}
.footer {
    padding: 12px;
    border-top: 1px solid transparent;
    background-color: #e8e8e8;
    display: flex;
}
.footer .footer-main {
    width: 100%;
    display: flex;
}
.footer a {
    display: block;
    margin-left: 7px;
    width: 30px;
    height: 30px;
}
.center-block {
    margin: 0 auto;
}
.center-block-5 {
    margin: 5px auto;
}
.center-block-10 {
    margin: 10px auto;
}
.center-block-15 {
    margin: 15px auto;
}
.center-block-20 {
    margin: 20px auto;
}
.center-block-25 {
    margin: 25px auto;
}
.center-block-30 {
    margin: 30px auto;
}
.width-80 {
    width: 80%;
}
.width-70 {
    width: 70%;
}
.width-90 {
    width: 90%;
}
.lb-menu-item img {
    width: 188px;
    height: 105px;
    margin-bottom: 1em;
}
.nav>li>a {
    padding: 12px 6px;
}
hr {
    height: 1px!important;
    border: 1px solid gray!important;
}
.wp-block-columns {
    margin-bottom: 10px;
}
.no-margin-left {
    margin-left: 0!important;
}
p {
    margin: 0;
}
.table-top-td td {
    vertical-align: top;
}
.wp-block-image {
    margin-bottom: 0;
}

.wp-block-column h5 {
    margin-top: 6px;
}
.modal-title {
    float: left;
}

@media (max-width: 767px) {
    .wp-block-coblocks-gallery-offset img {
        max-height: 60vw;
    }
}

@media (max-width: 600px) {
    .wp-block-coblocks-gallery-offset .has-huge-images img {
        max-height: 80vw;
    }
}

/* Add these styles to your style.css file */
@media (min-width: 768px) {
    .search-form {
        margin: 8px 15px;
        width: auto;
        float: right;
    }

    .search-field {
        height: 34px;
        padding: 6px 12px;
    }
}

/* Keep existing mobile styles */
@media (max-width: 767px) {
    .search-form {
        width: 100%;
        margin: 10px 0;
    }

    .search-group {
        width: 100%;
    }
}
