/**
 * AM Service APP Stylesheet
 * erweitert Bootstrap CSS
 *
 * Author: Holger Gläser <hg@a-m-service.de>
 */

header, nav, article, footer {
    display: block;
    width: 100%;
}

html, body {
    min-height: 100%;
}

body {
    background: #D6D9DC;
    font-family: Arial, sans-serif;
    font-size: 15px;
    margin: 0px;
}

header {
    background: #fff;    
}

footer {
    background: rgba(0, 0, 0, 0.9);
    bottom: 0px;
    position: fixed;
    width: 100%;
    z-index: 999;
}

#footer-inner {
    color: #fff;
    margin: 0 auto 0 auto;
    max-width: 1120px;
    padding: 1em 0;
}

#footer-inner .warenkorb {    
    padding: 0 20px;
}

#page {
    background: #fff;
    margin: 5px auto 5px auto;
    max-width: 1350px;
}

#header {
    width: auto;
}

#header .logo {
    padding: 1.6666em 1em;
    zoom: 0.8;
}

#header .logo_am {
    padding: 0.3333em 1em;
    zoom: 0.8;
}

#header #logo img {
    zoom: 0.8;
}

#content {
    margin: 10px auto 0px auto; 
    min-height: 550px;
    padding-bottom: 80px;
}

#content .inner {
    padding: 0px 20px 18px 20px;    
}

nav {
    background: #0062B9;
    position: relative;
}

nav .nav {
    float: left;
    width: 75%;
}

nav .user {
    color: #fff;
    right: 0px;
    padding: 5px 15px;
    position: absolute;
    top: 0px;
}

nav .user a {
    color: #fff;
}


#content #filter {
    background: #ddd;
    border-radius: 2px;
    padding: 3px 2px 3px 1px;
}

#content #filter input {
    background: #fff;
    padding: 0px 3px;
}

#content #filter label {
    padding: 8px 0px;
    margin-bottom: 0px;
    font-weight: normal;
    line-height: 10px;
    font-size: 11px;
}

#content #filter .dummy {
    height: 20px;
}

#content #filter .filter-input {
    display: inline-block;
    float: left;
    margin-left: 2px;
    margin-right: 2px;
}

#content #filter .filter-input .multi-select {
    position: relative;
    width: 300px;
}

.item .title a {
    color: #333;
    text-decoration: none;
}

.image-wrap,
.item .image-thumb {
    padding: 2px;
    border: solid 2px #e7eaec;
    border-radius: 3px;
    text-align: center;
}

.item .image-thumb img {
    max-width: 100%;
}

.image-wrap img {
    max-width: 100%;
}

.image-preview {
    margin-top: 20px;
    text-align: left;
}

.image-preview .image-thumb {
    display: inline-block;
    margin-right: 2%;
    text-align: center;
    width: 18%;
}

.image-preview .image-thumb img {
    max-width: 100%;
    padding: 2px;
    border: solid 2px #e7eaec;
    border-radius: 3px;
}

.image-preview .image-thumb img.active {
    border-color: rgba(0,121,127, 0.7);
}

.item .title a:hover {
    text-decoration: underline;
}

.nav-pills>li+li,
.nav-pills>li {
    margin-left: 0;
}

.nav-pills>li>a {   
    background-color: inherit; 
    color: #aaa;
    font-weight: bold;
    font-size: 15px;
    padding: 5px 30px;
    text-decoration: none;
}

.nav-pills>li>a:hover,
.nav-pills>li.active>a, 
.nav-pills>li.active>a:focus, 
.nav-pills>li.active>a:hover {    
    background-color: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}

h1, h2, h3 {
    margin: 0 0 15px 0;
}

h1 {
    margin-top: 25px;
    font-size: 30px;
    color: #333;
    text-transform: uppercase;
}

h2 {
    font-size: 20px;
    font-weight: bold;
}

.modal-body h1 {
    margin-top: 0px;    
}

.modal-header h2 {
    margin: 0 0 0 0;    
    font-size: 18px;
}

.modal-body h2 {
    margin: 30px 0 20px 0;    
    font-size: 18px;
}

.modal-body h4 {
    border-bottom: 2px solid #e7eaec;
}

a {
    color: #004669;
    cursor: pointer;
    text-decoration: underline;
}

a:hover {
    color: #004669;
    text-decoration: none;
}

a.btn {
    text-decoration: none;
}

.text-right {
	text-align: right;
}

.attribut {
    margin: 0 0 0 0;
    border-bottom: 2px solid #e7eaec;
}

.attribut div:last-child {
    font-weight: bold;
}

#content .row, 
.order-review .row {    
    /*border-bottom: 1px solid #e7eaec;*/
    margin: 0 0 0 0;
    padding: 15px 0;
}

#content .row.head,
.order-review .head {
    font-weight: bold;
}

#content .inner-row {    
    border-bottom: none;
    padding-top: 0;
}

#content .inner-row:last-child {    
    padding-bottom: 0;
}


#content .row .action .fa {    
    font-size: 20px;
}

