﻿/* v1.1 | 30/3/2010 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul,li
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	
	font-family: "Tahoma";
	font-size: 12px;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
fieldset { padding: .5em; }
select option{ padding:0 5px; }

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}/* 
ul {list-style-type:disc;}
ol {list-style-type:decimal;} */
/* ol li ,
ul li{margin:0px 0 0 30px;overflow:visible;}
p{margin:15px 0;} */
textarea{overflow:auto}

/* clearfix Class */
.clearfix:after {
	content: ".";
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix { clear:both;display: inline-block;font-size:0.1px;height:0pt;line-height:0pt;width:0pt;} 
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}html, body {
	background:#FFF;
	font-family:Tahoma,arial,sans-serif;
	font-size:12px;
	color:#636363;
}
a,
a:link,
a:visited,
a:hover,
a:active  {color: #636363; text-decoration:none;} 

.page .header{
	height:97px;
	width:1000px;
	z-index: 2000;
}
.header .nav-box { height: 96px; border-bottom: solid 1px #D4D4D4;}

.main{
	zoom: 1;
	
}


.ajaxloading{
    background:white url('../../images/ajax-loader-circle.gif') no-repeat center 50%;
    position:absolute;
    opacity:0.7;
    filter:alpha(opacity=70);
    z-index: 100;
    top:0px;
    left:0px;
    min-height:100px;
}
.ajaxloading.no-overlay{
    background:transparent url('../../images/ajax-loader-circle.gif') no-repeat center 50%;
}

/****************************************
 *
 * upload image (sry to write on this page)
 *
 ****************************************/
.text_editor { height: 31px; line-height: 31px; }
.text_editor label, .text_editor input, .text_editor span { float: left; height: 31px; font-size: 12px; }
.text_editor label { line-height: 31px; padding: 0 5px; }
.text_editor input { margin: 6px 5px; height: auto; background: #FFF; width: 200px; }
.text_editor span { line-height: 15px; font-size: 10px; width: 140px; }
 
 
/****************************************
 *
 * header and main navigator
 *
 ****************************************/
.header { position: relative; zoom: 1; }
.header h1 { background: url(../../images/layout/logo-scgxp.png); width: 134px; height: 96px; float: left; }
.header h1 a { display: block; width: 134px; height: 96px; text-indent: -9000px; }

#main-navigator { float: left; background: url(../../images/layout/main-navigator.jpg) no-repeat left bottom; width: 843px; height: 55px; margin-top: 40px; list-style: none; position: relative; zoom:1; z-index: 2000; }
#main-navigator li { float: left; position: relative; z-index:1500;}
#main-navigator li a.nav { float: left; background: url(../../images/layout/main-navigator.jpg) no-repeat left 1px; height: 50px; text-indent: -9000px; }

#main-navigator li a.nav-homefunction { width: 128px; background-position: 0px 1px; }
#main-navigator li a.nav-getinspired { width: 106px; background-position: -128px 1px; }
#main-navigator li a.nav-community { width: 97px; background-position: -234px 1px; }
#main-navigator li a.nav-homeservice { width: 176px; background-position: -331px 1px; }
#main-navigator li a.nav-service { width: 136px; background-position: -507px 1px; }
#main-navigator li a.nav-product { width: 92px; background-position: -507px 1px; }
#main-navigator li a.nav-news { width: 149px; background-position: -599px 1px }

#main-navigator li a.nav-contact { width: 90px; background-position: -748px 1px; } 

#tools-box { background: url(../../images/layout/search-bar.png); width: 439px; height: 39px; position: absolute; top: 0; left: 475px; }
#tools-box .search-box { position: absolute; top: 2px; left: 35px; height: 20px; width: 174px; margin: 0; padding: 0; }
#tools-box .search-box label { width: 150px; height: 20px; line-height: 20px; font-size: 12px; position: absolute; top: 0; left: 0; text-indent: 5px; }
#tools-box .search-box .search-keyword { float: left; width: 140px; height: 20px; background: #e9ece5; border: 0; padding: 0 5px; margin: 0; }
#tools-box .search-box .button-search { float: right; width: 24px; height: 20px; border: 0; padding: 0; margin: 0; }
#tools-box .button-findservice { position: absolute; top: 2px; left: 14px; background: url(../../images/layout/button-findservice.png); width: 107px; height: 15px; text-indent: -9000px; }
#tools-box .button-myproject { 
background:url(../../images/layout/button-myproject.png) no-repeat;
height:18px;
position:absolute;
right:94px;
text-indent:-9000px;
top:2px;
width:123px; }

.tools-lang { list-style: none; position: absolute; right: 18px; top: 0px; width:55px; height:14px;  }
.tools-lang li { 
	display: block;
    float: left;
}
.tools-lang li.th { 
	border-right:1px solid white;
}
.tools-lang li a { color: #D0D0D0; text-decoration: none; text-transform: uppercase; padding:3px 5px 0px 5px; width:16px; height:12px; display:block; }
.tools-lang li a:hover { color: #EEE; }
.tools-lang .lang-th {}
.tools-lang .lang-en {}
#en .lang-en, #th .lang-th { color: #FFF; }


#main-navigator .tb-sub-nav { 
	display: none; 
	position: absolute; 
	top: 48px; left: 0;
	z-index: 1500; 
	/*border-top: 3px solid #eb2729;  */
	padding-top: 9px; 
	
}
#main-navigator .tb-sub-nav td.top{ 
	height:13px;
	overflow:hidden;
	background:transparent url('../../images/menu/main_menu_border_top.gif') repeat-x scroll 0 bottom;
	font-size:8px;
}
#main-navigator .tb-sub-nav td.top.left{ 
	height:13px;
	overflow:hidden;
	background:transparent url('../../images/menu/main_menu_shadow_top_left.png') no-repeat scroll right bottom;
	font-size:8px;
}
#main-navigator .tb-sub-nav td.top.right{ 
	height:13px;
	overflow:hidden;
	background:transparent url('../../images/menu/main_menu_shadow_top_right.png') no-repeat scroll left bottom;
	font-size:8px;
}
#main-navigator .tb-sub-nav td.left{ 
	width:3px;
	min-width:3px;
	max-width:3px;
	overflow:hidden;
	background:transparent url('../../images/menu/main_menu_shadow_left.png') repeat-y scroll right 0;
	font-size:8px;
}
#main-navigator .tb-sub-nav td.right{ 
	width:3px;
	min-width:3px;
	max-width:3px;
	background:transparent url('../../images/menu/main_menu_shadow_right.png') repeat-y scroll 0 0;
	overflow:hidden;
	font-size:8px;
}
#main-navigator .tb-sub-nav td.bottom{ 
	height:3px;
	min-height:3px;
	max-height:3px;
	overflow:hidden;
	background:transparent url('../../images/menu/main_menu_shadow_bottom.png') repeat-x scroll 0 top;
	
}
#main-navigator .tb-sub-nav td.bottom.left{ 
	height:3px;
	min-height:3px;
	max-height:3px;
	overflow:hidden;
	background:transparent url('../../images/menu/main_menu_shadow_bottom_left.png') no-repeat scroll right top;
	
}
#main-navigator .tb-sub-nav td.bottom.right{ 
	height:3px;
	min-height:3px;
	max-height:3px;
	overflow:hidden;
	background:url('../../images/menu/main_menu_shadow_bottom_right.png') no-repeat scroll left top;
	
}

