@media only screen and (orientation:landscape) {
body { -webkit-text-size-adjust:none; }
}
@media only screen and (orientation:portrait) {
body { -webkit-text-size-adjust:none; }
}


@media screen and (max-width: 1499px){
	.featured-books-section .slider-wrapper-x{ margin-inline: 60px;}
	.hero-section .main-block .text-wrapper{ margin-bottom: clamp(40px, 13.542vw, 150px); }

}

@media screen and (max-width: 1399px){
	.hero-section .main-block .text-wrapper{ margin-bottom: clamp(40px, 13.542vw, 130px); }

}
@media screen and (max-width: 1199px){
	 .testimonials-section [class^="book-element-"]{opacity: 0.2;}
}
@media screen and (max-width: 991px){
    .about-section .bottom-block{ border-radius: 20px;}
    footer .box .logo-wrapper{ width: 250px; margin-inline: auto; display: flex;}
    footer .box.one p{ text-align: center;}
    footer .box.one p br{ display: none;}
    footer .ink{ position: initial; margin-bottom: 20px; display: flex; justify-content: center;}
    .stellarnav.dark.mobile > ul{ position: absolute; left: 0; width: 100%; background: var(--primary-color); }
.stellarnav.dark.mobile > ul li a{ padding: 10px; }
   .navbar-default .logo-block{ order: 1;}
   .navbar-default .primary-btn{ order: 2;}
   .navbar-default .menu-block{ order: 3;}
    footer .ink{ display: none;}
	
	
	.contact-section .wpcf7-spinner{ position:absolute; right:0; }
}



/*NEW GRID SYSTEM*/
@media screen and (max-width:767px){
    .testimonials-section .slider-wrapper-x [class^="swiper-button-"]{ top: -20px !important;}
    .testimonials-section .slider-wrapper-x .swiper-button-prev{left: 40% !important;}
    .testimonials-section .slider-wrapper-x .swiper-button-next{right: 40% !important;}
    footer .row [class^="col-"]{ display: initial;}
    

}

@media screen and (max-width:575px){
.about-section.mobile{ display:block; }
.about-section.desktop .bottom-block, 
.about-section.desktop .main-block .col-lg-4.quote{ display:none; }
.hero-section .main-block .text-wrapper{ width:75%; }
.hero-section .main-block .text-wrapper h1{ margin-bottom:clamp(7px, 1.042vw, 20px); padding-bottom:clamp(7px, 1.042vw, 20px); }
.hero-section .main-block .text-wrapper .primary-btn.mobile{ display:inline-flex; padding:clamp(9px, 1.042vw, 20px) clamp(22px, 1.302vw, 25px); margin-top:8px; }
.about-section .box-3{ min-height:auto; }
.featured-books-section .slider-wrapper-x{ margin-inline: 20px; }
.featured-books-section .slider-wrapper-x .swiper-button-prev{ left: clamp(-20px, -4.948vw, -95px) !important; }
.featured-books-section .slider-wrapper-x .swiper-button-next{ right: clamp(-20px, -4.948vw, -95px) !important; }
.featured-books-section .single-slide .product-title{ min-height:auto; }
.featured-books-section .single-slide{ text-align:center; }
.featured-books-section .single-slide .bottom-two-button{ justify-content:center; }
	
}

@media screen and (max-width:359px){
   .navbar-default .logo-block{ order: 1;}
   .navbar-default .primary-btn{ order: 3;}
   .navbar-default .menu-block{ order: 2;}
}
@media screen and (max-width:575px){
footer{ text-align: center;}
footer .box ol{ justify-content: center;}
}

@media screen and (max-width:500px){
    .about-section .book-element-2{ display: none;}
        .testimonials-section .slider-wrapper-x .swiper-button-prev{left: 33% !important;}
    .testimonials-section .slider-wrapper-x .swiper-button-next{right: 33% !important;}
    .featured-books-section .heading{ flex-direction: column; text-align: center; align-content: center;}
}

@media screen and (max-width:400px){
	.hero-section .main-block .text-wrapper{ width: 70%; }
}

@media screen and (max-width:350px){

}