/*
Theme Name: Erlinews-child
Author: Tothetheme
Description: Child theme for the Erlinews theme
Version: 1.9
Template: erlinews
This is the child theme for Erlinews theme.
*/
a {
    color: #111;
    text-decoration: none;
}
a:hover {
	color: #666;
	text-decoration:underline !important;
}
body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #777;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.header7-logo img {
    height: 150px;
}

.topheader4-timewrapper {
    display: none;
}

.abs-definition {
    display: none !important;
}

span.view2 {display: none;}

a.btn.btn-customized.open-menu {
    display: none;
}

/* .wrapper-module7 {
    background: #353535 !important;
} */


div#comments {
    /* display: none; */
}

span.subcomment-singlepost {
    display: none;
}

.module9-thumbnail.imageon {
    object-fit: cover;
    max-height: 360px;
    object-position: center center;
}

.header7-widgetheader2 {
    display: flex;
    align-items: flex-start;
}



.firstletter  {
    text-shadow: 2px 2px 0 #ffffff, 4px 4px 0 #97B799;	
}
.singledefault-right>p:first-of-type:first-letter,
.postcolumns >p:first-of-type:first-letter,
.postcolumns > div.first.column >p:first-of-type:first-letter,
.entry-content>p:first-of-type:first-letter ,
.entry-content.ctest > div.first.column >p:first-of-type:first-letter {
    text-shadow: 2px 2px 0 #ffffff, 4px 4px 0 #97B799;	
}

figcaption {
    float: left;
    position: relative;
    width: 100%;
    font-style: italic;
    font-size: 16px;
    color: #111;
    line-height: 24px;
    margin-bottom: 20px;
}

.crumbs {
    display: none;
}

.module9b-time a, .module9-time a, .module2-meta a, .module2a-meta a {
    color: #97B799 !important;
}

.switch {
    display: none;
}

.module13-titlewrapper span {
    background: #97B799 !important;
}

p.subtitle {
    font-size: 1.25rem;
    margin-top: -1rem;
    margin-bottom: 2rem !important;
}

.module9-titlebig {
    margin-bottom: 0 !important;
}

/* Media query for screens with a maximum width of 768px */
@media (max-width: 768px) {
    .header7-widgetheader2 {
        display: none;
    }
}

/* @font-face {
    font-family: 'Quinn';
    src: url('fonts/Quinn-Regular.woff2') format('woff2'),
        url('fonts/Quinn-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Glaera Elegance';
    src: url('fonts/GlaeraElegance-Regular.woff2') format('woff2'),
        url('fonts/GlaeraElegance-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} */

/* Apply 'Quinn' font to all headings */
h1, h2, h3, h4, h5, h6 {
    /* font-family: 'Glaera Elegance', sans-serif; */
}

/* Apply 'Glaera Elegance' font to links within headings */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    /* font-family: 'Glaera Elegance', sans-serif; */
}

.authors-byline {
    font-weight: bold;
}


.header-search-form {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.search-wrapper {
    margin-left: auto;  /* Push the search-wrapper to the far right */
    position: relative;
    display: inline-block;
}

.search-field {
    width: 100%;
    padding: 10px;
    padding-right: 40px;  /* Make room for the search button */
}

.search-submit {
    position: absolute;
    top: 50%;
    right: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    padding: 10px;  /* Same padding as the search-field */
}

.search-submit i.fa {
    color: #B8D0B8;
    font-size: 18px;
}

.moduletitle-wrapper {
    background: transparent !important;
}

.single .entry-content a,
.page .entry-content a {
    color: rgb(119, 119, 119) !important;
    text-decoration: underline !important;;
}

nav#site-navigation {
    background: #B8D0B8;
}

.footer-wrapinside.style6.light {
    /* background: #B8D0B8; */
}

.footer7-subtitle2 {
    /* background: #B8D0B8; */
    padding: 2rem;
}

.footer7-subtitle2 {
    background: #B8D0B8;
}

.footer-wrapinside form#mc-embedded-subscribe-form-simple input {
    background: white;
}

.module7-thumb img {
    width: 400px !important;
    height: 300px !important;
    object-fit: cover !important;
}

.elementor-widget-erlinews-for-elementor-blog-j-module7 {
    margin-bottom: -10px;
}

.footerstyle6.site-wordpress {
    padding: 15px 0;
}

.elementor-widget-erlinews-for-elementor-blog-j-module14 .j_maintitle {
    display: none;
}

.footer-line {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;  /* Aligns items to the bottom */
	flex-wrap: wrap;  /* Allows the items to wrap onto the next line on smaller screens */
}

.footer-sidebar.left,
.footer-sidebar.right {
	width: 100%;  /* Take up full width on smaller screens */
	text-align: center;  /* Center the content on smaller screens */
}

.footer-sidebar.left aside img {
    max-width: 150px;
}

.footer-sidebar.right aside img {
    margin-bottom: 0;
}

/* Media query for larger screens */
@media (min-width: 768px) {
	.footer-sidebar.left,
	.footer-sidebar.right {
		width: auto;  /* Auto width on larger screens */
		text-align: left;  /* Left-align the text again */
	}
}

