
@import 'bootstrap-grid.css';
@import 'fonts.css';

body {
	min-width: 320px;
	margin: 0;
	padding: 0;	
	font-family: 'kittithada_roman_55regular';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 24px;
}
a {
	outline: none !important;
	-webkit-transition: 0.5s;
	   -moz-transition: 0.5s;
	     -o-transition: 0.5s;
	        transition: 0.5s;
}


/* Typography */
h1, h2, h3, h4, h5, h6, p, b, strong {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-style: normal;	
}
i, em {
	font-family: 'kittithada_roman_55italic';
}
b, strong {
	font-family: 'kittithada_bold_75regular';
}
small {
	font-family: 'kittithada_light_45regular';
}
small i {
	font-family: 'kittithada_light_45italic';
}
h1 {
	font-family: 'kittithada_bold_75regular';
}
h2, h3 {
	font-family: 'kittithada_bold_75regular';
}
h2 i, h3 i {
	font-family: 'kittithada_medium_65italic';
}
h4 {
	font-family: 'kittithada_medium_65regular';
}
h4 i {
	font-family: 'kittithada_medium_65italic';
}

h5, h6, p {
	font-family: 'kittithada_roman_55regular';
}
h6 {
	font-size: 18px;
	line-height: 20px;
}
p {
	font-size: 24px;
	line-height: 24px;	
}
h5 i, h6 i, p i {
	font-family: 'kittithada_roman_55italic';
}
.font-weight-bold {
	font-family: 'kittithada_bold_75regular';
}
.font-weight-normal {
	font-family: 'kittithada_roman_55regular';
}
.font-weight-light {
	font-family: 'kittithada_light_45regular';
}
.font-italic {
	font-family: 'kittithada_roman_55italic';
}
.text-blue {
	color: #001f67!important;
}
.text-red {
	color: #dc1f2d!important;
}
.justify-content-center {
	-ms-flex-pack: center!important;
	justify-content: center!important;
}
.justify-content-end {
    -ms-flex-pack: end!important;
    justify-content: flex-end!important;
}

/* header */
header {
	background-color: #fff;
	-webkit-box-shadow: 0px 2px 2px 0px rgba(204,204,204,0.25);
	   -moz-box-shadow: 0px 2px 2px 0px rgba(204,204,204,0.25);
	        box-shadow: 0px 2px 2px 0px rgba(204,204,204,0.25);
}
header .uob-logo,
header .right-by-you {
	width: auto;
	max-width: 100%;
	max-height: 37px;
	margin: 15px 0;
}
header .uob-logo {
	float: left;
}
header .right-by-you {
	float: right;
}



/* section */
section {
	margin: 50px 0;
}
section .col-12 {
	margin-bottom: 30px;
}


