﻿.gallery-photos .main-photo {
    display: block;
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    width: 495px;
}

.gallery-photos .one-photo {
    display: block;
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    width: 495px;
    margin: 0 auto;
}

.gallery-photos .photo-thumbnails {
    float: right;
    width: 220px;
    height: 360px;
    overflow-y: auto;
    clear: right;
}

    .gallery-photos .photo-thumbnails.nocategories {
        height: 360px !important;
    }

    .gallery-photos .photo-thumbnails .thumbnail {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        cursor: pointer;
        padding: 7px;
        border-bottom: 1px solid #d9d9d9;
    }

        .gallery-photos .photo-thumbnails .thumbnail.current {
            opacity: 1;
            background-color: #f2f2f2;
        }

        .gallery-photos .photo-thumbnails .thumbnail .thumbnail-inner {
            height: 100%;
            overflow: hidden;
        }

.titleSpan {
    font-size: 12px;
    font-family: "Arial";
    color: #3e3e3e;
    font-weight: bold;
}

.descSpan {
    font-size: 11px;
    font-family: "Arial";
    color: #3e3e3e;
    padding-top: 5px;
    display: inline-block;
}

.spanTitle {
    font-size: 15px;
    font-family: "Arial";
    color: #ffffff;
    font-weight: bold;
}

.spanDesc {
    font-size: 12px;
    font-family: "Arial";
    color: #ffffff;
    padding-top: 8px;
    display: inline-block;
}

.divTitle {
    background-color: #b6b6b6;
    padding: 12px;
}


.divCategories {
    float: right;
    margin-bottom: 35px;
    width: 220px;
}

.magnify {
    position: relative;
    z-index: 1;
}

/*Lets create the magnifying glass*/
.large {
    width: 155px;
    height: 155px;
    position: absolute;
    border-radius: 100%;
    /*Multiple box shadows to achieve the glass effect*/
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 1), 0 0 7px 7px rgba(0, 0, 0, 0.25), inset 0 0 40px 2px rgba(0, 0, 0, 0.25);
    /*Lets load up the large image first*/
    background-repeat: no-repeat;
    /*hide the glass by default*/
    display: none;
}

/*To solve overlapbug at the edges during magnification*/

.small {
    display: block;
    width: 495px;
    height: 330px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1002; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    border: 1px solid white;
}

.inner-modal {
    position: relative;
    width: 852px;
    height: 568px;
    margin: 0 auto;
}

/* The Close Button */
.close {
    float: right;
    color: #f1f1f1;
    font-size: 40px;
    height: 40px;
}

    .close:hover,
    .close:focus {
        text-decoration: none;
        cursor: pointer;
    }

.divZoom {
    position: relative;
    background-color: #787878;
    width: 495px;
    height: 30px;
}

.imgZoom {
    margin-left: 25px;
    top: 4px;
    cursor: pointer;
    position: relative;
}

.zoomText {
    position: relative;
    color: #ffffff;
    font-size: 12px;
    font-family: "Arial";
    left: 137px;
    top: -3px;
}
