@import url("custom.css");

.card {
	margin: 2px;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	border-bottom: 5px solid #2980b9;
	min-height:350px;
	padding: 0.5rem;
}

.img-container {
	width:100%;
	height:175px;	
}
.card-img-top {
	/* padding: 0.5rem; */
	width:100%;
	height:175px;
	object-fit:cover;
}

.custom-object-fit {
	position: relative;
	background-size: cover;
	background-position: center center;
}
.card-body {
	padding: 1.25rem 0.5rem;
}
.card-title {
	font-size:1.1rem;
	color: #2980b9;
	font-weight: bold;
	height:80px;
}
.card-text {
	font-size:1rem;
	color: #6c757d;
	margin:0;
}

.news-panel, .content-panel, .detail-panel, .notification-panel, .terms-panel {
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)!important;
	padding:10px; 
	background-color:#fff;
}
.detail-panel {
	padding:15px; 
}

#topNews .carousel-caption {
	background-color: #2980b9;
	color: #ffffff;
	opacity: 0.9;
    filter: alpha(opacity=90); 	
	border-top: 5px solid #C5D44D;

}

#topNews .carousel-caption {
  position: absolute;
  right: 0;
  bottom:0;
  left: 0;
  z-index: 10;
  padding: 20px 20px 40px 20px;
  color: $carousel-caption-color;
  text-align: left;
}
#topNews li {
    display: list-item;
    text-align: -webkit-match-parent;
}

@media only screen and (max-width: 499px) {
	.news-panel {
		box-shadow:none!important;
		padding:10px;
		background-color:transparent; 
	}
	.content-panel {
		margin-top: 10px;
	}
	.card-img-top, .img-container {
		height:220px;
	}
		
}
.searchbar {
	padding: 10px;
	margin: -10px;
	margin-bottom:10px;
}

.odd {
	background-color:#f5f9fc;
	padding: 10px;
	margin:-10px;
}
.even {
	background-color:#fff;
	padding: 10px;	
	margin:-10px;
}
hr {
	margin:5px 0;
	border-top: 1px solid #ccc;	
}
hr.lg {
	margin:15px 0;
}
a.question:hover, a.question:active, a.question:visited {
	text-decoration: none;
}
i.expand, i.collapse {
    position: absolute;
    right: 0;
    top: 0.4rem;
    width: 20px;
    height: 20px;
    display: inline;
	color: gray;
	font-size:0.8rem;
	
}

#attached-pdf {
	height:600px;
}

@media only screen and (max-width: 499px) {
	#attached-pdf {
		height:300px;
	}
	.card {
		margin:10px -10px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.card-img-top, .img-container {
		height:155px;
	}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.card {
		min-height: 380px;
	}
	.card-img-top, .img-container {
		height:155px;
	}
}

.tutorial-button {
	width:500px;
}
.button-panel {
	margin:10px 0;
}
.card a:hover {
	text-decoration: none;
}
.input-group-append {
	cursor: pointer;
}
a:hover {
	color: #1879B9;
}
}