/**
 * Project Gallery Shared Styles
 * Used by: project-det.php, project-dett.php, project-dettt.php
 */

/* Accordion Filter Styles */
.accordionzz {
    background-color: #00003a;
    color: #fff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: center;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    font-weight: 700;
    border-radius: 15px;
}

.activezz,
.accordionzz:hover {
    background-color: #00003a;
    color: #08b7ee;
}

.accordionzz:after {
    content: '\002B';
    color: #fff;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.activezz:after {
    content: "\2212";
}

.panelzz {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* Official website pagination style */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    justify-content: center;
}

.pagination > li {
    display: inline;
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    margin-left: -1px;
    line-height: 1.42857143;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #767676;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 12px;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

/* Image gallery icon style */
.img-center-icon {
    width: 100%;
    padding-bottom: 70%;
    overflow: hidden;
    background-color: #e7e7e7;
}

.img-center-icon img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}
