/* @override http://localhost:3000/stylesheets/printmaster.css */
html, body {
	/*
  overflow-x: hidden;
  overflow-y: hidden; 
  */
}


/*---------------------------------------------*/
/* Fileupload, Styles                          */
/*---------------------------------------------*/

.SI-FILES-STYLIZED label.cabinet
{
	width: 102px;
	height: 22px;
	background: url(../images/btn-choose-file.png) 0 0 no-repeat;

	display: block;
	overflow: hidden;
	cursor: pointer;
}

.SI-FILES-STYLIZED label.cabinet input.file
{
	position: relative;
	height: 100%;
	width: auto;
	opacity: 0;
	-moz-opacity: 0;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}


/*---------------------------------------------*/
/* Toolbox                                     */
/*---------------------------------------------*/

#toolbox {
	background: #DDD;
	border: 1px solid #CCC;
	border-width: 1px 0 1px 0;
	border-bottom-color: #BBB;
	overflow: hidden;
}

#toolbox a {
  outline: none;
}

  /* Headlines */
  #toolbox h2 {
    float: left;
  	margin: 0 25px;
  	font: bold 18px/40px "Helvetica Neue", Helvetica, Arial, sans-serif;
  	color: #575656;
  	text-shadow: 1px 1px 1px #EFEEEE;
  }
  
  /* Buttons in toolbar */
  .toolbox_button {
    float: right;
    margin: 6px 0 0 0;
  }
  .toolbox_button img {
    vertical-align: -9px;
  }
  
  /* Search */
  #search {
    position: relative;
  	float: left;
  	margin: 10px 0 10px 18px;
  }
  	#search span.left,
  	#search span.right {
  		float: left;
  		width: 9px;
  		height: 22px;
  		background-image: url(../images/search.gif);
  		background-repeat: no-repeat;
  	}
  	#search span.left { background-position: 0 0; width: 19px; }
  	#search span.right { background-position: 100% -62px; }

  	#search input#input_search {
  	  float: left;
  	  position:relative;
  		padding: 3px;
  		font-size: 12px;
  	  width: 226px;
  		height: 16px;
  	  background: #FFF url(../images/search.gif) 0 -22px repeat-x;
  		border: 0;
  		outline: none;
  	}
	
  	#search.empty input#input_search { color: #999 }

  	#search a#search_reset_button {
  	  position: absolute;
  	  display: none;
  	  top: 3px;
  	  right: 4px;
  	  text-indent: -10000px;
  	  background: transparent url(../images/search.gif) 100% -45px no-repeat;
  	  width: 16px;
  	  height: 16px;
  	}
  	#search a#search_reset_button.active {
  	  display: block;
  	}

/* Tag List */
.tags-wrapper {
	float: left;
	margin: 0 0 0 22px;
	overflow: hidden;
}
.tags-title {
	float: left;
	padding: 7px 0;
	font-size: 11px;
	font-weight: bold;
	width: 70px;
	text-align: right;
}
.tags {
	float: left;
	margin-left: 8px;
}
div.tags_list {
	position: absolute;
	margin-top: 2px;
	width: 520px;
	height: 24px;
	overflow: hidden;
	background-color:#EFEFEF;	
}
div.tags_list .tagitem {
	float: left;
	line-height: 22px;
	list-style: none;
	width: 104px;
	height: 24px;
	overflow: hidden;
	margin-bottom: 1px;
    display: block;
}
div.tags_list .tagitem a {
	display: block;
	font-size: 11px;
	color: #666;
	text-align: center;
	text-decoration: none;	
	background-color: #EFEFEF;
	border: 1px solid #F0F0F0;	
	border-color: #EFEFEF #FFF #FFF #FFF;	
	border-top: none;
	height: 22px;
	cursor: pointer;
	overflow: hidden;	
}
div.tags_list .tagitem a:hover {
	background-color: #DDD;
	border-color: #FFF #999 #999 #FFF;
	border-right: 1px solid #FFF;
}
div.tags_list .tagitem a.filter {
	font-weight: bold;
}
div.tags_list .tagitem a.active,
div.tags_list .tagitem a.active:hover {
	color: #FFF;
	font-weight: bold;
	background-color: #E3001B;
	border: 1px solid #9CF;	
	border-color: #E3001B #FFF #600 #FFF;	
	border-top: none;	
}
div.tags_list .tagitem a.disabled {
    cursor: default!important;
}

div.tags_list .tagitem a.disabled:hover {
	background-color: #EFEFEF!important;
	border-color: #EFEFEF #EFEFEF #FFFFFF #EFEFEF!important;
}

div.tags_loading {
    background: url(../images/loading-small.gif) center no-repeat;
	z-index:100000000 !important; 
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

div.tags_loading_overlay {
	background-color: #101010;
    opacity: 0.2;
    -moz-opacity: 0.2;
    filter:alpha(opacity=20);
}

#user_tags, #cat_tags, #article_tags {
	margin: 0;
}
#user_tags div.tags_list, #cat_tags div.tags_list, #article_tags div.tags_list {
	position: relative;
	width: 312px;
	height: auto;
}
#user_tags_container, #user_category_container {
    max-height: 200px;
	width: 330px;
    overflow: auto;
    margin: .5em 0 1em;
}

/* Tag Controls */
#tags_controls {
	position: absolute;
	margin-left: 526px;
	width: 100px;
}
#tags_controls a.more_tags,
#tags_controls #button_more_tags {
	float: left;
	margin: 7px;
	font-size: 11px;
	font-weight: bold;
	line-height: 13px;
	cursor: pointer;
}
#tags_controls a.reset_tags,
#tags_controls a#tags_reset_button {
	position: absolute;
	top: 1px;
	right: 0;
	display: block;
	padding: 0 -10px 0 0 ;
	margin: 0 -10px 0 0 ;
	text-indent: -9999px;
	background: transparent url(../images/btn-reset.gif) 0 2px no-repeat;
	width: 22px;
	height: 22px;
	outline: none;
}
#tags_controls a#tags_reset_button:hover {
	background-position: 0 -26px;
}
#tags_controls a#tags_reset_button:active {
	background-position: 0 -54px;
}
/* END Tags */

/* Zoombar */

  #zoombar {
    float: right;
    margin: 7px 20px 0 0;
  }
  #zoombar-slider {
  	float: left;
  	width: 160px;
  	height: 29px;
  	background: url(../images/zoomer-bar.gif) -22px 0 no-repeat;
  }

  #zoombar div { float: left; }

  #zoombar a#zoombar-min,
  #zoombar a#zoombar-max {
  	float: left;
  	text-indent: -10000px;
  	width: 22px;
  	height: 29px;
  	background-image: url(../images/zoomer-bar.gif);
  	background-repeat: no-repeat;
  }
  	#zoombar a#zoombar-min {
  		background-position: 0 0;
  	}
  	#zoombar a#zoombar-max {
  		background-position: 100% 0;
  	}
  #zoombar-slider a.handler {
  	display: block;
  	position: relative;
  	top: 7px;
  	width:15px;
  	height:18px;
  	background: url(../images/zoomer-handler.png) 0 0 no-repeat;
  }
  	#zoombar-slider a.handler:hover {
  		background-position: 0 -20px;
  	}

/*---------------------------------------------*/
/* Budget Selector                             */
/*---------------------------------------------*/

#budget_selector {
  position: relative;
	background: url(../images/budgetselector_background.gif) top; 
	height: 40px;
	width: 100%;
	z-index: 3;
}
  #budgets_list_container {
  	position: absolute;
    width: 100%;
    top: 144px;
    left: 0px;
    z-index: 4;
  }

#budgets_list {
	position: relative;
}

#budgets_list div.budget_label, #budget_selector div.budget_label {
	position: absolute;
	top: 10px;
	left: 30px;
}

#budgets_list div.budget_label a, #budget_selector div.budget_label a { 
	color: #444;
}

#budgets_list div.budget_info, #budget_selector div.budget_info {
	position: absolute;
	top: 10px;
	left: 245px;
}

#budgets_list div.budget_status, #budget_selector div.budget_status {
  position: absolute;
  top: 15px;
  left: 700px;
}

#budgets_list div.budget, #budget_selector div.budget {
	position: relative;
	height: 40px;
  background: url(../images/budgetslist_background.gif) top;

}

