input.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

input.inputfile + label {
    max-width: 80%;
    font-size: 1.25rem;
    /* 20px */
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
    border: 0 none;
/*     border-radius: 7px; */
    height: 41px;
    font-family: OpenSans-Light;  
    font-size:12px;    
}

.no-js input.inputfile + label {
    display: none;
}

input.inputfile:focus + label,
input.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

input.inputfile + label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

input.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    /* 4px */
    margin-right: 0.25em;
    /* 4px */
}


/* style 1 */

input.inputfile-1 + label {
    color: #f1e5e6;
    background-color: #d3394c;
}

input.inputfile-1:focus + label,
input.inputfile-1.has-focus + label,
input.inputfile-1 + label:hover {
    background-color: #722040;
}


/* style 2 */

.inputfile-2 + label {
    color: #d3394c;
    border: 2px solid currentColor;
}

.inputfile-2:focus + label,
.inputfile-2.has-focus + label,
.inputfile-2 + label:hover {
    color: #722040;
}


/* style 3 */

.inputfile-3 + label {
    color: #d3394c;
}

.inputfile-3:focus + label,
.inputfile-3.has-focus + label,
.inputfile-3 + label:hover {
    color: #722040;
}


/* style 4 */

.inputfile-4 + label {
    color: #d3394c;
}

.inputfile-4:focus + label,
.inputfile-4.has-focus + label,
.inputfile-4 + label:hover {
    color: #722040;
}

.inputfile-4 + label figure {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #d3394c;
    display: block;
    padding: 20px;
    margin: 0 auto 10px;
}

.inputfile-4:focus + label figure,
.inputfile-4.has-focus + label figure,
.inputfile-4 + label:hover figure {
    background-color: #722040;
}

.inputfile-4 + label svg {
    width: 100%;
    height: 100%;
    fill: #f1e5e6;
}


/* style 5 */

.inputfile-5 + label {
    color: #d3394c;
}

.inputfile-5:focus + label,
.inputfile-5.has-focus + label,
.inputfile-5 + label:hover {
    color: #722040;
}

.inputfile-5 + label figure {
    width: 100px;
    height: 135px;
    background-color: #d3394c;
    display: block;
    position: relative;
    padding: 30px;
    margin: 0 auto 10px;
}

.inputfile-5:focus + label figure,
.inputfile-5.has-focus + label figure,
.inputfile-5 + label:hover figure {
    background-color: #722040;
}

.inputfile-5 + label figure::before,
.inputfile-5 + label figure::after {
    width: 0;
    height: 0;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
}

.inputfile-5 + label figure::before {
    border-top: 20px solid #dfc8ca;
    border-left: 20px solid transparent;
}

.inputfile-5 + label figure::after {
    border-bottom: 20px solid #722040;
    border-right: 20px solid transparent;
}

.inputfile-5:focus + label figure::after,
.inputfile-5.has-focus + label figure::after,
.inputfile-5 + label:hover figure::after {
    border-bottom-color: #d3394c;
}

.inputfile-5 + label svg {
    width: 100%;
    height: 100%;
    fill: #f1e5e6;
}


/* style 6 */

input.inputfile-6 + label {
    color: #d3394c;
}

input.inputfile-6 + label {
    border: 0;
    background-color: #FFF;
    padding: 0;
}

/*input.inputfile-6:focus + label,
input.inputfile-6.has-focus + label,
input.inputfile-6 + label:hover {
    border-color: #722040;
}*/

input.inputfile-6 + label span,
input.inputfile-6 + label strong {
    padding: 1.2rem 4.25rem;
    /* 10px 20px */
}

input.inputfile-6 + label span {
    width: 200px;
    min-height: 2em;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: top;
}

input.inputfile-6 + label strong {
    height: 100%;
    color: #f1e5e6;
    background-color: #29abdf;
    display: inline-block;
}

input.inputfile-6:focus + label strong,
input.inputfile-6.has-focus + label strong,
input.inputfile-6 + label:hover strong {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  -khtml-opacity: 0.8;
  opacity: 0.8;  
}

label.custom-select {
    position: relative;
    display: inline-block;
    width:100%;
}

.custom-select select {
  display: inline-block;
  border: 1px solid white;
  padding: 4px 3px 3px 5px;
  margin: 0;
  outline:none; /* remove focus ring from Webkit */
  line-height: 1.2;
  background: #fff;
  -webkit-appearance:none; /* remove the strong OSX influence from Webkit */
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  height:41px;
  border-radius: 7px;	
  width:100%;	   	   
  font-size:12px;
  font-family:OpenSans-Light;
  color: #333;	   
}

/* Select arrow styling */
.custom-select:after {
  content: url('http://up.utilitypower.it/images/select-drop-down.png');
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  font-size: 60%;
  line-height: 30px;
  padding: 10px 7px;
  margin:0;
  background: #fff;
  color: white;
  pointer-events:none;
  -webkit-border-radius: 0 6px 6px 0;
  -moz-border-radius: 0 6px 6px 0;
  border-radius: 0 6px 6px 0;
  height:41px;
}

label.custom-date {
    position: relative;
    display: inline-block;
    width:100%;
}

.custom-date input {
  display: inline-block;
  border: 0px;
  padding: 4px 3px 3px 14px;
  margin: 0;
  outline:none; /* remove focus ring from Webkit */
  line-height: 1.2;
  background: #fff;
  -webkit-appearance:none; /* remove the strong OSX influence from Webkit */
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  height:41px;
  border-radius: 7px;	
  width:100%;	   	   
  font-size:12px;
  font-family:OpenSans-Light;
  color: #333;	   
}

