div[class^=wp-block-genesis-custom-blocks-]
 {
	border: orange dashed 1px;
	padding: 5px;
}

/*Container*/
.content {
	margin-top: -25px;
}

#content.content-container {
	max-width: 850px;
}

.page-template-page-full-width .wrapper {
	max-width: unset;
}

.page-template-page-full-width .wrapper-content {
	padding-right: unset;
	padding-left: unset;
}

.page-template-page-full-width .entry-header {
	max-width: 1200px;
	margin: auto;
}

@media only screen and (min-width: 1135px) {
		.homepage-sidebar, .homepage-content, .homepage-cover .wp-block-cover__inner-container  {
		max-width: 1200px;
		margin: auto;
	}
}
	@media only screen and (max-width: 1220px) {
.page-template-page-full-width .entry-header {
	padding-left: 20px;
	padding-right: 20px;
}
}

/*Links*/
.h1 .excerpt-link:link:focus, .h1 .excerpt-link:link:focus-within, .h1 .excerpt-link:link:hover, .h2 .excerpt-link:link:focus, .h2 .excerpt-link:link:focus-within, .h2 .excerpt-link:link:hover, .h3 .excerpt-link:link:focus, .h3 .excerpt-link:link:focus-within, .h3 .excerpt-link:link:hover, .h4 .excerpt-link:link:focus, .h4 .excerpt-link:link:focus-within, .h4 .excerpt-link:link:hover, .h5 .excerpt-link:link:focus, .h5 .excerpt-link:link:focus-within, .h5 .excerpt-link:link:hover, .h6 .excerpt-link:link:focus, .h6 .excerpt-link:link:focus-within, .h6 .excerpt-link:link:hover, h1 .excerpt-link:link:focus, h1 .excerpt-link:link:focus-within, h1 .excerpt-link:link:hover, h2 .excerpt-link:link:focus, h2 .excerpt-link:link:focus-within, h2 .excerpt-link:link:hover, h3 .excerpt-link:link:focus, h3 .excerpt-link:link:focus-within, h3 .excerpt-link:link:hover, h4 .excerpt-link:link:focus, h4 .excerpt-link:link:focus-within, h4 .excerpt-link:link:hover, h5 .excerpt-link:link:focus, h5 .excerpt-link:link:focus-within, h5 .excerpt-link:link:hover, h6 .excerpt-link:link:focus, h6 .excerpt-link:link:focus-within, h6 .excerpt-link:link:hover, .page a, .page a:visited, .page a:hover, .post-meta-wrapper p a, .single-post .related-posts-section a {
	text-decoration: unset!important;
	color: black;
}

.single-post .entry-content a:not(.wp-block-button__link), .single-post #author-info a, .archive .author-bio a {
	font-weight: bold;
}

.single-post .entry-content a:not(.wp-block-button__link):hover, .single-post #author-info a:hover, .archive .author-bio a:hover { 
	color: black;
	}

a.wp-block-button__link {
		text-decoration: unset!important;
	color: black;
}

/*Font*/
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	letter-spacing: .75px;
}

h1 {
	
}

h2 {
	font-size: 26px;
	margin-top: 30px;
}

h3 {
	margin-top: 20px;
	font-size: 22px;
}

h4 {
	font-size: 20px;
}

.featured-font {
	font-family: "Poppins";
	margin-bottom: unset;
}

/*Header*/
.header {
	border-top: 5px solid #cf202b;
	margin-bottom: 50px;
}
.page-header  {
	background-color: unset;
	display: flex;
	align-items: flex-end;
}

	.header-container-inner {
		display: flex;
	}

.entry-header {
		background-color: unset;
	padding-bottom: unset;
}
.page-header:before, .entry-header:before {
	border: unset;
	box-shadow: unset;
}

	.nav .menu-item a, .nav .menu-item a:visited {
		color: black;
	}

.nav-toggle:focus svg {
	fill: #cf2e2e;
}

@media only screen and (min-width: 960px) {
.header-container {
	flex-wrap: wrap;
	justify-content: center;
}
	.header-container-inner {
		flex-direction: row;
		justify-content: center;
		width: 100%;
    max-width: 1200px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
	}

.search-toggle, .header-logo, .header .nav {
	flex: unset;
	max-width: unset;
}

.header-logo {
	width: 100%;
	justify-content: center;
}

.header-container-inner  {
	border-top: 1px black solid;
	border-bottom: 1px black solid;
}

button.search-toggle {
	height: 60px;
}
	.nav-list {
		column-gap: 15px;
	}

button.search-toggle .magnifying-glass, #search-container .search-close {
	fill: black;
	transition: .25s;
}

button.search-toggle:hover .magnifying-glass  {
	fill: #cf202b;
	transition: .25s;
}

#search-container .search-close:hover
{
	color: #cf202b;
	transition: .25s;
}

.searchform .search-field, .searchform .search-field:focus {
	border-radius: unset;
	border-color: black;
}
	#primary-nav a {
  text-decoration: none!important;
  position: relative;
	color: black;
}

	
#primary-nav a:hover {
	color: white;
}

#primary-nav a:hover::before {
  bottom: 0;
  height: 100%;
}

#primary-nav a::before {
  content: '';
  background-color: #cf202b;
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 0px;
  z-index: -1;
  transition: all .3s ease-in-out;
}
}

@media only screen and (max-width: 960px) {
	.header-container {
		 flex-direction: row-reverse;
		    justify-content: space-between;
			border-bottom: 1px black solid;
	}
		.header-container-inner {
		flex-direction: row-reverse;
		justify-content: center;
					margin-right: 25px;
	}
	.header-logo {
		flex: unset;
		margin-left: 25px;
	}
}

@media only screen and (max-width: 600px) {
	.page-header {
		justify-content: center;
	}
}

/*Footer*/
.footer {
	background-color: black;
	padding: unset;
}

.footer-container {
	padding-top: 50px;
	flex-wrap: wrap;
}

