﻿.image-input {
    line-height: 1;
}

.pointerCursor {
    cursor: pointer;
}

.swal2-icon-content i {
    font-size: 20px;
}

.ltr-dir {
    direction: ltr !important;
}

.loading-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(239, 239, 239, 0.5);
    z-index: 1000;
}

.loading-overlay .spinner-div {
    height: 100%;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu button::after {
    /*transform: rotate(-90deg);*/
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.spaced-letters {
    letter-spacing: 2px;
}

.min-height-100p {
    min-height: 100px;
}

.min-height-400p {
    min-height: 400px;
}

.min-height-500p {
    min-height: 500px;
}

.category-image-container {
    height: 100px;
    background-color: #fff;
    overflow: hidden;
    padding:10px;
}

.category-image-container img {
    max-height: 100px;
    max-width: 100%;
    width: auto;
}

.item-image-container {
    height: 200px;
    background-color: #efefef;
    overflow: hidden;
}

.item-image-container img {
    max-height: 200px;
    max-width: 100%;
    width: auto;
}

.item-image-container-small {
    height: 110px;
    background-color: #efefef;
    overflow: hidden;
}

.item-image-container-small img {
    max-height: 110px;
    max-width: 100%;
    width: auto;
}

/* Make sticky sidebar have some top padding */
.item-detail-sidebar, .blog-post-sidebar {
    top: 120px;
    z-index: 0;
}

.share-icon {
    min-width: 25px;
    min-height: 25px;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid black;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f00;
}

.arrow-right {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid green;
}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid blue;
}

.price-slider.ui-corner-all,
.price-slider .ui-corner-all {
    border-radius: 0;
}

.price-slider.ui-slider {
    border: 0;
    background: #dee2e6;
    border-radius: 7px;
}

.price-slider.ui-slider-horizontal {
    height: 6px;
}

.price-slider.ui-slider-vertical {
    height: 15em;
    width: 6px;
}

.price-slider .ui-slider-handle {
    width: 20px;
    height: 20px;
    background: #0d6efd;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.price-slider.ui-slider-horizontal .ui-slider-handle {
    top: 50%;
    margin-top: -10px;
}

.price-slider.ui-slider-vertical .ui-slider-handle {
    left: 50%;
    margin-left: -10px;
}

.price-slider .ui-slider-handle:hover {
    opacity: .8;
}

.price-slider .ui-slider-range {
    border: 0;
    border-radius: 7;
    background: #0d6efd;
}

.price-slider.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 6px;
}

.price-slider.ui-slider-vertical .ui-slider-range {
    left: 0;
    width: 6px;
}

/* For Menu Items Spacing */
@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 1.2rem;
        padding-left: 0;
    }
}

.nav-link-icon{
    margin-right: 0;
}

/* For Styling the button on input groups */
/*.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    padding: 10px
}*/

/* For Image Slider */
.item_pictures .mainSlider {
    width: 100%;
    min-height: 400px;
    max-height: 400px;
    margin-left: auto;
    margin-right: auto;
}

.item_pictures .mainSlider .swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.item_pictures .mainSlider .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

#ItemPicturesModal .mainSlider {
    width: 100%;
    height: 75vh;
    margin-left: auto;
    margin-right: auto;
}

#ItemPicturesModal .mainSlider .swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    object-fit: cover;
}

#ItemPicturesModal .mainSlider .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.thumbsSlider {
    box-sizing: border-box;
    height: 55px;
}

.thumbsSlider .swiper-slide {
    opacity: 0.4;
    text-align: center;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.thumbsSlider .swiper-slide img {
    cursor: pointer;
    max-height: 50px;
}

.thumbsSlider .swiper-slide-thumb-active {
    opacity: 1;
}

/* Make Fonts Bold above Tabs */
.nav-tabs .nav-link{
    font-weight: bold;

}

/* Delete button on image */
.image-delete-icon {
    right: 0;
    z-index: 1;
    top: 0;
    position: absolute;
}

/* edit button on image */
.image-edit-button {
    z-index: 1;
    width: 50px;
    height: 50px;
    right: 10px;
    bottom: 10px;
    position: absolute;
    border: 0 !important;
    border-radius: 50% !important;
    font-size: 20px;
}

/* Hide Suggestion Messages of Select2 */
.select2-results__option.select2-results__message:empty, .select2-results__option.loading-results {
    display: none;
}

/*Add some margin to Select2 input */
.select2-search__field {
    margin-bottom: 4px;
}

/* remove margin from the last element in item and blog post descriptions */
.post-description > *:last-child, .item_description > *:last-child {
    margin-bottom: 0px !important;
}

/* put the ribbon on cards a bit low */
.ribbon{
    top: 1.7rem;
}

/* make text blink */
.blinkit {
    animation: blinkingText 1.2s infinite;
}

@keyframes blinkingText {
    0% {
        color: #fff;
    }
    49% {
        color: #fff;
    }
    60% {
        color: transparent;
    }
    99% {
        color: transparent;
    }
    100% {
        color: #fff;
    }
}

/* to fix Tooltips flickering in certain conditions because of mouse events */
.tooltip {
    pointer-events: none;
}

/* Dark Mode Button */
#DarkModeButton {
    height: 50px;
    width: 50px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    border-radius: 50%;
    border: 1px solid #656d77;   
    font-size: 18px;
    z-index: 999;
    background-color:aliceblue;
}

/* Back to Top Button */
#BackToTopButton {
    height: 50px;
    width: 50px;
    position: fixed;
    bottom: 80px;
    right: 20px;
    color: #656d77;
    border-radius: 50%;
    border: 1px solid #656d77;
    font-size: 18px;
    display: none;
    z-index: 999;
    background-color: aliceblue;
}

/* Paddin in Mobile View for Navbar */
.mobile-navbar .navbar-nav .nav-link {
    padding: 0.5rem;
    justify-content: flex-start;
}

/* Modal Title length to accomodate close button */
.modal-title {
    max-width: 95%;
}

/* button borders */
[class*="btn-outline-"] {
    border-color: rgba(101,109,119,.16);
    background-color: transparent;
}

/* images count pagination text styling */
.swiper-pagination {
    color: #fff;
    text-shadow: 1px 1px #000;
}

/* disable underline on mainlogo when mouse hover */
.main-logo:hover {
    text-decoration: none;
}

/* Logo Height correction */
.navbar-brand-image {
    height: 3rem;
}

.list-group-item.active {
    color: #fff;
    background-color: #206bc4;
    border-color: #206bc4;
}