#budgets_list div.budget:hover { 
  background: url(../images/budgetslist_background_hover.gif) top; 
}

#budgets_list div.budgets_list_shadow { 
  height: 6px; 
  background: url(../images/budgetslist_shadow.png) top;
}

/* small edition */

#budget_selector_small {
  position: relative;
/*  top: 135px;
  left: 420px;
*/
  background: #EFEFEF;
	height:  25px;
	width: 340px;
	z-index: 300;
}

#budgets_list_small_container {
	position: absolute;
  width: 340px;
  z-index: 300;
}

#budgets_list_small {
	/*display: none;*/
	background: #fff;
	position: relative;
	border: 1px solid #ccc;
}

#budgets_list_small div.budget_label, #budget_selector_small div.budget_label {
	position: absolute;
	top: 5px;
	left: 5px;
}

#budgets_list_small div.budget_label a, #budget_selector_small div.budget_label a { 
	color: #444;
}

#budgets_list_small div.budget_info, #budget_selector_small div.budget_info {
	position: absolute;
	top: 5px;
	left: 110px;
}

#budgets_list_small div.budget_status, #budget_selector_small div.budget_status {
  position: absolute;
  top: 10px;
  left: 200px;
}

#budgets_list_small div.budget, #budget_selector_small div.budget {
	position: relative;
	height: 25px;
	background: #fff;
}


/*---------------------------------------------*/
/* Container                                   */
/*---------------------------------------------*/

#container {
  position: relative;
  background-color: #FFF;
  overflow: auto;
}
  #container h1 {
    margin: 20px;
    font-size: 18px;
    color: #333;
  }
    #container h1 a.toggle-datepicker {
      font-weight: bold;
    }


/*---------------------------------------------*/
/* Products, Packages and Users                */
/*---------------------------------------------*/
#items-list {
  margin: 10px;
  overflow: hidden;
}
  #items-list h2 {
    clear: both;
    margin: 1em 0;
    font: bold 18px "Helvetica Neue", Arial, serif;
    color: #333;
    height: .75em;
    border-bottom: 1px solid #CCC;
  }
    #items-list h2 span {
      padding: 0 10px;
      background-color: #FFF;
    }
    #items-list h2 em {
      padding-left: .25em;
      font-size: 12px;
      font-weight: normal;
      color: #999;
      vertical-align: 1px;
    }
    #items-list h2 em strong {
      padding: 0 .125em;
      color: #333;
    }
    
      #items-list h2 em a {
        padding: 0 .25em 0 18px;
        background: #FFF url(../images/btn-icons.gif) no-repeat 2px -2px;
        border: 0;
      }
      #items-list h2 em a:hover {
        padding: 0 .25em 0 18px;
        background-color: #FF9;
        border: 0;
      }
        #items-list h2 em a strong {
          border-bottom: 1px dashed #999;
        }
        #items-list h2 em a:hover strong {
          border-bottom-style: solid;
        }
        
        
      #items-list h2 .event-img {
        position: relative;
        top: -7px;
        left: -5px;
        margin: 0;
        padding: 0;
      }
        #items-list h2 .event-img img {
          vertical-align: -18px;
          width: 36px;
          height: 36px;
          background-color: #FFF;
          border: 1px solid #CCC;
          z-index: 1;
        }
    
    
      #items-list h2 .status {
        float: left;
        text-transform: uppercase;
        font-size: 11px;
        font-weight: bold;
        background-color: #FFF;
        width: 70px;
      }
        #items-list h2 .status i {
          float: right;
          margin: .25em 8px 0 0;
          padding: 2px 5px 2px;
          font-style: normal;
          color: #FFF;
        }

      #items-list h2 .status-new i        { background-color:#693; }
      #items-list h2 .status-layout i     { background-color:#FD971F; }
      #items-list h2 .status-sent i       { background-color:#AE81FF; }
      #items-list h2 .status-confirmed i  { background-color:#75B1EE; }
      #items-list h2 .status-closed i     { background-color:#EFEFEF; color: #999!important; }
      
  .items-category {
    clear: both;
    margin-bottom: 1em;
    overflow: hidden;
  }
  
    .items-category li { list-style: none; }
  
    .empty-category p {
      margin: 0 10px 1em;
      text-align: left;
      font: italic 15px Georgia, "Times New Roman", Times, serif;
      color: #999;
    }

/*---------------------------------------------*/
/* Package container                           */
/*---------------------------------------------*/

    #package-container .active {
      background-color: #BBB;
      border-color: #444;
    }
    #package-container .passive {
      border: 0;
      background-color: transparent;
    }
    #package-container .enter {
      background-color: #FFC;
      border-color: #444;
    }
    
    #package-list .notice,
    #wastebin .notice {
      display: none;      
      left: 0;
      top: 50%;
      font: bold 150% "Helvetica Neue", Arial, sans-serif;
      color: #666;
      text-align: center;
      text-shadow: #FFF 0 1px 0;
      width: 100%;
      position: absolute;
    }
      #package-list.empty .notice,
      #package-list.active .notice {
        display: block;
      }
      #package-list.enter .notice {
        color: #333;
      }
      #package-list.loading .notice {
        text-indent: -10000px;
        background: url(../images/loader-package.gif) no-repeat 50% 12px;
      }
      #package-list.passive .notice {
        display: none;
      }  
        
    .cart #package-list.active .notice { background-position: 0 -80px; }
    .cart #package-list.enter .notice { background-position: 0 -160px; }
      
    #wastebin .notice {
      display: block;
    }
  
    #package-form {
    }
      #package-form input,
      #package-form a,
      #package-form span {
        float: left;
      }
        #package-form span.separator {
          color: #999;
        }
        #package-form span.separator,
        #package-form .actionlink {
          margin: 5px;
        }
      
  /* Counters for products in package */
  .package .count,
  .product .count,
  .product .count-input {
    position: absolute;
    top: -.75em;
    right: -1.25em;
    padding: 1px 24px;
    font-size: 11px;
    color: #FFF;
    font-weight: bold;
    text-decoration: none!important;
    background-color: #36C;
	overflow: visible;
  }
  .package a.count:hover,
  .product a.count:hover {
    background-color: #333!important;
  }
  
  .count-pers {
    background-color: #DDD!important;
    color: #666!important;
    cursor: default!important;
  }

  .product input.count-input {
    top: -.45em;
    font-size: 11px;
    text-align: right;
    width: 50px;
    color: #000;
    background-color: #FFF;
    border: 1px solid #36C;
    outline: none;
  }


/*---------------------------------------------*/
/* Articles                                    */
/*---------------------------------------------*/

