/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, /*sub, sup,*/ tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul, li {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* ==========================================================
    clearfix
========================================================== */

.cf:before, .cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  *zoom: 1;
}


/* ==========================================================
    checkStyle and radioStyle
========================================================== */

label {
  display: inline;
}

.checkStyle {
  display: none;
}

/* unchecked box */
.checkStyle + label {
  background-color: #CCC;
  padding: 8px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin: 0 5px 0 10px;
  transition: all 0.3s ease-out;
}

.checkStyle:first-child {
  margin-left: 50px;
}

/* unchecked tick */
.checkStyle + label:after {
  content: '\4e';
  font-size: 12px;
  position: absolute;
  top: 2px;
  left: 2px;
  color: #CCC;
}

/* checked box */
.checkStyle:checked + label {
  background-color: #3399CC;
  color: #FFF;
}

/* checked tick */
.checkStyle:checked + label:after {
  color: #FFF;
}

/* unchecked box tick */
.checkStyle:hover + label:after {
  color: #FFF;
}

.checkStyle + label:hover {
  cursor: pointer;
}

/* Radio Buttons */
.radioStyle {
  display: none;
}

/* unchecked outer */
.radioStyle + label {
  -webkit-appearance: none;
  background-color: #FFF;
  border: 3px solid #CCC;
  padding: 5px;
  border-radius: 50px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin: 0 5px 0 8px;
  transition: all 0.3s ease-out;
}

/* unchecked inner */
.radioStyle + label:after {
  content: ' ';
  width: 6px;
  height: 6px;
  border-radius: 50px;
  position: absolute;
  background: #FFF;
  top: 2px;
  left: 2px;
  transition: all 0.3s ease-out;
  font-size: 32px;
}

/* checked inner */
.radioStyle:checked + label:after {
  background: #3399CC;
}

/* checked inner blank */
.radioStyle:checked + label {
  background-color: #FFF;
  border: 3px solid #3399CC;
}

/* hover unchecked inner */
.radioStyle + label:hover:after {
  background: #BBB;
}

/* hover checked inner */
.radioStyle:checked + label:hover:after {
  background: #3399CC;
}

.radioStyle + label:hover {
  cursor: pointer;
}

/* ie 8 and 9 */
.checkStyle, .radioStyle {
  display: inline-block \;
}

.checkStyle + label, .radioStyle + label {
  display: none \;
}

/* ie 9 */
:root .checkStyle, :root .radioStyle {
  display: none \;
}

:root .checkStyle + label, :root .radioStyle + label {
  display: inline-block \;
}