/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 16.02.2017, 22:48:16
    Author     : thb
*/

    /*
        .palbild:hover {
            -webkit-transform:scale(1.2);
            transform:scale(1.2);
        }
        .palbild {
            -webkit-transition: all 0.7s ease;
            transition: all 0.7s ease;
        }
    */


    .palimg {
/*        border-radius: 5px; */
        cursor: pointer;
        transition: 0.4s;
/*
        display: block;
        max-width:200px;
        max-height:200px;        
        margin-left: auto;
        margin-right: auto;
        width:160px;
*/
        /*text-align: center;
        width:auto;
        height: auto;
        margin: auto;
        */
        max-width:70%;
        width:auto;
        padding: 5px;
        border: 5px solid #c2c2c2;
        max-height:none;
        height:auto;
    }
    
    .palimg:hover {
        opacity: 0.7;
        background-color:#009fcf;
    }

    /* The Modal (background) */
    .palmodal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 10000; /* Sit on top */
        padding-top: 60px; /* 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.7); /* Black w/ opacity */
    }

    /* Modal Content (image) */
    .palmodalimg0 {
        margin: auto;
        display: block;
        height:auto;
        width:auto;
        padding: 0.8em;
        border: 0.2em solid #c2c2c2;
        background-color:grey;
        cursor: pointer;
    -webkit-box-shadow: 12px 12px 12px black;
/*    -moz-box-shadow: 12px 12px 12px black;*/
    box-shadow: 12px 12px 12px black;
    max-width:1000px;
    
   /*  -webkit-transition: opacity 1s ease-in-out;
   //  -moz-transition: opacity 1s ease-in-out;
   //  -o-transition: opacity 1s ease-in-out;
   //   transition: opacity 1s ease-in-out;
   */
    
    }

    /* Caption of Modal Image */
    #palcaption {
        margin: auto;
        display: block;
        width: 80%;
        max-width: 500px;
        text-align: center;
        color: white;
        font-size:1.1em;
        padding: 20px 0;
        height: 150px;
    }

    /* Add Animation */
    #palmodal-content, #palcaption, .palmodalimg0 {    
        -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 */
    #palclose {
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
/*        border: 2px solid black;*/
        margin:0 0 0.2em 0.3em;
        display:inline-block;
        width:2em;
        background-color:grey;
        padding:0 0.2em 0 0.2em;
    }

    #palclose:hover,
    #palclose:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
        background-color:#009fcf;
    }

    #palbig {
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
 /*       border: 2px solid black;*/
        margin:0 0 0.2em 0;
        display:inline-block;
        width:2em;
        background-color:grey;
        padding:0 0.2em 0 0.2em;
    }
    #palbig:hover,
    #palbic:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
        background-color:#009fcf;
    }
    #palnext {
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
        margin:0 0 0.2em 0.3em;
        display:inline-block;
        width:2em;
        background-color:grey;
        padding:0 0.2em 0 0.2em;        
    }
    #palnext:hover,
    #palnext:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
        background-color:#009fcf;
    }

    
    /* 100% Image Width on Smaller Screens */
    @media only screen and (max-width: 700px){
        .palmodal-content {
            width: 100%;
        }
    }
    
.jpgplaceholder {
        list-style-type:none;
        margin-top: 1em;
        padding: 5px;
        width:80%;
        margin-left:auto;
        margin-right: auto;

    }
.jpgplaceholder img:hover {
    opacity: 0.7;
    background-color:#009fcf;

}   
.jpgplaceholder img {
    
    width:45px;
    margin: 0 0 0 0;
    padding: 1px;    
    height:50px;
    border: 2px solid grey;
    }
    
.jpgplaceholder li {    
        display:inline;
        /*padding:0.3em;
        background-color:#c2c2c2;
        border-bottom: 1px solid black;
        border-right: 1px solid black;
        border-left: 1px solid black;*/
        width:45px;
        height:70px;
}
  
