
#nebel {display: none;
  position:fixed;
  left: 0px;
  top: 0px;
  width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
z-index:5555;
cursor: pointer;}




#detail{position:absolute;
width:600px;
left: calc(50% - 300px);
top:100px;
background-color: #FFF;
border-radius: 4px;
cursor: default;}

#detail_bild{
  width: 600px;
  height: 255px;
  background-position: top left;
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url('/icons/kurzenberger_logo.png');
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}

#detail_bild img {  border-top-right-radius: 4px;
  border-top-left-radius: 4px;}

.detail_schliessen, .detail_merken {position: absolute; display: block; top:10px; right: 0px; font-size: 30px; color: #555; cursor: pointer;}
.detail_merken {right:auto; left: 10px; color: #CCC;}
.gemerkt {color:#F00;}
.gemerkt:hover {color: #CCC;}
.detail_schliessen i {text-align: right; float: right;}

#detail_titel, #detail_preis {font-size: 18px; color: #555; margin-top:10px; box-sizing: border-box; float: left;}
#detail_preis, #detail_preis_info {margin-left: auto; float:right; margin-right: 20px;}
#detail_titel {width: calc(100% - 110px); padding:0 20px; background-color: #FFF; font-weight: 600;}
#detail_preis {float: right; width:90px; text-align: right;}
#detail_titel_de,#detail_titel_en{width:calc(50% - 5px); float:left;}
#detail_titel_en{float:right; text-align: right;}
#detail_preis_info {font-size: 9px; clear:both;}
#detail_beschreibung {clear:both; width:100%; padding: 20px; box-sizing: border-box; white-space: pre-wrap;}
#detail_kategorie {margin-left: 20px; font-size: 10px;}


#detail.edit_mode {top:10px; width:900px; left:calc(50% - 550px); }
.edit_mode #detail_bild{width:900px;background-size: 600px auto; background-position: top center;}  
.edit_mode #detail_titel {width:660px; height: 60px; padding:0 0 0 20px;}
.edit_mode #detail_titel_de {width:300px;}
.edit_mode #detail_titel_en {width:300px; float:left;}
.edit_mode #detail_preis {width:220px; height: 60px;}

input[type="checkbox"] {
  -webkit-transform: scale(1.5, 1.5);
}

#bildadresse {display: none;}
input[name=edit_preis], input[name=edit_titel_de], input[name=edit_titel_en], textarea[name=edit_beschreibung_de], textarea[name=edit_beschreibung_en] 
  {font-size: 14px; background-color: #EEE;}
input[name=edit_titel_de], input[name=edit_titel_en] {width:230px;}
textarea[name=edit_beschreibung_de], textarea[name=edit_beschreibung_en] {width:425px; height:150px;}
.edit_mode #detail_beschreibung {white-space: normal; padding:0 20px;}
.edit_beschreibung{float:left;}
.edit_beschreibung:first-of-type {margin-right: 10px;}

.edit_mode #detail_kategorie {float: left; font-size: 16px; line-height: 2.2em; width:430px; 
  margin-bottom:20px;
}
.edit_mode #detail_ist_vintage {
  line-height: 2.2em;font-size: 16px;
width: 430px;
float: left;
margin-bottom:20px;
}


a.kein_preis {text-decoration: line-through !important; color:#CCC !important;}
.preisvorschau {font-size: 10px; text-align: right; color:#555;}
.prt, .prp  {border:none; font-size:10px;text-align:right; color:#555;}

.loeschen {background-color: #999; float:right;}
.speichern {width: 300px;}
.edit_mode .speichern, .edit_mode .loeschen {margin:20px; padding: 10px; font-size: 18px;}

/* croppie */

.demo{
  position:absolute;
  width:100%;
  background-color: #FFF;}

button,
a.btn {
    background-color: #189094;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    text-shadow: none;
}
button:focus {
    outline: 0;
}

.croppie-container .cr-boundary {left: -400px;}
.file-btn {
    position: relative;
}
.file-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.actions {text-align: center;}
.actions button {
    margin-right: 5px;
}
.crop{display:none}
#result img{
  border: solid 5px #C0C0C0;
}



@media only screen and (max-width: 768px)
{
  #detail{
    position:absolute;
    width:100%;
    max-width: 600px;
    left:calc(50% - 300px);
    top:0;/*70px;
    max-height: calc(100% - 80px);*/
    height: 100%;
    background-color: #FFF;
    border-radius: 0;
    cursor: default;
overflow-y: scroll;
box-sizing: border-box;
}

  #detail_bild{
    width: 100%;
    max-width: 600px;
    height: 0;
    padding-top:46.6%;
    box-sizing: content-box;
    background-position: top left;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url('/icons/kurzenberger_logo.png');
    border-radius: 0;
  }

}



@media only screen and (max-width: 600px)
{
  #detail{

    left:0;

}


}
