/* ***** PORTLET ****** */

.portlet {
    margin-bottom: 14px;
}

.portlet-content-photo a {
    display: block;
    border-radius: 0;
}

.portlet-content-photo-container img {
    display: block;
    object-fit: cover !important;
    max-width: 100%;
    border-radius: 0;
}

.portlet-content-subtitle,
.portlet-content-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 30px;
}

.portlet-content-desc {
    display: none;
}

.portlet .portlet-content-subtitle,
.portlet .portlet-content-desc {
    display: block;
}

.portlet-content-subtitle {
    padding-top: 7px;
    font-weight: bolder;
}

.portlet-content-desc {
    opacity: .7;
}

.portlet-content-gallery a {
    display: block;
    border-radius: 0;
}

.portlet-content-gallery-container {
    height: 150px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

.portlet-content-full-gallery {
    width: 140px;
    height: 140px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    margin-right: 7px;
    margin-bottom: 7px;
    display: inline-block;
}

.portlet-content-full-gallery img {
    display: block;
    object-fit: cover !important;
    border-radius: 0;
    max-width: initial !important;
    max-height: 100% !important;
}

.portlet-content-gallery-container img {
    display: block;
    object-fit: cover !important;
    max-width: 100%;
    border-radius: 0;
}

.portlet-content-gallery.fixed-width {}

.portlet img {
    min-width: initial !important;
    border-radius: 0;
}

.portlet-fixed-width-container {
    display: inline-block;
    width: 290px;
    margin-right: 14px;
    margin-bottom: 14px;
}

.portlet-content-desc {
    max-width: 600px;
}

.portlet-dokument-container {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 24px;
    border-collapse: collapse;
}

.portlet-dokument-nazev {
    display: table-cell;
    font-weight: bolder;
}

.portlet-table-border {
    border-bottom: 2px solid #f5f5f5;
    border-right: 2px solid #f5f5f5;
}

.portlet-cell-border {
    border-top: 2px solid #f5f5f5;
    border-left: 2px solid #f5f5f5;
    padding: 4px 7px;
}

.portlet-row-bg:hover {
    background-color: #f5f5f5;
}

.portlet-dokument-prop {
    display: table-cell;
    width: 50px;
    text-align: right;
}

.portlet-dokument-prop small span {
    text-transform: lowercase !important;
}

.portlet-content-formular,
.portlet-content-deska {
    margin-top: 14px;
}

.portlet-content-deska .portlet-dokument-prop {
    width: 72px;
}

.portlet-dokument-prop.portlet-wider-prop {
    width: 80px;
}

.portlet-content-deska .portlet-dokument-nazev {
    max-width: calc(100% - 151px);
}

.portlet-list-all .portlet-content-subtitle {
    margin-top: 14px;
}

.portlet-search-header {
    display: table;
    table-layout: fixed;
}

.portlet-search-col {
    display: table-cell;
    padding-right: 14px;
}

.portlet-w-160 {
    width: 160px;
}

.portlet_cancel_btn {
    height: 24px;
    line-height: 24px;
    padding: 0 14px;
    text-align: center;
    vertical-align: middle;
    background-color: #f5f5f5;
    cursor: pointer;
}

.search_by_cat {
    height: 24px;
}

.portlet-horizontal-spacer {
    width: 100%;
    display: table-cell;
}

.portlet-cat-prop {
    width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

@media (max-width: 698px) {
    .portlet-search-header {
        display: block;
    }
    .portlet-search-col {
        margin-bottom: 14px;
        display: inline-block;
    }
    .portlet-cat-prop {
        display: none;
    }
    .portlet-dokument-container .portlet-wider-prop:nth-child(4) {
        display: none;
    }
}

.no-break-btns {
    width: 110px;
}

.no-break-btns button {
    display: inline-block;
}

.portlet-cell-border small {
    white-space: nowrap;
}

.portlet-table-header {
    background-color: #f5f5f5;
    font-weight: bolder;
}

.portlet-sidebar-box {
    background-color: #f5f5f5;
    padding: 14px;
    margin-bottom: 14px;
}

.portlet-sidebar-title {
    font-weight: bolder;
    padding-bottom: 7px;
}

.portlet .info-th {
    font-weight: bolder;
}

.portlet .info-title {
    font-size: 14px;
}

.portlet .info-box {
    padding: 7px;
}

.portlet-subheader {
    font-weight: bolder;
    margin-top: 7px;
    margin-bottom: 4px;
}

.portlet-subcontent {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portlet-sidebar-box .portlet-content-photo img {
    max-height: 179px;
}

.portlet-content-photo-container.portlet-photo-align-center {
    text-align: center;
}

.portlet-content-photo-container.portlet-photo-align-center img {
    display: inline-block !important;
}

.portlet-content-photo-container.portlet-photo-align-right {
    text-align: right;
}

.portlet-content-photo-container.portlet-photo-align-right img {
    display: inline-block !important;
}

.portlet-sidebar-content .portlet-content-photo-container img {
    margin: 0 auto;
}