@charset "utf-8";
/* Test 21/09/2021 */
/* default, light mode styles set with variables */
:root {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;

    --news-body-bg-light:#ffffff; 
    --news-body-color-light:#222222;
    --news-title-light:#000;
    --news-sub-head-light:#808080;
    --news-headwidget-bg-light:#ffffff;
    --news-headwidget-color-light:#090909;
    --news-headwidget-before-light:#000000;
    --news-headwidget-left-before-light:#e5e5e5;
    --news-detail-bg-light:rgba(253, 253, 253, 0.35) ;
    --news-detail-tagcolor-light:#6c6c6c;
    --news-widget-color-light:#000000;
    --news-blocknews-border-light:#eeeeee;
    --news-countview-light:#000000;
    --news-countview-text-light:#393939;
    --news-countview-border-light:#000000;
    --news-circle-color-light:#808080;
    --news-circle-bg-light:#e5e5e5;
    --news-spec-bg-light:#ffffff;
    --news-spec-color-light:#222222;
    --news-nextpost-p-light:#000000;
    --news-nextpost-bg-light:#ffffff;
    --news-nextpost-color-light:#000000;
    --news-nextposthead-color-light:#1e1e1e;
    --news-second-border-light:#dddddd;
    --news-cate-color-light:#000000;
    --news-ajaxticker-light:#000000;
    --news-backtop-bg-light:#cfcfcf;
    --news-bg-light:#e5e5e5;
    --news-dark-block-light:#ffffff;
    --news-topnews-bg-light:#e5e5e5;
    --news-widget-bg-light:#e5e5e5;
    --news-blackwhite-color-light:#000000;
    --news-widgetdark-bg-light : #e5e5e5;
    --news-widgetdark-color-light : #191919;
    --news-filter-light:none;
    --news-menuicon-opacity-light:1.0;
    --news-arrow-left-light: url("https://www.siamphone.com/images/btn_left_black.png") 55% 6px no-repeat;
    --news-arrow-right-light:url("https://www.siamphone.com/images/btn_right_black.png") 40% 5px no-repeat;


    --news-body-bg-dark:#222222;
    --news-body-color-dark:#dddddd;
    --news-title-dark:#fff;
    --news-sub-head-dark:#aaaaaa;
    --news-headwidget-bg-dark:#222222;
    --news-headwidget-color-dark:#ffffff;
    --news-headwidget-before-dark:#aaaaaa;
    --news-headwidget-left-before-dark:#aaaaaa;
    --news-detail-bg-dark:transparent;
    --news-detail-tagcolor-dark:#ffffff;
    --news-widget-color-dark:#dddddd;
    --news-blocknews-border-dark:#666666;
    --news-countview-dark:#ffffff;
    --news-countview-text-dark:#dddddd;
    --news-countview-border-dark:#666666;
    --news-circle-color-dark:#e5e5e5;
    --news-circle-bg-dark:#444444;
    --news-spec-bg-dark:#222222;
    --news-spec-color-dark:#ffffff;
    --news-nextpost-p-dark:#666666;
    --news-nextpost-bg-dark:#222222;
    --news-nextpost-color-dark:#ffffff;
    --news-nextposthead-color-dark:#dddddd;
    --news-second-border-dark:#666666;
    --news-cate-color-dark:#aaaaaa;
    --news-ajaxticker-dark:#ffffff;
    --news-backtop-bg-dark:#353535;
    --news-bg-dark:#222222;
    --news-dark-block-dark:#dddddd;
    --news-topnews-bg-dark:#505050;
    --news-widget-bg-dark:#505050;
    --news-blackwhite-color-dark:#ffffff;
    --news-widgetdark-bg-dark : #505050;
    --news-widgetdark-color-dark : #fff;
    --news-filter-dark:invert(1);
    --news-menuicon-opacity-dark:0.6;
    
    --news-arrow-left-dark:url("https://www.siamphone.com/images/btn_left.png") 55% 6px no-repeat;
    --news-arrow-right-dark:url("https://www.siamphone.com/images/btn_right.png") 40% 5px no-repeat;
}


/*dark-mode styles*/
@media(prefers-color-scheme: dark){
    :root {
    --news-body-bg:var(--news-body-bg-dark);
    --news-body-color:var(--news-body-color-dark);
    --news-title:var(--news-title-dark);
    --news-sub-head:var(--news-sub-head-dark);
    --news-headwidget-bg:var(--news-headwidget-bg-dark);
    --news-headwidget-color:var(--news-headwidget-color-dark);
    --news-headwidget-before:var(--news-headwidget-before-dark);
    --news-headwidget-left-before:var(--news-headwidget-left-before-dark);
    --news-detail-bg:var(--news-detail-bg-dark);
    --news-detail-tagcolor:var(--news-detail-tagcolor-dark);
    --news-widget-color:var(--news-widget-color-dark);
    --news-blocknews-border:var(--news-blocknews-border-dark);
    --news-countview:var(--news-countview-dark);
    --news-countview-text:var(--news-countview-text-dark);
    --news-countview-border:var(--news-countview-border-dark);
    --news-circle-color:var(--news-circle-color-dark);
    --news-circle-bg:var(--news-circle-bg-dark);
    --news-spec-bg:var(--news-spec-bg-dark);
    --news-spec-color:var(--news-spec-color-dark);
    --news-nextpost-p:var(--news-nextpost-p-dark);
    --news-nextpost-bg:var(--news-nextpost-bg-dark);
    --news-nextpost-color:var(--news-nextpost-color-dark);
    --news-nextposthead-color:var(--news-nextposthead-color-dark);
    --news-second-border:var(--news-second-border-dark);
    --news-cate-color:var(--news-cate-color-dark);
    --news-ajaxticker:var(--news-ajaxticker-dark);
    --news-backtop-bg:var(--news-backtop-bg-dark);
    --news-dark-bg:var(--news-dark-bg-dark);
    --news-dark-block:var(--news-dark-block-dark);
    --news-topnews-bg:var(--news-topnews-bg-dark);
    --news-widget-bg:var(--news-widget-bg-dark);
    --news-blackwhite-color:var(--news-blackwhite-color-dark);
    --news-widgetdark-bg : var(--news-widgetdark-bg-dark);
    --news-widgetdark-color : var(--news-widgetdark-color-dark);
    --news-filter:var(--news-filter-dark);
    --news-menuicon-opacity:var(--news-menuicon-opacity-dark);
    --news-arrow-left:var(--news-arrow-left-dark);
    --news-arrow-right:var(--news-arrow-right-dark);
    }

    #back-top span {
        background: var(--news-backtop-bg) url(//www.siamphone.com/images/arrow_up_wh.png) no-repeat center center;
        background-size: 25px;
    }
    .model_list_item_image_vertical img {
        border-radius: 8px;
    }
    .news_tag strong{
        background: url('//www.siamphone.com/images/corner.png') no-repeat scroll right top #cc0000;
    }
    .bottom_navigate a.previous_page {
        background: url("https://www.siamphone.com/images/btn_left.png") 55% 6px no-repeat;
    }
    .bottom_navigate a.next_page{
        background: url("https://www.siamphone.com/images/btn_right.png") 40% 5px no-repeat;
    }

}

@media(prefers-color-scheme: light){
    :root {
        --news-body-bg:var(--news-body-bg-light);
        --news-body-color:var(--news-body-color-light);
        --news-title:var(--news-title-light);
        --news-sub-head:var(--news-sub-head-light);
        --news-headwidget-bg:var(--news-headwidget-bg-light);
        --news-headwidget-color:var(--news-headwidget-color-light);
        --news-headwidget-before:var(--news-headwidget-before-light);
        --news-headwidget-left-before:var(--news-headwidget-left-before-light);
        --news-detail-bg:var(--news-detail-bg-light);
        --news-detail-tagcolor:var(--news-detail-tagcolor-light);
        --news-widget-color:var(--news-widget-color-light);
        --news-blocknews-border:var(--news-blocknews-border-light);
        --news-countview:var(--news-countview-light);
        --news-countview-text:var(--news-countview-text-light);
        --news-countview-border:var(--news-countview-border-light);
        --news-circle-color:var(--news-circle-color-light);
        --news-circle-bg:var(--news-circle-bg-light);
        --news-spec-bg:var(--news-spec-bg-light);
        --news-spec-color:var(--news-spec-color-light);
        --news-nextpost-p:var(--news-nextpost-p-light);
        --news-nextpost-bg:var(--news-nextpost-bg-light);
        --news-nextpost-color:var(--news-nextpost-color-light);
        --news-nextposthead-color:var(--news-nextposthead-color-light);
        --news-second-border:var(--news-second-border-light);
        --news-cate-color:var(--news-cate-color-light);
        --news-ajaxticker:var(--news-ajaxticker-light);
        --news-backtop-bg:var(--news-backtop-bg-light);
        --news-dark-bg:var(--news-dark-bg-light);
        --news-dark-block:var(--news-dark-block-light);
        --news-topnews-bg:var(--news-topnews-bg-light);
        --news-widget-bg:var(--news-widget-bg-light);
        --news-blackwhite-color:var(--news-blackwhite-color-light);
        --news-widgetdark-bg : var(--news-widgetdark-bg-light);
        --news-widgetdark-color : var(--news-widgetdark-color-light);
        --news-filter:var(--news-filter-light);
        --news-menuicon-opacity:var(--news-menuicon-opacity-light);
        
        --news-arrow-left:var(--news-arrow-left-light);
        --news-arrow-right:var(--news-arrow-right-light);
    }

    .bottom_navigate a.previous_page {
        background: url("https://www.siamphone.com/images/btn_left_black.png") 55% 6px no-repeat;
    }
    .bottom_navigate a.next_page{
        background: url("https://www.siamphone.com/images/btn_right_black.png") 40% 5px no-repeat;
    }
}

