/*****************************/
/*** Core html setup stuff ***/
/*****************************/
* { margin: 0; padding: 0; }  

html {
  height: 100%;
  background: #f5f5f5;
}

body { 
  font: normal normal 14px Arial, Verdana, Tahoma, sans-serif;	
  margin: 5px 0;
}

h1 { font-size: 18px; margin-bottom: 15px; text-decoration: underline; }

a, a:link, a:hover, a:visited, a:active { text-decoration: none; border-bottom: none; outline:none;}
a:hover, a:active { text-decoration: underline;}

img { border:none; /* cursor: pointer; */ }

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#div_wrapper { 
  background-image:url(../img/fon_sidebar.gif);
  background-position: 10px;
  background-repeat: repeat-y; 
  background-color:#CCC;
  width: 990px;
  margin: 0 auto;
  overflow:hidden;
  padding-left: 10px; 
/*  border:#33FF00 thin solid; */
  } 

.div_gag{
/*  position: relative; */
  font-size: 2px;
  width: auto;
  height: 10px;
  background-color:#CCC;
  clear: left;
/*  border: #6600FF thin solid; */
}

#div_mgeneral {
   position: relative;
   top: 220px;
   left: 181px;
   height: 133px;
   width: 30px;
   z-index: 10;
}

#div_mcontact {
   position: relative;
   top: 220px;
   left: 181px;
   height: 80px;
   width: 30px;
   z-index: 10;   
}

#div_sidebar {
  background-color:#f5f5f5;
  width: 190px;
  margin-right: 10px; 
  padding: 70px 5px 20px 5px;
  font-size:11px;
  float: left;
/*  border: #CC00FF thin solid; */
  } 
  
#div_sidebar p{
  padding-top: 10px;
  } 
.info { margin-top: -5px; }  
  
#div_content {
  width: 770px;
  float: left;
  overflow: hidden; 
/*  border: #CCFF00 thin solid;  */
  }   
  
#div_header {
  background-image: url(../img/header.gif);
  background-repeat:no-repeat;
  height: 108px;
  width: 770px;
  overflow: hidden; 
}

#div_mleft{
  background-image: url(../img/mleft.gif);
  background-repeat:no-repeat;
  height: 30px;
  width: 96px;
  float:left;
}

#div_mc{ height: 30px; width: 64px; float:left; }

#div_mpublish{ height: 30px; width: 106px; float:left; }

#div_mflash{ height: 30px; width: 53px; float:left; }

#div_m3d{ height: 30px; width: 84px; float:left; }

#div_macad{ height: 30px; width: 59px; float:left; }

#div_minterface{ height: 30px; width: 163px; float:left; }

#div_mweb{ height: 30px; width: 49px; float:left; }

#div_mright{
  background-image: url(../img/mright.gif);
  background-repeat:no-repeat;
  height: 30px;
  width: 96px;
  float:left;
  overflow: hidden; 
}

#div_text{
  background-color:#ffffcc;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  width: auto;
  padding: 10px 20px; 
  line-height: 1.4;
  clear: left;
}

#div_text p{ padding: 5px 0; }

.ul_index { list-style-type: square; font-size:12px; }

.ul_index li{ margin-left: 30px; }

.ul_img { list-style-type: none; list-style: none; text-align:center; }
.ul_img li { margin: 0px;  display:inline; }

#div_footer {
  background:url(../img/footer.gif);  
  height: 25px;
  width: 980px;
  padding-top: 15px;
  text-align:center;
  font-size:10px;
  font-weight:bold;
}

/*****************************************/
/*** Template send Post ***/
/*****************************************/
#div_post { text-align:center; }


/*****************************************/
/********* Gallary JQueryFancyBox ********/
/*****************************************/

div#fancy_overlay {
	position:absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	background-color: #333;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url(../img/fancy_progress.png) no-repeat;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -12px;
	height: 30px;
	width: 30px;
	background: transparent url(../img/fancy_closebox.png) ;
	cursor: pointer;
	z-index: 100;
	display: none;
}

div#fancy_content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0; 
	margin: 0;
	z-index: 96;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 92;
}

div#fancy_title {
	position: absolute;
	bottom: -35px;
	left: 0;
	width: 100%;
	z-index: 100;
	display: none;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 2px;
}

td#fancy_title_left {
	height: 32px;
	width: 15px;
	background: transparent url(../img/fancy_title_left.png) repeat-x;
}

td#fancy_title_main {
	height: 32px;
	background: transparent url(../img/fancy_title_main.png) repeat-x;
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	background: transparent url(../img/fancy_title_right.png) repeat-x;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 58px 18px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #444;
	background: #FFF;
}

a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 10px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	background-image: url(../img/data:image/gif;base64,AAAA);
	z-index: 100; 
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

a#fancy_left:hover {
	background: transparent url(../img/fancy_left.gif) no-repeat 0% 100%;
}

a#fancy_right:hover {
	background: transparent url(../img/fancy_right.gif) no-repeat 100% 100%;
}

#fancy_bigIframe, #fancy_freeIframe {
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

div#fancy_bg {
	display: none;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
}

div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(../img/fancy_shadow_n.png) repeat-x;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../img/fancy_shadow_ne.png) no-repeat;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(../img/fancy_shadow_e.png) repeat-y;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../img/fancy_shadow_se.png) no-repeat;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(../img/fancy_shadow_s.png) repeat-x;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../img/fancy_shadow_sw.png) no-repeat;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(../img/fancy_shadow_w.png) repeat-y;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../img/fancy_shadow_nw.png) no-repeat;
}
