form fieldset { border: 1px solid #BBBBBB; margin: 0 5px 0 0; -moz-border-radius:3px; -webkit-border-radius:3px; -o-border-radius:3px; -ms-border-radius:3px; border-radius:3px; text-align: left; } fieldset input[type=radio] { margin-right: 4px; } form ul { list-style: none; padding: 0; margin: 5px; } form ul li { padding: 0; margin-bottom: 5px; } form input, form textarea { -webkit-transition: all 0.5s ease-in-out 0s; -moz-transition: all 0.5s ease-in-out 0s; -o-transition: all 0.5s ease-in-out 0s; transition: all 0.5s ease-in-out 0s; background-color: #FFFFFF; border: 2px solid #CCC; -webkit-border-radius: 5px 5px 5px 5px; -moz-border-radius: 5px 5px 5px 5px; -o-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; display: block; font-size: 20px; margin-bottom: 16px; margin-top: 8px; min-height: 30px; width: 300px; } :focus { outline: medium none; } form input:focus, form textarea:focus { -webkit-transform: scale(1.05); -moz-transform: scale(1.05); -o-transform: scale(1.05); transform: scale(1.05); -moz-box-shadow: 0 0 25px #CCCCCC; -webkit-box-shadow: 0 0 25px #CCCCCC; -o-box-shadow: 0 0 25px #CCCCCC; box-shadow: 0 0 25px #CCCCCC; } form input.placeholder, form textarea.placeholder { color: #CCC; } /* for none-HTML5 browsers */ input.required { background: url(/assets/html5form-shim/asterisk.png) no-repeat scroll 280px 7px transparent; } input:required { background: url(/assets/html5form-shim/asterisk.png) no-repeat scroll 280px 7px transparent; } /* for none-HTML5 browsers */ input.valid { background: url(/assets/html5form-shim/ok.png) no-repeat scroll 280px 7px transparent; } input:valid { background: url(/assets/html5form-shim/ok.png) no-repeat scroll 280px 7px transparent; } /* for none-HTML5 browsers */ input.invalid { background: url(/assets/html5form-shim/fail.png) no-repeat scroll 280px 7px transparent; } input:focus:invalid { background: url(/assets/html5form-shim/fail.png) no-repeat scroll 280px 7px transparent; } .tooltip { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; opacity: 0.8; filter:alpha(opacity:80); } .tooltip-inner { background-color: #333; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; } /* Rounded corners */ .tooltip-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; } /* Rules to colour arrows */ .tooltip-arrow-n { border-bottom-color: #000; } .tooltip-arrow-s { border-top-color: #000; } .tooltip-arrow-e { border-left-color: #333; } .tooltip-arrow-w { border-right-color: #000; } .tooltip-n .tooltip-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; } .tooltip-nw .tooltip-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;} .tooltip-ne .tooltip-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;} .tooltip-s .tooltip-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; } .tooltip-sw .tooltip-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; } .tooltip-se .tooltip-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; } .tooltip-e .tooltip-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; } .tooltip-w .tooltip-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }