/* =========================
   OJS Modern Compact Sidebar
   ========================= */

.pkp_structure_sidebar {
    padding-left: 15px;
}

.pkp_structure_sidebar .pkp_block {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.pkp_structure_sidebar .pkp_block + .pkp_block {
    margin-top: 0 !important;
}

.pkp_block .content,
.block_custom .content {
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_block .title {
    background: #86e50e;
    color: #444;
    text-align: center;
    font-weight: 700;
    padding: 10px;
    margin-bottom: 6px !important;
    border-radius: 4px;
}

.pkp_block img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2px auto !important;
    transition: .3s;
}

.pkp_block img:hover {
    transform: scale(1.02);
}

.block_custom {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding-bottom: 0 !important;
}

.block_custom p,
.block_custom div {
    margin-bottom: 0 !important;
}

.pkp_structure_sidebar .pkp_block:last-child {
    margin-bottom: 0 !important;
}

.pkp_structure_main {
    width: 72%;
}

.pkp_structure_sidebar {
    width: 28%;
}

@media (max-width: 768px) {
    .pkp_structure_main,
    .pkp_structure_sidebar {
        width: 100%;
    }

    .pkp_structure_sidebar {
        padding-left: 0;
    }
}