.page .submeta-singlepost {
    display: none;
}

.page div#comments {
    display: none;
}

div#gform_wrapper_1 .gform_heading {
    display: none;
}

form#gform_0 .gform_heading {
    display: none;
}

.people-image img {
	border-radius: 50%;
	width: 100%;
}

.personal-info {
	padding: 0;
	list-style: none;
}

hr {
	margin: 2rem 0;
}

  

.post-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .post-item {
    padding: 1rem;
  }
  
  .post-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .post-meta {
    font-size: 0.9rem;
    color: #666;
  }
  
  .post-author,
  .post-date {
    margin-right: 1rem;
  }

  .post-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .post-item {
    padding: 1rem 0;
  }
  
  .post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
  }
  
  .post-author,
  .post-date {
    margin-right: 1rem;
  }
  
  .post-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .post-subtitle {
    font-size: 1.2rem;
    color: #777;
  }

  .facetwp-facet.facetwp-facet-pagination.facetwp-type-pager {
    margin-top: 1rem;
    margin-bottom: 5rem;
}

.files ul {
    padding: 0;
}

aside > div+div {
    margin-top: 2rem;
}

.files ul {
    overflow: hidden;
}

.widget-area .widget li:before, .widget ul li:before, .footer-topinside .widget li:before, .sidebar .widget li:before {
    display: none;
}

div#primary.page-search {
    width: 100%;
}

.page div#disqus_thread {
    display: none;
}

.header-search-form svg {
    fill: #B8D0B8;
}

.entry-content h3, h3 {
    text-transform: none !important;
}

.elementor h3 a,
.elementor h4 a,
.elementor h5 a {
    text-transform: none !important;
}

.jmodule-maintitle h3 {
    text-transform: uppercase !important;
}

h1.entry-title {
    text-transform: none !important;
}

.footer7-subwrapper {
    margin-bottom: 0;
}

.col-md-8 h5 a {font-family: "Playfair Display", Sans-serif !important;}

/* img.jp-relatedposts-post-img {
    display: none !important;
} */

.feature-postimg img {
    
    width: 100%;
}

.feature-postimg {
    margin: 0;
}

body {
    color: black;
}

.topheader4-right {
    order: revert;
    display: flex;
    justify-content: flex-end;
}

.module14ol {
    margin-bottom: 4rem;
}

span.authors-byline a {
    text-decoration: none !important;
    color: black !important;
}

span.short-bio {
    max-width: 550px;
    display: block;
}

.editors .person-name {
    font-weight: normal;
    font-size: 1rem !important;
}

span.authors-byline a {
    color: black !important;
}

.module14-post .col-md-4 img {
    /* height: 116px !important; */
    object-fit: cover;
}

body {
    font-size: 16px !important;
}


form#mc-embedded-subscribe-form {
    background: transparent !important;
    margin: 0;
}

div#mc_embed_signup {
    background: transparent !important;
}

.indicates-required {
    display: none;
}

div#mce-responses {
    display: none;
}

.pum-theme-default-theme {
    background-color: rgba( 255, 255, 255, 0.7 ) !important;
}

.pum-theme-90919 .pum-content + .pum-close, .pum-theme-default-theme .pum-content + .pum-close {background-color: #aaa; !important}

.module9-jbottomleft {
    z-index: 2 !important;
}

.archive.tag .category1-jbottomleft {
    width: 100%;
}

.bio {
    line-height: 1.4;
}

figcaption.wp-element-caption {
    text-align: left;
}

blockquote.wp-block-quote p {
    font-size: 16px !important;
    line-height: 1.7;
}

.single-ttd_topic .entry-content p,
.tag .entry-content p {
    display: block;
    width: 100%;
    clear: both;
}

.entry-content h5, h5, h5 a, .comments-area .fn a {
    text-transform: none !important;
}

.single-ttd_topic .excerpt-thumb,
.archive .excerpt-thumb {
    width: 250px;
}

.index-content-author {
    margin-bottom: 0.25rem;
}

.single-ttd_topic a {
    color: inherit !important;
    text-decoration: inherit !important;
}

.category1-wrapper {
    border: 0;
    margin-bottom: 0.75rem !important;
}

.index-content h2 {
    margin-bottom: 0.25rem;
}

.category1-jtop {
    border: 0;
    margin: 0;
}

.category1-jtop {
    padding: 0;
}

.category1-jbottom {
    padding: 0;
}

.archive.tag 
.hentry + .hentry {
    margin-top: 1.5rem;
}

.category1-jtop {
    margin: 0;
    padding: 0;
    border: 0;
}

.entry-content h2, h2,
.category1-time {
    text-transform: none !important;
}

.jmodule-maintitle span {
    font-size: 16px !important;
}

.jmodule-maintitle h3 {
    font-size: 18px !important;
}

.module13-contentwrapper h3 a {
    text-shadow: 1px 1px black;
}

.category1-wrapper {
    padding: 1rem 0 !important;
}

.jetpack-related-posts-custom {
    margin: 1rem 0;
}

.sidebar .editors {
    margin: 1rem 0;
}

.jetpack-related-posts-custom > .javawidget-inside + .javawidget-inside {
    margin-top: 0;
}