#main-navigator .sub-nav { 
	display: block;
	background: #FFF;
	border-bottom: 3px solid #dde1de;
}

#main-navigator .sub-nav li { display: block; float: none; border-bottom: 1px solid #dde1de; }
#main-navigator .sub-nav li.sub { height:25px}

#main-navigator .sub-nav li a { 
	background: none; 
	color: #5a5b55; 
	text-decoration: none; 
	white-space: nowrap; 
	font-family: "Arial"; 
	font-size: 11px; 
	position: relative;
	display: block;
	height:15px;
	padding: 5px 25px 5px 10px;
}
#main-navigator .sub-nav li.sub a{
	color: #818181; padding: 5px 25px 5px 20px;
	background:transparent url('../../images/menu_bullet.png') no-repeat  scroll 11px 10px;
}
#main-navigator .sub-nav li:hover  
{
    background:#e9ece5 url('../../images/bullet_menu.gif') no-repeat  scroll 0px 0px;
    color: #eb2729;
}


#main-navigator .sub-nav li a:hover  
{
    color: #eb2729;
    
}
 
 
 .contact-us-footer{
     background:white;
 }
 .contact-us-footer .inner{
     border-top:6px solid #d6d9d1;
     width:970px;
     margin-left:30px;
     padding:10px 0 9px 0px;
     border-bottom:1px solid #c3c3c3;
 }
 
 .contact-us-footer .location-container
 {
     width:610px;
     float:left;
 }
 .contact-us-footer .social
 {
     width:310px;
     float:right;
     height:24px;
     
 }
 
 .contact-us-footer .social .share
 {
     width:100px;
     float:left;
     display:inline;
     position:relative;
 }
 .contact-us-footer .share.facebook
 {
     width:110px;
     top:3px;
 }
  .contact-us-footer .share.twitter
 {
     width:90px;
     top:3px;
 }
  .contact-us-footer .share.google-plus
 {
     width:75px;
     top:3px;
 }
  .contact-us-footer .share.youtube
 {
     width:30px;
 }
  .contact-us-footer span.header{
     font-weight:bold;
     font-size:11px;
     color:#ec2729;
     width:61px;
     height:18px;
     display:inline-block;
     float:left;
     margin:6px 0 0 0px;
 }
 .contact-us-footer span.header a{
     font-weight:bold;
     font-size:11px;
     color:#ec2729;
 }
  .contact-us-footer span.header.find-us{
     margin:5px 0 0 10px;
     width:68px;
 }
 
 .contact-us-footer a.location{
     display:inline-block;
     height:27px;
     width:75px;
     padding: 0 0 0 39px;
     background:transparent url('../../images/location-pin.png') no-repeat scroll 0 0;
     margin:0 0 0 9px;
     float:left;
     border-right:1px solid #c3c3c3;
 }
  .contact-us-footer a.location span{
     display:inline-block;
     margin:5px 0 0 0px;
     font-size:11px;
     
 }
  .contact-us-footer a.bts{
     display:inline-block;
     height:27px;
     width:50px;
     padding: 0 0 0 39px;
     background:transparent url('../../images/bts-icon.png') no-repeat scroll 0 0;
     margin:0 0 0 7px;
     border-right:1px solid #c3c3c3;
     float:left;
 }
  .contact-us-footer a.bts span{
     display:inline-block;
     margin:5px 0 0 0px;
     font-size:11px;
 }
   .contact-us-footer a.icon{
     display:inline-block;
     height:27px;
     width:28px;
     float:left;
     margin:0 6px 0 0;
 }  .contact-us-footer a.icon img{
     display:inline-block;
 }