ul.attachment_list {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

ul.attachment_list li {
  margin: 1px;
  padding: 0px;
  background: #FAFAFA;
  overflow: hidden;
}

ul.attachment_list a {
  display: block;
  float: left;
  /*clear: left;*/
}

ul.attachment_list div, ul.attachment_list img {
  padding-right: 10px;
  /*line-height: 30px;*/
  position: relative;
}

ul.attachment_list div a.button {
  position: absolute;
  right: 0px;
  top: 10px;
}

ul.attachment_list div.details {
  min-width: 240px;
}

ul.attachment_list span.info {
  /*
  position: absolute;
  left: 0px;
  top: 15px;
  float: left;
  */  
  display: block;
  left: 0px;
  position: relative;
  top: 23px;
  font-size: 10px;
  color: #aaa;
}

.file-delete {
  float: right;
  padding: 16px;
}


/*---------------------------------------------*/
/* Products                                    */
/*---------------------------------------------*/

.product {
  position: relative;
  float: left;
  margin: 8px;
  text-decoration: none!important;
  cursor: pointer;
}

.product.new, 
.product.editable.new {
  opacity: 0;
  -moz-opacity: 0;
  filter:alpha(opacity=0);
}

.product .thumbnail,
.clone .thumbnail {
  display: block;
  background-color: #FFF;
  border: 1px solid #A4A4A4;
  height: 12em;
  width: 12em;
}

  .product:hover .thumbnail {
    border-color: #A4A4A4;
  }

.product .description {
	position: absolute;
	display: block; 
	top: 160px;
	left: 4px;
	text-align: center;
	color: #666;
	height: 56px;
	width: 148px;
	overflow: hidden;
	cursor: default;
}
  .product .description em {
    font-size: 11px!important;
  }


/* Templates and packages custom */
.template{
    /* Gecko-based, Mozilla */
	-moz-user-select:none;
	/* Safari */
	-khtml-user-select: none;
}
.template .thumbnail,
.thumbnail {
	position: relative;
	border: 0;
}

.product .thumbnail .overlay  {
	position: absolute;
	display: block;    
	color: #000;
	padding: 3em 0;
	text-decoration: none;
	text-align: center;	
	vertical-align: center;
	text-indent: -10000px;
	font: bold 150% "Helveitca Neue", Arial, Helvetica, sans-serif;
	width: 148px;
	height: 40px;
	}
	
  .product .product-label {
    background-color: Blue;
  }
    
  .product:hover .thumbnail .overlay {
    text-indent: 0;
	position: absolute;
    opacity: .5;
    -moz-opacity: .5;
    filter:alpha(opacity=50);
  }

/* Product templates */
  .template .thumbnail .overlay {
    background-color: transparent;    
  }
  .template:hover .thumbnail .overlay {
    background-color: #DF8888;
	z-index: 99;
  }
  
/* Packages */
.package {
  position: relative;
}
  .package .thumbnail img {
    width: 12em;
    height: 12em;
  }
  .package .thumbnail .overlay {
    text-indent: -10000px;
    background-color: transparent;
    border: 1px solid #999;
    border-right-style: double;
    border-bottom-style: double;
    border-width: 1px 3px 3px 1px;
  }
  .package:hover .thumbnail .overlay {
    text-indent: 0;
    background-color: #EEE;
    border-color: #666;
    opacity: .5;
    -moz-opacity: .5;
    filter:alpha(opacity=50);
  }
  
  .package.selected .thumbnail .overlay {
    text-indent: 0;
    background-color: #FF9;
    border-color: #000;
    opacity: .65;
    -moz-opacity: .65;
    filter:alpha(opacity=65);
  }
    
/* Product labels */
.thumbnail .product-label {
  position: absolute;
  float: left;
  padding: 2px 5px;
  font-weight: bold;
  color: #FFF;
}

  .template .product-label {
    background-color: #E3001B;
	padding: 4px;
  }
  .package .product-label {
    background-color: #999;
  }

/* While dragging */
.clone {
  position: absolute;
  margin: 0;
  z-index: 9999!important;
}
  .clone .thumbnail {
    border: 1px solid #CCC;
  }
  .clone .overlay,
  .clone .count,
  .clone .description {
    display: none!important;
  }
  
/* While in package */
/* Package in packageBox */
#package-container .package .thumbnail .overlay { display: none; }
#package-container .package .thumbnail {
  border-style: double;
  border-width: 1px 4px 4px 1px;
}

  #package-container .product .description {
    display: none;
  }
  

/*---------------------------------------------*/
/* Mailingaktions                              */
/*---------------------------------------------*/
  
#input_select_handlers_choices {
  width: 100%!important;
  height: 200px!important;
}

ol.event-dates {
  margin: 0;
  padding: 0;
  list-style-type: decimal;
}
  ol.event-dates li {
    margin: 1.1em 0 1.5em;
    color: #999;
  }
    ol.event-dates li label {
      margin: 0;
      padding: 0;
      color: #333;
      width: 140px!important;
    }

    ol.event-dates li input {
      width: auto!important;
    }

    ol.event-dates li input.notifytime {
      margin-left: 1.5em;
    }

/*---------------------------------------------*/
/* Budgets                                    */
/*---------------------------------------------*/

table#budget_summary {
	width: 100%;
}

table#budget_summary td {
	padding:  4px;
}

table#budget_summary tr.sub_total {
	border-bottom: #666 1px solid;
}

table#budget_summary tr.total {
	border-bottom: #666 2px solid;
}

tr.budget.inactive {
	color: #aaa;
}

#input_select_systemtag {
  float: right;
  margin: 2px 25px 0 0;
  font-size: 10px;
}

/*---------------------------------------------*/
/* Overlay                                     */
/* to prevent clicks when Popup/Tags open      */
/*---------------------------------------------*/

#overlay, 
#wastebin,
#overlay_budget_select,
#products-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow: auto;
  opacity: 0;
  -moz-opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}

#tags_overlay
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

#overlay[id] { 
  position: fixed;
  z-index: 99;
}

#products-overlay {
  background-color: #EEE;
  opacity: 0.5;
  -moz-opacity: 0.5;
  filter:alpha(opacity=50);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}
#wastebin {
  background: #EEE url(../images/garbagecan.gif) no-repeat 50% 50%;
  z-index: 99;
}
  #wastebin.active {
    background-color: #FFC;
  }


/* Sheet forms */

.form_section {
  clear: left;
  padding: 0 0 12px 0;
  overflow: hidden;
  zoom: 1;
}

.form_section textarea {
  resize:none;
  width:  200px;
}

textarea#input_edit_info {
  width:200px;
  height:60px;
}

.sheet_col label,
.sheet_fieldeditor label
 {
  float:left;
  display: block;
  font-size: 13px;
  width: 110px;
  color: #666;
}

.sheet_col label.long {
  width: 200px;
}

.sheet_col label.no_length {
  width:100%;
}

.sheet_col input,
.prefilled, .sheet_col span.label {
  float:left;
}

.sheet_col span.label {
	line-height: 15px;
	padding-left: 5px;
	padding-right: 10px;
}

.sheet_col input[type="text"],
.sheet_col input[type="password"] { 
  width:200px; 
}

span.label_wide {
  display:block;
  margin:0 0 10px 0;
  color:#666;
  font-size:13px;
}

select.order_select_field {
  width:300px;
  font-size:11px;
  color:#666;
}

div#order_selects .form_section,
div#order_info .form_section {
  padding: 0 10px;
}
  div#order_info h3 {
    float: left;
    padding: 4px 0;
    margin-bottom: 10px;
    margin-right: 10px;
    font-weight: bold;
    color: #000;
  }

  textarea#extra_information_textarea {
    font-family: "Lucida Grande", sans-serif;
    font-size: 10px;
    color: #666;
    width: 300px;
    height: 35px;
  }

textarea#input_articledescr {
  position:relative;
  width:300px;
  height:35px;
  font-size:10px;
  color:#666;
  font-family:"Lucida Grande", sans-serif;
}

textarea#input_articleinfo {
  position:relative;
  width:300px;
  height:35px;
  font-size:10px;
  color:#666;
  font-family:"Lucida Grande", sans-serif;
}

#express_order {
  font-size:11px;
  color:#666;  
}

#express_order input {
  margin: 2px 5px 0 5px;
}

input#cost_unit_field, select#cost_unit_field {
  clear: both;
  width: 300px;
}


