/*
Theme Name: layout6-125-2
Theme URI: https://example.com/themes/layout6-125-2
Author: Layout Theme Builder
Author URI: https://example.com
Description: Professional WordPress theme auto-generated from legacy Webfix layout assets. Features include custom logo support, header images, color scheme switching, and full WordPress customizer integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: layout-theme
Tags: custom-logo, custom-header, custom-colors, editor-style, featured-images, threaded-comments, translation-ready
*/

:root {

    /* Dimensions */
    --container-width: 983px;
    --header-height: 188px;
    --sidebar-width: 1px;
    --content-width: 921px;
    --logo-width: 168px;
    --logo-height: 152px;
    --nav-height: 30px;
    --footer-height: 50px;

    --color-primary: #247096;
    --color-secondary: #666666;
    --color-accent: #878787;
    --color-background: #e1dbda;
    --color-text: #333333;
    --color-link: #878787;
    --color-link_hover: #004499;
    --color-heading: #222222;
    --color-border: #dddddd;
    --slogan-font-family: Arial, Verdana, sans-serif;
    --slogan-font-size: 14px;
    --slogan-font-weight: bold;
    --slogan-color: #FFF;
}

/* WordPress Block Utilities - Preserve legacy styling */

/* Tables with no borders - hide WordPress default borders */
.wp-block-table.is-style-no-borders table,
.wp-block-table.is-style-no-borders td,
.wp-block-table.is-style-no-borders th {
    border: none !important;
    border-width: 0 !important;
}

/* Ensure layout tables don't show as data tables */
.wp-block-table figure {
    margin: 0;
}

/* Preserve inline background colors in columns */
.wp-block-column[style*="background-color"] {
    padding: 10px;
}

/* Slogan Typography - Customizable via CSS Variables */
#slogan,
#text_caption,
#image_caption,
#caption,
.slogan-text,
.wp-block-site-tagline {
    font-family: var(--slogan-font-family, inherit);
    font-size: var(--slogan-font-size, inherit);
    font-weight: var(--slogan-font-weight, inherit);
    color: var(--slogan-color, inherit);
}




/* CSS Custom Properties Bridge
 * Generated by Layout Theme Builder
 * Allows legacy fixed-width layouts to be responsive
 */

:root {
    /* Layout dimensions */
    --layout-width: 983px;
    --layout-max-width: 100%;
    --layout-padding: 20px;

    /* Spacing scale */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Transition defaults */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

/* Container responsive bridge */
#container,
.site-container,
[id="container"] {
    width: var(--layout-width);
    max-width: var(--layout-max-width);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Responsive breakpoints */
@media (max-width: 1023px) {
    :root {
        --layout-width: calc(100% - var(--layout-padding) * 2);
    }
}

@media (max-width: 768px) {
    :root {
        --layout-width: 100%;
        --layout-padding: 15px;
    }

    #container,
    .site-container,
    [id="container"] {
        padding-left: var(--layout-padding);
        padding-right: var(--layout-padding);
    }
}

@media (max-width: 480px) {
    :root {
        --layout-padding: 10px;
    }
}

/* WordPress block editor compatibility */
.wp-block-group.site-container {
    max-width: var(--layout-width);
}

.editor-styles-wrapper #container,
.editor-styles-wrapper .site-container {
    max-width: 100%;
}


/* ==========================================================================
   LEGACY CSS WITH RESPONSIVE BRIDGE
   Original styles preserved below. CSS custom properties added above for
   responsive behavior. Modern browsers will use custom properties.
   ========================================================================== */

/*----------------------------------------------------------------------------
	main.css

	this css-file contains all definitions, that are independend from the
	colorschemes.

	(c) Schlund + Partner AG

	This CSS-File uses the original "Tanteks Box Modell Hack"
	http://www.tantek.com/CSS/Examples/boxmodelhack.html

	NOTE:
	Older W3C CSS validators return errors when the voice-family property
	is used in a 'screen' style sheet. This is an error in the W3C CSS
	validator itself. The validator should report a warning, not an error,
	when properties which are unsupported by a particular medium are used,
	and this has been reported to the W3C:

 ----------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------
 styles for specific classes and ids
----------------------------------------------------------------------------*/

body#main_body {
    margin: 0;
    padding: 9px;
    text-align: center;
}

/*-- global container ------------------------------------------------------*/

#container {
    position: relative;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    width: 983px;
}