.footer .wrapper-footer {
		    background-image: url(https://teachermisery.com/wp-content/uploads/2023/12/BACKGROUND-footer-dark.jpg);
	    background-image: url(https://teachermisery.com/wp-content/uploads/2023/12/BACKGROUND-footer-dark.webp);
    background-size: cover;
    background-repeat: no-repeat;
	position: relative;
	max-width: unset;
}

.footer .wrapper-footer::after {
content: "";
    width: 100%;
    background: black;
    display: block;
    height: 100px;
    position: absolute;
    z-index: 1;
	bottom: 0px;
}

.right-footer.footer-widget-area {
	z-index: 2;
}

.middle-footer.footer-widget-area {
	z-index: 10;
}

.footer .gb-block-container .gb-container-content {
	display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container, .footer-copyright-inner {
	max-width: 1200px;
	margin: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.footer #menu-footer-menu {
	display: flex;
	justify-content: space-between;
}

.footer a, .footer p, .footer h2 {
	color: white!important;
}

.footer .wp-block-social-links {
	column-gap: 20px;
}

.footer .wp-block-social-links.is-style-logos-only .wp-social-link svg {
	fill: white;
}

.footer .wp-block-social-links.is-style-logos-only .wp-social-link  {
	border-radius: 100px;
	border: 1px solid #d3d3d385;
	padding: 5px;
	font-size: 16px;
}

.footer .widget-container {
	padding-top: 10px;
}

.footer-copyright {
	background-color: #cf202b;
	padding: 10px 25px;
}

.footer-copyright-inner, .footer-copyright ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-copyright a, .footer-copyright p {
	font-size: 12px!important;
	margin: unset;
}

.footer-copyright li::marker {
	color: transparent;
}

.footer-banner {
	background-image: linear-gradient(rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.85) 100%), url("https://teachermisery.com/wp-content/uploads/2021/12/talk-bubbles.jpg")
}

.footer-banner-inner {
display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 50vh;
    justify-content: center;
	padding: 25px;
}

.footer-banner-inner p, .footer-banner-inner h2 {
	text-align: center;
}

@media only screen and (max-width: 860px) {
	.footer #menu-footer-menu {
		flex-wrap: wrap;
	}
	.footer #menu-footer-menu li {
		width: 50%;
		text-align: center;
	}
	.footer-copyright-inner {
		flex-direction: column;
	}
	.footer-copyright-inner ul {
		flex-direction: row;
	}
	.footer-copyright li {
		margin-left: 15px;
	}
	.footer .wp-block-social-links {
	flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center!important;
}
	.footer .wp-block-social-link a {
		justify-content: center;
	}
	.footer .wp-block-social-links.is-style-logos-only .wp-social-link {
		padding: 14px;
	}
	.footer-copyright ul {
		flex-wrap: wrap;
		    justify-content: center;
    align-items: center;
	}
	.footer .wrapper-footer::after {
content: "";
    height: 300px;
}
}

@media only screen and (min-width: 860px) {
	.footer-widget-area.left-footer {
	flex: 0 0 100%;
}
.footer-widget-area.middle-footer {
	flex: 0 0 60%;
}

.footer-widget-area.right-footer {
	flex: 0 0 30%;
}
	.footer-copyright ul, .footer-copyright li {
	margin: 0px 30px 0px 0px;
}

}

/*Sidebar*/
:not(.hidden-page-title) .sidebar, .sidebar .widget-container:first-of-type:not(.about-author) {
	margin-top: unset;
}

.wrapper-content {
	column-gap: unset;
}

.sidebar .widget-container:first-of-type:not(.about-author) {
	border: unset;
}

.sidebar .widget-container, .sidebar .widget-container p {
	margin-bottom: unset;
}

.sidebar .wp-block-button__link {
	margin: unset;
}

.sidebar {
	margin-top: unset!important;
}

.sidebar h2, .homepage-sidebar-inner h2 {
	color: white;
	background-color: #cf202b;
	padding: 10px 0px 10px 20px;
	font-size: 22px;
	margin-top: 20px;
	width: 100%;
}

.sidebar .wp-block-column img, .homepage-sidebar-inner img {
	    border-radius: 100px;
    background-color: #f8ed3e;
    padding: 10px;
	margin-top: 10px;
	transition: .5s;
}

.sidebar .wp-block-column img:hover, .homepage-sidebar-inner img:hover {
	transform: scale(1.1);
	transition: .5s;
}

.sidebar p, .sidebar .wp-block-buttons, .homepage-sidebar-inner p, .homepage-sidebar-inner .wp-block-buttons {
	margin-left: 15px;
}

.sidebar .wp-block-button__link, .homepage-sidebar-inner .wp-block-button__link {
	padding-left: 35px;
	padding-right: 35px;
}



/*Navigation*/
.navigation.pagination {
	display: flex;
}
.page-numbers {
	padding: 5px 10px;
}

.navigation.pagination .page-numbers:not(.prev, .next), .wp-block-query-pagination-numbers .page-numbers {
	border: 1px solid grey;
}

.navigation.pagination a:not(.prev, .next), .wp-block-query-pagination-numbers .page-numbers {
    display: inline-block;
    position: relative;
    z-index: 0;
    -webkit-transition: border-color .35s ease, background .35s ease;
    transition: border-color .35s ease, background .35s ease;
	font-weight: 500;
}

.navigation.pagination a:not(.prev, .next):before, .wp-block-query-pagination-numbers .page-numbers:before {
	background-color: #f8ed3e;
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
}

.navigation.pagination a:not(.prev, .next):hover:before, .wp-block-query-pagination-numbers .page-numbers:hover:before {
    top: 0;
}

@media only screen and (max-width: 600px) {
.navigation.pagination {
			justify-content: center;
	}
}

/*Homepage*/

.psac-slider-and-carousel .owl-nav, .psac-slider-and-carousel .owl-prev, .psac-slider-and-carousel .owl-next {
	position: unset;
	margin-top: unset;
}

.psac-slider-and-carousel .owl-nav {
    display: flex;
    justify-content: flex-end;
	column-gap: 5px;
}

.psac-slider-and-carousel .owl-nav .owl-prev, .psac-slider-and-carousel .owl-nav .owl-next {
	border-radius: 100px!important;
	font-size: unset!important;
	background: grey!important;
	border: unset!important;
	line-height: unset!important;
			transition: .25s;

}

.psac-slider-and-carousel .owl-nav .owl-prev:hover, .psac-slider-and-carousel .owl-nav .owl-next:hover {
	background: black!important;
	transition: .25s;
}

