/*
Theme Name: FlawHound
Theme URI: https://flawhound.com
Description: Custom theme replicating the original FlawHound.com Google Sites design (2010-2017).
Version: 1.0
Author: FlawHound
Author URI: https://flawhound.com
Text Domain: flawhound
*/

/* ========== Reset & Base ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #6aadff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #444;
    margin: 0;
    padding: 0;
}

a {
    color: #002a5d;
    text-decoration: underline;
}

a:visited {
    color: #567874;
}

a:hover {
    color: #003d82;
}

/* ========== Page Wrapper ========== */
#sites-chrome-everything {
    width: 100%;
    min-width: 915px;
    background-image: url('images/header-bg.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#sites-chrome-page-wrapper {
    width: 915px;
    margin: 0 auto;
    direction: ltr;
}

/* ========== Header ========== */
#sites-chrome-header-wrapper {
    background-color: transparent;
    border-bottom: 0;
}

#sites-chrome-header {
    background-color: transparent;
    background-image: none;
    width: 100%;
    border-collapse: collapse;
}

#sites-chrome-header td {
    margin: 0;
    padding: 0;
}

#sites-header-title {
    padding-left: 5px;
    overflow: visible;
    vertical-align: middle;
}

#sites-header-title .sites-logo {
    display: block;
    max-width: 459px;
    height: auto;
    padding: 10px 5px;
}

#sites-header-title h2 a,
#sites-header-title h2 a:link,
#sites-header-title h2 a:visited {
    color: #ffffff !important;
    text-decoration: none;
}

.sites-layout-searchbox {
    vertical-align: middle;
    text-align: right;
    padding-right: 10px;
}

/* Search form */
.search-form {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.search-form input[type="search"],
.search-form input[type="text"] {
    font-size: 13px;
    padding: 3px 6px;
    border: 1px solid #bbb;
    width: 180px;
}

.search-form .search-submit {
    font-size: 12px;
    padding: 3px 10px;
    cursor: pointer;
    background: #f8f8f8;
    border: 1px solid #bbb;
    color: #444;
}

.search-form .search-submit:hover {
    background: #e8e8e8;
}

/* ========== Main Layout ========== */
#sites-chrome-main {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
}

#sites-chrome-main > tbody > tr > td {
    vertical-align: top;
}

/* ========== Sidebar ========== */
#sites-chrome-sidebar-left {
    width: 215px;
    vertical-align: top;
    padding: 0;
}

.sites-embed {
    margin-bottom: 0;
    font-family: Arial, sans-serif;
}

.sites-embed-title {
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    padding: 3px 5px;
    text-align: left;
    color: #ffffff;
    background-color: #567874;
}

.sites-embed-content,
.sites-sidebar-nav {
    background-color: #c3e1e4;
    padding: 5px;
    color: #444;
    font-size: 13px;
}

/* Sidebar navigation */
.sites-sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sites-sidebar-nav li {
    list-style: none;
    list-style-image: none;
    padding: 2px 0 0;
    margin: 1px 0 0 0;
}

.sites-sidebar-nav li.topLevel {
    border-top-color: #567874;
}

.sites-sidebar-nav a {
    color: #444 !important;
    text-decoration: none;
    display: block;
    padding: 2px 5px;
}

.sites-sidebar-nav a:visited {
    color: #567874 !important;
}

.sites-sidebar-nav a:hover {
    text-decoration: underline;
}

.sites-sidebar-nav .current-bg,
.sites-sidebar-nav .current_page_item a,
.sites-sidebar-nav li.current-menu-item > a {
    background-color: #002a5d;
    color: #ffffff !important;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 2px 5px;
    display: block;
}

.sites-sidebar-nav li div {
    padding-left: 5px;
}

/* Sidebar text boxes (Blog, YouTube sections) */
.sites-embed-content-sidebar-textbox {
    background-color: #c3e1e4;
    padding: 5px;
    font-size: 13px;
}

.sites-embed-content-sidebar-textbox a {
    color: #444 !important;
}

.sidebar-widget-text {
    color: #45818e;
    font-size: 13px;
}

.sidebar-widget-text a {
    color: #45818e !important;
}

/* ========== Content Canvas ========== */
#sites-canvas-wrapper {
    vertical-align: top;
    padding: 0;
}

#sites-canvas {
    background-color: transparent;
    background-image: url('images/content-bg.png');
    background-position: right top;
    background-repeat: repeat;
    padding: 10px 15px 15px 15px;
    min-height: 400px;
}

/* Page title */
#sites-page-title-header {
    background-color: transparent;
    margin: 0 0 10px 0;
    padding: 0;
}

#sites-page-title {
    color: #567874;
    font-size: 22px;
    font-weight: normal;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Main content area */
.sites-canvas-main {
    background-color: transparent;
    color: #444;
    overflow: hidden;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.sites-canvas-main h2 {
    font-size: 18px;
    color: #444;
    margin: 15px 0 8px;
}

.sites-canvas-main h3 {
    font-size: 16px;
    color: #444;
    margin: 12px 0 6px;
}

.sites-canvas-main p {
    margin: 0 0 10px 0;
}

.sites-canvas-main ul,
.sites-canvas-main ol {
    margin: 8px 0 8px 25px;
    padding: 0;
}

.sites-canvas-main li {
    margin-bottom: 4px;
}

/* Outline formatting */
.outline-content {
    margin-left: 20px;
}

.outline-content ol {
    list-style-type: upper-roman;
    margin-left: 30px;
}

.outline-content ol ol {
    list-style-type: upper-alpha;
}

.outline-content ol ol ol {
    list-style-type: decimal;
}

.outline-content ol ol ol ol {
    list-style-type: lower-alpha;
}

.outline-content ol ol ol ol ol {
    list-style-type: decimal;
}

/* ========== Footer ========== */
#sites-chrome-footer {
    text-align: center;
    padding: 8px;
    font-size: 11px;
    color: #b5d6ff;
}

#sites-chrome-footer a {
    color: #b5d6ff !important;
    text-decoration: none;
}

#sites-chrome-footer a:hover {
    text-decoration: underline;
}

.sites-system-link {
    color: #b5d6ff;
}

/* ========== WordPress Specific ========== */

/* Widget styling */
.widget {
    margin-bottom: 0;
}

.widget-title {
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    padding: 3px 5px;
    text-align: left;
    color: #ffffff;
    background-color: #567874;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #c3e1e4;
}

.widget ul li {
    padding: 2px 5px;
    margin: 0;
}

.widget ul li a {
    color: #444;
    text-decoration: none;
}

.widget ul li a:hover {
    text-decoration: underline;
}

.widget ul li.current-menu-item > a {
    background-color: #002a5d;
    color: #fff !important;
    font-weight: bold;
    display: block;
    margin: -2px -5px;
    padding: 2px 5px;
}

/* Entry content (for posts/pages) */
.entry-content {
    color: #444;
    font-size: 13px;
    line-height: 1.5;
}

.entry-content a {
    color: #002a5d;
}

/* Comments */
.comments-area {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #567874;
}

/* ========== Responsive adjustments ========== */
@media screen and (max-width: 960px) {
    #sites-chrome-everything {
        min-width: auto;
        background-size: cover;
    }

    #sites-chrome-page-wrapper {
        width: 100%;
        padding: 0 10px;
    }

    #sites-chrome-main {
        display: block;
    }

    #sites-chrome-main > tbody,
    #sites-chrome-main > tbody > tr {
        display: block;
    }

    #sites-chrome-sidebar-left {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    #sites-canvas-wrapper {
        display: block;
        width: 100%;
    }
}
