/* Shared settings */
.content-hr{
	margin-bottom: 30px;
}

@media only screen and (max-width: 470px){ /* Applies when screen size <= 470px */
	.content-hr{
		margin-bottom: 30px;
	}
}

#map-container, #gallery-container, #lecturers-container{
	padding: 0px /*<-Top&Bottom*/ 80px /*<-Sides*/;
	text-align: center;
}

@media only screen and (max-width: 470px){ /* Applies when screen size <= 470px */
	#map-container, #gallery-container, #lecturers-container{
		padding: 0px /*<-Top&Bottom*/ 40px /*<-Sides*/;
	}
}

.about-pic{
	padding: 0px /*<-Top*/ 80px /*<-Right*/ 60px /*<-Bottom*/ 80px /*<-Left*/;
}

.about-pic img{
	max-width: 100%;
}

@media only screen and (max-width: 470px){ /* Applies when screen size <= 470px */
	.about-pic{
		padding: 0px /*<-Top*/ 40px /*<-Right*/ 60px /*<-Bottom*/ 40px /*<-Left*/;
	}
}



/* History settings */
#highlight{
	color: #0062ab;
	font-family: 'Montserrat';
}



/*Map settings*/
#map-container .smaller{
		font-size: 12px;
	}

.google-maps-container{
	max-width: 900px;
	max-height: 675px;
	margin: 0 auto;
	margin-bottom: 20px;
	border: 1px solid #052369;
	-webkit-box-sizing: content-box;
	        box-sizing: content-box;
}

.google-maps{
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
}

.google-maps iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}



/* Gallery settings */
#gallery-container{
	margin: 0 auto;
}

.image-box{
	display: inline-block;
	margin: 10px;
	background-color: #dadada;
	-webkit-transition: .25s all ease;
	-o-transition: .25s all ease;
	transition: .25s all ease;
	max-width: 300px;
}

@media only screen and (min-width: 647px) and (min-height: 470px){
	.image-box:hover{
		cursor: pointer;
		-webkit-box-shadow: 0px 4px 8px 2px rgba(0,0,0,0.3);
		        box-shadow: 0px 4px 8px 2px rgba(0,0,0,0.3);
		-webkit-transition: .25s all ease;
		-o-transition: .25s all ease;
		transition: .25s all ease;
	}
}

.image-box img{
	display: block;
	max-width: 100%;
	height: auto;
}

#gallery-container .image-box p{
	padding: 5px;
}



/* Lecturer settings */
.lect-box{
	padding-top: 10px;
	display: inline-block;
	margin: 20px;
	vertical-align: top;
}

.lect-box:hover{
	background-color: #e6e6e6;
	cursor: pointer;
	-webkit-transition: .25s all ease;
	-o-transition: .25s all ease;
	transition: .25s all ease;
}

.lect-box img{
	height: 124px;
	width: 124px;
	border-radius: 200px;
	-webkit-box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
	        box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
}

#lecturers-container .lect-box p{
	width: 168px;
	padding: 10px /*<-Top&Bottom*/ 5px /*<-Sides*/;
}

.lect-info{
	display: none;
}



/* Popup settings */
/* General Pop-Up settings */
#overlay{
	visibility: hidden;
    opacity: 0.8;
	position: fixed;
    background-color: #1a1a1a;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.close{
	position: fixed;
	color: #ffffff;
	font-size: 20px;
	top: 0px;
	right: 6px;
	cursor: pointer;
}

#overlay, #image-popup, #lect-popup{
	opacity: 0; /* Used to set fading in with popup.js */
}



/* Image Pop-Up settings */
#image-popup{
	visibility: hidden;
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
	z-index: 110;
}

#image-popup img{
	height: 400px;
	width: 600px;
}

#image-popup p{
	background-color: #000000;
	color: #ffffff;
	margin: 0;
	padding: 10px;
}



/* Lecturer Pop-Up settings */
#lect-popup .close{
	color: #000000;
}

#lect-popup{
	visibility: hidden;
	position: fixed;
	-webkit-box-sizing: content-box;
	        box-sizing: content-box;
	top: 30%;
	left: 45%;
	-webkit-transform: translate(-45%, -30%);
	    -ms-transform: translate(-45%, -30%);
	        transform: translate(-45%, -30%);
	z-index: 110;
	padding: 20px;
	max-width: 1000px;
	width: 100%;
	background-color: #ffffff;
	border-radius: 5px;
	margin: 20px;
	vertical-align: top;
	display: block;
}

