﻿#Project .copy {
    float: right;
    width: 50%;
    padding-left: 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
    #Project .copy p {
        padding-bottom: 20px;
        font-size: 14px;
        line-height: 24px;
        color: #000;
        font-family: Montserrat, Arial;
        font-weight: normal;
    }
    #Project .copy .details {
        padding-bottom: 40px;
        margin-bottom: 40px;
        border-bottom: 1px solid #dedede;
        overflow: hidden;
    }
        #Project .copy .details ul {
            list-style-type: none;
        }
            #Project .copy .details ul li {
                float: left;
                width: 50%;
                white-space: nowrap;
                font-size: 14px;
                line-height: 24px;
                color: #000;
                font-family: Montserrat, Arial;
                font-weight: normal;
                overflow: hidden;
            }
    #Project .copy .videos {
        overflow: hidden;
    }
        #Project .copy .videos video {
            width: 100%;
            margin-bottom: 20px;
            background-color: #000;
        }

@media(max-width:1160px) {
    #Project .copy .details ul li {
        float: none;
        width: auto;
    }
}
@media(max-width:940px) {
    #Project .copy {
        float: none;
        width: auto;
        padding-left: 0px;
    }
}

#Project .gallery {
    float: left;
    width: 50%;
    padding-right: 40px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
    #Project .gallery ul {
        list-style-type: none;
        margin-left: -2px;
        margin-right: -2px;
        overflow: hidden;
    }
        #Project .gallery ul li {
            float: left;
            width: 50%;
            padding: 0px 2px 4px 2px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }
            #Project .gallery ul li div {
                position: relative;
                width: 100%;
                height: 0px;
                padding-bottom: 60%;
                overflow: hidden;
            }
                #Project .gallery ul li div a {
                    position: absolute;
                    top: 0px;
                    bottom: 0px;
                    left: 0px;
                    right: 0px;
                    background-color: #000;
                    background-size: cover;
                    background-position: center center;
                    overflow: hidden;
                }
                #Project .gallery ul li div span.look {
                    display: none;
                    position: absolute;
                    top: 0px;
                    bottom: 0px;
                    left: 0px;
                    width: 100%;
                    background-color: #000;
                    background-color: rgba(0,0,0,.5);
                    background-image: url(/images/icons/icon-binoculars.svg);
                    background-size: 50px 50px;
                    background-position: center center;
                    background-repeat: no-repeat;
                }

@media(pointer: fine) {
    #Project .gallery ul li {
        -webkit-transition: width 300ms;
        -moz-transition: width 300ms;
        -o-transition: width 300ms;
        -ms-transition: width 300ms;
        transition: width 300ms;
    }
        #Project .gallery ul li div a {
            -webkit-transition: top 300ms, bottom 300ms, left 300ms, right 300ms;
            -moz-transition: top 300ms, bottom 300ms, left 300ms, right 300ms;
            -o-transition: top 300ms, bottom 300ms, left 300ms, right 300ms;
            -ms-transition: top 300ms, bottom 300ms, left 300ms, right 300ms;
            transition: top 300ms, bottom 300ms, left 300ms, right 300ms;
        }
        #Project .gallery ul li div:hover a {
            top: -30px;
            bottom: -30px;
            left: -30px;
            right: -30px;
        }
        #Project .gallery ul li div span.look {
            display: block;
            opacity: 0;
            -webkit-transition: opacity 300ms;
            -moz-transition: opacity 300ms;
            -o-transition: opacity 300ms;
            -ms-transition: opacity 300ms;
            transition: opacity 300ms;
        }
        #Project .gallery ul li div:hover span.look {
            opacity: 1;
            -webkit-transition: opacity 300ms;
            -moz-transition: opacity 300ms;
            -o-transition: opacity 300ms;
            -ms-transition: opacity 300ms;
            transition: opacity 300ms;
        }
}
@media(max-width:940px) {
    #Project .gallery {
        float: none;
        width: auto;
        padding-right: 0px;
    }
}
@media(max-width:640px) {
    #Project .gallery ul li {
        float: none;
        width: auto;
    }
}

#Viewer {
    z-index: 120;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(0,0,0,.8);
    background-image: url(/images/common/ajax-loader-black.gif);
    background-repeat: no-repeat;
    background-position: center center;
}
    #Viewer .image {
        position: absolute;
        top: 20px;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        overflow: hidden;
    }
    #Viewer .descr {
        position: absolute;
        bottom: 0px;
        left: 80px;
        right: 80px;
        height: 24px;
        font-size: 14px;
        line-height: 24px;
        color: #ffffff;
        font-family: Montserrat, Arial;
        font-weight: normal;
        text-align: center;
        text-shadow: 0px 0px 2px #000;
        overflow: hidden;
    }
    #Viewer #Viewer-Previous {
        display: block;
        position: absolute;
        top: 50%;
        left: 0px;
        width: 54px;
        height: 54px;
        margin-top: -27px;
        background-image: url(/images/common/left-arrow-2-white.svg);
        background-size: 24px 24px;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: rgba(0,0,0,.3);
        overflow: hidden;
        cursor: pointer;
    }
    #Viewer #Viewer-Next {
        display: block;
        position: absolute;
        top: 50%;
        right: 0px;
        width: 54px;
        height: 54px;
        margin-top: -27px;
        background-image: url(/images/common/right-arrow-2-white.svg);
        background-size: 24px 24px;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: rgba(0,0,0,.3);
        overflow: hidden;
        cursor: pointer;
    }
    #Viewer #Viewer-Close {
        display: block;
        position: absolute;
        top: 0px;
        right: 0px;
        width: 54px;
        height: 54px;
        background-image: url(/images/common/icon-close-x.svg);
        background-size: 24px 24px;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: rgba(0,0,0,.3);
        overflow: hidden;
        cursor: pointer;
    }

@media(pointer: fine) {
    #Viewer #Viewer-Previous,
    #Viewer #Viewer-Next,
    #Viewer #Viewer-Close {
        -webkit-transition: background-color 300ms, background-size 300ms;
        -moz-transition: background-color 300ms, background-size 300ms;
        -o-transition: background-color 300ms, background-size 300ms;
        -ms-transition: background-color 300ms, background-size 300ms;
        transition: background-color 300ms, background-size 300ms;
    }
        #Viewer #Viewer-Previous:hover,
        #Viewer #Viewer-Next:hover,
        #Viewer #Viewer-Close:hover {
            background-color: rgba(0,0,0,1);
            background-size: 36px 36px;
        }
}
