/*
Theme Name: Samokov Museum Divi Child
Description: Child theme for the Historical Museum – Samokov website
Author: Ani Yoveva
Version: 1.0.0
Template: Divi
*/
/* Divi gallery lightbox - smaller window */

.mfp-image-holder .mfp-content {
    width: 75vw !important;
    max-width: 1100px !important;
}

.mfp-image-holder .mfp-content .mfp-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 40px 0 40px !important;
}
@media (max-width: 980px) {
    .mobile-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}
@media (max-width: 980px) {
    .et_pb_gallery_caption {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
/* Main menu colors */
#top-menu li.current-menu-item > a,
#top-menu li.current-menu-ancestor > a,
#top-menu-nav > ul > li > a:hover,
#top-menu li li a:hover {
    color: #bca274 !important;
}

/* Dropdown width */
#top-menu li li {
    padding: 0 10px;
}

#top-menu li ul {
    width: 240px;
}

#top-menu li li a {
    width: 220px;
}
.nav li ul {
    border-top-color: #bca274 !important;
}
.archive .dmach-posts-loop .grid-item,
.tax-collection .dmach-posts-loop .grid-item {
    align-self: start !important;
    height: auto !important;
}
h3.entry-title.de_title_module.dmach-post-title {
    font-size: 16px !important;
    line-height: 1.15em !important;
}
.et_pb_de_mach_filter_posts input[type="text"] {
    height: 38px !important;
    padding: 7px 10px !important;
}
.collection-filters button[type="submit"],
.collection-filters input[type="submit"],
.collection-filters .et_pb_button {
    display: none !important;
}
.collection-filters input[type="text"],
.collection-filters input[type="search"],
.collection-filters select {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}
.collection-filters select {
    height: 38px !important;
    background-color: #fff !important;
    border: 1px solid #bbb !important;
    padding: 7px 10px !important;
    box-sizing: border-box !important;
}
#footer-widgets .footer-widget li:before {
    border-color: #c8a45a !important;
}
/* Еднаква височина на изображенията в дигиталните колекции */
.et_pb_de_mach_archive_loop img {
    width: 100%;
    height: 320px;
    object-fit: contain;
}