/*
Theme Name: Migrated Theme
Theme URI: https://yoursite.com
Description: Drupal to WordPress migrated theme
Author: Your Name
Author URI: https://yoursite.com
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: migrated-theme
Tags: two-columns, custom-header, custom-menu, featured-images, threaded-comments

This theme was migrated from Drupal 6
*/

/* Reset */
* { 
    padding: 0; 
    margin: 0;
}

html { 
    font-size: 100.01%; 
}

body {
    background: #313131;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #3a3a3a;
}

.header {
    height: 414px;
}

.clear { 
    clear: both;
}

table, td, div, img { 
    border: 0; 
    border-collapse: collapse;
}

td {
    vertical-align: top;
}

ul, ul li { 
    list-style: none; 
    list-style-image: none;
}

p { 
    padding: 0px 0px 18px 0px;
}

a {
    text-decoration: underline; 
    color: #3a3a3a; 
    outline: none;
}

a:hover {
    text-decoration: none;
}

input, select, textarea {
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #000;
    vertical-align: middle;
}

input[type="text"], 
input[type="email"],
input[type="password"],
input[type="search"],
select, 
textarea {
    border: 1px solid #eae6d8;
    background: #fff;
    padding: 8px 6px;
    border-radius: 4px;
}

/* Main Container */
.main {
    min-width: 1050px;
    background: url(images/tail.gif) repeat-x scroll 50% 0 #f8f4e8;
}

.main-width {
    width: 959px;
    margin: 0 auto;
    padding: 25px 0px 0px 0px;
    position: relative;
}

.border-top {
    background: url(images/border-top.gif) repeat-x 0 0;
    overflow: hidden;
    height: 100%;
}

.corner-left-top {
    background: url(images/corner-left-top.gif) no-repeat 0 0;
}

.corner-right-top {
    background: url(images/corner-right-top.gif) no-repeat right 0;
    overflow: hidden;
    height: 100%;
}

.main-bgr {
    padding: 0px 25px 0px 24px;
}

/* Logo */
.logo {
    position: relative;
    left: 0;
    top: 35px;
    margin: 0px 0px 0px 6px;
}

.logo .site-title {
    overflow: hidden;
    position: relative;
}

.logo .site-title a {
    text-decoration: none;
    color: #083353;
}

.logo .site-title a:hover {
    opacity: 0.8;
}

/* Top Menu Container */
.menu {
    display: flex;
    /*justify-content: center; /* center menu horizontally */
    margin: 60px 0 20px 0;
}

/* Menu List */
.menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 8px; /* rounded corners on the whole menu */
    overflow: hidden; /* clip items for rounded corners */
    background: #313131; /* background of menu container */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Menu Items */
.menu ul li {
    position: relative;
}

/* Menu Links */
.menu ul li a {
    display: block;
    padding: 20px 48px 0px 48px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    font-weight: 500;
    height: 40px;
    font-size: 16px;
}

/* Separator between items */
.menu ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background: #ccc; /* separator color */
}

/* Hover Effect */
.menu ul li.current-menu-item a {
    background: #f85500;
    color: #fff;
}

/* Hover Effect */
.menu ul li a:hover {
    background: #f85500;
    color: #fff;
}

/* Active Menu Item */
.menu ul li.current a {
    background: #f85500;
    color: #fff;
}

/* Slogan / Header Image */
.slogan {
    clear: both;
    height: 287px;
    background: url(images/header.jpg) no-repeat 0 0;
    overflow: hidden;
    color: #fff;
}

/* Left side: Site Description */
.slogan-left h2 {
    width: 250px;
    height: 104px;
    overflow: hidden;
    margin: 137px 0px 0px 33px;
    font-size: 26px;
    color: white;
    line-height: 1.1em;
}

/* Right side: Widget Area */
.slogan-right {
    float: right;
    width: 304px;
    overflow: hidden;
    margin: 43px 30px 0px 0px;
}

