/** FORMS **/
.input-group {
  margin-bottom: 10px;
}
.input-group.no-bottom-margin{
  margin-bottom: 0;
  margin: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="time"],
select, select > option,
textarea{
	color: #333;
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	font-family: 'Merriweather Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 100%;
	padding: 7px 10px;
	height: auto;
	margin: 0;
}
input[type="radio"]{
	padding: 10px;
	margin: 0;
}

input:disabled, input[readonly],
select:disabled,
textarea:disabled, textarea[readonly] {
	background-color: #eee;
	cursor: not-allowed;
}

input[type="text"].medium,
input[type="time"].medium{
	padding: 5px;
	width: 100px;
}
input[type="text"].small,
input[type="time"].small{
	padding: 5px;
	width: 50px;
	height: 35px;
}
input[type="text"].tiny,
input[type="time"].tiny{
	padding: 0 5px 0 3px;
	margin: 0;
	height: 25px;
	width: 55px;
}
select{
	background-position: right -5px center;
	line-height: 120%;
}
select.tiny{
	padding: 0 5px 0 3px;
	height: 25px;
	width: 40px;
	background-position: right 0 center;
}
select.small{
	padding: 0 5px 0 3px;
	height: 25px;
	width: 65px;
	font-size:12px;
	background-position: right 0 center;
}
select.small option{
	font-size:12px;
}
textarea{
	min-height: 80px;
	overflow-wrap: normal;
	line-height: 125%;
	
	white-space:normal !important;
        overflow-x:hidden !important;
        overflow-y:scroll;
}
input[type="text"].uppercase,
input[type="email"].uppercase,
input[type="password"].uppercase,
textarea.uppercase{
    text-transform: uppercase;
}

input::-webkit-input-placeholder,
select::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	background: inherit;
	color: #aaa;
	border-color: transparent;
	opacity: 1;
}
input:-ms-input-placeholder,
select:-ms-input-placeholder,
textarea:-ms-input-placeholder {
	background: #fefefe;
	color: #aaa;
	border-color: transparent;
	opacity: 1;
}
input::placeholder,
select::placeholder,
textarea::placeholder {
	background: inherit;
	color: #aaa;
	border-color: transparent;
	opacity: 1;
}
/*
input[type="text"]::-webkit-input-placeholder,
input[type="text"]:-moz-placeholder,
input[type="text"]::-moz-placeholder,
input[type="text"]::-ms-input-placeholder{
	background: #fefefe;
	color: #aaa;
	border-color: transparent;
}
input[type="email"]::-webkit-input-placeholder,
input[type="email"]:-moz-placeholder,
input[type="email"]::-moz-placeholder,
input[type="email"]::-ms-input-placeholder{
	background: #fefefe;
	color: #aaa;
	border-color: transparent;
}
input[type="password"]::-webkit-input-placeholder,
input[type="password"]:-moz-placeholder,
input[type="password"]::-moz-placeholder,
input[type="password"]::-ms-input-placeholder{
	background: #fefefe;
	color: #aaa;
	border-color: transparent;
}
textarea::-webkit-input-placeholder,
textarea:-moz-placeholder,
textarea::-moz-placeholder,
textarea::-ms-input-placeholder{
	background: #fefefe;
	color: #aaa;
	border-color: transparent;
}
select::-webkit-input-placeholder,
select:-moz-placeholder,
select::-moz-placeholder,
select::-ms-input-placeholder{
	background: #fefefe;
	color: #aaa;
	border-color: transparent;
}
input[type="text"]:-moz-placeholder,
input[type="text"]::-moz-placeholder,
input[type="email"]:-moz-placeholder,
input[type="email"]::-moz-placeholder,
input[type="password"]:-moz-placeholder,
input[type="password"]::-moz-placeholder,
textarea:-moz-placeholder,
textarea::-moz-placeholder{
	color: #aaa;
	opacity: 1;
}
*/
/*ERROR*/
.txt-error,
fieldset.txt-error,
input.txt-error,
select.txt-error,
textarea.txt-error{
	color: #ed1c24;
}

fieldset.b1-error,
input.b1-error,
select.b1-error,
textarea.b1-error{
	border-color: 1px solid #c9101a;
}

fieldset.bg-error,
input.bg-error,
select.bg-error,
textarea.bg-error{
	background: #ed1c24;
	color: #f58b91;
	border-color: transparent;
	opacity: 1;
}
input.bg-error::-webkit-input-placeholder,
input.bg-error:-moz-placeholder,
input.bg-error::-moz-placeholder,
input.bg-error::-ms-input-placeholder,
select.bg-error::-webkit-input-placeholder,
select.bg-error:-moz-placeholder,
select.bg-error::-moz-placeholder,
select.bg-error::-ms-input-placeholder,
textarea.bg-error::-webkit-input-placeholder,
textarea.bg-error:-moz-placeholder,
textarea.bg-error::-moz-placeholder,
textarea.bg-error::-ms-input-placeholder{
	background: #ed1c24;
	color: #f58b91;
	border-color: transparent;
	opacity: 1;
}
input.bg-error::-webkit-input-placeholder,
select.bg-error::-webkit-input-placeholder,
textarea.bg-error::-webkit-input-placeholder {
	background: #ed1c24;
	color: #f58b91;
	border-color: transparent;
	opacity: 1;
}

