body {
    background: #fff;
    width: 1130px;
    height: 100%;
    margin: 0 auto;
    font-family: "Lato";
    font-size: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility; 
}

.clear {
    clear: both;
}

.active {
    color: #9d9d9d !important;
}

#main-header {
    width: 100%;
    margin: 35px 0 35px 0;
}

#title {
    font-size: 34px;
    text-transform: uppercase;
    color: #000;
    font-weight: 300;
    line-height: 35px; 
    text-decoration: none;
    letter-spacing: 0.035em;
    word-spacing: 0.035em;
    float: left;
}

#title:hover {
    color: #9d9d9d;
}

#main-nav {
    float: right;
    margin-top: 17px;
}

#main-nav ul li {
   float: left;
   list-style: none;
}

#main-nav ul li a {
    color: #333333;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0 32px 0 0;
    font-size: 14px;
    font-weight: 400;
}

#main-nav ul li:last-child a {
    margin: 0;
}

#main-nav ul li a:hover {
    color: #9d9d9d;
}

#category {
    position: relative;
    margin-bottom: 30px !important;
    top: -5px;
    color: #a5a5a5;
    text-transform: uppercase;
    opacity: 0.99;
}

#category a {
    color: #a5a5a5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.99;
}

#category span {
    font-size: 14px;
    font-weight: 700;
    opacity: 0.99;
}

#main-content {
    width: 100%;
    height: 100%;
    position:relative;
    margin-bottom: 3em;
}

#albums {
    margin: 0 auto;
    position:relative;
    width: 100%;
}

.item {
    width: 275px;
    list-style: none;
    position: relative;
    margin-bottom: 10px;
}

.item a {
    width: 100%;
    max-height: 100%;
    display: block;
}

#albums .item img {
    width: 100%;
    max-height: 100%;
    display: block;
}

.item:hover > a .album-name {
    display: flex;
}

.album-name {
    position: absolute;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    color: #808080;
    text-transform: uppercase;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center; /* align horizontal */
    align-items: center; 
    text-align: center;
    padding: 0 66px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 400;
}

#loader {
    text-align: center;
    padding-top: 100px;
}

.column {
    width: 32.6%;
    float: left;
    margin:0 1% 0 0;
    text-transform: uppercase;
}

.column p {
    line-height: 20px;
    font-size: 12px;
}

.column p span {
    margin-bottom: 23px;
    display: block;
}

.column p span strong {
    color: #b1b1b1;
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
}

.column p, a {
    font-weight: 100;
}

.column a {
    color: black;
}

.column h3 {
    margin: 30px 0 20px 0;
    font-size: 14px;
}

#contact-column {
    border-top: 1px solid #dbdbdb;
}

#contact-column a:hover {
    text-decoration: none;
}

#references-column {
    border-top: 1px solid #dbdbdb;
}

#references-column p, #contact-column p {
    font-weight: 400;
}

#photo-column {
    margin: 0;
}

#photo-column img {
    max-width: 100%; 
    max-height: 100%; 
    display: block;
}

@media screen and (max-width: 1278px) and (min-width: 950px) {
    body {
        width: 848px;
    }
}

@media screen and (max-width: 949px) and (min-width: 600px) {
    
    body {
        width: 560px;
    }
    
    #category {
        text-align: center;
    }
    
    .column {
        width: 49%;
    }
}

@media screen and (max-width: 599px) {
    body {
        width: 285px;
    }
    
    #main-header {
        text-align: center;
    }
    
    #main-nav {
        width: 100%;
        float: none;
    }
    
    #main-nav ul {
        display: inline-block;
    }
    
    #main-nav ul li a {
        font-size: 8px;
        font-weight: 700;
        margin: 0;
    }
    
    #main-nav ul li:not(:last-child) a:after {
        content: "|";
        color: gray;
        margin: 0 2.5px 0 2.5px;
    }
    
    .column {
        width: 100%;
    }
}

@media screen and (min-width: 1599px) {
    body {
        width: 1415px;
    } 
}

@media screen and (max-width: 949px) {
    
    #main-header {
        width: 100%;
    }
    
    #title {
        position: relative;
        text-align: center;
        width: 100%;
        display: block;
        margin: 36px 0 30px 0;
    }
    
    #title:hover {
        color: inherit;
    }
    
    #main-nav {
        width: 100%;
        float: none;
        text-align: center;
    }
    
    #main-nav ul {
        display: inline-block;
    }

    #photo-column {
        display: none;
    }
    
    .item > .single-photo-link {
        pointer-events: none;
        cursor: default;
    }
    
    .item:hover > a .album-name {
        display: none;
    }
    
    #category {
        text-align: center;
    }

}