[color-scheme="dark"]{
    --news-body-bg:var(--news-body-bg-dark);
    --news-body-color:var(--news-body-color-dark);
    --news-title:var(--news-title-dark);
    --news-sub-head:var(--news-sub-head-dark);
    --news-headwidget-bg:var(--news-headwidget-bg-dark);
    --news-headwidget-color:var(--news-headwidget-color-dark);
    --news-headwidget-before:var(--news-headwidget-before-dark);
    --news-headwidget-left-before:var(--news-headwidget-left-before-dark);
    --news-detail-bg:var(--news-detail-bg-dark);
    --news-detail-tagcolor:var(--news-detail-tagcolor-dark);
    --news-widget-color:var(--news-widget-color-dark);
    --news-blocknews-border:var(--news-blocknews-border-dark);
    --news-countview:var(--news-countview-dark);
    --news-countview-text:var(--news-countview-text-dark);
    --news-countview-border:var(--news-countview-border-dark);
    --news-circle-color:var(--news-circle-color-dark);
    --news-circle-bg:var(--news-circle-bg-dark);
    --news-spec-bg:var(--news-spec-bg-dark);
    --news-spec-color:var(--news-spec-color-dark);
    --news-nextpost-p:var(--news-nextpost-p-dark);
    --news-nextpost-bg:var(--news-nextpost-bg-dark);
    --news-nextpost-color:var(--news-nextpost-color-dark);
    --news-nextposthead-color:var(--news-nextposthead-color-dark);
    --news-second-border:var(--news-second-border-dark);
    --news-cate-color:var(--news-cate-color-dark);
    --news-ajaxticker:var(--news-ajaxticker-dark);
    --news-backtop-bg:var(--news-backtop-bg-dark);
    --news-dark-bg:var(--news-dark-bg-dark);
    --news-dark-block:var(--news-dark-block-dark);
    --news-topnews-bg:var(--news-topnews-bg-dark);
    --news-widget-bg:var(--news-widget-bg-dark);
    --news-blackwhite-color:var(--news-blackwhite-color-dark);
    --news-filter:var(--news-filter-dark);
    --news-menuicon-opacity:var(--news-menuicon-opacity-dark);
    
    --news-arrow-left:var(--news-arrow-left-dark);
    --news-arrow-right:var(--news-arrow-right-dark);
  }
  
[color-scheme="light"] {
    --news-body-bg:var(--news-body-bg-light);
    --news-body-color:var(--news-body-color-light);
    --news-title:var(--news-title-light);
    --news-sub-head:var(--news-sub-head-light);
    --news-headwidget-bg:var(--news-headwidget-bg-light);
    --news-headwidget-color:var(--news-headwidget-color-light);
    --news-headwidget-before:var(--news-headwidget-before-light);
    --news-headwidget-left-before:var(--news-headwidget-left-before-light);
    --news-detail-bg:var(--news-detail-bg-light);
    --news-detail-tagcolor:var(--news-detail-tagcolor-light);
    --news-widget-color:var(--news-widget-color-light);
    --news-blocknews-border:var(--news-blocknews-border-light);
    --news-countview:var(--news-countview-light);
    --news-countview-text:var(--news-countview-text-light);
    --news-countview-border:var(--news-countview-border-light);
    --news-circle-color:var(--news-circle-color-light);
    --news-circle-bg:var(--news-circle-bg-light);
    --news-spec-bg:var(--news-spec-bg-light);
    --news-spec-color:var(--news-spec-color-light);
    --news-nextpost-p:var(--news-nextpost-p-light);
    --news-nextpost-bg:var(--news-nextpost-bg-light);
    --news-nextpost-color:var(--news-nextpost-color-light);
    --news-nextposthead-color:var(--news-nextposthead-color-light);
    --news-second-border:var(--news-second-border-light);
    --news-cate-color:var(--news-cate-color-light);
    --news-ajaxticker:var(--news-ajaxticker-light);
    --news-backtop-bg:var(--news-backtop-bg-light);
    --news-dark-bg:var(--news-dark-bg-light);
    --news-dark-block:var(--news-dark-block-light);
    --news-topnews-bg:var(--news-topnews-bg-light);
    --news-widget-bg:var(--news-widget-bg-light);
    --news-blackwhite-color:var(--news-blackwhite-color-light);
    --news-filter:var(--news-filter-light);
    --news-menuicon-opacity:var(--news-menuicon-opacity-light);
    --news-arrow-left:var(--news-arrow-left-light);
    --news-arrow-right:var(--news-arrow-right-light);
  }  

.mode-switch {
    display: block !important;
}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

body {
    background: var(--news-body-bg);
    color: var(--news-body-color);
    font-family: 'Kanit';
    font-size: 1rem;
    font-weight: 400;
}

h1.headNews a, .news_source a{
    color:var(--news-title);
}
.sub_head ,.sub_head a{
    color:var(--news-sub-head);
}
.header-widget h3, .header-widget h3 a, .header-widget-left h3{
    background:var(--news-headwidget-bg);
    color:var(--news-headwidget-color);
}
.header-widget:before{
    background:var(--news-headwidget-before);
}
 .header-widget-left:before{
    background:var(--news-headwidget-left-before);
}
.newsDetail{
    background:var(--news-detail-bg);
}
.newsDetail a{
    color:var(--news-detail-tagcolor);
}
.boxTopfb p a, .block_news ul li a, .block_fourth ul li a.linkHead, .review a, .oneblock .second ul li a{
    color:var(--news-widget-color);
}
.boxTopfb p a:hover, .block_news ul li a:hover, .block_fourth ul li a:hover.linkHead, .review a:hover, .oneblock .second ul li a:hover{
    color:#007bff;
}
.block_news ul li{
    /* border-bottom:1px dashed var(--news-blocknews-border); */
}
.shared .count span, .shared .viewBadges span, .shared-small p{
    color:var(--news-countview);
}
.shared .count font, .shared .viewBadges font, .shr_social p{
    color:var(--news-countview-text);
}
.shared .viewBadges{
    border-right:1px solid var(--news-countview-border);
}
.block_news ul li .theCircle{
    color:var(--news-circle-color);
}
.block_news ul li .theCircle:after{
    background:var(--news-circle-bg);
}
.oneblock .second ul li{
    /* border-bottom: 1px dashed var(--news-second-border); */
}
.menu-cate li a.top-cate,.menu-cate li a{
    color:var(--news-cate-color);
}
#ajaxticker , #ajaxticker a{
    color:var(--news-ajaxticker);
}
.display_content_model_home, 
.model_list_item, 
.model_list_item_name{
    background-color: var(--news-spec-bg);
}
.model_list_item_name_vertical a{
    color:var(--news-spec-color);
}

.bottom_navigate p{
    background:var(--news-nextpost-p);
}
.bottom_navigate a.previous_page, .bottom_navigate a.next_page{
    background-color: var(--news-nextpost-bg);
    color:var(--news-nextpost-color);
    background-repeat: no-repeat;

}
.bottom_navigate span.txt{
    color:var(--news-nextposthead-color);
}

.block-popular-one h3, .block-popular-one p, .block-relate ul li h3{
    background:var(--news-dark-block);
}

.dark{
    background: var(--news-dark-bg);
}

/* ######################################################################## */


#back-top span {
    background: var(--news-backtop-bg) url(//www.siamphone.com/images/ar-top.png) no-repeat center center;
    background-size: 25px;
}

