/*
Theme Name: BlogEasy Child
Theme URL: openfiguredrawing.com
Description: BlogEasy Child Theme for Open Figure Drawing
Author: Dan Shanahan, Doug Roussin
Author URL: openfiguredrawing.com
Template: blogeasy
Version: 1.0.0
Text Domain: blogeasy-ofd-child
*/ 
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,700&display=swap');

html {
    background-color: black;
}
body {
    border: 20px solid black;
    margin-top: -14px;
    box-sizing: border-box;
    border-radius: 2rem;
    font-family: "Roboto Slab";
}
a, a:hover, a:active, a:visited {
    color: #aa1000;
}
:target {

    border: solid thin #880000;
    border-left: none;
    border-right: none;
    background-color: #FFCCCC;

}

.site-header .site-branding {
    padding: 15px 0;
}
.site-branding .custom-logo {
    height: 80px;
}

#page.site {
     /*background-color: lightgrey; */
}
.row.main-nav-bg, .main-navigation .menu ul, #page .slicknav_menu {
    background-color: #b91f1f;
}
div#box-container.container, .main-nav-bg {
    box-shadow: none;
}
#masthead {
    /* background-color: black; */
    padding-top: 0;
    padding-bottom: 0;
}
#masthead div.site-branding-container {
    background-color: black;
    padding-bottom: 20px;
}
.main-navigation ul.menu {
	text-align: left;
}
.main-navigation .menu  li > a, .main-navigation .menu li > a:active, .main-navigation .menu li > a:hover, .main-navigation .menu li > a:visited {
    color: white;
}
.main-navigation .menu li > a[aria-current="page"], .main-navigation .menu li.current_page_ancestor > a {
	font-weight: bold;
	text-decoration: underline;
}
.slicknav_nav a {
    color: white;
}
.social-menu-item {
	float: right;
}

/* In footer.php, the sticky class is added to the #navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  box-shadow: 0 0 1rem black;
}
/*.sticky:before {
    content:"[OFD logo]";
    color: white;
    font-family: sans-serif;
    font-weight: bold;
    display: block;
    width: 100px;
    margin: auto;
}*/

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .site-content {
  padding-top: 60px;
}

/* Use plugin Title Remover to hide title */
div.row.be-single-header {
/*	display: none; */
}
/*

h1.entry-title {
    color: grey;
}
.entry .entry-title::before {
    display: none;
}
.entry-subtitle {
    color: black;
}
*/

.bulletinboard {
	margin: 1rem 0;
    padding: 2em;
    padding-top: 0;
    border-radius: 0.5em;
    background-color: #FFFFCC;
     box-shadow: 0.3em 1em 2em -1em rgba(0,0,0,0.5); /* inset 0 0 2em -0.75em brown, */
    border: 2px solid grey;
    overflow: hidden;
}
.bulletinboard > header {
    background-color: grey;
    color: white;
    text-align: center;
    font-weight: bold;
    font-family: sans-serif;
    margin-left: -2em;
    margin-right: -2em;
}
.bulletinboard ul {
    margin-left: 0;
    padding-left: 1em;
    list-style-type: none;
}
/* Unicode numbers: • = "\2022", ◦ = \25E6" and ▪ = "\25AA" */
.bulletinboard ul li.listing-item::before {
    content: "\25AA"; 
    color: #888;
    display: inline-block; width: 1em;
    margin-left: -1em
}
.bulletinboard ul li.listing-item {
    margin-bottom: 1em;
}
/*
.bulletinboard ul li.listing-item .title {
    font-size: 1.5em;
    display: block;
    text-transform: uppercase;
}
*/
.bulletinboard ul li.listing-item .excerpt {
    color: black;
}

/*	Display blocks shortcode listing. Used on the News & events page. 
	Clear float & add a horizontal line between each post.
	Use div.listing item because it distinguishes these style as intended 
	for the News page listing. Should I use a wrapper class instead? */