#header {
    position: relative;
    padding: 0;
    margin: 0;
    width: 983px;
    height: 188px;
    top: 0px;
    left: 0px;
}

#main_container {
    padding: 0;
    /*margin: -75px 20px 20px 20px;*/

    margin: 0px;
    background-repeat: repeat-y;
    float: left;
}

#layout_table {
    border-collapse: collapse;
}

#sub_nav_column {
    vertical-align: top;
}

#content_column {
    vertical-align: top;
}

#left_column_container {
    margin: 0;
    padding: 0;
    width: 1px;
}

#sub_container1 {
    /*margin: 11px 15px 0 21px;*/

    padding: 0;
}

#sub_container2 {
    margin: 0px;
    padding: 23px 35px 1px 25px;
    width: 921px;
}

#content_container {
    overflow: hidden;
    margin: 0px;
    padding: 0;
    width: 921px;
}

#menu_b {
    background-repeat: no-repeat;
    width: 983px;
    height: 8px;
    font-size: 8px;
}

/*--- key visual -----------------------------------------------------------*/

#key_visual {
    /*clear: both;*/

    position: relative;
    top: 3px;
    left: 0px;
    width: 322px;
    height: 179px;
    /*margin-left: 261px;*/

    margin-left: 140px;
    float: left;
}

/*--- slogan (as text or background image) ---------------------------------*/

#slogan {
    position: relative;
    top: 25px;
    left: 0px;
    padding: 1px 2px 1px 0px;
    margin-right: 35px;
    width: 327px;
    height: auto;
    text-align: right;
    voice-family: inherit;
    float: right;
    min-height: 16px;
}

html>body #slogan {
    width: 327px;
}

/*--- logo -----------------------------------------------------------------*/

#logo {
    /*background: url(images/dynamic/logo.gif) no-repeat top right;*/

    background-repeat: no-repeat;
    width: 121px;
    height: 83px;
    position: relative;
    top: 52px;
    left: 57px;
    float: left;
}

/*--- main navigation ------------------------------------------------------*/

#main_nav_container {
    z-index: 1;
    position: relative;
    top: 0px;
    left: 0px;
    line-height: 0;
    padding: 0px 0px 0px 19px;
    margin: 0 0 0px 0;
    overflow: hidden;
    width: 964px;
    /*height: 25px;*/

    voice-family: "\"}\"";
    voice-family: inherit;
    background-repeat: repeat-y;
}

html>body #main_nav_container {
    /*width: 555px;*/

}

#main_nav_list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#main_nav_list li {
    float: left;
    margin: 0px 0 0 0;
    padding: 0;
    height: 25px;
}

/*--- main navigation items ------------------------------------------------*/

#main_nav_list a {
    overflow: hidden;
    margin: 0;
    /*padding: 3px 19px 2px 10px;*/

    padding-left: 35px;
    padding-right: 35px;
    display: block;
    float: left;
    line-height: 25px;
    text-align: center;
    height: 25px;
    voice-family: "\"}\"";
    voice-family: inherit;
    background-position: left;
    background-repeat: no-repeat;
}

html>body #main_nav_list a {
    height: 25px;
}

a.main_nav_item:hover {
    background: transparent;
}

/*--- container for the subnavigation --------------------------------------*/

.sub_nav_container {
    position: relative;
    top: 0px;
    left: 0px;
    line-height: 0;
    padding: 0px 0 0px 19px;
    margin: 0 0 0px 0;
    width: 964px;
    /*height: 25px;*/

    overflow: hidden;
    voice-family: "\"}\"";
    voice-family: inherit;
    background-repeat: repeat-y;
}

/*--- subnavigation --------------------------------------------------------*/

.sub_nav_list {
    border: 0;
    margin: 0px;
    padding: 0;
    list-style-type: none;
}

.sub_nav_list li {
    float: left;
    height: 23px;
    margin: 0px;
    padding: 0px 0px 2px 0px;
}

/*--- subnavigation items --------------------------------------------------*/

