.styled ul.radio-group li {
    position: relative;
    list-style: none;
    padding: 10px;
}

.styled input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.styled input[type="radio"] + label
{
cursor: pointer;
padding-top: 4px;
font-size: 18px;
line-height: 35px;

}
.styled input[type="radio"] + label > span {
  position: relative;
  border-radius: 20px;
  width: 20px;
  height: 20px;
  background-color: #FFFFFF;
  border: 2px solid #bcbcbc;
  margin: -2px 5px 0 0;
  display: inline-block;
  vertical-align: middle;
}
.styled input[type="radio"] + label:hover > span {
  border: 2px solid #1F2D37;

}
.styled input[type="radio"] + label img {
    display: inline-block;
    line-height: 20px;
    vertical-align: middle;
}


.styled input[type="radio"]:checked + label > span span {
   display: inline-block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 3px;
    top: 3px;
    border-radius: 4px;
    border: none;
    background: #79534a;
}

.styled input[type="radio"]:checked + label > span {
  border: 2px solid #79534a;

}


.date_calendar img {padding-top: 5px;}
.date_calendar input.hasDatepicker {padding: 10px;}
.ui-datepicker-title select {padding: 5px 10px;}

/*styled_switch*/
.styled_switch {float: left; margin-top: 10px; position: relative;}
.styled_switch label {display: inline;}

.styled_switch .checkbox {
  vertical-align: top;
  margin: 0 3px 0 0;
  width: 17px;
  height: 17px;
}
.styled_switch .checkbox + label {cursor: pointer; overflow: visible!important; background: none!important;}

/* Далее идет оформление чекбокса в современных браузерах, а также IE9 и выше.
Благодаря тому, что старые браузеры не поддерживают селекторы :not и :checked,
в них все нижеследующие стили не сработают. */

/* Прячем оригинальный чекбокс. */
.styled_switch .checkbox:not(checked) {
  position: absolute;
  opacity: 0;
}
.styled_switch .checkbox:not(checked) + label {
    position: relative;
    padding: 0 0 0 60px;
    line-height: 20px;
    display: inline-block;
}
/* Оформление первой части чекбокса в выключенном состоянии (фон). */
.styled_switch .checkbox:not(checked) + label:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 26px;
  border-radius: 13px;
  background: #CDD1DA;
  /*box-shadow: 0 0 0 3px #FFFFFF;*/
  /*box-shadow: inset 0 2px 3px rgba(0,0,0,.2);*/
}
.styled_switch.alert .checkbox:not(checked) + label:before 
{
     background: #CC0000;    
}
/* Оформление второй части чекбокса в выключенном состоянии (переключатель). */
.styled_switch .checkbox:not(checked) + label:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 10px;
  background: #FFF;
  /*box-shadow: 0 2px 5px rgba(0,0,0,.3);*/
  transition: all .2s; /* анимация, чтобы чекбокс переключался плавно */
}
/* Меняем фон чекбокса, когда он включен. */
.styled_switch .checkbox:checked + label:before {
  background: #00cc33!important;
}
/* Сдвигаем переключатель чекбокса, когда он включен. */
.styled_switch .checkbox:checked + label:after {
  left: 26px;
}
/* Показываем получение фокуса. 
.styled .checkbox:focus + label:before {

}*/

