/*
Theme Name:   Commsrisk (Newspaper Child)
Theme URI:    http://commsrisk.com
Description:  Newspaper Child Theme
Author:       James Greenley
Author URI:   http://greenley.me
Template:     Newspaper
Version:      1.1.06
Text Domain:  newspaperchild
*/

.wp-caption-text {
    text-align: center !important;
}

.td-subcat-more, 
.unclickable {
    cursor: default !important;
}

.widget {
    margin-bottom: 20px;
}


.tagdiv-type blockquote, blockquote {
    word-wrap: break-word !important;
    border: 0 !important;
    font: inherit !important;
	font-size: inherit !important;
    vertical-align: baseline !important;
    quotes: none !important;
    margin: 10px 20px 20px 20px !important;
    padding: 1.25rem 1.25rem 0 1.25rem !important;
    border-left: 5px solid #005a8c !important;
    display: inline-block !important;
    color: var(--lc-dprimary) !important;
    border-color: var(--lc-dprimary) !important;
    margin-bottom: 1.25rem !important;
    text-align: left !important;
}

.tagdiv-type blockquote p {
  font: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  text-transform: inherit !important;
  color: var(--td_theme_color, #4db2ec);
  word-wrap: break-word;
  /* responsive portrait tablet */
  /* responsive portrait phone */
}
@media (min-width: 768px) and (max-width: 1018px) {
  .tagdiv-type blockquote p {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}
@media (max-width: 767px) {
  .tagdiv-type blockquote p {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}

.hover-brighten:hover {
    filter: brightness(1.2) contrast(1) saturate(1.2);
}

/* remove author url from author box element (used on article page) */
.tdb-author-url {
    display: none !important;
}

/* fixes weird edges on images because of repeat option */
.entry-thumb {
    background-repeat: no-repeat;
}

/* block headers */
.td_block_template_17 .td-block-title {
	margin: 3px 0px 15px !important;
	border: none !important;
	font-family: "NMS Kerned", var(--sans-serif);
    font-size: 17px !important;
    font-weight: 800 !important;
}

.td_block_template_17 .td-block-title:after {
    content: none !important;
}

.block_17_with_pointer .td-block-title:after {
    content: '' !important;
}

.block_17_with_pointer .td-block-title {
	margin: 3px 0px 15px !important;
	border: none !important;
	font-family: "NMS Kerned", var(--sans-serif);
    font-size: 17px !important;
    font-weight: 800 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "NMS Kerned", var(--sans-serif);
}
div.td-block-title {
  font-family: "NMS Kerned", var(--sans-serif);
}
p.td-module-title,
p.tdb-subcategory-name {
  font-family: "NMS Kerned", var(--sans-serif);
}

/* widget sidebar */
.widget_recent_entries .post-date {
    display: block;
    font-family: var(--serif);
    font-size: 11px;
    line-height: 16px;
    color: var(--lc-dark-grey);
    font-style: normal;
    margin-bottom: 5px;
}

.widget_recent_entries li a {
    font-family: var(--sans-serif);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

/* breadcrumbs */
.td-crumb-container {
    height: 0px !important;
    overflow: hidden !important;
    margin-bottom: 0px !important;
    min-height: 0px !important;
}

.td-crumb-container * {
    display: none !important;
}

.entry-crumbs {
    display: none !important;
}

/* link styling */

.td_module_wrap:hover .entry-title a {
  color: initial; /* fix unwanted hover effects from Newspaper theme */
}

a:hover {
    text-decoration: underline;
    color: var(--lc-lprimary);
}

.td_block_wrap a:hover {
  text-decoration: underline !important;
}

.tdb-block-inner a:hover,
.entry-title a:hover,
.td-ct-wrap a:hover,
.td-module-container .td-module-meta-info .td-module-title a:hover {
  text-decoration: underline!important;
  color: var(--lc-lprimary)!important;
}

.wp-block-archives li a:hover,
.sf-menu ul .td-menu-item > a:hover,
cite a:hover,
.widget a:hover,
.author-box-wrap .td-author-social a:hover,
.td-author-name a:hover,
.td-author-url a:hover,
.td-post-next-prev-content a:hover,
.wp-block-categories a:hover,
.wp-block-archives li a:hover,
.wp-block-latest-comments .wp-block-latest-comments__comment a:hover,
.wp-block-latest-posts:not(.is-grid) li a:hover,
.widget a:hover,
.widget_calendar tfoot a:hover,
.td_wp_recentcomments a:hover,
.widget_rss .block-title a:hover,
.td-subfooter-menu li a:hover
.logged-in-as a:hover {
  color: var(--lc-lprimary);
  text-decoration: underline;
}

.td-pulldown-filter-list .menu-item a:hover,
.tdm-descr a:hover,
.td-block-title a:hover {
    text-decoration: underline !important;
}

#td-aj-search-mob .td-aj-search-results .td-module-meta-info h3 a:hover {
    text-decoration: underline !important;
    color: var(--td_mobile_text_color, #ffffff) !important;
}


/* mobile menu & mobile search icons */

.lc-mobile-search .tdb-block-inner .tdb-header-search-button-mob .tdb-mobile-search-icon:hover {
  background-color: var(--lc-primary);
  transition: 0.2s ease;
}
.lc-mobile-search .tdb-block-inner .tdb-header-search-button-mob .tdb-mobile-search-icon {
  transition: 0.2s ease;
  cursor: pointer;
}
.lc-mobile-search .tdb-block-inner .tdb-header-search-button-mob .tdb-mobile-search-icon:hover svg path {
  fill: var(--lc-white);
}
.tdb-mobile-menu-icon:hover {
  background-color: var(--lc-primary);
  transition: 0.2s ease;
}
.tdb-mobile-menu-icon {
  transition: 0.2s ease;
  cursor: pointer;
}
.tdb-mobile-menu-icon:hover svg path {
  fill: var(--lc-white);
}


/* Only newsletter signup form styling below */

#mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    margin: 20px
}

#mc_embed_signup h2 {
    font-weight: bold;
    padding: 0;
    margin: 15px 0;
    font-size: 1.4em;
}

#mc_embed_signup input {
    border: 1px solid #ABB0B2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#mc_embed_signup input[type=checkbox] {
    -webkit-appearance: checkbox;
}

#mc_embed_signup input[type=radio] {
    -webkit-appearance: radio;
}