.psac-slider-and-carousel .owl-prev span, .psac-slider-and-carousel .owl-next span {
	font-size: unset;
	color: white;
	
}

.psac-post-carousel.owl-carousel {
	display: flex;
	flex-direction: column-reverse;
}

.psac-post-carousel-content {
	border: unset!important;
}

.psac-post-margin-content {
	min-height: 215px;
	background-color: #F5f5f1;
	display: flex;
	    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.psac-post-carousel .psac-post-title {
	text-align: left;
	font-size: 18px!important;
}

.psac-post-meta span {
	font-style: normal;
}

.psac-post-carousel.psac-design-2 .psac-post-image-bg {
	height: 200px;
}

.homepage-sidebar-inner {
	width: 300px;
	flex-basis: unset!important;
	flex-grow: unset!important;
}

.owl-carousel .owl-item {
	margin-bottom: 25px;
}

.featured-books {
	column-gap: 25px;
}

.featured-books .wp-block-column {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vent-homepage-card {
	padding: 30px;
}

@media only screen and (min-width: 780px) {
.featured-books img {
	max-height: 400px;
	object-fit: cover;
	object-position: top;
}

.home .featured-books img {
	max-height: 580px;
}
}

@media only screen and (max-width: 1135px) {
		.homepage-sidebar-inner {
		display: none!important;
	}
	.home .wrapper-content {
		padding: unset;
	}
		.homepage-sidebar, .homepage-content, .homepage-cover .wp-block-cover__inner-container  {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/*Archives - Search + 404*/
.search .article.excerpt .excerpt-excerpt, .search .article.excerpt .article-read-more, .search .featured-hero.excerpt , .error404 .article.excerpt .excerpt-excerpt, .error404 .article.excerpt .article-read-more, .error404 .featured-hero.excerpt, .author .archive-title.archive-heading:before{
	display: none;
}

.search .excerpt, .search .excerpt-photo, .error404 .excerpt, .error404 .excerpt-photo {
	min-width: unset;
	max-width: unset;
}

.search .excerpt-container, .error404 .excerpt-container {
	flex-direction: column;
}

.search .excerpt-post-data, .error404 .excerpt-post-data {
	flex-basis: unset;
	justify-content: flex-start;
	background-color: #f9f9f6;
	padding: 20px;
	width: 100%;
	min-height: 150px;
}

.search .excerpt-post-data h2, .error404 .excerpt-post-data h2 {
	font-size: 1rem;
}

.search .excerpt-photo, .error404 .excerpt-photo {
	width: 100%;
	height: 250px;
}

.author .archive-header {
	background: unset;
}

.archive-header::before {
	box-shadow: none;
	background: unset;
	border: unset;
}

.search .excerpt-photo a, .search .excerpt-photo figure, .search .excerpt-photo img, .error404 .excerpt-photo a, .error404 .excerpt-photo figure, .error404 .excerpt-photo img {
	width: inherit;
	height: inherit;
}

.search .excerpt-photo, .error404 .excerpt-photo {
	margin-right: unset;
}

.search .excerpt-photo img, .error404 .excerpt-photo img {
	object-fit: cover;
}


/*Archives - Blog Grid*/
@media only screen and (min-width: 750px) {
.search .content-container, .error404 .content-container, .author .content-container {  
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: .5fr .75fr;
grid-column-gap: 15px;
grid-row-gap: 15px;
}
	
.search .page-header.header-archive, .error404 .page-header.header-archive, .author .header-archive { grid-area: 1 / 1 / 2 / 4;}
	.search .content-container article:nth-of-type(1), .error404 .content-container article:nth-of-type(1), .author .content-container article:nth-of-type(1) { grid-area: 2 / 1 / 3 / 2; }
		.search .content-container article:nth-of-type(2), .error404 .content-container article:nth-of-type(2), .author .content-container article:nth-of-type(2)  { grid-area: 2 / 2 / 3 / 3; }
		.search .content-container article:nth-of-type(3), .error404 .content-container article:nth-of-type(3), .author .content-container article:nth-of-type(3)  { grid-area: 2 / 3 / 3 / 4; }
		.search .content-container article:nth-of-type(4), .error404 .content-container article:nth-of-type(4), .author .content-container article:nth-of-type(4) { grid-area: 3 / 1 / 4 / 2; }
		.search .content-container article:nth-of-type(5), .error404 .content-container article:nth-of-type(5), .author .content-container article:nth-of-type(5)  { grid-area: 3 / 2 / 4 / 3; }
		.search .content-container article:nth-of-type(6), .error404 .content-container article:nth-of-type(6), .author .content-container article:nth-of-type(6)  { grid-area: 3 / 3 / 4 / 4; }
		.search .content-container article:nth-of-type(7), .error404 .content-container article:nth-of-type(7), .author .content-container article:nth-of-type(7)  { grid-area: 4 / 1 / 5 / 2; }
		.search .content-container article:nth-of-type(8), .error404 .content-container article:nth-of-type(8), .author .content-container article:nth-of-type(8)  { grid-area: 4 / 2 / 5 / 3; }
		.search .content-container article:nth-of-type(9), .error404 .content-container article:nth-of-type(9), .author .content-container article:nth-of-type(9)  { grid-area: 4 / 3 / 5 / 4; }
		.search .content-container article:nth-of-type(10), .error404 .content-container article:nth-of-type(10), .author .content-container article:nth-of-type(10)  { grid-area: 5 / 1 / 6 / 2; }
		.search .content-container article:nth-of-type(11), .error404 .content-container article:nth-of-type(11), .author .content-container article:nth-of-type(11)  { grid-area: 5 / 2 / 6 / 3; }
		.search .content-container article:nth-of-type(12), .error404 .content-container article:nth-of-type(12), .author .content-container article:nth-of-type(12)  { grid-area: 5 / 3 / 6 / 4; }
	.blog .navigation.pagination { grid-area: 6 / 1 / 7 / 4; }
}

@media only screen and (max-width: 750px) {
	.search .page-header.header-archive, .error404 .page-header.header-archive {
		padding: 10px;
	}
}

/*Archives - Blog - Bespoke*/
.blog h1, .page-id-721 h1 {
	display: none;
}

.wp-block-query .wp-block-post .wp-block-columns {
	 padding: 15px;
    min-height: 200px;

}

.wp-block-query .wp-block-post .wp-block-columns .wp-block-column {
		display: flex;
	flex-direction: column;
	    justify-content: space-between;
}

.wp-block-query .wp-block-post .wp-block-columns a {
	color: black;
	text-decoration: none;
	font-size: 18px;
	margin-top: 5px;
}

.wp-block-query .wp-block-post .wp-block-columns h2 {
	margin-top: unset;
}

.wp-block-query .wp-block-post .wp-block-columns a:hover {
	color: black;
}

.wp-block-query .wp-block-post {
	position: relative;
}

.taxonomy-post_tag a {
	visibility: hidden;
}

.taxonomy-post_tag a[href="https://teachermisery.com/tag/popular"] {
	visibility: visible;
}

.taxonomy-post_tag a:before {
	content: "";
	background-color: yellow;
	height: 100%;
	width: 100%;
	display: block;
}

.taxonomy-post_tag {
	position: absolute;
    top: 0;
    right: 0;
}

.taxonomy-post_tag a {
	text-decoration: unset!important;
	color: black;
    padding: 5px;
    font-size: 14px!important;
	background: url(https://teachermisery.com/wp-content/uploads/2023/11/lightning.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding-left: 30px;
	position: relative;
    z-index: 10;
}

.taxonomy-post_tag a:before {
	    content: "";
    background-color: #f8ed3e;
    height: 100%;
    position: absolute;
    width: 100%;
    right: 0;
    z-index: -1;
	top: 0;
}

.taxonomy-post_tag a:hover {
	color: black;
}

/*Archives - Categories*/
.archive .article.excerpt .excerpt-excerpt, .archive .article.excerpt .article-read-more, .archive .article.excerpt .excerpt-excerpt, .archive .article.excerpt .article-read-more  {
	display: none;
}

.archive .article .excerpt-container {
	position: relative;
	width: 100%!important;
	height: 100%!important;
}

.archive .article .excerpt-post-data {
	position: absolute;
	bottom: 20px;
	left: 10px;
}

.archive .excerpt, .archive .excerpt-photo {
	min-width: unset;
	max-width: unset;
}

.archive .excerpt-photo, .archive .excerpt-link, .archive .post-thumbnail, .archive .post-thumbnail img {
	width: inherit;
	height: inherit;
}

.archive .post-thumbnail img {
	object-fit: cover;
}

.archive .excerpt-title {
	font-size: .85rem;
	background-color: white;
	padding: 5px;
}

.archive:not(.author) .archive-title.archive-heading {
	  background-color: #f8ed3e;
    padding-top: 15px;
	padding-bottom: 15px;
	padding-right: 30px;
	padding-left: 75px;
}

.archive.category-humor .archive-title.archive-heading {
	background-image: url(https://teachermisery.com/wp-content/uploads/2023/11/apple3.png);
    background-repeat: no-repeat;
    background-position: 5%;
    background-size: 50px;
}

.archive.category-cope .archive-title.archive-heading {
	background-image: url(https://teachermisery.com/wp-content/uploads/2023/11/apple2.png);
    background-repeat: no-repeat;
    background-position: 5%;
    background-size: 50px;
}

.archive.category-news .archive-title.archive-heading {
	background-image: url(https://teachermisery.com/wp-content/uploads/2023/11/apple5.png);
    background-repeat: no-repeat;
    background-position: 5%;
    background-size: 50px;
}

.archive.category-misery .archive-title.archive-heading {
	background-image: url(https://teachermisery.com/wp-content/uploads/2023/11/apple4.png);
    background-repeat: no-repeat;
    background-position: 5%;
    background-size: 50px;
}

@media only screen and (min-width: 600px) {
.archive-title.archive-heading {
	border-radius: 50px 0px 0px 50px;
}
}

@media only screen and (max-width: 600px) {
	.nav-links {
		display: flex;
		column-gap: 10px;
	}
	.archive-title.archive-heading {
	border-radius: 50px;
		font-size: 1.5rem;
	}
}

/*Archives - Category Grid*/
@media only screen and (min-width: 750px) {
.archive:not(.forum-archive, .author) .content-container {  
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: .5fr .75fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}

.archive header.page-header { grid-area: 1 / 1 / 2 / 4;
	padding: 25px 0px;
	margin-bottom: unset;}

.archive .content-container article:nth-of-type(1) {
	grid-area: 2 / 1 / 4 / 3; }

.archive .content-container article:nth-of-type(2) { grid-area: 2 / 3 / 3 / 4; }
.archive .content-container article:nth-of-type(3) { grid-area: 3 / 3 / 4 / 4; }
.archive .content-container article:nth-of-type(4) { grid-area: 4 / 1 / 5 / 2; }
.archive .content-container article:nth-of-type(5) { grid-area: 5 / 1 / 6 / 2; }
.archive .content-container article:nth-of-type(6) { grid-area: 4 / 2 / 6 / 4; }
.archive .content-container article:nth-of-type(7) { grid-area: 6 / 1 / 8 / 3; }
.archive .content-container article:nth-of-type(8) { grid-area: 6 / 3 / 7 / 4; }
.archive .content-container article:nth-of-type(9) { grid-area: 7 / 3 / 8 / 4; }
.archive .content-container article:nth-of-type(10) { grid-area: 8 / 1 / 9 / 2; }
.archive .content-container article:nth-of-type(11) { grid-area: 9 / 1 / 10 / 2; }
.archive .content-container article:nth-of-type(12) { grid-area: 8 / 2 / 10 / 4; }
.archive .navigation.pagination { grid-area: 10 / 1 / 11 / 4; }
	
	.archive .content-container article:nth-of-type(2) .excerpt-post-data, .archive .content-container article:nth-of-type(3) .excerpt-post-data, .archive .content-container article:nth-of-type(4) .excerpt-post-data, .archive .content-container article:nth-of-type(5) .excerpt-post-data, .archive .content-container article:nth-of-type(8) .excerpt-post-data, .archive .content-container article:nth-of-type(9) .excerpt-post-data, .archive .content-container article:nth-of-type(10) .excerpt-post-data, .archive .content-container article:nth-of-type(11) .excerpt-post-data { 
		max-width: 200px; 
	}
	
	.archive .content-container article:nth-of-type(1) .excerpt-post-data, .archive .content-container article:nth-of-type(6) .excerpt-post-data, .archive .content-container article:nth-of-type(7) .excerpt-post-data, .archive .content-container article:nth-of-type(12) .excerpt-post-data { 
		max-width: 400px; 
	}
}

/*Single Pages*/
.page .entry-header.header-singular.wrapper {
	display: flex;
}

.page .entry-title.article-heading {
	    color: white;
    background-color: #cf202b;
    padding: 10px;
}

.page-template-page-full-width .wp-block-gallery {
	max-width: 1200px;
	margin: auto;
}

@media only screen and (min-width: 785px) {
.page:not(.home) #content .wp-block-columns:first-of-type .wp-block-column:nth-of-type(2), .page-id-2773 #content .wp-block-columns:not(.four-column) .wp-block-column:nth-of-type(2) {
	margin-top: -50px;
}
}

/*About*/
.featured-columns-about .wp-block-column {
	border: 7px #f8ed3e solid;
	padding: 15px;
}

.featured-columns-about .wp-block-image figure {
	margin-right: unset;
}

.page-id-2852 .sidebar #block-2, .page-id-2852 .sidebar #block-3, .page-id-2852 .sidebar #block-4 {
	display: none;
} 

@media only screen and (max-width: 780px) {
	
	.wp-block-columns.featured-columns-about.four-column {
		justify-content: center;
	}

.wp-block-columns.featured-columns-about.four-column .wp-block-column, .wp-block-columns.featured-columns-books.four-column .wp-block-column {
	flex-basis: unset!important;
}
}

/*Podcast*/
.podcast-columns {
	margin-bottom: 50px;
}

.podcast-columns .wp-block-button__link {
	font-size: 14px;
}

/*Resources*/
#resource-iframe {
	height: auto;
  min-height: 1200px;
	overflow: hidden;
}

@media only screen and (max-width: 1130px) {
#resource-iframe {
	height: auto;
  min-height: 1625px;
}
}

@media only screen and (max-width: 915px) {
#resource-iframe {
	height: auto;
  min-height: 2075px;
}
}

@media only screen and (max-width: 700px) {
#resource-iframe {
	height: auto;
  min-height: 2980px;
}
}

@media only screen and (max-width: 495px) {
#resource-iframe {
	height: auto;
  min-height: 5700px;
	max-width: 450px;
}
}

/*Blog Articles*/
.single-post .post-thumbnail img {
	width: 100%;
}

.article-meta.no-author-meta {
	border: unset;
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	align-items: center;
}

span.posted-on {
visibility: hidden;
font-size: 0px;
}

span.posted-on .entry-date {
visibility: visible;
font-size: 12px;
}

.entry-date {
	color: black;
}

.article-meta .meta-cats, .post-meta-wrapper .meta-cats {
	width: unset;
}

.post-meta-wrapper .meta-wrapper {
	margin: unset;
}

.meta-wrapper:before {
	content: "-";
	margin: 0px 3px;
}

.rank-math-breadcrumb p {
	margin-bottom: unset;
	padding: unset;
}
.rank-math-breadcrumb a {
	font-size: 12px!important;
}
.rank-math-breadcrumb a:hover {
	color: black!important;
}

.page-title-mini-banner {
	margin-top: 25px;
}

.page-title-mini-banner-inner {
	    display: flex;
    flex-wrap: wrap;
	justify-content: flex-end;
}

.page-title-mini-banner p, .page-title-mini-banner a {
	color: white!important;
	margin: unset;
	background-color: #cf202b; 
	font-weight: bold;
}

.page-title-mini-banner p {
		padding: 10px;
}

.page .page-title-mini-banner, .bbpress .page-title-mini-banner {
	display: none;
}

.navigation.post-navigation {
	display: none;
}

/*Footer Entry Data*/
.page #extra-entry-footer, .bbpress #extra-entry-footer {
	display: none;
}

/*Related Post Feed*/
.related-posts-section figure {
	    display: flex;
    justify-content: center;
    position: relative;
}

.related-posts-section figure:before {
    position: absolute;
    content: "";
    display: block;
    border-top: 2px grey solid;
    width: 100%;
    top: 27px;
}

.related-posts-section figure img {
	    width: 75px;
    height: auto;
	z-index: 10;
}

.related-posts-feed-title {
	text-align: center;
}

.related-posts-feed {
	display: flex;
    margin: auto;
    justify-content: center;
}

.related-posts-feed a {
	width: 33.3%;
	background-color: #F5f5f1;
}

.related-posts-feed h3 {
	font-size: 16px;
	padding: 10px;
}

.related-posts-feed img {
	height: 170px;
	width: 100%;
	object-fit: cover;
	margin-bottom: unset;
}

@media only screen and (min-width: 650px) {
.related-posts-feed a {
	margin-right: 10px;
	margin-left: 10px;
}
}

@media only screen and (max-width: 650px) {
	.related-posts-feed img {
		height: 220px;
	}
	
	.related-posts-feed {
		flex-direction: column;
	}
	
.related-posts-feed a {
	width: 100%;
	margin-top: 10px;
	margin-bottom: 10px;
}
}

/*Author Box*/
#author-info {
    display: flex;
    padding: 25px;
    margin: 50px 0px;
    background-color: #F5f5f1;
}

