body{
	font-family: 'Prompt', sans-serif;
}

.clear{
	clear: both;
}
.list-group a{
	color:#666666;
	text-decoration:none;
}
.list-group a:hover{
	color:#4d4d4d;
	text-decoration:none;
}
ul li{
	padding:4px;
	list-style-type:none;
}
.footer{
	width: 100%;
	background-color: #f5f5f5;
	font-size:12px;
}
.footer h3{
	font-size:16px;
	color:#bd9d5f;
}
.footer a{
	color: #616161;
	margin-left:-40px;
	text-decoration:none;
}
.footer a:hover{
	color: #000;
	text-decoration:none;
}

.green{
	background: #5cd65c;
}
.green2{
	background: #c4f9c4;
}
.orange{
	background: #ffb84d;
}
.orange2{
	background: #ffebcc;
}
.blue{
	background: #66c2ff;
}
.blue2{
	background: #ccebff;
}
.red{
	background: #ff6666;
}
.red2{
	background: #fcbfbf;
}
.gold{
	background: #999999;
}
.gold2{
	background: #f2f2f2;
}
.menu a{
	color:#999999;
	text-decoration:none;
}
.menu a:hover{
	color:#4d4d4d;
	text-decoration:none;
}
.menu{
	border: 0px solid #ccc;
    border-radius: 5px;
	font-size:14px;
	color:#8c8c8c;
	margin-bottom:20px;
	position: relative;
	top:65px;
	margin-left:20px;
	width:97%;
	height:35px;
	text-align:right;
	padding-right:20px;
	padding-top:8px;
}
.parallelogram h4{
	font-size:18px;
}
.parallelogram {
  width: 200px;
  height: 50px;
  transform: skew(-20deg);
  padding:15px 5px 5px 0px;
  color:#fff;
  border-radius: 5px;
  margin-left:10px;
  margin-bottom:20px;
  text-align:center;
  font-size:12px;
}

.parallelogram_main {
  width: 150px;
  height: 100px;
  transform: skew(20deg);
  background: red;
}
.boss{
	display:block;
}



@media only screen and (max-width: 1024px) {
	.boss{
		display:block;
	}
}
@media screen and (max-width: 768px) {
	.boss{
		display:none;
	}
}
/* สำหรับ mobile */
@media only screen and (max-width: 460px) {
	.boss{
		display:none;
	}
}