.display-posts-listing div.listing-item:not(:last-of-type) {
	margin: 3px 0px; 

	/* Make something like an <hr> */
	padding-bottom : 1em;
	margin-bottom : 1em;
/*    border-bottom: 1px solid #888;*/
	border-bottom: 1px dashed #dfdfdf;
}
.display-posts-listing div.listing-item::after {
  content: "";
  clear: both;
  display: table;
}
.display-posts-listing div.listing-item .title {
	display: block;
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.entry .entry-content > *,
.entry .entry-summary > * {
  /* max-width: calc(6 * (100vw / 12) - 28px); */
  max-width: 100%;
}

.ofd-calendar {
    display: flex;
    /*flex-direction: column;*/
    flex-wrap: nowrap;
    justify-content: space-between;
    /*align-content: stretch;*/
}
.ofd-calendar .calendar-month {
    /*flex-grow: 1;*/
    flex-basis: 30%;
    /*min-width: 300px;*/
    /*border: 1px solid green;*/
    /*margin: 0 1em;*/
}
.ofd-calendar .calendar-month h3 {
    color: white;
    border: 2px solid black;
    background-color: slategray;
    padding: 4px 12px;
}
.ofd-calendar .event {
    border-top-right-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    border: 1px solid lightgrey;
    padding: 1em;
    box-sizing: border-box;
    margin-bottom: 0.5em;
}
.ofd-calendar .event.Monday {
    background-color: AliceBlue;
}
.ofd-calendar .event.Tuesday {
    background-color: beige;
}
.ofd-calendar .event.Wednesday {
    border-color: white;
    background-color: #eee;
}
.ofd-calendar .event.Thursday {
    background-color: MintCream;
}
.ofd-calendar .event.Friday {
    background-color: LightSteelBlue;
}
.ofd-calendar .event.Saturday {
    background-color: cornsilk;
}
.ofd-calendar .event.Sunday {
    background-color: MistyRose;
}

.ofd-calendar .event header {
    display: flex;
    justify-content: space-between;
}
.ofd-calendar .event header .day {
    display: inline-block;
    text-align: left;
    white-space: nowrap;
}
.ofd-calendar .event header .title {
    display: inline-block;
    text-align: right;
    float: right;
    margin-left: 2rem;
}
.ofd-calendar .event .content {
    margin-top: 1rem;
}

footer.site-footer {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* The block editor uses <figure> & <figcaption> like this:   <figure><img ><figcaption> </figcaption></figure> */
figure figcaption {
	display: block;
	font-size: .8rem;
    text-align: center;
}

/* Used to style website's forms. Set up for use with HTML Forms plugin 2020/09/17 */
/* So important info in labels stands out from instructions/hints/other text */
.site-content .hint {
	color: #888888;
}
.hf-form label {
	display: block;
}
/*.hf-form input[type="radio"] {
	display: block;
}*/
/*.hf-form input[type="radio"]::before {*/
/*.hf-form input[type="radio"]::before {
	content: "fred";
}*/

@media (min-width: 600px) {
    .slicknav_menu {
        display: none;
    }
    .main-nav-bg {
        /* 
        make negative margins
        (half content container width minus half page width) 
        */
        margin-right: calc( 270px - 50vw );
        margin-left: calc( 270px - 50vw );
    }
}
@media (min-width: 768px) {

    .main-nav-bg {
        margin-right: calc( 360px - 50vw );
        margin-left: calc( 360px - 50vw );
    }

}
@media (min-width: 992px) {

    .main-nav-bg {
        margin-right: calc( 480px - 50vw );
        margin-left: calc( 480px - 50vw );
    }

}
@media (max-width: 991px) {
    .ofd-calendar {
        display: block;
    }
}
@media (min-width: 1200px) {

    .main-nav-bg {
        margin-right: calc( 555px - 50vw );
        margin-left: calc( 555px - 50vw );
    }

}

@media (min-width: 0px) {
  .be-content-width {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}