#content {
	margin-top: 50px;
	padding: 40px 50px;
	background-color: #fff;
}
#head-content {
	margin: 0;
	border-bottom: 4px solid #df0707;
}
#head-content span {
	display: inline-flex;
	height: 40px;
	padding: 0 20px;
	float: left;
	color: #fff;
	background-color: #df0707;
	font: bold 28px 'Roboto Slab', sans-serif;
	border-radius: 8px 8px 0 0;
	align-items: center;
}
#head-content .nav-pills {
	float: right;
}
#head-content .nav-pills li a {
	display: inline-flex;
	height: 40px;
	padding: 0 15px;
	align-items: center;
	color: #df0707;
	border-radius: 8px 8px 0 0;
}
#head-content .nav-pills .active a {
	color: #fff;
	background-color: #df0707;
}

/*-----------------------------------------------------------------------------------------------------------------------------*/

#modal-galeri {
	padding: 70px 0 20px 0 !important;
	background-color: rgba(0,0,0,.7);
}
#modal-galeri > .row {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
#modal-galeri .modal-caption {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 20px;
	color: #fff;
	font: bold 28px 'Roboto Slab', sans-serif;
	text-align: center;
}
#modal-galeri .close {
	color: #fff;
	font-size: 28px;
	text-shadow: none;
	opacity: .7;
}
#modal-galeri .close:hover {
	opacity: 1;
}
#modal-galeri .modal-content {
	position: relative;
	width: 80%;
	height: 90%;
	text-align: center;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
}
#modal-galeri .modal-content img {
	height: 100%;
}
#modal-galeri .modal-control {
	cursor: pointer;
	display: inline-flex;
	position: absolute;
	top: calc(50% - 50px);
	width: 100px;
	height: 100px;
	color: #fff;
	align-items: center;
	justify-content: center;
	opacity: .7;
}
#modal-galeri .modal-control:hover {
	opacity: 1;
}
#modal-galeri .modal-prev {
	left: 0;
}
#modal-galeri .modal-next {
	right: 0;
}

/*-----------------------------------------------------------------------------------------------------------------------------*/

#main-content {
	margin: 0;
	padding: 10px;
}

/*-----------------------------------------------------------------------------------------------------------------------------*/

#tab-tile .col-md-2 {
	padding: 20px;
}
#tab-tile .thumbnail {
	cursor: pointer;
	position: relative;
	margin: 0;
	padding: 0;
	border: 2px solid #ccc;
	transition: all .2s ease;
}
#tab-tile .thumbnail img {
	width: 100%;
	border-radius: 2px;
	transition: all .2s ease;
}
#tab-tile .thumbnail .caption {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 5px;
	color: #ecf0f1;
	font: 16px 'Titillium Web', sans-serif;
	background-color: rgba(0,0,0,.7);
	border-radius: 0 0 2px 2px;
}
#tab-tile .thumbnail:hover img {
	filter: brightness(80%);
}

/*-----------------------------------------------------------------------------------------------------------------------------*/

#tab-list > .row {
	margin: 0;
	padding: 0 20%;
}
#tab-list .media {
	cursor: pointer;
	padding: 20px;
	text-align: left;
	transition: all .2s ease;
}
#tab-list .media:hover {
	background-color: #ddd;
}
#tab-list .media-left {
	width: 25%;
}
#tab-list .media-left img {
	width: 100%;
}
#tab-list .media-body {
	width: 75%;
	padding: 0 20px;
	vertical-align: middle;
}
#tab-list .media-heading {
	color: #333;
	font: bold 24px 'Roboto Slab', sans-serif;
}
#tab-list .media-body hr {
	margin: 10px 0;
}
#tab-list .media-body p {
	margin: 0;
	color: #333;
	font: 16px 'Titillium Web', sans-serif;
}
#tab-list .media-body p span {
	margin: 0 10px;
}
#tab-list > .row a:hover .dl-bg {
	opacity: 1;
}

/*====================================                    MOBILE                    ====================================*/

@media screen and (max-width: 991px) {

	#content {
		padding: 20px 10px;
	}
	#head-content span {
		font-size: 4vw;
	}

/*-----------------------------------------------------------------------------------------------------------------------------*/

	#modal-galeri .modal-caption {
		font-size: 4vw;
	}
	#modal-galeri .close {
		font-size: 6vw;
	}
	#modal-galeri .modal-content {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#modal-galeri .modal-content img {
		width: 90%;
		height: auto;
	}
	#modal-galeri .modal-control {
		top: calc(54% - 5vw);
		width: 10vw;
		height: 10vw;
	}
	#modal-galeri .modal-control .fa {
		font-size: 6vw;
	}

/*-----------------------------------------------------------------------------------------------------------------------------*/

	#tab-tile .col-sm-6 {
		padding: 8px;
	}
	#tab-tile .thumbnail .caption {
		font-size: 3.5vw;
	}

/*-----------------------------------------------------------------------------------------------------------------------------*/

	#tab-list .col-sm-12 {
		padding: 5px 50px;
	}
	#tab-list .thumbnail {
		cursor: pointer;
		margin-bottom: 0;
		padding: 15px 10px;
		background: none;
		border: none;
		transition: all .2s ease;
	}
	#tab-list .thumbnail img {
		width: 90%;
		border-radius: 4px;
		transition: all .2s ease;
	}
	#tab-list .thumbnail .caption {
		padding: 10px 0;
		color: #777;
		font: 3vw 'Titillium Web', sans-serif;
		transition: all .2s ease;
	}
	#tab-list .thumbnail .caption .caption-title {
		color: #333;
		font: bold 4vw 'Titillium Web', sans-serif;
		transition: all .2s ease;
	}
	#tab-list .col-sm-12 .thumbnail:hover {
		background-color: #eaeaea;
	}
	#tab-list .col-sm-12 .thumbnail:hover img {
		filter: brightness(80%);
	}

}