#works_s_img a {
color: #0071BB;
text-decoration: none;
}
#works_s_img a:hover {
color: #555;
}
#works_s_img ol,#works_s_img ul {
list-style: none;
}
#works_s_img {
    overflow: hidden;
    margin: 15px auto 20px;
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}
#works_s_img li:first-child {
    margin-left: 0;
}
#works_s_img li.nondisplay {
    display: none;
}
#works_s_img li {
    list-style: none;
    width:  calc(100% / 3 - 16px);
    margin-left: calc(14px * 3 / (3 - 1))
}
#works_s_img li a {
    display: block;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 70%;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
}
#works_s_img li:nth-child(3) {
    background: black;
}
#works_s_img li:nth-child(3) a {
    opacity: 0.5;
}
#works_s_img li:nth-child(3):after {
    opacity: 1;
    content: attr(data-photo-num);
    color: white;
    position: relative;
    float: right;
    left: -10px;
    bottom: 20px;
    font-size: 170%;
    line-height: 0%;
    text-align: right;
    z-index: 1000;
}

#cboxOverlay {
    background: black;
    opacity: 0.85;
    cursor: pointer;
    visibility: visible;
    display: block;
}
#colorbox {
    outline: 0;
}
#cboxTopLeft,
#cboxTopCenter,
#cboxTopRight,
#cboxMiddleLeft,
#cboxMiddleRight,
#cboxBottomLeft,
#cboxBottomCenter,
#cboxBottomRight {
    width: 0px;
    height: 0px;
    background: inherit;
}
#cboxCurrent {
    position: absolute;
    bottom: -22px;
    /* top: -22px; */
    right: 205px;
    text-indent: -9999px;
}
#cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    /* top: -20px; */
    background: url(images/controls.png) no-repeat 0 0;
    background-position: -50px -25px;
    right: 5px;
}
#cboxClose:hover {
    background-position: -50px -25px;
}
#cboxContent {
    margin-top: 0;
    /* margin-top: 32px; */
    margin-bottom: 32px;
    overflow: hidden;
     background: inherit;
    text-align: center;
}
#cboxPrevious,
#cboxNext {
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    overflow: hidden;
    text-indent: -9999px;
    bottom: 0;
    width: 50%;
    height: 100%;
    left: inherit;
    right: inherit;
    -webkit-transition: inherit;
    transition: inherit;
}

#cboxPrevious {
    left: 0;
}
#cboxPrevious:hover {
    background: url(images/previous.png) no-repeat center left !important;
}
#cboxNext {
    right: 0;
}
#cboxNext:hover {
    background: url(images/next.png) no-repeat 99.7% center !important;
}
