﻿@media (max-width: 576px) {

    /*.carousel-item img {
        width: auto !important;
        height: 270px;
        transform: scale(1.4);
    }*/

    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }

    .carousel-indicators li {
        width: 8px;
        height: 8px;     
        border-radius: 8px;
        margin-right: 12px;
      
    }
    
    .card-deck-calculate 
    {
	 	/*padding-left:0;
	 	padding-right:0;*/
	 	padding-left:15px;
	 	padding-right:15px;
	 	width: 915px;
	}
	
	.card-deck-calculate-scroll-container
	{
		width: 610px;
	    overflow: scroll;
	}
	 .card-deck-calculate .col-sm-3
    {
    	padding-left:5px;
    	padding-right:5px;
    	width: 156px;
	}
	
	.card-deck-related-scroll-container
	{		
	    overflow: scroll;	   
	    margin-top:30px;
	}
	
	.template-card-deck-related
	{
		min-width:761px;
	}
	
	.template-card-deck-related .col-sm-4
	{
		/*width:500px;*/
		margin-left:16px !important;
	}
	
	.btn-readmore-mobile
	{
		margin:0 auto;
		padding-left: 50px;
        padding-right: 50px;
        margin-bottom: 10px;
    	margin-top: 5px;
	}
	
	.breadcrumb-container
	{
		padding:0;
	}
	
	.template-breadcrumb
	{
		padding-left: 0;
	    padding-right: 0;
	    padding-top: 10px !important;
	}
	
	.card-deck
	{
		padding:0;
	}
	
	.product-card-deck
	{
		padding:0 !important;
	}
	
	.list-pager-container
	{
		padding-top:30px;
		padding-bottom:0;
	}
	
	.about-sec:before {
		width:0;
	}
	
	.mobile-search-box
	{
		margin:17px;
		padding:10px;
		margin-top: 20px;
    	margin-bottom: 20px;
    	padding-top:1px;
    	padding-bottom:1px;
	}
	
	.mobile-search-box .search-box
	{
		width:89%;
		font-family: THSarabunNew Bold;
		font-size:17pt;
		color:#575756;
		letter-spacing: .025em;
	}
	
	.calulator-panel
	{
		margin-top:1.5em;
	}
	
	.col-news-right
	{
	    margin-top: 45px;
	}
	
	.carousel-news .carousel-indicators {
    	bottom: -60px !important;
    	padding-top: 45px;
    	z-index: 10;
    	padding-bottom: 20px;
	}
	
	.home-product-container,.home-help-container
	{
		padding-left:20px;
		padding-right:20px;
	}
	.home-news-header-title
	{
		margin-left:20px;
		margin-right:20px;
	}
	.home-product-header-title, .home-help-header-title
	{
		margin-bottom:25px;
	}
	.card-deck-help
	{
		padding-left: 25px !important;
	    padding-right: 25px !important;
	}
	
	/*.content-hilight-news .card-body
	{
		margin-top: 49px;
	}*/
	
	.content-news .list-group-item
	{
		min-height:155px;
	}
	
	.col-news-right .content-news .list-group-item
	{
		padding-top:20px !important; 
	}
		
	.home-newsactivity-container .btn-readmore-mobile
	{
		margin-bottom: 19px;
	    margin-top: 10px;
	}	
	
	.home-help-container
	{
		margin-top:55px;
	}
	
	.content-news-activity  .list-group-item .d-flex
	{
		display:block !important;
	}
	
	.content-news-activity  .list-group-item .d-flex small
	{
		width:100%;
		display:block;
	}
	
	.content-news-activity  .list-group-item 
	{
		padding-bottom:30px;
	}
	
	.home-activity-loc
	{
		margin-top: 12px;
	    display: block;
	    line-height:.9;
	}
	
	.footer-left, .footer-right
	{
		padding-left:30px;
	}
	
	.footer-left
	{
		border-right:none;
	}
	
	.footer
	{
		padding-top:22px;
	}
	
	.footer-content-title {
    	margin-bottom: 10px;
    }
    
    .footer-content
    {
    	padding-bottom: 25px;
    	width:100%;
	}
	.footer-help24-title
	{
		width:100%;
		margin-bottom:0;
	}
	.footer-contact-title
	{
		margin-top: 10px;
	}
	.footer-follow-title
	{
		margin-top: 20px;
	}
	
	.template-container-news-detail .template-share-print
	{
		display:none;
	}
	
	.template-container-news-detail
	{
	
	}
	
	.template-card-deck-activity
	{
		padding:0 !important;
		margin-right:0 !important;
	}
	
	.list-page-filter-panel
	{
		margin-left:-15px !important;
	}
	.list-page-top-title
	{
		margin-right:0 !important;
	}
	
	.template-card-deck-activity .col-sm-4
	{
		border-right:none !important;
	}
	.template-activity-head .col-sm-4
	{
		border-right:none !important;
	}
	
	.reuse-card-templat3-container
	{
		margin-bottom:1em;
	}
	.activity-container
	{
		margin-bottom:20px;
	}
	
	.template-container-activity-detail .title-print-button ,.template-container-activity-detail .template-separator , .title-share-text
	{
		display:none;
	}
	
	.popover
	{
		transform: translate3d(245px, 324px, 0px) !important;
	}
	
	.bs-popover-bottom > .arrow::after {
	    right: 1px;
	    border-width: 0.5rem 0 0.5rem 0.5rem;
	    border-left-color: #fff;
	}
	
	.popover .arrow::before, .popover .arrow::after {
	    position: absolute;
	    display: block;
	    content: "";
	    border-color: transparent;
	    border-style: solid;
	}
	
	.bs-popover-bottom, .bs-popover-auto[x-placement^="bottom"]
	{
		margin-top:0;
	}
	
	.mobile-search-toggle
	{
		margin-right: 24px;
	    float: right;
	    margin-top: 15px;		
	}
	
	.mobile-search-box
	{
		display:none;
		border:1px solid #00A19B;
		padding-right:0;
	}
	
	.containerr
	{
		padding-left:20px;
		padding-right:20px;
	}
	
	/*.template-date-read .template-separator
	{
		display:none;
	}*/
	.template-date-read small
	{
		margin-right:16px;
	}
	
	.carousel-news
	{
		padding-left:20px;
		padding-right:20px;
		padding-top:15px;
	}
	
	.reuse-card-template2 .reuse-card-template2-number
	{
		z-index:1;
		margin-top:5px !important;
	}
	
	.reuse-card-template2 .reuse-card-template2-title
	{
		margin-left: 45px;
	    /*margin-top: -50px !important;	*/
	    margin-top: -33px !important;
	}
	
	.list-page-filter-panel .col-sm-2
	{
		width:40% !important;
		padding-right:0;
	}
	
	.list-page-filter-panel .col-sm-1
	{
		width:20% !important;
	}
	
	.row-head-news .col-sm-9
	{
		width:60% !important;
	}
	
	.row-head-news .col-sm-3
	{
		width:40% !important;
	}
	
	.row-head-news .col-sm-9
	{
		text-align:left;
		padding-left:20px;
	}
	
	.template-card-deck-activity.news .card-body h5
	{
		-webkit-line-clamp:5 !important;
	}
	
	.template-card-deck-activity .card-title
	{
		font-size:19pt !important;
	}
	
	.news .card-body .col-sm-3 small
	{
		margin-left:16px;
	}
	
	.template-card-deck-activity.news .card-body
	{
		padding-left:20px;
		min-height: 180px !important;
	}
	
	.news .card-body .col-sm-9 img
	{
		left:0px !important;
	}
	
	.template-card-deck-activity.news .card-body .col-sm-9
	{
		width:60%;
	}
	
	.template-card-deck-activity.news .card-body .col-sm-3
	{
		width:40%;
	}
	
	.news .card-body .col-sm-3 small
	{
		white-space:nowrap;
	}

	
	.row-head-news
	{
		margin-right:0;
		margin-top:-55px !important;
	}
	
	.list-page-top-title .btn-open-filter
	{
		margin-top: 65px;
	    position: absolute;
	    right: 15px;
	}
	
	.list-page-filter-panel
	{
		margin-top: 75px !important;
	}
	
	/*.list-page-filter-button
	{
		margin-top: 13px;
    	width: 43px;
	}*/
	
	.list-page-title h5
	{
		height: 39px;	  
	    margin-top: 35px;
	    padding-left:23px !important;
	}
	
	.template-card-deck-activity .card-body
	{
		padding-left:13px !important;
		padding-right:13px !important;
	}
	
	.template-card-deck-activity .row .col-sm-4
	{
		padding-right:100px;
	}
	
	.activity-action-row .activity-media
	{
	    margin: 10px auto;   
    	float: none;
    	font-size:13pt;
    	width:234px;
	}
		
	.template-container-activity-detail
	{
		margin-bottom:60px !important;
	}
	
	.template-container-1 .template-share-print,
	.template-container-2 .template-share-print,
	.template-container-3 .template-share-print
	{
		display:none !important;
	}
	
	.reuse-card-template2 .col-sm-6 img
	{
		width:100% !important;
	}
	
	/*.template-social .template-social-share
	{		
	    margin-bottom: 25px;
	    margin-top: 60px;
	}*/
	
	.template-social .template-social-share
	{
		position: absolute;
	    right: 15px;
	    bottom: 50px;
	}
	
	.template-social
	{
		/*padding-bottom: 109px !important;*/		
		min-height: 100px;
    	margin-bottom: 30px;
	}
	.template-social-tag
	{
		float:none !important;
	}
	
	
	.template-social-tag span
	{
		margin-bottom:10px;
	}
	
	.list-page-filter-panel
	{
		margin-bottom: -50px !important;
	}
	
	.list-page-title .row
	{
		width:100% !important;
		/*margin-top: -42px;*/
		margin-top:-120px;
		
	}
	.list-page-title {
    	margin-top: 110px !important;
	}
	.list-page-title .row .col-sm-6
	{
		width:50%;
		padding-right:0;
	}
	
	.news .card-body .col-sm-3 small
	{
		margin-left:-10px !important;
	}	
	
	.past-activity .card .row
	{
		margin-left:-13px !important;
		margin-right:-13px !important;
	}
	
	.past-activity .card-body .col-sm-2
	{
		width:50%;
		background-color:#e6e7e8;
		border: 1px solid white;
		
	}
	.past-activity .card-body .nav-icon
	{
		margin-top:30px !important;
	}
	.past-activity .card-body .col-sm-8
	{
		padding-left:20px !important;
	}
	
	.header-title-home-knowledge
	{
		margin-bottom:27px;
	}
	
	.knowledge-card
	{
		margin-bottom:25px !important;
	}
	
	.card-deck-calculate .card .card-text
	{
		font-size:14pt !important;
	}
	
	.product-card-deck .card:not(:last-child) {    
    	margin-bottom: 23px;
	}
	
	/*.template-card-deck-related .card
	{
		max-width:235.66px;
	}*/
}

@media (min-width: 576px) {
	.mobile-search-box
	{
		display:none !important;
	}

}
