text: var size = 0;
  var placement = 'point';
  
  var style_MD_Mean_Work_Hours_2010_1 = function(feature, resolution){
      var context = {
          feature: feature,
          variables: {}
      };
      var value = feature.get("avg_w_E");
      var labelText = "";
      size = 0;
      var labelFont = "10px, sans-serif";
      var labelFill = "#000000";
      var bufferColor = "";
      var bufferWidth = 0;
      var textAlign = "left";
      var offsetX = 8;
      var offsetY = 3;
      var placement = 'point';
      if ("" !== null) {
          labelText = String("");
      }
      if (value >= 20.500000 && value <= 25.100000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(252,253,191,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      } else if (value >= 25.100000 && value <= 34.000000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(254,201,141,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      } else if (value >= 34.000000 && value <= 36.600000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(253,149,103,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      } else if (value >= 36.600000 && value <= 38.000000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(241,96,93,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      } else if (value >= 38.000000 && value <= 39.000000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(205,63,113,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      } else if (value >= 39.000000 && value <= 39.900000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(158,47,127,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      } else if (value >= 39.900000 && value <= 41.000000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(114,31,129,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      } else if (value >= 41.000000 && value <= 42.600000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(68,15,118,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      } else if (value >= 42.600000 && value <= 48.000000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(24,15,62,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      } else if (value >= 48.000000 && value <= 56.800000) {
              style = [ new ol.style.Style({
          stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0}),fill: new ol.style.Fill({color: 'rgba(0,0,4,1.0)'}),
          text: createTextStyle(feature, resolution, labelText, labelFont,
                                labelFill, placement, bufferColor,
                                bufferWidth)
      })]
                      };
  
      return style;
  };
  