/*
 Theme Name:   TACD (Morning Time Child)
 Theme URI:    http://www.subzerostudio.com
 Description:  Custom built child theme for TACD.org
 Author:       Mike Collins
 Author URI:   http://www.subzerostudio.com
 Template:     morningtime-lite
 Version:      1.0.0
*/

/**
*** Font Updaets
 */


/* body font */
ul li,
ol li,
p,
body {
    font-family: Montserrat,sans-serif;
    font-weight:400;
}

p,
.widget ul a,
.post .entry p,
.post .entry ol li,
.post .entry ul li {
    font-size: 13px;
    line-height: 1.7;
    color: #7b7b7b;
}

b,
strong {
    font-family: Montserrat,sans-serif;
    font-weight: 500;
}

/* header font */
.footer-section .footer-section-title,
.top-bar-section ul li > a,
h1,h2,h3,h4,h5,h6 {
    font-family:Roboto,sans-serif;
    font-weight:500;
}

/* font sizes */
.header .top-bar-section li:not(.has-form) a:not(.button) {
    font-size:15px;
}

.footer-section .footer-section-title,
h3 {
    font-size:18px;
}

h2 {
    font-size:1.6875rem;
}





/**
*** Header Updates
**/

.header .logo-img img {
    max-width:100%;
}

.widget ul a:hover, .current-menu-item > a {
    color: #ff5000!important;
}

.header .top-bar {
    padding-top:35px;
}

.widget ul a:hover, .current-menu-parent > a {
    color: #ff5000!important;
}

/* layout amends */

.main,
.post {
    padding-top:40px;
}

/* add underline after page title */
header.page-head {
    margin-bottom:40px;
}
header.page-head h1 {
    position: relative;
    padding-bottom:10px;
}
header.page-head h1:after {
    content: '';
    position: absolute;
    bottom:0;
    left:0;
    width:100px;
    border-bottom:1px solid #ff5000;
}

/* sidebar amends */
.sidebar .widget-title {
    text-align: left;
}

.sidebar .widget-title::after,
.sidebar .widget_text .widget-title::after {
    margin-left:0;
    margin-right:0;
}

.widget ul a {
    padding:14px 0;
    font-weight:300;
}

.widget ul li.selected a {
    color: #ff5000;
}

/* blog */
/* hide blog/news depending on the selected category */
body.is-news aside#sub_categories_widget-4,
body.category-news aside#sub_categories_widget-4,
body.category-parent-89 aside#sub_categories_widget-4 {
    display: none;
}

/* news */
body.is-blog aside#sub_categories_widget-2,
body.category-blogs aside#sub_categories_widget-2,
body.category-parent-14 aside#sub_categories_widget-2 {
    display: none;
}


/* fixed header */
@media screen and (min-width:980px) {
    body header.header {
        width: 100%;
        z-index: 3;
        position: fixed;
    }

    div.whole-site-container {
        margin-top: 120px;
    }

    body header.header .top-bar {
        transition: all 0.3s;
    }

    body.fixed-header header.header .top-bar {
        padding-top: 15px;
        height: 90px;
    }
}

/* Footer logos */

footer.footer section.widget_custom_html img {
    width: 200px;
    display: block;
    margin-bottom: 20px;
}

/* cookie notice */
#cookie-notice .cn-button {
    margin-bottom:0;
}

/* sort out incorrect display of post headings */
header.post-head {
    padding:0 60px;
}

div.post-image {
    margin-bottom:30px;
}

/* sub heading style */

h1.main-title {
    margin-bottom:0;
}

h2.sub-heading {
    color: #666666;
}

/* if admin bar, push header down */
body.admin-bar header.header {
    margin-top:32px;
}

/** Style homepage latest post boxes */

div.columns div.large-6 .post .entry,
div.columns div.large-6 header.post-head,
body.home div.large-6 .entry,
body.home div.large-6 header.post-head {
    padding:0 20px;
}

div.columns div.large-6 .post-category {
    padding:0;
}

body.home ul.post-category {
    display: none;
}


body.home div.large-6 .post.has-image {
    padding-top:0;
}

