﻿div.gallery {
    margin: 20px;
    border: 1px solid #ccc;
    float: left;
    width: 250px;
    height:350px;
    margin-left: 0px; 
    margin-right: 75px;
    box-shadow: rgba(0,0,0,0.3) 3px 3px;
}

    div.gallery center p {
        padding-top: 25px;
        font-size: 18px;
        font-weight: 600;
        font-family: 'Futura LT';
    }

    div.gallery button {
        width: 100%;
        height: 50px;
        background: none;
        border: 0;
        border-top: 1px solid #ccc;
        transition: all 0.25s;
    }

        div.gallery button:hover {
            background-color: rgba(231,238,234,1);
        }

div.gallerybakliyat {
    margin: 20px;
    border: 1px solid #ccc;
    float: left;
    width: 250px;
    height: 350px;
    margin-left: 0px;
    margin-right: 75px;
    box-shadow: rgba(0,0,0,0.3) 3px 3px;
}

div.gallery:hover {
    /*border: 1px solid #777;*/
}

div.gallery img {
    width: 80%;
    margin-left: 25px;
    height: auto;
}

div.gallerybakliyat img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
}

hr {
    height: 0.5px;
    background-color: rgba(0,0,0,0.4);
    position: relative;
    top: 40px;
}

.txt1 {
    position: relative;
    z-index: 1;
    bottom: 30px;
    left: 40%;
    font-size: 20px;
    color: rgba(0,0,0,0.6);
    background-color: white;
    width: 200px;
    text-align: center;
    top: 5px;
}

.txt2 {
    width: 75%;
    margin-left: 11%;
    font-size: 24px;
    font-family: 'Futura LT';
    text-align: center;
    background-image: url(../../Contents/Image/download.png);
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width:420px) {
    .txt1 {
        left: 20%;
    }
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: calc(100% - 25px); /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}