.localNews em {
    filter: brightness(1) invert(1);
}
.globalNews em {
    background-image: url(https://news.siamphone.com/images/world_map_wh.png);
}

#back-top span {
    background: var(--news-backtop-bg) url(//www.siamphone.com/images/arrow_up_wh.png) no-repeat center center;
    background-size: 25px;
}
.light-mode #back-top span {
    background:var(--news-backtop-bg) url(//www.siamphone.com/images/ar-top.png) no-repeat center center;
    background-size: 33px;
}


.google-auto-placed {
  height: 0px !important;
  display: none !important;
}

.adsbygoogle_adsbygoogle-noablate {
  margin: auto !important;
}
.adsbygoogle-noablate {
  margin: auto !important;
}




/* CSS Document */
@media (min-width: 1200px) {
    .container {
      max-width: 1200px;
    }
}

.covertitle{
    display: block;
    clear: both;
    overflow: hidden;
    margin:10px 0 10px;
}
h1.headNews{
	margin:0px 0 0;
	font-size: 2.5rem;
	padding: 10px 0 5px;
	display:inline;
	font-family: 'Kanit';
    text-align: left;
    font-weight: 400;
    line-height: 1.3em;
}

h1.headNews a:hover{text-decoration: none;color:#348ce7;}
h2.news-portal, h2.title-news{
    font-weight: 600;
    font-size: 26px;
    margin: 0px 15px 0 0;
    background: #c00;
    display: inline;
    vertical-align: super;
    font-size: 22px;
}
h2.news-portal a, h2.title-news a{color:#fff;text-decoration: none;cursor: pointer;padding: 2px 15px 2px;font-family:'Roboto';font-size: 20px;}
h2.news-portal:hover , h2.title-news:hover{
    background: #348ce7;
}
.sub_head{
    padding: 0 0 5px;
    margin: 0 0 20px;
    color: grey;
    position: relative;
    line-height: 25px;
	overflow:hidden;
	font-size:14px;
	font-weight:300;
}
.sub_head p{
    clear: both;
    margin: 7px 0 0;
	line-height:20px;
}
.sub_head a{
	color: gray;
}
.sub_head em{
    font-size: 14px;
    margin: 0 5px 0 0;
    vertical-align: middle;
    font-weight: 300;
	font-style:normal;
	padding-left:6px;
}
.font_size{
	text-align:right;
    font-size: 18px;
    font-family: 'Kanit';
	margin-top:40px;
}
.font_size a{
    background: #454545;
    color: #fff!important;
    margin: 0;
    text-align: center;
    display: inline-block;
    height: 25px;
    width: 40px;
    padding: 5px 0;
    text-decoration: none;
    font-weight: 300;
	line-height:14px;
}
.font_size a.font_size_18pt{
    font-size: 18px;
    border-radius: 16px 0 0 16px;
    padding-left: 1px;
    border-right:1px solid #3f3f3f;
}
.font_size a.font_size_24pt{
	font-size: 21px;
    line-height: 12px;
    border-radius: 0 16px 16px 0;
    padding-right: 4px;
    border-left: 1px solid #505050;
}

.btn-like{
    background: #fff;
    border: 1px solid #ddd;
    /* padding: 5px 5px 5px 10px; */
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #FFE7E7;
    background-position: 0 0;
    border: 1px solid #FEE0E0;
    color: #f60909;
}
.btn-like i{
    margin-right: 3px;
    font-size: 18px;
    vertical-align: inherit;
}
.btn-like strong{
    font-size: 16px;
    font-weight: 600;
    margin-right: 0;
    font-family: 'Roboto', "Kanit", sans-serif;
    line-height: 12px;
}
.vote-total{
    height: 20px;
    min-width: 20px;
    border-radius: 13px;
    background: #ffffff;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    padding: 0;
    color: #f60909;
    line-height: 18px;
    box-shadow: 1px 1px 5px #f69d9d;
    vertical-align: baseline;
    margin-top: -3px;
}
.btn-like.clicked  i{
    color : #cc0001;
}
.btn-like.clicked {
    color: #000;
    border: 1px solid #000;
}
.btn-like.clicked .vote-total{  
    background: #a59d9d;
}


.firstImg{
	width:100%;
}
.banner-top{
    margin:30px auto 10px;
    display: block;
    text-align: center;
    overflow: hidden;
}
.banner-top img{
    width:100%;
    height:auto;
    max-width: 970px;
    margin:0 auto;
}
.newsDetail{
    font-size: 20px;
    line-height: 36px;
    font-weight: 300;
	width:100%;
	margin:0 auto;
    padding: 2% 3% 2%;
}
.newsDetail a {
    text-decoration: underline;
    word-wrap: break-word;
}
.newsDetail p{
	margin:20px 0;
}
.newsDetail p:first-child{
	margin: 0;
}
.newsDetail p img {
   /*  width: 100%; */
    height:auto;
    margin:0 auto;
 /*    max-width:770px; */
    text-align: center;
   /*  display: block; */
}
/* กรณี อยากได้ภาพเรียงกัน 3 ภาพ */
@media (min-width: 1200px) {
	.newsDetail p.picthumb img{
		display:inline-block;
		width:32%;
		height:auto;
	}
	}
.newsDetail strong{
    font-weight: 500;
}
.globalNews, .localNews{
    padding: 0;
    display: inline-block;
    margin-right:5px;
    border-radius: 12px;
}
.globalNews em, .localNews em{
    background-repeat: no-repeat;
    background-size: 17px;
    width: 15px;
    height: 17px;
    background-position: -1px 0;
    margin: 1px 0 0 0;
    vertical-align: text-top;
    display: inline-block;
}
.localNews em {
    background-image: url(https://news.siamphone.com/images/thailand_map.png);
}
.globalNews em {
 background-image: url(https://news.siamphone.com/images/world_map.png);
}
.globalNews a, .localNews a {
    color: #666a6d;
	font-weight:400;
}
.second-head h2, .second-head h3{
	font-size:19px;
	line-height: 1.8rem;
	margin: 30px 0 20px;
}
.second-head h2 a, .second-head h3 a{
	color:#007bff;
	font-size:19px;
	line-height: 1.8rem;
	font-weight:500;
}
.news_source a{
	/* text-decoration:none; */
	font-weight:300;
}
.news_source p{
	margin:5px 15px 5px 0;
    display: inline-block;
	font-weight:300;
	
/*     word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 95%; */
	line-height: 26px;
}
.news_source strong{
	font-weight:bold;
}
.news_tag{
    display: block;
    font-size: 16px;
	overflow:hidden;
}
.news_tag strong {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGAQMAAADaAn0LAAAABlBMVEX///////9VfPVsAAAAAnRSTlP/AOW3MEoAAAAUSURBVAiZY3BgSGAoYKhgqGFgAAANCAIFnT1znwAAAABJRU5ErkJggg==") no-repeat scroll right top #cc0000;
    color: #FFFFFF;
    float: left;
    font-size: 17px;
    line-height: 13px;
    margin: 6px 6px 0 0;
    height: 22px;
    padding: 3px 8px;
    text-decoration: none;
    font-weight: 400;
}
.news_tag ul {
    padding: 0;
    margin: 0;
}
.news_tag li {
    display: inline-block;
    float: left;
    list-style: none;
	position:relative;
}
.news_tag li a {
	color: #000000;
    float: left;
    line-height: 12px;
    margin: 5px 2px 5px 2px;
    padding: 5px 10px 5px;
    text-decoration: none;
    background: #ffffff;
    font-weight: 400;
    font-size: 15px;
    border-radius: 30px;
    border: 1px solid rgba(232, 232, 232, 0.5);
    background:linear-gradient(135deg, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgb(245, 245, 245) 51%,rgba(255,255,255,1) 100%);
}
.news_tag li:after{
	/* content:","; */
}
.news_tag li:last-child::after{
	content:none;
}

#hotnews-link, #relate_news{
	text-align:left;
}
#hotnews-link {
	margin-bottom:35px;
}
#hotnews-link h5{
    position:relative;
    font-weight: 600;
    line-height: 25px;
    color: var(--news-blackwhite-color);
}
#hotnews-link h5:after{
    content:"";
    border-bottom: 2px solid #008fff;
    width: 160px;
    height: 1px;
    bottom: 0;
    left: 0;
    position: absolute;
}
#hotnews-link ul{
    margin-bottom:15px;
    padding-left: 10px;
}
#hotnews-link ul li{
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 20px;
}
#hotnews-link ul li a{
    color: #007bff;
    font-size:18px;
    font-weight:500;
    text-decoration: none;
}
#hotnews-link ul li a:hover{
    text-decoration:underline;
}
#hotnews-link ul li:before{
    content:"";
}
#hotnews-link ul li:after{
    content:"";
}
#hotnews-link li .col-3{padding:0;}
#hotnews-link li .col-3 img{
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.goto-ggnews{
    margin-bottom:30px;
    text-align:center;
}
.goto-ggnews p{
    font-size: 14px;
    text-align: center;
    display: inline-block;
}
.goto-ggnews a{
    /* width: 100%; */
    display: inline-block;
    /* max-width: 200px; */
    text-align: center;
    padding: 3px 0 5px;
    /* border: 1px solid #eee; */
    border-radius: 5px;
    background-color: var(--news-body-bg);
    margin-left:5px;
}
.goto-ggnews a img{
    width: 120px;
    height: auto;
}



.officialLink{
	text-align: center;
    font-family: 'Roboto', "Kanit", sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin: 20px 0 30px;
}
.officialLink strong{
    font-weight: 600;
    font-size: 1.25rem;
	display:block;
    font-size:23px;
}
.officialLink a{
	color: #007bff;
	display:block;
    line-height: 28px;
}




.block-follow{
    text-align:center;
    margin: 10px 0 50px;
}
.block-follow h5{
    font-weight: 600;
}
.block-follow a{
    display: block;
    color: #007bff;
    font-weight: 500;
}
.block-follow p{
    margin: 10px 0 0;
       font-weight: 300;
}
.block-follow p a{
    color:var(--news-blackwhite-color);
    font-weight:400;
    text-decoration:none;
}
#google-ad-exchange{
    margin-bottom:35px;
}
.bottom_navigate{
	height: 185px;
    padding: 0 0 5px;
    clear: both;
    position: relative;
    font-family: Kanit;
    font-size: 20px;
    margin: 50px 0;
/*     overflow: hidden; */
}
.bottom_navigate a.previous_page {
    width: 47%;
    left: 0;
    position: absolute;
    padding: 0;
    height: 90px;
    background-size: 25px;
    text-align: right;
    background: var(--news-arrow-left);
}
.bottom_navigate a.next_page {
    width: 47%;
    right: 0;
    position: absolute;
    padding: 0;
    height: 90px;
    background-size: 25px;
    float: right;
    background: var(--news-arrow-right);
}
.bottom_navigate span.txt {
    display: inline-block;
    vertical-align: top;
    font-size: 27px;
    font-weight: 200;
    margin: 0;
    line-height: 10px;
    position: absolute;
    top: 13px;
    right: 0;
}
.bottom_navigate a.next_page span.txt {
    left: 0;
	right:auto;
}
.bottom_navigate a.previous_page img {
    width: 165px;
    float: left;
    margin-right: 10px;
	border-radius:8px 8px;
}
.bottom_navigate a.next_page img {
    width: 165px;
    float: right;
    margin-left: 10px;
	border-radius:8px 8px;
}
.bottom_navigate a.next_page font, .bottom_navigate a.previous_page font {
    margin-top: 35px;
    display: block;
    font-family: kanit;
    font-size: 16px;
    line-height: 28px;
    height: 60px;
    overflow: hidden;
    font-weight: 600;
}
.bottom_navigate a.next_page font a, .bottom_navigate a.previous_page font a{
 text-decoration: none;
}
.bottom_navigate p {
    width: 1px;
    height: 90px;
    float: left;
    /*background: #000;*/
    overflow: hidden;
    margin: 0 0 0 50%;
}

/* Shared Social */
#wrapper-shared{
    width: 100%;
    margin: 0 auto;
	clear:both;
	overflow:hidden;
}
.shared{
    overflow: visible;
    padding: 15px 0 15px;
    margin: 0;
	float:left;
	width:100%;
}
.shared .count, .shared .viewBadges,.shared .shr_social{
    width: 50%;
    float: left;
    text-align: center;
    margin: 8px 0 7px;
    height: auto;
    line-height: 20px;
    display: inline-block;
    padding: 0;
}
.shared .count{display:none;}
.shared .viewBadges {
    border-right:1px solid var(--news-body-color);
    padding-bottom: 0;
}
.shared .count p, .shared .viewBadges p {
    margin: 0;
}
.shared .count span, .shared .viewBadges span {
    font-size: 38px;
    text-align: center;
   line-height:100%;
    font-family: 'Roboto';
    font-weight:700;
    display: block;
    margin-bottom:10px;
}
.shared .count font, .shared .viewBadges font {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 300;
}
.shared .count font i, .shared .viewBadges font i {
    padding-right: 3px;
	font-size:12px;
	font-weight:400;
}
.shr_social {
    margin: 5px auto 0;
    overflow: visible;
    width: 100%;
}
.shr_social p{
    margin:0;
    float: left;
    width: 100%;
    text-align: center;
    font-weight: 300;
}
.shr_social ul {
    overflow: visible;
    padding: 0;
    margin: 0;
    width:100%;
	float:right;
	text-align:center;
}
.shr_social li {
    width: 35px;
    margin: 0 0 0;
    list-style-type: none;
    display: inline-block;
}
.shr_social li a {
    font-size: 13px;
    text-align: center;
    width: 100%;
    padding:0;
    float: left;
    color: #fff;
    display: block;
    text-decoration: none;
    font-weight: 100;
	cursor:pointer;
}
.shr_social li a img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: none;
    border-radius: 0;
}
.sp-shorturl-btn{
	background-image:url(https://www.siamphone.com/images/social/icon-link.png);
	background-repeat:no-repeat;
	background-size:40px;
	background-position:center center;
	width: 35px;
	height: 35px;
	display: inline-block;
	
	position:relative;
}
.sp-shorturl-btn span {
	display:none;
}

.sp-showTooltip{
	background-color: #00000095;
	color: white;
	padding: 5px;
	margin-top: -30px;
	position: absolute;
	max-width: 300px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	left: auto !important;
	right: 0;
	top: -22px;
	display: block;
	font-size: 14px;
	font-weight: 300;
}
.sp-showTooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	right: 10px;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #00000095 transparent transparent transparent;
}