span.status.green  { color:#9ebb3c; }
span.status.red    { color:#eb0808; }
span.status.orange { color:#fd971f; }
span.status.violet { color:#ae81ff; }
span.status.blue   { color:#75b1ee; }

/* separator */

div.separator {
  clear:both;
  height:1px;
  margin:10px 25px;
  border-bottom:1px solid #DDD;
}

div.separator_inline {
  clear:both;
  margin:10px 0;
  width:330px;
  border-bottom:1px solid #DDD;
}

div.separator_col {
  clear:both;
  height:1px;
  margin:10px 0px;
  border-bottom:1px solid #DDD;
}


/* Helptexts */

div.inline_helptext {
  color:#8d8c8c;
  font-size:10px;
  margin:0 25px 10px 25px;
}

div.docked_helptext {
  margin:-18px 25px 18px 25px;
  color:#777777;
  background:#ececaa;
  line-height:25px;
  text-indent:62px;
}

/* Sheet Options (Buttons, etc.) */

div.sheet div.options {
  margin: 0 25px;
  padding: 5px 0;
  overflow: hidden;
}
  div.sheet div.options .button {
    margin-top: -5px;
  }
  div.sheet div.options span.separator {
    margin-right: .5em;
    color: #999;
  }

div.sheet div.sheet_info {
  margin-top: 20px;
}


/* Budgets */
div.select_budgets {
  margin: 25px;
}

/* Photos */

.select_photos {
  margin:  25px;
  height: 300px;
  overflow: auto;
}

#select_photos.noscroll {
  overflow: hidden;
}

  .photo,
  .add-photo {
    position: relative;
    float: left;
    margin: 10px 20px 0 0;
    height: 155px;
    text-decoration: none!important;
    overflow: hidden;
    outline: none;
    text-align: center;
  }
    a.photo .file-thumb,
    a.add-photo .file-thumb {
      display: block;
      padding: 1px;
      width: 100px;
	  height: 100px;
      border: 2px solid #fff;
      overflow: hidden;
      cursor: pointer;
	  border: 1ps solid #848484;
    }
	  
  .file-thumb-loading {
	background: url(../images/loader-popup.gif) center no-repeat;
  }
	
    .photo .image-controls {
      position: absolute;
      right: 6px; bottom: 6px;
      display: block;
      float: left;
    }
      .image-controls span {
        float: left;
        margin-left: 5px;
        text-indent: -9999px;
        width: 16px;
        height: 16px;
        border: 1px solid #999;
        border-color: #FFF #999 #999 #FFF;
        cursor: pointer;
      }
      .image-controls span:hover {
        background-color: #DDD;
        border-color: #FFF #666 #666 #FFF;
      }
      .image-controls .image-remove {
        background: #EEE url(../images/btn-icons.gif) no-repeat 0px -31px;
      }
      .image-controls .image-crop {
        background: #EEE url(../images/btn-icons.gif) no-repeat 0px -215px;
      }
      
    .photo img {
      display: block;
      max-width: 100px;
      margin: auto;
    }

    a.photo:hover .file-thumb,
    a.add-photo:hover .file-thumb {
      border-color: #DDD;
    }
    a.active .file-thumb {
      border-color: #06C!important;
    }
    
    a.photo .file-info {
      display: block;
      text-align: center;
      font-size: 11px;
      color: #666;
      width: 100px;
      height: 3em;
      overflow: hidden;
    }
      .file-info .type {
        padding: 2px;
        font-size: 10px;
        font-style: normal;
        background-color: #DDD;
      }


.add-photo {
  display: block;
  text-decoration: none!important;
  color: #999;
  text-shadow: #FFF 0 1px 0;
  width: 110px;
  height: 110px;
}
  .add-photo .file-thumb {
    display: block;
    padding: 11px 0px;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    height: 79px;
    background-color: #F3F3F3;
  }
  .add-photo:hover span {
    color: #666;
  }
    /* Plus sign */
    .add-photo span i {
      display: block;
      padding-top: .125em;
      font-size: 100px;
      color: #DDD;
      line-height: .5;
      width: 90%;
    }
    .add-photo:hover span i {
      color: #D3D3D3;
    }
    
    
#upload-photo {
  margin: 0 25px;
  padding: 10px 30px 10px 10px;
  color: #999;
  border-top: 3px solid #CCC;
  background-color: #EFEFEF;
  overflow: hidden;
}
  #upload-photo h3 {
    margin-bottom: .5em;
    font-weight: bold;
  }
  #upload-photo p {
    margin-bottom: .5em;
  }
  
#flux_assets.loading {
  background: url(../images/loader-popup.gif) no-repeat 50% 50%;
}

/* Mailing event details popup */
#popup h4 {
  margin: 10px 0!important;
  font-size: 13px;
  font-weight: bold;
  color: #333;
}
#popup .event-products .product {
  margin: 10px 10px 10px 0;
}
  #popup .event-products .product .thumbnail {
    width: 90px;
    height: 90px;
    border-color: #EEE;
    cursor: default!important;
  }
    #popup .event-products .product .thumbnail img {
      width: 90px;
      height: 90px;
    }
  #popup .event-products .product .description {
    display: none;
  }
  
  
  /* Milestones */
  .event-milestones {
  }
    .event-milestones li {
      position: relative;
      display: block;
      margin: 0 0 .5em;
      padding: 1px 10px;
      color: #333;
      list-style: none;
    }
      .event-milestones li span,
      .event-milestones li .milestone-edit  {
        position: absolute;
        top: 0;
        right: 10px;
      }
      .event-milestones li .milestone-edit {
        font-size: 11px;
      }
        .event-milestones li .milestone-edit button {
          font-size: 10px;
        }
        .event-milestones li .milestone-edit input.datepicker {
          font-size: 10px;
          width: 60px!important;
        }
    .event-milestones li.active {
      color: #FFF;
      font-weight: bold;
      background-color: #36C;
    }
    .event-milestones li.completed {
      color: #AAA;
      text-decoration: line-through;
    }


/* Text counter */
#text-counter {
  margin: 1em 0;
  font-size: 11px;
}
  #text-counter.warn strong {
    color: #C00;
  }
  #text-counter span {
    display: block;
    color: #999;
  }


/* Progress bar */
.progress-bar-container {
  padding: 100px 40px;
}
  .progress-bar {
    position: relative;
    height: 18px;
    background-color: #FFF;
    border: 1px solid #CCC;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
  }
  .progress-bar .progress-amount {
    height: 18px;
    background-color: #DDD;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
  }
  .progress-bar .progress-status {
    position: absolute;
    left: 0;
    top: 0;
    padding: 2px 0;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    color: #666;
    text-shadow: #FFF 0 1px 0;
    height: 18px;
    width: 100%;
  }

/* Slider */
#slider_section {
	position: relative;
	margin: 10px 0!important;
	overflow: hidden;
	zoom: 1;
}
#slider_track {
	position: relative;
	width: 333px;
  height:16px;
  background:url(../images/slider-track-background.png) left center no-repeat;
}
	#slider_knob {
		position: absolute;
		width: 16px;
		height: 16px;
		background: url(../images/zoomer-handler.gif) 0 1px no-repeat;
		z-index: 99;
	}

#slider_track.custom_slider {
	padding: 0;
	width: 260px;
	height: 16px;
	background: transparent url(../images/slider-track-small-background.png) 4px 50% no-repeat;
}

#custom_value {
	position: absolute;
	left: 280px;
	top: 25px;
}
	#custom_value input {
		text-align: right;
	}

input#slider_custom_value {
	width: 50px;
}

#scala {
	position: relative;
	height: 25px;
	overflow: visible;
	zoom: 1;
}
	#scala .tick {
		position: absolute;
		display: block;
		padding: 8px 0 0;
		border-left: 1px solid #DDD;
		height: 10px;
		overflow: visible;
	}
  	#scala .unit {
  	  position: absolute;
  		display: block;
  		margin-left: -1.35em;
  		color: #BBB;
  		font-size: 10px;
  		font-weight: bold;
  		text-decoration: none!important;
  		text-align: center;
  		width: 2.5em;
  		background-color: #FFF;
  	}
  	  #scala .unit span {
  	    border-bottom: 1px dashed #CCC;
  	    cursor: pointer;
  	  }
    	#scala .unit:hover span {
    	  color: #999;
    	  border-bottom: 1px solid #999;
    	}
	
/* Date scala */
.track #scala {
	position: absolute;
	top: 7px;
}
  .track #scala .tick {
		position: absolute;
		display: block;
		padding: 0 0 0 2px;
		border-left: 1px dotted #CCC;
	}
	.track #scala .unit {
		display: block;
		padding: 1.25em 0 0;
		margin-left: 0;
		color: #888;
		font-size: 9px;
		font-weight: normal;
		line-height: 1;
		text-decoration: none!important;
		text-align: left;
		text-shadow: #FFF 0 1px 0;
		width: 4em;
		background: none;
	}
	.track #scala .highlight {
	  color: #666;
	  font-weight: bold;
	  border-color: #AAA;
	}

/* latest orders */

#latest_orders {
  height:90px;
}

#latest_orders_table {
	width: 100%;	
}


/* Info fields */

div.info_field {
  background:#efefef;
  padding:10px 5px;
  border-top:1px solid #e3e3e3;
  border-bottom:1px solid #e3e3e3;
}

div#order_info_field {
  height:100px;
}

div#budget_info_field {
  
  color: #666;
}

div#info_title {
  color:#666;
}



/* Edit existing product / Actions menu */

div.actions {
  float:left;
  width:300px;
  margin:25px 0 0 0;
}

div#delete_product_separator {
  margin-left:5px;
}

div.actions a#delete_product {
  margin:0 0 0 3px;
}
 
div#delete_confirm {
  width:227px;
  padding:5px;
  margin:50px 0 10px 0;
  /*border-top: 2px solid #cf4f4f;*/
  border: 1px solid #ccc;
  background-color:#efeeee;
  text-align:center;
  clear:both;
