/* MODAL BOX APPEARS WHEN SOME BUTTONS ARE CLICKED */
/* The Modal (background) */

/*.show{
    display: block; Visible by default
}*/

.modal {        
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
padding-top: 0px;
}

.black-transparent{
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 2% auto 10% auto; /* 5% from the top, 15% from the bottom and centered */
border: 1px solid #888;
width: 90%; /* Could be more or less, depending on screen size */
}

/* Add Zoom Animation */
.animate {
-webkit-animation: animatezoom 0.6s;
animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
from {-webkit-transform: scale(0)} 
to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
from {transform: scale(0)} 
to {transform: scale(1)}
}

.imgcontainer {
    text-align: center;
    margin: 0px 0 12px 0;
    position: relative;
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 12px;
    top: 0;
    /*bottom: 12px; this doesn't make margin at all*/
    color: #000;
    font-size: 30px;
    font-weight: bold;    		
}

.close:hover,
.close:focus {
    color: orange;
    cursor: pointer;
}

.container {
    /*margin-top: 16px; this doesn't make margin on mobiles*/
    padding: 16px;
}

.small-container {
    padding: 40px 16px;
    background-color: #f1f1f1;
}