/* item */
.item {
	width: 100%;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
}
.item-text {
	padding: 10px 15px;
} 
.item-img-thumbnail,
.item-img-thumbnail img {
	width: 100%;
	 -webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	     -moz-border-radius-topleft: 3px;
	    -moz-border-radius-topright: 3px;
	         border-top-left-radius: 3px;
	        border-top-right-radius: 3px;
}
.item-img-thumbnail {
	position: relative;
}
.item-img-thumbnail img {
	height: auto;
	vertical-align: top;
}
.item-img-thumbnail .date {
	display: inline-block;
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 2px 10px;
	font-size: 20px;
	line-height: 20px;
	color: #fff;
	background-color: rgba(24,157,202,0.9);
	background-image: linear-gradient(to right, #001f67, #2175be);
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;	
}
.item-text p {
	margin-top: 10px;
}
.item-text p big {
	font-size: 50px;
}
.item-footer {
	border-top: 1px solid #e5e5e5;
}
.item-footer h6 {
	padding: 0 10px 10px 10px;
	color: rgba(51,51,51,0.5);
	text-align: right;
}
.item-footer .restaurant {
	display: table;
	width: 100%;
	padding: 10px 15px;
}
.item-footer .restaurant p,
.item-footer .restaurant .img-logo {
	display: table-cell;
	vertical-align: middle;
}
.item-footer .restaurant .img-logo {
	width: 50px;
}
.item-footer .restaurant .img-logo img {
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #e5e5e5;
	vertical-align: top;
}
.item-footer .restaurant p {
	padding-left: 10px;
}
.item-footer .restaurant p small {
	display: block;
	font-size: 20px;
	color: rgba(51,51,51,0.5);
}
.gobal-live .item {
	border: 0;
}
.gobal-live .item-text {
	padding: 10px;
}
.gobal-live .item-text {
	padding: 10px;
}
.gobal-live .item-text ul {
	padding: 0 0 0 20px;
} 
.gobal-live .item-text p {
	font-family: 'kittithada_medium_65regular';
}
.gobal-live .item-text ul li,
.gobal-live .item-text p {
	font-size: 20px;
	line-height: 20px;	
	color: #888;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
} 

/* pagination */
.pagination {
	display: -ms-flexbox;
	display: flex;
	padding-left: 0;
	list-style: none;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;	
}
.pagination .fa {
	vertical-align: text-top;
}
.page-link {
	position: relative;
	display: block;
	padding: 4px 12px;
	margin-left: -1px;
	line-height: 30px;
	color: #001f67;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #e5e5e5;
}
.page-link:hover {
	z-index: 2;
	color: #fff;
	text-decoration: none;
	background-color: #001f67;
	border-color: #e5e5e5;
}
.page-link:focus {
	z-index: 2;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.page-link:not(:disabled):not(.disabled) {
	cursor: pointer;
}
.page-item:first-child .page-link {
	margin-left: 0;
	border-top-left-radius: 0.25rem;
	border-bottom-left-radius: 0.25rem;
}
.page-item:last-child .page-link {
	border-top-right-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
}
.page-item.active .page-link {
	z-index: 1;
	color: #fff;
	background-color: #001f67;
	border-color: #e5e5e5;
}
.page-item.disabled .page-link {
	color: #999;
	pointer-events: none;
	cursor: auto;
	background-color: #fff;
	border-color: #e5e5e5;
}

.card-columns,
.card-columns .card {
	display: block;
	width: 100%;
}
.card-columns .card {
	margin-bottom: 30px;
}


/* edit 18/10/18 */
a, img {
	outline: none;
}
.item-img-thumbnail {
    display: block;
}
.modal-content {
	border: 0;
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.modal-content img {
	max-width: 100%;
}
.modal-content .close {
	opacity: 1;
}
.modal-content .modal-header {
	padding: 10px 0;
	border: 0;
}
.modal-content .modal-body {
	padding: 0;
	background: #fff;
}
.modal-content .modal-footer {
	background: #fff;
}
.modal-content .modal-body .content,
.modal-content .modal-footer {
	padding: 15px;
}
.modal-content .modal-body h3 {
	font-size: 30px;
	line-height: 32px;
	margin-bottom: 15px;
}
.modal-content .modal-body p {
	font-size: 20px;
	line-height: 22px;
	color: #999;
}
.modal-content .date {
    float: right;
    display: inline-block;
    padding: 2px 10px;
	margin-bottom: 15px;
    font-size: 20px;
    line-height: 20px;
    color: #fff;
    background-color: #001f67;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.modal-content .bg {
	margin: 15px 0;
	padding: 15px;
	background: #f5f5f5;
}
.modal-content .restaurant {
	display: table;
	width: 100%;
	padding: 0;
}
.modal-content .restaurant p,
.modal-content .restaurant .img-logo {
	display: table-cell;
	vertical-align: middle;
}
.modal-content .restaurant .img-logo {
	width: 50px;
}
.modal-content .restaurant .img-logo img {
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #e5e5e5;
	vertical-align: top;
}
.modal-content .restaurant p {
	text-align: left;
	padding-left: 15px;
}
.banner {
	background: url(../images/temp/banner.jpg) no-repeat top center;
	height: 400px;
}
.banner,
.banner .container-fluid,
.banner .row,
.banner .col-12 {
	margin: 0;
	padding: 0;
}
.banner img {
	width: 100%;
	padding: 0;
}
.banner h1 {
	margin-top: 35px;
	font-size: 60px;
	line-height: 1;
	color: #fff;
}
.banner .btn-more {
	margin-top: 30px;
	display: inline-block;
	padding: 10px 20px;
	color: #fff;
	text-align: center;
	background: #001f67;
	text-decoration: none;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;	
}
.banner .btn-more:hover {
	color: #001f67;
	background: #fff;
}

@media (min-width: 768px) {

	/* item */
	.item {
		display: grid;
		height: 100%;
	}
	.item-footer {
		-webkit-align-self: flex-end; 
		align-self: flex-end;
	}
	.card-columns {
		-webkit-column-count: 3;
		-moz-column-count: 3;
		column-count: 3;
		-webkit-column-gap: 1.25rem;
		-moz-column-gap: 1.25rem;
		column-gap: 1.25rem;
		orphans: 1;
		widows: 1;
	}
	.card-columns .card {
		display: inline-block;
		width: 100%;
	}
	
	
	/* edit 18/10/18 */
	.modal-dialog {
		width: 900px;
	}
	.modal-content .modal-body .content,
	.modal-content .modal-footer {
		padding-left: 2.5em;
		padding-right: 2.5em;
	}
	.modal-gobal-live .modal-content .modal-body .content,
	.modal-gobal-live .modal-content .modal-footer {
		padding: 1em;
	}
	.banner .content {
		float: right;
		display: inline-block;
	}
	.gobal-live {
		margin-top: -70px;
	}

}

@media (max-width: 991px) {
	.banner {
		height: 280px;
		background-size: auto 280px;
	}
	.banner h1 {
		margin-top: 30px;
		font-size: 40px;
		line-height: 0.9;
	}
}

@media (max-width: 767px) {
    header .uob-logo,
    header .right-by-you {
         max-height: 28px;
    }
	section {
		margin: 40px 0;
	}
	.banner h1 {
		margin-top: 10px;
		font-size: 28px;
		line-height: 0.8;
	}
	.banner {
		background-image: url(../images/temp/banner_m.jpg);
		background-size: auto 280px;
		height: 280px;
		text-align: center;
	}
	.banner .content {
		margin-top: 40px;
	}
	.banner .btn-more {
		margin-top: 110px;
	}
}