.sub_nav_list a {
    overflow: hidden;
    text-align: center;
    line-height: 23px;
    height: 23px;
    /*padding: 0 35px 0 35px;*/

    padding-left: 35px;
    padding-right: 35px;
    display: block;
    float: left;
    /*width: 135px;*/

    voice-family: "\"}\"";
    voice-family: inherit;
    /*background-position: left;
	background-repeat: no-repeat;*/

}

html>body .sub_nav_list a {
    /*width: 131px;*/

}

/*--- footer ---------------------------------------------------------------*/

#footer {
    margin: 0;
    padding: 0;
    width: 983px;
    height: 73px;
    clear: both;
    background-repeat: no-repeat;
}

#footer_text {
    width: 727px;
    padding: 45px 25px 1px 231px;
    margin: 0 0px 0 0px;
    text-align: right;
}

/*----------------------------------------------------------------------------
  default-styles for .content html-elements
----------------------------------------------------------------------------*/

/*--- paragraph ------------------------------------------------------------*/

.content {
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    margin: 5px 0 20px 0;
    padding: 0;
    line-height: 1.3;
}

.content table {
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    margin: 0px 0px 15px 1px;
    border-style: solid;
    border-width: 1px;
    border-spacing: 0;
    border-left: 1px solid;
    border-top: 1px solid;
    border-collapse: collapse;
}

.content select {
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
}

.content input {
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
}

.content textarea {
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
}

.content p {
    margin: 5px 0 20px 0;
    padding: 0;
    line-height: 1.3;
}

/*--- headings -------------------------------------------------------------*/

/*--- links ----------------------------------------------------------------*/

.content a {
    font-family: Arial, Verdana, sans-serif;
    font-size: 100%;
    font-style: normal;
    font-weight: normal;
    text-decoration: underline;
}

/*--- tables ---------------------------------------------------------------*/

.content th {
    border-right: 1px solid;
    border-bottom: 1px solid;
    padding: 3px 5px 3px 5px;
}

.content td {
    border-right: 1px solid;
    border-bottom: 1px solid;
    padding: 3px 5px 3px 5px;
}

.content tr.odd {
    padding: 3px 2px 3px 2px;
}

.content tr.even {
    padding: 3px 2px 3px 2px;
}

/*--- forms ----------------------------------------------------------------*/

.content fieldset {
    padding: 15px;
    border-style: solid;
    border-width: 1px;
}

/*--- lists ----------------------------------------------------------------*/

/*--------------------------------------------------------------------------*/


/* ==========================================================================
   Responsive Wrapper for Legacy Layout
   ========================================================================== */

/* Base responsive container */
@media screen and (max-width: 800px) {
    #container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }

    #header {
        width: 100% !important;
        height: auto !important;
    }

    #layout_table {
        width: 100% !important;
        display: block;
    }

    #layout_table tr,
    #layout_table td {
        display: block;
        width: 100% !important;
    }

    #left_column,
    #right_column {
        width: 100% !important;
        padding: 10px !important;
    }

    #left_column_container {
        width: 100% !important;
    }

    #sub_container2 {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
    }

    #content_container {
        width: 100% !important;
    }

    #main_nav_container {
        width: 100% !important;
        margin: 0 !important;
    }

    #main_nav_list {
        display: flex;
        flex-wrap: wrap;
    }

    #main_nav_list li {
        flex: 1 1 auto;
    }

    #footer {
        width: 100% !important;
        height: auto !important;
    }

    #key_visual {
        width: 100% !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }

    #key_visual img {
        width: 100% !important;
        height: auto !important;
    }
}

/* Hide sidebar on mobile */
@media screen and (max-width: 600px) {
    #left_column {
        display: none;
    }

    .sub_nav_container {
        display: none;
    }
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875em;
    font-style: italic;
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 1em);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Pagination Styles */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin: 2em 0;
    padding: 1em 0;
}

.pagination a,
.nav-links a,
.pagination span,
.nav-links span {
    padding: 0.5em 1em;
    border: 1px solid #ddd;
    text-decoration: none;
}

.pagination .current,
.nav-links .current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* Comment Styles */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 1.5em;
    padding: 1em;
    border: 1px solid #eee;
}

.comment-meta {
    font-size: 0.875em;
    margin-bottom: 0.5em;
}

.comment-content {
    margin-top: 0.5em;
}

.comment-reply-link {
    font-size: 0.875em;
}