#mc_embed_signup input:focus {
    border-color: #333;
}

#mc_embed_signup .button {
    /*clear: both;*/
    /*background-color: #aaa;*/
    border: 0 none;
    border-radius: 4px;
    /*transition: all 0.23s ease-in-out 0s;*/
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: fit-content;
    width: -moz-fit-content;
}

#mc_embed_signup .button:hover {
    /*background-color: #777;*/
}

#mc_embed_signup .small-meta {
    font-size: 11px;
}

#mc_embed_signup .nowrap {
    white-space: nowrap;
}

#mc_embed_signup .mc-field-group {
    clear: left;
    position: relative;
    width: 96%;
    padding-bottom: 3%;
    min-height: 50px;
    display: grid;
}

#mc_embed_signup .size1of2 {
    clear: none;
    float: left;
    display: inline-block;
    width: 46%;
    margin-right: 4%;
}

* html #mc_embed_signup .size1of2 {
    margin-right: 2%;
    /* Fix for IE6 double margins. */
}

#mc_embed_signup .mc-field-group label {
    display: block;
    margin-bottom: 3px;
}

#mc_embed_signup .mc-field-group input {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-indent: 2%;
}

#mc_embed_signup .mc-field-group select {
    display: inline-block;
    width: 99%;
    padding: 5px 0;
    margin-bottom: 2px;
}

#mc_embed_signup .mc-address-fields-group {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 96%;
    gap: 15px;
}

#mc_embed_signup .mc-sms-phone-group {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 96%;
    gap: 15px;
    padding-top: 5px;
}

