@charset "utf-8";
/* CSS Document */

.relate {
	margin: 0;
	padding: 0;
	padding-bottom: 34px !important;
	background: url(../images/relate/bg.jpg) top center no-repeat;
}

.relate .top {
	margin: 0;
	padding: 20px 0px;
	font: 30px/39px 'Kanit', Arial, sans-serif;
	color: #ff5800;
}

.relate .top .text-grey {
	color: #646464;
}

.relate .mid {
	margin: 0;
	padding: 0;
}

.relate .mid .relate-block {
	/* width:186px; */
	height:
		auto;
}

.relate .mid .bg-icon {
	margin: 0 auto;
	padding: 0;
	width: 119px;
	height: 119px;
	background: #fff;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	border: 7px solid #ff5800;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.relate .mid .bg-icon img {
	max-width: 100%;
	height: auto;
}

.relate .mid .text {
	margin: 10px 0px;
	padding: 0;
	text-align:
		center;
	font: 14px/20px 'Kanit', Arial, sans-serif;
	/* padding-left: 20px; */
}

.relate .mid .text a {
	color: #333;
}

.relate .mid .text a:hover {
	color: #db5ee8;
}

.relate .bottom {
	margin: 0;
	padding: 0;
	text-align: center;
}


@media (max-width: 374px) {
	...
}

@media (min-width: 375px) and (max-width: 419px) {
	...
}

@media (min-width: 420px) and (max-width: 575px) {
	...
}

@media (min-width: 576px) and (max-width: 767px) {
	...
}

@media (min-width: 768px) and (max-width: 991px) {
	...
}

@media (min-width: 992px) and (max-width: 1199px) {
	.relate .mid .justify-content-lg-center {
		-ms-flex-pack: left !important;
		justify-content: left !important;
	}

}

@media (min-width: 1200px) {
	...
}


/* ******************************************************* */
/* -------------------------------------- */

@media (min-width: 375px) and (max-width: 419px) {
	.relate .owl-theme .owl-nav {
		left: -45px !important;
		right: -45px !important;
		margin-top: -10px !important;
	}
}

@media (min-width: 420px) and (max-width: 575px) {
	.relate .owl-theme .owl-nav {
		left: -45px !important;
		right: -45px !important;
		margin-top: -10px !important;
	}
}

@media (min-width: 576px) and (max-width: 767px) {
	.relate .owl-theme .owl-nav {
		left: -45px !important;
		right: -45px !important;
		margin-top: -10px !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.relate .owl-theme .owl-nav {
		left: -55px !important;
		right: -55px !important;
		margin-top: -10px !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.relate .owl-theme .owl-nav {
		left: -75px !important;
		right: -75px !important;
		margin-top: -10px !important;
	}
}

@media (min-width: 1281px) and (max-width: 1366px) {
	.relate .owl-theme .owl-nav {
		left: -65px !important;
		right: -65px !important;
		margin-top: -10px !important;
	}
}

@media (min-width: 1367px) and (max-width: 1440px) {
	.relate .owl-theme .owl-nav {
		left: -45px !important;
		right: -45px !important;
		margin-top: -10px !important;
	}
}

@media (min-width: 1441px) and (max-width: 1600px) {
	.relate .owl-theme .owl-nav {
		left: -45px !important;
		right: -45px !important;
		margin-top: -10px !important;
	}
}

@media (min-width: 1601px) and (max-width: 1920px) {
	.relate .owl-theme .owl-nav {
		left: -45px !important;
		right: -45px !important;
		margin-top: -10px !important;
	}
}