input{
  margin: 0;
  text-align: left;
  border: 0;
  background: transparent none;
  -webkit-appearance: none;
  -webkit-border-radius: inherit;
  outline: none;
  display: block;
    color:#333
}
select{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    outline: 0;
  filter:alpha(opacity=0);  
/*
    -webkit-border-radius: inherit;
    -webkit-appearance: none;
*/
    cursor: pointer;
    opacity: 0;
  z-index: 1;
}
/* public
.......................................................*/

.jq-formdo-pop-scroll{
    height: 100%;
    position: relative;
    overflow: hidden;
}
.jq-formdo-pop:before{
/*
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ccc;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -7px;
    left: 8px;
*/
}
.jq-formdo-pop:after{
/*
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    position: absolute;
    top: -6px;
    left: 9px;
*/
}
.jq-formdo-pop-checkbox{
    float:left;
}
.jq-formdo-pop-layer{
    position:fixed;
    width:100%;
    height: 100%;
    top:0;
    left:0;
    opacity: 0;
    z-index: 200001;
}
.jq-formdo-pop-text{
    
}
.jq-formdo-pop-left{
    margin-left:30px
}
.jq-formdo-input-wrap.focus,
.jq-formdo-select-wrap.focus,
.jq-formdo-textarea-wrap.focus{ 
    transition: all .3s;
    border: 1px solid #4b89fb
/*    box-shadow: 0 0 2px 2px rgba(119, 161, 238, 0.15);*/
}
.jq-formdo-input-wrap.jq-formdo-newUi.focus,
.jq-formdo-select-wrap.jq-formdo-newUi.focus,
.jq-formdo-textarea-wrap.jq-formdo-newUi.focus{ 
    transition: all .3s;
    border: 1px solid #4b89fb
/*    box-shadow: 0 0 2px 2px rgba(119, 161, 238, 0.15);*/
}
.jq-formdo-icons{
    float:right;
}
.jq-formdo-clear,.jq-formdo-jt,.jq-formdo-date{
    width:32px;
    height: 28px;
    float:left;
    border-left:1px solid #DDD;
    cursor: pointer;
    position: relative;
    top:5px;
}
.jq-formdo-newUi .jq-formdo-clear,
.jq-formdo-newUi .jq-formdo-jt,
.jq-formdo-newUi .jq-formdo-date{
    border:none;
    top:0
}
.jq-formdo-clear{
    z-index:2
}
.jq-formdo-clear:after,.jq-formdo-jt:after,.jq-formdo-date:after{
    content: "";
    background:url("jquery.formdo.png") no-repeat;
    width:16px;
    height: 16px;
    position: absolute;
    top:50%;
    left:50%;
    margin:-8px 0 0 -8px;
}
.jq-formdo-clear:after{
    background-position: -16px 0;
}
.jq-formdo-date:after{
        background-position: -32px 0;
}
/*
.jq-formdo-input-hasclear{
    padding-right:43px;
}
*/
/* input
.......................................................*/
.jq-formdo-input-wrap{
  border:1px solid #ccc;
  border-radius:5px;
  height: 40px;
  line-height: 28px;
  position: relative;
   
}
 /* /* background: #fff * by max 2019-11-19/ */

.jq-formdo-input-wrap.jq-formdo-newUi{
    height:30px;
    border-radius:2px;
    border: 1px solid #D8DCE6;
    
}
.jq-formdo-input,
.jq-formdo-input-text{
    width:100%;
    height: 100%;
    padding:6px 10px;
    -webkit-box-sizing:border-box;
    text-align: left;
    color:#333;
    float:left;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis; 
}
.jq-formdo-newUi .jq-formdo-input,
.jq-formdo-newUi .jq-formdo-input-text{
    padding:0 10px;
}
.jq-formdo-input-text{
    position: absolute;
    padding-right:40px;
}
.jq-formdo-input{
    position: absolute;
    z-index:2
}
.jq-formdo-pop{
    font:14px "Microsoft YaHei", "Lucida Grande", Helvetica, Arial, sans-serif;
    position:absolute;
    background: #fff;
    border:1px solid #DDD;
    padding:5px 5px;
    box-sizing: border-box;
    box-shadow:2px 2px 3px 0 rgba(0, 0, 0, 0.1);
    -webkit-border-radius:5px;
    z-index:200002;
    height: 212px;
}
.jq-formdo-pop li{
    line-height: 20px;
    padding: 10px;
    border-bottom: 1px solid #DDD;
    color: #666;
    cursor: pointer;
}
.jq-formdo-pop-li:last-child{
    border-bottom: none
}
.jq-formdo-pop-li.on{
    color:#1f8fe0
}
.jq-formdo-pop-ul{
/*
    height: 100%;
    position:absolute;
    width: 100%
*/
}

