/*CSS Reset ------------------------------------------------------------------------------------------------------------------------ */

body, div, dl, dt, dd, li, pre,form, fieldset, input, textarea, p, blockquote, th, td, button {margin:0;padding:0;}
h1, h2, h3, h4, h5, h6 {margin:0;padding:0;font-size:100%;font-weight:normal;}
address, caption, cite, code, dfn, em, strong, var {font-style:normal;font-weight:normal;}
ol, ul {list-style:none;margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;} 
caption, th {text-align:left;font-weight:normal;font-style:normal;}
acronym, abbr, fieldset, img {border:0;}
:focus {outline:0;}

/*GLOBAL --------------------------------------------------------------------------------------------------------------------------- */

html, body {height:100%;}
body {font-size:11px;font-family:tahoma,"Lucida Grande",verdana,'liberation sans',arial;color:#000;/*overflow-y:scroll;*/}
a {color:#4e4e4e;text-decoration:none;outline:none;}
input[type=checkbox] {border:none;background:none;vertical-align:text-top;}
input[type=text], input[type=password], textarea {border:1px solid #cecece;}
input,textarea {font-size:10px;padding:2px;font-family:tahoma,'liberation sans';font-size:11px;}
select,option, .fs10 {font-size:10px;}
input.disabled , select.disabled , textarea.disabled {background:#F0F0F0 !important;color:#ACACAC !important;}

.bold , tr.bold > td {font-weight:bold;}
.left , tr.left > td {text-align:left;}
.right , tr.right > td {text-align:right;}
.center , tr.center > td {text-align:center;}
.center > table {margin: 0 auto;}
.middle {vertical-align:middle;}
.top {vertical-align:top;}
.ok {color:green;}
.error {color:red;}
input[type=text].error {border:1px solid red;}
.info {padding:5px;margin:5px 0;background:#F1F1F1;border:1px solid #C9C9C9;}
.grey_info {font-size:10px;color:#999;}
.pointer {cursor:pointer;}

.clear{clear:both;}
.fr {float:right;}
.fl {float:left;}
.hide {display:none;}
.ajax_hide {display:none !important;}
.add , .edit , .save , .del , .submit , .close , .delete {cursor:pointer;}
div.submit {text-align:center;padding-top:6px;cursor:auto;}
div.submit img {margin:0 6px;}
div.submit input[type=submit] {padding:2px;border:1px solid #CECECE;background:url(images/tab_tbody.gif) repeat-x top;margin:0 5px;font-size:10px;}
div.submit input[type=submit] {-moz-border-radius:3px;-webkit-border-radius:3px;cursor:pointer;color:#4E4E4E;}
div.submit input[type=submit]:hover {border:1px solid #4E4E4E;color:#000;}
.image_preview img {border:1px solid #CECECE;border-bottom:none;position:absolute;padding:1px;background:#fff;display:none;}
.image_preview a{padding:3px 0 3px 20px;background:url(images/icons/image.png) no-repeat left center;line-height:11px;}
textarea.mceEditor {width:100%;padding:0 !important;margin:0;border:none;}

.ajax_loader {background:url(images/ajax-loader.gif) no-repeat center center;height:16px;min-width:16px;margin:0 auto;}
.ajax_loader.inline {margin:0;width:16px;}

.alert {background:#FFF1EF;border:1px solid #EEC4BC;color:#CD654D;padding:5px;margin:5px 0;}
.alert a {color:#CD654D;text-decoration:underline;} 

#wrap {width:100%;min-height:100%;height: auto !important;height:100%;margin:0 auto -35px;}

#key_row {visibility:hidden;}
#key_row.static {visibility:visible;}

.change_key_link {text-decoration:underline;padding-right:13px;background:url(images/points.gif) no-repeat right -129px;}
.change_key_link.active {background-position:right -111px;}

/* HEAD --------------------------------------------------------------------------------------------------------------------------- */

#head , #head_bg , #head_left , #head_right {height:97px;}
#head {background:url(images/head.gif) repeat-x 0 -194px;}
  #head_bg {background:url(images/head_bg.jpg) no-repeat 30% 5px;}
  #head_left {padding-left:8px;background:url(images/head.gif) no-repeat left 0; }
  #head_right{padding-right:32px;background:url(images/head.gif) no-repeat right -97px; }
  #bage {width:97px;height:93px;background:url(images/bage.png) no-repeat center center;float:right;}
  #bage.cms {background:url(images/bage_cms.png) no-repeat center center;}
  #pa {position:absolute;top:19px;left:44px;background:url(images/pa.gif) no-repeat center center;width:168px;height:19px;}
  #loc {position:absolute;left:254px;top:74px;}
  
/* MAIN --------------------------------------------------------------------------------------------------------------------------- */

#main {width:100%;}
  #left {padding:10px;width:210px;vertical-align:top;}
  
  .mod_bg {width:220px;}
  .mod_bg {background: url(images/mod.gif) repeat-y -220px 0;}
  .mod_head {padding-top:5px;background:url(images/mod.gif) no-repeat 0 0;}
  .mod_head a {text-align:center;font-weight:bold;color:#378d11;display:block;line-height:14px;margin:5px 9px 0;}
  .mod_head a {background: url(images/points.gif) no-repeat right -39px;}
  .mod_bottom {padding-bottom:10px;background:url(images/mod.gif) no-repeat -660px bottom;display:block;min-height:1px;}
  .mod {width:190px;padding:15px;background:url(images/mod.gif) no-repeat -440px 0;margin-top:5px;}
  .mod li.active > a {color:#378d11;}
  
  .mod ul li {margin:4px 0;padding-left:5px;}
  .mod ul li a{background:url(images/points.gif) no-repeat 0 -67px;padding-left:15px;display:block;font-weight:bold;}
  .mod ul li ul {padding:2px 10px;}
  .mod ul li ul li a{background:url(images/points.gif) no-repeat 0 -90px;padding-left:10px;display:block;font-weight:normal;}  
  .mod_close .mod_head a {background: url(images/points.gif) no-repeat right -12px;}
  .mod_close .mod {display:none;}
  
  .mod ul.category_list {position: relative;margin-left:-5px;}
  .mod ul.category_list li a {font-weight:normal;font-size:10px;} 
  /*.mod ul.category_list li.unactive > a {text-decoration:line-through;}*/
  .mod ul.category_list li.selected > a {color:#378d11;}
  .mod ul.category_list li.unvisable {background:#FEE2E2;border:1px solid #FCAAAA;}    			
  .mod ul.category_list li.unvisable li.unvisable {background:transparent;border:none;}
/* CONTENT ------------------------------------------------------------------------------------------------------------------------ */
    
  td#content {padding:10px 15px 10px 5px;vertical-align:top;}
  
  #log_bar {text-align:right;margin-bottom:10px;}
    #log_bar a {font-weight: bold;}
  
  div.menu_item table.tab{border:none;}   
  table.tab {width:100%;border:1px solid #cecece;border-collapse:collapse;border-spacing:0;}
  table.tab > tr > td , table.tab > tbody > tr > td , table.tab tr th {border:1px solid #cecece;padding:5px;/*height:27px;*/}
  table.tab.list > tr > td , table.tab.list > tbody > tr > td:first-child {line-height:18px;}
  table.tab thead tr td, table.tab tr.thead td {border:none;background:#ffffff url(images/tab_head.gif) repeat-x bottom;font-weight:bold;padding:5px;}
  table.tab tr th {font-weight:bold;background:url(images/tab_thead.gif) repeat-x center center;color:#fff;padding:8px 5px 7px;line-height:11px;}
  
  table.tab tr th input[type=checkbox] {height:11px;background:none;} /* FOR IE7 */
  html>/*NOT FOR IE7*/body table.tab tr th > input[type=checkbox] {margin:-1px 0;padding:0;height:auto !important;background:#fff !important;}
  
  table.tab tr th a {color:#fff;}
  table.tab > tr > td , table.tab > tbody > tr > td {background:#fefefe url(images/tab_tbody.gif) repeat-x top;}
  
  table.tab td.clear {padding:0;border-top:none;border-bottom:none;background:none;}
  table.tab td.clear .defaultSkin table.mceLayout tr.mceFirst td {border-top:none !important;}  
  table.tab td.clear .defaultSkin table.mceLayout tr.mceLast td {border-bottom:none !important;}
  table.tab tr.site:hover td {background:#eaeaea;}
  /**/
  table.tab tbody tr.product:hover td{background:#eaeaea;}
  #category_management_list_wrap tbody tr:hover > td{background:#eaeaea;}
  #customer-form table.tab tbody tr:hover > td{background:#eaeaea;}
  #order-form table.tab tbody tr:hover > td{background:#eaeaea;}
  /**/  
  table.tab tr.module:hover td , table.tab tr.hover:hover td {background:#eaeaea;}
  table.tab tr.module > td {color:#000080;}
  table.tab tr.module.site > td {color:#000;}
  
  table.tab tr.sep td {background:none;height:10px;line-height:10px;border-left:1px solid #fff;border-right:1px solid #fff;}
  table.tab .up , table.tab .down , table.tab a {cursor:pointer;}
  table.tab .first .up {visibility:hidden;}
  table.tab .last .down {visibility:hidden;}

  table.tab .menu td{color:#378d11;font-weight:bold;}
  table.tab tr.visible td {font-weight:bold;}
  table.tab tr.unactive td {/*text-decoration:line-through;*/}
  table.tab .level2 td {color:green;}
  table.tab .level2 .name {padding-left:15px;}

  table.tab .level3 td {font-size:10px;color:blue;}
  table.tab .level3 .name {padding-left:30px;}

  table.tab .level4 td {font-size:9px;color:red;}
  table.tab .level4 .name {padding-left:45px;}
  table.tab .alias {font-size:10px;font-weight:normal;color:#999;}
  
  table.tab tr td table.padding5 tr td, div.padding5 {padding:5px;}
  table.tab tr td table.padding3 tr td, div.padding3 {padding:3px;}
  
  table.tab .visible .red_if_visible {color:red;}
  
  form.input95 input[type=text] , form.input95 input[type=password] , form.input95 textarea , form.input95 select {width:95%;}
  
  input.msc {margin:4px auto;} 
  
  #product_list .sub_product td {font-size:10px;color:#666;}
  #product_list .sub_product td.name {padding-left:30px;}
  
  /*.move_to {cursor:help;}*/
  #category_management_list_wrap .move_to {width:40px;}
  .move_to input {width:30px;margin:0 auto;text-align:center;}
  
  .expand_link {background:url(images/points.gif) no-repeat scroll center -39px;line-height:11px;height:11px;padding:1px 13px;}
  .collapsed .expand_link {background-position:center -12px;}
/* FOOT --------------------------------------------------------------------------------------------------------------------------- */

.push {height:35px;}
#foot {height:35px;background:url(images/head.gif) repeat-x 0 -291px;text-align:center;color:#fff;line-height:35px;}

/* LOGIN -------------------------------------------------------------------------------------------------------------------------- */

#login_form {position:absolute;width:290px;border:1px solid #cecece;top:50%;left:50%;margin-left:-145px;margin-top:-100px;}
#login_bar {border:1px solid #fff;background:url(images/login_bar.png) no-repeat center center;font-weight:bold;padding:4px 0 5px 40px;line-height:11px;}
#login_body{border:1px solid #fff;background:#fff url(images/login_body.png) repeat-x top;border-top:1px solid #cecece;padding:5px 5px 0;}
#login_body td{padding:5px;}
#login_body td input {width:200px;}
#login_submit {text-align:center;border-top:1px solid #cecece;padding-top:5px;background:#fff;}

/* MESSAGE BOX -------------------------------------------------------------------------------------------------------------------- */

.message-box {text-align:center;padding:5px;color:#545454; width:80%;margin:5px auto;}
.message-box.clean { background: #efefef; border: 1px solid #dedede;}
.message-box.info  { background: #f7fafd; border: 1px solid #b5d3ff;}
.message-box.ok    { background: #d7f7c4; border: 1px solid #82cb2f;}
.message-box.alert { background: #fef5be; border: 1px solid #fdd425;}
.message-box.error { background: #ffcdd1; border: 1px solid #e10c0c;}

/* PRODUCT -------------------------------------------------------------------------------------------------------------------- */

.product_menu a {display:block;font-weight:bold;}
.product_menu .active_tab {background:#fff;border-bottom:1px solid #fff !important;}
.product_menu .active_tab a {color:#378d11;}

.category_menu ul.category_list {margin:10px 0;} 
.category_menu ul.category_list ul {padding:5px 0 5px 20px;}
.category_menu ul.category_list input {vertical-align:text-bottom;margin-right:5px;height:11px;width:11px;}
.category_menu ul.category_list li {padding:2px 0 2px 2px;}

.category_menu ul.category_list li span {font-weight:normal;font-size:10px;} 
.category_menu ul.category_list li.unactive > span {text-decoration:line-through;}
.category_menu ul.category_list li.selected > span {color:#378d11;}
.category_menu ul.category_list li.selected > span > a {color:#378d11;}
.category_menu ul.category_list li span a {text-decoration:underline;}
.category_menu ul.category_list li.unvisable {background:#FEE2E2;border:1px solid #FCAAAA;padding-top:5px;margin-bottom:5px;}    			
.category_menu ul.category_list li.unvisable li.unvisable {background:transparent;border:none;padding-top:2px;margin-bottom:0px;}

#product_search_menu input[type=text] {vertical-align:middle;}
#product_search_menu button, button.clean {border:none;padding:0;background:none;vertical-align:middle;}

/* PRODUCT DYNAMIC PARMS ------------------------------------------------------------------------------------------------------- */

#dynamic_parms_list .dynamic_parm_name {display:none;}
#dynamic_parms_list.edit_parms .dynamic_parm_name, #dynamic_parms_list .dynamic_parm_name.main_lang {display:table-cell;}
#dynamic_parms_list.add_parms .hide , #dynamic_parms_list.edit_parms .hide {display:table-row;}
#dynamic_parms_list.add_parms tbody .dynamic_parm_name , 
#dynamic_parms_list.edit_parms tbody .dynamic_parm_name , 
#dynamic_parms_list.edit_parms tbody .dynamic_parm_name input {color:#378d11;}
#dynamic_parms_list.add_parms .hide .dynamic_parm_name , 
#dynamic_parms_list.edit_parms tbody .hide .dynamic_parm_name , 
#dynamic_parms_list.edit_parms tbody .hide .dynamic_parm_name input {color:#000;}
#dynamic_parms_list.edit_parms .dynamic_parm_value {display:none;}
#dynamic_parms_list .dynamic_parm_sort, #dynamic_parms_list .dynamic_parm_buttons {display:none;text-align:center;}
#dynamic_parms_list.edit_parms .dynamic_parm_sort, #dynamic_parms_list.edit_parms .dynamic_parm_buttons {display:table-cell;}
#dynamic_parms_list.edit_parms .new_parm_add_link {display:none;}
#dynamic_parms_list.edit_parms .new_parm .new_parm_add_link {display:inline;}
#dynamic_parms_list.edit_parms .new_parm .new_parm_save_link {display:none;}
#dynamic_parms_list.edit_parms .new_parm .new_parm_delete_link {visibility:hidden;}
#dynamic_parms_list.add_parms .hide.new_parm {display:none;}
#dynamic_parms_list.add_parms.edit_parms .hide.new_parm {display:table-row;}
#dynamic_parms_list input[type=text] {width:97%;}

.foto_add_buttons {vertical-align:middle;width:60px;text-align:center;}

/* Calendar: a Javascript class for Mootools that adds accessible and unobtrusive date pickers to your form elements <http://electricprism.com/aeron/calendar> */
/* Default CSS for Calendar (navigation: 1), Copyright (c) 2007 Aeron Glemann <http://electricprism.com/aeron> */

.hidden {opacity:0;position:absolute;}
.visible {opacity:1;}

body input#date.calendar {width:110px;}
button.calendar {background: url(images/calendar.gif);border:0;cursor:pointer;height:20px;width:20px;vertical-align:bottom;margin-left:10px;}
button.calendar:hover {background-position: 0 20px;}

div.calendar select {font-size:10px;}
div.calendar .time_sep {color:#333;}
div.calendar .time {text-align:center;width:180px;}
div.calendar div {height:190px;overflow:hidden;position:relative;width:180px;margin-left:-160px;padding-left:5px;}	
div.calendar caption {background:url(images/tab_head.gif) repeat-x;border:1px solid #CECECE;padding:2px;font-size:10px;height:12px;}
div.calendar caption a {padding-left:5px;padding-right:5px;font-weight:bold;color:#378d11;cursor:pointer;}
div.calendar caption span.month {float:left;display:block;}
div.calendar caption span.year {float:right;display:block;}
div.calendar caption span:after {content:".";display:block;height:0;clear:both;/*visibility:hidden;*/display:none;}
div.calendar th {background:url(images/tab_thead.gif) repeat-x center center;color:#fff;text-align:center;font-weight:bold;font-size:10px;padding:3px;}
div.calendar th:first-child {border-left:1px solid #cecece;}
div.calendar td {background:#FEFEFE url(images/tab_tbody.gif) repeat-x top;padding:3px 5px;border:1px solid #CECECE;font-size:10px;text-align:center;color:#ccc;width:14px;}
div.calendar td.today {background:#fff none;color:#000;cursor:pointer;font-weight:bold;}
div.calendar td.valid {color:#333;cursor:pointer;}
div.calendar td.active {color:#378d11;font-weight:bold;cursor:pointer;}

#lang-select {position:absolute;margin:74px 0 0 15px;}

a.lang-select img {padding:1px;margin:-2px 3px;background:#fff;border:1px solid #CACACA;}
#lang-select a.lang-select img {margin:0px 3px;}
a.lang-select.active img ,
a.lang-select:hover img {border-color:#DA210F;}

table.tab th a.lang-select.active img ,
table.tab th a.lang-select:hover img {background-color:#FCAAAA;} 


/* AUTOCOMPLEATER -------------------------------------------------------------------------------------------------------------- */

ul.autocompleter-choices{position:absolute;margin:0;padding:0;list-style:none;border:1px solid #CECECE;background-color:#fff;z-index:50;}
ul.autocompleter-choices li{position:relative;margin:0;padding:2px 3px;display:block;float:none !important;cursor:pointer;font-weight:normal;white-space:nowrap;}
ul.autocompleter-choices li.autocompleter-selected{background-color:#CECECE;}
ul.autocompleter-choices span.autocompleter-queried{font-weight:bold;}
ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried{color:#378d11;}

.ul_points ul li span {padding-left:15px;background:transparent url(images/points.gif) no-repeat scroll 0 -67px;}
.ul_points ul li ul li span {padding-left:10px;background:transparent url(images/points.gif) no-repeat scroll 0 -90px;} 