.form-group {
    border-bottom: none;
}

.form-group label {
    font-weight: normal;
}

.form-group.required label {
    font-weight: bold;
}

.form-container {
  background-color: #f1f1f1;
  font-weight: normal;
  padding: 10px;
  margin-bottom: 15px;
}

fieldset {
     margin-top: -20px;
}

.form-container legend {
    padding-top: 40px;
    margin-bottom: 0px;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.warenkorb .row {
    padding: .6666em 0 0 0;
}

.warenkorb .row.head {
    font-weight: bold;
}

.warenkorb .inner-row {    
    border-bottom: none;
    padding-top: 0;
}

.warenkorb .inner-row:last-child {    
    padding-bottom: none;
}

.warenkorb .row {
    border-bottom: solid 1px rgba(255,255,255, 0.6);
} 

.warenkorb .row.actions {  
    border-bottom: none;  
    text-align: center;
    padding: 1em 0;
}

.warenkorb .row.info {
    border-bottom: none;
    padding: 1em 0;
}

.warenkorb .warenkorb-inner {
    display: none;
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
    padding-right: 20px;
}

.warenkorb a, 
.warenkorb a:hover {
    background-color: transparent;
    color: #fff;
}

.adress-suche-wrapper {
    position: relative;
}

.adress-suche {    
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 3px;
    max-height: 300px;
    overflow-y: scroll;
    position: absolute;
    top: 30px;
    width: 95%;
    z-index: 999;
}

.active-review {
	background-color: #FBFCFC;
	border-top: 1px solid #e7eaec;
	border-right: 1px solid #e7eaec;
	border-left: 4px solid #a0000f;
}

.order-review {
	padding: 0 0 15px 0;
}

.border-none {
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.checkout button {
    float: right;
}


input, select, textarea {
    border: 1px solid #ccc;
}

.breadcrumbs {
    margin-top: 10px;
    padding: 0 30px 15px 30px;
}

.breadcrumbs ul {
    display: inline-block;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}


.breadcrumbs ul li {
    float: left;
    font-size: 13px;
    line-height: 25px;
    padding: 0 10px 0 0;
}

.breadcrumbs ul li:before {
    content: "\f105";
    font: normal normal normal 14px/1 FontAwesome;
    margin-right: 10px;
} 

.breadcrumbs ul li.home:before {
    content: "";
    font: normal normal normal 14px/1 FontAwesome;
    margin-right: 0px;
} 

.breadcrumbs ul li:last-child {
    background-image: none;
}

.breadcrumbs ul li .fa {
    font-size: 14px;
    margin-right: 4px;
}

.breadcrumbs ul li a,
.breadcrumbs ul li a:hover {
    color: #004669;
}

.alert-fixed {
    position: fixed;
    right: 30px;
    top: 20px;
    width: auto;
    z-index: 9999;
}

.modal-header h3 {
    margin: 0 0 0 0;
}

.modal-content .alert {
    margin-bottom: 0px;
}

.image-thumb img {
    max-width: 200px;
}

.datepicker-blocked button span {
    background-color: #e82e2e;
    border-radius: 10px;
    color: #fff;
    padding: 2px;
}

/**
 * Clearfix
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: ' '; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}


/**
 * treeview
 */

#treeview {
  /* prevent user selection */
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* default */
  font-family: Tahoma;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  background: #f1f1f1;
  padding-top: 10px;
  padding-bottom: 10px;
}

#treeview ul {
  margin: 0;
  padding: 0;
  list-style: none; 
  border: none;
}

#treeview ul li {
  padding: 0 0 0 20px;
  line-height: 20px;
}

#treeview ul li i, #treeview ul li span {
  cursor: pointer;
}

#treeview ul li .selected {
  background-color: #aaddff;
  font-weight: normal;
  padding: 1px 5px;
} 

.file-input {
    overflow-x: auto;
}

.file-loading {
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    font-size: 999px;
    text-align: right;
    color: #fff;
    background: transparent url('../img/loading.gif') top left no-repeat;
    border: none;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    text-align: right;
    opacity: 0;
    filter: alpha(opacity=0);
    opacity: 0;
    background: none repeat scroll 0 0 transparent;
    cursor: inherit;
    display: block;
}

.file-caption .glyphicon {
    display: inline-block;
    min-width: 18px;
    margin-top: 2px;
}

.file-caption-name {
    display: inline-block;
    overflow: hidden;
    max-height: 20px;
    padding-right: 10px;
    word-break: break-all;
}

.file-caption-ellipsis {
    position: absolute;
    right: 10px;
    margin-top: -6px;
    font-size: 1.2em;
    display: none;
    font-weight: bold;
    cursor: default;
}

.kv-has-ellipsis .file-caption-ellipsis {
    display: inline;
}

.kv-has-ellipsis {
    padding-right: 17px;
}

.kv-search-container .kv-search-clear {
    position: absolute;
    padding: 10px;
    right: 0px;
}

.file-error-message {
    background-color: #f2dede;
    color: #a94442;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
}