#author-avatar img {
	border-radius: 100px;
	 display: block;
  margin-left: auto;
  margin-right: auto;
	max-width: 150px;
	height: auto;
}

.author-socials {
	display: flex;
	align-items: center;
	margin-top: 15px;
}

.author-socials img {
	    max-height: 35px;
    max-width: 35px;
    filter: invert(1);
}

@media only screen and (max-width: 600px) { 
	#author-info {
		flex-direction: column;
	}
	#author-description {
		text-align: center;
	}
	.author-socials {
justify-content: space-around;
}
}

@media only screen and (min-width: 600px) { 
.author-socials a {
	margin: 10px 20px;
}
	#author-avatar {
	width: 30%;
}

#author-description {
	width: 70%;
}
}

/*Comment Section*/
.trellis-comments {
	display: flex;
	flex-direction: column;
}

.trellis-comment-form label {
	display: none;
}

.trellis-comments .post-title {
	order: 1;
	text-align: left!important;
	font-size: 24px;
	font-weight: bold;
	color: black!important;
	z-index: 1!important;
}

.trellis-comments .trellis-comment {
	border: unset!important;
	order: 2;
}

.trellis-comments .trellis-comment-form {
	order: 3;
}

.trellis-comment-form textarea, .trellis-comment-form input {
	background-color: #f5f5f1;
	border: unset!important;
}

