@charset "utf-8";
/* CSS Document */

/* The Modal Thumb */
.modal-thumb {
	border:2px gray solid;
	width:100%;
	max-width:240px;
	cursor:zoom-in;
}

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

/* Modal Content (image) */
.modal-content {
    margin-left:auto; 
	margin-right:auto;
    display: block;
	cursor:zoom-out;
	position:relative;
    width: 80%;
    max-width: 700px;		/* can be changed to 100% in in-line style for specific pages */
	border:2px white solid;
	border-radius: 7px;		/*curve the edges*/
}

/* Caption of Modal Image */
#caption {
    margin-left:auto; 
	margin-right:auto;
    display: block;
	cursor:zoom-out;
	position:relative;
    width: 80%;
    max-width: 700px;
    text-align: center;
    font-size:14px;
    color: #000;
    padding: 2px 0;
    background-color:white;
    height: 20px;
	border-radius: 3px;		/*curve the edges*/
}

/* The Close Routine */
.close {
    position: absolute;		/* if I change this from absolute, it makes the popup image too big */
/*    top: 60px;
    right: 35px;*/
    color: #000;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Add Animation */
.modal-content, #caption, .w3-modal-content {
	-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)}
}

.w3-modal{z-index:3;display:none;padding-top:200px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}
.w3-modal-content{
	margin:auto;
	background-color:#fff;
	position:relative;
	padding:10px;
	outline:0;
	border:thin solid black;
	border-radius: 7px;		/*curve the edges*/
	width:600px;
	max-width: 600px;
}
.w3-container:after,.w3-container:before,.w3-panel:after,.w3-panel:before,.w3-row:after,.w3-row:before,.w3-row-padding:after,.w3-row-padding:before,
.w3-cell-row:before,.w3-cell-row:after,.w3-clear:after,.w3-clear:before,.w3-bar:before,.w3-bar:after{content:"";display:table;clear:both}
.w3-col,.w3-half,.w3-third,.w3-twothird,.w3-threequarter,.w3-quarter{
	float:left;
	width:800px
}
.w3-container,.w3-panel{padding:0.01em 16px}.w3-panel{margin-top:16px;margin-bottom:16px}
.w3-display-topleft{position:absolute;left:0;top:0}.w3-display-topright{position:absolute;right:0;top:0}
.w3-btn,.w3-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
.w3-btn,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}  
.w3-button:hover{color:#000!important;background-color:#ccc!important}
.w3-black,.w3-hover-black:hover{color:#fff!important;background-color:#000!important}
@media (max-width:600px){.w3-modal-content{margin:0 10px;width:auto!important}.w3-modal{padding-top:30px}
@media (max-width:768px){.w3-modal-content{width:500px}.w3-modal{padding-top:50px}}
@media (min-width:993px){.w3-modal-content{width:900px}.w3-hide-large{display:none!important}.w3-sidebar.w3-collapse{display:block!important}}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }