/* ----------------------------------------------------------------------------*/
/* general styles */

body {
    background-color: #f5f5f5;
    padding-bottom: 40px;
    padding-top: 60px;
}

body, div, table, tr, th, td, p {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

.crm-invisible {
    display: none;
}

.unit-slim {
    padding: 20px !important;
}

.sidebar-nav {
    padding: 9px 0;
}
.nav .inactive{display:none;}
.navbar-search-form {
    margin-right: 50px;
}

@media (max-width:1280px) {
    .navbar-search-form {
        margin-right: 15px;
    }
    .navbar-search-form input[type="text"] {
        width: 130px !important;
    }
}

.navbar-search-form .btn {
    margin-left: 5px;
    padding: 6px 12px;
}

.navbar-search-form input {
    font-style: italic;
}

.horiz-btn {
    width: 16px;
    margin-top: -2px;
    margin-left: 0px;
    margin-right: 5px;
}

.vert-btn {
    width: 32px;
}

.vert-nav {
    width: 64px !important;
}

a.disabled,
a.disabled:visited ,
a.disabled:active,
a.disabled:hover {
    background-color:white !important;
    color:#aaa !important;
}
a.disabled i {
    opacity:0.3;
    filter:alpha(opacity=30);
}

.crm-formular-container {
    display: none;
}

.crm-formular-container {
    margin-right: 15px;
}

.crm-formular-container .controls-force-margin input {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

.crm-formular-container .data-container {
    padding-top: 5px;
    height: 80px;
    overflow: auto;
    margin-left: 0 !important;
    margin-top: 5px !important;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
    background-color: white;
    vertical-align: middle;
    border: 1px solid #cccccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
    -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.crm-formular-container .data-container p {
    margin: 3px 5px;
    border-bottom: 1px solid #cccccc;
}

.crm-formular-container .data-action-btn-bar {
    clear: both;
    margin-left: 0 !important;
    margin-top: 4px;
}

.crm-formular-container .input-append-element {
    width: 100%;
    max-width: 205px;
}

.crm-formular-container .inline-alert {
    margin-left: 0;
    margin-bottom: 4px;
    width: 250px;
    float: none;
}

.crm-formular-container textarea {
    height: 160px;
}

.crm-formular-container .hr {
    height: 1px;
    background-color: #E5E5E5;
    width: 100%;
    margin-bottom: 10px;
}

.crm-formular-container #form_last_edited_container {
    margin-top: 0;
}

.crm-formular-container .control-label-with-btn {
    padding-top: 0;
}

.crm-formular-container .btn-lr-margin {
    margin-left: 5px;
    margin-right: 5px;
}

.crm-formular-container .crm-editor {
    width: 100%;
    min-width: 400px;
    height: 250px;
}

.crm-formular-container .crm-loading-bar {
    width: 100%;
    min-width: 400px;
    height: 30px;
    font-weight: bold;
    font-style: italic;
    color: #006DCC;
    background: #aaaaaa url(images/animated-overlay.gif) 50% 50% repeat-x !important;
    opacity: .6;
	filter: Alpha(Opacity=60);
	border-radius: 4px 4px 4px 4px;
}

.crm-formular-container legend {
	max-width: 490px;
}

.crm-help {
    font-size: 14px;
	color: black;
	font-weight: bold;
    display: none;
    margin-top: -5px !important;
}

.crm-form-ident {
    color: #006DCC;
}

#form_file_container {
    max-width: 286px;
    overflow: hidden;
}

.crm-table {
    max-width: 500px;
    font-size: 12px;
}

.crm-table th {
    cursor: pointer;
    background-color: #0088CC;
    color: white;
    font-size: 14px;
}

.crm-table th.id,
.crm-table th.action {
    width: 24px;
}

.crm-table .centered {
    text-align: center;
}

.crm-table .crm-tbl-arrow {
    margin-top: 2px;
    float: right;
}

#tbl_files #tbl_files_row_blueprint {
    display: none;
}

#tbl_files #tbl_files_loading {
    font-weight: bold;
    font-style: italic;
    color: #006DCC;
}

#tbl_files #tbl_files_loading td {
    background: #aaaaaa url(images/animated-overlay.gif) 50% 50% repeat-x !important;
    opacity: .6;
	filter: Alpha(Opacity=60);
}

#customer_filter .control-checkbox {
    padding-top: 5px;
}

#customer_filter .control-checkbox input[type="checkbox"] {
    margin-top: -2px;
}

#tbl_admins {
    width: 100%;
    max-width: 100%;
}

#tbl_admins th {
    padding: 8px 5px;
}

#tbl_admins th.lang {
    width: 58px;
}

#tbl_admins th.date {
    width: 140px;
}

#tbl_admins th.superadmin {
    width: 80px;
}

#tbl_admins img.flag {
    width: 36px;
    max-height: 24px;
}

#admin_create div {
    font-size: 14px;
}

#admin_create .control-checkbox {
    padding-top: 10px;
}

#admin_create .control-checkbox input[type="checkbox"] {
    margin-top: -2px;
}

#crm_version div {
    min-width: 500px;
    text-align: center;
    margin-top: 40px;
}

.pagination-single-tab,
.pagination-tab {
    background-color: white;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px #DDDDDD solid;
    padding: 15px;
    margin-top: -1px;
}

.pagination-tab li.active a,
.pagination-tab li.active span {
    border-bottom: 0;
}

#settings .btn-bar,
#admin_create .btn-bar {
    width: 470px;
}

#admin_upload .btn-bar {
    width: 495px;
}

#admin_mail .btn-bar {
	width: 545px;
}

#admin_mail .crm-editor {
    width: 530px;
    min-width: 400px;
    height: 250px;
}

.hero-unit > fieldset {
    margin-top: 20px;
}

.hero-unit .help-inline {
    font-size: 14px;
}

.hero-unit .alert {
	font-size: 14px;
    line-height: 20px;
}

#customer_formular label,
#customer_formular .controls,
#customer_formular .controls .span4{width:98%;}
#customer_formular .controls{margin-left: 0px;}
#customer_formular .form-horizontal .control-label {text-align: left;}
.stamp_grid{
    background-image: url("images/stempelkarte_roman_peter.gif");
    background-position: top left;
    background-repeat: no-repeat;
    background-size:cover;
    width: 264px;
    height: 500px;
    margin: 10px auto;
    position:relative;
    padding: 12px 2px;
    box-sizing: border-box;
}
.stamp{
    width:52px;
    height:52px;
    float:left;
    background-image: url("images/stempel_roman_peter.gif");
    background-position: center center;
    background-repeat: no-repeat;
    background-size:cover;
    transform: rotate(2deg);
    box-sizing: border-box;
    margin-right: 0;
    margin-top: 0;
}
.stamp:nth-child(11), .stamp:nth-child(12), .stamp:nth-child(13), .stamp:nth-child(14), .stamp:nth-child(15),
.stamp:nth-child(21), .stamp:nth-child(22), .stamp:nth-child(23), .stamp:nth-child(24), .stamp:nth-child(25),
.stamp:nth-child(31), .stamp:nth-child(32), .stamp:nth-child(33), .stamp:nth-child(34), .stamp:nth-child(35) {
    margin-top: 21px;
}
.discount {
    position: absolute;
    border: 1px solid black;
    width: 50px;
    height: 50px;
    right: 10px;
    z-index: 9;
    text-align: center;
    font-weight: bold;
    line-height: 50px;
}
.discount.active {
    color: transparent;
    background-image: url("images/check-box-1.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border:none;
}
.discount:nth-child(1) {
    top: 48px;
}
.discount:nth-child(2) {
    top: 174px;
}
.discount:nth-child(3) {
    top: 298px;
}
.discount:nth-child(4) {
    top: 422px;
}
#form_contact_persons{min-width:400px;}
#tbl_email_log {
    max-width: none;
}

#tbl_email_log th.id,
#tbl_email_log th.action {
    width: 24px;
}

#tbl_email_log th.date {
    width: 120px;
}

#tbl_email_log th.receiver {
    width: 80px;
}

#email_detail {
	min-width: 600px;
	min-height: 400px;
}

#email_detail #fb_log_subject,
#email_detail #fb_log_adresses {
	border-bottom: 1px #CCCCCC solid;
}

#email_detail #fb_log_subject span,
#email_detail #fb_log_adresses span {
	font-weight: bold;
	margin-right: 5px;
	cursor: pointer;
}

#email_detail #fb_log_subject em {
	font-style: none;
}

#email_detail #fb_log_adresses {
}

#email_detail #fb_log_mailtext {
	margin-top: 10px;
}



/* ----------------------------------------------------------------------------*/
/* jquery ui override */

.ui-widget-overlay {
    background: #aaaaaa url(images/loading_animation.gif) 50% 50% no-repeat;
    opacity: .8;
	filter: Alpha(Opacity=80);
}

.ui-progressbar {
    position: relative;
    height: 20px;
}
.progress-label {
    position: absolute;
    left: 50%;
    top: 0;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

.input-file {
    margin-left: 5px;
}

.table caption {
    text-align: left;
}

.pagination {
    margin: 0;
}

.pagination li.active > span {
    background-color: #EFEFEF;
}

.ui-icon-white {
	background-image: url(images/ui-icons_ffffff_256x240.png);
}

.icon-pdf {
	background-image: url(images/pdf.png) !important;
	background-size: 14px 14px !important;
	background-position: 0 0 !important;
}

/* ----------------------------------------------------------------------------*/
/* main data table */

table.dataTable .id { width: 24px; }
table.dataTable .company { width: 150px; }
table.dataTable .forename { width: 150px; }
table.dataTable .gender { width: 80px; }
table.dataTable .role_value { width: 120px; }
table.dataTable .advisor_name { width: 120px; }
table.dataTable .city { width: 80px; }
table.dataTable .email { width: 160px; }
table.dataTable .homepage { width: 32px; }
table.dataTable .phone_p { width: 100px; }
table.dataTable .next_contact_time { width: 125px; }
table.dataTable .pre_advise_time { width: 125px; }
table.dataTable .status_value { width: 80px; }
table.dataTable .category_value { width: 80px; }
table.dataTable .delete { width: 16px; }
table.dataTable .export { width: 16px; }

table.dataTable td { cursor: pointer; }

#main_data_table_wrapper select,
#main_data_table_wrapper input {
    margin-bottom: 0 !important;
}

#main_data_table_wrapper input[type=checkbox] {
    margin: 0 !important;
}

#main_data_table_filter input { font-style: italic; }
#main_data_table_length select { width: 80px; }

#main_data_table_wrapper .fg-toolbar label {
    font-weight: bold !important;
}

table.dataTable td,
table.dataTable th {
    font-size: 12px;
    white-space: nowrap;
}

table.dataTable tr th:first-child,
table.dataTable tr td:first-child {
    border-left: 1px #AAAAAA solid;
}

table.dataTable tr th:last-child,
table.dataTable tr td:last-child {
    border-right: 1px #AAAAAA solid;
}

table.dataTable tr.odd {
    background-color: #dddddd;
}

table.dataTable tr.even {
    background-color: #FFFFFF;
}

table.dataTable tr.odd td.sorting_1 {
    background-color: #BBBBBB;
}

table.dataTable tr.even td.sorting_1 {
    background-color: #CCCCCC;
}

#main_data_table tbody tr.even:hover, #main_data_table tbody tr.even td.highlighted {
	background-color: #b2dbf0;
}

#main_data_table tbody tr.odd:hover, #main_data_table tbody tr.odd td.highlighted {
	background-color: #7fc3e5;
}

#main_data_table tr.even:hover td.sorting_1 {
	background-color: #DDFF75;
}

#main_data_table tr.even:hover td.sorting_2 {
	background-color: #E7FF9E;
}

#main_data_table tr.even:hover td.sorting_3 {
	background-color: #E2FF89;
}

#main_data_table tr.odd:hover td.sorting_1 {
	background-color: #D6FF5C;
}

#main_data_table tr.odd:hover td.sorting_2 {
	background-color: #E0FF84;
}

#main_data_table tr.odd:hover td.sorting_3 {
	background-color: #DBFF70;
}

#main_data_table_filter label {
    padding: 5px;
}

#main_data_table_filter label button,
#main_data_table_filter label input,
#main_data_table_filter label span {
    margin-top: -5px;
}

#main_table_form .fg-toolbar,
#main_table_form .fg-toolbar label,
#main_table_form .fg-toolbar .input-append {
    margin-bottom: 0 !important;
}

#main_data_table .crm-noaccess {
    opacity:0.5;
    filter:alpha(opacity=50);
}

/* ----------------------------------------------------------------------------*/
/* login */

.form-signin {
    max-width: 300px;
    padding: 19px 29px 49px;
    margin: 50px auto 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
       -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
}


/* ----------------------------------------------------------------------------*/
/* bootstrap override */

[class^="icon-"],
[class*=" icon-"] {
  display: inline-block;
  background-image: url("images/glyphicons-halflings.png");
}