.trellis-comment-form .trellis-comment-form-outer-box {
	border: unset!important;
	background-color: unset!important;
	padding: 20px 0px 0px 0px!important;
}

.trellis-comment-form .trellis-comment-form-outer-box .trellis-comment-form-box .trellis-comment-form-button {
	background-color: #f8ed3e!important;
	color: black;
	border: unset!important;
}

/*Buttons*/
.wp-block-button__link {
	font-weight: bold!important;
		margin: unset;
	margin-bottom: 15px;
		    border-radius: 0px;
    background-color: white;
    color: black;
	border: 2px black solid;
		padding: 5px 20px;
}

.wp-block-button__link:hover {
	text-decoration: none;
}

.wp-block-button__link {
    display: inline-block;
    position: relative;
    z-index: 0;
    -webkit-transition: border-color .35s ease, background .35s ease;
    transition: border-color .35s ease, background .35s ease;
	font-weight: 500;
}

.wp-block-button__link:before {
	background-color: #f8ed3e;
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
}

.wp-block-button__link:hover:before {
    top: 0;
}

.formkit-fields .formkit-submit {
	color: black!important;
	position: relative!important;
}

.formkit-fields .formkit-submit, .formkit-fields .formkit-field {
	border: 2px black solid!important;
}

.formkit-fields .formkit-input {
	text-align: center;
}

