/*
Theme Name: DividendDerek Cerulean
Theme URI: https://dividendderek.com
Author: DividendDerek
Author URI: https://dividendderek.com
Description: Custom WordPress theme built on Bootstrap 5 with Cerulean blue color scheme. Based on Bootstrap Basic 4, upgraded to Bootstrap 5.3.3 with Bootswatch Cerulean theme. Customized for DividendDerek with professional styling, logo support, and responsive design. WordPress 5+ and Gutenberg ready.
Version: 1.0.0
Requires PHP: 5.5
Requires at least: 5.0
Tested up to: 6.9
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: dividendderek-cerulean
Domain Path: /languages/
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-menu, featured-images, post-formats, threaded-comments, translation-ready, editor-style, blog, custom-colors, responsive-layout

This theme is built with Bootstrap 5.3.3 and features the Cerulean blue theme from Bootswatch. Based on Bootstrap Basic 4 by Rundiz-WP team, upgraded to Bootstrap 5.

*/


/*
Required WordPress CSS
*/
.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.alignleft {
    float: left;
    margin-right: 1.5em;
}
.alignright {
    float: right;
    margin-left: 1.5em;
}
.bypostauthor {
}


/* WordPress gallery */
.gallery-caption {
}
.gallery {
    margin-bottom: 1.6em;
}
.gallery-item {
    display: inline-block;
    padding: 1.79104477%;
    text-align: center;
    vertical-align: top;
    width: 100%;
}
.gallery-columns-2 .gallery-item {
    max-width: 50%;
}
.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
    max-width: 25%;
}
.gallery-columns-5 .gallery-item {
    max-width: 20%;
}
.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}
.gallery-icon img {
    margin: 0 auto;
}
.gallery-caption {
    color: #707070;
    color: rgba(51, 51, 51, 0.7);
    display: block;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0.5em 0;
}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}


/* 
Text meant only for screen readers. 
copied from https://codex.wordpress.org/CSS
*/
.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 !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.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: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}


.sticky {
}
.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}
.wp-caption-text {
    text-align: center;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}


/* ========================================
   Cerulean Blue Theme - Additional Styles
   ======================================== */

/* Ensure consistent Cerulean colors throughout */
.site-content {
    background-color: #ffffff;
}

/* Card/Box styling with Cerulean accents */
.card {
    border-color: #e0e0e0;
}

.card-header {
    background-color: var(--cerulean-light, #F7F7F9);
    border-bottom: 2px solid var(--cerulean-primary, #2FA4E7);
    color: var(--cerulean-secondary, #033C73);
}

/* Form elements */
.form-control:focus {
    border-color: var(--cerulean-primary, #2FA4E7);
    box-shadow: 0 0 0 0.2rem rgba(47, 164, 231, 0.25);
}

/* Badge styling */
.badge-primary {
    background-color: var(--cerulean-primary, #2FA4E7);
}

.badge-secondary {
    background-color: var(--cerulean-secondary, #033C73);
}

/* Alert boxes */
.alert-primary {
    background-color: rgba(47, 164, 231, 0.1);
    border-color: var(--cerulean-primary, #2FA4E7);
    color: var(--cerulean-secondary, #033C73);
}

/* Breadcrumb */
.breadcrumb-item.active {
    color: var(--cerulean-primary, #2FA4E7);
}

/* Table styling */
.table-primary {
    background-color: rgba(47, 164, 231, 0.1);
}

.table thead th {
    border-bottom: 2px solid var(--cerulean-primary, #2FA4E7);
    color: var(--cerulean-secondary, #033C73);
}

/* Search form */
.search-form input[type="search"]:focus {
    border-color: var(--cerulean-primary, #2FA4E7);
}

/* Comments */
.comment-author a {
    color: var(--cerulean-primary, #2FA4E7);
}

.comment-author a:hover {
    color: var(--cerulean-secondary, #033C73);
}

/* Tags */
.tag-cloud-link {
    color: var(--cerulean-primary, #2FA4E7) !important;
    border: 1px solid var(--cerulean-primary, #2FA4E7);
}

.tag-cloud-link:hover {
    background-color: var(--cerulean-primary, #2FA4E7);
    color: #ffffff !important;
}