/* Optional: Widget styling */
.slogan-right .slogan-widget {
    font-size: 14px;
    line-height: 1.1em;
}

.slogan-right .slogan-widget h2 {
    font-size: 24px;
    line-height: 1.1em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Content Area */
.content-area {
    clear: both;
    overflow: hidden;
    height: 100%;
    background: url(images/left.gif) repeat-y 0 0;
    padding: 0px 0px 0px 0px;
}

/* Sidebar */
.column-left {
    float: left;
    width: 298px;
    margin: 0px 0px 0px 0px;
}

/* Widget Styling (replaces Drupal blocks) */
.sidebar-widget {
    clear: both;
    overflow: hidden;
    height: 100%;
    border-bottom: 1px solid #d0cdc3;
    padding: 0px 0px 35px 0px;
    margin: 0px 0px 20px 0px;
}

.sidebar-widget .widget-title {
    overflow: hidden;
    height: 100%;
    margin: 0px 0px 0px 0px;
}

.sidebar-widget h2,
.sidebar-widget h3 {
    overflow: hidden;
    height: 100%;
    font-size: 26px;
    color: #4b4b4b;
    padding: 18px 10px 24px 11px;
    font-weight: bold;
}

.sidebar-widget .menu-main-container {
    overflow: hidden;
    height: 100%;
    font-size: 12px;
    padding: 0px 14px 0px 13px;
}

.sidebar-widget ul.menu {
    list-style: none;
    list-style-image: none;
    clear: both;
    text-align: left;
    overflow: hidden;
    height: 100%;
    font-size: 12px;
    line-height: 1.2em;
    color: #3a3a3a;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    display: block;
}

.sidebar-widget ul li {
    overflow: hidden;
    height: 100%;
    list-style: none;
    list-style-image: none;
    font-weight: bold;
    background: url(images/marker02.gif) no-repeat 0 7px;
    padding: 2px 0px 6px 14px;
    margin: 0px 0px 0px 0px;
}

.sidebar-widget ul li a {
    font-size: 12px;
    color: #3a3a3a;
}

.sidebar-widget ul li.current-menu-item a,
.sidebar-widget ul li.current_page_item a {
    color: #000;
    text-decoration: none;
}

/* Main Content */
.column-center {
    overflow: hidden;
    height: 100%;
    padding: 17px 0px 0px 30px;
}

/* Post Styling */
.node {
    overflow: hidden;
    margin-top: 25px;
}

.node .indent {
    border-bottom: 1px solid #d0cdc3;
}

article,
.post {
    overflow: hidden;
}

.post-title a,
.entry-title a {
    color: #4b4b4b;
    text-decoration: none;
}

.post-title a:hover,
.entry-title a:hover {
    opacity: 0.8;
}

.entry-meta {
    overflow: hidden;
    background: none;
    font-size: 11px;
    color: #3a3a3a;
    padding: 0px 0px 0px 3px;
    margin: -2px 0px 10px 0px;
}

.entry-meta a {
    color: #5f5f5f;
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}

/* Post Content */
.entry-content {
    clear: both;
    height: 100%;
    font-size: 14px;
    line-height: 1.5em;
    padding: 0px 0px 0px 3px;
    margin: 20px 0px 0px 0px;
}

.entry-content p {
    padding: 0px 0px 17px 0px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #4b4b4b;
    line-height: 1.5em;
}

.entry-content h1 {
    font-size: 18px;
    line-height: 1.1em;
}

.entry-content h2 {
    font-size: 17px;
}

.entry-content h3 {
    font-size: 16px;
}

.entry-content h4 {
    font-size: 15px;
    text-transform: uppercase;
}

.entry-content h5 {
    font-size: 14px;
}

.entry-content h6 {
    font-size: 12px;
}

/* Lists in Content */
.entry-content ul {
    padding: 5px 0px 7px 0px;
    overflow: hidden;
    height: 100%;
}

.entry-content ul li {
    background: url(images/marker.gif) no-repeat 0 7px;
    padding: 1px 0px 3px 12px;
    list-style-image: none;
    list-style: none;
}

.entry-content ol {
    padding: 5px 0px 5px 2px;
}

.entry-content ol li {
    padding: 0px;
    margin-left: 20px;
    list-style-type: decimal;
}

/* Images */
.alignleft {
    float: left;
    margin-right: 30px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 30px;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

/* Buttons */
.btn,
.wp-block-button__link,
input[type="submit"]:not(.search-header input[type="submit"]),
button:not(.search-header button) {
    width: auto;
    height: 37px;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 14px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
}

.btn:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button:hover {
    opacity: 0.9;
    color: #fff;
}

/* Post Navigation/Pagination */
.post-navigation,
.posts-navigation {
    clear: both;
    overflow: hidden;
    padding: 0;
    margin: 0px 0px 20px 0px;
}

.post-navigation a {
    background: url(images/marker02.gif) no-repeat right;
    font-size: 12px;
    font-weight: bold;
    color: #3a3a3a;
    padding: 0px 11px 0px 0px;
    margin: 0px 42px 0px 0px;
    text-decoration: none;
}

/* Comments */
.comments-area {
    padding: 10px 0px 0px 0px;
}

.comment {
    padding: 10px 0px 10px 20px;
}

.comment-meta {
    font-size: 11px;
    color: #878787;
    padding: 0 0 10px 0;
}

.comment-content {
    font-size: 12px;
    line-height: 1.3em;
    padding: 6px 20px 10px 0px;
}

/* Footer */
.footer {
    clear: both;
    overflow: hidden;
    background: #313131;
    font-size: 12px;
    color: #fff;
    line-height: 1.3em;
    margin: 51px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.footer a {
    color: #fc8e00;
}

.footer .width {
    width: 959px;
    margin: 0 auto;
}

.footer .indent {
    overflow: hidden;
    height: 100%;
    padding: 35px 25px 30px 35px;
}

/* Responsive adjustments */
@media screen and (max-width: 1050px) {
    .main-width,
    .footer-width {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
    
    .main {
        min-width: 320px;
    }
}

@media screen and (max-width: 768px) {
    .column-left {
        float: none;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .column-center {
        padding: 17px 20px 0px 20px;
    }
    
    .header .menu ul li a {
        padding: 24px 30px 0px 30px;
        font-size: 14px;
    }
}

/* WordPress specific classes */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.text-box ul {
    padding: 5px 0px 7px 0px;
    overflow: hidden;
    height: 100%;
    font-size: 12px;
}

.text-box ul li {
    background: url(images/marker.gif) no-repeat 0 7px;
    padding: 1px 0px 3px 12px;
    list-style-image: none;
    list-style: none;
    font-weight: normal;
}

.text-box ul li a {
    text-decoration: none;
    color: #fa7400;
    font-weight: bold;
}

.wp-block-heading {
    margin-bottom: 20px;
}

.text-box ul.wp-block-latest-posts__list a.wp-block-latest-posts__post-title {
    overflow: hidden;
    height: 100%;
    font-size: 30px;
    color: #4b4b4b;
    line-height: 1.2em;
    padding: 0;
    margin: 0;
}

.text-box ul.wp-block-latest-posts__list li {
    border-bottom: 1px solid #d0cdc3;
    padding: 0px 0px 25px 30px;
    margin: 0px 0px 26px -30px;
}

body.page-id-73 .indent {
    border-bottom: none;
}

.title h3 {
    margin-bottom: 20px;
}

.title h3 a{ 
    text-decoration: none; 
}

body.home .column-center .node {
    margin-top: 0;
}

.wp-block-columns {
    margin: 15px auto;
}

body.login {
    background: #f7f3e7;
}

.login h1 a {
    background-image: none, url("assets/images/kpf_logo.png");
    background-size: 251px;
    width: 251px;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton {
    height: auto;   
}
