/*************************Styles for the input elements across the site*/

.input-wrapper
{
	margin-top: 25px;
	position: relative;
}

.input-label
{
	position: absolute;
	top: -30px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="file"],
input[type="number"],
input[type="date"],
input[type="search"],
input[type="time"]
{
	border: solid 1px dimgrey;
	box-sizing: border-box;
	font: inherit;
    font-size: 18px;
    height: 35px;
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 3px;
}

input[type="radio"]
{
	margin-bottom: 15px;
}

select
{
	border: solid 1px dimgrey;
    font: inherit;
    font-size: 18px;
    height: 35px;
    margin-bottom: 10px;
    margin-right: 10px;
    min-width: 227px;
}

textarea
{
	background-color: white;
	border: solid 1px dimgrey;
	font: inherit;
	font-size: 18px;
	height: 10rem;
	margin-bottom: 10px;
	margin-right: 10px;
	padding: 5px;
	resize: none;
	width: 90%;
}

input:focus,
textarea:focus,
select:focus
{
    border: 1px solid  #00cc66;
	box-shadow: 0 0 5px  #00cc66;
}

input:focus + label
{
	border: solid thin white;
	padding-bottom: 15px!important;
}

::-webkit-input-placeholder
{
    color: black!important;
}
:-moz-placeholder
{
    color: black!important;
    opacity:  1;
}
::-moz-placeholder
{
    color: black!important;
    opacity:  1;
}
:-ms-input-placeholder
{
    color: black!important;
}
::-ms-input-placeholder
{
    color: black!important;
}


/******************************Styles for Custom Checkboxes*/

.check-span
{
	margin-right: 10px;
    margin-bottom: 10px;
	line-height: 32px;
	position: relative;
}

input[type="checkbox"]
{
	position: absolute;
}

input[type="checkbox"] + label
{
	background-color: #FAB0A1;
	border-radius: 2px;
	box-shadow: 0 0 2px rgba(0,0,0,0.3);
	color: black;
	cursor: pointer;
	display: inline-block;
	font-size: 18px;
	height: 17px;
	margin-right: 10px;
	overflow: hidden;
	padding: 2px 43px 17px 6px;
	position: relative;
	transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
}

input[type="checkbox"]:checked + label
{
	color: #fff;
}

input[type="checkbox"]:disabled + label
{
	cursor: default;
}

input[type="checkbox"] + label > span
{
	background-color: transparent;
	position: relative;
	z-index: 5;
}

input[type="checkbox"] + label:before
{
	background: #336699;
	content: ' ';
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: all 0.3s ease-in;
	-webkit-transition: all 0.3s ease-in;
	width: 0%;
}

input[type="checkbox"]:checked + label:before
{
	content: ' ';
	height: 100%;
	left: 0;
	position: absolute;
	text-shadow: 0 1px 0 rgba(0,0,0,0.1);
	top: 0;
	width: 100%;
}

input[type="checkbox"] + label:after
{
	background: #FFF;
	border-radius: 3px;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.6), inset 0 -18px 15px -10px rgba(0, 0, 0, 0.05);
	color: black;
	content: ' ';
	display: block;
	font-size: 25px !important;
	height: 16px;
	line-height: 15px;
	padding: 4px 0px;
	position: absolute;
	right: 3px;
	text-align: center;
	top: 6px;
	width: 24px;
}

input[type="checkbox"]:active + label:after
{
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.6),
		  inset 0 2px 6px rgba(0, 0, 0, 0.1),
	      inset 0 -18px 15px -10px rgba(0, 0, 0, 0.05);
}

input[type="checkbox"]:disabled + label:after
{
	background: #CCC;
}

input[type="checkbox"]:checked + label:after
{
	content: '\2713';
}