#beregner {
    background: #f6f6f6;
    border: 1px solid #ddd;;
    font-family: 'Droid Sans', sans-serif;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

#beregner .header {
    background: #eee;
    border-bottom: 1px solid #ddd;
    padding: 30px;
}

#beregner .header h2 {
    font-family: 'Droid Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 36px;
    text-transform: uppercase;
    color: #840000;
    margin: 0 0 10px 0;
    padding: 0;
    position: relative;
}

#beregner .header span {
    background: #840000;
    color: #FFF;
    padding: 10px 20px 10px 45px;
    font-size: 13px;
    font-weight: 400;
    display: inline-block;
    position: relative;
    left: -45px;
    box-shadow: inset 20px 0px 40px -20px rgba(0,0,0,0.2), 0 1px 4px rgba(0,0,0,.1);
    -moz-box-shadow: inset 20px 0px 40px -20px rgba(0,0,0,0.2), 0 1px 4px rgba(0,0,0,.1);
    -webkit-box-shadow: inset 20px 0px 40px -20px rgba(0,0,0,0.2), 0 1px 4px rgba(0,0,0,.1);
}

#beregner .header span:after {
    top: -25px;
    left: 0;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(230, 149, 0, 0);
    border-bottom-color: #700000;
    border-width: 20px 0px 5px 14px;
}

#beregner .inputs {
    padding: 30px;
}

#beregner .values {
    box-sizing: border-box;
    display: block;
    position: relative;
}
#beregner .values:after,
#beregner .turnovers div:after {
    content: '';
    display: block;
    clear: both;
}

#beregner .value {
    box-sizing: border-box;
    padding: 0;
    width: 47.5%;
    margin-left: 5%;
    float: left;
    display: block;
    background: #eee;
    text-align: center;
    position: relative;
    box-shadow: 0 0 6px rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 6px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 0 6px rgba(0,0,0,.1);
    margin-bottom: 5%;
}
#beregner .value:nth-child(odd) {margin-left: 0;}

#beregner .value label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #FFF;
    position: relative;
    margin-top: -30px;
    line-height: 10px;
    padding: 10px 0;
    background: rgba(0,0,0,.1);
}

#beregner .value input {
    font-family: 'Droid Sans', sans-serif;
    box-sizing: border-box;
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border-width: 0;
    padding: 10px;
    color: #333;
}

#beregner .value span {
    position: absolute;
    line-height: 20px;
    bottom: 10px;
    right: 10px;
    font-size: 15px;
    color: #333;
}

#beregner .icon {
    height: 120px;
    background-size: 70px 70px;
    background-position: center 10px;
    background-repeat: no-repeat;
    background-color: #840000;
}
#beregner .visitors .icon {background-image: url('/beregner/media/visitors.png');}
#beregner .rate .icon {background-image: url('/beregner/media/rate.png');}
#beregner .conversions .icon {background-image: url('/beregner/media/conversions.png');}
#beregner .volume .icon {background-image: url('/beregner/media/volume.png');}

#beregner .turnovers {
    margin-bottom: 5%;
}

#beregner .turnovers .turnover {
    margin-bottom: 10px;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 6px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 0 6px rgba(0,0,0,.1);
    position: relative;
}

#beregner .turnovers .turnover label {
    display: inline-block;
    line-height: 20px;
    padding: 15px 25px 15px 15px;
    background: #FFF;
    position: relative;
}

#beregner .turnovers .turnover > span {
    line-height: 20px;
    padding: 15px 15px 15px 25px;
    font-size: 20px;
    font-weight: 700;
    float: right;
    color: #840000;
    background: #FFF;
    position: relative;
}

#beregner .turnovers .turnover:before {
    content: '';
    width: 100%;
    top: 50%;
    left: 0;
    border-top: 1px dashed #ccc;
    display: block;
    position: absolute;
}

#beregner .trafficchanges {
    text-align: center;
    margin: 5% 0;
}

#beregner .trafficchanges p {
    text-align: center;
    fontsize: 13px;
    font-weight: 700;
    padding: 0;
    margin-top: 0;
}

#beregner .trafficchange {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    cursor: pointer;
    cursor: hand;
    box-sizing: border-box;
    width: 60px;
    height: 60px;
    line-height: 20px;
    display: inline-block;
    border: 2px solid #840000;
    background: #fff;
    color: #840000;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    padding: 20px 0;
    margin: 0 5px;
    transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -webkit-transition: all 150ms ease-in-out;
} 
#beregner .trafficchange:hover, #beregner .trafficchange.chosen {
    background: #840000;
    color: #FFF;
}
#beregner .trafficchange.chosen {
    transform: rotate(10deg) scale(1.1);
    -moz-transform: rotate(10deg) scale(1.1);
    -webkit-transform: rotate(10deg) scale(1.1);
}

@media screen and (max-width: 768px) {
    #beregner .value {
        width: 100%;
        margin-left: 0;
    }
