/* ============================================================================
   Layout primitives — the small subset of grid/navbar rules the old CSS
   framework used to provide. Everything below the divider is the original
   site stylesheet, unchanged.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

a { color: #337ab7; text-decoration: none; background-color: transparent; }
a:hover, a:focus { color: #23527c; text-decoration: underline; }

img { border: 0; vertical-align: middle; max-width: 100%; height: auto; }

button { font-family: inherit; font-size: 100%; margin: 0; line-height: inherit; }

table { border-collapse: collapse; border-spacing: 0; }

p { margin: 0 0 10px; }

h1, h2, h3, h4, h5, h6 {
	margin-top: 20px;
	margin-bottom: 10px;
	font-weight: 500;
	line-height: 1.1;
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

hr {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #eee;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Grid containers */
.container {
	margin-right: auto;
	margin-left: auto;
	padding-left: 15px;
	padding-right: 15px;
}
@media (min-width: 768px)  { .container { width: 750px; } }
@media (min-width: 992px)  { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }

.container-fluid { padding-left: 15px; padding-right: 15px; }

.container::after,
.container-fluid::after,
.navbar::after,
.nav-container::after { content: ""; display: table; clear: both; }

/* Navbar */
.navbar { position: relative; min-height: 50px; }

.nav { margin: 0; padding-left: 0; list-style: none; }
.nav > li { position: relative; display: block; }
.nav > li > a { position: relative; display: block; padding: 10px 15px; }

.navbar-toggle {
	position: relative;
	float: right;
	padding: 9px 10px;
	background-color: transparent;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
}

.navbar-collapse { padding-left: 15px; padding-right: 15px; }

.collapse { display: none; }
.collapse.in { display: block; }

@media (min-width: 768px) {
	.navbar-header { float: left; }
	.navbar-toggle { display: none; }
	.navbar-collapse {
		display: block !important;
		height: auto !important;
		padding-bottom: 0;
		overflow: visible !important;
	}
	.navbar-nav { float: left; margin: 0; }
	.navbar-nav > li { float: left; }
	.navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; }
}

/* ============================================================================
   Original site stylesheet (unchanged)
   ========================================================================== */

/*
header/footer background:
#661d47
#2f5f8b
#76323f
#c09f80
#d8c3a5
*/
html, body {
	height: 100%;
	font-family: "Montserrat",sans-serif;
	font-size: 12pt;
	color: #000;
	background-image: url("../imgs/background_slice.jpg");
}
.navbar-override {
	margin-bottom: 0;
	border-radius: 0;
	border: 0;
}
.nav-container {
	height: 140px;
	/*height: 200px;*/
}

.main-content {
	color: #000;
	min-height: 100%;
	height: 100%;
	padding: 0;
}
h2 {
	font-size: 36px;
	background: #c09f80;/*CREAM*/
	background: #d8c3a5;
	border-radius: 8px;
	padding-left: 10px;
}
/*h2::first-letter {
	font-size: 46px;
}*/
h4 {
	font-size: 22px;
	background: #c09f80;
	background: #d8c3a5;
	border-radius: 4px;
	padding-left: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
}
h4::first-letter {
	font-size: 28px;
}

.page-content {
	padding-top: 2px;
	text-align: justify;
	color: #444;
	background: #fff;
	/*min-height: 76.8%;*/
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	box-shadow: 2px 0 5px -4px rgba(31, 73, 125, 0.8), -2px 0 5px -4px rgba(31, 73, 125, 0.8);
}

#navbar-button-layout {
	/*width: 100%;*/
	height: 80px;
	margin-top: -14px;
}

#navbar1 {
	float:left;
}

nav.navbar {
	background: #76323f;
	background: #5c2018	;/*RED*/
	margin-top: -1px;
}
.navbar .nav li > a, .navbar .nav .active > a {
	color: #fff;
}
.navbar .navbar-text {
	margin-left: 100px;
	color: #fff;
	/*font-family: 'Ubuntu', sans-serif;*/
	font-family: 'Cormorant SC', serif;
	font-size: 34px;
}
.navbar .navbar-menu {
	padding: 0;
	margin: 0;
	margin-left: 10px;
	margin-top: 6px;
	float: left;
}

.navbar .nav .active > a {
	background: #000;
}
.navbar .nav li > a:hover, .navbar .nav .active > a:hover {
	background: #98545f;
	color: #fff;
	-webkit-transition: background 0.25s;
	transition: background 0.25s;
}

.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	float: left;
	background: #76323f;
	background: #5c2018	;
	border: none;
}