/* Search 
#wrapper-search {
    width: 100%;
    margin: 0 auto;
    padding: 3% 5% 5%;
    border: 0 solid #f8f8f8;
    background: #ededed;
    color: #0b0b0b;
}
#wrapper-search input[type="text"]{
	border: #f1f1f1 0px solid;
	padding: 0 15px;
	height: 50px;
	width: 100%;
	margin: 0;
	border-radius:0;
	position: relative;
	text-indent: 26px;
	background: #ffffff url(//www.siamphone.com/images/search_box.png) no-repeat 8px 13px;
	background-size: 24px;
	font-family: 'Kanit';
	font-size: 17px;
}
.quick_search_input{
	clear:both;
	overflow:hidden;
}
.input_qs_spc{
	float:left;
	width:75%;
}
.search-btn{
	float:left;
	width:25%;
}
.search-btn button[type=submit]{
	border: 0;
	width: 100%;
	height: 50px;
	color: #fff;
	border-radius:0;
	font-size: 18px;
	background: #4096ee;
	background: -moz-linear-gradient(left, #4096ee 0%, #2a84e1 100%);
	background: -webkit-linear-gradient(left, #4096ee 0%,#2a84e1 100%);
	background: linear-gradient(to right, #4096ee 0%,#2a84e1 100%);
}
*/
/* wrapper-tabs */
.breakingTabs ul {
    border: 0 solid #000;
    padding: 10px 0;
    list-style: none;
	font-family:'Kanit';
	margin:0;
}
.breakingTabs ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #d2d2d2;
	position:relative;
}
.breakingTabs ul li:hover {
    background: #f8f8f8;
}
.breakingTabs ul li:last-child {
    border-bottom: 0;
}
.breakingTabs ul li a{
	font-weight:300;
    font-size: 16px;
}
.breakingTabs ul li .cate {
    background: #c00;
    display: inline-block;
    color: #fff;
    width: 100px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
	margin:0;
    border-radius: 30px;
	vertical-align: middle;
}
.breakingTabs ul li .cate a {
    display: block;
    color: #fff;
    font-weight: 400;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100px;
    padding: 0 7px;
}
.breakingTabs ul li font {
    font-weight: 400;
    color: #9E9E9E;
    font-size: 12px;
/*     position: absolute;
    right: 0;
    bottom: 11px;
    padding: 2px 8px 2px 5px;
    background: rgb(255, 255, 255); */

}
.breakingTabs ul li font i {
    margin-right: 5px;
}
.breakingTabs ul li img {
	display:block;
	border-radius:8px;
	margin:5px auto 15px;
	width:100%;
}
/* Menu Category */
.menu-cate{
    padding: 0;
    list-style: none;
    margin: 15px 0 0 0;
	
    border-left: 0 solid #e5e5e5;
    border-bottom: 0 solid #e5e5e5;
	padding-left: 0;
}
.menu-cate li{
    display: list-item;
	
    border: 0 solid #e5e5e5;
    border-bottom: 0;
    border-left: 0;
    list-style: none;
    padding:0;
    margin-top:13px;
    /* background: url(https://www.siamphone.com/style/themes/sp2022/images/list-square-black.svg) no-repeat;
    background-size: 6px;
    background-position: 0px 45%;
    padding-left: 15px; 
    padding-right: 10px;*/
}
.menu-cate li a{
/*     display: inline-block;
    padding: 3px 10px;
    background: #f3f3f3;
    margin: 5px 2px;
    border-radius: 3px; */
	padding:5px 0;

	display:inline-block;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    font-size:16px;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.menu-cate li a.top-cate{
	/* background:#171717;
	color:#fff; */
	font-weight:600;
}	
.menu-cate li a i.icon{
    width: 20px;
    height: 20px;
    /* background: url(../images/icon/smartphone.svg); */
    background-size: 16px;
    background-position: 50%;
    background-repeat: no-repeat;
    display: inline-block !important;
    vertical-align: top;
    margin-right: 5px;
    font-size: 18px;    
    vertical-align: sub;
    filter: var(--news-filter);
    opacity:var(--news-menuicon-opacity);
}

.menu-cate li a i.icon-smartphone, .menu-cate li a i.icon-device{background-image: url(../images/icon/smartphone.svg);}
.menu-cate li a i.icon-tablet{background-image: url(../images/icon/tablet.svg);}
.menu-cate li a i.icon-smart-glasses{background-image: url(../images/icon/glasses.svg);}
.menu-cate li a i.icon-smart-home{background-image: url(../images/icon/smarthome.svg);}
.menu-cate li a i.icon-smart-watch{background-image: url(../images/icon/smartwatch.png);}
.menu-cate li a i.icon-phone{background-image: url(../images/icon/smartphone.svg);}
.menu-cate li a i.icon-computer{background-image: url(../images/icon/computer.svg);}
.menu-cate li a i.icon-notebook{background-image: url(../images/icon/notebook.svg);}
.menu-cate li a i.icon-camera{background-image: url(../images/icon/camera.svg);}
.menu-cate li a i.icon-world{background-image: url(../images/icon/world.svg);}
.menu-cate li a i.icon-application{background-image: url(../images/icon/application.svg);}
.menu-cate li a i.icon-science{background-image: url(../images/icon/science.svg);}
.menu-cate li a i.icon-innovation{background-image: url(../images/icon/innovation.svg);}
.menu-cate li a i.icon-ear-phone{background-image: url(../images/icon/headphones.svg);}
.menu-cate li a i.icon-tips{background-image: url(../images/icon/tips.svg);}
.menu-cate li a i.icon-gadget{background-image: url(../images/icon/gadget.svg);}
.menu-cate li a i.icon-game{background-image: url(../images/icon/game.svg);}
.menu-cate li a i.icon-technology, .menu-cate li a i.icon-tech-innovation{background-image: url(../images/icon/technology.svg);}
.menu-cate li a i.icon-promotion{background-image: url(../images/icon/promotion.svg);}
.menu-cate li a i.icon-communication{background-image: url(../images/icon/telecom.svg);}
.menu-cate li a i.icon-software{background-image: url(../images/icon/software.svg);}
.menu-cate li a i.icon-accessory{background-image: url(../images/icon/accessory.svg);}
.menu-cate li a i.icon-electric{background-image: url(../images/icon/electric.svg);}
.menu-cate li a i.icon-car{background-image: url(../images/icon/car.svg);}
.menu-cate li a i.icon-financial{background-image: url(../images/icon/finance.svg);}
.menu-cate li a i.icon-lifestyle{background-image: url(../images/icon/lifestyle.svg);}

 

.menu-cate li:after{
	content:"";
}

#wrapper-ads{margin:30px 0 0;}

/* Hilight */
#wrapper-hilight{

}
 .header-widget{
	text-align: center;
	position:relative;    
}
 .header-widget-left,.header-widget-dark{
 	text-align: left;
	position:relative;    
}
.header-widget:before ,.header-widget-left:before,.header-widget-dark:before{
	content: "";
	height: 2px;
	display: block;
	position: absolute;
	top: 53%;
	width: 100%;
	z-index: 8;
}		
.header-widget:before {
	height:3px;
    top:30%;
}		
.header-widget-dark:before {
    background: #ffffff;
}
.header-widget h3, .header-widget-left h3, .header-widget-dark h3{
	font-size: 2.3rem;			
    z-index: 9;
	position: relative;
	display: inline-block;
	margin: 0 auto;
	padding: 0 10px;
}
.header-widget h2, .header-widget h3{
    line-height: 0.4;
}
.header-widget-left h2, .header-widget-left h3{
	padding: 0 10px 0 0;
}
.header-widget-dark h3{
    background: var(--news-widgetdark-bg);
    color: var(--news-widgetdark-color);
    padding: 0 10px 0 0;
}
.boxTopfb{
	margin: 20px 0 10px;
}
.boxTopfb img{
	width:100%;
	height:auto;
	border:0;
    border-radius: 8px;
}
.boxTopfb p{
	margin:20px 0 10px 0;
}
.boxTopfb p a{
	font-size: 18px;
	line-height: 28px;
	font-weight:500;
}
ul.listLastest_head{
	list-style-type: none;
	padding: 0;
}
ul.listLastest_head li{}
ul.listLastest_head li p{
	margin: 10px 0 5px;
}
ul.listLastest_head li img{
	width: 100%;
	height: auto;
}
ul.listLastest_head li a{
	font-weight:300;
}
.ticker strong{
	font-weight:500;
}



