/*
Theme Name: Isabel Clarke
Theme URI: 
Author: Chris Clarke
Author URI: http://www.scispirit.com
Description: Custom theme for Isabel Clarke's website. Preserves the visual identity of the original site with modern, responsive code.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isabelclarke
*/

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    color: #000000;
    padding: 0;
    margin: 0;
    background-color: #ccffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #3F00CE;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #3F00CE;
}

a:visited {
    color: #5F00AE;
}

a:active {
    color: #5F00AE;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #660033;
    font-weight: normal;
}

h1 {
    font-size: 24px;
    line-height: 1.3;
    text-align: center;
    margin: 1em 0 0.5em;
}

h2 {
    font-size: 21px;
    line-height: 1.3;
    text-align: center;
    margin: 1em 0 0.5em;
}

h3 {
    font-size: 17px;
    line-height: 1.3;
    margin: 1em 0 0.5em;
    padding: 0;
}

h4 {
    font-weight: bold;
    font-size: 15px;
    line-height: 1.3;
    margin: 0;
    padding: 5px 0 0;
}

p {
    margin: 0 0 1em;
    padding: 0;
}

ul {
    list-style-image: url('/icimages/bullet2.gif');
    padding: 0;
    margin: 0 0 0.5em 1.5em;
}

li {
    padding-bottom: 8px;
    list-style-image: url('/icimages/bullet2.gif');
}

ol {
    padding: 0;
    margin: 0 0 0.5em 2em;
}

ol li {
    padding-bottom: 8px;
    list-style: none;
}

.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background-color: #ccffff;
    padding: 20px 0 0;
}

.page-top {
    background-color: #ccffff;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    justify-content: center;
}

.site-logo {
    flex-shrink: 0;
    width: 85px;
}

.site-logo img {
    height: 80px;
    width: auto;
    border: none;
}

.nav-section {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.nav-section-title {
    font-size: 17px;
    text-align: center;
    padding: 25px 0 10px;
    color: #333;
    margin: 0;
    font-weight: normal;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    padding-bottom: 4px;
    list-style: none;
}

.nav-menu a {
    font-size: 15px;
}

.nav-menu a.current {
    color: #333;
    text-decoration: none;
    font-weight: normal;
}

.site-divider {
    text-align: center;
    margin: 0;
}

.site-divider img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.page-title {
    text-align: center;
    font-size: 21px;
    color: #660033;
    margin: 20px 0;
    padding: 0;
}

.site-content {
    padding: 20px 0 40px;
}

.entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    text-align: left;
}

.site-footer {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #666;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.site-footer a {
    color: #3F00CE;
}

fieldset {
    background-color: #fafafa;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
}

legend {
    font-weight: bold;
    color: #603;
    font-size: 19px;
}

label {
    color: #603;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    padding: 8px;
    border: 1px solid #cc9000;
    background-color: #ffeeee;
    font-size: 15px;
    width: 100%;
    max-width: 400px;
}

input[type="text"]:hover,
input[type="text"]:focus,
input[type="email"]:hover,
input[type="email"]:focus,
textarea:hover,
textarea:focus {
    color: #000;
    border: 1px solid #000;
    background-color: #fff;
}

input[type="submit"],
button {
    padding: 10px 20px;
    background-color: #cc9900;
    border: 1px solid #669900;
    color: #000;
    cursor: pointer;
    font-size: 15px;
}

input[type="submit"]:hover,
button:hover {
    border: 1px solid #000;
}

.text-center { text-align: center; }
.section { text-align: center; font-size: 20px; line-height: 1.2; }
.big-section { text-align: center; font-size: 24px; line-height: 1.2; }

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .nav-section {
        width: 100%;
        max-width: 100%;
    }
    .site-wrapper {
        padding: 0 15px;
    }
    .entry-content {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    body { font-size: 14px; }
    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
}

.admin-bar .site-header { padding-top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { padding-top: 46px; } }

/* ========================================
   Clinical theme overrides
   ======================================== */

body.clinical-theme {
    font-family: Calibri, Arial, sans-serif;
    background: rgb(235,205,243);
    color: rgb(120,7,151);
}

.clinical-theme .page-top,
.clinical-theme .site-header {
    background: rgb(255,213,171);
}

.clinical-theme .nav-section-title {
    color: rgb(153,1,131);
}

.clinical-theme .page-title,
.clinical-theme h1,
.clinical-theme h2 {
    color: rgb(140,66,6);
}

.clinical-theme h3 {
    color: rgb(140,66,6);
}

.clinical-theme h4 {
    color: rgb(209,99,9);
}

.clinical-theme .site-footer {
    color: rgb(120,7,151);
}
