/*
Additional CSS - Daphne design
*/

.has-light-red-color {color: #e73534 !important;}
.has-dark-grey-color {color: #333333 !important;}
.has-light-grey-color {color: #f7f7f7 !important;}

.has-light-red-background-color {background-color: #e73534 !important;}
.has-dark-grey-background-color {background-color: #333333 !important;}
.has-light-grey-background-color {background-color: #f7f7f7 !important;}

.optin-section {background-color: #e2e3e7; border-bottom: 2px solid #cdced2; border-top: 2px solid #cdced2; background-image: url(https://tone-and-tighten.com/wp-content/uploads/2021/11/bg-stripes.png); background-size: 100%;}
.optin-section  .widget-area {max-width: 1000px; margin: 0px auto; display: flex; align-items: center; justify-content: space-between;}
.optin-section section .widget-wrap {font-size: 20px;} 
.optin-section a{background-color: #e73235; padding: 10px 15px; color: #fff; font-weight: bold; margin-left: 10px;}
.optin-section .widget-area .widget {margin: 0px;}
.optin-section p {padding-bottom: 0px; margin-bottom: 0px;}
.optin-section img { display: block;}

.home .optin-section {display: none;}

.sticky {position: fixed; z-index: 999; top: 0; width: 100%; transition-timing-function: ease-in-out;}
.sticky .widget-area section:first-child {display: none;}
.sticky .textwidget {display: flex; justify-content: space-between; transition-timing-function: ease-in-out;}
.sticky .textwidget p {padding: 10px;}	

.nospace {margin: 0px; padding: 0px;}
.nospace .aligncenter {margin: 0px;}

.single-post .content .featured-image {margin-bottom: 30px; text-align: center;}

@media only screen and (max-width: 1000px) {
.optin-section section .widget-wrap {font-size: 16px;}
.optin-section .widget-area {padding: 0px 5%;}
}
@media only screen and (max-width: 900px) {
.optin-section section .widget-wrap {font-size: 16px;}
.optin-section .widget-area {padding: 0px 5%;}
.optin-section img {max-height: 60px; width: auto;}
.optin-section .widget-area section:first-child {display: none;}
}
@media only screen and (max-width: 600px) {
.optin-section .widget-area {display: block; text-align: center; padding: 2% 5%}
.optin-section img {max-height: auto; width: auto;}
.optin-section a {margin: 0px; line-height: 3;}
.optin-section section p {display: block;}
  
  .sticky .textwidget {display: block;}
  .sticky {position: relative;}
  .sticky .textwidget p {padding: 0px;}
	
/* requested mobile changes */	
h4 {font-size: 22px;}  
.gb-block-post-grid .is-grid.columns-4, .gb-block-post-grid .gb-is-grid.gb-columns-4, .gb-layout-columns-4 > .gb-layout-column-wrap.gb-is-responsive-column {
    -ms-grid-columns: 1fr 1fr;   grid-template-columns: 1fr 1fr !important;}	

.home .gb-block-layout-column-gap-2 .wp-block-genesis-blocks-gb-column:nth-child(2) {margin-top: 0px !important;}
.home img.nospace {text-align: center;}
.home .size-large {max-width: 80%; margin: 0px auto; display: block;}	
.home .gb-layout-hero-1 h2{font-size: 28px;} 
.home .has-medium-font-size {font-size: 16px;}
.home .gb-layout-columns-4 > .gb-layout-column-wrap.gb-is-responsive-column {grid-template-areas: "col1 col2" "col3 col4";}

#myHeader .widget-area{background-image: url(https://tone-and-tighten.com/wp-content/uploads/2021/11/mobile-opt-in-bg-2.png); background-position: top right; background-repeat: no-repeat;}	
}

.blog .entry-image-link img {width: 300px;}

.sidebar .featuredpost .post{max-width: 150px; display: block; margin: 0px auto; border-bottom: 0px solid #fff;}
.sidebar .featured-content h4 {width: 100%;}

@media only screen and (max-width: 768px) {
	.home .optin-section {display: block !important;}
	.home .large-home-optin {display: none;}
}