/* Interesting */
.block_fourth{
	overflow:hidden;
	clear:both;
}
.block_fourth ul {
    padding: 0;
    list-style: none;
}
.block_fourth ul li {
    position: relative;
    line-height: 25px;
    margin: 0 0 20px;
    overflow: visible;
	padding-bottom: 20px;
  /*   border-bottom: 1px dashed #eee; */
}
.block_fourth ul li a {
    padding: 0;
    background: 0 0;
    display: block;
    margin: 0;
    overflow: hidden;
    float: left;
    width: 46%;
    font-weight: 400;
}
.block_fourth ul li a img {
    width: 100%;
    height: auto;
    float: left;
	border-radius: 8px;
}
.block_fourth p {
    margin: 0 0 0 5%;
    padding: 0;
    width: 49%;
    float: left;
}
.block_fourth ul li font {
    font-weight: 300;
    font-size: 12px;
    color: grey;
}
.block_fourth ul li a.linkHead {
    overflow: hidden;
    float: right;
    padding: 0;
    margin: 0 0 0 0;
    outline: 0;
    width: 100%;
    height: 80px;
    line-height: 28px;
    font-size: 18px;
	font-weight:300;
}
.block_fourth .share, .block_fourth .view {
    display: block;
    float: left;
    line-height: 20px;
    height: 16px;
    margin: 5px 10px 0 0;
    font-weight: 700;
    font-family: Roboto;
    font-size: 14px;
}
#wrapper-lastupdate ul{
    padding:0;
    margin: 0;
    list-style: none;
    border-radius: 8px;
}
#wrapper-lastupdate ul li {
	padding-bottom:10px;
	padding-top:0;
	border-bottom:0;
}
#wrapper-lastupdate ul li a.linkHead{
	width:100%;
    font-size: 18px;
    line-height: 28px;
}
#wrapper-lastupdate ul li p{
	padding-left: 0;
}
.block_news ul li .theCircle{
	border-radius: 30px;
    position: relative;
    padding: 0;
    display: block;
    text-align: left;
    font-weight: 500;
    font-family: 'Roboto';
    font-size: 14px;
    line-height: 40px;
    text-indent: 25px;
    color: #ffffff;
}
.block_news ul li .theCircle:after{
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 30px;
    display: block;
    position: absolute;
    top: 7px;
    z-index: -1;
    left: 17px;
    background: #7db9e8; 
    background: -moz-linear-gradient(-45deg,  #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
    background: -webkit-linear-gradient(-45deg,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
    background: linear-gradient(135deg,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#1e5799',GradientType=1 ); 
    background: #c00;
}
#wrapper-lastupdate span {
    font-weight: 300;
    font-size: 12px;
    color: grey;
}
#wrapper-lastupdate span i{
    background: url(https://www.siamphone.com/images/iconb_time.png) no-repeat;
    width: 12px;
    height: 12px;
    background-position: center;
    background-size: 125%;
    opacity: 0.6;    
    filter: var(--news-filter);
}
#wrapper-lastupdate span i:before{
    color: transparent;
}


.block_news{
	overflow:hidden;
	clear:both;
}
.block_news ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.block_news ul li {
    position: relative;
	padding-bottom: 15px;
	padding-top: 15px;
    /*border-bottom: 1px dashed #eee;*/
}
.block_news ul li:last-child{
	border-bottom:0;
}
.block_news ul li a {
    display: block;
    overflow: hidden;
    font-weight: 300;
    text-decoration: none;
}
.block_news ul li a img {
    width: 100%;
    height: auto;
	border-radius: 8px;
    margin-top: 5px;
}
.block_news p {
    line-height: 28px;
    font-size: 18px;
    font-weight: 300;
	margin-bottom:0;
}
.block_news ul li span {
    font-weight: 300;
    font-size: 12px;
    color: grey;
}


[class*=" icon-"], [class^=icon-] {
    display: inline-block;
    width: 16px;
    height: 14px;
    margin-top: 1px;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url(//news.siamphone.com/img/glyphicons-halflings.png);
    background-position: 14px 14px;
    background-repeat: no-repeat;
}
.comment, .readmore, .share, .view {
    display: block;
    float: left;
    line-height: 18px;
    height: 16px;
    font-size: 12px;
    font-weight: 100;
    margin: 5px 10px 0 0;
}
.comment .icon-comment, .share .icon-share, .view .icon-user, .view .icon-like {
    display: block;
    float: left;
    margin-right: 3px;
    margin-top: 1px;
}
.icon-user {
    background-position: -168px 1px;
}
.icon-share {
    background-position: -118px -71px;
}
.block_fourth ul li .readmore a{
    width: auto;
    height: 20px;
    font-size: 14px;
    font-weight: 500;
}


.block_forth_list {}
.block_forth_list .header-widget h2 , .block_forth_list .header-widget h3 {
    font-size: 1.65rem;
    font-weight: 500;
}
.block_forth_list .header-widget:before {
    height: 2px;
    background: #e5e5e5;
}
.oneblock .first {
	margin: 0 0 10px;
	border-bottom: 1px dashed #ccc;
	padding-bottom: 10px;
	display:none;
}
.oneblock .first img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}
.block_forth_list .titleNews{		
	margin: 15px 0 5px;
	display: block;
	line-height: 1.5rem;
	height: 72px;
	padding: 0;
	overflow: hidden;
}
.oneblock .second ul {
    padding: 0 0 0 25px;
    font-weight: 300;
    line-height: 25px;
}
.oneblock .second ul li {
    margin: 0 0 15px 0;
    /*border-bottom: 1px dashed #ddd;*/
    padding-bottom: 15px;
}
.oneblock .second ul li:last-child {
    border-bottom: 0;
    margin-bottom: 30px;
}

/* Relate */
.block-relate{

}
.block-relate ul{
	list-style:none;
	padding:0
}
.block-relate ul li{
    margin-bottom: 15px;
    position: relative;
}
.block-relate ul li a{}
.block-relate ul li h3{
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    padding: 10px 10px;
    border-radius: 0 0 8px 8px;
}
.block-relate ul li:last-child {
	display: none;
}
.block-relate img {
	width: 100%;
	border-radius: 8px;
}

/* block-popular */
.block-popular{}
.block-popular font{
    width: auto;
    height: 25px;
    background: rgb(255, 255, 255);
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 22px;
    text-indent: 3px;
    color: #252525;
    border-radius: 40px 0 0 40px;
    line-height: 26px;
    text-align: right;
    padding-right: 38px;
    font-weight: 700;
    font-family: Roboto;
}
.block-popular font i{
    font-family: Roboto;
    position: absolute;
    right: -10px;
    top: -7px;
    font-style: normal;
    background: #cc0000;
    width: 40px;
    height:40px;
    border-radius: 20px;
    color: #fff;
    text-align: center;
    text-indent: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 41px;
}

.block-popular span{
    width: 25px;
    font-size: 20px;
    margin-right: 5px;
}
.block-popular-one{
	position:relative;
}
.cover-popular-one{
    border-radius: 8px 8px 0 0;
}
.block-popular-one font{
    padding-right: 50px;
    height: 40px;
    border-radius: 30px 0 0 30px;
    line-height: 40px;
    font-size: 26px;
    padding-left: 5px;
}
.block-popular-one font i{
    width: 50px;
    height: 50px;
    border-radius: 40px;
    font-size: 45px;
    line-height: 50px;
	top:-5px;
}
.block-popular-one span {
    font-size: 22px;
    margin-right: 10px;
}

.block-popular-one span.writeBy {
    font-size: 13px;
    display: block;
    width: 100%;
    color: #7b7b7b;
    font-weight: 500;
    margin: 0 15px;
    background: #fff;
    padding: 1px 15px 20px;
    border-radius: 0 0 8px 8px;
}
.block-popular img{
    width: 100%;
	height:auto;
    border-radius: 8px 8px 0 0;
}
.block-popular-one h3{
	font-size: 26px;
    line-height: 34px;
    font-weight: 500;
    padding: 20px 15px 20px;
    width: 100%;
    border-radius: 0 0 8px 8px;
}
.block-popular-one p{
    color: #5d5d5d;
    font-weight: 300;
    padding: 8px 15px 20px;
    margin: -8px 15px 0 15px;
    background: #fff;
    width: 100%;
    border-radius: 0 0 8px 8px;
}
.block-popular-sub{}
.block-popular-sub h3{
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    padding: 10px 10px;
    background: #fff;
}
.block-popular .block-relate ul li:last-child {
	display: block;
}
/* wrapper-lastreview */
.review{}
.review img{
	width:100%;
	height:auto;
    border-radius: 8px;
}
.review p.name {
    margin: 20px 0;
	height:86px;
	overflow:hidden;
}
.review a{
	font-size:18px;
	line-height:30px;
}

#back-top {position:fixed;bottom:15px;right:35px;z-index:9999;}#back-top a{display:block;text-align:center;	font:11px/100% Arial, Helvetica, sans-serif;text-transform:uppercase;	text-decoration:none;color:#bbb;-webkit-transition:1s;-moz-transition:1s;transition:1s;}
#back-top a:hover{color:#000;}
#back-top span{width:50px;height:50px;display:block;margin-bottom:7px;background:#cfcfcf url(//www.siamphone.com/images/ar-top.png) no-repeat center center;background-size:33px;-webkit-transition:1s;-moz-transition:1s;transition:1s;opacity:0.8;border-radius: 10%;}

/* Review */
.cover_widget_news {
    clear: both;
    overflow: hidden;
    border: 1px solid #ebebeb;
    margin: 15px 0 0;
    padding: 0;
}
.header_widget_news {
    padding: 8px 15px 8px;
}
.header_widget_news img {
    width: 110px;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}
.header_widget_news .subHeader {
    font-family: 'Kanit';
    font-size: 20px;
    font-weight: 500;
    display: inline-block;
    padding: 0px 0 0 15px;
    line-height: 27px;
    margin: 12px 0 0 0;
}
.header_widget_news .subHeader .id-name-mobile{display:none;}
.header_widget_news .subHeader .id-name{display:inline-block;}
.bottom_news {
    margin-bottom:15px;
}
.cover_widget_news p.content {
    height: auto;
    font-family: 'Kanit';
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;	
    margin:0;
    padding:0; 
}
.cover_widget_news a{
	color:#222;
	text-decoration:none;
	overflow: hidden;
    height: 100%;
    display: block;
    cursor: pointer;
}
ul.column-news {
    overflow: hidden;
    clear: both;
    background: #fff;
    padding: 0;
	margin:0;
}
ul.column-news li {
    padding: 5px 3% 15px;
    width: 50%;
    border-right: 0 solid #ebebeb;
    border-bottom: 0;
    margin-bottom: 0;
    float: left;
    overflow: hidden;
    background: #fff;
}
.column-news-block {
    overflow: hidden;
    clear: both;
    position: relative;
    display: block;
    min-height: 100px;
    background: #fff;
    padding: 0;
}
.column-news-block img {
    width: 100%;
    position: relative;
    display: block;
}
.column-news-block p.content {
    font-family: 'Kanit';
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    margin: 4% auto 0;
    height: 80px;
    display: block;
}
/* new release */
.colunm-spec-block{
	overflow: hidden;
    padding: 0 0;
    margin-top: 10px;
}
.display_content_model_home {
    float: left;
    margin: 0;
    padding: 0 9px;
    min-height: 220px;
    overflow: hidden;
}
.display_content_model_home:last-child{display:none;}

.model_list_item {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 0;
}
.model_list_item .model_list_item_badge {
    float: right;
    position: absolute;
    text-align: right;
    width: 45px;
}
.model_list_item .model_list_item_badge .screen_size {
    border-radius: 10px;
    color: #FFF;
    float: right;
    font-size: 16px;
    height: 20px;
    line-height: 20px;
    margin: 5px 0 0 5px;
    min-width: 12px;
    padding: 0 4px;
    position: relative;
    text-align: center;
    background: #353535;
    width: auto;
    z-index: 1;
    font-family: 'Roboto';
    font-weight: 500;
}
.display_content_pic {
    margin: 0 auto;
    padding: 18px 0 0;
    width: 101px;
    /* height: 120px; */
    text-align: center;
}
#mar_img {
    /* height: 100%; */
}
#mar_img img {
    max-width: 88px;
}
#inner_icon {
    right: 5px;
    top: 20px;
    position: absolute;
}
#inner_handson, #inner_review, #inner_spec {
    margin: 0;
}
#inner_handson, #inner_review {
    top: 30px;
}
.display_content_msg {
    position: relative;
    bottom: 0;
    font: Normal 12px/18px Tahoma,"Microsoft Sans Serif",sans-serif;
    border-radius: 0;
    width: 100%;
    display: table;
    height: 55px;
    padding: 0;
    margin: 0;
    text-align: center;
}
.display_content_msg a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
.middle {
    display: table-cell;
    vertical-align: middle;
}
.inner {
    width: 100%;
}
.inner>div {
    padding: 10px 6px 0;
}
#inner_name a {
	margin: 10px 0 0;
    overflow: hidden;
    display: block;
    color: #222222;
    font-size: 15px;
    text-align: center;
    font-family: 'Roboto';
    margin-bottom: 0;
    font-weight: 500;
    line-height: 22px;
    min-height: 70px;
}
#inner_name span {
    height: 26px;
    line-height: 24px;
    margin: 0;
    font-weight: 400;
    font-family: 'Roboto';
    font-size: 14px;
    color: #90949c;
    display: block;
    text-align: center;
}
#inner_name font em {
    font-size: 14px;
    padding-right: 3px;
}
#inner_name .fa{
	font-weight: 300;
    font-size: 13px;
    padding-right: 3px;
}
.btn_review_disable{display:none;}
.ReviewLink {
    background-image: url(//www.siamphone.com/images/icon/icon_review_2025.png);
    background-size: 18px;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 35px;
    right: 10px;
    filter:var(--news-filter);
}
.block-three{}
.block-three ul{
	padding: 0 15px;
	margin: 0;
}
.block-three ul li {
	padding: 0;
	margin: 5px 0;
	list-style-type: none;
	width: 100%;
	height: 33px;
	clear: both;
	float: left;
	background: #fff;
	position: relative;
}
.block-three ul li:hover {
	background: #f1f1f1;
}
.block-three ul li .number {
	position: absolute;
	width: 25px;
	height: 25px;
	text-align: center;
	color: #fff;
	background: #000;
	font-family: 'Roboto';
	font-weight: bold;
	font-size: 17px;
	border-radius: 30px;
	line-height: 24px;
	top: 4px;
	left: 1px;
}
.block-three ul li .name {
	width: 93%;
	float: right;
	text-align: left;
}
.block-three ul li .name a {
	display: inline-block;
	color: #222;
	font-size: 15px;
	line-height: 18px;
	padding: 8px 10px;
	font-family: 'Roboto';
	font-weight: 500;
}
.top-views {
	position: absolute;
	right: 5px;
	top: 8px;
	z-index: 0;
	font-family: 'roboto';
}
.top-views a {
	color: #616161;
	font-weight: 500;
	font-size: 15px;
}
.top-views em{
    padding-right: 3px;
    font-weight: 600;
    font-size: 13px;
}
.dark-topnews{background-color:var(--news-topnews-bg);}
#wrapper-popular .cover_widget_news{padding-bottom:10px;}
#wrapper-guaruntee{
	font-weight:300;
	text-align: center;
}
.modal-body{font-size:14px;text-align: left;}
.modal-body strong{font-weight:500;}
.modal-body a{color:#007bff;}
.preliminary button{
	border: 0;
	background: none;
	cursor: pointer;
}
/* Phone Relate */
.phone-relate{}
.phone-relate h3{
	background-color: #f8f8f8;
    font-size: 21px;
    padding: 15px 5px 15px 25px;
    margin-bottom: 15px;
    margin-top: 30px;
    font-weight: 400;
    font-family: 'Kanit';
}
.phone-relate h3 a{
	font-weight:300;
	color:#333;
}
.model_list_item {
    font-size: 40px;
    text-align: center;
    color: #555555;
    position: relative;
}
.model_list_item .model_list_item_badge {
    position: absolute;
    text-align: center;
    min-width: 36px;
    top: 0;
    left: 0;
    min-height: 20px;
    height: auto;
    padding: 0 0;
    line-height: 18px;
}
.screen_size {
    border-radius: 10px 10px 10px 10px;
    color: #FFFFFF;
    font-size: 14px;
    height: 20px;
    line-height: 21px;
    margin: 0 5px 0 0;
    min-width: 13px;
    padding: 2px 4px 1px;
    position: relative;
    text-align: center;
    width: auto;
    z-index: 0;
    background: none repeat scroll 0 0 #4E5660;
    font-family: 'Roboto';
    font-weight: 500;
}
.model_list_item_image {
    padding-top: 10px;
}
.model_list_item_image_cell, .model_list_item_name_cell {
/*     display: table-cell;
    vertical-align: middle; */
}
.model_list_item_image_vertical {
    text-align: center;
}
.model_list_item_image_vertical img {
    max-width: 90px;
}
.model_list_item_name {
    font: 14px/130% Tahoma, "Microsoft Sans Serif", sans-serif;
/*     height: 40px; */
    min-height: 40px;
    padding: 15px 0 0;
}
.model_list_item_image_cell, .model_list_item_name_cell {

}
.model_list_item_name_vertical {
    text-align: center;
    margin-bottom: 0;
	font-family: 'Roboto';
    font-size: 15px;
    font-weight: 500;
}
.model_list_item_name_vertical a {
    text-decoration: none;
    height: 39px;
    overflow: hidden;
    line-height: 19px;
}
.model_list_item_price{
    font-family: Roboto;
    font-size: 15px;
    font-weight: 500;
    color: #0AAA2E;
    line-height: 20px;
}
.model_list_item_price span{
    font-family: 'Kanit';
    font-size: 16px;
    font-weight: 400;
}
.phone-relate #inner_icon{
/* 	right:20%; */
}


