/** css for task and introduction **/
.task{
margin: 0 10px;
}
.solution{
padding-left: 40px;
width: 300px;
float: right;
}
.solution > span{
width: 120px;
display: inline-block;
}
/** css for libre **/
#wrapper{
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
position: relative;
min-width: 550px;
margin: 0 auto;
margin-top:20px;
padding-top: 38px;
}
#introduction { width: 670px;}
@media screen and (min-device-width : 768px) and (max-device-width : 1024px) {
#introduction { width: 660px;}
}
#masse_right {float: right; display: block; width: 290px;}
#masse_right p {margin-top: 10px; font-size: .8rem;}
#parts{
  width: 120px;
  margin-right: 20px;
  margin-left: 10px;
  float: left;
margin-top: 110px;
}
#introduction p, #introduction h2 {margin-bottom: 0px; margin-top: 0px;} 
.box{
border: 1px solid;
border-color: rgb(233, 230, 230) rgb(230, 230, 230) rgb(230, 228, 228);
background-color: rgb(255, 255, 255);
border-radius: 5px;
padding: 5px;
margin-top: 20px;
}
#Eisen > span.weight{
background-color: silver;
border: 1px solid rgb(180, 180, 180);
}
#Schwefel > span.weight{
background-color: gold;
border: 1px solid rgb(243, 203, 0);
}
.Eisen_item{
background: url(../eisen_kl.png);
background-size: 50px 40px;
width: 50px;
height: 40px;
z-index: 9999;
}
.Schwefel_item{
background: url(../schwefel.png);
width: 80px;
height: 80px;
z-index: 9999;
}
#eisensulfid{
background: url(../eisensulfid.png);
background-size: contain;
height: 100px;
position: absolute;
bottom: -30px; /* extrem weird bottom needed. no clue why */
left: 4px;
-webkit-transition: -webkit-all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
#rest[data-name="Schwefel"]{
background: url(../schwefel.png);
background-size: contain;
height: 100px;
right: 5px;
position: absolute;
bottom: -15px; /* extrem weird bottom needed. no clue why */
-webkit-transition: -webkit-all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
#rest[data-name="Eisen"]{
background: url(../eisen.png);
background-size: contain;
height: 100px;
right: 5px;
position: absolute;
bottom: -15px; /* extrem weird bottom needed. no clue why*/
-webkit-transition: -webkit-all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
.elements > span{
padding: 2px;
margin: 2px;
border-radius: 2px;
text-align: center;
display: block;
}
.height_matcher{
margin: 0px 10px 5px;
}
#app{
flex: 1;
display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;      /* TWEENER - IE 10 */
display: -webkit-flex;     /* NEW - Chrome */
display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
-webkit-justify-content: space-around;
-moz-justify-content: space-around;
-ms-justify-content: space-around;
justify-content: space-around;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
    width: 660px; margin-left: 10px;
}
#libra_area{
height: 140px;
display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;      /* TWEENER - IE 10 */
display: -webkit-flex;     /* NEW - Chrome */
display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
justify-content: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}

.libra{
width: 140px;
height: 140px;
display: inline-block;
}
.drop_area, .height_matcher{
position: relative;
height: 80px;
width: 100px;
display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;      /* TWEENER - IE 10 */
display: -webkit-flex;     /* NEW - Chrome */
display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
justify-content: center;
-ms-flex-align: flex-end;
-webkit-align-items: flex-end;
align-items: flex-end;
}
.result_height_matcher{
position: relative;
height: 80px;
width: 100px;
margin: auto;
}
.libra > .libra_design{
height: 60px;
background: url(../waage.png) no-repeat center center;
background-size: contain;
z-index: 5px;
}
.libra > .display{
text-align: center;
width: 50px;
margin: -30px 40px 0px;
position: relative;
}
.libra > .display > span{
position: absolute;
text-align: center;
width: 50px;
left: -20px;
right: 0px;
top: 30px;
}
.drop_area{
margin: 0px 20px -6px;
border-radius: 5px;
border: 1px dotted rgba(172,173,172, 0.8); 
background-color: rgba(172,173,172, 0.2);
}
.libra.waage_hover > .drop_area{
background-color: rgba(152,153,152, 0.4);
box-shadow: 0 0 5px rgba(150,150,150,0.2);
}
.drop_area_holder{
position: relative;
height: 100px;
}
.add{
display: inline-block;
}
#creates_arrow{
background: url(../creates_arrow.png) no-repeat center center;
background-size: contain;
height: 20px;
width: 80px;
}
#result, #alt_result_container{
height: 130px;
display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;      /* TWEENER - IE 10 */
display: -webkit-flex;     /* NEW - Chrome */
display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
#result{
width: 380px;
}
.item.to_trash{
position:absolute;
}
#interaction{
margin: 90px 15px 0 0;
float: right;
}
#delete_all, #trash{
width: 100px;
text-align: center;
}
#delete_all:before{
content: " ";
display: block;
height: 100px;
width: 100px;
background: url(../delete_sprite.png) no-repeat 0px 0px;
}
#delete_all.active:before{
content: " ";
display: block;
height: 100px;
width: 100px;
background: url(../delete_sprite.png) no-repeat -99px 0px;
}
#trash:before{
content: " ";
display: block;
height: 100px;
width: 100px;
background: url(../trash.png) no-repeat 0px 0px;
}

/** bottom_tasks **/
.relation_input > span, .relation_input > input{
width: 60px;
display: inline-block;
box-sizing: border-box;
text-align: center;
}
#calc_relation{
display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox;      /* TWEENER - IE 10 */
display: -webkit-flex;     /* NEW - Chrome */
display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
#input_schwefel, #input_eisen, #input_eisen_relation, #input_schwefel_relation {float: left; margin-left: 10px;}
#relation_check{
height: 30px;
width: 30px;
margin-left: 280px;
}
#relation_right{
display: none;
height: 30px;
width: 30px;
background: url(../relation_check.png) no-repeat 0 0px;
}
#relation_false{
display: none;
height: 30px;
width: 30px;
background: url(../relation_check.png) no-repeat 0 -30px;
}
#masse_eisen_check, #masse_schwefel_check {
height: 30px;
width: 30px;
margin-left: 150px;
}
/*#masse_eisen_check {margin-right: 172px;
    margin-top: -35px;}
#masse_schwefel_check {margin-right: 270px;
    margin-top: -34px;}*/
#masse_eisen_right, #masse_schwefel_right {
display: none;
height: 30px;
width: 30px;
background: url(../relation_check.png) no-repeat 0 0px;
}
#masse_eisen_false, #masse_schwefel_false {
display: none;
height: 30px;
width: 30px;
background: url(../relation_check.png) no-repeat 0 -30px;
}
button#ergebnisPruefen {float: right;}