/******************
Site-map & copyright
*******************/
.footer{
	background:#fff;
	padding:18px 0 0 30px;
	
}

#nyroModalFull .nyroModalClose {
    background: url("../../images/homepage/modal_close_button.png") no-repeat scroll 0 0 transparent;
    display: block;
    height: 27px;
    position: absolute;
    right: -7px;
    text-indent: -9999px;
    top: 10px;
    width: 66px;
    z-index: 44;
}
#nyroModalFull .mapModalClose {
    background: url("../../images/map_modal_close.png") no-repeat scroll 0 0 transparent;
    display: block;
    height: 27px;
    position: absolute;
    right: 20px;
    text-indent: -9999px;
    top: 25px;
    width: 66px;
    z-index: 44;
}
#sitemap a{
	text-decoration: none;
}
#sitemap a:hover{
	text-decoration: underline;
}
#sitemap td { 
	padding-right:25px;
}
#sitemap td.nav-homefunction  
{
    width:145px;
	padding-right:0px;
}
#sitemap td.nav-homefunction  div
{
    margin-bottom:20px;
}
#sitemap td.nav-contact { 
	padding-right:0px;
}

#sitemap td ul { 
	list-style: none; 
}

#sitemap td a { 
	color: #ec2729;
	font-weight: bold;
	line-height: 160%;
	font-size: 12px;
}
#sitemap td li { 
	color: #636363;
	font-weight: normal;
	font-size: 11px;
}
#sitemap td li a { 
	color: #636363;
	font-weight: normal;
	font-size: 11px;
}

#sitemap td li  ul li a { 
	color: #acacac;
	font-weight: normal;
	font-size: 11px;
	padding:0 0 0 10px;
}

#sitemap_en a{
	text-decoration: none;
}
#sitemap_en a:hover{
	text-decoration: underline;
}
#sitemap_en td { 
	padding-right:17px;
}

#sitemap_en td ul { 
	list-style: none; 
}

#sitemap_en td a { 
	color: #ec2729;
	font-weight: bold;
	line-height: 160%;
	font-size: 12px;
}
#sitemap_en td li a { 
	color: #636363;
	font-weight: normal;
	font-size: 11px;
}

