td img {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

td img: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: 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 {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
.hospitalName {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, .hospitalName {    
    -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 */
.closeModal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.closeModal:hover,
.closeModal: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%;
    }
}
/*NJHA 100 Main*/
#open100, #resources100 {
	width: 100%;
}
#open100 img {
	width: 40%;
	float: left;
	padding-right: 10px;
}
#ourHistory100 {
	border-radius: 15px;
	background-color: #1e5a74;
	margin: 30px 0;
	padding: 10px;
}
#njha100 {
	font-weight: bold;
	font-style: italic;
}
#ourHistory100 p {
	color: white;
	font-size: 15px;
}
#ourHistory100 p:nth-child(3) {
	text-align: right;
}
#begin100,
#ourHistory100 a {
	color: #90bfbd;
	font-size: 20px;
	font-style: italic;
}
#ourHistory100 a {
	text-decoration: underline;
}
#ourHistory100 a:hover {
	font-weight: bold;
}
#begin100 {
	font-size: 30px;
}
#video {
	display: none;
}
#resources100 {
	text-align: center;
}
.row100 p {
	font-weight: bold;
}
.thumb100 {
	display: inline-block;
	width: 45%;
	padding: 20px 10px;
}
.thumb100 img {
	width: 100%;
	min-height: 139px;
}
			
/*Photo Gallery*/
#gallDesc {
	border-radius: 15px;
	background-color: #1e5a74;
	color: #FFFFFF;
	font-size: 20px;
	font-style: italic;
	padding: 10px;
	text-align: center;
}
h2 {
	border-bottom: 1px solid #90bfbd;
	font-size: 30px;
	padding-bottom: 5px;
}
.decade {
	width: 668px;
	margin-bottom: 100px;
	padding-top: 20px;
}
.decade table,
.decade tbody, 
.decade tr, 
.gallImg {
	width: 100%;
}
.decade td {
	width: 33%;
	padding: 10px 5px 0;
	text-align: center;
	vertical-align: middle;
}
.gallImg {
	margin-bottom: 0;
	max-height: 140px;
	vertical-align: bottom;
}
.tooTall {
	width: 70%;
}
.tooShort {
	min-height:135px;
}
.decade td p {
	margin-bottom: 0;
	-webkit-margin-before: 0;
    -webkit-margin-after: 0;
}
.hospCaptions {
	text-align: center;
}
.hmhCap {
	display: none;
}
.decaCaptions {
	font-style: italic;
}
.entry {
	position: relative;
}
#decaNav {
	position: fixed;
	width: 237px;
}
#decaNav h3 {
	font-size: 20px;
	text-align: center;
	padding-bottom: 5px;
}
#decaNav ul {
	list-style-type: none;
	padding-left: 0;
}
#decaNav ul li {
	background-color: #1e5a74;
	font-size: 15px;
	text-align: center;
	margin-bottom: 10px;
	padding: 10px 5px;
}	
#decaNav ul li a {
	color: #FFFFFF;
}
#decaNav ul li a:hover {
	font-weight: bold;
}


/*Then and Now*/
#thenNow, #acuteCF {
	width: 733px;
}
#thenNow table,
#acuteCF table {
	border-collapse: collapse;
}
#thenNow td {
	width: 20%;
	text-align: center;
}
#thenNow thead tr,
#acuteCF thead tr {
	border-bottom: 1px solid black;
}
#thenNow thead td,
#acuteCF thead td {
	font-size: 30px;
	font-weight: bold;
	font-style: italic;
	padding-bottom: 10px;
}
#thenNow tbody td {
	padding: 25px 5px;
	border-right: 1px solid black;
}
#thenNow tbody tr td:first-child,
#thenNow tbody tr td:last-child {
	font-size: 15px;
	font-weight: bold;
	font-style: italic;
}
#thenNow tbody tr td:last-child {
	border-right: none;
}
#thenNow tbody tr:nth-child(odd),
#acuteCF tbody tr:nth-child(odd) {
	background-color: #CFD2FF;
}
#thenNow tbody tr td:nth-child(3) {
	background-color: #9FD5BC;
	font-size: 15px;
	font-weight: bold;
}
#thenNow tbody tr td:nth-child(2),
#thenNow tbody tr td:nth-child(4) {
	font-size: 13px;
}

/*Acute Care Founding*/
#acuteCF thead td {
	font-size: 20px;
}
.rowAC td {
	width: 33.333333%;
	text-align: center;
}

















































































/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