@media only screen and (max-height: 710px) and (min-width: 1081px) { /* Applies when screen height <= 710px and screen width > 1080px */
	#lect-popup{
		top: 20px;
		-webkit-transform: translate(-45%, 0);
		    -ms-transform: translate(-45%, 0);
		        transform: translate(-45%, 0);
		height: calc(100vh - 120px);
	}
}

@media only screen and (max-width: 1080px) and (min-height: 711px){ /* Applies when screen width <= 1080px and screen height > 710px */
	#lect-popup{
		left: 20px;
		-webkit-transform: translate(0, -30%);
		    -ms-transform: translate(0, -30%);
		        transform: translate(0, -30%);
		width: calc(100% - 120px);
	}
}

@media only screen and (max-width: 1080px) and (max-height: 710px){ /* Applies when screen width <= 1080px and screen height <= 710px */
	#lect-popup{
		top: 20px;
		left: 20px;
		-webkit-transform: none;
		    -ms-transform: none;
		        transform: none;
		height: calc(100vh - 120px);
		width: calc(100% - 120px);
	}
	
	#lect-popup .close{
		top: 40px;
		right: 46px;
	}
}

#lect-popup img{
	height: 124px;
	width: 124px;
	border-radius: 200px;
	-webkit-box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
	        box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
}

#lp-left-col{
	display: inline-block;
	text-align: center;
	width: 178px;
	float: left;
	padding-top: 20px;
}

#name{
	margin-bottom: 0px;
}

#teaches{
	margin-top: 5px;
	color: #052369;
	font-size: 16px;
	font-style: italic;
}

#lp-right-col{
	display: inline-block;
	vertical-align: top;
	padding: 0px /*<-Top&Bottom*/ 20px /*<-Sides*/;
	max-width: calc(100% - 302px);
	float: left;
	overflow: auto;
}

#lp-right-col p{
	font-size: 18px;
	line-height: 140%;
}

@media only screen and (max-width: 520px){ /* Applies when screen size <= 520px */
	#lp-right-col p{
		font-size: 16px;
	}
}

.vr{
	margin: 0px /*<-Top&Bottom*/ 20px /*<-Sides*/;
	width: 1px;
	max-height: 100%;
	height: 590px;
	display: inline-block;
	background: #0061a6;
	float: left;
}

#teaches{
	margin-bottom: 0;
}

#extra{
	margin: 0;
	padding-top: 20px;
	font: 14px 'Montserrat';
}

#bio{
	margin: 18px /*<-Top&Bottom*/ 0px /*<-Sides*/;
}

@media only screen and (max-width: 750px){ /* Applies when screen size <= 750px */
	#scroll-when-small{
		overflow: auto;
	}
	
	#lp-left-col, #lp-right-col{
		display: block;
		float: none;
	}
	
	.vr{
		float: none;
		margin: 20px /*<-Top&Bottom*/ 0px /*<-Sides*/;
		max-width: 98%;
		width: 590px;
		height: 1px;
		display: block;
	}
	
	#lp-left-col{
		padding-top: 0px;
		max-width: 100%;
		width: 100%;
	}
	
	#lp-right-col{
		max-width: 100%;
	}
}

.scroll-light-top{
	border-radius: 3px;
	-webkit-box-shadow: 0px 10px 10px -10px #6abcf1 inset;
	        box-shadow: 0px 10px 10px -10px #6abcf1 inset;
}

.scroll-light-bottom{
	border-radius: 3px;
	-webkit-box-shadow: 0px -10px 10px -10px #6abcf1 inset;
	        box-shadow: 0px -10px 10px -10px #6abcf1 inset;
}

.scroll-light-top.scroll-light-bottom{
	border-radius: 3px;
	-webkit-box-shadow: 0px 10px 10px -10px #6abcf1 inset, 0px -10px 10px -10px #6abcf1 inset;
	        box-shadow: 0px 10px 10px -10px #6abcf1 inset, 0px -10px 10px -10px #6abcf1 inset;
}