﻿


/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


/*Страница дитали*/
.carousel-item img {
    height: 500px;
    object-fit: contain; /* вместо cover */
    background-color: #f0f0f0; /* фон для заполнения пустот */
    cursor: pointer;
}

.modal-carousel .carousel-item img {
    height: auto;
    max-height: 80vh;
    width: 100%;
    object-fit: contain;
}

.thumbnail-img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    margin: 2px;
    cursor: pointer;
    border: 2px solid transparent;
}

    .thumbnail-img:hover, .thumbnail-img.active {
        border-color: #007bff;
    }
/*Конец Страница дитали*/
