@font-face {
    font-family: 'Philosopher';
    src: url('./fonts/Philosopher/Philosopher-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PT Serif';
    src: url('./fonts/PT_Serif/PTSerif-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.main .home-facet.language,.main .home-facet.format{
display:none;
}


li.theme-selector .dropdown-toggle{
color: white !important;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-size: 19px !important;
  padding-top: 3px;
  background-color: rgb(244, 187, 101);
  color: white;
  border-radius: 6px;
  padding: 8px 15px !important;
  margin-left: 10px;
  margin-top: 2px;
 }

.container{
	padding-right:0 !important;
	padding-left:0 !important;
}

.searchHomeContent{
    background-image: none;
    }
    
    .searchHomeContent::after{
    display: none;
    }
    
    body{
    	overflow-x: hidden;
    }
   #searchForm .active-filters{
/*	   display:none;*/
   }
   .template-name-home .active-filters {
    display: none !important;
}

header .container.navbar
{
	background-color:lightblue;
}
.searchHomeContent #searchForm{
display: flex;
  justify-content: center;
  }

.searchHomeContent .searchForm-inputs
  {
  background-color: white;
  border-radius: 8px;
  height: 45px;
  }

.searchHomeContent  .searchForm-query #searchForm_lookfor{
  height: 35px;
  border: none;
  }
.searchHomeContent #searchForm .searchForm_type
  {
  background-color: #F8F8FF;
  border: none;
 font-size: smaller;
  }
.searchHomeContent #searchForm button
  {
  height: 45px;
  padding: 0 50px;
  border-radius: 8px;
 border:none;
 background-color: rgb(244, 187, 101);
 font-size:16px;
}
.searchHomeContent #searchForm .advanced-search-link{
display: none;
  }

 .searchHomeContent .searchForm-query input{
min-width: 350px;
  max-width: 100%;
  }
@media (max-width: 440px) {
.searchHomeContent .searchForm-query input{
min-width: 100%;
}
}
@media(max-width:786px){
.bluediv{
padding: 65px 0 !important;
}
.search .hidden-print{
	margin-left:none;
}

  }
  


.search .hidden-print{
width: 100%;
margin: 8px 15px;
}
.search .searchForm{
width: 100%;
}

.search .searchForm-inputs{
display: flex;
  gap: 5px;
}

.search .searchForm-query{
flex-grow: 1;}

.search .searchForm_lookfor{
width:100%;
}

.search .searchForm_type{
max-width:150px;
}
 .search .form-control {
    max-width: 5000px;
  }
@media (max-width: 600px){
 .search .searchForm-inputs{
 flex-wrap:wrap;
 justify-content: center;
 align-items:center;
 }
 
.search .searchForm_type{
max-width:100%;
}
.serach .hidden-print button{
width:100% !important;
}
}


.bluediv.content-section{ padding-top: 0 !important }