.container-footer{background:#191919;}
.footer{}
.footer ul{}
.footer ul li{}
.footer ul li a{}

#footer {
/*     height: 35px; */
    margin: 10px auto 0;
}
#footer_copyright {
    padding: 0;
    width: 100%;
    font: 10px/30px Arial;
    text-transform: uppercase;
    display: inline-block;
/*     height: 30px; */
}
#footer_copyright .siamphone_logo {
    margin: 0 10px;
    float: left;
}
#footer_copyright .siamphone_logo img {
	vertical-align:sub;
}
#footer_copyright em.copysign {
    font-size: 12px;
    float: left;
    font-family: Arial;
    margin-right: 5px;
    font-style: normal;
}
#footer_copyright p.right_reserved_text {
    float: left;
    margin: 0;
    color: #8c8c8c;
}
#footer_copyright p.social_network {
    float: right;
    margin: 0 10px;
    color: #8c8c8c;
}
#footer_copyright p.social_network a {
    margin: 0 5px;
    color: #8c8c8c;
}


.rsDefault .rsThumbsHor {
  margin-top:10px;
}

#social_comment {
    width: 100%;
    overflow: hidden;
    clear: both;
    background: #fff;
    border-radius: 8px;
}

#social_comment iframe{
    width: 100%;
}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]  {width: 100% !important;}

/*Mobile News*/

.heading {
    background-color: #fff;
    color: #000;
    box-shadow: none;
    font-size: 29px;
    padding: 15px 10px 10px 0;
	position:relative;
}
.heading font {
    font-size: 14px;
    color: #525252;
    margin-left: 10px;
    text-transform: uppercase;

}
.heading span {
    color: #3a3a3a;
    font-family: 'Kanit';
    font-weight: 300;
    font-size: 14px;
    position: absolute;
    right: 10px;
    bottom: 15px;
}
.cover_widget_news {
    clear: both;
    overflow: hidden;
    border: 1px solid #ebebeb;
    margin: 15px 0 0;
    padding: 0;

}
.header_widget_news {
    padding: 5px 10px 8px;
}
p.content {
    height: auto;
    font-family: 'Kanit';
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
}
.TopBox ul {
	overflow: hidden;
	clear: both;
	background: #fff;
	padding: 0;
}
.TopBox ul li:first-child {
    width: auto;
    height: auto;
    padding: 0;
    margin: 0 0 15px;
}
.TopBox ul li {
    position: relative;
    width: 50%;
    float: left;
    padding: 5px 1% 15px;
    height: 190px;
    margin-bottom: 15px;
    list-style-type: none;
    line-height: 150%;
}
.TopBox ul li a {
    display: block;
    margin: 0;
    line-height: 5px;
}
.TopBox ul li img {
    width: 100%;
    height: auto;
}
.TopBox ul li:first-child p.readLink {
    background: #ffffff;
    height: auto;
    padding-bottom: 0;
	margin:0;
}
.TopBox ul li p.readLink {
    width: auto;
    height: 83px;
    border-radius: 0;
    padding: 10px 0 0;
    padding-bottom: 0px;
    overflow: hidden;
}
.TopBox ul li:first-child p.readLink a {
    color: #000;
    font-family: 'Kanit';
    font-size: 20px;
    line-height: 32px;
    padding: 0;
    font-weight: 400;

}
.TopBox ul li p.readLink a {
    display: block;
    line-height: 24px;
    color: #000;
    font-family: 'Kanit';
    font-size: 16px;
}

.TopBox ul li:first-child font {
    padding-right: 55px;
    height: 40px;
    border-radius: 30px 0 0 30px;
    line-height: 40px;
    font-size: 25px;
    padding-left: 10px;

}
.TopBox ul li font {
    width: auto;
    height: 20px;
    background: rgba(255,255,255,.84);
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    text-indent: 3px;
    color: #252525;
    border-radius: 10px 0 0 10px;
    line-height: 20px;
    text-align: right;
    padding-right: 25px;
    font-weight: 500;
    font-family: 'Kanit';
}

.TopBox ul li:first-child font i {
    width: 50px;
    height: 50px;
    border-radius: 40px;
    font-size: 55px;
    line-height: 50px;
}
.TopBox ul li font i {
    font-family: 'Kanit';
    right: -10px;
    top: -6px;
    font-style: normal;
    background: #cc0000;
    width: 30px;
    height: 30px;
    border-radius: 20px;
    color: #fff;
    text-indent: 0;
    font-size: 30px;
    font-weight: 500;
    line-height: 29px;
}
.TopBox ul li font i, .view_p {
    text-align: center;
    position: absolute;
}
.TopBox ul li:first-child span {
    font-size: 20px;
    margin-right: 15px;
}
.TopBox ul li span {
    width: 20px;
    font-size: 14px;
    margin-right: 5px;
}
.TopBox ul li:first-child span {
    font-size: 24px;
    margin-right: 15px;
}
.TopBox ul li span {
    width: 20px;
    font-size: 14px;
    margin-right: 5px;
}
.TopBox .news_inner ul li:nth-child(2), #container .news_inner ul li:nth-child(4), #container .news_inner ul li:nth-child(6) {
    margin-right: 0;
    border-right: 0 solid #ddd;
}
.TopBox .news_inner ul li {
    padding: 20px 10px;
    padding: 10px 2% !important;
    border-bottom: 1px solid #d3d4d6;
    width: 45.5%;
    border-right: 1px solid #ddd;
    margin-bottom: 0;
    float: left;
}
.TopBox .news_inner ul li:nth-child(2), #container .news_inner ul li:nth-child(4), #container .news_inner ul li:nth-child(6) {
    margin-right: 0;
    border-right: 0 solid #ddd;
}
.TopBox ul li:first-child span.writeBy {
    font-size: 13px;
    margin: 10px 0 0;
    width: 100%;
    color: #000;
}
.TopBox ul li:first-child span.writeBy {
    display: block;
    font-size: 13px;
    line-height: 180%;
}
.mr-5 {
    margin-right: 5px !important;
}

#wrapper-video{
    position:relative;
}
#wrapper-video:after{
    position:absolute;
    /* content:""; */
    bottom:0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.8));
}
#wrapper-video i{
    width: 59px;
    display: block;
    height: 59px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
    background: url(//www.siamphone.com/images/common/play_video.png) no-repeat;
    background-size: 59px;
    position: absolute;
    top: 35%;
    left: 45%;
}
#wrapper-video p.content{
    position: absolute;
    bottom: 0;
    color: #fff;
    background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.8));
    padding: 20px 10px 10px;
    line-height: 21px;
    font-size: 17px;
    margin:0;
    border-radius:0 0 8px 8px;
}
#wrapper-video span{
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    padding: 2px 5px 2px 5px;
    text-align: center;
    font-size: 13px;
    z-index: 2;
    font-family: 'Roboto';
}
.profile_youtube{
	position: absolute;
    right: 0;
    top: 12px;
    z-index: 10;
}