/*  display:none;*/
}

/* Product Previews */

div#preview_img_pdf {
  float:left;
  width:375px;
  height:350px;
}

img.product_preview_image {
  margin:0 0 10px 0;
}

img.product_preview {
  margin: 0;
  width: 200px;
  height: auto;
  border: 1px solid #CCC;
}

div.preview_information {
  width:300px;
  float:left;
  margin:25px 0 0 5px;
}

div.preview_information h4 {
  color:#000;
  font-weight:bold;
  margin-bottom:10px;
}

div.preview_information p {
  color:#666;
  margin-bottom:10px;
}

div#article_image {
  position: relative;
}

div#preview_pdf_link {
  position:absolute;
  margin-left:30px;
  right: 20px;
  top: 0px;
}

/* Errors */

div.sheet div.error_message {
  border:1px solid #b84040;
  background:#f6e8e8;
  margin:20px 0 0 0;
  color:#b84040;
  padding:10px;
  width:280px;
}

/*---------------------------------------------*/
/* Dasboard                                    */
/*---------------------------------------------*/

div#dashboard {
  padding:15px 20px 0 20px;
}

div.dashcol {
  float:left;
  margin:0 50px 0 0;
}

div.dashcol.wide {
  width:360px;
}

div.dashcol.narrow {
  width:250px;
}

div.dashcol h2 {
  font-family:"Georgia", serif;
  font-size:15px;
  font-style:italic;
  color:#575656;
  padding:0 0 3px 0;
  border-bottom:1px solid #cbcbcb;
}

/* Letze Bestellungen - Recent orders */

div.dashcol div.article {
  padding:10px 0;
  background:#eaeaea;
  border-bottom:1px solid #cbcbcb;
  position:relative;
  width:360px;
  min-height:75px;
}

div.dashcol div.article.last {
  margin:0 0 50px 0;
}

div.dashcol div.article span.date {
  color:#999;
  font-size:11px;
  width:160px;
}

div.dashcol div.article div.status {
  text-align:center;
  text-transform:uppercase;
  position:absolute;
  background:#f6f6f6;
  font-size:9px;
  font-weight:bold;
  padding:3px 0;
  width:60px;
  top:10px;
  right:0;
}

div.status.green { color:#9ebb3c; }
div.status.red { color:#fd971f; }

img.article_thumb {
  margin:0 20px 0 0;
  float:left;
}

a.reorder {
  display:block;
  float:left;
  margin:0;
}

/* Freigaben - Approvals */

div#approvals {
  margin:25px 0 50px 0;
  background:#e3e3e3;
}

div#approvals div.count {
  color:#999;
  font-family:"Georgia", serif;
  text-shadow:1px 1px 1px #e3e3e3;
  width:80px;
  height:50px;
  line-height:40px;
  font-size:40px;
  float:left;
  margin:0 0 0 10px;
}

div#approvals div.description {
  margin:5px 0;
  width:160px;
  float:left;
}

div#approvals div.description span {
  font-size:15px;
  font-family:"Georgia", serif;
  font-style:italic;
  color:#555;
}

div#approvals div.description p {
  font-size:11px;
  font-family:"Georgia", serif;
  font-style:italic;
  color:#555;
}

textarea#storno_message {
  position:relative;
  width:320px;
  height:36px;
  margin:10px 0 0 0;
  overflow:hidden;
}

div#approval_pdf {
  position:relative;
  margin-top:10px;
  margin-left:10px;
  width:230px;
  height:40px;
  padding:11px 0 0 40px;
  background: #fff url(/images/pdf.png) no-repeat top left;
}

/* Concierge */

#db_opt_info {
  padding:5px 0 0 0;
  color:#999;
}

div#concierge em {
  color:#000;
}

div#concierge a.internal {
  font-size:12px;
}

img.company_logo {
  margin-top:15px;
}

/*---------------------------------------------*/
/* Approvals - Freigaben / History - Historie  */
/*---------------------------------------------*/


div.article_header {
  width: 350px;
  margin-top: 40px;
  margin-left: 20px;
  margin-bottom: 30px;
  height: 50px;
}

div.article_header h2 {
  float: left;
  line-height: 60px;
  font-family:"Georgia",serif;
  margin-left:20px;
  padding: 5px;
  font-size: 17px;
}

div#history_overview, 
div#approvals_overview, 
div#budget_overview,
div#events_overview {
  padding: 0 0;
}

table.sortable_table {
  margin: 25px 0 0 0;
  color: #333;
  width: 100%;  
}
  #items-list table.sortable_table {
    margin: 0 0 25px 0;

  }

table.sortable_table th,
table.sortable_table td {
  padding: 4px;
  border-bottom: 0px solid #EFEFEF;
}
  table tr.altRow td {
    background-color: #F5F3F3;
  }
  table tr.selected td {
    background-color: #FFC;
  }

table.sortable_table th {
  background: #E8E8E8;
}

