﻿@charset "UTF-8";
/*
Description:    Style Sheet for gallery of photoshow at siquijorcasa.com
Author:         W3 schools, http://www.w3schools.com/css/tryit.asp?filename=trycss_image_gallery_responsive_js 
Modified:       AWB
*/
/* ********************************************************************************************* */ 

/* The Image Box */
div.img {
    /*border: 1px solid #ccc;*/
    /*box-sizing:border-box;  /*wb, 02June2016: is to be set here instead of */
}

div.img:hover {
    /*border: 1px solid #777;*/
}

/* The Image */
div.img img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* Description of Image */
div.desc {
    padding: 15px;
    text-align: center;
    display:none;
}

/* wb, 01 Jun 2016: When this is on the menu buttons int the header are very small ! 
* {
    box-sizing: border-box;
}
*/

/* Add Responsiveness */
.responsive {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 0px; /* 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.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    display: block;
    width: 80%;
}


/* Caption of Modal Image */

#caption {
  color: #ccc;
  display: block;
  height: auto;
  margin: auto;
  max-width: 700px;
  /*padding: 10px 0;*/
  position: relative;
  text-align: center;
  top: 3%;
  width: 80%;
}

/* 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 {transform:scale(0)} 
    to {transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0.1)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
  color: #ED1C24;
  font-size: 3rem;
  font-weight: bold;
  position: absolute;
  right: 2%;
  top: 0;
  transition: all 0.3s ease 0s;
}


.close:hover,
.close:focus {
    color: #FFAEC9;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Columns */
/*@media only screen and (max-width: 700px){*/
@media only screen and (max-width: 1000px){
    .responsive {width: 49.99999%;margin: 6px 0;}
    .modal-content {width: 100%;}

}

/*@media only screen and (max-width: 500px){*/
@media only screen and (max-width: 640px){
    .responsive {width: 100%;}
}

/* Clear Floats */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}