.formkit-fields .formkit-submit:hover span {
	background-color: unset!important;
}

div.wpforms-container-full .wpforms-form button[type=submit], .alt-link .wp-block-button__link, .formkit-fields .formkit-submit  {
	font-weight: bold!important;
	background-color: #f8ed3e!important;
}

div.wpforms-container-full .wpforms-form button[type=submit], .alt-link .wp-block-button__link, .formkit-fields .formkit-submit {
    display: inline-block;
    position: relative;
    z-index: 0;
    -webkit-transition: border-color .35s ease, background .35s ease;
    transition: border-color .35s ease, background .35s ease;
	font-weight: 500;
}

div.wpforms-container-full .wpforms-form button[type=submit]:before, .alt-link .wp-block-button__link:before, .formkit-fields .formkit-submit:before {
	background-color: white!important;
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
}

div.wpforms-container-full .wpforms-form button[type=submit]:hover:before, .alt-link .wp-block-button__link:hover:before, .formkit-fields .formkit-submit:hover:before {
    top: 0;
}


.amazon-link .wp-block-button__link {
	font-weight: bold!important;
	background: url(https://teachermisery.com/wp-content/uploads/2023/11/Amazon_icon.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center left 5%;
	padding-left: 50px;
	    background-color: white;
}

/*Affiliate Buttons*/
.affiliate-align-left, .affiliate-align-center, .affiliate-align-right {
	display: flex;
	column-gap: 25px;
}

.affiliate-align-left {
	justify-content: flex-start;
}

.affiliate-align-center {
	justify-content: center;
}
.affiliate-align-right {
	justify-content: flex-end;
}

/*Entry Links*/
.page .entry-content p a, .page .entry-content li:not(.wp-block-post, .wp-social-link) a, .special-link-push a, .page #author-description p a  {
  text-decoration: none!important;
  position: relative;
	color: black;
	font-weight: bold;
	z-index: 1;
}

.special-link-push a {
	z-index: 1;
}

.page .entry-content p a:hover, .page .special-link-push a:hover, .page .entry-content li:not(.wp-block-post, .wp-social-link)  a:hover,   .page #author-description p a:hover {
	color: white;
}

.page .entry-content p a:hover::before, .page .entry-content li:not(.wp-block-post, .wp-social-link)  a:hover::before, .special-link-push a:hover::before, .page #author-description p a:hover::before {
  bottom: 0;
  height: 100%;
}

.page .entry-content p a::before, .page .entry-content li:not(.wp-block-post, .wp-social-link)  a::before, .special-link-push a::before, .page #author-description p a::before {
  content: '';
  background-color: #cf202b;
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 4px;
  z-index: -1;
  transition: all .3s ease-in-out;
}

/*WP Forms*/
.wpforms-container.wpforms-container-full {
	margin-top: unset;
	margin-bottom: unset;
}

/*Klaviyo Forms*/
.footer .klaviyo-form {
	max-width: 550px;
	width: 100%;
}

/*WP Blocks*/
/*Tables*/
.wp-block-table thead {
	background-color: #f8ed3e;
	border: unset;
}

.wp-block-table td, .wp-block-table tr, .wp-block-table th {
	border: unset;
	padding-left: 5px;
}

.wp-block-table tr td:nth-of-type(2), .wp-block-table tr td:nth-of-type(3) {
	    border-left: 2px solid #d3d3d359;
}

.wp-block-table tbody tr:nth-of-type(even) {
	background-color: #F5f5f1;
}

/*Lists*/
.post .entry-content ul li:not(.wp-block-post), .page .entry-content ul:not(.wp-block-post-template, .bbp-forums, .forum-titles, .forum, .glide__slides) li {
    margin: 10px 0;
    line-height: 30px;
    list-style: none;
}

.post .entry-content ul li:before, .page .entry-content ul:not(.wp-block-social-links, .wp-block-post-template, .bbp-forums, .forum-titles, .forum, .glide__slides) li:before {
    display: inline-block;
    width: 33px;
    height: 33px;
    margin-right: 10px;
    vertical-align: middle;
    background: url('https://teachermisery.com/wp-content/uploads/2023/11/Plan-de-travail-1.png') no-repeat left center;
    background-size: contain;
    content: '';
}

/*
li {
list-style-image:url('https://teachermisery.com/wp-content/uploads/2023/12/Plan-de-travail-1-resized.png');
}

/*Image Captions*/
figure>figcaption {
	font-size: 13px;
	font-weight: bold;
}