table.sortable_table th#multiple_selection_header {
  padding-top:0px;
  padding-bottom:0px;
  border-bottom:0px;
}

  table.sortable_table th a {
    text-decoration:none;
    color:#666;
  }

  table.sortable_table th.sortable a,
  a#select_all_link, 
  a#unselect_all_link {
    border-bottom:1px dashed #aaa;
  }

  table.sortable_table th a.active {
    font-weight:bold;
    color:#333;
  }

  table.sortable_table td.status {
    text-transform: uppercase;
    font-size: 11px;
  }

  table.sortable_table td.status.green  { color:#9EBB3C; }
  table.sortable_table td.status.red    { color:#EB0808; }
  table.sortable_table td.status.orange { color:#FD971F; }
  table.sortable_table td.status.violet { color:#AE81FF; }
  table.sortable_table td.status.blue   { color:#75B1EE; }

  table.sortable_table tr.selected {
    background-color: #FBF6D1;
  }

  table.sortable_table tr.decline td {
    background-color: #FCC;
  }

  table.sortable_table tr.approve td {
    background-color: #CFC;
  }

  table.sortable_table tr.view_only {
    color:#999;
  }
  
  table th.sortable {
    white-space: nowrap;
    cursor:pointer;
  }

  table th.sortable.active,
  table th.sortable.hover.active {
    background:url(/images/th-active.gif) repeat-x 0px 1px;
  }

  table th.sortable.hover {
    background:#ddd;
  }

  th.sortable div.sort,
  th.sortable div.sort.up,
  th.sortable div.sort.down {
    float: right;
    top: 0;
    margin-left: 3px;
    width: 12px;
    height: 14px;
    background: url(/images/sort.gif) no-repeat 12px -4px;
  }

  th.sortable div.sort.up   { background-position: -12px -4px; }
  th.sortable div.sort.down { background-position: 0 -4px }

  th.sortable.th_department {
    width:100px;
  }

  th.sortable.th_amount {
    width:90px;
  }

  th.sortable.th_date {
    width:120px;
  }

  th.th_approvals_options {
    width:230px;
  }

  th.th_history_options {
    width:150px;
  }

  a#multiple_selection_confirm,
  a#multiple_selection_cancel {
    margin-left:5px;
  }

  table#approvals_table th#multiple_selection_header {
    border-bottom:none;
    background:#efeeee;
    padding:0;
    margin:0;
  }
    table#approvals_table th#multiple_selection_header #multiple_selection_options {
      display: block;
      overflow: hidden;
      zoom: 1;
    }

  table#history_table th#multiple_selection_header {
    border-bottom:none;
    background:#efeeee;
    padding:0;
    margin:0;
    
  }
  
/* Events table */
.events-table th.number,
.events-table td.number {
  text-align: right;
  width: 10%;
}
.events-table td.number {
  padding-right: 20px;
}


.events-table td.event-title {
  padding: 0;
  width: 80%;
}
  .events-table td.event-title a {
    display: block;
    padding: 8px;
    color: #333;
    text-decoration: none;
    background: url(../images/more-link.gif) no-repeat 100% 9px;
    width: 95%;
  }
    .events-table td.event-title .event-img {
      position: relative;
    }
      .events-table td.event-title .event-img img {
        position: absolute;
        left: 0; top: -6px;
        width: 24px;
        height: 24px;
        background-color: #FFF;
        border: 1px solid #CCC;
        z-index: 1;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
      }
      
    .events-table td.event-title .event-name,
    .events-table td.event-title .handler-name {
      border-bottom: 1px solid #CCC;
    }
    
    .events-table td.event-title .event-name {
      margin-left: 30px;
    }
  
  .events-table td.event-title a:hover {
    background-position: 100% -31px;
  }
    .events-table td.event-title a:hover .event-name,
    .events-table td.event-title a:hover .handler-name {
      color: #000;
      border-bottom-color: #333;
    }  
      .events-table td.event-title a:hover .event-img img {
        top: -35px;
        left: -30px;
        width: 75px;
        height: 75px;
        border: 2px solid #06C;
        z-index: 99;
      }
    
    table.events-table td.status {
      text-transform: uppercase;
      font-size: 9px;
      font-weight: bold;
      width: 75px;
    }
      table.events-table td.status span {
        float: right;
        padding: 2px 3px 1px;
        color: #FFF;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
      }

    table.sortable_table td.status.status-new span  { background-color:#693; }
    table.sortable_table td.status.status-layout span { background-color:#FD971F; }
    table.sortable_table td.status.status-sent span { background-color:#AE81FF; }
    table.sortable_table td.status.status-confirmed span   { background-color:#75B1EE; }
    table.sortable_table td.status.status-closed span    { background-color:#EFEFEF; color: #999!important; }
    table.events-table tr.closed td,
    table.events-table tr.closed td a { color: #999!important; }
    
    table.events-table td.gfx {
      
    }
      table.events-table td.gfx span.print {
        text-indent: -10000px;
      }

/* Filter panel */
.filter-panel {
  position: relative;
  margin: 25px 20px 0 20px;
  color: #777;
  background: #E3E3E3;
  border: 1px solid #CCC;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
  .filter-panel h2 {
    padding: 10px 15px 0;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
  }
  
  .filter-panel .filter-wrapper {
    padding: 15px 10px;
    overflow: hidden;
  }

  .filter-panel .filter-wrapper span {
    float: left;
    padding: 15px 0 0 0;
  }

  .filter-panel input {
    color: #333;
    margin: 0 7px;
  }

  .filter-panel .filter-wrapper .filter {
    float: left;
    width: 100px;
  }
  .filter-panel .filter-wrapper .filter.time {
    width: 60px;
  }
  
    .filter-panel .filter-wrapper .filter label {
      display: block;
      margin: 0 0 3px 0;
      padding: 0 0 0 7px;
      text-transform: uppercase;
      font-size: 9px;
      color: #888;
    }

  .filter-panel a.button-small {
    margin: 13px 10px 0 7px;
  }
    .filter-panel a.button-small span {
      padding:0 15px 0 0;
    }
    
.filter-panel .tags_list {
  position: relative;
  margin: 10px 14px;
  width: auto;
  height: auto;
  border: 0;
}
.filter-panel #tags_controls {
  top: 35px;
  right: 0;
  margin: 0;
  padding: 0;
}

  
/* Date slider */
#table_slider_help {
  font-size:12px;
  margin:0 0 5px 0;
  color:#666;
}

#table_slider .track {
  margin-top: 18px;
  background: url(/images/slider-track-long.png) left top no-repeat;
  height: 16px;
  width: 500px;
}

#table_track {
  position: relative;
  float: left;
  margin: 3px 10px 0 10px;
  padding: 0 0 20px;
}

  #table_slider .knob {
    position: absolute;
    top: -5px;
    background: url(/images/zoomer-handler.png) no-repeat 0 1px;
    height: 18px;
    width: 18px;
    z-index: 2;
    cursor: pointer;
  }
  #table_slider .knob:hover {
    background-position: 0 -19px;
  }

  .track-distance {
    position: absolute;
    top: 0;
    height: 6px;
    width: 100px;
    z-index: 1;
    background: url(/images/slider-track-long-active.png) left top no-repeat;
  }


.sliderDate {
  float:left;
  width:120px;
}

.sliderDate span {
  color:#333;
}

.other_option {
  white-space:nowrap;
}

.sliderDate.last {
}

#toggle_details_filter {
  float:left;
  margin:16px 0 0 0;
}

#toggle_slider {
  float:left;
  margin:0;
}

img.sort {
  margin-left:5px;
  margin-bottom:-8px;
}

.approval_options_left {
  margin:10px 0 0 10px;
}



#dashboard a.button-small {
  margin:5px 0 0 0;
}


/*---------------------------------------------*/
/* Media Uploader Widget                       */
/*---------------------------------------------*/


div.map {
  position:absolute;
  top:140px;
  left:70px;
}

div.map.single {
  width:305px;
  height:178px;
}

div.map div.actuator {
  background:url(/images/media_uploader_mouseenter.png) top left;
  cursor:pointer;
  text-align:center;
}

div.map div.actuator .label {
  display:none;
}

div.map div.actuator.over {
  background:url(/images/media_uploader_mouseenter_over.png) top left;
}

div.map div.actuator.over .label {
  display:block;
}

div#map_background_actuator .label, 
div#map_background_actuator.over .label { 
  display:block;
}

div#map_photo {
  width:110px;
  height:140px;
  position:absolute;
  left:178px;
  top:10px;
  border:1px dashed #999;
}

div#map_photo div.actuator {
  width:110px;
  padding-top:60px;
  height:80px;  
}

div#map_logo {
  width:50px;
  height:50px;
  position:absolute;
  left:100px;
  top:10px;
  border:1px dashed #999;
}

div#map_logo div.actuator {
  width:50px;
  height:30px;
  padding-top:20px;
}

div#map_background {
  position:absolute;
  width:150px;
  height:28px;
  position:absolute;
  left:10px;
  top:174px;
  background-color:transparent;
}
    
div#map_background div#map_background_actuator {
  width:150px;
  height:20px;
  padding:3px 0 0 0;
  text-align:center;
  font-size:11px;
  background:transparent url(../images/add-background-background.png) bottom center no-repeat;  
}

div#map_background div#map_background_actuator a {
  text-decoration:none;
  font-weight:bold;
  color:#ccc;
}

div#map_background div#map_background_actuator a:hover {
  color:#fff;
}

div.add_media_icon {
  position:absolute;
  width:21px;
  height:21px;
  background:url(/images/add-image-icon.png);  
}

/*---------------------------------------------*/
/* Users                                       */
/*---------------------------------------------*/

.user {
  position: relative;
  float: left;
  margin: 10px 0 0 10px;
  background: #FFFFFF url(/images/bg-user.png) 1px 100% repeat;
  border: 1px solid #DDD;
  width: 320px;
  height: 125px;
  overflow: hidden; 
}

.user-male   { 
	margin-left: 15px;
	margin-top: 10px;
	width: 74px;
	height: 105px;
	background-image: url(/images/user-male.png); 
	float: left;
}

.user-female { 
	margin-left: 15px;
	margin-top: 10px;
	width: 74px;
	height: 105px;
	background-image: url(/images/user-female.png); 
	float: left;
}

.user-unknown { 
	margin-left: 15px;
	margin-top: 10px;
	width: 74px;
	height: 105px;
	background-image: url(/images/user-unknown.png); 
	float: left;
}

.user-type-company { 
	background-image: url(/images/user-company.png); 
}

a#select_male, a#select_female, a#select_ordering, a#select_approving, a#select_productmanaging, a#select_administration {
  float:left;
  width:32px;
  height:32px;
  margin-right:10px;
  border: 2px solid #ffffff;
  cursor:pointer;
  text-indent:-9000px;
}

a#select_male { background:url(/images/user-male-small.png) no-repeat #efeeee; }
a#select_female { background:url(/images/user-female-small.png) no-repeat #efeeee; }
a#select_ordering { background:url(/images/user-order.gif) no-repeat #efeeee; }
a#select_approving { background:url(/images/user-approve.gif) no-repeat #efeeee; }
a#select_productmanaging { background:url(/images/user-productmanager.png) no-repeat #efeeee; }
a#select_administration { background:url(/images/user-admin.gif) no-repeat #efeeee; }

