/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.03);
  }
}
.block-category .block-category-inner .category-cover picture {
  height: 320px;
  width: auto;
}
@media (max-width: 768px) {
  .block-category .block-category-inner .category-cover picture{
    height: auto;
  }
}

.breadcrumb {
  display: none;
}

.block-category.card-block {
  padding: 0;
}

.block-category h1 {
  display: none;
}

#category .container {
  width: 100%;
  padding: 0;
}

#category #wrapper {
  padding-top: 0;
}

#category #products {
  width: 1110px;
  margin: auto;
  color: #7a7a7a;
  background-color: #fff;
  padding: 24px;
}
@media (max-width: 768px) {
  #category #products{
   width: 100%;
  }
}

.block-category .block-category-inner .category-cover {
  width: 100%;
  height: 320px; /* Example fixed height */
  overflow: hidden; /* Ensures no part of the image spills outside the container */
  display: flex; /* Utilizes Flexbox for alignment */
  align-items: center; /* Centers the image vertically within the container */
  justify-content: center; /* Centers the image horizontally, if needed */
}

@media (max-width: 768px) {
  .block-category .block-category-inner .category-cover{
   height: auto;
  }
}


.block-category .block-category-inner .category-cover img {
  width: 100%;
  height: auto; /* Maintains aspect ratio */
  object-fit: cover; /* Ensures the image covers the container */
  object-position: center;
  animation-name: zoomIn; /* Reference the defined keyframes */
  animation-duration: 1s; /* Duration of the animation */
  animation-timing-function: ease-out; /* Smooth end */
  animation-fill-mode: forwards; /* Retain the final state */
}

#selectSchoolDrawer {
  background-color: #a71a24;
  color: #fff;
  position: fixed;
  right: 0;
  top: 200px;
  width: 250px;
  height: 220px;
  display: flex;
  flex-direction: row;
  z-index: 1000;
  right: -190px;
  transition: right 0.3s ease;
  overflow: hidden;
}
@media (max-width: 768px) {
  #selectSchoolDrawer{
    height: 63px!important;
  }
}

#selectSchoolDrawer:hover {
  right: -185px;
}

#selectSchoolDrawer a {
  color: #fff;
}

#selectSchoolDrawer .drawerHandle {
  width: 60px;
  padding: 20px;
  border-right: 1px solid #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  #selectSchoolDrawer .drawerHandle{
    padding: 20px 15px;
  }
}

#selectSchoolDrawer .drawerHandle span {
  writing-mode: vertical-rl;
  transform: scale(-1);
  text-transform: uppercase;
}

#selectSchoolDrawer #selectSchoolDrawerClose {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

#selectSchoolDrawer .drawerBody {
  padding: 20px;
}
@media (max-width: 768px) {
  .drawerHandle_title{
    display: none;
  }
}
.drawerHandle_icon{
  display: none;
}
@media (max-width: 768px) {
  .drawerHandle_icon{
    display: block;
    transform: none!important;
  }
}

@media (max-width: 768px) {
  .elementor-button.elementor-size-md{
    padding-left: 10px!important;
    padding-right: 10px!important;
  }
}