.blog-card {
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.6%;
  background: #fff;
  line-height: 1.4;
  border-radius: 5px;
  overflow: hidden;
  z-index: 0;
  min-height:300px;
}
.blog-card a {
  color: inherit;
  text-decoration:none;
}
.blog-card a:hover {
  color: #5ad67d;
}
.blog-card:hover .photo {
  -webkit-transform: scale(1.3) rotate(3deg);
          transform: scale(1.3) rotate(3deg);
}
.blog-card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}
.blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: -webkit-transform .2s;
  transition: transform .2s;
  transition: transform .2s, -webkit-transform .2s;
}
.blog-card .details,
.blog-card .details ul {
  margin: auto;
  padding: 0;
  list-style: none;
}
.blog-card .details {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  margin: auto;
  transition: left .2s;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  width: 100%;
  font-size: .9rem;
}
.blog-card .details a {
  -webkit-text-decoration: dotted underline;
          text-decoration: dotted underline;
}
.blog-card .details ul li {
  display: inline-block;
}
.blog-card .details .author:before {
  margin-right: 10px;
  content: "\f007";
}
.blog-card .details .date:before {
  margin-right: 10px;
  content: "\f133";
}
.blog-card .details .tags ul:before {
  content: "\f02b";
  margin-right: 10px;
}
.blog-card .details .tags li {
  margin-right: 2px;
}
.blog-card .details .tags li:first-child {
  margin-left: -4px;
}
.blog-card .description {
  padding: 1rem;
  background: #fff;
  position: relative;
  z-index: 1;
}
.blog-card .description h1,
.blog-card .description h2 {
  
}
.blog-card .description h1 {
  line-height: 1;
  margin: 0;
  font-size: 1.2rem;
}
.blog-card .description h2 {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #a2a2a2;
  margin-top: 5px;
}
.blog-card .description p {
	font-size:12px;
}
.blog-card .description .read-more {
  text-align: right;
}
.blog-card .description .read-more a {
  color: #5ad67d;
  display: inline-block;
  position: relative;
  text-decoration:none;
}
.blog-card .description .read-more a:after {
  text-decoration:none;
  margin-left: -10px;
  opacity: 0;
  vertical-align: middle;
  transition: margin .3s, opacity .3s;
}
.blog-card .description .read-more a:hover:after {
  margin-left: 5px;
  opacity: 1;
}
.blog-card p {
  position: relative;
  margin: 1rem 0 0;
}
.blog-card p:first-of-type {
  margin-top: 1.25rem;
}
.blog-card p:first-of-type:before {
  content: "";
  position: absolute;
  height: 5px;
  background: #5ad67d;
  width: 99%;
  top: -0.75rem;
  border-radius: 3px;
}
.blog-card:hover .details {
  left: 0%;
}
@media (min-width: 640px) {
  .blog-card {
    flex-direction: row;
    max-width: 900px;
  }
  .blog-card .meta {
    flex-basis: 40%;
    height: auto;
  }
  .blog-card .description {
    flex-basis: 60%;
  }
  .blog-card .description:before {
    -webkit-transform: skewX(-3deg);
            transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }
  .blog-card.alt {
    flex-direction: row-reverse;
  }
  .blog-card.alt .description:before {
    left: inherit;
    right: -10px;
    -webkit-transform: skew(3deg);
            transform: skew(3deg);
  }
  .blog-card.alt .details {
    padding-left: 25px;
  }
}


figure{
	width:100%; /*container-width*/
	height:165px;
	overflow: hidden; /*hide bounds of image */
	margin:0; /*reset margin of figure tag*/
}
figure img{
	width:100%;
	display:block; /*remove inline-block spaces*/  
}


@media only screen and (max-width: 1200px) {
	figure{
		height:250px;
	}
}
@media only screen and (max-width: 990px) {
	figure{
		height:220px;
	}
}
@media screen and (max-width: 768px) {
	figure{
		height:auto;
	}
}
/* สำหรับ mobile */
@media only screen and (max-width: 460px) {
	figure{
		height:auto;
	}
}


.bar{
	width:100%;
	height:5px;
	border-radius: 2px;
}
.ban{
	padding-top: 5px;
}

.drop-area{
	width:100px; height:25px;
	border: 1px solid #999; text-align: center;
	padding:10px; cursor:pointer;
}

#thumbnail img{width:100px;height:100px;margin:5px;}
canvas{border:1px solid red;}   


.clear{
	clear: both;
}
.activity_img{
	border-radius: 5px;
	border: 1px solid #ccc;
	padding: 3px;
	margin:5px;
	overflow: hidden;
	float:left;
}
.activity_img img{
	height:100px;
}

.box{
	border-radius: 5px;
	border: 1px solid #ccc;
	padding: 20px;
	margin:0px;
}

.card{
	border-radius: 5px;
	border: 1px solid #ccc;
	padding: 3px;
	margin:5px;
	overflow: hidden;
	float:left;
}
.card_bt{
	font-size:14px;
	border: none;
	padding: 2px;
	color: white;
	text-align: center;
	background:red;
	
	cursor: pointer;
	width:100%;
	height:25px;
}

.news_head{
	font-size: 1rem;
	font-weight: 300;
	text-transform: uppercase;
	color: #a2a2a2;
	margin-top: 5px;
}
.news_detail{
	font-size:14px;
	padding-top:20px;
	min-height:150px;
}
.news_date{
	font-size:14px;
	text-align:right;
}