/**
 * 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;    
}

header .col-md-6 {
    padding: 0 0 0 0;
}


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

#impressum {
    background: #fff;
    margin: 25px auto 25px auto;
    max-width: 1240px;
}

#agb {
	color: #333;
	content: '';
	display: block;
	clear: both;
	font-family: "Nunito Sans", "Arial", sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.4;
	height:75px;
    width: 100%;
	padding:20px;
    z-index: 999;
	margin-bottom:150px;
}
#agb a{
	font-family: "Nunito Sans", "Arial", sans-serif;
	
}
#agb p{
	color: #333;
	font-family: "Nunito Sans", "Arial", sans-serif;
	font-size: 16px;	
}

#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: 1240px;
}

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

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

nav {
    background: #ebebeb;
    position: relative;
}

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

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

nav .user a {
    color: #3c3c3c;
}


#content #filter {
    background: #777;
    border-radius: 2px;
    color: #fff;
    padding: 5px 10px;
}

#content #filter input {
    background: #fff;
    color: #777;
}

#content #filter label {
    padding: 5px 5px;
}

.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: #3c3c3c;
    font-weight: normal;
    font-size: 15px;
    padding: 5px 30px;
    text-decoration: none;
    border-radius: 0 0 0 0;
}

.nav-pills>li>a:hover,
.nav-pills>li.active>a, 
.nav-pills>li.active>a:focus, 
.nav-pills>li.active>a:hover {    
    background-color: #36a9e0;
    color: #fff;
    border-radius: 0 0 0 0;
}

.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;
}

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

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

h2 {
    font-size: 20px;
    font-weight: bold;
    border-bottom: solid 1px #c1c1c1;
}

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

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

.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 {
    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;
}

.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;
} 

/**
 * Autocomplete
 */

 .autocomplete {
    position: relative;
 }

 .autocomplete-result {
    background: #fff;
    border: solid 1px #c1c1c1;
    border-radius: 3px;
    display: block;
    height: 250px;
    left: 0px;
    overflow-y: scroll;
    padding: 0px;
    position: absolute;
    top: 30px;
    min-width: 450px;
    width: 100%;
    z-index: 99;
 }

.autocomplete-result-inline {
    background: #fff;
    border: solid 1px #c1c1c1;
    border-radius: 3px;
    height: 150px;
    overflow-y: scroll;
    padding: 10px;
    width: 100%;
 }

.autocomplete-result table {
  margin-bottom: 0px;
}

.autocomplete-result-inline .row,
.autocomplete-result .row {
    border-bottom: solid 1px #c1c1c1;
    margin: 0 0 0 0;
    padding: 5px 0px;
    cursor: hand;
 } 

.autocomplete-result .row.active,
.autocomplete-result-inline .row.active {
  color: #286090;
  font-weight: bold;
  text-decoration: none;
}

.autocomplete-result .row.current,
.autocomplete-result-inline .row.current {
  background-color: #286090;
  color: #fff;
  font-weight: normal;
  text-decoration: none;
}

.autocomplete-result-inline tr.active,
.autocomplete-result tr.active {
  color: #286090;
  font-weight: bold;
  text-decoration: none;
  font-weight: normal;
}

.autocomplete-result-inline tr.active,
.autocomplete-result-inline tr:hover,
.autocomplete-result tr.active,
.autocomplete-result tr:hover {
  color: #286090;
  font-weight: normal;
  text-decoration: none;
  cursor: pointer;
}

.autocomplete-result-inline tr.current,
.autocomplete-result tr.current {
  background-color: #286090;
  color: #fff;
  font-weight: normal;
  text-decoration: none;
}
.blockbutton {
  display: block;
  width: 100%;
  border: none;
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  margin-top:10px;
}