/*!
 * pure-form - v1.2.9
 * Pure JS drop in replacement for the HTML FORM using JSON Schemas
 * https://github.com/john-doherty/pure-form
 * @author John Doherty <www.johndoherty.info>
 * @license MIT
 */pure-form{border:1px solid #ccc;border-radius:4px;display:block;position:relative;padding:20px;min-width:320px}pure-form:empty{display:none}pure-form .pure-form-title{font-size:18px;font-weight:700;margin:0 0 10px 0}pure-form .pure-form-description{margin:0 0 10px 0}pure-form .pure-form-form{padding:0;display:block;margin:0}pure-form .pure-form-form:empty{text-align:center}pure-form .pure-form-form:empty:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(200,200,200,.2)}pure-form .pure-form-form:empty:after{content:"Loading, please wait...";color:#666}pure-form .pure-form-title{font-size:22px;font-weight:700}pure-form .pure-form-label{display:block;margin:20px 0;position:relative;clear:both;float:none}pure-form .pure-form-label[data-type=boolean]{pointer-events:none}pure-form .pure-form-label[data-required=true] .pure-form-label-text:after{content:" * ";color:#800;font-size:12px;vertical-align:top}pure-form .pure-form-label[data-characters-remaining]:after,pure-form .pure-form-label[data-error]:after{content:attr(data-error);font-size:12px;position:absolute;right:10px;top:-10px;padding:2px 8px;background:#fff;text-transform:lowercase;animation:pure-form-error-fadein .3s ease-in-out}pure-form .pure-form-label[data-max-length][data-characters-remaining]:after{content:"Max " attr(data-max-length) " characters (" attr(data-characters-remaining) " remaining)";text-transform:none}pure-form .pure-form-label[data-max-length][data-characters-remaining*="-"]:after{color:#800}pure-form .pure-form-label[data-error]:after{content:attr(data-error)!important;color:#800}pure-form .pure-form-label-text{display:inline-block;padding:10px 10px 10px 0;min-width:160px;font-size:14px;vertical-align:top}pure-form .pure-form-item{padding:10px 37px 10px 10px;display:inline-block;border:1px solid #ccc;box-shadow:inset 0 0 1px #ddd;border-radius:2px;vertical-align:middle;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;font-size:14px;vertical-align:middle;width:calc(100% - 170px)}pure-form [type=checkbox]{pointer-events:all;-webkit-appearance:none!important;display:inline-block;position:relative;box-shadow:none;height:30px;width:66px!important;border-radius:15px;cursor:pointer;background:rgba(213,213,213,.1);margin:0;outline:0;transition:background-color .25s ease-in-out,border-color .25s ease-in-out,box-shadow .25s ease-in-out}pure-form [type=checkbox]:before{position:absolute;display:block;height:28px;width:66px;top:0;left:0;text-indent:32px;border-radius:15px;background:rgba(19,191,17,0);transition:left .25s ease-in-out;color:#333;content:"OFF";font-size:12px;line-height:28px}pure-form [type=checkbox]:checked{background-color:#13bf11;border-color:#13bf11;box-shadow:inset 0 0 0 1px #0eb50c}pure-form [type=checkbox]:checked:before{position:absolute;display:block;height:28px;width:66px;top:0;left:0;text-indent:8px;border-radius:15px;background:rgba(19,191,17,0);transition:left .25s ease-in-out;color:#333;content:"ON";font-size:12px;line-height:28px;color:#fff}pure-form [type=checkbox]:after{content:"";position:absolute;display:block;height:30px;width:30px;top:-1px;left:-1px;border-radius:15px;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.2);transition:left .25s ease-in-out;font-size:12px;line-height:30px}pure-form [type=checkbox]:checked:after{left:36px}pure-form[auto-resize=true] iframe.pure-form-item,pure-form[auto-resize=true] textarea.pure-form-item{height:70px;transition:height .3s ease-in-out;overflow:hidden}pure-form .pure-form-item[data-valid=true]{border-color:#3c763d;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEwMCAxMDAiPgogICAgPGcgZmlsbD0iIzNjNzYzZCI+CiAgICAgICAgPHBhdGggZD0iTTQwLjcsNjNsMS41LDEuNWMxLjYsMS42LDQuMiwxLjYsNS44LDBsMjEuNi0yMS42YzEuNi0xLjYsMS42LTQuMiwwLTUuOEw2OCwzNS41Yy0xLjYtMS42LTQuMi0xLjYtNS44LDBMNDUsNTIuOGwtNy4zLTcuMyAgIGMtMS42LTEuNi00LjItMS42LTUuOCwwTDMwLjUsNDdjLTEuNiwxLjYtMS42LDQuMiwwLDUuOEw0MC43LDYzeiIvPgogICAgPC9nPgo8L3N2Zz4=);background-repeat:no-repeat;background-position:calc(100% - 4px) center;background-size:34px}pure-form .pure-form-item[data-valid=false]{border-color:#a94442;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEwMCAxMDAiPgogICAgPGcgZmlsbD0iI2E5NDQ0MiI+CiAgICAgICAgPHBhdGggZD0iTTM1LjYsNjIuOWwxLjUsMS41YzEuNiwxLjYsNC4yLDEuNiw1LjgsMGw3LjEtNy4xbDcuMSw3LjFjMS42LDEuNiw0LjIsMS42LDUuOCwwbDEuNS0xLjVjMS42LTEuNiwxLjYtNC4yLDAtNS44TDU3LjMsNTAgICBsNy4xLTcuMWMxLjYtMS42LDEuNi00LjIsMC01LjhsLTEuNS0xLjVjLTEuNi0xLjYtNC4yLTEuNi01LjgsMEw1MCw0Mi43bC03LjEtNy4xYy0xLjYtMS42LTQuMi0xLjYtNS44LDBsLTEuNSwxLjUgICBjLTEuNiwxLjYtMS42LDQuMiwwLDUuOGw3LjEsNy4xbC03LjEsNy4xQzM0LDU4LjcsMzQsNjEuMywzNS42LDYyLjl6Ii8+CiAgICA8L2c+Cjwvc3ZnPg==);background-repeat:no-repeat;background-position:calc(100% - 4px) center;background-size:34px}pure-form .pure-form-item[contenteditable=true]{min-height:100px}pure-form .pure-form-item-description{display:block;font-size:12px;color:#888;text-align:right;padding:4px 0 14px 0;width:calc(100% - 169px);float:right;line-height:18px}pure-form select.pure-form-item{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjAgMCA5NiAxMDAiPjxwb2x5Z29uIHBvaW50cz0iNDggNzAuNDIgOC41IDMwLjkzIDEyLjA3IDI3LjM2IDQ4IDYzLjI5IDgzLjkzIDI3LjM2IDg3LjUgMzAuOTMgNDggNzAuNDIiLz48L3N2Zz4=');background-repeat:no-repeat;background-position:calc(100% - 8px) center;background-size:24px;cursor:pointer}pure-form .pure-form-html body{padding:0;margin:0;font-size:14px;font-family:tahoma}pure-form .pure-form-html h1{margin:0;font-size:18px;font-family:tahoma}pure-form .pure-form-buttons{display:block;clear:both;text-align:right}pure-form .pure-form-button{padding:10px 20px;display:inline-block;background-color:#0078e7;color:#fff;font-size:14px;vertical-align:middle;border-radius:2px;border:1px solid #006acc;cursor:pointer;margin:0 10px 0 0;-webkit-appearance:none}pure-form .pure-form-button:first-child{margin-left:0}pure-form .pure-form-button:last-child{margin-right:0}pure-form ::-webkit-input-placeholder{font-size:14px}pure-form ::-moz-placeholder{font-size:14px}@media (max-width:550px){pure-form .pure-form-label-text{display:block;width:100%}pure-form .pure-form-item{width:100%}pure-form .pure-form-label[data-error]:after{position:static;padding:2px 0 4px 0;clear:both;float:none;display:block;background-color:transparent}}@keyframes pure-form-fadein{0%{opacity:0}100%{opacity:1}}@keyframes pure-form-error-fadein{0%{opacity:0;transform:scale(1)}50%{opacity:.5;transform:scale(1.1)}100%{opacity:1;transform:scale(1)}}