.clearfix {min-height: 1px;}

* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

img, img a{border:0px;}
#main-row-flow-detail .entry-content p{margin:0 0 5px 0; line-height:150%; color:#000;}
.pics { width: 366px; height: 327px; overflow:hidden;}
.container .titleimg,  .container h2, .container h4, .container h5 {line-height:100%; margin: 0;}


#advmobile{display:none;}
#advwrap{width:900px; background:url(/img/a-dv/alanwong/2014/bg_main.jpg) no-repeat; background-position:0px 50px ;}
.container p {line-height:150%; color:#000; margin:0;}
#advwrap .advbox{width:100%; float:left; clear:both;}
#advwrap .advbox_s{width:100%; float:left; clear:both;}
#advwrap .advleft{float:left;}
#advwrap .advright{float:right;}
#advwrap .mb05{margin-bottom:5px;}
#advwrap .mb10, #advwrap h3.mb10, #advwrap p.mb10{margin-bottom:10px;}
#advwrap p.mb15{margin-bottom:15px;}
#advwrap .mb20, #advwrap p.mb20{margin-bottom:20px;}
#advwrap .mb30, #advwrap p.mb30{margin-bottom:30px;}
#advwrap .mb40{margin-bottom:40px;}
#advwrap .mt40{margin-top:40px;}
#advwrap img {background-color: transparent !important;}

#advwrap table, #advwrap table td{margin:0; padding:0; border:0; background-color:transparent;}

/** Header **/
#advheader{width:900px; height:595px;  position:relative; overflow:hidden;}
#advheader .advlogo{position:absolute; top:0px; left:278px; z-index:3; text-align:center;}
#advheader .advwaku{position:absolute; top:541px; left:0px; z-index:2;}
#advheader .advphoto{position:absolute; top:145px; left:0px; z-index:1;}



/** Design **/
#advcontents .advleft1{float:left; width:580px; margin:0 0 20px 30px;}
#advcontents .advright1{float:right; width:230px; margin:0 30px 20px 0px;}
#advcontents .advleft2{float:left; width:520px; margin:0 0 0 30px;}
#advcontents .advright2{float:right; width:320px; margin:45px 0 0 0;}
#advcontents .advleft3{float:left; width:340px; margin:0px 0 20px 30px;}
#advcontents .advright3{float:right; width:470px; margin:0px 30px 20px 0px;}

#advcontents .advbox_menu{background:url(/img/a-dv/alanwong/2014/bg_menu.jpg) no-repeat; width:100%; float:left; clear:both; margin:20px 0 30px 0; padding:20px 0;}
#advcontents .advbox_info{background:url(/img/a-dv/alanwong/2014/bg_info.jpg) no-repeat; width:100%; float:left; clear:both; margin-bottom:30px; padding-top:30px;}


#advwrap h2.advtxt1{margin:0 0 20px 30px;}
#advwrap .advtxt2{text-align:center; margin-bottom:20px;}
#advwrap ul.advtxt_menu1{text-align:center; margin-bottom:20px;}
#advwrap h4.advtxt3{margin:0 0 5px 0; font-size:14px; font-weight:bold;color:#b3452e;}
#advwrap p.advtxt4{font-size:12px;}

#advwrap ul.advtxt_menu1 li.menu2{display:inline;}
#advwrap ul.advtxt_menu2 {margin-bottom:15px;}
#advwrap ul.advtxt_menu2 li{display:block; line-height:200%;}
#advcontents li.advtxt_menu3 {margin-bottom:10px;}
#advcontents span.advtxt_menu4{font-size: 12px;color:#7e8a45; line-height:100%;}


/** Tab **/

#box-tab01,#box-tabb01,#box-tabc01,#adv-tab01,#adv-tab02,#sticky-tab01,#series-tab01{clear:both; min-height:300px;}
#advcontents ul {width:px; border:0px; margin-bottom:px; }
#advcontents .area{display:none;}
#advcontents .adv-tab{padding:0;margin: 0;list-style:none;border-bottom:0px solid #ccc;width:615px; border:0px;  margin-left:0px;}
.adv-tab li{float:left; width:auto; height:38px; font-size:12px;line-height:24px;padding:0px;cursor:pointer; text-align:center; border:0px; border-radius: 0px; -webkit-border-radius: 0px; -moz-border-radius: 0px;}
#advcontents .adv-tab li{text-indent:100%;	white-space:nowrap; overflow:hidden; height:38px; display:block; margin-left:0;}
#advcontents .adv-tab li:hover {background-color:#;}
#advcontents .adv-tab li.active {background-color:#;}
#adv-tab01 {margin-top:0px;}

#advcontents .adv-tab li.tabs1{width:155px; background:url(/img/a-dv/alanwong/2014/menu.jpg) 0px 0px;}
#advcontents .adv-tab li.tabs2{width:155px; background:url(/img/a-dv/alanwong/2014/menu.jpg) -155px 0px;}
#advcontents .adv-tab li.tabs3{width:155px; background:url(/img/a-dv/alanwong/2014/menu.jpg) -310px 0px;}
#advcontents .adv-tab li.tabs4{width:150px; background:url(/img/a-dv/alanwong/2014/menu.jpg) -465px 0px;}

#advwrap ul.advmenu1{margin:0 auto;}



/***** MOBILE *****/

@media screen and (max-device-width: 720px) and (max-device-height: 1280px) and (orientation:portrait), screen and (max-device-width: 1280px) and (max-device-height: 720px) and (orientation:landscape), screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)
{

#advmobile{display:inherit;}
#advheader{display:none !important;}

#advwrap h2.advtxt1{margin:0 0 20px 0px;}
.cboxPhoto img{width:100%;}

#advcontents .adv-tab{width:100%;}
#advcontents .adv-tab li{background:none !important;text-indent:0%;	white-space:nowrap;background-color:#dcdeb6  !important;height:auto;font-size:14px;color:#000;}
#advcontents .adv-tab li a{color:#000;text-decoration:none;}
.adv-tab li.tabs1, .adv-tab li.tabs2, .adv-tab li.tabs3, .adv-tab li.tabs4, .adv-tab li.tabs5 {width:88%  !important;margin:2% 5% !important;padding:2%;}

}