#copyright_tab{
	clear:both;
	position:relative;
	height:55px;
	width: 970px;
	margin-top: 30px;
	padding-top: 10px;
	border-top-style: solid;
	border-top-color: #d6d9d1;
	border-top-width: 2px;
	font-size:11px;
	color: #595b55;
}
#copyright_text_left{ float: left; }
#copyright_text_right{float: right; }
#copyright_text_right a{color:#595B55;text-decoration:none }
#copyright_text_right a:hover{ text-decoration:underline; }
#copyright{
	color:#3cc2c9;
	float:left;
	font-size:12px;
	font-style:normal;
	font-weight:normal;
	width:350px;	
	display: inline-block;
	line-height: 20px;
}



/******************
	My Project & Profile
*******************/
#myproject-wraper{
	border-bottom:3px solid #EC2729;
	display:none;
	color:white;
	background:#3D3A3A url(../../images/layout/myproject/bg-myproject.png) no-repeat 784px 100%;
}
#myproject-register_th{
	float:left;
	width:570px;
	height:230px;
	background:url(../../images/layout/myproject/register-desc_th.png) no-repeat;
}
#myproject-register_en{
	float:left;
	width:570px;
	height:230px;
	background:url(../../images/layout/myproject/register-desc_en.png) no-repeat;
}
.btn-register{
	background:url(../../images/layout/myproject/btn-register.png) no-repeat;
	display:block;
	margin:186px 0 0 82px;
	width:79px;
	height:21px;
	text-indent:-999em;
}
#myproject-login{
	float:left;
	font-size:10px;
	margin:23px 0 0 72px;
	
}

#myproject-login .text-field {
	border:0 none;
	background:white;
	display:block;
	margin:4px 0 9px;
	width:188px;
	height:17px;
}
.forgot-password{
	
	background:url(../../images/layout/myproject/btn-forgotpassword.png) no-repeat;
	display:block;
	float:left;
	width:124px;
	height:18px;
	text-indent:-999em;
}
#title-login{
	margin-bottom:6px;
}
.remember-table{
	margin:3px 0 6px;
}

/* Log in */
.title{
	font-size:12px;
	color:#e5e5e5;
}

#user-info{
	padding:30px;
}

#avatar{
	float:left;
	width:102px;
	
}
.user-name{
	font-size:19px;
	padding:7px 0;
}
#user-profile{ float:left; } 
.btn{
	float:left;
	display:inline-block;
	padding:5px;
	background:#666666;
	color:white;
	text-decoration:none;
	font-weight:bold;
	margin:0 19px 0 0;
}
a.btn{
	float:left;
	display:inline-block;
	padding:5px;
	background:#666666;
	color:white;
	text-decoration:none;
	font-weight:bold;
	margin:0 19px 0 0;
}
#my-masterpiece,
#my-favorite{
	border-left:1px solid #666666;
	float:left;
	margin-left:19px;
	padding-left:19px;
}
/********************************
 Layout for sub-page (2 col) : { product, service & facilities }
  - make page into 2 column by .page-col
  - define #sidebar, #content
 ********************************/
.header img { border-bottom: solid 1px #DBDBDB;margin-bottom:-2px; }
.page-col { float: left; }

/* sidebar */
#sidebar { 
	width: 160px; 
	padding: 0 20px 0 30px;
}
#sidebar .page-title { width: 160px; height: 24px; }
#sidebar .page-navigator { list-style: none; }
#sidebar .page-navigator  li { display: block; width: 160px; border-bottom: solid 1px #DBDBDB; -background: #000; }
#sidebar .page-navigator  li a { display: block; width: 160px; color: #333; text-decoration: none; font-size: 12px; line-height: 15px; }
#sidebar .page-navigator  li a:hover { color: #EC2729; }
#sidebar .page-navigator  li a.active { margin-left: -10px; padding-left: 10px; background: url(../images/layout/square-red-bullet.png) no-repeat left 3px; }
#sidebar .page-navigator  li a img{}
/* content */
#content { width: 719px; border-left: solid 1px #DBDBDB; }


/*
*/
.community-page {
	background: url(../images/layout/patternSCG_commu.jpg) repeat left top;

}
.community-page .page {
	background: url(../images/layout/community-bg-top.png) no-repeat left top;
	background-image: url(../images/layout/community-bg-top.gif);
	zoom: 1;
}
.community-page .community {
	background: url(../images/layout/community-bg-bottom.png) no-repeat left bottom;
	background-image: url(../images/layout/community-bg-bottom.gif);
}
/*Paging*/

/*Pagination*/

