/* general */

body {
  font: 300 18px/1.5 'Roboto', sans-serif;
  color: #333;
  background: url('../img/bg.jpg') no-repeat;
  background-size: cover;
}

#wrapper {
	margin:60px auto;
	padding:35px;
	width:100%;
	max-width:640px;
	background-color:#fff;
	border-radius:10px;
	box-shadow:0 0 20px 0 rgba(0,0,0, 0.1);	
}
.row {
	margin:0 0 15px;
}
.formContainer {
	width:100%;
}
.formContainer h2 {
	font-weight:500;
	font-size:30px;
	margin:0 0 20px;
}
.formContainer p {
	margin:0 0 20px;
}
.holder {
	border-bottom:1px dashed #ccc;
	margin:0 0 20px;
	padding:0 0 30px;
}
/* custom radio buttons */
.formContainer input[type="radio"] {
	position:absolute;
	left:-9999px;
}
.formContainer input[type="radio"] + label {
	position:relative;
	cursor:pointer;
	padding: 4px 0 0 40px;
	display: inline-block;
	vertical-align: middle;
}
.formContainer input[type="radio"] + label:before {
    content: '';
	position: absolute;
	left:0;
	top:0;
    border: 2px solid #1cbe9d;
    width: 30px;
    height: 30px;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50px;
}
.formContainer input[type="radio"] + label:after {
	content: '';
	position:absolute;
	top: 7px;
	left: 7px;
	width: 16px;
	height: 16px;
	background:#1cbe9d;
	opacity: 0;
	transform: scale(3); /* scale it up for smooth animation */
	transition: transform 0.3s linear, opacity 0.3s linear;
	border-radius: 50px;
}
.formContainer input[type="radio"]:checked+label:after {
	opacity:1;
	transform:scale(1); /* scale it down fom smooth animation */
}
/* custom checkboxes */
.formContainer input[type="checkbox"] {
	position:absolute;
	left:-9999px;
}
.formContainer input[type="checkbox"] + label {
	position:relative;
	cursor:pointer;
	padding: 4px 0 0 40px;
	display: inline-block;
	vertical-align: middle;
}
.formContainer input[type="checkbox"] + label:before {
    content: '';
	position: absolute;
	left:0;
	top:0;
    border: 2px solid #1cbe9d;
    width: 30px;
    height: 30px;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
}
.formContainer input[type="checkbox"] + label:after {
	content: '';
	border-style: solid;
	border-width: 0 0 2px 2px;
	border-color: transparent transparent #1cbe9d #1cbe9d;
	width: 15px;
	height: 8px;
	position: absolute;
	top: 8px;
	left: 8px;
	opacity: 0;
	transform: scale(2) rotate(-45deg);
	transition: transform 0.3s linear, opacity 0.3s linear, background-color 0.3s ease;
}
.formContainer input[type="checkbox"]:checked+label:after {
	opacity:1;
	transform:scale(1) rotate(-45deg);
	border-color: transparent transparent #fff #fff;
}
/*
	Add this to make your checkboxes coloured :)
*/
.formContainer input[type="checkbox"]:checked + label:before {
	background:#1cbe9d;
}

/* custom input */
.formContainer input[type="text"],
.formContainer input[type="tel"],
.formContainer input[type="email"],
.formContainer input[type="password"],
.formContainer textarea {
	width:100%;
	background:#fff;
	padding:10px 15px;
	border:1px solid #ccc;
	outline:none;
	font: 300 18px/1.5 'Roboto', sans-serif;
	 
}
.formContainer textarea {
	min-height:150px;
	resize:none;
}
/* hover state */
.formContainer input[type="text"]:hover,
.formContainer input[type="tel"]:hover,
.formContainer input[type="email"]:hover,
.formContainer input[type="password"]:hover,
.formContainer textarea:hover {
    transition: all 0.6s;
    border-color: #1cbe9d;
    outline: none;
    box-shadow: inset 0px 0px 0px 1px #1cbe9d;
 
}
/* focus state */
.formContainer input[type="text"]:focus,
.formContainer input[type="tel"]:focus,
.formContainer input[type="email"]:focus,
.formContainer input[type="password"]:focus,
.formContainer textarea:focus {
	transition:0.3s ease-in all;
	background-color:#f5fdfd;
	border-color: #1cbe9d;
	box-shadow: inset 0px 0px 0px 1px #1cbe9d;
	color:#1cbe9d;
 
}
/* custom select boxes */
.formContainer select {
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  -webkit-appearance: none;
  padding: 0 50px 0 20px;
  cursor: pointer;
  font: 300 18px/1.5 'Roboto', sans-serif;
  text-indent: 5px;
}

.formContainer select::-ms-expand {
  display: none;
}

.formContainer select:focus {
  outline: none;
}

.formContainer option {
  font: 300 16px/1.5 'Roboto', sans-serif;
}

.formContainer .select {
  position: relative;
  background: #fff;
  border: 1px solid #1cbe9d;
  height: 50px;
  cursor: pointer;
}

.formContainer .select:before {
  content: '';
  background: #1cbe9d;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 40px;
  pointer-events: none;
}

.formContainer .select:after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 7px 0;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
}
/* custom toggle buttons */

/* custom toggle switch */
/* general */

body {
  font: 300 18px/1.5 'Roboto', sans-serif;
  color: #333;
  background: url('../images/bg.jpg') no-repeat;
  background-size: cover;
}

.container {
  max-width: 640px;
  margin: 50px auto;
  padding: 35px;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 10px;
}

.holder {
  border-bottom: 1px dashed #ccc;
  padding: 0 0 30px;
  margin: 0 0 30px;
}

.row {
  margin: 0 0 15px;
}

h2 {
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 20px;
}

/* custom radio */

.customRadio input[type="radio"] {
  position: absolute;
  left: -9999px;
}

.customRadio input[type="radio"]+label {
  position: relative;
  padding: 3px 0 0 40px;
  cursor: pointer;
}

.customRadio input[type="radio"]+label:before {
  content: '';
  background: #fff;
  border: 2px solid #1cbe9d;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.customRadio input[type="radio"]+label:after {
  content: '';
  background: #1cbe9d;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
  opacity: 0;
  transform: scale(2);
  transition: transform 0.3s linear, opacity 0.3s linear;
}

.customRadio input[type="radio"]:checked+label:after {
  opacity: 1;
  transform: scale(1);
}

/* custom checkbox */

.customCheckbox input[type="checkbox"] {
  position: absolute;
  left: -9999px;
}

.customCheckbox input[type="checkbox"]+label {
  position: relative;
  padding: 3px 0 0 40px;
  cursor: pointer;
}

.customCheckbox input[type="checkbox"]+label:before {
  content: '';
  background: #fff;
  border: 2px solid #1cbe9d;
  border-radius: 3px;
  height: 25px;
  width: 25px;
  position: absolute;
  top: 0;
  left: 0;
}

.customCheckbox input[type="checkbox"]+label:after {
  content: '';
  border-style: solid;
  border-width: 0 0 2px 2px;
  border-color: transparent transparent #1cbe9d #1cbe9d;
  width: 15px;
  height: 8px;
  position: absolute;
  top: 6px;
  left: 5px;
  opacity: 0;
  transform: scale(2) rotate(-45deg);
  transition: transform 0.3s linear, opacity 0.3s linear;
}

.customCheckbox input[type="checkbox"]:checked+label:after {
  opacity: 1;
  transform: scale(1) rotate(-45deg);
}

/* custom select */

.customSelect select {
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  -webkit-appearance: none;
  padding: 0 50px 0 20px;
  cursor: pointer;
  font: 300 18px/1.5 'Roboto', sans-serif;
  text-indent: 5px;
}

.customSelect select::-ms-expand {
  display: none;
}

.customSelect select:focus {
  outline: none;
}

.customSelect option {
  font: 300 16px/1.5 'Roboto', sans-serif;
}

.customSelect .select {
  position: relative;
  background: #fff;
  border: 1px solid #1cbe9d;
  height: 50px;
  cursor: pointer;
}

.customSelect .select:before {
  content: '';
  background: #1cbe9d;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 40px;
  pointer-events: none;
}

.customSelect .select:after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 7px 0;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
}

/* custom toggle switch */
.customToggle input[type="checkbox"] {
  position: absolute;
  left: -9999px;
}

.customToggle label {
  border: 1px solid transparent;
  background: #f70000;
  border-radius: 25px;
  position: relative;
  width: 80px;
  height: 36px;
  display: inline-block;
  vertical-align: top;
  font-size: 16px;
  transition: background 0.3s linear;
  cursor: pointer;
}

.customToggle label:before {
  content: '';
  background: #fff;
  height: 28px;
  width: 33px;
  position: absolute;
  top: 3px;
  left: 3px;
  border-radius: 25px;
  transform: translateX(0);
  transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.32, 1.2), background 0.2s linear;
}

.customToggle label span {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #fff;
}

.customToggle label .yes {
  display: none;
}

.customToggle label .no {
  left: auto;
  right: 10px;
  display: inline-block;
}

.customToggle input[type="checkbox"]:checked + label {
  background: #1cbe9d;
}

.customToggle input[type="checkbox"]:checked + label:before {
  transform: translateX(38px);
}

.customToggle input[type="checkbox"]:checked + label .yes {
  display: inline-block;
}

.customToggle input[type="checkbox"]:checked + label .no {
  display: none;
}

















