/*
Theme Name: clean_theme_v2
*/

* {
padding: 0;
margin: 0;
}

body {
  background-color: #F0F4F8;
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1150px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #4098D7;
    text-decoration: none;
}

h1,h2 {
    color: #334E68;
    font-size: 22px;
    font-weight: 400;
}

h1,h2 a {
    color: #334E68;
    text-decoration: none;
}

h2 {
    margin-top: 20px;
}

h5 {
    color: #334E68;
}

h6 {
    color: #627D98;
    font-weight: 400;
    margin-top: 2px;
    margin-bottom: 2px;
}
p {
    color: #334E68;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 15px;
}

a:hover {
  text-decoration: underline;
}

img {
    border-radius: 10px;
}

.main-content ul {
    padding-left: 20px;
    color: #334E68;
    font-size: 18px;
    line-height: 1.6;
}
.main-content ul li {
    padding-bottom: 10px;
}

hr {
    color: #F0F4F8;
    max-width: 96%;
    margin: 5px auto 5px auto;
}

/* Styles that apply to the header */
.header {
    background-color: #DCEEFB;
    flex: 1 0 100%;
    order: 1;
    border: 1px solid #84C5F4;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    margin-top: 6px
}
.header-logo {
    float: left;
    padding-top: 5px;
    padding-left: 10px;
}
.header-category-links {
    list-style-type: none;
    padding-right: 20px;
}
.header-category-links li {
    display: inline;
    color: #186FAF;
}
.menu-btn,.menu,.menu-icon {
    display: none;
}


/* Styles that apply to the main-content */
.main-content {
    order: 2;
    flex: 1 1 600px;
}
article {
    background-color: #FFFFFF;
    border: 1px solid #D9E2EC;
    border-radius: 20px;
    padding: 10px 12px 10px 12px;
    margin-bottom: 20px;
    max-width: 800px;
}
.title {
    margin-bottom: 1px;
    margin-top: 0px;
}
.posted-date {
    color: #9FB3C8;
    font-size: 14px
}
.wp-block-image {
    margin-top: 3px;
    margin-bottom: 0px;
}
.more-link {
    display: none;
}
.newsletter-form-on-post-page,.newsletter-form-on-page-page {
    background-color: #FFFFFF;
    border: 1px solid #D9E2EC;
    border-radius: 20px;
    padding: 10px 10px 10px 10px;
    max-width: 800px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #334E68;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.newsletter-form-field {
    padding: 5px 0px 5px 10px;
    border: 1px solid #829AB1;
    border-radius: 15px;
    margin: 0px 5px 0px 5px;
    flex: 1 1 auto;
}
.newsletter-button {
    background-color: #DCEEFB;
    border: 1px solid #186FAF;
    border-radius: 15px;
    color: #186FAF;
    padding: 4px 15px 5px 15px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
}
#div-gpt-ad-1573889142388-0,#div-gpt-ad-1573889168259-0,#div-gpt-ad-1573889224804-0 {
    width: 728px;
    margin: 30px auto;
}
#div-gpt-ad-1573889198302-0 {
    width: 600px;
    margin: 30px auto;
}
#div-gpt-ad-1573889073527-0,#div-gpt-ad-1573889120656-0,#div-gpt-ad-1573888894655-0,#div-gpt-ad-1573889095717-0 {
    width: 728px;
    margin: 0px auto 20px auto;
}
#div-gpt-ad-1573889044375-0 {
    width: 600px;
    margin: 0px auto 20px auto;
}
.post_page_banners img {
    border-radius: 0px;
}
.banners_between_posts {
    margin-bottom: 20px;
}
.banners_between_posts img {
    border-radius: 0px;
}

/* Styles that apply to the pagination */
.pagination {
    display: inline-flex;
    text-align: center;
    margin-bottom: 20px;
}
.center-pagination {
    display: flex;
    justify-content: center;
}
.pagination-previous {
    border-radius: 30px 0px 0px 30px;
    border-right: none;
    border-left: 1px solid #D9E2EC;
    border-top: 1px solid #D9E2EC;
    border-bottom: 1px solid #D9E2EC;
    padding: 10px 15px 10px 15px;
    height: 18px;
    fill: #627D98;
    background-color: #FFFFFF;
}
.page-count-with-rounding {
    font-size: 18px;
    border-radius: 30px 0px 0px 30px;
    border-right: 1px solid #D9E2EC;
    border-left: 1px solid #D9E2EC;
    border-top: 1px solid #D9E2EC;
    border-bottom: 1px solid #D9E2EC;
    padding: 10px 15px 10px 15px;
    height: 18px;
    color: #627D98;
    background-color: #FFFFFF;
}
.page-count-no-rounding {
    font-size: 18px;
    border: 1px solid #D9E2EC;
    padding: 10px 15px 10px 15px;
    height: 18px;
    color: #627D98;
    background-color: #FFFFFF;
}
.pagination-next {
    border-radius: 0px 30px 30px 0px;
    border-left: none;
    border-right: 1px solid #D9E2EC;
    border-top: 1px solid #D9E2EC;
    border-bottom: 1px solid #D9E2EC;
    padding: 10px 15px 10px 15px;
    height: 18px;
    fill: #627D98;
    background-color: #FFFFFF;
}

