html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.gallery__item {
    cursor: pointer;
}
.max-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
}
.ql-flex p {
    margin: 0;
}
.carousel-control-next-icon {
    background-image: url("/templates/common/img/slider-arrow.svg");
}

.carousel-control-prev-icon {
    background-image: url("/templates/common/img/slider-arrow-back.svg");
}
a.pobierz{
	background: url('/templates/mipro/statics/img/pobierz.png') left center no-repeat;
    	text-decoration: none;
    	height: 30px;
    	border: 0;
    	display: block;
    	margin: 0;
    	padding: 5px 0 0 30px;
}
.carousel-control-next, .carousel-control-prev {
    background-color: rgba(0, 0, 0, 0);
    transition: 0.3s;
}
.carousel-control-next:hover, .carousel-control-prev:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

a {
    color: #212528;
    text-decoration: none;
}
.img-product{
    object-fit: contain;
    width: 100%;
    aspect-ratio: 5/4;
    max-height: 300px;
}

.dropdown-menu {
    min-width: 200px;
}

.main-navbar__menuItems .btn-navbar:active {
    border: 0!important;
}

.carousel-indicators {
    position: relative;
    gap: 5px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.carousel-indicators [data-bs-target].active {
    background-color: rgba(255, 193, 14, 1);
}


.selected{
    
    width: 3px;
    height: 1rem;
    background: #01509F;
    position: absolute;
    right: 0;
    margin-top: -1rem;

}
#commonToast {
    visibility: hidden;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 300px;
    color: #fff;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 99999999;
    bottom: 30px;
    font-size: 17px;
    left: 50%;
    transform: translate(-50%, -50%);
    word-wrap: break-word;
    background-clip: border-box;
    background-color:#6cb80a8c;
    border: 1px solid #6cb80a;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 5px 0px rgb(249, 249, 250);
    box-shadow: 0px 0px 5px 0px rgb(161, 163, 164);
}
#commonToast.success {
    background-color: #6cb80a8c;
    border: 1px solid #6cb80a;
}
#commonToast.error {
    background-color: #d9382dbc;
    border: 1px solid #f44336;
}
#commonToast.info {
    background-color: #2196f38c;
    border: 1px solid #2196f3;
}
#commonToast.warning {
    background-color: #ff98008c;
    border: 1px solid #ff9800;
}

#commonToast.show {
    opacity: 1;
    visibility: visible;
    /* -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
     animation: fadein 0.5s, fadeout 0.5s 2.5s;*/
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}
#commonToast.hide {
    visibility: visible;
    -webkit-animation: fadeout 0.5s;
    animation: fadeout 0.5s;
}

/* Animacja wejścia */
@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}
#commonToastText{
    font-size: 0.8rem;
}

@media screen and (max-width: 991.98px) {
    #menu-mobile ul {
        list-style: none;
        padding: 0;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .mobile__side-menu__item a, .mobile__side-menu__item i {
        color: #525252;
    }

    .mobile__side-menu__item:hover, .mobile__side-menu__item.active {
        background-color: rgba(253,250,204, 0.7)!important;
        text-decoration: none;
    }

    .mobile__side-menu__item-link, .mobile__side-menu__item .btn-dropdown {
        padding: 8px 10px;
        display: block;
        font-size: 0.8rem;
    }

    .mobile__side-menu__item .btn-dropdown {
        width: 55px;
        text-align: center;
        border-left: 1px solid #ebebeb;
        border-radius: 0;
    }
}

@media screen and (max-width: 767.98px) {
    .mobile-menu {
        display: flex;
        flex-flow: wrap;
        max-width: 60%;
        margin-right: auto;
        margin-left: 20px;
    }

    .mobile-menu a {
        font-size: .7rem;
    }
}