/* Select arrow styling */
.custom-date:after {
  content: url('http://up.utilitypower.it/images/calendario.png');
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 10px 7px;
  background: #fff;
  pointer-events:none;
  -webkit-border-radius: 0 6px 6px 0;
  -moz-border-radius: 0 6px 6px 0;
  border-radius: 0 6px 6px 0;
  height:41px;
}

label.custom-date-filter {
    position: relative;
    display: inline-block;
    width:100%;
    margin-top:4px;
}

.custom-date-filter input {
  display: inline-block;
  border: 0px;
  padding: 4px 3px 3px 14px;
  margin: 0;
  outline:none; /* remove focus ring from Webkit */
  line-height: 1.2;
  background: #fff;
  height:35px;
  width:100%;	   	   
  font-size:12px;
  font-family:OpenSans-Light;
  color: #333;	   
}

/* Select arrow styling */
.custom-date-filter:after {
  content: url('http://up.utilitypower.it/images/calendario-small.png');
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 7px 7px;
  background: transparent;
  pointer-events:none;
  height:35px;
}

label.custom-select-filter {
    position: relative;
    display: inline-block;
    width:100%;
}

.custom-select-filter select {
  display: inline-block;
  border: 1px solid white;
  padding: 4px 3px 3px 5px;
  margin: 0;
  outline:none; /* remove focus ring from Webkit */
  line-height: 1.2;
  background: #fff;
  height:35px;
  width:100%;	   	   
  font-size:12px;
  font-family:OpenSans-Light;
  color: #333;	   
}

/* Select arrow styling */
.custom-select-filter:after {
  content: url('http://up.utilitypower.it/images/select-drop-down.png');
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  font-size: 60%;
  line-height: 30px;
  padding: 6px 7px;
  margin:0;
  background: #fff;
  color: white;
  pointer-events:none;
  height:35px;
}

label.custom-data-filter {
    position: relative;
    display: inline-block;
    width:100%;
    margin-top:4px;
}

.custom-data-filter input {
  display: inline-block;
  border: 0px;
  padding: 4px 3px 3px 14px;
  margin: 0;
  outline:none; /* remove focus ring from Webkit */
  line-height: 1.2;
  background: #fff;
  height:35px;
  width:100%;	   	   
  font-size:12px;
  font-family:OpenSans-Light;
  color: #333;	   
}

.no-pointer-events .custom-select:after, 
.no-pointer-events .custom-select-filter:after, 
.no-pointer-events .custom-date:after {
  content: none;
}

.dhx_combo_input {
    background: #fff none repeat scroll 0 0;
    border: 0px;
    color: #333;
    font-style: italic;
    overflow: hidden;
    padding: 10px;
    width: 240px;
}
.dhx_combo_box  {    
  height: 41px;
  width:100%;
  border: 0px;  
  border-radius: 7px;
  -webkit-appearance:none; /* remove the strong OSX influence from Webkit */
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;  
  margin-top:2px;
}
.dhx_combo_img {
    height: 23px;
    position: absolute;
    right: 8px;
    top: 9px;
    width: 23px;
}
/* end .slideThree */
/* .roundedOne */
.roundedOne {
  width: 28px;
  height: 28px;
  position: relative;
  margin: 20px auto;
/*   background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%); */
/*   background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%); */
  border-radius: 50px;
/*   box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5); */
}
.roundedOne label {
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  left: 4px;
  top: 4px;
  background: #FFF;
/*   background: -webkit-linear-gradient(top, #222222 0%, #45484d 100%); */
/*   background: linear-gradient(to bottom, #222222 0%, #45484d 100%); */
  border-radius: 50px;
/*   box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px white; */
}
.roundedOne label:after {
  content: '';
  width: 10px;
  height: 10px;
  position: absolute;
  top: 5px;
  left: 5px;
  background: #000;
/*   background: -webkit-linear-gradient(top, #27ae60 0%, #145b32 100%); */
/*   background: linear-gradient(to bottom, #27ae60 0%, #145b32 100%); */
  opacity: 0;
  border-radius: 50px;
  box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
}
.roundedOne span {
    float: left; 
    margin-top: 5px; 
    margin-left: 27px;
}
.roundedOne label:hover::after {
  opacity: 0.3;
}
.roundedOne input[type=radio] {
  visibility: hidden;
}
.roundedOne input[type=radio]:checked + label:after {
  opacity: 1;
}

.squaredThree {
  width: 20px;
  position: relative;
/*   margin: 20px auto; */
}
.squaredThree label {
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  background-color:#fff;
/*   background: -webkit-linear-gradient(top, #222222 0%, #45484d 100%); */
/*   background: linear-gradient(to bottom, #222222 0%, #45484d 100%); */
/*   border-radius: 4px; */
/*   box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.4); */
}
.squaredThree label:after {
  content: '';
  width: 9px;
  height: 5px;
  position: absolute;
  top: 6px;
  left: 5px;
  border: 3px solid #333;
  border-top: none;
  border-right: none;
  background: transparent;
  opacity: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.squaredThree span {
    float: left; 
    margin-top: 2px; 
    margin-left: 27px;
}
.squaredThree label:hover::after {
  opacity: 0.3;
}
.squaredThree input[type=checkbox] {
  visibility: hidden;
}
.squaredThree input[type=checkbox]:checked + label:after {
  opacity: 1;
}

@media screen and (max-width: 50em) {
	input.inputfile-6 + label strong {
		display: block;
	}
}

@media screen and (-webkit-min-device-pixel-ratio:0) { 
  .custom-date input {
	 padding-right:30px;    
  }
}

/* for Webkit's CSS-only solution */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
  .custom-select select {
	 padding-right:30px;    
  }
}
