/*
Theme Name: Journalist-Salmon
Decription: Child theme for Journalist
Author: Mike Gobbi
Template: journalist
*/

@import url(../journalist/style.css);

/************************************************************
 * White-on-Black styling.
 */
 
body, h1, h2, h3, h4, h5, h6,
#container h1 a,
#content h2 a,
#content h2.archive,
#searchform #s,
.navigation,
.normal {
    color: #ddd;
    background: #211;
}
span.wpcf7-not-valid-tip {
    color: red !important;
    background: #211 !important;
    border: none;
}
input[type="text"],
input[type="email"],
input[type="number"],
input.searchfield,
input.searchfield:hover,
input.subcom,
input.comment,
#searchform input,
#searchform #s,
textarea,
textarea:focus {
    color: #ddd;
    background: #222;
    border: 1px solid #444;
}
input[type="submit"] {
    padding: 0.5em 2em;
    background: #222;
    color: #ddd;
    border-width: 2px;
    border-radius: 2em;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
}
#searchform input[type="submit"] {
    border-width: 2px;
}
input[type="submit"]:hover,
#searchform input[type="submit"]:hover {
    background: #f66;
    color: #211;
}
input:hover, textarea:hover {
    border-color: #f66;
}
a,
.navigation a,
#container h1 a,
#content h2 a {
    color: #faa;
}
.main a img {
    border: thin solid #faa;
    padding: 1px;
}
a:hover,
.navigation a:hover {
    color: #f66;
}
.main a:hover img {
    border: thin solid #f66;
    padding: 1px;
}
.wp-caption {
    background-color: #555;
}

.meta {
    background: inherit;
    color: #ddd;
    border-top: none;
}
#footer {
    background: inherit;
    color: #888;
    border-top: none;
    border-bottom: none;
    margin: 5em auto 0 auto;
}
#footer a {
    color: #988;
}
#footer a:hover {
    color: #F88;
}

/************************************************************
 * Page styles
 */

form.wpcf7-form label {
    width: 12em;
    display: inline-block;
    float: left;
    clear: left;
}
form.wpcf7-form label:after {
    content: ":";
    margin-right: 0.25em;
}
form.wpcf7-form em {
    font-size: smaller;
    color: #aaa;
}
form.wpcf7-form p {
    margin: 0.25em 0;
}
form.wpcf7-form input[name="time"],
form.wpcf7-form input[name="url"],
form.wpcf7-form input[name="event-url"],
form.wpcf7-form input[name="your-email"] {
    margin-bottom: 0.75em;
}

/************************************************************
 * Post styles
 */

.group > div#content > h2.post {
    padding-top: 0.5em;
    border-top:#bbb 1px solid;
    border-top: none;
}
.wp-caption {
    padding: 0.5em 0.5em 0 0.5em;
}
.main img {
    /* border:#ddd thin solid; */
    border: none;
    padding: 0;
    margin: 0.25em 1em;
}
.main img.alignleft { margin-left: 0; }
.main img.alignright { margin-right: 0; }
.wp-caption img {
    margin: 0;
}
.div.wp-caption.alignright img { margin-right: 1em; }
.archive p.wp-caption-text {
    display: none;
}
.archive div.wp-caption {
    border: none;
    background: none;
    margin: 0;
    padding: 0;
}

.main li { /* ensures that bullets don't overlap left-floated images */
    position: relative;
    left: 2em;
    padding-right: 2em;
}

ul.post-meta,
.main.openings ul,
.main.calls ul {
    list-style-type: none;
    margin-bottom: 1em;
}
.main.openings ul li,
.main.calls ul li {
    margin: 0;
}

ul.toc {
    list-style: none;
}

ol.nested.toc { /* subsequent ol.toc will NOT restart at 1 */
    counter-reset: toc;
}
ol.nested.toc li {
    list-style: none;
}
ol.nested.toc > li {
    font-weight: bold;
    font-style: italic;
}
ol.nested.toc ol li:before {
    counter-increment: toc;
    content: counter(toc) ". ";
    display: inline-block;
    min-width: 2em;
    text-align: right;
    padding-right: 0.5em;
}

.comments {
    display: none;
    border-bottom: none;
}

.signature {
    border-right: none;
    width: auto;
}

/************************************************************
 * Sidebar styles
 */

#sidebar h3,
#sidebar h4 {
    display: none;
}
#sidebar form {
    margin-bottom: 1em;
}
#sidebar #searchform label {
    display: none;
}
#searchform #s {
    width: 8em;
}
#sidebar div.tagcloud {
    margin: 1.5em 0;
}

/************************************************************
 * Chrome styles
 */

#container h1 {
    float: left;
    width: auto;
    font-size: 30px;
    height: 2em;
    padding: 32px 0 25px 0;
}
#bubble {
    float: left;
    background: none;
    position: static;
    font-size: 30px;
    height: 2em;
    padding: 32px 0 25px 0;
}
#bubble p {
    background: none;
    color: inherit;
    padding-top: 17px;
    font-size: 11px;
}

div.below-content {
    margin-top: 4em;
}

#content div.above-content > div.widget > h4,
#content div.below-content > div.widget > h4,
#content h2.section {
    font-size: 18px;
    margin-bottom: 0.5em;
}
body.index #content h2.post {
    font-size: 14px;
}
div.above-content > div.widget,
div.below-content > div.widget {
    width: 49%;
    display: inline-block;
    float: left;
}
div.above-content > div.widget:nth-child(2),
div.below-content > div.widget:nth-child(2) {
    box-sizing: border-box;
    padding-left: 1em;
}
div.above-content > div.widget a.title-contribution,
div.below-content > div.widget a.title-contribution {
    padding-top: 0.5em;
    font-size: smaller;
}
div.above-content > div.widget p,
div.below-content > div.widget p {
    display: none;
}
div.above-content > div.widget:first-child p,
div.below-content > div.widget:first-child p {
    display: block;
}
div.above-content > div.widget ul,
div.below-content > div.widget ul {
    overflow: hidden;
}
div.above-content > div.widget ul li,
div.below-content > div.widget ul li {
    display: none;
}
div.above-content > div.widget ul li:first-child,
div.below-content > div.widget ul li:first-child {
    display: block;
    margin-bottom: 0.5em;
    margin-left: -2.9em;
    font-size: smaller;
}
div.above-content > div.widget ul.photography li.medium,
div.below-content > div.widget ul.photography li.medium {
    display: block;
    margin-bottom: 0.5em;
    margin-left: -4.5em;
    margin-top: -0.5em;
    font-style: italic;
    font-size: smaller;
}
div.above-content > hr,
div.below-content > hr {
    clear: left;
    border: none;
    padding-bottom: 24px;
}

.category-description {
    font-size: larger;
    margin-bottom: 2em;
}

.navigation {
    border-top: none;
}