.footer-column li a{color:#002366}

   .bluediv .advanced-search-link { 
   text-align: null;
  width: auto;
  display: inline;
  color: aliceblue !important;
  font-size: large !important;
 }

/*.search .hidden-print{
margin-left: 26%;
}*/	
  @media (max-width: 768px) {
    .advanced-search-link {
        display: block !important;
        text-align: center;
        width: 100%;
    }
}
    
    
    /* Custom Styling */
    
    
    /* General Navbar Styling */
    .navbar {
        height: fit-content;
        padding: 10px;
        background-color: white;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 10;
       
    }
    
    /* First Navbar Bottom Border */
    .nav1 {
        border-bottom: 1px solid #ddd; /* Light grey horizontal line */
        padding-bottom: 0px;
    }
    
    /* Logo Styling */
    .logo {
        padding: 10px;
    
    }
    
    /* Navbar Buttons */
    .navbuttons img {
        height: 20px;
        width: 20px;
    }
    .nav2{
        min-height: 3.5rem;
    
    }
    
    /* Responsive Navbar */
    @media (max-width: 900px) {
        .navbar-collapse {
            text-align: center;
        }
    
        .navbar-nav {
            flex-direction: column;
            align-items: center;
        }
    
        .navbar-nav li {
            width: 100%;
            margin-bottom: 5px;
            font-family: pt serif;
            font-size: smaller;
        }
    
        h5 {
            width: 100%;
            text-align: center;
    
        }
    
        .navbuttons, .btn {
            width: auto;
            text-align: center;
        }
    
        /* Navbar Toggler Button */
        .navbar-toggler {
            position: absolute;
            right: 15px;
            top: 5px;
            z-index: 11;
    
        }
    
   
    
        /* Ensure Navbar Doesn't Overlap */
        .navbar-collapse {
            margin-top: 10px;
        }
    
    
    
    }
    
    
    
    .bluediv{
    /*    background-color: #2D396F;*/
	background-color: #990000;    
        color: #ffffff;
        padding-bottom: 30px;
        text-align: center;
        position: relative;
    }
    .search-container h4 {
        color: #f4bb65;
      font-size:2.1rem;
        margin-bottom: 2rem;
        font-family: philosopher;
    
    }
    
    h4 span{
        color: #ffffff;
    }
    .search-container p {
        color: #2D396F;
        font-size: 14px;
        margin-bottom: 20px;
    
    }
    .search-bar {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .search-bar select
    {
        margin-right: 2px;
    
        background-color: #e3e3e3;
    }
    
    .searchbtn
    {
        background-color: #f4bb65;
        border:10px;
        margin-left: 2px;
    }
    p{
        font-family: pt-serif;
    }
    
    h2
    {
        font-size:40px ;
    }
    .content-section {
    /*    background-color: #2D396F;*/
	background-color: #990000;    
        color: #fff;
        min-height: 40vh;
        height: auto;;
        overflow: visible;
    }
    .content-section h2 {
        color: #f4bb65;
        font-weight: bold;
        font-size: 40px;
        margin-bottom: 20px;
    }
    .content-section p {
        color: #ffffff;
        margin-top: 40px;
    }
    
    .readimgdiv{
        margin-bottom: -16rem;
        overflow: visible;
        overflow-y: visible;
        z-index: 2;
        position: relative;
    }
    .bookimg
    {height:10rem;
    width:7rem;
    margin-top: 30px;
    }
    
    .welcome-section {
        padding: 12rem 0;
        background-color: #fff;
        position: relative;
        margin-bottom: 0px;
        padding-bottom: 5rem;
    }
    .welcome-section h2 {
        font-weight: bold;
        color: #002366;
    }
    .welcome-section h4 {
        color: #f4bb65;
    }
    
    .image-overlay {
        position: absolute;
        top: 7px;
        left: 220px;
       height: fit-content;
       width: 32rem;
       margin: -60px;
        border-radius: 15px;
        border: 5px solid#f4bb65;
        z-index: 1;
    }
    .image-overlay img {
        opacity: 0.9;
        object-fit: cover;
    }
    
    .bottomimg img{
        height: 43rem;
        width:31rem;
        opacity: 0.5;
        border: 5px solid #f4bb65;
        margin-left: -11px;
    }
    
     .animatecontainer {
        position: relative;
        width: 150px;
        height: 150px;
    }
    .circle {
        width: 100px;
        height: 100px;
        background-color: #f57c00;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .circle img {
        width: 50px;
        height: 50px;
    }
    .hearts {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    .heart {
        position: absolute;
        width: auto;
        line-height: 1;
        left: 6px;
        top: 40px;
        visibility: visible;
        animation: flyHearts 3s ease-in-out infinite;
        opacity: 0;
    }
    
    .heart:nth-child(1) {
        top: 20px;
        left: 7px;
        animation-delay: 1s;
    }
    .heart:nth-child(2) {
        top: 1px;
        left: -4px;
        animation-delay: 0.3s;
    }
    @keyframes flyHearts {
        0% {
            transform: translate(0, 0) rotate(0) scale(1);
            opacity: 1;
        }
    
        50% {
            transform: translate(0px, -40px) rotate(-30deg) scale(0.6);
            opacity: 0.7;
        }
        100% {
            transform: translate(20px, -40px) rotate(40deg) scale(0.8);
            opacity: 0;
    
        }
    }
    .caption-container {
        text-align: center;
        margin-top: 8.5rem;
        font-size: 16px;
    }
    .caption-container h5 {
        font-size: 20px;
        font-weight: bold;
    }
    .caption-container p {
        font-size: 14px;
        color: #555;
    }
    
    .footer p{
    
        text-align: left;
       font-size: xx-large;
       font-family: "Philosopher";
    }

    @media (max-width: 768px) {
 .footer p{
font-size:28px;
}
    }
    
    .ftr {
       /* background-image: url('https://img.freepik.com/free-photo/male-teenager-leaning-bookcase-reading_23-2147864065.jpg?t=st=1738439934~exp=1738443534~hmac=22b67e7d12681d7f1cbd34c257ff160e131ffcd194701e6920a9f9f5ee0323ca&amp;w=1380');*/
        background-size: cover;
        background-position: center;

        background-blend-mode: overlay;
        height: auto;
        }
    
.language .dropdown-toggle::after{
	display:none;
}









/*new arrivals*/

.bookimg {
    height: 200px;
    width: auto;
    margin-right: 0px; /* This ensures no space on the right */
  }

  .carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
  }

  .carousel-image {
    flex: 1 0 16.66%;
    max-width: 33.33%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #cdcdcd; /* Dark color */
    color: black;
    border: none;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
  }

  .carousel-btn:hover {
    background: #555;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  @media (max-width: 800px) {
    .carousel-image {
      flex: 1 0 100%;
      max-width: 100%;
    }
  }


/* footer New section*/
#ftrsection.footer-section {
    /*  background: url('https://img.freepik.com/free-photo/male-teenager-leaning-bookcase-reading_23-2147864065.jpg?t=st=1738439934~exp=1738443534~hmac=22b67e7d12681d7f1cbd34c257ff160e131ffcd194701e6920a9f9f5ee0323ca&amp;w=1380') no-repeat center center;*/
     background: url('/themes/sandal5/images/mainpageimg.jpg') no-repeat center center;
      background-size: cover;
      color: white;
      height: fit-content;
      position: relative;
    }
 #ftrsection .overlay {
      background-color: rgba(0, 0, 0, 0.6);
      padding: 50px;
    }
   /* body {
      font-family: 'Philosopher', sans-serif;
         }*/
 #ftrsection h1 {
      color: #FFAA17;
      font-family: 'Philosopher', sans-serif;
      font-weight: 700;
      margin-bottom: 30px;
      text-align: center;
    }
  #ftrsection .nav-tabs {
      justify-content: center;
    }
  #ftrsection .nav-tabs .nav-link {
      color: white;
      font-size: 1.5rem;
      border: none;
      margin: 0 10px;
      transition: color 0.3s ease;
    }
   #ftrsection .nav-tabs .nav-link:hover,
  #ftrsection .nav-tabs .nav-link.active {
       color: #FFAA17;     
  }
  #ftrsection ul {
      list-style: none;
      padding: 0;
      text-align: center;
    }
   #ftrsection ul li {
      margin-bottom: 8px;
      font-size: 1rem;
      text-align: left;
      list-style:disc;
    }
    
  #ftrsection ul a{
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    }
   #ftrsection .two-column-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
  #ftrsection .three-column-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
  #ftrsection  .hidden-links {
      display: none;
    }
  #ftrsection  .show-links {
      display: block;
    }
  #ftrsection  .view-more-btn {
      margin: 20px auto;
      display: block;
      background-color: #FFAA17;
      color: white;
      border: none;
      padding: 10px 20px;
      font-size: 1rem;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
  #ftrsection .view-more-btn:hover {
      background-color: #f8d47e;
    }
    @media (max-width: 576px) {
      #ftrsection .two-column-list,
     #ftrsection .three-column-list {
        grid-template-columns: 1fr;
      }
    }

@media (max-width: 576px) {
#ftrsection .two-column-list,
#ftrsection .three-column-list {
    grid-template-columns: 1fr;
    gap: 5px; 

  }

  html{overflow-x: auto !important;}
}

:root{overflow-x: auto !important;}

.searchForm-inputs .form-select {display: initial;
  width: auto;}


