/* Project page */
#content {
    padding: 30px 10px 10px;
}

.pagination-mobile {
    display: block;
}

.pagination-desktop {
    display: none;
}

.pagination-container {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

#pagination {
    list-style: none;
    margin: 0;
    padding: 0;
}

#pagination > li {
    display: inline-block;
    vertical-align: middle;
    font-family: 'omnes-pro', sans-serif;
    line-height: 14px;
}

#pagination.pagination-desktop > li {
    color: #0009CDE;
}

#pagination.pagination-mobile > li > a {
    height: 40px;
    width: 40px;
    display: block;
}

#pagination.pagination-mobile > li:not(:first-child) {
    margin-left: 10px;
}

#pagination.pagination-mobile > li#previous > a {
    background-image: url("/assets/pagination-previous.svg");
}

#pagination.pagination-mobile > li#gallery > a {
    background-image: url("/assets/gallery-icon.svg");
}

#pagination.pagination-mobile > li#next > a {
    background-image: url("/assets/pagination-next.svg");
}

#pagination.pagination-mobile > li#previous > a:hover,
#pagination.pagination-mobile > li#previous > a:focus,
#pagination.pagination-mobile > li#previous > a:active {
    background-image: url("/assets/previous-tap.svg");
}

#pagination.pagination-mobile > li#gallery > a:hover,
#pagination.pagination-mobile > li#gallery > a:focus,
#pagination.pagination-mobile > li#gallery > a:active {
    background-image: url("/assets/gallery-tap.svg");
}

#pagination.pagination-mobile > li#next > a:hover,
#pagination.pagination-mobile > li#next > a:focus,
#pagination.pagination-mobile > li#next > a:active {
    background-image: url("/assets/next-tap.svg");
}

#pagination.pagination-desktop > li#gallery > a {
    height: 15px;
    width: 15px;
    display: block;
    background-image: url("/assets/gallery.svg");
}

#pagination.pagination-desktop > li#gallery > a:hover,
#pagination.pagination-desktop > li#gallery > a:focus,
#pagination.pagination-desktop > li#gallery > a:active {
    background-image: url("/assets/gallery-hover.svg");
}

.pagination-divider {
    color: #CCCCCC;
    margin: 0 10px;
}

#project-title {
    text-align: center;
    font-size: 30px;
    line-height: 38px;
    margin: 0;
}

#project-subtitle {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 20px;
}

#project-subtitle > .category {
    font-weight: 600;
}

.project-section, .credits-section {
    padding-top: 20px;
}

.project-section:not(:last-of-type) {
    border-bottom: 1px solid #DDDDDD;
}

.image-title, .credits-title {
    font-family: 'omnes-pro', sans-serif;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    margin: 0;
}

.image-text {
    font-family: 'omnes-pro', sans-serif;
    font-size: 14px;
    line-height: 22px;
}

.image-title + .image-text {
    margin-top: 2px;
}

.project-image {
    margin: 10px 0 20px;
}

.project-image > img {
    width: 100%;
}

.project-image.border > img {
    border: 1px solid #DDDDDD;
}

.credits-section {
    border-top: 1px solid #DDDDDD;
}

.credits-block {
    margin-top: 5px;
    margin-bottom: 40px;
}

.credits-text {
    font-size: 16px;
    line-height: 24px;
}

.credits-text > .name {
    font-weight: 600;
}

#overlay {
    display: block;
}

.blurred {
    -webkit-filter: blur(30px);
    -moz-filter: blur(30px);
    -o-filter: blur(30px);
    -ms-filter: blur(30px);
    filter: blur(30px);
    position: relative;
    width: 100%;
    padding-top: 75%;
    margin: 50px 0;
}

.blurred img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

#password-pagination {
    padding-top: 20px;
    width: 100%;
}

#password-pagination a.border-button {
    display: block;
    background-color: transparent;
    color: white;
    border-radius: 2px;
    border: 1px solid #FFFFFF;
    padding: 14px 22px;
    font-family: 'omnes-pro', sans-serif;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    margin-bottom: 20px;
}

#password-pagination a.border-button:hover {
    border-color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

/* For phone only */
@media (max-width: 320px) { }

/* For tablet up */
@media (min-width: 768px) {
    #content { padding: 40px 20px 10px; }
    #project-title, #project-subtitle { text-align: left; }
    #pagination-top { float: right; margin: 0; }
    #password-pagination { display: flex; flex-wrap: nowrap; }
    #password-pagination a.border-button { flex-grow: 1; flex-shrink: 1; flex-basis: calc(50% - 10px); }
    #password-pagination a.border-button:first-child { margin-left: 10px; order: 1; }
    #password-pagination a.border-button:last-child { margin-right: 10px; }
}

/* For desktop up */
@media (min-width: 1024px) {
    #content { padding: 60px 20px 26px; }
    .pagination-mobile { display: none; }
    .pagination-desktop { display: block; }
    .project-section, .credits-section { padding-top: 40px; }
    .image-title + .image-text { margin-top: 5px; }
    .project-image { margin: 20px 0 40px; }
}

/* For big desktop up */
@media (min-width: 1440px) {
    #content { padding: 60px 80px 26px; }
}