@media screen and (min-width:980px) {
    body.home div.post-image {
        height: 250px;
    }

    body.home div.post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* shortcode header block */
div.shortcode_heading_block,
a.shortcode_heading_block {
    background-color: #005080;
    display: block;
    transition: all 0.3s;
}

div.shortcode_heading_block p:last-child {
    margin-bottom:0;
}

div.shortcode_heading_block h1,
div.shortcode_heading_block p,
a.shortcode_heading_block h1,
a.shortcode_heading_block p {
    color: #fff!important;
}



a.shortcode_heading_block:hover {
    background-color: #003e63;
}

/* home page head */

header.home-page-head {
    margin-left:0;
}

header.home-page-head h1.page-head{
    margin-left:0;
}

/* drop down menu, lowercase text */

.header .top-bar-section li ul li a {
    text-transform: inherit;
}

.header .logo-img img {
    width:500px;
    height:auto;
}

.post-small-title span {
    display: block;
    font-weight:normal;
    color: #666666;
    font-size:13px;
}

.post-small-title a {
    color:#005080
}

body.archive div.post-meta {
    padding-top: 20px;
}

body.home .post-author {
    margin-top:0;
}

div.post-meta div.post-author img,
.sidebar .widget_about .about-image img {
    height:100%;
    object-fit: cover;
}

div.post-meta p.post-author-name {
    text-align: center;
    color: #666666;
    font-size:13px;
    text-transform: uppercase;
}

body.post-type-archive-events h3.post-title,
body.single-events h3.post-title {
    margin-bottom:0;
}

body.single-events header.post-head,
body.post-type-archive-events header.post-head {
    margin-bottom:30px;
}

div.people-content div.people-image {
    float: left;
    width:100px;

    margin:0 0 10px 10px;
}


div.people-content div.people-text {
    margin-left:130px;
}

@media screen and (max-width: 460px) {
    div.people-content div.people-image {
        float: inherit;
        width:100%;
        margin:0 0 20px 0;
    }

    div.people-content div.people-text {
        margin-left:0;
    }
}


div.people-content img {
    width:100%;
    height:auto;
    border:2px solid #005080;
}

a.person-expand  {
    margin-bottom:0;
}

body.post-type-archive-people div.entry {
    margin-bottom:0;
}

.clear {
    clear: both;
}

h3.post-title {
    margin-bottom:0;
}
p.light {
    color: #666666;
}

/* font awesome icons */
h3.widgettitle .fa {
    display: block;
    float: right;
    text-align: right;
    margin: 5px 0 0 0;

}

h3.widgettitle .fa.fa-twitter {
    color: #38A1F3;
}

h4.widgettile .fa.fa-calendar {
    color: #005080;
}

/* shadow to boxes */
a.shortcode_heading_block,
article.post {
    box-shadow: 0 20px 50px rgba(51,73,90,.2);
}

header.header {
    -webkit-box-shadow: 0 3px 5px rgba(51, 73, 90, 0.2);
    -moz-box-shadow: 0 3px 5px rgba(51, 73, 90, 0.2);
    box-shadow: 0 3px 5px rgba(51, 63, 90, 0.2);
}

body {
    background:#EBEEF2;
}

header.page-head h1 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-section .footer-section-title {
    text-transform: uppercase;
    font-size:18px;
}

h3.post-title,h3 {
    font-size:18px;
}

h2 {
    font-size:24px;
}

p.large {
    font-size:14px;
}

h2.bold {
    font-weight:600;
}


/* background to top box */


a.shortcode_heading_block {
    /*
    background: linear-gradient(rgba(0,34,51,0.1)40%,rgba(0,34,51,0.8)80%), url(images/shortcode-background.jpg);
    padding: 12rem 2.4rem 2.4rem;
    */
    padding:20px;
    text-align: left;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 767px) {
    a.shortcode_heading_block span.button {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 768px) {
    a.shortcode_heading_block {
        padding:40px 30px;
    }
}

a.shortcode_heading_block h1 {
    font-weight: 700;
    text-transform: uppercase;
}

a.shortcode_heading_block p {
    margin-bottom: 0;
}


a.shortcode_heading_block {
    position: relative;
}

a.shortcode_heading_block p.button-container {
    margin-top:10px!important;
    display: block;
}

@media screen and (min-width: 768px) {
    a.shortcode_heading_block p.button-container {
        position: absolute;
        bottom: 22px;
        right: 30px;
    }
}

a.shortcode_heading_block p.button-container a.button {
    padding:7px;
    margin:0;
}

a.shortcode_heading_block:hover span.button,
a.shortcode_heading_block p.button-container span.button:hover {
    background: #fff;
    border-color: #fff;
    color: #005080;
}

div.columns.large-6 div.post-image {
    max-height:200px;
    overflow-y: hidden;
}

div.columns.large-6 div.post-image img {
    width:100%;
    height:100%;
    object-fit: cover;
}

.post-actions .button {
    margin:0;
}

body.post-type-archive-people  header.post-head div.post-meta {
    width: 70px;
    float: left;
}

body.post-type-archive-people  header.post-head div.post-title-wrapper {
    margin-left:90px;
    text-align: left;
}

article.event-post div.entry p,
article.event-post div.entry {
    margin-bottom:0;
}

/* add calendar icon */

div.event-date {
    width:50px;
    float: left;
}

div.event-content {
    margin-left:70px;

}

div.event-date {
    border:1px solid rgba(51, 63, 90, 0.2);
    text-align: center;
}

div.event-date div.event-month {
    padding:5px;
    background: #005080;
    color: #fff;
}

div.event-date div.event-month p {
    color: #fff;
    text-transform: uppercase;
}

body.page-id-2755 div.large-8 div.content div.entry p a {
    padding: 10px 15px;
    display: inline-block;
    border: 2px solid #005080;
    font-family: Roboto,sans-serif;
    text-transform: uppercase;
    transition: all 0.3s;
}

body.page-id-2755 div.large-8 div.content div.entry p a:hover {
    background-color: #005080;
    color: #fff;
}

div.post-body a {
    color: #ff5000;
    text-decoration: underline
}

div.post-body a:hover {
    color: #005080;
    text-decoration: underline
}

div.post-body a.button {
    text-decoration: none;
}

div.post-body a.button:not(.grey) {
    background:#ff5000;
    color:#fff;
    text-decoration: none;
}

div.post-body a.button:not(.grey):hover {
    background:#005080;
    color:#fff;
}

div.show_more div.wpsm-content p {
    margin:0;;
}

ul.nomargin {
    margin-bottom:0!important;
}

p.wpsm-hide,
p.wpsm-show {
    font-size: 12px!important;
    color: #005080!important;
    text-decoration: underline;
    margin:10px 0 20px 18px!important;
}