/*.navbar .navbar-header .navbar-toggle {
	background: #76323f;
	border: none;
}*/
.navbar-default .navbar-toggle .icon-bar {
	background: #fff;
}
.navbar-default .navbar-toggle .icon-bar:hover {
	background: #666;
}

/* MOBILE MENU NAV TOGGLE */
.icon {
	/* T R B L */
	margin: 0 0 0 -10px;
	/*margin: 0;*/
	background: #fff;
	border: 0;
	height: 79px;
	width: 79px;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
}
.icon::-moz-focus-inner { border: 0; }
:focus { outline: none; }
.icon span {
	display: block;
	height: 3px;
	width: 33px;
	border-radius: 2px;
	position: absolute;
	left: 23px;
	-webkit-transition: -webkit-transform 0.3s;
	-webkit-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}
.icon span:nth-child(2) { top: 36px; }
.icon span:nth-child(3) { top: 45px; }
.icon span:last-child { top: 54px; }

.icon--active span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 45px;
}
.icon--active span:last-child {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	position: absolute;
	top: 45px;
}
.icon--active span:nth-child(3) { opacity: 0; }
.icon--button { border-radius: 10px; }
.icon--transparent { background: transparent; }
.icon--transparent span { background: #fff; }
.icon-transition {
	-webkit-transition: -webkit-transform 0.3s;
	-webkit-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}
/* END */

.header-title {
	color: #fff;
	margin-top: 0;
	clear: left;
}

.navbar-text-sm {
	color: #fff;
	font-size: 30px;
	margin-top: 6px;
}

footer>div {
	background: #76323f;
	background: #5c2018	;
	color: #fff;
	padding: 10px;
	box-shadow: 2px 0 5px -4px rgba(31, 73, 125, 0.8), -2px 0 5px -4px rgba(31, 73, 125, 0.8);
}

footer>div a {
	color: #949494;
}
footer>div a:focus, footer>div a:hover {
	color: #337ab7;
	text-decoration: none;
}

hr {
	border-color: #ddd;
	margin-left: -5px;
	margin-right: -5px;
}

footer hr {
	border-color: #949494;
	margin-left: -15px;
	margin-right: -15px;
}

.copyright {
	text-align: center;
	color: #949494;
	font-size: 14px;
}

.profile-pic {
	float: right;
}

.source {
	font-weight: bold;
	font-style: italic;
}

.col_left { margin-bottom: 20px; }

.publications td { vertical-align: top; padding-bottom: 10px; }
.publications td:first-child {
	padding-right: 16px;
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/* smartphone portrait */
@media (max-width: 408px) {
	.profile-pic {
		display: none;
	}
	div#navbar1 {
		width: 108%;
	}
	.header-title {
		display: none;
	}
	.navbar-text-sm {
		display: inline-block;
		font-size: 20px;
	}
	div.container.nav-container {
		height: 60px;
	}
	.copyright>span {
		padding-right: 0;
		display: block;
	}
	.col_left {
		float: none;
		width: 100%;
	}
	.col_right {
		float: none;
		width: 100%;
		text-align: center;
		/*margin-top: 20px;*/
	}

	h2 {
		text-align: left;
	}
}

/* smartphone landscape */
@media (min-width: 408px) {
	.profile-pic {
		display: none;
	}
	div#navbar1 {
		width: 108%;
	}
	.header-title {
		display: none;
	}
	.navbar-text-sm {
		display: inline-block;
		font-size: 38px;
	}
	div.container.nav-container {
		height: 60px;
	}
	.copyright>span {
		padding-right: 0;
		display: block;
	}
	.col_left {
		float: none;
		width: 100%;
	}
	.col_right {
		float: none;
		width: 100%;
		text-align: center;
		/*margin-top: 20px;*/
	}

	h2 {
		text-align: left;
	}
}

/* tablet portrait */
@media (min-width: 768px) {
	div#navbar1 {
		/*width: 400px;*/
		width: 690px;
	}
	.header-title {
		display: inline-block;
		font-size: 40px;
	}
	.navbar-text-sm {
		display: none;
	}
	div.container.nav-container {
		height: 140px;
	}

	.col_left {
		float: left;
		width: 400px;
	}
	.col_right {
		float: right;
		width: 300px;
		text-align: left;
	}
}

/* tablet landscape */
@media (min-width: 992px) {
	.profile-pic {
		display: inline-block;
	}

	.col_left {
		float: left;
		width: 600px;
	}
	.col_right {
		float: right;
		width: 300px;
		text-align: left;
	}

	.copyright>span {
		padding-right: 80px;
		display: inline;
	}
}

/* laptop */
@media (min-width: 1200px) {
	.header-title { font-size: 50px; }
	.col_left { width: 800px; }
	.col_right { width: 300px; }
}
