/* color */
.red {color: #ed2324;}

/* blog article */
.blog-article-wrapper {
	padding: 30px 0;
}
.blog-article-wrapper header {
	position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding-bottom: 15px;
	margin-bottom: 15px;
}
.blog-article-wrapper header .title:after, .owl-icons-wrapper header .title:after, .blog-promotion-articles-related header .title:after, .blog-consulting-form header .title:after {
	content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 144px;
    background: #ed2324;
}
.blog-article-wrapper .image img {
	width: 100%;
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
.blog-article-wrapper table {
	margin-bottom: 0;
}
.blog-article-wrapper .blog-article .text p {
	padding-top: 30px;
	padding-bottom: 30px;
}
.blog-article-wrapper .blog-article .text p a:hover {
    color: #ed1c1a;
}
.blog-article-wrapper .blog-article .first p {
	padding-top: 0 !important;
	padding-bottom: 30px;
}
.blog-article-wrapper header .text p {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.blog-article-wrapper .blog-article .compare .checkbox label {
    /*padding-right: 15px;*/
}
header.head-business-solution {
	display: block;
	padding-bottom: 15px;
    margin-bottom: 0 !important;
}
header.head-business-solution .title:after {
	content: '';
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 0;
    height: 5px;
    width: 144px;
    background: #ff0000;
}
header.head-business-solution .title {
	/*padding-bottom: 0;*/
	margin-bottom: 15px;
}
header.head-business-solution .title:after {
	/*display: none;*/
	left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.blog-article-wrapper header .text p {
	margin: 0;
}
.blog-article-wrapper .text.see-more a {
	color: #ed1c1a;
	font-family: 'Prompt-Medium';
	font-size: 13px;
}
.blog-article-wrapper .text i {
	font-size: 11px;
	font-weight: 600;
}
.blog-article-wrapper .text2 p {
	margin-top: 40px;
}
.blog-article-wrapper .text3 p {
	margin-top: 40px;
	margin-bottom: 40px;
}
.blog-article-wrapper .blog-article {
	/*padding: 0 40px;*/
}
.blog-article-wrapper .blog-article p {
	margin: 0;
}
.blog-article-wrapper .blog-article .text-intro p {
    line-height: 22px;
    margin: 0 0 15px;
}
.blog-article-wrapper .blog-article .see-more p {
	padding: 0;
}
.blog-article-wrapper .blog-article .text .see-more p {
	padding-bottom: 30px;
}
.blog-article-wrapper .blog-article .image0 img {
    max-width: 100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius:  0;
}
.blog-article-wrapper .blog-article .image img {
	max-width: 100%;
	-webkit-border-top-left-radius: 8px;
	-moz-border-top-left-radius: 8px;
	border-top-left-radius:  8px;
	-webkit-border-top-right-radius: 8px;
	-moz-border-top-right-radius: 8px;
	border-top-right-radius: 8px;
	-webkit-border-bottom-left-radius: 0;
	-moz-border-bottom-left-radius: 0;
	border-bottom-left-radius:  0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-bottom-right-radius: 0;
	border-bottom-right-radius: 0;
}
.blog-article-wrapper .blog-article .image2 img {
	max-width: 100%;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius:  8px;
}
.blog-article-wrapper .blog-article article {
    margin-bottom: 30px;
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
	-webkit-box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
	 -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.blog-article-wrapper .blog-article article:hover {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 8px 16px 0 rgba(0, 0, 0, 0.1), 0 16px 32px 0 rgba(0, 0, 0, 0.1);
	color: #ed2324;
}
.blog-article-wrapper .blog-article article a:hover {
	color: #ed2324;
}
.blog-article-wrapper .blog-article article h2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 10px;
	white-space: normal;
}
.blog-article-wrapper article .entry-block {
    height: 100%;
}
.blog-article-wrapper article .entry-block h2 {
    color: #ffffff;
    text-align: center;
}

/* silder icons */
.owl-icons-wrapper header {
	position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding-bottom: 15px;
	margin-bottom: 15px;
}
.owl-icons-wrapper header .text {
	font-family: 'Prompt-Medium';
	font-size: 16px;
}

/* silder blog article */
.owl-blog-article-wrapper {
    padding: 0 0 40px;
    position: relative;
}
.owl-blog-article-wrapper .container {
    background-color: white;
}
.owl-blog-article-wrapper .owl-blog-article {
    position: relative;
    padding: 15px 0;
}
@media (min-width: 992px) {
    .owl-blog-article-wrapper .owl-blog-article {
        padding: 0 40px;
    }
}
.owl-blog-article-wrapper .text a {
	color: #ed1c1a;
}
.owl-blog-article-wrapper .text i {
	font-size: 11px;
	font-weight: 600;
}
.owl-blog-article article {
	margin: 0 auto;
    overflow: hidden;
	padding: 0 15px 40px;
}
.owl-blog-article article a {
	display: block;
	-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
.owl-blog-article article a:hover {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 8px 16px 0 rgba(0, 0, 0, 0.1), 0 16px 32px 0 rgba(0, 0, 0, 0.1);
}
.owl-blog-article-wrapper .owl-blog-article.owl-theme .owl-controls .owl-buttons .owl-prev {
    top: 40%;
}
.owl-blog-article-wrapper .owl-blog-article.owl-theme .owl-controls .owl-buttons .owl-next {
    top: 40%;
}
.owl-blog-article-wrapper .owl-blog-article.owl-theme .owl-controls .owl-buttons div span {
    color: #5a5a5a;
}
.owl-blog-article-wrapper .owl-carousel .owl-item img {
	-webkit-border-top-left-radius: 8px;
	-moz-border-top-left-radius: 8px;
	border-top-left-radius:  8px;
	-webkit-border-top-right-radius: 8px;
	-moz-border-top-right-radius: 8px;
	border-top-right-radius: 8px;
}
.owl-blog-download.owl-theme .owl-controls .owl-buttons .owl-prev {
   	top: 37%;
	left: -3%;
}
.owl-blog-download.owl-theme .owl-controls .owl-buttons .owl-next {
    top: 37%;
	right: -3%;
}
.owl-blog-download.owl-theme .owl-controls .owl-buttons div span {
    color: #ed1c1a;
}

/* ไอคอนที่เป็นกรอบสี่เหลี่ยม */
.blog-icons2-wrapper {
	padding: 30px 0;
}
.box-icons2 {
	padding: 30px 0;
}
.icons2 {
	/*margin: 0 0 20px;*/
}
.icons2 figure {
	float: left;
    width: 180px;
    height: 180px;
    margin: 0 20px;
    overflow: hidden;
    background-color: white;
    /*border: 1px solid #e0e0e0;*/
    padding: 15px;
	/*-moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;*/
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    text-align: center;
}
.icons2 figure img {
   	width: 100%;
    height: auto;
}
.icons2 figure figcaption {
	font-family: 'Prompt-Medium';
    margin-top: 5px;
    padding: 0;
    text-transform: uppercase;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

/* ไอคอนที่เป็นกรอบสี่เหลี่ยม2 */
.blog-icons3-wrapper {padding: 30px 0;}
.icons3 {margin: 0 0 20px;}
.icons3 figure {
    max-width: 180px;
    margin: 0 20px;
    overflow: hidden;
    background-color: white;
    /*border: 1px solid #e0e0e0;*/
    padding: 15px;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    text-align: center;
}
.icons3 figure img {
   	width: 100%;
    height: auto;
}
.icons3 figure figcaption {
	font-family: 'DBHelvethaicaX65Med';
    margin-top: 5px;
    padding: 0;
    text-transform: uppercase;
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

/* ไอคอนที่เป็นกรอบสี่เหลี่ยม+เนื้อหา */
.blog-icons4-wrapper {
	padding: 30px 0;
}
.box-icons4 {
	padding: 30px 0;
}
.icons4 {
	/*margin: 0 0 20px;*/
}
.icons4 .box-text {
	float: left;
	width: 222px;
}
.icons4 figure {
	max-width: 180px;
	margin: 0 auto 15px;
   /* margin: 0 0 15px;*/
    overflow: hidden;
    background-color: white;    
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    text-align: center;
}
.icons4 a figure {
	display: block;
}
.icons4 a figure:hover img {
    filter: invert(16%) sepia(99%) saturate(3817%) hue-rotate(349deg) brightness(94%) contrast(97%);
}
.icons4 a figure:hover figcaption {
    color: #ed2324;
}
.icons4 a figure:hover .icons-detail {
    color: #ed2324;
}
.icons4 figure img {
   	width: 100%;
    height: auto;
	/*border: 1px solid #e0e0e0;*/
    padding: 15px;
}
.icons4 figure figcaption {
	font-family: 'DBHelvethaicaX65Med';
    margin-top: 10px;
    padding: 0;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    text-align: center;
}
.icons4 figure .icons-detail {
	line-height: 1;
}

.icons41 {
    /*margin: 0 0 20px;*/
}
.icons41 .box-text {
    float: left;
    width: 222px;
}
.icons41 figure {
    max-width: 180px;
    margin: 0 auto;
   /* margin: 0 0 15px;*/
    overflow: hidden;
    background-color: white;    
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    text-align: center;
}
.icons41 a figure {
    display: block;
}
.icons41 a figure:hover img {
    /*filter: invert(16%) sepia(99%) saturate(3817%) hue-rotate(349deg) brightness(94%) contrast(97%);*/
}
.icons41 a figure:hover figcaption {
    color: #ed2324;
}
.icons41 a figure:hover .icons-detail {
    color: #ed2324;
}
.icons41 figure img {
    width: 100%;
    height: auto;
    /*border: 1px solid #e0e0e0;*/
    padding: 15px;
}
.icons41 figure figcaption {
    font-family: 'DBHelvethaicaX65Med';
    margin-top: 10px;
    padding: 0;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    text-align: center;
    line-height: 24px;
}
.icons41 figure .icons-detail {
    line-height: 1;
}

/* sort info */
#portfolio .mix {
  display: none;
}
.sort-article .btn:active, .btn.active {
	-webkit-box-shadow: none;
    box-shadow: none;
}
.sort-article .controls a {
	cursor: pointer;
	padding: 0 15px;
}
.sort-article .controls a.active {
	color: #ed2324;
}

/* sort info */
#living .mix {
  display: none;
}
.blog-living .btn:active, .btn.active {
	-webkit-box-shadow: none;
    box-shadow: none;
}
.blog-living .controls a {
	cursor: pointer;
	padding: 0 15px;
}
.blog-living .controls a.active {
	color: #ed2324;
}

/* box grid */
/*.grid-item { width: 200px; }
.grid-item--width2 { width: 400px; }*/
.grid-item {
	width: 25%;
	padding: 0 15px;
}

.table .thead-red th {
    color: #fff;
    background-color: #ed2324;
    border-color: #dddddd;
}
.icon-p {
	/*line-height: 0;
	padding-right: 5px;*/
}
.btn-edit {
	margin-top: 22px;
}
.btn-edit button {
	min-width: 100%;
	display: inline-block;
}
.icon-del {
	padding: 5px 10px 0;
}
.icon-del i {
	cursor: pointer;
	font-size: inherit;
}
.icon-del i:hover {
	color: #ed2324;
}
.inline-block {
	display: inline-block;
}
.sort-margin {
	margin-bottom: 30px;
}

/* background black text */
.blog-article-wrapper .box-title-black {
    position: relative;
	/*margin-bottom: 30px;*/
}
.blog-article-wrapper .box-title-black .image {
    height: auto;
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
.blog-article-wrapper .box-title-black .image img {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
.blog-article-wrapper .box-title-black .image:before {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    opacity: 1;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
.blog-article-wrapper .box-title-black .entry-block {
    background-color: transparent;
    width: 100%;
	height: 100%;
    top: 0;
    overflow: hidden;
    position: absolute;
}
.blog-article-wrapper .box-title-black .entry-block h2 {
    color: #ffffff;
    text-align: center;
	margin-bottom: 0;
}