.icon-white,
.nav-pills > .active > a > [class^="icon-"],
.nav-pills > .active > a > [class*=" icon-"],
.nav-list > .active > a > [class^="icon-"],
.nav-list > .active > a > [class*=" icon-"],
.navbar-inverse .nav > .active > a > [class^="icon-"],
.navbar-inverse .nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:focus > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > li > a:focus > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"],
.dropdown-submenu:hover > a > [class^="icon-"],
.dropdown-submenu:focus > a > [class^="icon-"],
.dropdown-submenu:hover > a > [class*=" icon-"],
.dropdown-submenu:focus > a > [class*=" icon-"] {
  background-image: url("images/glyphicons-halflings-white.png");
}

.table-striped tbody > tr:nth-child(2n+1) > td, .table-striped tbody > tr:nth-child(2n+1) > th {
    background-color: rgba(0,136,204,0.3);
}

.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
  background-color: rgba(0,136,204,0.1);
}

.table-hover tbody tr:nth-child(2n+1):hover > td,
.table-hover tbody tr:nth-child(2n+1):hover > th {
  background-color: rgba(0,136,204,0.5);
}

.pagination-large ul > li:first-child > a, .pagination-large ul > li:first-child > span {
    border-bottom-left-radius: 0;
    border-top-left-radius: 6px;
}

.pagination-large ul > li:last-child > a, .pagination-large ul > li:last-child > span {
    border-bottom-right-radius: 0;
    border-top-right-radius: 6px;
}

.hero-unit div {
    line-height: 0;
}

.table tbody tr.success > td {
  background-color: #dff0d8 !important;
}

.table tbody tr.error > td {
  background-color: #f2dede !important;
}

.table tbody tr.warning > td {
  background-color: #fcf8e3 !important;
}

.table tbody tr.info > td {
  background-color: #d9edf7 !important;
}

.table-hover tbody tr.success:hover > td {
  background-color: #d0e9c6 !important;
}

.table-hover tbody tr.error:hover > td {
  background-color: #ebcccc !important;
}

.table-hover tbody tr.warning:hover > td {
  background-color: #faf2cc !important;
}

.table-hover tbody tr.info:hover > td {
  background-color: #c4e3f3 !important;
}


/* ----------------------------------------------------------------------------*/
/* fancybox & slimbox */

#fancybox-loading div { background-image: url(trunk/pictures/fancybox.png); }
#fancybox-close { background: transparent url(trunk/pictures/fancybox.png) -40px 0px; }
#fancybox-left, #fancybox-right { background: transparent url(trunk/pictures/blank.gif); }
#fancybox-left-ico { background-image: url(trunk/pictures/fancybox.png); }
#fancybox-right-ico { background-image: url(trunk/pictures/fancybox.png); }
#fancybox-bg-n { background-image: url(trunk/pictures/fancybox-x.png); }
#fancybox-bg-ne { background-image: url(trunk/pictures/fancybox.png); }
#fancybox-bg-e { background-image: url(trunk/pictures/fancybox-y.png); }
#fancybox-bg-se { background-image: url(trunk/pictures/fancybox.png); }
#fancybox-bg-s { background-image: url(trunk/pictures/fancybox-x.png); }
#fancybox-bg-sw { background-image: url(trunk/pictures/fancybox.png); }
#fancybox-bg-w { background-image: url(trunk/pictures/fancybox-y.png); }
#fancybox-bg-nw { background-image: url(trunk/pictures/fancybox.png); }
#fancybox-title-over { background-image: url(trunk/pictures/fancy_title_over.png); }
#fancybox-title-float-left { background: url(trunk/pictures/fancybox.png) -40px -90px no-repeat; }
#fancybox-title-float-main { background: url(trunk/pictures/fancybox-x.png) 0px -40px; }
#fancybox-title-float-right { background: url(trunk/pictures/fancybox.png) -55px -90px no-repeat; }

.lbLoading { background: #fff url(trunk/pictures/loading.gif) no-repeat center; }
#lbPrevLink:hover { background: transparent url(trunk/pictures/prevlabel.gif) no-repeat 0 15%; }
#lbNextLink:hover { background: transparent url(trunk/pictures/nextlabel.gif) no-repeat 100% 15%; }
#lbCloseLink { background: transparent url(trunk/pictures/closelabel.gif) no-repeat center; }

.fancybox-prev {
    width: 60px;
    margin-left: -70px;
}

.fancybox-next {
    width: 60px;
    right: -70px;
}

.fancybox-nav span {
    visibility: visible;
    opacity: 0.5;
}

.fancybox-nav:hover span {
    opacity: 1;
}

.fancybox-title-float-wrap .child {
    border-radius: 4px;
    font-variant: small-caps;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
}

.fancybox-ident {
    color: #006DCC;
}