/* textarea
.......................................................*/
.jq-formdo-textarea-wrap{
  border:1px solid #ccc;
  border-radius:5px;
    color:#333;
  overflow: hidden;
  position: relative;
    background:#fff
}
.jq-formdo-textarea{
  display: block;
  padding:8px 10px;
  background:transparent;
  outline: 0;
  border:0;
  resize:none;
    width:100%;
    -webkit-box-sizing:border-box;
}
/* select
.......................................................*/
.jq-formdo-select-wrap{
  border:1px solid #ccc;
  border-radius:5px;
  position: relative;
  padding-right: 38px;
}
.jq-formdo-select-wrap:after{
  content: "";
  position: absolute;
  display: block;
  width: 22px;
  height: 22px;
  top: 50%;
  margin-top: -11px;
  right: 8px;
  background-color: rgba(0,0,0,.3);
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-border-radius: 1em;
  border-radius: 1em;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<%3Fxml%20version%3D"1.0"%20encoding%3D"iso-8859-1"%3F><!DOCTYPE%20svg%20PUBLIC%20"-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN"%20"http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd"><svg%20version%3D"1.1"%20id%3D"Layer_1"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20xmlns%3Axlink%3D"http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink"%20x%3D"0px"%20y%3D"0px"%20%20width%3D"14px"%20height%3D"14px"%20viewBox%3D"0%200%2014%2014"%20style%3D"enable-background%3Anew%200%200%2014%2014%3B"%20xml%3Aspace%3D"preserve"><polygon%20style%3D"fill%3A%23FFFFFF%3B"%20points%3D"11.949%2C3.404%207%2C8.354%202.05%2C3.404%20-0.071%2C5.525%207%2C12.596%2014.07%2C5.525%20"%2F><%2Fsvg>');
}
.jq-formdo-select-text{
  display:block;
  padding : 6px 10px;
  height: 28px;
  line-height: 28px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
/* checkbox
.......................................................*/
/* jq-formdo-checkbox-wrap2 by max 2020-1-14  */
.jq-formdo-checkbox-wrap2,
.jq-formdo-checkbox-wrap{
  width:18px;
  height: 18px;
  position:relative;
  background-color:#fff;
  border-radius:5px;
  background-position: center center;
  background-repeat: no-repeat;
border : 2px solid #DDD
}
.jq-formdo-checkbox-wrap:hover{
    border-color: #ccc
}
.jq-formdo-checkbox{
  position:absolute;
  width:100%;
  height: 100%;
  cursor: pointer;
}
.jq-formdo-checkbox-on{
  background-image:url('checkbox.png')
}
/* radio
.......................................................*/
.jq-formdo-radio-wrap{
  width:18px;
  height: 18px;
  position:relative;
  border:1px solid #a1c2ff;
  border-radius:50%;
  background-position: center center;
  background-repeat: no-repeat;
}
.jq-formdo-radio-on:after{
  content: "";
  display: block;
  background-image: none;
  background-color: #a1c2ff;
  width: 10px;
  height: 10px;
  position: absolute;
  top:50%;
  left:50%;
  margin:-5px 0 0 -5px;
  border-radius: 50%;
}
.jq-formdo-radio{
  position:absolute;
  width:100%;
  height: 100%;
  cursor: pointer;
}
/* switch
.......................................................*/
.jq-formdo-switch-wrap{
    width:98px;
    height:34px;
    position: relative;
    border-radius: 4px;
    border: 1px solid;
    border-color: #cccccc;
    overflow: hidden;
    text-align: center;
/*    opacity: 0;*/
}
.jq-formdo-switch-wrap[disabled] .jq-formdo-switch{
    opacity: 0.5
}
.jq-formdo-switch-input{
    cursor: pointer;
    position: absolute;
    height: 100%;
    width:100%;
    top:0;
    left:0;
    z-index: 1;
}
.jq-formdo-switch{
    position: absolute;
    width:50%;
    height: 100%;
    line-height: 34px;
    top:0;
}
.jq-formdo-switch.jq-formdo-switch-on{
    left:0;
    background: #428bca;
    color:#fff;
}
.jq-formdo-switch.jq-formdo-switch-off{
    right:0;
    background: #eee;
    color:#000;
    
}