.sidebar {
    border: 1px solid #ccc2;
    padding: 10px 20px;
}
.sidebar .box {
    margin-bottom: 20px;
}
.sidebar .box .title {
    padding-bottom: 5px;
    border-bottom: 2px dotted white;
}
.sidebar ul,
.sidebar ol {
    padding-left: 0;
}
.mainHeader {
    margin-top: 20px;
}
.publication-title {
    background: linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -webkit-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -moz-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    color: white;
    padding: 10px 20px;
    font-size: 20px;
    text-decoration: none;
    box-shadow: none;
    border-color: none;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
}
.publication-title:hover {
    color: white;
}
.card {
    min-height: 200px;
}
.btn-theme.active,
.btn-search {
    background: linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -webkit-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -moz-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    color: white;
}
.btn-theme {
    color: white;
}
#grid .card {
    position: relative;
    min-height: 475px;
    max-height: 475px;
}
.card p {
    margin-bottom: 0;
}
#grid p.edition {
    position: absolute;
    top: 0;
    right: -17px;
    background: linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -webkit-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -moz-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    padding: 10px 0;
    transform: rotate(-0deg);
    writing-mode: vertical-lr;
    height: 100%;
}

.card-title {
    font-size: 18px;
    padding: 0 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.two-line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    padding-right: 10px;
    display: block;
}
.btn-primary {
    display: block;
}

#list .card-body {
    position: relative;
}
#list .edition {
    position: absolute;
    top: 0;
    padding: 10px 0;
    left: -1px;
    background: linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -webkit-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -moz-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    transform: rotate(-180deg);
    writing-mode: vertical-rl;
    height: 100%;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-color: #ee8219;
}

.load-more {
    margin-top: 10rem;
    margin: auto;
    text-align: center;
    padding: 5px 10px;
    display: block;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -webkit-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -moz-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    font-size: 12px;
}

.modal-content {
    background: linear-gradient(to right, #726dd0 0, #1c1878 33%, #1c1878 66%, #726dd0 100%);
}
.modal-body {
    word-wrap: break-word;
    color: white !important;
}
.modal-body .card-title {
    padding-bottom: 10px;
    padding-left: 0;
    border-bottom: 1px solid #ccc9;
}
.read-more {
    color: #ee8219 !important;
}
.btn-primary {
    margin-top: 20px;
}
.modal-header {
    color: white;
    background: linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -webkit-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
    background: -moz-linear-gradient(47deg, #ef4559 0, #ee8219 100%);
}
.fixed-sidebar {
    position: fixed;
    width: 20%;
    top: 25%;
    overflow-y: auto;
    height: 100vh;
}
@media (max-width: 767px) {
    .card-body {
        padding: 0 10px !important;
    }
    #list .edition {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    #grid p.edition {
        height: 50%;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
}
