/* ==========================================================================
   ANGIS-JAPAN Modern Design Enhancements
   These styles overlay and improve the existing Bootstrap 3 design
   ========================================================================== */

/* --- Scrolling Announcement (replaces <marquee>) --- */
.scrollcontent {
	line-height: 1.50 !important;
	letter-spacing: 2px;
	font-family: 'Domine', serif;
	font-size: 15px;
	padding: 10px 15px 10px 15px;
	background-color: #A52A2A;
	overflow: hidden;
	white-space: nowrap;
}

.scrollcontent a {
	color: #FFF;
	text-decoration: none;
}

.scrolling-wrapper {
	display: inline-block;
	animation: scroll-left 20s linear infinite;
}

.scrolling-wrapper:hover {
	animation-play-state: paused;
}

@keyframes scroll-left {
	0% {
		transform: translateX(100vw);
	}
	100% {
		transform: translateX(-100%);
	}
}

/* --- Modern Panel Enhancements --- */
.panel-primary {
	border: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	transition: box-shadow 0.3s ease;
	margin: 20px auto;
	max-width: 95%;
}

.panel-primary:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.panel-primary .panel-heading {
	background: linear-gradient(135deg, #337ab7 0%, #2a6496 100%);
	border: none;
	border-radius: 4px 4px 0 0;
	font-weight: 600;
	letter-spacing: 0.5px;
	padding: 15px 25px;
}

.panel-primary .panel-body {
	padding: 30px 35px;
	line-height: 1.8;
}

/* --- Internal Pages Content Styling --- */
#content {
	padding: 10px 0;
}

#content h2 {
	color: #337ab7;
	font-family: 'Merriweather', serif;
	font-size: 28px;
	margin-bottom: 25px;
	margin-top: 10px;
	padding: 0 10px;
}

#content h4 {
	color: #555;
	font-size: 16px;
	line-height: 1.8 !important;
	text-align: justify;
	margin-bottom: 20px;
	padding: 0 10px;
}

#content p {
	margin-bottom: 20px;
	padding: 0 10px;
}

/* --- Tables in Internal Pages --- */
#content .table {
	margin: 20px 0;
	background: #fff;
}

#content .table > tbody > tr > td {
	padding: 15px 20px;
	vertical-align: middle;
	border-color: #ddd;
}

#content .table > tbody > tr > td a {
	color: #337ab7;
	text-decoration: none;
	transition: color 0.2s ease;
	display: block;
}

#content .table > tbody > tr > td a:hover {
	color: #23527c;
	text-decoration: underline;
}

#content .table-responsive {
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow-x: auto;
}

/* --- Lists in Internal Pages --- */
#content .panel-ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#content .panel-ul li {
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	line-height: 1.8;
	color: #333;
	font-size: 15px;
}

#content .panel-ul li:last-child {
	border-bottom: none;
}

#content .panel-ul li a {
	color: #337ab7;
	text-decoration: none;
	transition: all 0.2s ease;
}

#content .panel-ul li a:hover {
	color: #23527c;
	text-decoration: underline;
	padding-left: 5px;
}

/* --- Navigation Improvements --- */
.navbar-default {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-default .navbar-nav > li > a {
	transition: all 0.3s ease;
	position: relative;
	color: #fff !important;
	font-weight: 600;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-default .navbar-nav > li > a:hover {
	background-color: rgba(255, 255, 255, 0.15);
	color: #fff !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	background-color: rgba(255, 255, 255, 0.2);
	color: #fff !important;
}

/* --- Footer Modernization --- */
footer {
	background-color: #f8f8f8;
	padding: 20px 0;
	margin-top: 40px;
	border-top: 1px solid #e7e7e7;
}

footer p {
	margin: 0;
	color: #666;
}

footer a {
	color: #337ab7;
	text-decoration: none;
	transition: color 0.2s ease;
}

footer a:hover {
	color: #23527c;
	text-decoration: underline;
}

/* --- General Typography & Spacing --- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* --- Jumbotron Enhancement --- */
.jumbotron {
	background: linear-gradient(135deg, #337ab7 0%, #2a6496 100%);
	color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.jumbotron h1, .jumbotron h2 {
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* --- Map Container --- */
#map {
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
}

/* --- Contact Form Styling --- */
#contact-form .form-control {
	border-radius: 4px;
	border: 1px solid #ddd;
	padding: 10px 15px;
}

#contact-form .form-control:focus {
	border-color: #337ab7;
	box-shadow: 0 0 5px rgba(51, 122, 183, 0.3);
}

#contact-form .btn-send {
	background: linear-gradient(135deg, #337ab7 0%, #2a6496 100%);
	border: none;
	padding: 12px 30px;
	font-size: 16px;
	border-radius: 4px;
	transition: all 0.3s ease;
}

#contact-form .btn-send:hover {
	background: linear-gradient(135deg, #2a6496 0%, #1f4f7a 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- Button Styling for Journal Guidelines --- */
.button_small {
	margin-top: 15px;
}

.button_small a {
	display: inline-block;
	padding: 10px 20px;
	background: linear-gradient(135deg, #337ab7 0%, #2a6496 100%);
	color: #fff !important;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.3s ease;
	font-weight: 600;
}

.button_small a:hover {
	background: linear-gradient(135deg, #2a6496 0%, #1f4f7a 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
	.panel-primary .panel-body {
		padding: 15px;
	}
	
	.scrolling-wrapper {
		animation-duration: 15s;
	}
	
	#content .table > tbody > tr > td {
		padding: 10px;
		font-size: 14px;
	}
}