.cover_video img {
    border-radius: 8px 8px;
}
.ticker{font-weight:300;}
#myText{
    display: none;

}
#online_store{display:inline-block;width:100%;margin:15px 0 25px;border:1px solid #000;position:relative}
#online_store, h2:after, #online_store, h3:after{content:""}.btn-allshop,.btn-shop{text-decoration:none!important;text-shadow:0 -1px 0 rgba(0,0,0,.25);cursor:pointer;border-radius:2px}
#online_store h2, #online_store h3{font-family:'Kanit';font-weight:500;position:absolute;background:#000;color:#fff;padding:3px 15px;font-size:20px;top:-10px;left:-1px;margin:0}
#online_store h2:after, #online_store h3:after{width:0;height:0;position:absolute;right:-9px;top:0;border-width:0 9px 10px 0;border-style:solid;border-color:rgba(12,12,12,.8) transparent}#online_store p{font-size:16px;line-height:24px;margin:0 0 10px}.btn-shop,.txt_price{line-height:30px;font-family:'Kanit'}#online_store p img.shopImg{float:left;width:230px;height:auto;margin:14px}#online_store .list{float:right;font-size:13px;position:relative;text-align:center;width:60%;display:block;height:50px;margin:5px 15px 5px 0;box-shadow:0 0 0 1px #f1f1f1 inset}.btn-allshop,.btn-shop,.powered{position:absolute;display:block}#online_store .list .logo_shop{width:98px;height:auto;padding-top:4px;padding-left:12px;padding-bottom:4px;float:left;border-left:3px solid}.txt_price{font-weight:400;color:#666;display:block;font-size:19px;text-align:right;width:69%;margin:10px 0 0}.btn-shop{right:10px;bottom:10px;top:10px;width:auto;height:30px;font-size:15px;font-weight: 400;color:#FFF!important;text-align:center;background-color:#222;padding:0 10px;border-radius: 3px;}.powered{right:0;bottom:-20px;text-align:right;font-size:12px;color:#999;width:371px;line-height:15px;font-weight:300;font-family:'Kanit';}.blockStore .head,.btn_goto_store .price{font-weight:400;text-align:center;font-family:'Kanit'}.btn-allshop{width:auto;padding:4px 10px 4px;font-family:'Kanit';font-size:12px;right:15px;color:#fff!important;bottom:15px;background-color:#383838;height:25px;line-height:17px;text-align:center}.blockStore{border:1px solid #000;padding:10px 0;width:60%;margin:30px auto 40px;position:relative}.blockStore .head{font-size:20px;line-height:31px;width:100%;margin:0 auto;padding:5px 0 15px;color:#000}.btn_goto_store img{width:75%;margin:auto 12.5%}.btn_goto_store .price{font-size:30px;color:#08c;display:block;width:100%;line-height:45px;margin:0;background:0 0}.btn_goto_store .btn-store{text-align:center;display:block;background:rgba(0,0,0,.8);color:#fff;padding:16px 10px 15px;border-radius:3px;line-height:7px;font-family:'Kanit';margin:5px auto 0;overflow:hidden;width:65%;font-size:14px}@media only screen and (max-width:480px) and (min-width:100px){#online_store{padding-bottom:20px;margin:8% 3% 10%}#online_store p img.shopImg{width:90%;max-width:250px;clear:both;float:none;height:auto;display:block;margin:20px auto 15px}#online_store .list{width:90%;float:none;margin:10px auto 0}#online_store .list .logo_shop{margin:0}.txt_price{right:100px;bottom:10px;top:10px;position:absolute;margin:0}.txt_price span{display:none}.blockStore{width:100%}.btn-allshop{position:relative;right:auto;bottom:auto;margin:20px auto 0;display:block;width:55%}}

.ads_display1_PCMobile{
    display: block;
    vertical-align: middle;
    text-align: center;
    margin: auto;
    height: 280px !important;
    width: 336px;
}
#adszone-1, .topAdszone{margin:30px 0 12px;}
#ShowOnDesktopOnly, .ShowOnDesktopOnly{display:block;}

#ShowOnMobileOnly, .ShowOnMobileOnly, #ShowOnMobileOnly_Readmore{display:none;}
@media (max-width: 991px) {
	.container {
	  /*background:red;*/
	}

	#online_store .shop, .btn_goto_store{width:90%;}
	.header_widget_news .subHeader .id-name{display:none;}
	.header_widget_news .subHeader .id-name-mobile{display:inline-block;}
	#hotnews-link{margin-top:30px;}
	.contain-box {
		max-height: 1670px;
		position: relative;
		overflow: hidden;
		height: auto!important;
		margin-bottom: 0;
	}
	.contain-box .read-more {
		display:block;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		text-align: center;
		margin: 0;
		padding: 50px 0 30px 0;
		background-image: -moz-linear-gradient(top, transparent, white);
		background: linear-gradient(to bottom, rgba(255,255,255,0.0) 0%,rgba(255, 255, 255, 0.85) 31%,rgba(255,255,255,1) 99%,rgba(255,255,255,1) 100%);
	}
	.btn-readmore {
		text-decoration: none;
		vertical-align: middle;
		display: block;
		width: 60%;
		margin: auto;
		font-family: 'Kanit';
		font-weight: 400;
		font-size: 18px;
		background: #1d2129;
		color: #ffffff;
		padding: 12px 25px;
		border-radius: 3px;
	}
	#ShowOnMobileOnly ,.ShowOnMobileOnly, #ShowOnMobileOnly_Readmore {display:block;}
	#ShowOnDesktopOnly, .ShowOnDesktopOnly{display:none;}
    .banner-top{margin:0px auto 10px;}
    .top-banner img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 1180px) and (min-width: 767px) {
    .container {
        /*background:pink;*/
    }
    #navbarSearch{
        width:0;
    }
    #wrapper-search{
        display:none !important;
    }
    .goto-ggnews a img{margin:0;}
    #adszone-1{
        overflow-x: scroll;
        width: 100%;
        margin: 20px 0 10px;
    }
    #adszone-1 img{}


    #adszone-1::-webkit-scrollbar {
        width: 5px;
    }
    #adszone-1::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }
    #adszone-1::-webkit-scrollbar-thumb {
        background-color: #123872;
        border-radius: 5px;
    }


}

