/* Fullscreen Preloader */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

/* Juggling Container */
.juggling-container {
    display: flex;
    justify-content: space-between;
    width: 80px;
}

/* Juggling Balls */
.ball {
    width: 20px;
    height: 20px;
    background-color: #007bff;
    border-radius: 50%;
    animation: juggle 1s infinite ease-in-out;
}

/* Different animation delays for juggling effect */
.ball:nth-child(1) { animation-delay: 0s; }
.ball:nth-child(2) { animation-delay: 0.2s; }
.ball:nth-child(3) { animation-delay: 0.4s; }

/* Bouncing Juggling Animation */
@keyframes juggle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}



  .italic{
    font-style: italic;
}
.placeholder {
    display: none;
    height: 0;
}

.main-search .form-control-lg {
    min-height: calc(1.5em + 2rem + 2px);
    padding: 1rem 1.25rem;
    font-size: 1.25rem;
}

.main-search .form-control{
    border-radius: 0.5rem;
    border: none;
    outline: none;
}

.main-search .form-control:focus{
    outline: none;
    box-shadow: none;
    border: none;
}

/*#formHolder{*/
/*    background: url(../img/bg-masthead.jpg) no-repeat center center;*/
/*}*/

.main-search {
    padding: 0.5rem 0.75rem;
    border: 1px solid gray;
    background: #fff;
    transition: all 0.3s ease;
}

.animation-transform{
    transition: transform .3s;
}

.fixed {
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.jumbotron.top-alined{
    padding: 0.3rem 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .jumbotron.top-alined{
        padding: 1rem;
    }
}

.jumbotron.top-alined .main-search{
    padding: 0 1.25rem;
}
.jumbotron.top-alined .heading-search-text{
    display: none;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0056b3;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.category-tile .card-img-top{
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


.grid-gallery {
    display: flex;
    flex-wrap: wrap;
    line-height: 0;
    margin: 0 3px;
}

.grid-gallery .imageItem-Vertical {
    width: 20%;
    flex-grow: 66.667;
    margin: 3px;
    position: relative;
}

.grid-gallery .imageItem-Horizontal {
    width: 40%;
    flex-grow: 150;
    margin: 3px;
    position: relative;
}

.grid-gallery img {
    cursor: pointer;
    transition: all .5s;
    width: 100%;
}

/*footer{*/
/*    background: #0c5460;*/
/*}*/

.search-result-count{
    display: none;
}

footer .contact{
    position: relative;
    bottom: 10px;
}

/*
/* Custom top nav
 */
.top-nav-icon{
    font-size: 1rem!important;
}

