/*!
Theme Name: Harley-Davidson 2019
Theme URI: http://underscores.me/
Author: Noppadon Sukpracha
Author URI: http://uw6a.com
Description: Theme for Harley Davidson of Bangkok
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hd2019
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Harley-Davidson 2019 is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.page-header{
	min-height: 400px;
	border: none;
	background-color: #000;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: relative;
}

	@media (max-width: 991px){
		.page-header{
			min-height: 300px;
		}
	}

	@media (max-width: 787px){
		.page-header{
			min-height: 250px;
		}
	}

.page-header::before{
	content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
    z-index: 0;
    background: rgba(0, 0, 0, 1.0);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1.0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 1.0)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1.0) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1.0) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1.0) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1.0) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;	
}

.page-header .container{
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	height: 400px;
}

	.page-header h1{
		font-family: 'h-d_letterpressregular','Kanit', sans-serif;
	    text-transform: uppercase;
	    font-size: 70px;
	    text-shadow: 0 0 10px rgba(0,0,0,0.8);
	}


	@media (max-width: 991px){
		.page-header .container{
			height: 300px;
		}
		.page-header h1{
			font-size: 40px;
		}
	}

	@media (max-width: 787px){
		.page-header .container{
			height: 250px;
		}
		.page-header h1{
			font-size: 30px;
		}		
	}


.news-list{
	margin-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
}

.news-item{
	/*height: 400px;*/
	overflow: hidden;
	margin-bottom: 30px;
}



.news-title{
	font-family: 'Kanit', sans-serif;
	margin-top: 0;
	font-size: 24px;
}

	@media screen and (max-width: 787px){
		.news-item{
			width: 100%;
		}
		.news-title{
			font-size: 22px;
		}
	}	


.news-date{
	color: #666;
}

.news-cover{
	min-height: 200px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	transition: all 0.3s ease;
	transform: scale(1);
}

.news-item .cover{
	overflow: hidden;
}

.news-item a:hover .news-cover{
	transform: scale(1.2);
}

.news-excerpt{
	color: #FFF;
}

.meta-category{
	margin: 3px 0;
}

.meta-category a{
	display: inline-block;
	background-color: #333;
	color: #F5821F;
	padding: 2px 6px;
	font-size: 12px;
	font-style: italic;
}



.single .entry-content{
	margin-bottom: 20px;
	min-height: 400px;
}

	.single .entry-content img{
		max-width: 100%;
		height: auto;
	}

.single .entry-content .col-sm-9{
	margin-bottom: 30px;
}

	@media (max-width: 787px){
		.single .entry-content .col-sm-9{
			margin-bottom: 30px;
			padding-bottom: 20px;
			border-bottom: 1px solid #666;
		}
	}

.lightgallery-default a {
    display: inline-block;
    padding: 1px;
    overflow: hidden;
}

.lightgallery-default a img{
	display: block;
	transition: all 0.3s ease;
	transform: scale(1);
}

.lightgallery-default a:hover img {
    transform: scale(1.2);
}

h2.widget-title{
	font-size: 22px;
}

/* Pagination */
.navigation{
	text-align: center;
	margin: 30px 0;
}
	.navigation ul{
		padding: 0;
		list-style-type: none;
		margin: 0;
		display: flex;
		align-items: center;
		flex-direction: row;
		justify-content: center;
	}
	.navigation ul li{
		padding: 0;
		margin: 0 2px;
	}

	.navigation ul li a{
		display: inline-block;
		padding: 10px 20px;
	}

	.navigation ul li.active a,
	.navigation ul li a:hover{
		background-color: #F5821F;
		color: #000;
	}