/* Form Styles */
.comment-form label {
    display: block;
    margin-bottom: 0.25em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    max-width: 400px;
    padding: 0.5em;
    margin-bottom: 1em;
}

.comment-form textarea {
    max-width: 100%;
    min-height: 150px;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5em;
}

.search-form .search-field {
    flex: 1;
    padding: 0.5em;
}

.search-form .search-submit {
    padding: 0.5em 1em;
    cursor: pointer;
}



/* Site-specific CSS from source website */

div#logo a {
  display: block;
  width: 100%;
  height: 100%;
}
#footer_text a {
  font-family: Trebuchet MS,sans-serif;
  font-style: normal;
  font-size: 10px;
  font-weight: normal;
  color: #c9caca;
  text-decoration: underline; white-space: nowrap;
}

    
#logo {
   background: url(assets/wsb_logo.jpg) no-repeat;
}
#key_visual {
   background: url(assets/wsb_keyvisual.jpg) no-repeat;
}
#slogan {
  font-family: Trebuchet MS,sans-serif;
  font-style: normal;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #FFF;
}
a.main_nav_active_item {
  background: url(assets/n1active.gif) no-repeat;
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  color: #5f5f5f;
}
a.main_nav_item {
  background: url(assets/n1.gif) no-repeat;
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  color: #d3d5d5;
}
a.main_nav_item:hover {
  background: url(assets/n1active.gif) no-repeat;
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  color: #5f5f5f;
}
a.sub_nav_active_item {
  background: url(assets/sn1active.gif) no-repeat;
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  color: #fefefe;
}
a.sub_nav_item {
  background: url(assets/sn1.gif) no-repeat;
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: normal;
  text-decoration: none;
  color: #000000;
}
a.sub_nav_item:hover {
  background: url(assets/sn1active.gif) no-repeat;
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  color: #fefefe;
}
.content h1 {
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #0f0f0e;
}
.content h2 {
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #878787;
}
.content h3 {
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: #555556;
}
.content, .content p {
  font-family: Arial,sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}
.content a:link {
  font-family: Arial,sans-serif;
  font-style: normal;
  font-size: 100%;
  font-weight: normal;
  text-decoration: none;
  color: #bc2f11;
}
.content a:visited {
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 100%;
  font-weight: normal;
  text-decoration: underline;
  color: #525252;
}
.content a:hover {
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 100%;
  font-weight: normal;
  text-decoration: none;
  color: #ff9217;
}
.content a:active {
  font-family: Arial, Verdana, sans-serif;
  font-style: normal;
  font-size: 100%;
  font-weight: normal;
  text-decoration: underline;
  color: #ff9217;
}
#footer_text {
  font-family: Trebuchet MS,sans-serif;
  font-style: normal;
  font-size: 10px;
  font-weight: normal;
  text-decoration: none;
  color: #c9caca;
}



/* NAV SELECTOR COMPATIBILITY - class selectors for WordPress shortcodes */
.main_nav_list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.main_nav_list li {
    float: left;
    margin: 0px 0 0 0;
    padding: 0;
    height: 25px;
}
.main_nav_list a {
    overflow: hidden;
    margin: 0;
    /*padding: 3px 19px 2px 10px;*/

    padding-left: 35px;
    padding-right: 35px;
    display: block;
    float: left;
    line-height: 25px;
    text-align: center;
    height: 25px;
    voice-family: "\"}\"";
    voice-family: inherit;
    background-position: left;
    background-repeat: no-repeat;
}

/* SHORTCODE PARAGRAPH FIX - Reset <p> styles added by wp:shortcode block */
/* WordPress wraps shortcode output in <p> tags which affects positioning */

/* Logo: Make <p> wrapper fill container so anchor is clickable */
#logo p {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* Slogan: Reset <p> margins */
#text_caption p,
#slogan p,
#caption p,
#image_caption p {
    margin: 0;
    padding: 0;
    display: inline;
}

/* Footer: Reset <p> margins */
#footer_text p {
    margin: 0;
    padding: 0;
    display: inline;
}

/* WORDPRESS LINE-HEIGHT FIX - Reset inherited line-height from body */
/* WordPress theme.json sets body { line-height: 1.6 } which affects elements */
/* without explicit line-height. Legacy sites use browser default (normal). */
#text_caption,
#slogan,
#footer_text {
    line-height: normal;
}
