/*
Theme Name: Microsite (Bootstrap Edition)
Theme URI: http://chrissparks.org.uk
Description: A theme for microsites in WordPress
Author: Chris Sparks
Author URI: http://chrissparks.org.uk/
Version: v1.0
 */

#header{
  min-height: 8.5rem;
}
header#site-header{
  padding: 0 1rem;
}
header#site-header h1 a:hover{
  text-decoration: none;
}
body {
  min-height: 100vh; 
}
header#site-header h1 a,
header#site-header h2,
header#site-header h3{
  font-weight: normal;
  padding: .2em;
  margin-top: 0;
}
header#site-header h2,
header#site-header h3{
  display: inline-block;
}
#main-menu-content a.active,
.section-menu a.active,
.section-menu a.active:hover,
.section-menu a.active:visited,
.section-menu a.active:active,
nav#main-menu .dropdown-item:focus,
nav#main-menu .dropdown-item:hover{
  text-shadow: 1px 0 0 currentColor; 
}
.section-menu h3{
  text-align: center;
}
.widget h1 a,
.widget h1 a:hover,
.widget h1 a:visited,
.widget h1 a:active,
.widget h2 a,
.widget h2 a:hover,
.widget h2 a:visited,
.widget h2 a:active,
.widget h3 a,
.widget h3 a:hover,
.widget h3 a:visited,
.widget h3 a:active{
  text-decoration: none;
  text-align: center;
}
#main-page{
  background: white;
}
footer#site-footer{
  height: 12em;
}
article#main-content img,
article#main-content div.wp-caption,
article#main-content div.wp-caption img{
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
}
.date {
  width: 5em;
  font-size: .5em;
  display: block;
  display: inline-block;
  background: #fff;
  text-align: center;
  position: relative;
}

.date .binds {
  position: absolute;
  width: 50%;
  height: 8%;
  background: transparent;
  border-color: #999;
  border-style: none solid;
  border-width: 0 1%;
  top: -5%;
  left: 0;
  right: 0;
  margin: auto;
}

.date .month,
.date .day,
.date .year{
  line-height: 100%;
}

.date .month {
  background: #000;
  display: block;
  padding: 8% 0;
  color: #fff;
  font-size: 120%;
  font-weight: bold;
  margin: 0;
  border-bottom: 2px solid #333;
//   box-shadow: inset 0 -1px 0 0 #666;
  border-radius: .2em .2em 0 0;
}

.date .day, 
.date .year{
  border: 1px solid #666;
  border-style: none solid;
  margin: 0;

}
.date .day{
  font-size: 300%;
}
.date .year{
  border-bottom-style: solid;
  font-size: 130%;
  padding-bottom: 8%;
  border-radius: 0 0 .2em .2em;

}

.date .year::after {
  content: '';
  background: white;
  display: block;
  height: 100%;
  width: 96%;
  position: absolute;
  top: 5px;
  left: 2%;
  z-index: -1;
  box-shadow: 0 0 3px #ccc;
}

.date .year::before {
  content: '';
  display: block;
  height: 100%;
  width: 90%;
  position: absolute;
  top: 12px;
  left: 5%;
  z-index: -1;
  box-shadow: 0 0 3px #ccc;
}
a.no-decoration,
a.no-decoration:hover,
a.no-decoration:visited,
a.no-decoration:active{
  text-decoration: none;
  color: inherit;
}
#main-content h4{
  font-size: 1.2rem;
}
.widget h4{
  font-size: 1em;
}
.widget .morelink{
  font-size: .7em;
}
.event-block .media-body h6{
  font-size: 0.8em;
  font-weight: bold;
}
.widget h3.widget_header{
  font-size: 1.2em;
}
.ms-news-item p.posted-date{
  font-size: .8em;
}
.widget-header{
  text-align: center;
}
.footer-brand-image{
  max-width: 100%;
  max-height: 5em;
}
article#main-content .aligncenter{
  margin: auto;
}
article#main-content .alignleft,
article#main-content .alignright,
article#main-content .aligncenter{
 margin:1.625rem;
}
article#main-content .alignleft{
 margin-left:0;
}
article#main-content .alignright{
 margin-right:0;
 text-align: right;
}
article#main-content .wp-caption .alignleft,
article#main-content .wp-caption .alignright{
  margin: 0;
}
article#main-content .wp-caption.alignleft{
 margin-left: 0;
}
article#main-content .wp-caption.alignright{
 margin-right: 0;
}
article#main-content .alignright{
  float: right;
  margin-right:0;
  clear: left;
}
article#main-content .aligncenter{
  display: block;
  margin:auto;
  clear: both;
}
article#main-content .alignleft{
  float: left;
  margin-left:0;
  clear: right;
}
.podcast_desc{
  font-size: .8em;
}
.podcast_desc p{
  padding: 0 !important;
  margin: 0 0 .3em 0 !important;
}
header#site-header h1 a, header#site-header h2, header#site-header h1 a, header#site-header h2, header#site-header h3{
  line-height: initial;
}
.feather {
  width: 1.2em;
  height: 1.2em;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: middle;
}
span.highlight{
  background: yellow;
}
h3.email-title{
  font-size: 1.1em;
  font-weight: normal;
}
/*
a[href$="docx"],
a[href$="doc"],
a[href$="pdf"]
{
  border: 1px solid grey;
  border-radius: .2em;
  padding: .5em 1em;
  margin: .2em;
  text-decoration: none!important;
  display: inline-block;
}
a[href$="docx"]:after,
a[href$="doc"]:after,
a[href$="pdf"]:after
{
  width: 1em;
  height: 1em;
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-left: .4em;
  text-decoration: none !important;
  padding: .5em;
}
a[href$="pdf"]:hover,
a[href$="doc"]:hover,
a[href$="docx"]:hover{
  background: rgb(206, 212, 218);
}
*/
a[href$="docx"]::before,
a[href$="doc"]::before,
a[href$="pdf"]::before
{
  background: url('img/file-text.svg') left top no-repeat;
  width: 1.5em;
  height: 1.5em;
  background-size: 1.5em;
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-right: .4em;
}
a[href$="docx"]:hover:before,
a[href$="doc"]:hover:before,
a[href$="pdf"]:hover:before{
  background: url('img/download.svg') left top no-repeat;
  background-size: 1em;
}
.profile-wrapper{width:100%}
 .profile-wrapper img{height:auto;width:30%;height:auto;display:block;max-height:80px;max-width:80px}
 @media(min-width: 576px){
   .profile-wrapper img{max-height:150px;max-width:150px}
 }