/* Styles that apply to the sidebar */
.sidebar {
    order: 3;
    flex: 0 0 300px;
    margin-left: 10px;
}

/* Styles that apply to the footer */
.footer {
    flex: 1 0 100%;
    order: 4;
    margin-bottom: 30px;
}
.footer-links {
    list-style-type: none;
    text-align: center;
    background-color: #DCEEFB;
    border: 1px solid #84C5F4;
    border-radius: 40px;
    padding: 5px;
    margin-bottom: 20px;
}
.footer-links li {
    display: inline;
    color: #186FAF;
    padding: 3px 4px 3px 4px;
}

/* Styles that apply to screens smaller than desktop */
@media only screen and (max-width: 1000px) {

h1,h2 {
    font-size: 18px;
}
p {
    font-size: 16px;
}
.container {
    max-width: 96%;    
}    

.sidebar {
    display: none;
}
.header-category-links {
    display: none;
}
    
/* Styles that apply to the hamburger menu. Based on this code - https://www.youtube.com/watch?v=sjrp1FEHnyA  */
.header ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
    overflow: hidden;
}
.header ul a {
    display: block;
    padding: 10px;
    color: #186FAF;
}
.header .menu {
    position: fixed;
    top: 55px;
    right: 2%;
    max-height: 0;
    visibility: hidden;
    transition: max-height .2s ease-out;
    background-color: #DCEEFB;
    border: 1px solid #84C5F4;
    border-radius: 10px;
}
.header .menu-icon {
    display: initial;
    padding: 10px 2px;
    position: relative;
    cursor: pointer;
    margin-right: 10px;
}
.header .menu-icon .nav-icon {
    background: #186FAF;
    display: block;
    height: 3px;
    width: 24px;
    border-radius: 9px;
    position: relative;
    transition: background .2s ease-out;
}
.header .menu-icon .nav-icon:before,
.header .menu-icon .nav-icon:after {
  background: #186FAF;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
  border-radius: 9px;
}
.header .menu-icon .nav-icon:before {
  top: 8px;
}
.header .menu-icon .nav-icon:after {
  top: -8px;
}
.header .menu-btn {
  display: none;
}
.header .menu-btn:checked ~ .menu {
  max-height: 240px;
  visibility: visible;
  display: initial;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:before {
  transform: rotate(-45deg);
  top:0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
  transform: rotate(45deg);
  top:0;
}
.main-content ul {
  font-size: 16px;
}

.footer {
    padding: 0;
}
.footer-links {
    display: flex;
    flex-direction: column;
}
.footer-links .footer-dots {
    display: none;
}
.footer-links li {
    font-size: 18px;
    padding: 10px 5px 10px 5px;
}
/* Styles that apply to the newsletter signup box on the post pages  */
.newsletter-form-on-post-page label,.newsletter-form-on-page-page label {
    flex: 1 0 100%;
    padding-left: 10px;
}
.newsletter-form-field {
    flex: 1 1 auto;
}
.newsletter-button {
    flex: 0 0 20%;
}
    
#div-gpt-ad-1573889142388-0,#div-gpt-ad-1573889168259-0,#div-gpt-ad-1573889224804-0,#div-gpt-ad-1573889198302-0 {
    width: 300px;
    margin: 30px auto;
}
#div-gpt-ad-1573888894655-0,#div-gpt-ad-1573889044375-0,#div-gpt-ad-1573889073527-0,#div-gpt-ad-1573889095717-0,#div-gpt-ad-1573889120656-0 {
    width: 300px;
    margin: 0px auto 20px auto;
}
}

/* Post byline */
.entry-meta {
  margin: 4px 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}
.entry-meta a,
.entry-meta .byline a{
  color: inherit;           /* no blue — match text color */
  text-decoration: none;
}
.entry-meta a:hover{
  text-decoration: underline;
}