a#select_male:hover, a#select_female:hover, a#select_ordering:hover,
a#select_approving:hover, a#select_administration:hover, a#select_productmanaging:hover {
  border: 2px solid #9ebb3c;
}
a#select_male.selected, #select_female.selected, a#select_ordering.selected,
a#select_approving.selected, a#select_administration.selected, a#select_productmanaging.selected {
  border: 2px solid #ccc;
}

.user.new {
  width:0;
  opacity:0;
}

  .user h3,
  .user .user-info {
    margin-left: 115px;
  }

  .user h3 {
    padding: 10px 10px 0 0;
    font-family: "Georgia",serif;
    color: #333;
    font-size: 15px;
    text-shadow: #EFEEEE 0 0 1px;
  }
  
  .user .user-info p {
    margin: 0 0 .25em;
    font-size: 11px;
  }

  .user-actions {
    position: absolute;
    left: 110px;
    bottom: 10px;
  }


/*---------------------------------------------*/
/* Stockitems                                  */
/*---------------------------------------------*/

.stockitems .stockitem {
  position: relative;
  float: left;
  padding: 10px;
  margin: 10px;
  color: #575757;
  width: 320px;
  height: 14em;
  overflow: hidden;
}

  .stockitem  .stockitem_left {
  	float: left;
  }

  .stockitem .stockitem_left .stockitem_img {
  	padding: 2px 2px 0px;
    background-color: #FFF;
    border: 2px solid #EEE;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    height: 12em;
    width: 12em;
  }
    .stockitem_img a {
      text-decoration: none;
    }
    
  .stockitem .stockitem_info {
  	margin-left: 160px;
  }
  
  .stockitem h3 {
    margin-top: 2px;
    padding: 0 0 3px 0;
    font-size: 16px;
    color: #575656;
  }
    .stockitem h3 a {
      color: #575656;
    }
    .stockitem h3 a:hover {
      color: #333;
    }
  
  .stockitem_descr {
    margin: .25em 0 1em;
  }

  .stockitem_details {
    font-size: 11px;
  }
    .stockitem_details p {
      margin: .5em 0;
      color:  #575656;
    }
    .stockitem .warning strong {
    	color:  #961A17;
    }

  .stockitem .stockitem_buttons {
  	margin-top: 15px;
  }


/*---------------------------------------------*/
/* Autocompleter                               */
/*---------------------------------------------*/

ul.autocompleter-choices {
  position: absolute;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #7c7c7c;
  border-left-color: #c3c3c3;
  border-right-color: #c3c3c3;
  border-bottom-color: #ddd;
  background-color: #EFEFEF;
  text-align: left;
  font-family: "Helvetica Neue", Verdana, Geneva, Arial, Helvetica, sans-serif;
  z-index: 5000;
}

ul.autocompleter-choices li {
  position: relative;
  margin: -2px 0 0 0;
  padding: 0.2em 1.5em 0.2em 1em;
  display: block;
  float: none !important;
  cursor: pointer;
  font-weight: normal;
  white-space: nowrap;
  font-size: 1em;
  line-height: 1.5em;
}

ul.autocompleter-choices li.autocompleter-selected {
  background-color: #444;
  color: #fff;
}

ul.autocompleter-choices span.autocompleter-queried {
  display: inline;
  float: none;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried {
  color: #9FCFFF;
}




div#print {
  display:none;
}

div#printlogo {
  display:none;
}

/*---------------------------------------------*/
/* Multiple Select                             */
/*---------------------------------------------*/

/*fieldset.multiple-select {
	clear: both;
	padding: .5em 0;
	border: 0;
}
	fieldset.multiple-select legend {
		color: #666;
		font-weight: bold;
	}
	fieldset.multiple-select label {
		display: block;
		float: none;
		padding: .25em;
		width: auto;
		font-size: 11px;
	}
		fieldset.multiple-select input {
			margin-right: .5em;
		}*/

.multiple_select {
	width: 315px;
	height: 85px;
}
ul.multiple_select_list {
	margin: 0;
	padding: 0;
	overflow: auto;	
	border: 0;
}
	ul.multiple_select_list li {
		padding: 0 0 0 23px;
		font-weight: normal;
		font-size: 11px;
		line-height: 19px;
		height: 19px;
		color: #666;
		background: #FFF url('../images/i-chkbox.gif') 3px 1px no-repeat;
		border-top: 1px dotted #FFF;
		border-bottom: 1px dotted #EEE;
		list-style: none;
		cursor: pointer;
	}
	ul.multiple_select_list li.choice_hover {
		background-color: #F6F6F6;
		color: #222;
	}
	ul.multiple_select_list li.choice_selected {
		background-color: #EEE;
		background-position: 3px -25px;
		color: #000;
		border-bottom-color: #DDD;
	}
	