/*Masonry Gallery*/
@media only screen and (min-width: 750px) {
.wp-block-gallery.special-gallery-grid {
	display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
}

.wp-block-gallery.special-gallery-grid .wp-block-image {
	width: unset!important;
}

.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(1) { grid-area: 1 / 1 / 2 / 2; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(2) { grid-area: 1 / 2 / 2 / 3; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(3) { grid-area: 1 / 3 / 2 / 4; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(4) { grid-area: 2 / 1 / 3 / 2; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(5) { grid-area: 2 / 2 / 3 / 3; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(6) { grid-area: 2 / 3 / 3 / 4; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(7) { grid-area: 1 / 4 / 3 / 6; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(8) { grid-area: 3 / 1 / 5 / 3; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(9) { grid-area: 3 / 3 / 4 / 4; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(10) { grid-area: 3 / 4 / 4 / 5; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(11) { grid-area: 3 / 5 / 4 / 6; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(12) { grid-area: 4 / 3 / 5 / 4; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(13) { grid-area: 4 / 4 / 5 / 5; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(14) { grid-area: 4 / 5 / 5 / 6; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(15) { grid-area: 5 / 1 / 6 / 2; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(16) { grid-area: 5 / 2 / 6 / 3; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(17) { grid-area: 5 / 3 / 6 / 4; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(18) { grid-area: 6 / 1 / 7 / 2; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(19) { grid-area: 6 / 2 / 7 / 3; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(20) { grid-area: 6 / 3 / 7 / 4; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(21) { grid-area: 5 / 4 / 7 / 6; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(22) { grid-area: 7 / 1 / 9 / 3; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(23) { grid-area: 7 / 3 / 8 / 4; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(24) { grid-area: 7 / 4 / 8 / 5; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(25) { grid-area: 7 / 5 / 8 / 6; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(26) { grid-area: 8 / 3 / 9 / 4; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(27) { grid-area: 8 / 4 / 9 / 5; }
.wp-block-gallery.special-gallery-grid .wp-block-image:nth-of-type(28) { grid-area: 8 / 5 / 9 / 6; }
}

/*Genesis Blocks*/
/*Page Container*/
.gb-container-content {
	padding: 20px;
}

/*Content Box*/
.content-box {
	margin-top: 25px;
	margin-bottom: 35px;
}

.content-dark {
	background-color: black;
}

.content-dark .content-box-area, .content-dark .content-box-area h3, .content-dark .content-box-area h2, .content-dark .content-box-area h4 {
	color: white!important;
}

.content-dark .content-box-area h3 a, .content-dark .content-box-area h2 a, .content-dark .content-box-area h4 a {
	color: #f8ed3e!important;
	text-decoration: none!important;
}

.content-light {
	background-color: #F5f5f1;
}

.content-light .content-box-area, .content-light .content-box-area h3, .content-light .content-box-area h2, .content-light .content-box-area h4, .content-white .content-box-area, .content-white .content-box-area h3, .content-white .content-box-area h2, .content-white .content-box-area h4 {
	color: black;
}

.content-white {
	background-color: unset;
}

.content-box-inner {
	display: flex;
}

.content-box-inner.reverse-content {
	flex-direction: row-reverse;
}

.content-box-area {
	flex: 0 0 66%;
	padding: 35px;
}

.content-box-area.full-content {
		flex: 1;
}

.content-box-image {
	flex: 0 0 34%;
	padding: 20px;
}

.content-box-image img {
	margin: unset;
	height: 100%;
}

.content-box-image.image-flush {
	padding: unset;
}

.content-box-image.image-flush figure  {
	height: 100%;
}

.content-box-image.image-flush img {
	object-fit: cover;
}

@media only screen and (max-width: 750px) {
	.content-box-inner {
		flex-direction: column-reverse;
	}
	.content-box-inner.reverse-content {
	flex-direction: column;
}
}

/*Featured Quote*/
#featured-quote-box {
	margin: auto;
	margin-bottom: 50px;
	margin-top: 25px;
}

#featured-quote-box p {
	font-family: "Poppins";
	font-size: 20px;
}

#featured-quote-box.graphic-quote p {
	color: white;
}

#featured-quote-box.minimal-quote p {
	color: black;
}

#featured-quote-box .quote-author {
	font-style: italic;
}

.featured-quote-box-inner {
	padding: 35px;
	position: relative;
}

#featured-quote-box.graphic-quote {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#featured-quote-box.graphic-quote .featured-quote-box-inner {
	padding-top: 75px;
}

#featured-quote-box.graphic-quote .featured-quote-box-inner:before, .featured-icon-block:before {
    content: '"';
    position: absolute;
	top: 15px;
	left: 45px;
    color: #f8ed3e;
    font-size: 60px;
    font-family: "Poppins";
    font-style: italic;
    transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
}

#featured-quote-box.minimal-quote {
	background: #F5f5f1;
	background-image: unset!important;
	position: relative;
}

#featured-quote-box.minimal-quote:before {
position: absolute;
    left: -15px;
    top: 0px;
    content: "";
    background-image: url(https://teachermisery.com/wp-content/uploads/2023/11/whiteAsset-2212.png);
    height: 100%;
    display: block;
    width: 35px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#featured-quote-box.minimal-quote .featured-quote-box-inner {
	padding-left: 50px;
}

/*Accordion*/
.accordion {
  background-color: white;
  color: black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: 1px solid black;
  text-align: left;
  outline: none;
  transition: 0.5s;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.accordion-wrapper + .accordion-wrapper .accordion {
	border-top: unset;
}

.accordion-wrapper + p, .accordion-wrapper + h2, .accordion-wrapper + h3,
.accordion-wrapper + h4, 
.accordion-wrapper + ul,
.accordion-wrapper + ol,
.accordion-wrapper + figure,
.accordion-wrapper + #content-box, .accordion-wrapper #featured-quote-box {
	margin-top: 25px;
}

.accordion-icon {
	font-size: 24px;
	display: inline-block;
	transform: rotate(90deg);
}

.accordion:hover {
	background-color: white;
	color: black;
}

.active, .active.accordion:hover , .accordion:focus {
  background-color: #F5f5f1; 
	color: black;
}

 .active.accordion {
	border-bottom: unset;
}

 .active.accordion .accordion-icon {
		transform: rotate(270deg);
}

.accordion-panel {
  padding: 0 18px;
	padding-top: 10px;
  display: none;
  background-color: white;
  overflow: hidden;
	background-color: #F5f5f1;
	border: 1px black solid;
}

/*Accordion + TOC*/
.wp-block-rank-math-toc-block h2 {
	display: none;
}

/*GLIDE CORE*/
.glide {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.glide * {
  box-sizing: inherit;
}
.glide__track {
  overflow: hidden;
}
.glide__slides {
  position: relative;
  width: 100%;
  list-style: none;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform-style: preserve-3d;
  touch-action: pan-Y;
  overflow: hidden;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}
.glide__slides--dragging {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.glide__slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  white-space: normal;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.glide__slide a {
  -webkit-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.glide__arrows {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.glide__bullets {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.glide--rtl {
  direction: rtl;
}/*# sourceMappingURL=glide.core.css.map */

/*GLIDE - THEME*/
.glide__arrow {
  position: absolute;
  display: block;
  top: 50%;
  z-index: 2;
  color: white;
  text-transform: uppercase;
  padding: 9px 12px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1);
  opacity: 1;
  cursor: pointer;
  transition: opacity 150ms ease, border 300ms ease-in-out;
  transform: translateY(-50%);
  line-height: 1;
}
.glide__arrow:focus {
  outline: none;
}
.glide__arrow:hover {
  border-color: white;
}
.glide__arrow--left {
  left: 2em;
}
.glide__arrow--right {
  right: 2em;
}
.glide__arrow--disabled {
  opacity: 0.33;
}
.glide__bullets {
  position: absolute;
  z-index: 2;
  bottom: 2em;
  left: 50%;
  display: inline-flex;
  list-style: none;
  transform: translateX(-50%);
}
.glide__bullet {
  background-color: #555;
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 300ms ease-in-out;
  cursor: pointer;
  line-height: 0;
  box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
  margin: 0 0.25em;
}
.glide__bullet:focus {
  outline: none;
}
.glide__bullet:hover, .glide__bullet:focus {
  border: 2px solid white;
  background-color: #0C8CB8;
}
.glide__bullet--active {
  background-color: #0C8CB8;
}
.glide--swipeable {
  cursor: grab;
  cursor: -webkit-grab;
}
.glide--dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}/*# sourceMappingURL=glide.theme.css.map */

/*Glide Custom*/
.vent-glide .glide__slide p {
padding: 50px;	
	    font-size: 18px;
    font-weight: bold;
}

.glide__bullet--active, .glide__bullet:hover, .glide__bullet:focus {
	color: white;
	background-color: white;
}

.review-slider .glide__bullet--active, .review-slider .glide__bullet:hover, .review-slider .glide__bullet:focus {
	color: #cf202b;
	background-color: #cf202b;
}

.featured-icon-block {
	position: relative;
}

.featured-icon-block:before {
	top: -20px;
    color: white;
}

.featured-icon-inner-container {
	    display: flex;
    flex-direction: row;
}

.featured-icon-inner-container img {
	width: 250px;
	height: 250px;
	object-fit: cover;
}

.featured-icon-container-text {
	padding: 25px;
}

.featured-icon-container-text p {
	width: 95%;
}

.featured-icon-container-text p:nth-of-type(1) {
	font-style: italic;
}

.featured-icon-container-text p:nth-of-type(2) {
	font-weight: bold;
	font-size: 14px;
}

/*Pop Up*/
@keyframes movement {
		0% {left: 0px; transform: skew(-10deg, 10deg);}
		50% {left: 100px; transform: skew(10deg, -10deg);}
		100% {left: 0px; transform: skew(-10deg, 10deg);}
}

.box-calltoaction{
		position: absolute;
		width: 50vw;
		height: 500px;
		top: 10%;
	display: flex;
	left: 0;
	right:0;
	margin-left: auto;
	margin-right: auto;
}

.pop-content {
		text-align: left;
		color: #fff;
	display: flex;
	flex-grow: 1;
}

.pop-text {
	padding: 50px;
}


.pop-image img {
    max-width: 100%;
    object-fit: cover;
}

.popup-all{
		transition: all 3s;
		position: fixed;
		z-index: 9999!important;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.5);
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
}

.dark-pop_up .pop-content .pop-text {
	background: black;
}

.dark-pop_up .pop-content .pop-text p, .dark-pop_up .pop-content .pop-text h2, .box-calltoaction.dark-pop_up .close-pop {
	color: white;
}

.light-pop_up .pop-content .pop-text {
	background: #f5f5f1;
}

.light-pop_up .pop-content .pop-text p, .light-pop_up .pop-content .pop-text h2  {
	color: black;
}


@media (min-width: 1200px) and (max-width: 1500px){
		.box-container{
				left: 25%;
		}

		.box-calltoaction {
				background: white;
				position: absolute;
				width: 60vw;
				height: 600px;
				left: 50%;
				top: 10%;
				margin-left: -30vw;
		}
}

@media (min-width: 1000px) and (max-width: 1200px){
		.box-container{
				left: 20%;
		}

		.box-calltoaction {
				background: white;
				position: absolute;
				width: 70vw;
				height: 600px;
				left: 50%;
				top: 10%;
				margin-left: -35vw;
		}
}

@media (max-width: 999px){
		.box-calltoaction {
				background: white;
				position: absolute;
				width: 80vw;
				height: 600px;
				left: 50%;
				top: 10%;
				margin-left: -40vw;
		}
}


@media (max-width: 500px){
		.box-calltoaction {
				background: white;
				position: absolute;
				width: 95vw;
				height: 700px;
				left: 50%;
				top: 10%;
				margin-left: -47.5vw;
			}
	
		.pop-content h1{
				font-size: 1.5em;
			}
}

@media (max-width: 600px){
	.box-calltoaction, .pop-content {
		flex-direction: column;
	}
		.pop-image img {
   height: 200px;
			width: 100%;
}
	.pop-text {
		flex: 1;
	}
}

@media (min-width: 600px){
.pop-image, .pop-text {
	width: 50%;
}
	.pop-image img {
   height: 100%;
}
}


.popnone{
		display: none;
		transition: all 1s;
}

.close-pop{
		position: absolute;
		font-size: 28px;
		right: 20px;
		top: 5px;
		color: #222222;
}

.close-pop:hover, .close-pop:focus, .close-pop:active{
		text-decoration: none;
		color: #ccc;
	  cursor: pointer;

}