/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



.easyazon-popover {
position: fixed;
top: 40%;
left: 20%;
}



@media screen and (max-width: 2300px) {
#IL_IF_LEFT.IL_BASE.IL_IF {visibility: hidden !important;}
#IL_IF_RIGHT.IL_BASE.IL_IF {visibility: hidden !important;}
}



.below-the-fold, .responsive-pdf, .data-iceapw, .tsb-text-output, .pdfemb-viewer, .aawp-product, .amzn-native,.code-block.code-block-10, .google-ads-1, .google-ads-2, .google-ads-3, .google-ads-7, .related-posts, .table_1_wrapper, .commentsAdd, .comments, .footer-header, .footer-widgets, .copyrights {
content-visibility: auto;
contain-intrinsic-size: auto;
}



/* PDF iFrame Resize Start */
@media (max-width: 1200px) {
    .responsive-pdf iframe {
        height: 60vh !important;
    }
}
@media (max-width: 1100px) {
    .responsive-pdf iframe {
        height: 55vh !important;
    }
}
@media (max-width: 1000px) {
    .responsive-pdf iframe {
        height: 50vh !important;
    }
}
@media (max-width: 900px) {
    .responsive-pdf iframe {
        height: 45vh !important;
    }
}
@media (max-width: 800px) {
    .responsive-pdf iframe {
        height: 40vh !important;
    }
}
@media (max-width: 768px) {
    .responsive-pdf iframe {
        height: 60vh !important;
    }
}
/* PDF iFrame Resize End */



.right-sidebar .site-content {
    display: flex;
}

@media(max-width: 834px)  {
    .right-sidebar .site-content {
        flex-direction: column;
    }
    .right-sidebar .content-area,
    .right-sidebar #right-sidebar {
        width: 100%;
    }
}

@media(min-width: 835px) {
    .right-sidebar .content-area {
        width: calc(100% - 250px);
    }
    .right-sidebar #right-sidebar {
        width: 250px;
    }
}
@media(min-width: 900px) {
    .right-sidebar .content-area {
        width: calc(100% - 275px);
    }
    .right-sidebar #right-sidebar {
        width: 275px;
    }
}
@media(min-width: 1000px) {
    .right-sidebar .content-area {
        width: calc(100% - 300px);
    }
    .right-sidebar #right-sidebar {
        width: 300px;
    }
}
@media(min-width: 1100px) {
    .right-sidebar .content-area {
        width: calc(100% - 325px);
    }
    .right-sidebar #right-sidebar {
        width: 325px;
    }
}
@media(min-width: 1200px) {
    .right-sidebar .content-area {
        width: calc(100% - 350px);
    }
    .right-sidebar #right-sidebar {
        width: 350px;
    }
}
@media(min-width: 1300px) {
    .right-sidebar .content-area {
        width: calc(100% - 375px);
    }
    .right-sidebar #right-sidebar {
        width: 375px;
    }
}
@media(min-width: 1400px) {
    .right-sidebar .content-area {
        width: calc(100% - 400px);
    }
    .right-sidebar #right-sidebar {
        width: 400px;
    }
}



/* Default: show iframe, hide shortcode */
.pdf-desktop-view {
  display: block !important;
}
.pdf-mobile-view {
  display: none !important;
}
/* Default: show iframe, hide shortcode */



/* For screens 768px and under: show embeddoc, hide iframe */
@media (max-width: 767px) {
  .pdf-desktop-view {
    display: none !important;
  }
  .pdf-mobile-view {
    display: block !important;
  }
}
/* For screens 768px and under: show embeddoc, hide iframe */






/* Move Novashare Buttons to Inside Container */
@media (min-width: 768px) {
	.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header {
	margin-top: -400px !important;
	}
}	
.ns-buttons.ns-floating {
	margin-top: +40px !important;
	position: sticky !important;
	width: max-content !important;
}
@media (max-width: 768px) {
	.ns-buttons.ns-floating {
	display: none !important;
	}
}
/* Move Novashare Buttons to Inside Container */