/* multiple_select_extended */
.multiple_select_extended {
	width: 315px;
	height: 180px;
}
ul.multiple_select_extended_list {
	margin: 0;
	padding: 0;
	overflow: auto;	
	border: 0;
}
	ul.multiple_select_extended_list li {
		padding: 0 0 0 23px;
		font-weight: normal;
		font-size: 11px;
		line-height: 19px;
		height: 19px;
		color: #666;
		background: #FFF url('../images/i-multiselect.gif') 5px 0 no-repeat;
		border-top: 1px dotted #FFF;
		border-bottom: 1px dotted #EEE;
		list-style: none;
		cursor: pointer;
	}
	ul.multiple_select_extended_list li.choice_hover {
		background-color: #F6F6F6;
		color: #222;
	}
	ul.multiple_select_extended_list li.choice_selected,
	ul.multiple_select_extended_list li.choice_delete_selected,
	ul.multiple_select_extended_list li.choice_add_selected {
		color: #000;
	}
	
	ul.multiple_select_extended_list li.choice_selected 						{ background-position: 5px -25px; }
	ul.multiple_select_extended_list li.choice_selected_invalid			{ background-position: 5px -75px; }
	
	ul.multiple_select_extended_list li.choice_delete 							{ background-position: 5px -100px; }
	ul.multiple_select_extended_list li.choice_delete_selected			{ background-position: 5px -125px; color: #000; }
	
	ul.multiple_select_extended_list li.choice_add 									{ background-position: 5px -150px; }
	ul.multiple_select_extended_list li.choice_add_deactivated			{ background-position: 5px -150px; color: #CCC; }
	ul.multiple_select_extended_list li.choice_add_selected					{ background-position: 5px -175px; color: #000; }
	ul.multiple_select_extended_list li.choice_add_invalid					{ background-position: 5px -200px; }
	ul.multiple_select_extended_list li.choice_add_selected_invalid { background-position: 5px -225px; color: #000; }
	
	ul.multiple_select_extended_list li.choice_delete, 
	ul.multiple_select_extended_list li.choice_delete_selected, 
	ul.multiple_select_extended_list li.choice_add, 		
	ul.multiple_select_extended_list li.choice_add_deactivated, 
	ul.multiple_select_extended_list li.choice_add_selected, 
	ul.multiple_select_extended_list li.choice_add_invalid, 
	ul.multiple_select_extended_list li.choice_add_selected_invalid { padding-left: 43px;}
	
	ul.multiple_select_extended_list li.choice_inactive { display: none; }
	

div.multiple_select_extended_info_pane {
	background: transparent url(../images/mselect-background-infopane.gif) left top no-repeat;
	background-color: #af554d;
	height: 20px;
	color: white;
	font-size: 10px;
	line-height: 18px;
}
div.multiple_select_extended_info_pane span {
	margin-left: 20px;
	padding: 5px;
}

div.multiple_select_extended_search_pane {
	background: #eee;
	height: 21px;
	line-height: 21px;
}

input.multiple_select_extended_search_field {
	margin-left: 13px;
	font-size: 10px;
	margin-top: 3px;
	text-indent: 26px;
	background: #FFFFFF url(../images/mselect-search-background.gif) no-repeat scroll left;
	float: left;
}


a.multiple_select_extended_search_button {
  margin-left: 5px;
  width:15px;
  height:15px;
  display: block;
  float: left;
  margin-top: 3px;
  background: transparent url(../images/mselect-button-reset.png) left top no-repeat;
}

a.multiple_select_extended_search_button:hover {
	background: transparent url(../images/mselect-button-reset-hover.gif) left top no-repeat;	
}

	input.multiple_select_extended_select_all_chkbox {
		float: left;
		margin: 2px 0 0 24px;
	}


.multiple_select_extended_nav_pane {
	height: 36px;
	line-height: 36px;
	background: #F3F3F3;
}

.multiple_select_extended_nav_pane a {text-decoration: none; margin: 6px;}

/*a.multiple_select_extended_button_add		{background: transparent url(../images/mselect-button-add.gif) left top no-repeat;width: 15px; height: 15px;float:right;}
a.multiple_select_extended_button_add	{background: transparent url(../images/mselect-button-add.gif) left top no-repeat;width: 15px; height: 15px; float:right;}
a.multiple_select_extended_button_add span {display: none;}
a.multiple_select_extended_button_delete	{  background: transparent url(../images/mselect-button-delete.gif) left top no-repeat; width: 15px; height: 15px; float: right;}
a.multiple_select_extended_button_delete span { display: none; }*/

.multiple_select_extended_nav_pane a.button { margin: 7px 0 0 7px!important; }


/* multiple_select_budgets */

.multiple_select_budgets {
	width: 698px;
	height: 290px;
}
.select_budgets .multiple_select_extended_search_pane	{background: #EEE; height: 21px; line-height:21px;}
.select_budgets .multiple_select_extended_header_pane	{background: #DDD; height: 25px; font-size: 11px;}

	.select_budgets ul.multiple_select_extended_list li {
		line-height: 23px;
		height: 23px;
		background-position: 5px 2px;
		margin-left: 8px;
	}
	.select_budgets ul.multiple_select_extended_list li.choice_selected 						{ background-position: 5px -23px; }
	.select_budgets ul.multiple_select_extended_list li.choice_selected_invalid			{ background-position: 5px -73px; }

	.select_budgets ul.multiple_select_extended_list li.choice_delete 							{ background-position: 5px -98px; }
	.select_budgets ul.multiple_select_extended_list li.choice_delete_selected			{ background-position: 5px -123px; }

	.select_budgets ul.multiple_select_extended_list li.choice_add 									{ background-position: 5px -148px; }
	.select_budgets ul.multiple_select_extended_list li.choice_add_deactivated			{ background-position: 5px -148px; }
	.select_budgets ul.multiple_select_extended_list li.choice_add_selected					{ background-position: 5px -173px; }
	.select_budgets ul.multiple_select_extended_list li.choice_add_invalid					{ background-position: 5px -198px; }
	.select_budgets ul.multiple_select_extended_list li.choice_add_selected_invalid { background-position: 5px -223px; }

.select_budgets .multiple_select_extended_col1 {
  float: left;
  width: 180px;
  height: 25px;
  line-height: 25px;
  overflow: hidden;
}
.select_budgets .multiple_select_extended_col2 {
  float: left;
  width: 120px;
  height: 25px;
  line-height: 25px;
  overflow: hidden;
}
.select_budgets .multiple_select_extended_col3 {
  float: left;
  width: 180px;
  height: 25px;
  line-height: 25px;
  overflow: hidden;
}
.select_budgets .multiple_select_extended_col4 {
  float: left;
  width: 100px;
  height: 25px;
  line-height: 25px;
  overflow: hidden;
}


.select_budgets .multiple_select_extended_header1 {
  float: left;
  margin-left: 50px;
  width: 180px;
  height: 25px;
  line-height: 25px;
  overflow: hidden;
}
.select_budgets .multiple_select_extended_header2 {
  float: left;
  width: 120px;
  height: 25px;
  line-height: 25px;
  overflow: hidden;
}
.select_budgets .multiple_select_extended_header3 {
  float: left;
  width: 180px;
  height: 25px;
  line-height: 25px;
  overflow: hidden;  
}
.select_budgets .multiple_select_extended_header4 {
  float: left;
  width: 100px;
  height: 25px;
  line-height: 25px;
  overflow: hidden;  
}

/* Package overview
---------------------------------------------*/
.package-overview-contents {
  margin: 0 25px;
  height: 250px;
  overflow: auto;
}

table#package-overview {
  border: 0;
  width: 100%;
}
  table#package-overview td,
  table#package-overview th {
    margin: 0;
    padding: 4px 7px;
  }
  
  table#package-overview thead {
    font-size: 90%;
  }
  
  table#package-overview thead tr {
    background-color: #E8E8E8;  
  }
  
    table#package-overview thead th {
      padding: 7px;
      color: #555;
      border-bottom: 1px solid #BBB;
    }
    
  table#package-overview tbody tr td {
    border-top: 1px solid #EEE;
  }
  table#package-overview tbody tr:hover td {
    cursor: pointer;
  }
  
  table#package-overview td.img {
    height: 40px;
    width: 40px;
  }
    table#package-overview td.img img {
      max-width: 32px;
      max-height: 32px;
    }
    
  table#package-overview .count,
  table#package-overview .budget,
  table#package-overview .price {
    text-align: left;
  }
  
  table#package-overview .cost_unit 
  {
      text-align: left;
  }
 
  table#package-overview td.count {
    font-size: 11px;
    color: #999;
  }
    table#package-overview td.count-personalized {
      color: #090;
    }
    table#package-overview td.count-personalized .notdefined {
      font-size: 200%;
      font-weight: normal;
      vertical-align: -.75em;
      color: #F00;
    }
  
  table#package-overview .count-personalized {
  }  
  table#package-overview .count-personalized p,
  table#package-overview .count-personalized span
  {
    display: none;
  }
  table#package-overview .visible p,
  table#package-overview .visible span {
    display: block;
  }
    
  table#package-overview td.price {
    font-weight: bold;
	color: #000;
  }
  
  table#package-overview td.cost_unit 
  {
      font-weight: bold;
      color: #000;
  }
  
  table#package-overview .edit {
    width: 20px;
  }
    
  table#package-overview td.name a {
    padding-right: 20px;
  }
    table#package-overview td.name:hover a,
    table#package-overview td.name a:hover {
      background-position: right -39px;
    }
  
  table#package-overview .more {
    width: 12px;
  }
    table#package-overview .more a {
      display: block;
      text-indent: -1000px;
      width: 12px;
      height: 12px;
      background: url(../images/more-link.gif) no-repeat 0 0;
    }
    table#package-overview .more a:hover {
      background-position: 0 -40px;
    }

    
  table#package-overview tr.error .count p {
    padding: 0 20px 0 0;
    color: #F00!important;
    text-align: right;
    background: url(../images/i-tiny-warn.gif) no-repeat 100% 2px;
  }
    
/* ============================ */
/* = Package stats and footer = */
/* ============================ */
.package-footer {
  clear: both;
  margin: 0 25px;
  padding: 10px 30px 10px 10px;
  color: #333;
  font-size: 12px;
  border-top: 3px solid #CCC;
  background-color: #EFEFEF;
  overflow: hidden;
}

dl.package-stats {
  display: block;
  margin: 0;
  padding: 0;
}
  dl.package-stats dt {
    float: left;
    width: 450px;
  }
  dl.package-stats dd {
    float: right;
    text-align: right;
    width: 200px;
  }
  
  dl.package-stats dt strong,
  dl.package-stats dd strong {
/*    display: block;*/
    font-size: 13px;
    color: #000;
  }
  
  dl.order-stats {
    margin: 0;
    padding: 0;
  }
    dl.order-stats dt {
      float: left;
      clear: left;
    }
    dl.order-stats dd {
      clear: right;
      float: right;
      text-align: right;
    }

    dl.order-stats  dt strong,
    dl.order-stats  dd strong {
  /*    display: block;*/
      font-size: 13px;
      color: #000;
    }  
  
  
#order_info dl.package-stats {
  margin: 10px 0;
  padding: 0 30px 0 0;
  border: 0;
  background-color: #FFF;

}
  #order_info dt,
  #order_info dd {
    padding-top: .5em;
    width: 50%;
    height: 2em;
  /*  border-top: 1px solid #CCC;*/
  }
  #order_info dt.last,
  #order_info dd.last {
    border-top: 3px solid #CCC;
  }
  


/*---------------------------------------------*/
/* Debug                                       */
/*---------------------------------------------*/

div#debug {
  position:fixed;
  top:30px;
  right:30px;
  width:200px;
  background:#000;  
}

.float-right { float:right; }
.float-left { float:left; }


.clear { 
  clear:both; 
  margin: 0; 
  padding: 0;
  font-size: 1px;
  height: 0; 
}
