/*
Theme Name: qfortconsulting
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
.sidebar-primary-inner { background: #f36523; }
*/

.wpml-ls-statics-footer { display: none !important; }

.entry-author {
    display: none !important;
}

/* Contact Form 7 Styling */
.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

/* Style for required text */
.wpcf7-form label .req,
.wpcf7-form label .required {
    font-size: 0.85em;
    color: #f36523;
    font-weight: normal;
    margin-left: 4px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background: #fff;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-color: #f36523;
    outline: none;
    box-shadow: 0 0 0 2px rgba(243, 101, 35, 0.1);
}

.wpcf7-form input[type="submit"] {
    background-color: #f36523;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    display: inline-block;
    margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #d85215;
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(1px);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .wpcf7-form input[type="submit"] {
        width: 100%;
    }
}

/* Hide desktop language selector on mobile */
@media (max-width: 1024px) {
    .header-bar .wpml-language-selector-wrapper {
        display: none !important;
    }
}

/* ==========================================================================
   WPML Language Selector (from functions.php)
   ========================================================================== */

/* Positioning */
.header-bar {
    display: flex !important;
    flex-direction: column !important;
}

.header-bar .branding {
    order: 1 !important;
    margin-top: 12px !important;
}

/* Homepage: logo positie */
body.home .header-bar .branding {
    margin-top: 0px !important;
}

/* Other pages: logo 20px naar beneden */
body:not(.home) .header-bar .branding {
    margin-top: 20px !important;
}

.header-bar .wpml-language-selector-wrapper {
    order: 0 !important;
    padding: 0 !important;
    margin: -20px auto 15px auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: fit-content !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
}

/* Dropdown container */
.header-bar .wpml-language-selector-wrapper .wpml-language-dropdown {
    position: relative !important;
    display: inline-block !important;
}

.header-bar #primary-menu,
.header-bar .main-nav {
    order: 2 !important;
}

/* WPML container styles */
.header-bar .wpml-language-selector-wrapper .wpml-ls,
.header-bar .wpml-language-selector-wrapper .wpml-ls-statics-footer,
.header-bar .wpml-language-selector-wrapper .wpml-ls-statics-shortcode_actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-bar .wpml-language-selector-wrapper ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Dropdown button styles */
.header-bar .wpml-language-selector-wrapper .wpml-language-dropdown-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #666 !important;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    width: 140px !important;
    box-sizing: border-box !important;
}

.header-bar .wpml-language-selector-wrapper .wpml-language-dropdown-button:hover {
    border-color: #f36523 !important;
    color: #f36523 !important;
}

.header-bar .wpml-language-selector-wrapper .wpml-language-dropdown-button:focus {
    outline: 2px solid #0073aa !important;
    outline-offset: 2px !important;
}

/* Dropdown menu styles */
.header-bar .wpml-language-selector-wrapper .wpml-language-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0 !important;
    background: white !important;
    border: 1px solid #eee !important;
    border-radius: 4px !important;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1) !important;
    width: 100% !important;
    z-index: 1000 !important;
    overflow: hidden !important;
}

.header-bar .wpml-language-selector-wrapper .wpml-language-dropdown-item {
    display: flex !important;
    align-items: center !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    color: #666 !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease !important;
    gap: 6px !important;
}

.header-bar .wpml-language-selector-wrapper .wpml-language-dropdown-item:hover {
    background-color: #f9f9f9 !important;
    color: #f36523 !important;
}

/* Flag icons styles */
.header-bar .wpml-language-selector-wrapper .fi {
    width: 18px !important;
    height: 13px !important;
    border-radius: 2px !important;
    display: inline-block !important;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: 0 0 1px rgba(0,0,0,0.2) !important;
}

.header-bar .wpml-language-selector-wrapper .fi-nl {
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/6.14.0/flags/4x3/nl.svg') !important;
}

.header-bar .wpml-language-selector-wrapper .fi-gb {
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/6.14.0/flags/4x3/gb.svg') !important;
}

.header-bar .wpml-language-selector-wrapper .fi-de {
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/6.14.0/flags/4x3/de.svg') !important;
}

.header-bar .wpml-language-selector-wrapper .fi-fr {
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/6.14.0/flags/4x3/fr.svg') !important;
}

/* Fallback: Link styles for non-dropdown (single language) */
.header-bar .wpml-language-selector-wrapper .wpml-ls-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    margin: 0 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background-color: rgba(255, 140, 0, 0.15) !important;
    border: 1px solid rgba(255, 140, 0, 0.3) !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

/* Show text, hide flags */
.header-bar .wpml-language-selector-wrapper .wpml-ls-native {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Hide display name (like homepage) - only show native name */
.header-bar .wpml-language-selector-wrapper .wpml-ls-display {
    display: none !important;
    visibility: hidden !important;
}

.header-bar .wpml-language-selector-wrapper .wpml-ls-flag,
.header-bar .wpml-language-selector-wrapper img[src*="flags"] {
    display: none !important;
}

/* ==========================================================================
   Mobile Menu: styling and language flags
   ========================================================================== */

/* Mobile menu 15% wider on mobile */
@media (max-width: 768px) {
    .dt-mobile-header {
        width: 115% !important;
        max-width: 115% !important;
    }
}

/* Hide icomoon/FA icons before menu items on mobile */
@media (max-width: 768px) {
    .dt-mobile-header .mobile-main-nav > li > a > i.fa-fw {
        display: none !important;
    }
}

/* Center menu items */
.dt-mobile-header .mobile-main-nav {
    text-align: center !important;
}

.dt-mobile-header .mobile-main-nav > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Center the mobile language selector */
.wpml-mobile-language-selector {
    display: flex !important;
    justify-content: center !important;
}

.wpml-mobile-language-selector > div {
    justify-content: center !important;
}

/* Hide WPML language switcher ONLY in footer - must be inside footer element */
footer .wpml-ls-statics-footer,
footer .wpml-ls-statics-footer.wpml-ls,
footer .wpml-ls-statics-footer.wpml-ls-legacy-list-horizontal,
#footer .wpml-ls-statics-footer,
#footer .wpml-ls-statics-footer.wpml-ls,
#footer .wpml-ls-statics-footer.wpml-ls-legacy-list-horizontal,
.site-footer .wpml-ls-statics-footer,
.site-footer .wpml-ls-statics-footer.wpml-ls,
.site-footer .wpml-ls-statics-footer.wpml-ls-legacy-list-horizontal,
[class*="footer"] .wpml-ls-statics-footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}