.pagination a.button-prev,
.pagination a.button-next,
.pagination_black a.button-prev,
.pagination_black a.button-next {
	background: url(../../images/global_btn/next_back.png) no-repeat 0 0 ;
	-background: url(../../images/global_btn/next_back.gif) no-repeat 0 0 ;
	height: 29px;
	text-indent: -9999px;
	overflow: hidden;
}
.pagination_black a.button-prev,
.pagination_black a.button-next{
	background: url(../../images/global_btn/btn_pervious_next_black.gif) no-repeat 0 0 ;
}
.pagination a.button-prev,
.pagination_black a.button-prev {
	background-position: left top;
	float: left;
	width: 85px;
	border-right: 1px solid #D4D4D4;
}	
.pagination a.button-next,
.pagination_black a.button-next{
	background-position: right top;
	float: left;
	width: 59px;
}
.pagination a.unclick,
.pagination a.prev-unclick,
.pagination_black a.prev-unclick {
	background-position: left -29px;
}

.pagination a.next-unclick,
.pagination_black a.next-unclick {
	background-position: right -29px;
}
.product-main .result .pagination ul.button-normal  { float: left; }
.pagination ul li,
.pagination ul li a,
.pagination_black ul li,
.pagination_black ul li a{
	float: left;
	height: 30px;
	text-align: center;
	color: #abafa5;
	list-style: none;
	
	zoom: 1;
}
#pagination_index { zoom: 1; }
.pagination ul li a,
.pagination_black ul li a{
	float: left;
	border-right: 1px solid #D4D4D4;
	text-decoration: none;
	padding: 7px 12px 0;
	height: 22px;
}
.pagination ul li a.active,
.pagination_black ul li a.active{
	color: #e01a17;
	text-decoration: none;
}
.pagination_black ul li a.active{
	color: #f29000;
}
.pagination ul li a:hover,
.pagination_black ul li a:hover{
	text-decoration:  underline;
	
	zoom: 1;
}
/* Follow us */

#home_followus_idea{
	width: 162px;
	height: 44px;
	text-indent: -9999px;
}
.home_follow_us_contain_th{
	background: url(../../images/scg_follow.png) no-repeat 0 0; 
	width:161px; 
	height:152px; 
	margin-top: 40px;
	margin-bottom: 40px;
}
.home_follow_us_contain_en{
	background: url(../../images/scg_follow_en.png) no-repeat 0 0; 
	width:161px; 
	height:152px; 
	margin-top: 40px;
	margin-bottom: 40px;
}
.home_follow_us_contain_en .content,.home_follow_us_contain_th .content{
	background: none;
	height: 90px;
	font-size: 11px;
	line-height: 15px;
	padding:9px 10px 9px 17px;
}
.home_follow_us_contain_en .content .icon_share,.home_follow_us_contain_th .content .icon_share{
	padding: 10px 0;
	height: 35px;
	margin-top: 32px;
}
.home_follow_us_contain_en .content .icon_share a,.home_follow_us_contain_th .content .icon_share a{
	width: 29px;
	height: 35px;
	background: url(../../images/home_service/icon_facebook_twitter.gif) no-repeat 0 0;
	text-indent: -9999px;
	display: block;
	margin-right:4px;
	float: left;
}
.home_follow_us_contain_en .content a.facebook,.home_follow_us_contain_th .content a.facebook{
	background-position: 0 0;
}
.home_follow_us_contain_en .content a.twitter,.home_follow_us_contain_th .content a.twitter{
	background-position: right top;
}
	
/*bread crumb*/

.breadcrumb
{
	border-bottom:1px solid #d6d9d1;
	clear:both;
	padding:8px 30px;
	margin-left:0px;
	width:940px;
	color:#999999;
	font-size:11px;
}
.breadcrumb a{
	color:#7f7f7f;
	text-decoration:none;
	font-size:11px;
}
.breadcrumb span{
	color:#7f7f7f;
	font-size:11px;
}

/*#beta-version {
	background: url(../../images/beta_version.png) no-repeat left top;
	width: 86px; height: 19px;
	position: absolute;
	top: 0; left: 275px;
}*/
#like_unlike_button{
	background:url(../../images/blog/add/delete_btn.png) no-repeat ;
	height:13px;
	position:absolute;
	right:0;
	text-indent:-9999px;
	top:-13px;
	width:14px;
}


 @media print {
	.header,.footer,#myproject-wraper,#sidebar,#myproject-form,.breadcrumb,.search-box,.product_breadcrumb,#profile-tab{
		display:none;
	}
	#myproject-wraper{
		max-height:0;
	}
	.room-name{
		margin:0;
		padding-left:50px;
		font-size:20px;
	}
	.product_content_txt{
		border-top:6px solid red;
	}
 }