input.bg-error:-ms-input-placeholder,
select.bg-error:-ms-input-placeholder,
textarea.bg-error:-ms-input-placeholder {
	background: #ed1c24;
	color: #f58b91;
	border-color: transparent;
	opacity: 1;
}

input.bg-error::placeholder,
select.bg-error::placeholder,
textarea.bg-error::placeholder {
	background: #ed1c24;
	color: #f58b91;
	border-color: transparent;
	opacity: 1;
}

/** RADIO **/
input[type='radio'] + label {
  margin: 0;
  padding: 0 15px 0 5px;
  height: 30px;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	font-size: 14px;
}
/** CHECKBOX **/
input[type='checkbox'] {
  margin: 0;
  padding: 0;
  opacity: 0;
}
/* set default styles for the checkboxes and radio buttons */
.checkbox {
  width: 30px;
  height: 30px;
  display: inline-block;
  margin: 0 10px 0 -16px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
input[type='checkbox'] + label {
  margin: 0;
  padding: 0;
  height: 30px;
}
input[type='checkbox'] + label span.checkbox {
  background: #fff;
  border: 1px solid #ccc;
}
input[type='checkbox'] + label span.message {
  position: relative;
  top: -10px;
  left: 0;
  width: auto;
}
input[type='checkbox'] + label span.checkbox:after {
  content: "";
  position: absolute;
  top: 12px;
  left: 6px;
  width: 6px;
  height: 12px;
  background: transparent;/*#efefef;/*#ccc;*/
  z-index: 1;
  -webkit-transform: rotate(-44deg);
  -moz-transform: rotate(-44deg);
  transform: rotate(-44deg);
  border-radius: 2px;
}
input[type='checkbox'] + label span.checkbox:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 14px;
  width: 6px;
  height: 20px;
  background: transparent;/*#efefef;/*#ccc;*/
  z-index: 1;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  border-radius: 2px;
}
input[type='checkbox']:hover + label span.checkbox {
	border: 1px solid #777;
	box-shadow: 0 0 5px #cacaca;
	transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
}
input[type='checkbox']:hover + label span.checkbox:after {
  content: "";
  position: absolute;
  top: 12px;
  left: 6px;
  width: 6px;
  height: 12px;
  background: transparent;/*#efefef;/*#ccc;*/
  z-index: 1;
  -webkit-transform: rotate(-44deg);
  -moz-transform: rotate(-44deg);
  transform: rotate(-44deg);
  border-radius: 2px;
}
input[type='checkbox']:hover + label span.checkbox:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 14px;
  width: 6px;
  height: 20px;
  background: transparent;/*#efefef;/*#ccc;*/
  z-index: 1;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  border-radius: 2px;
}
input[type='checkbox'].bg-error + label span.checkbox {
	background: #ed1c24;
	color: #ed1c24;/*#fff;*/
	border-color: transparent;
}
input[type='checkbox'].bg-error + label span.checkbox:after {
  background: #ed1c24;/*#efefef;/*#ccc;*/
	color: #ed1c24;/*#fff;*/
}
input[type='checkbox'].bg-error + label span.checkbox:before {
  background: #ed1c24;/*#efefef;/*#ccc;*/
	color: #ed1c24;/*#fff;*/
}
input[type='checkbox']:checked + label span.checkbox {
  border: 1px solid #0c5ba3;
}
input[type='checkbox']:checked + label span.checkbox:after {
  content: "";
  position: absolute;
  top: 12px;
  left: 6px;
  width: 6px;
  height: 12px;
  background: #0c5ba3;
  z-index: 1;
  -webkit-transform: rotate(-44deg);
  -moz-transform: rotate(-44deg);
  transform: rotate(-44deg);
  border-radius: 2px;
}
input[type='checkbox']:checked + label span.checkbox:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 14px;
  width: 6px;
  height: 20px;
  background: #0c5ba3;
  z-index: 1;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  border-radius: 2px;
}

.checkbox.small {
  width: 20px;
  height: 20px;
  margin: 0;
}
input[type='checkbox'] + label.small {
  height: 20px;
}
input[type='checkbox'] + label span.message.small {
  top: -10px;
}
input[type='checkbox'] + label span.checkbox.small:after {
  top: 8px;
  left: 4px;
  width: 4px;
  height: 8px;
}
input[type='checkbox'] + label span.checkbox.small:before {
  top: 3px;
  left: 9px;
  width: 4px;
  height: 13px;
}
input[type='checkbox']:hover + label span.checkbox.small:after {
  top: 8px;
  left: 4px;
  width: 4px;
  height: 8px;
}
input[type='checkbox']:hover + label span.checkbox.small:before {
  top: 3px;
  left: 9px;
  width: 4px;
  height: 13px;
}
input[type='checkbox']:checked + label span.checkbox.small:after {
  top: 8px;
  left: 4px;
  width: 4px;
  height: 8px;
}
input[type='checkbox']:checked + label span.checkbox.small:before {
  top: 3px;
  left: 9px;
  width: 4px;
  height: 13px;
}

