
@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 {
	-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, h4 {
	font-family: 'kittithada_medium_65regular';
}
h2 i, h3 i, 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;
}


/* 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;
}

.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
	margin-left: -50px;
}
.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
    margin-right: -50px;
}

@media screen and (max-width: 991px) {
	.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
		margin-left: -40px;
	}
	.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
	    margin-right: -40px;
	}
}
@media screen and (max-width: 767px) {
	.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
		left: 30%;
    	margin-left: -15px;
	}
	.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
		right: 30%;
    	margin-right: -15px;
	}
}

/* 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:hover {
	/*background: #f9f9f9;*/
	background-color: rgba(0, 36, 105, 0.05);
}
.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(0, 36, 105, 0.9);
	-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-body h6 {
	padding: 0 10px 10px 10px;
	color: rgba(51,51,51,0.5);
}
.item-footer {
    /*height: 235px;*/
    /*overflow: hidden;*/
	border-top: 1px solid #e5e5e5;
}
.item-footer h6 {
	padding: 0 10px 10px 10px;
	border-bottom: 1px solid #e5e5e5;
	color: rgba(51,51,51,0.5);
}
.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;
	/*height: 200px;*/
	font-size: 20px;
	color: rgba(51,51,51,0.5);
}


/* 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;
}


@media (min-width: 768px) {

	/* item */
	.item {
		display: grid;
		height: 100%;
	}
	.item-footer {
		/*height: 235px;*/
	    /* overflow: hidden; */
	    -webkit-align-self: flex-end;
	    align-self: flex-end;
	}

}

/* 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;*/
     margin-top: 5px;
     padding: 15px;
     background: #f5f5f5;
}
.t-c {
	margin: 15px 0;
}
 .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;
}
 @media (min-width: 768px) {
    /* 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;
    }
}
 @media (max-width: 767px) {
    /* edit 5/11/18 */
    header .uob-logo,
    header .right-by-you {
         max-height: 28px;
    }
}

.cookie-content .content-th p,
.cookie-content .content-th a,
.cookie-content .content-th a#more-cookie-detail,
.cookie-content .ask-for-cookie {
    line-height: 1;
    font-size: 20px !important;
}