.file-error-message pre, .file-error-message ul {
    margin: 5px 0;
    text-align: left;
}

.file-caption-disabled {
    background-color: #EEEEEE;
    cursor: not-allowed;
    opacity: 1;
}

.file-input .btn[disabled], .file-input .btn .disabled {
    cursor: not-allowed;
}

.file-preview {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 5px;
    width: 100%;
    margin-bottom: 5px;
}

.file-preview-frame {
    display: table;
    margin: 8px;
    height: 160px;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 5px 0px #a2958a;
    padding: 6px;
    float: left;
    text-align: center;
    vertical-align: middle;
}

.file-preview-frame:hover {
    box-shadow: 3px 3px 5px 0px #333;
}

.file-preview-image {
    height: 160px;
    vertical-align: text-center;
}

.file-preview-text {
    width: 160px;
    color: #428bca;
    font-size: 11px;
    text-align: center;
}

.file-preview-other {
    padding-top: 48px;
    text-align: center;
}

.file-preview-other i {
    font-size: 2.4em;
}

.file-other-error {
    width: 100%;
    padding-top: 30px;
    text-align: right
}

.file-input-new .file-preview, .file-input-new .close, .file-input-new .glyphicon-file,
.file-input-new .fileinput-remove-button, .file-input-new .fileinput-upload-button,
.file-input-ajax-new .fileinput-remove-button, .file-input-ajax-new .fileinput-upload-button {
    display: none;
}

.loading {
    background: transparent url('../img/loading.gif') no-repeat scroll center center content-box !important;
}

.wrap-indicator {
    font-weight: bold;
    color: #245269;
    cursor: pointer;
}

.file-actions {
    text-align: left;
}

.file-footer-buttons {
    float: right;
}

.file-thumbnail-footer .file-caption-name {
    padding-top: 4px;
    font-size: 11px;
    color: #777;
}

.file-upload-indicator {
    padding-top: 2px;
    cursor: default;
}

.file-upload-indicator:hover {
    font-size: 1.2em;
    font-weight: bold;
    padding-top: 0;
}

.file-drop-zone {
    border: 1px dashed #aaa;
    border-radius: 4px;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    margin: 12px 15px 12px 12px;
    padding: 5px;
}

.file-drop-zone-title {
    color: #aaa;
    font-size: 40px;
    padding: 85px 10px;
}

.highlighted {
    border: 2px dashed #999 !important;
    background-color: #f0f0f0;
}

.file-uploading {
    background-image: url('../img/loading-sm.gif');
    background-position: center bottom 10px;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.file-icon-large {
    font-size: 1.2em;
}

.wrap-image,
.wrap-thumbnail {
  background: #fff;
  border: solid 1px #d1d1d1;
  display: inline-block;
  height: 140px;
  margin-right: 1%;
  overflow: hidden;
  position: relative;
  padding: 3px;
  text-align: center;
  width: 19%;
}

.wrap-thumbnail-small {
  height: 140px;
  width: 32%;
}

.wrap-image {
  height: auto;
  margin-right: 0;
  width: 100%;
}

.wrap-image img,
.wrap-thumbnail img {
  max-width: 100%;  
}

.wrap-thumbnail .footer {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 5px;  
  bottom: 5px;
  height: 20px;  
  position: absolute;
  right: 5px;
  text-align: center;
  width: 20px;
  z-index: 2;
}

.alert-danger {
    background-color: #d9534f;
    color: #fff;
}

/**
 * Multi Select
 */

.multi-select {
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.multi-select .list-selected {
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
  border: 1px solid #ccc;
  height: auto;
  padding: 0px 2px;
  position: relative;
}

.multi-select .list-options-wrapper {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  color: #555;
  display: none;
  position: absolute;
  z-index: 999;
}

.multi-select .list-options {
  color: #555;
  overflow: hidden;
  width: 100%;
}

.multi-select .list-options-inner {
  max-height: 100%;
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}

.multi-select .list-options .list-option-item {
  border-bottom: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  color: #555;
  min-height: 30px;
  line-height: 30px;
  padding: 0px 10px;
}

.multi-select .list-options .list-option-item.active {
  color: #286090;
  font-weight: bold;
  text-decoration: none;
}

.multi-select .list-options .list-option-item.current {
  background-color: #286090;
  color: #fff;
  font-weight: normal;
  text-decoration: none;
}

.multi-select .list-options .list-option-item:hover {
  background-color: #eee;
  color: #555;
  text-decoration: none;
}

.multi-select .list-options .list-option-item:last-child {
  border-bottom: none;
}

.multi-select .select-input {
  border: none;
  display: inline;
  padding: 4px 10px;
  width: 50px;
}

.multi-select .select-input:focus {
    outline: none;
}

.multi-select .list-selected .item {
  border-radius: 5px;
  color: #555;
  display: inline-block;
  font-size: 12px;
  white-space: nowrap;
  padding: 2px 10px;
} 

.multi-select .list-selected .item:hover {
   background-color: #eee;
} 

.multi-select .close {
  background: #fff;
  display: none;
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 1000;
}
