/*
Theme Name: Book Shop
Theme URI: #
Template: blocksy
Author: The Dev
Author URI: #
Description: You can easily create a bookstore WordPress website.
Tags: blog,e-commerce,wide-blocks,block-styles,grid-layout,one-column,two-columns,three-columns,four-columns,right-sidebar,left-sidebar,translation-ready,custom-colors,custom-logo,custom-menu,featured-images,footer-widgets,full-width-template,theme-options,threaded-comments,buddypress,rtl-language-support,news
Version: 2.0.81.1734325849
Updated: 2024-12-16 05:10:49
Text Domain: book-shop

*/

/* The Modal (background) */
.modal {
   /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: -100%;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: scroll; /* Enable scroll if needed */
	
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 14px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.preview_book_btn {
    width: 100%;
    background: #ffe400;
    color: #000;
	margin-bottom: 10px;
}



ul.book_infolist {
    list-style: none;
    padding: 0px;
}
ul.book_infolist li {
    border-bottom: solid 1px #f1f1f1;
    padding: 5px;
}

/* Newest */
[class*="animated-submenu"] > .sub-menu{background-color:#000080;}

/* Videos Page */
.videos {
  width: 1140px;
  margin: 0 auto;
  font-family: sans-serif;
}

.videos h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.videos .video-list {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.video-item,
.video-wrapper,
.videos .video-list {
  box-sizing: border-box;
}

.video-item {
  width: 100%;
  background: linear-gradient(to bottom, #22a366, #1e76c6);
  text-align: center;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 16px;
  line-height:22px;
}

.videos-16x9 .video-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.videos-16x9 .video-item {
  aspect-ratio: 16 / 9;
}

.videos-filtered .video-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.videos-filtered .video-item {
  aspect-ratio: 16 / 9;
  position:relative;
  align-items: normal;
}

.videos-filtered .video-wrapper{height:210px;}

.videos-9x16 .video-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.videos-9x16 .video-item {
  aspect-ratio: 9 / 16;
}

.video-item span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: normal;
  color: #fff;
}

.videos-1x1 .video-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.videos-1x1 .video-item {
  aspect-ratio: 1 / 1;
}

.videos-2x3 .video-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.videos-2x3 .video-item {
  aspect-ratio: 2 / 3;
}

.videos-4x5 .video-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.videos-4x5 .video-item {
  aspect-ratio: 4 / 5;
}

.video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-title{padding:6px 0; display:block; width:100%; text-align:center; background-color:#FFF; color:#000;}

.videos-16x9 .video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.videos-9x16 .video-wrapper {
  width: 100%;
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
}

.videos-1x1 .video-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.videos-2x3 .video-wrapper {
  width: 100%;
  aspect-ratio: 2 / 3;
  position: relative;
  overflow: hidden;
}

.videos-4x5 .video-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;

  overflow: hidden;
}

.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  z-index: 2;
  pointer-events: none;
}

.play-button::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid white;
}

.video-wrapper:hover .play-button {
  background: rgba(0, 0, 0, 0.95);
}

.noftm{padding:25px 0 0 0;}

.vidhero{margin:0 0 15px 0;} 
.vidhero .hero-section[data-type="type-2"] > [class*="ct-container"]{min-height:inherit !important;}
.product-filter-form{margin-bottom:20px;}

body.woocommerce-shop .woocommerce-ordering{display:none; visibility:hidden;}
body.woocommerce-shop .filter.categ{ display:none; visibility:hidden;}

.vidcol-50{width:50%;}

.vhleft{float:left; text-align:left;}
.vhright{float:right; text-align:right;}
.vclr{clear:both;}
.vid-heading{margin-top:30px;}
.vid-heading h2{font-family: "Roboto", Sans-serif; font-size: 25px; font-weight: 800; color: #000080; padding-bottom:5px;}
.vid-heading h2 span{color:#35b34a}
.vid-heading a{color:#4B4B4B; position:relative; top:5px;}
.vid-heading a:hover{color:#35b34a;}
.vdvdr{border-bottom:2.3px solid #00B05D; margin-bottom:30px;}

.vid-single{padding:60px 0 0 0;}
.single-video-container{max-width: 900px; margin: 0 auto; }
.single-video-player iframe{width: 100%; height: 500px; border: none; }
.single-video-title{font-size: 28px; margin: 20px 0 10px; }
.single-video-title h1{font-size:26px;}
.single-video-meta{color: #666; font-size: 14px; margin-bottom: 20px; }
.single-video-description{font-size: 16px; margin-bottom: 30px; }
.byone .book-list-container .products{grid-template-columns: repeat(4, minmax(0, 1fr));}
.byone [data-products] .product figure{--product-element-spacing: 0;}

.custom-category-template [data-products].columns-6{--shop-columns: repeat(4, minmax(0, 1fr));}
.custom-category-template form.woocommerce-ordering{display:none; visibility:hidden;}
.custom-category-template .woo-listing-top:not(:empty){margin-bottom: 25px; margin-top: 25px;}
.dropdown-container{display: flex; gap: 10px;}

.dropdown-container select {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
  background-color: white;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='none'%20stroke='%23000'%20d='M0%200l2%202l2-2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

.wpcr3_button_1{
  background: #0FAD5E !important;
  border-color:transparent !important;
  background-color: #0FAD5E !important;
  border-radius: 3px !important;
  color: #fff!important;
  display: inline-block !important;
  font-size: 15px !important;
  line-height: 1 !important;
  padding: 12px 24px !important;
  fill: #fff !important;
  text-align: center !important;
  transition: all .3s !important;
  font-weight:700 !important;}
  
.wpcr3_button_1:hover{
  background: #353535 !important;
}

.wpcr3_table_2 td{padding-left:0px !important; padding-top:0px !important;}
.pum-theme-33 .pum-title, .pum-theme-enterprise-blue .pum-title{text-align:center;}

body.woocommerce-archive .hero-section[data-type="type-2"] > figure, body.woocommerce-shop .hero-section[data-type="type-2"] > figure, body.archive .hero-section[data-type="type-2"] > figure, body.page-template-page-videos .hero-section[data-type="type-2"] > figure{display:none !important;}
body.woocommerce-archive .hero-section[data-type="type-2"], body.woocommerce-shop .hero-section[data-type="type-2"], body.archive .hero-section[data-type="type-2"]{background-color: #fff !important; --container-padding: 30px 0 0 0px !important; margin-bottom:-20px;}
body.page-template-page-videos .hero-section[data-type="type-2"]{background-color: #fff !important; --container-padding: 10px 0 0 0px !important;}

body.woocommerce-archive .entry-header .page-title, body.woocommerce-shop .entry-header .page-title, body.archive .entry-header .page-title, body.page-template-page-videos .entry-header .page-title{--theme-heading-color: #2fa342 !important;}

.mailcon svg{fill: var(--theme-icon-color, var(--theme-text-color)); transition: var(--theme-icon-transition, fill 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955));}

.mailcon:hover svg{fill: var(--theme-icon-hover-color, var(--theme-palette-color-2));}

body.tax-video_size .hero-section[data-type="type-2"], body.tax-video_category .hero-section[data-type="type-2"]{--container-padding: 15px 0 0 0px !important;}
body.tax-video_size .vidfilter, body.tax-video_category .vidfilter{margin-top:35px;}

/* Quiz Cat Grid */
.custom-quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.quiz-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.quiz-item:hover {
    transform: translateY(-5px);
}

.quiz-thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.quiz-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.quiz-title {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -25%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    width: 90%;
    max-width: 100%;
}

.quiz-title a {
    color: #fff;
    text-decoration: none;
}

.quiz-title a:hover {
	color:#2fa342;
}
/* Quiz Cat Grid */
.qch{margin-top:-30px;}
.qch h1{text-align:center; font-family: "Bree Serif", Sans-serif; font-size: 30px; text-transform: uppercase; color:#0fae5e;}
.qch .page-description{display:table !important; margin:0 auto; text-align:center;}

body.single-quiz .hero-section[data-type="type-1"]{margin-bottom: var(--margin-bottom, 20px) !important;}
body.single-quiz header h1.page-title{text-align:center; font-family: "Bree Serif", Sans-serif; font-size: 30px; text-transform: uppercase; color:#0fae5e;}
body.single-quiz header ul.entry-meta{display:none; visibility:hidden;}
body.single-quiz header.entry-header{margin-top:-30px;}
body.single-quiz .ays-quiz-wrap{ position:relative; z-index:1;}

@media (max-width: 768px) {
    .videos .page-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

/* ========== Tablet (768px - 1024px) ========== */
@media screen and (max-width: 1024px) {
  .videos {
    width: 100%;
    padding: 0 20px;
  }
  
  .video-list{margin:0 -13px !important;}
  
  .videos-16x9 .video-list{grid-template-columns: repeat(3, minmax(0, 1fr));}
  
  .videos-filtered .video-list,
  .videos-9x16 .video-list,
  .videos-1x1 .video-list,
  .videos-2x3 .video-list,
  .videos-4x5 .video-list,
  .byone .book-list-container .products{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vid-heading h2 {
    font-size: 22px;
  }

  .video-title {
    font-size: 14px;
  }

  .single-video-player iframe {
    height: 400px;
  }
  .play-button {
    width: 40px;
    height: 30px;
  }

  .play-button::before {
    left: 16px;
    top: 10px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid white;
  }
  .wpcr3_respond_2 textarea{min-width:inherit !important;}
  .wpcr3_table_2 td{display:block !important;}
}

/* ========== Mobile (Up to 767px) ========== */
@media screen and (max-width: 767px) {
   [data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
    --logo-max-height: 50px !important;
  }	
  .videos {
    width: 100%;
    padding: 0 15px;
  }
  
  .video-list{margin:0 -13px !important;}
  .videos-16x9 .video-list{grid-template-columns: repeat(2, minmax(0, 1fr));}
  
  .videos-filtered .video-list,
  .videos-9x16 .video-list,
  .videos-1x1 .video-list,
  .videos-2x3 .video-list,
  .videos-4x5 .video-list,
  .byone .book-list-container .products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .video-title {
    font-size: 13px;

  }

  .vid-heading h2 {
    font-size: 20px;
    text-align: center;
  }

  .vid-heading a {
    top: 0;
    display: block;
    text-align: center;
  }

  .single-video-player iframe {
    height: 250px;
  }

  .vidcol-50 {
    width: 100%;
    float: none;
  }

  .vhleft,
  .vhright {
    float: none;
    text-align: center;
  }

  .dropdown-container {
    flex-direction: column;
    align-items: stretch;
  }

  .dropdown-container select {
    width: 100%;
    min-width: unset;
  }

  .video-title {
    padding: 4px 0;
    font-size: 13px;
  }

  .single-video-title {
    font-size: 20px;
    text-align: center;
  }

  .single-video-title h1 {
    font-size: 18px;
  }

  .single-video-description {
    font-size: 14px;
    text-align: justify;
  }
  .play-button {
    width: 30px;
    height: 30px;
  }

  .play-button::before {
    left: 12px;
    top: 10px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid white;
  }
  
  .wpcr3_respond_2 textarea{min-width:inherit !important;}
  .wpcr3_table_2 td{display:block !important;}
}