@media (max-width: 768px) {
	.container {max-width:760px;
		  /*background:green;*/
	}
	.newsDetail{background:transparent;padding: 4% 0 2%;}
	.function .block-function:first-child:before,.function .block-function:nth-child(4):before{border-left:1px solid transparent;}
	.function .block-function:nth-child(3):before{border-left:0 solid transparent;}
	.function .block-function:nth-child(4),.function .block-function:nth-child(5),.function .block-function:nth-child(6){padding-top:10px;}
	.function .block-function:nth-child(5):before,.function .block-function:nth-child(6):before{border-bottom:1px solid transparent;}
	.function .block-function:nth-child(4):before{border-bottom:1px solid #000;border-left:1px solid #000;}
    .function .block-function:nth-child(5):before{border-left:1px solid transparent;}
    .covertitle{margin-top:0;margin-bottom:18px;}
    h1.headNews{
        font-size: 1.75rem;
		line-height: 1.35em;   
    }
    h2.news-portal , h2.title-news{font-size: 18px;margin: 0 10px 0 0;vertical-align: text-top;}
    h2.news-portal a, h2.title-news a{padding: 0 15px 0;}
	#breadcrumb_list ul li:nth-child(2){display:none;}
    #breadcrumb_list ul li{
        font-size: 13px;
    }
    p#firstImage{ margin-bottom: 18px;}
	.firstImg{
		margin: 25px 0 0;
	}
	.sub_head{    
		color: gray;
		margin-top: 23px;
		margin-bottom: 5px;
	}
    .sub_head p{margin:0;}
	.font_size{
	    position: relative;
		text-align: right;
		margin: 0 0 0 0;
		height:25px;
	}
	.font_size span{display:none;}
	.notsummary{
        margin-bottom:35px;
    }
	.newsDetail{padding-top:0;}
	#wrapper-shared-small{}
	.shared-small{padding:0;}
	.shared-small .shr_social{width:auto; float: left;margin:0;}
	.shared-small p{   
		font-size: 14px;
		font-weight: 600;
		margin: 10px 10px 0 0;
		font-family: 'Kanit';
		width:auto;
		display:inline-block;
		float: left;
	}
	.shared-small .shr_social ul {
		text-align: left;
	}
	.shared-small .shr_social li {width:35px;}
	.shared-small .shr_social li a img{width:40px;}
	.shared-small .sp-shorturl-btn{
		width:35px;
		background-size:40px;
	}
	.shared-small .shr_social li a img{}
	.sp-shorturl-btn{}
	
	#hotnews-link ul li a {
        font-size: 18px;
        line-height: 11px;
    }
    #wrapper-lastupdate ul li{
        padding:15px 0;
    }
    #wrapper-lastupdate ul li a.linkHead{
        font-size:20px;
        line-height: 32px;
    }
    #wrapper-lastupdate span{
        font-size:16px;
    }
    #wrapper-lastupdate span i{
        font-size:13px;
    }
    .goto-ggnews{text-align:center;}
    .goto-ggnews p {
        display:block;
    }
    .goto-ggnews a{
        width: 100%;
        display: block;
        max-width: 100%;
        margin-left:0;
    }
	.btn-shop {
		right: 0;
		top: 0;
		font-size: 18px;
		height: 49px;
		line-height: 34px;
		color: #FFF;
		padding: 8px 0;
	}
    .txt_price {
      /*   font-size: 14px; */
    }
    .header_widget_news .subHeader {
      font-size: 18px;
    }
	.header_widget_news .subHeader .id-name{display:none;}
	.header_widget_news .subHeader .id-name-mobile{display:inline-block;}

    #online_store .shop{width:90%;margin:15px auto 0;}
    a.AllPrice{width: 90%;background-position: 70% 5px;}
	ul.nav_blue{padding-left:10px;}
    ul.nav_blue li{padding-left:20px;}
    
    .specColor p font{display:none;}
	.specColor span{margin:0 5px 0 10px;}
	.block-three ul li .number{display:block;}
	.block-three ul li .name{width:93%;}
	.newsDetail{
	    font-size: 20px;
		line-height:36px;
	}
	.top-banner img{
		width:100%;
		height:auto;
    }
    
    #ads_bottom{
        display: none;
    }

	.shared{
		/*padding: 0;
		margin-bottom: 0!important;
		box-shadow:none;*/
	}
	.shared .count, .shared .viewBadges{
		display: inline-block;
		padding: 0;
		width: 50%;
	}
    .shared .count span, .shared .viewBadges span {
        font-size: 34px;
		font-weight:700;
    }
	.shr_social{
		text-align: center;
		margin: 15px 0 0 0;
		width:100%;
	}
	#wrapper-shared{margin-top:20px;margin-bottom:30px;}
     .shr_social p {width:100%;text-align:center;}
	 .shr_social ul{margin:0 0 5px 0;width:100%;}
	.shr_social li{
		 text-align: center;
		width: 35px;
		float: none;
		display: inline-block;
	}
    .shr_social li a img {
		width: 40px;
		height: auto;
        margin: 0 auto;
        border: none;
    }
    .bottom_navigate{margin: 0 0 90px 0;}
	.bottom_navigate a.next_page img,.bottom_navigate a.previous_page img{display:none;}
	.bottom_navigate a.previous_page{background-position: left 6px;}
	.bottom_navigate a.next_page{background-position: right 5px;}
    .bottom_navigate p{height:40px;}
	.bottom_navigate a.next_page font, .bottom_navigate a.previous_page font {
		font-size: 18px;
        line-height: 26px;
        height: 130px;
        margin-top: 48px;
	}
	
	.block-relate ul li:nth-child(3) {margin-bottom: 35px;}
	.block-relate ul li:last-child {
		display: block;
	}
	.block-popular-one{margin-bottom:30px;}

	#ShowOnMobileOnly ,.ShowOnMobileOnly, #ShowOnMobileOnly_Readmore {display:block;}
	#ShowOnDesktopOnly, .ShowOnDesktopOnly{display:none;}
	.contain-box {
		max-height: 1670px;
		position: relative;
		overflow: hidden;
		height: auto!important;
		margin-bottom: 0;
	}
	.contain-box .read-more {
		display:block;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		text-align: center;
		margin: 0;
		padding: 50px 0 30px 0;
		background-image: -moz-linear-gradient(top, transparent, white);
		background: linear-gradient(to bottom, rgba(255,255,255,0.0) 0%,rgba(255, 255, 255, 0.85) 31%,rgba(255,255,255,1) 99%,rgba(255,255,255,1) 100%);
	}
	.btn-readmore {
		text-decoration: none;
		vertical-align: middle;
		display: block;
		width: 60%;
		margin: auto;
		font-family: 'Kanit';
		font-weight: 400;
		font-size: 18px;
		background: #1d2129;
		color: #ffffff;
		padding: 12px 25px;
		border-radius: 3px;
	}
    .ads728x90 img{width:92%;height:auto;overflow:hidden;background:red;}
	#wrapper-hilight{margin-top:50px;}
    
	iframe{width:100%;}
	.block-popular-one p{display:none;}
	.top_banner{display:none;}

	.ticker{
		font-size: 20px;
		line-height: 32px;
        margin:15px 0;
	}
	.menu-cate li a {
		font-size: 18px;
		line-height: 32px;
	}
	.block-relate ul li h3 {
		font-size: 20px;
		line-height: 34px;
	}
	.review p.name{height:100px;}
	.review a {
		font-size: 20px;
		line-height: 34px;
	}
	.ads728x90 img{width:100%;height:auto;}
	.model_list_item_name_vertical a{
	    font-size: 16px;
		line-height: 24px;
	}
	.model_list_item_price{font-size:17px;}
	.block_news ul li a {
		font-size: 20px;
		line-height: 32px;
	}
	.boxTopfb p a {
		font-size: 20px;
		line-height: 32px;
	}
	.sub_head a {
		line-height: 20px;
		font-size: 15px;
	}
	.news_source p {
		line-height: 30px;
		font-size: 18px;
        margin:5px 0 30px;
	}
	.block_fourth ul li a img{margin-top:10px;}
	.block_fourth ul li a.linkHead {
		height: 125px;
		line-height: 32px;
		font-size: 20px;
	}
	.block_fourth ul li:first-child a, .block_fourth ul li:first-child p{
		width:100%;
		margin:0 0 5% 0;
		height:auto;
	}
	 .block_fourth ul li:first-child p{margin:0;}
	 .block_fourth ul li:first-child a.linkHead {height:auto;}
     
     #mobile_ads, #mobile_ads3, .mobile5 ,.notsummary{
        max-width:336px;
        width:auto;
        overflow: hidden;
        margin:0 auto 0;
    }
    #mobile_ads3{margin:40px auto 0;}
    .mobile5{margin: 45px auto 0;}
    .notsummary{margin:20px auto !important;}
    .banner-top{margin:0 auto;}
	#footer{margin:10px auto;}
	#footer_copyright em.copysign{float:none;}
	#footer_copyright p.right_reserved_text{text-align: center;width: 100%;float:none;font-size: 14px;line-height: 24px;}
	#footer_copyright p.social_network{margin: 0 auto;float: none;text-align: center;width: 100%;font-size: 12px;}
    #footer_copyright .siamphone_logo {
        float: none;
        display: block;
        margin: 10px auto 15px;
        text-align: center;
    }
    .banner-top::-webkit-scrollbar {
        width: 3px;
    }
    .banner-top::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }
    .banner-top::-webkit-scrollbar-thumb {
        /* background-color: #123872; */
        border-radius: 5px;
    }

    #adszone-1 img {
		width:100%;
		height:auto;
    }
    #adszone-1{margin:25px 0 20px;}
    #ads_adop{margin-top:25px;}

    #adszone-1{
        /* overflow-x: scroll; */
        width: 100%;
        margin: 20px 0 10px;
    }
    #adszone-1 img{

    }

}


.myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    }
    
    .myImg:hover {opacity: 0.7;}
    
    /* The Modal (background) */
    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1000; /* Sit on top */
        padding-top: 100px; /* Location of the box */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    }
    
    /* Modal Content (Image) */
    .modal-content {
        margin: auto;
        display: block;
        /* width: 80%; */
        max-width: 900px;
    }
    
    /* Caption of Modal Image (Image Text) - Same Width as the Image */
    #caption {
        margin: auto;
        display: block;
        /* width: 80%; */
        /* max-width: 700px; */
        text-align: center;
        color: #ccc;
        padding: 10px 0;
        height: 150px;
    }
    
    /* Add Animation - Zoom in the Modal */
    .modal-content, #caption {
        -webkit-animation-name: zoom;
        -webkit-animation-duration: 0.6s;
        animation-name: zoom;
        animation-duration: 0.6s;
    }
    
    @-webkit-keyframes zoom {
        from {-webkit-transform:scale(0)}
        to {-webkit-transform:scale(1)}
    }
    
    @keyframes zoom {
        from {transform:scale(0)}
        to {transform:scale(1)}
    }
    
    /* The Close Button */
    .close_model {
        position: absolute;
        top: 15px;
        right: 35px;
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
    }
    
    .close_model:hover,
    .close_model:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }


    
.my-gallery{
    width: 100%;
    display: flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.my-gallery img{width:100%;height:auto;border-radius: 8px;}
.my-gallery figure{
	display: flex;
    margin: 0 1% 3%;
    width: 23%;
    border-radius: 8px;
	/*border:1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 0 10px #eee;
    padding:1.5%;*/
}
.my-gallery figcaption{display:none;text-align:center}
.pswp__caption__center{text-align:center!important}

    
/* iPad Vertical*/
@media only screen and (min-width: 768px)  and (max-width:991px){
	#box2{overflow:hidden;}
	ul.column-news li{width:100%;}
	#online_store .logo_shop{
		height: 40px;
		margin-top: 5px;
		padding-left: 7px;
	}	 
	.txt_price{
	    width: 70%;
		right: 30%;
	}
	 .btn-shop{
		width:60px;
	    right: 10px;
		top: 10px;
		font-size: 15px;
		height: 30px;
		line-height: 0;
		padding-top: 16px;
    }
	.block-three ul li .number{display:none;}
	 .block-three ul li .name{width:100%;}
     .block-three ul li .name a{padding:8px 5px 8px 0;}

     .shr_social li a img {
        width: 40px;
        height: 40px;
        margin: 0 auto;
        border: none;
    }
}

/* iPad Vertical*/
@media (min-width: 768px) and (max-width: 1024px) {
	.container{/* background:orange; */}
	#wrapper-shared{margin-top:0;}
	.shared .count span, .shared .viewBadges span {
		font-size: 28px;
	}
	.shr_social{text-align: center;}
	.shr_social ul{
	    float: none;
		width: 100%;
		margin: 0 auto;
	}
	.shr_social li{
		width:45px;
		float:none;
		display:inline-block;
	}
    .shr_social li a img {
        width: 40px;
        height: 40px;
        margin: 0 auto;
        border: none;
    }
	.header-widget h2, .header-widget-left h2,	.header-widget h3, .header-widget-left h3{font-size:1.8rem;}
	#wrapper-search{
		width:100%;
	    padding: 0;
		background: transparent;
	}
	#wrapper-search input[type="text"]{background-color:#f5f5f5;}
	.search-btn{display:none;}
	#wrapper-search h4{text-align:center;}
	.input_qs_spc{width:100%;}
	.newsDetail {
		padding: 4% 0;
	}

	.top_banner{width:100%;overflow:hidden;}
	
	.bottom_navigate a.next_page img,.bottom_navigate a.previous_page img{display:block;}
	.bottom_navigate a.previous_page{background-position: 55% 6px;}
	.bottom_navigate a.next_page{background-position: 40% 5px;}
	
	.cover-popular-one{border-radius:0;}
	.block-popular-one h3{
	    margin: 0 15px 0;
	}
	.block-popular-one p{
	    padding: 0 15px 20px;
		margin: 0 15px  0;
	}
	.block-popular img{
		margin-top: 15px;
		border-radius: 0;
	}
	.banner-tablet{display:none;}
    .newsDetail p img{margin:0 auto 20px;}
    #mobile_ads3{
        overflow:hidden;
    }
    /*
    .banner-top::-webkit-scrollbar {
        width: 3px;
    }
    .banner-top::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }
    .banner-top::-webkit-scrollbar-thumb {
        background-color: #696f77;
        border-radius: 30px;
    }
    */
    #adszone-1 img {
		width:100%;
		height:auto;
    }
    #adszone-1{margin:25px 0 20px;}
    #ads_adop{margin-top:25px;}

    #adszone-1{
        overflow: hidden;
        width: 100%;
        margin: 20px 0 10px;
    }
    #adszone-1 img{
        width: 100%;
        height: auto;
    }

    /* #adszone-1::-webkit-scrollbar {
        width: 3px;
    }
    #adszone-1::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }
    #adszone-1::-webkit-scrollbar-thumb {
        background-color: #696f77;
        border-radius: 30px;
    } */
    .goto-ggnews a img{margin:0;}
}
@media (min-width: 991px) and (max-width: 1024px) {
	#ShowOnMobileOnly, .ShowOnMobileOnly, #ShowOnMobileOnly_Readmore {
		display: none;
	}
	.contain-box {
		max-height: 100%;
	}
}

@media screen and (min-width: 569px) and (max-width: 768px)  {
	.my-gallery figure{
	    margin: 0 1% 4%;
		width: 31%;
	}
}
@media screen and (max-width: 568px){
	.my-gallery figure{
	    margin: 0 2% 4%;
		width: 46%;
	}
}