#mc_embed_signup .datefield, #mc_embed_signup .phonefield-us {
    padding: 5px 0;
}

#mc_embed_signup .datefield input, #mc_embed_signup .phonefield-us input {
    display: inline;
    width: 60px;
    margin: 0 2px;
    letter-spacing: 1px;
    text-align: center;
    padding: 5px 0 2px 0;
}

#mc_embed_signup .phonefield-us .phonearea input, #mc_embed_signup .phonefield-us .phonedetail1 input {
    width: 40px;
}

#mc_embed_signup .datefield .monthfield input, #mc_embed_signup .datefield .dayfield input {
    width: 30px;
}

#mc_embed_signup .datefield label, #mc_embed_signup .phonefield-us label {
    display: none;
}

#mc_embed_signup .indicates-required {
    text-align: right;
    font-size: 11px;
    margin-right: 4%;
}

#mc_embed_signup .asterisk {
    color: #e85c41;
    font-size: 150%;
    font-weight: normal;
    position: relative;
    top: 5px;
}

#mc_embed_signup .clear {
    clear: both;
}

#mc_embed_signup .foot {
    display: grid;
    grid-template-columns: 3fr 1fr;
    width: 96%;
    align-items: center;
}

@media screen and (max-width: 400px) {
    #mc_embed_signup .foot {
        display:grid;
        grid-template-columns: 1fr;
        width: 100%;
        align-items: center;
    }
}

@media screen and (max-width: 400px) {
    #mc_embed_signup .referralBadge {
        width:50%;
    }
}

#mc_embed_signup .brandingLogo {
    justify-self: right;
}

@media screen and (max-width: 400px) {
    #mc_embed_signup .brandingLogo {
        justify-self:left;
    }
}

#mc_embed_signup .mc-field-group.input-group ul {
    margin: 0;
    padding: 5px 0;
    list-style: none;
}

#mc_embed_signup .mc-field-group.input-group ul li {
    display: block;
    padding: 3px 0;
    margin: 0;
}

#mc_embed_signup .mc-field-group.input-group label {
    display: inline;
}

#mc_embed_signup .mc-field-group.input-group input {
    display: inline;
    width: auto;
    border: none;
}

#mc_embed_signup div#mce-responses {
    float: left;
    top: -1.4em;
    padding: 0em .5em 0em .5em;
    overflow: hidden;
    width: 90%;
    margin: 0 5%;
    clear: both;
}

#mc_embed_signup div.response {
    margin: 1em 0;
    padding: 1em .5em .5em 0;
    font-weight: bold;
    float: left;
    top: -1.5em;
    z-index: 1;
    width: 80%;
}

#mc_embed_signup #mce-error-response {
    display: none;
}

#mc_embed_signup #mce-success-response {
    color: #529214;
    display: none;
}

#mc_embed_signup label.error {
    display: block;
    float: none;
    width: auto;
    margin-left: 1.05em;
    text-align: left;
    padding: 3px 0;
}

#mc_embed_signup .helper_text {
    /* Common styles */
    color: #8d8985;
    margin-top: 2px;
    display: inline-block;
    background-color: rgba(255,255,255,0.85);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    z-index: 1;
}

/* Only apply padding if .helper_text is not empty */
#mc_embed_signup .helper_text:not(:empty) {
    padding: 3px;
}

#mc-embedded-subscribe {
    clear: both;
    width: auto;
    display: block;
    margin: 1em 0 1em 5%;
}

#mc_embed_signup #num-subscribers {
    font-size: 1.1em;
}

#mc_embed_signup #num-subscribers span {
    padding: .5em;
    border: 1px solid #ccc;
    margin-right: .5em;
    font-weight: bold;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    display: inline-block;
    margin: 2px 0 0 0;
    /*padding: 3px;*/
    background-color: rgba(255,255,255,0.85);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    z-index: 1;
    color: #e85c41;
}

#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
    border: 2px solid #e85c41;
}