{
	margin: 0;
	outline: none;
}

header {
	display: block;
}

fieldset {
	display: block;	
}

fieldset + fieldset {
	border-top: 1px solid rgba(0,0,0,1);
}

section {
	margin-bottom: 1em;
}

fieldset + fieldset{
	padding-top: 1em;
}

footer {
	display: block;
}

footer:after {
	content: '';
	display: table;
	clear: both;
}

.label {
	display: block;
}

.label.col {
	margin: 0;
	padding-top: 10px;
}

.note {
	margin-top: 6px;
	padding: 0 1px;
}

.input,
.select,
.textarea,
.radio,
.checkbox,
.toggle {
	position: relative;
	display: block;
}

.input *:focus,
.select *:focus,
.textarea *:focus,
.radio *:focus,
.checkbox *:focus,
.toggle *:focus{
    outline: none;
}

.input input,
.select select,
.textarea textarea {
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    appearance: normal;
    -moz-appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

.progress {
	float: right;
	margin-top: 10px;
	line-height: 2;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}


select[multiple]{
	min-height: 3.85em;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}

select[multiple]:focus,
select[multiple]:hover{
	min-height: 7em;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}


/* captcha inputs */
.input-captcha img {
	position: absolute;
	top: 2px;
	right: 2px;
	border-left: 1px solid #e5e5e5;
}





/* file inputs */
.input-file .button {
	position: absolute;
	top: 3px;
	right: 3px;
	float: none;
	height: 3em;
	margin: 0;
	padding: 0 20px;
	font-size: .8rem;
	line-height: 3em;
	border: none;
}

.input-file .button input {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	font-size: 30px;
	cursor: pointer;
	opacity: 0;
}




/* selects */
.select i {
	position: absolute;
	top: 5px;
	right: 4px;
	width: 28px;
	height: 35px;
	pointer-events: none;
}

.select i:after,
.select i:before {
	content: '';
	position: absolute;
	right: 10px;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.select i:after {
	bottom: 12px;
	border-top: 4px solid #999;
}

.select i:before {
	top: 12px;
	border-bottom: 4px solid #999;
}

.select select {
	padding-right: 28px;
}

.select-multiple select {
	height: auto;
}




/* textareas */
.textarea textarea {
	height: auto;
	resize: none;
	min-height: 100px;
}

.textarea-resizable textarea {
	resize: vertical;	
}

.textarea-expandable textarea {
	height: 60px;
	min-height: 60px;
	-webkit-transition: height 300ms ease-in-out;
	-moz-transition: height 300ms ease-in-out;
	-ms-transition: height 300ms ease-in-out;
	-o-transition: height 300ms ease-in-out;
	transition: height 300ms ease-in-out;
}

.textarea-expandable textarea:focus {
	height: 140px;
	-webkit-transition: height 300ms ease-in-out;
	-moz-transition: height 300ms ease-in-out;
	-ms-transition: height 300ms ease-in-out;
	-o-transition: height 300ms ease-in-out;
	transition: height 300ms ease-in-out;
}


.textarea .icon_append, 
.textarea .icon_prepend{
	height: 50px;
}

.textarea-expandable:focus .icon_append,
.textarea-expandable:focus .icon_prepend{
	height: 120px;
	-webkit-transition: height 300ms ease-in-out;
	-moz-transition: height 300ms ease-in-out;
	-ms-transition: height 300ms ease-in-out;
	-o-transition: height 300ms ease-in-out;
	transition: height 300ms ease-in-out;
}




/* radios and checkboxes */
.radio,
.checkbox {
	margin-bottom: 4px;
	padding-left: 22px;
	font-size: .9rem;
	line-height: 27px;
	cursor: pointer;
}

.radio:last-child,
.checkbox:last-child {
	margin-bottom: 0;
}

.radio input,
.checkbox input {
	position: absolute;
	left: -9999px;
}

.radio i,
.checkbox i {
	position: absolute;
	top: 5px;
	left: 0;
	display: block;
	width: 13px;
	height: 13px;
	outline: none;
	border-width: 1px;
	border-style: solid;
}

.radio i {
	border-radius: 50%;
}

.radio input + i:after,
.checkbox input + i:after {
	position: absolute;
	opacity: 0;
	-ms-transition: opacity 0.1s;
	-moz-transition: opacity 0.1s;
	-webkit-transition: opacity 0.1s;
}

.radio input + i:after {
	content: '';
	top: 4px;
	left: 4px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
}

.checkbox input + i:after {
	content: '\f00c';
	top: -1px;
	left: -1px;
	width: 15px;
	height: 15px;
	font: normal 12px/16px FontAwesome;
	text-align: center;
}

.radio input:checked + i:after,
.checkbox input:checked + i:after {
	opacity: 1;
}

.inline-group {
	margin: 0 -30px -4px 0;
}

.inline-group:after {
	content: '';
	display: table;
	clear: both;
}

.inline-group .radio,
.inline-group .checkbox {
	float: left;
	margin-right: 30px;
}

.inline-group .radio:last-child,
.inline-group .checkbox:last-child {
	margin-bottom: 4px;
}






/* toggles */
.toggle {
	margin-bottom: 4px;
	padding-right: 61px;
	font-size: .9rem;
	line-height: 27px;
	cursor: pointer;
}

.toggle:last-child {
	margin-bottom: 0;
}

.toggle input {
	position: absolute;
	left: -9999px;
}

.toggle i {
	content: '';
	position: absolute;
	top: 4px;
	right: 0;
	display: block;
	width: 49px;
	height: 17px;
	border-width: 2px;
	border-style: solid;
	border-radius: 12px;
}

.toggle i:after {
	content: 'OFF';
	position: absolute;
	top: 2px;
	right: 8px;
	left: 8px;
	font-style: normal;
	font-size: 9px;
	line-height: 13px;
	font-weight: normal;
	text-align: left;
}

.toggle i:before {
	content: '';
	position: absolute;
	z-index: 1;
	top: 4px;
	right: 4px;
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	opacity: 1;
	-ms-transition: right 0.2s;
	-moz-transition: right 0.2s;
	-webkit-transition: right 0.2s;
}

.toggle input:checked + i:after {
	content: 'ON';
	text-align: right;
}

.toggle input:checked + i:before {
	right: 36px;
}






/* ratings */
.rating {
	margin-bottom: 4px;
	font-size: .9rem;
	line-height: 27px;
	display: inline-block;
}

.rating strong{
	margin-right: .5em;	
}

.rating:last-child {
	margin-bottom: 0;
}

.rating input {
	position: absolute;
	left: -9999px;
}

.rating label {
	display: block;
	float: right;
	height: 17px;
	margin-top: 5px;
	padding: 0 1px;
	font-size: 1rem;
	line-height: 17px;
	cursor: pointer;
}



/* buttons */
.button {
	height: 39px;
	overflow: hidden;
	padding: 0 25px;
	outline: none;
	cursor: pointer;
	border: none;
}

.button-uploading {
	position: relative;
	color: transparent;
	cursor: default;
}

.button-uploading:after {
	content: 'Uploading...';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #fff;
	-o-animation: blink 1s linear infinite;
	-ms-animation: blink 1s linear infinite;
	-moz-animation: blink 1s linear infinite; 
	-webkit-animation: blink 1s linear infinite;
}

@-o-keyframes blink
{
  0% {opacity: 1}
  50% {opacity: 0.3}
  100% {opacity: 1}
}
@-ms-keyframes blink
{
  0% {opacity: 1}
  50% {opacity: 0.3}
  100% {opacity: 1}
}
@-moz-keyframes blink
{
  0% {opacity: 1}
  50% {opacity: 0.3}
  100% {opacity: 1}
}
@-webkit-keyframes blink
{
  0% {opacity: 1}
  50% {opacity: 0.3}
  100% {opacity: 1}
}






/* icons */
.icon_append,
.icon_prepend {
	position: absolute;
	top: 5px;
	width: 29px;
	height: 2.35em;
	font-size: 15px;
	line-height: 29px!important;
	text-align: center;
	padding-top: 3px;
	z-index: 3!important;
}

.icon_append {
	right: 5px;
	padding-left: 3px;
	border-left-width: 1px;
	border-left-style: solid;
}

.icon_prepend {
	left: 5px;
	padding-right: 3px;
	border-right-width: 1px;
	border-right-style: solid;
}

.input .icon_prepend + input,
.textarea .icon_prepend + textarea {
	padding-left: 46px;
}

.input .icon_append + input,
.textarea .icon_append + textarea {
	padding-right: 46px;
}

.input .icon_prepend + .icon_append + input,
.textarea .icon_prepend + .icon_append + textarea {
	padding-left: 46px;
}

.input-small .icon_append,
.input-small .icon_prepend{
     line-height: 20px!important;   
}



/* grid */
.row {
	margin: 0 -15px;
}

.row:after {
	content: '';
	display: table;
	clear: both;
}

.col {
	float: left;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.col-1 {
	width: 8.33%;
}

.col-2 {
	width: 16.66%;
}
.col-3 {
	width: 25%;
}
.col-4 {
	width: 33.33%;
}
.col-5 {
	width: 41.66%;
}
.col-6 {
	width: 50%;
}
.col-7 {
	width: 58.33%;
}
.col-8 {
	width: 66.67%;
}
.col-9 {
	width: 75%;
}
.col-10 {
	width: 83.33%;
}
.col-11 {
	width: 91.66%;
}
@media screen and (max-width: 600px) {
	.col {
		float: none;
		width: 100%;
	}
}





/* tooltips */
.tooltip {
	position: absolute;
	z-index: 4;
	left: -9999px;
	padding: 2px 8px 3px;
	font-size: 11px;
	line-height: 16px;
	font-weight: 400;
	background: rgba(0,0,0,0.9);
	color: #fff;
	opacity: 0;
	-ms-transition: margin 0.3s, opacity 0.3s;
	-moz-transition: margin 0.3s, opacity 0.3s;
	-webkit-transition: margin 0.3s, opacity 0.3s;
}
.tooltip:after {
	content: '';
	position: absolute;
}
.input input:focus + .tooltip,
.textarea textarea:focus + .tooltip {
	opacity: 1;	
}

.tooltip-top-right {
	bottom: 100%;
	margin-bottom: 15px;
}
.tooltip-top-right:after {
	top: 100%;
	right: 16px;	
	border-top: 4px solid rgba(0,0,0,0.9);
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}
.input input:focus + .tooltip-top-right,
.textarea textarea:focus + .tooltip-top-right {
	right: 0;
	left: auto;
	margin-bottom: 5px;
}

.tooltip-top-left {
	bottom: 100%;
	margin-bottom: 15px;
}
.tooltip-top-left:after {
	top: 100%;
	left: 16px;
	border-top: 4px solid rgba(0,0,0,0.9);
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}
.input input:focus + .tooltip-top-left,
.textarea textarea:focus + .tooltip-top-left {
	right: auto;
	left: 0;
	margin-bottom: 5px;
}

.tooltip-right {
	top: 9px;
	white-space: nowrap;
	margin-left: 15px;
}
.tooltip-right:after {
	top: 6px;
	right: 100%;
	border-top: 4px solid transparent;
	border-right: 4px solid rgba(0,0,0,0.9);
	border-bottom: 4px solid transparent;
}
.input input:focus + .tooltip-right,
.textarea textarea:focus + .tooltip-right {
	left: 100%;
	margin-left: 5px;
}

.tooltip-left {
	top: 9px;
	white-space: nowrap;
	margin-right: 15px;
}
.tooltip-left:after {
	top: 6px;
	left: 100%;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid rgba(0,0,0,0.9);
}
.input input:focus + .tooltip-left,
.textarea textarea:focus + .tooltip-left {
	right: 100%;
	left: auto;
	margin-right: 5px;
}

.tooltip-bottom-right {
	top: 100%;
	margin-top: 15px;
}
.tooltip-bottom-right:after {
	bottom: 100%;
	right: 16px;	
	border-right: 4px solid transparent;
	border-bottom: 4px solid rgba(0,0,0,0.9);
	border-left: 4px solid transparent;
}
.input input:focus + .tooltip-bottom-right,
.textarea textarea:focus + .tooltip-bottom-right {
	right: 0;
	left: auto;
	margin-top: 5px;
}

.tooltip-bottom-left {
	top: 100%;
	margin-top: 15px;
}
.tooltip-bottom-left:after {
	bottom: 100%;
	left: 16px;
	border-right: 4px solid transparent;
	border-bottom: 4px solid rgba(0,0,0,0.9);
	border-left: 4px solid transparent;
}
.input input:focus + .tooltip-bottom-left,
.textarea textarea:focus + .tooltip-bottom-left {
	right: auto;
	left: 0;
	margin-top: 5px;
}



/* normal state */
.input input,
.select select,
.textarea textarea,
.radio i,
.checkbox i,
.toggle i,
.icon_append,
.icon_prepend {
	-ms-transition: border-color 0.3s;
	-moz-transition: border-color 0.3s;
	-webkit-transition: border-color 0.3s;
}

.toggle i:before { }

.rating label {
	-ms-transition: color 0.3s;
	-moz-transition: color 0.3s;
	-webkit-transition: color 0.3s;
}

.button {
	opacity: 0.8;
	-ms-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
}

.button.button-secondary { }

.icon_append,
.icon_prepend {
}




/* hover state */
.input:hover input,
.select:hover select,
.textarea:hover textarea,
.radio:hover i,
.checkbox:hover i,
.toggle:hover i,
.ui-slider-handle:hover { }

.rating input + label:hover,
.rating input + label:hover ~ label { }

.button:hover {
	opacity: 1;
}



/* focus state */
.input input:focus,
.select select:focus,
.textarea textarea:focus,
.radio input:focus + i,
.checkbox input:focus + i,
.toggle input:focus + i { }



/* checked state */
.radio input + i:after {
	background-color: #2da5da;	
}

.checkbox input + i:after {
	color: #2da5da;
}

.radio input:checked + i,
.checkbox input:checked + i,
.toggle input:checked + i {
	border-color: #2da5da;	
}

.rating input:checked ~ label {
	color: #2da5da;	
}


/**/
/* error state */
/**/
.state-error input,
.state-error select,
.state-error select + i,
.state-error textarea,
.radio.state-error i,
.checkbox.state-error i,
.toggle.state-error i,
.toggle.state-error input:checked + i {
	background: #fff0f0;
}
.state-error + em {
	display: block;
	margin-top: 6px;
	padding: 0 1px;
	font-style: normal;
	font-size: 11px;
	line-height: 15px;
	color: #ee9393;
}
.rating.state-error + em {
	margin-top: -4px;
	margin-bottom: 4px;
}



/* success state */
.state-success input,
.state-success select,
.state-success select + i,
.state-success textarea,
.radio.state-success i,
.checkbox.state-success i,
.toggle.state-success i,
.toggle.state-success input:checked + i {
	background: #f0fff0;
}

.state-success + em {
	display: block;
	margin-top: 6px;
	padding: 0 1px;
	font-style: normal;
	font-size: 11px;
	line-height: 15px;
	color: #ee9393;
}

.note-success {
	color: #6fb679;
}



/* disabled state */
.input.state-disabled input,
.select.state-disabled,
.textarea.state-disabled,
.radio.state-disabled,
.checkbox.state-disabled,
.toggle.state-disabled,
.button.state-disabled {
	cursor: default;
	opacity: 0.5;
}

.input.state-disabled:hover input,
.select.state-disabled:hover select,
.textarea.state-disabled:hover textarea,
.radio.state-disabled:hover i,
.checkbox.state-disabled:hover i,
.toggle.state-disabled:hover i {
	border-color: #e5e5e5;
}



/* submited state */
.message {
	display: none;
	color: #6fb679;
}
.message i {
	display: block;
	margin: 0 auto 20px;
	width: 81px;
	height: 81px;
	border: 1px solid #6fb679;
	border-radius: 50%;
	font-size: 30px;
	line-height: 81px;
}
form.submited fieldset,
form.submited footer {
	display: none;
}
form.submited .message {
	display: block;
	padding: 25px 30px;
	background: rgba(255,255,255,.9);
	font: 300 18px/27px 'Open Sans', Helvetica, Arial, sans-serif;
	text-align: center;
}


/**/
/* datepicker */
/**/
.ui-datepicker {
	display: none;
	padding: 10px 12px;
	background: rgba(255,255,255,0.9);
	box-shadow: 0 0 10px rgba(0,0,0,.3);
	font: 13px/1.55 'Open Sans', Helvetica, Arial, sans-serif;
	text-align: center;
	color: #666;
}
.ui-datepicker a {
	color: #404040;
}
.ui-datepicker-header {
	position: relative;
	margin: -10px -12px 10px;
	padding: 10px;
	border-bottom: 1px solid rgba(0,0,0,.1);
	font-size: 15px;
	line-height: 27px;
}
.ui-datepicker-prev, 
.ui-datepicker-next {
	position: absolute;
	top: 0;
	display: block;
	width: 47px;
	height: 47px;
	font-size: 15px;
	line-height: 47px;
	text-decoration: none;
	cursor: pointer;
}
.ui-datepicker-prev {
	left: 0;
}
.ui-datepicker-next {
	right: 0;
}
.ui-datepicker-calendar {
	border-collapse: collapse;
	font-size: 13px;
	line-height: 27px;
}
.ui-datepicker-calendar th {
	color: #999;
}
.ui-datepicker-calendar a,
.ui-datepicker-calendar span {
	display: block;
	width: 31px;
	margin: auto;
	text-decoration: none;
	color: #404040;
}
.ui-datepicker-calendar a:hover {
	background: rgba(0,0,0,.05);	
}
.ui-datepicker-calendar span {
	color: #bfbfbf;
}
.ui-datepicker-today a {
	font-weight: 700;
}
.ui-datepicker-calendar .ui-state-active {
	background: rgba(0,0,0,.05);
	cursor: default;	
}
.ui-datepicker-inline {
	border: 2px solid #e5e5e5;
	background: #fff;
	box-shadow: none;
}
.ui-datepicker-inline .ui-datepicker-header {
	line-height: 47px;
}
.ui-datepicker-inline .ui-datepicker-calendar {
	width: 100%;
}



/* slider */
.ui-slider {
	position: relative;
	height: 3px;
	border: 2px solid #e5e5e5;
	background: #fff;
	margin: 12px 6px 26px;
}

.ui-slider-handle {
	position: absolute;
	width: 15px;
	height: 15px;
	margin: -8px 0 0 -8px;
	border: 3px solid #e5e5e5;
	outline: none;
	background: #fff;
	-ms-transition: border-color 0.3s;
	-moz-transition: border-color 0.3s;
	-webkit-transition: border-color 0.3s;
	border-radius: 50%;
	-webkit-transition: background 300ms ease-in-out;
	-moz-transition: background 300ms ease-in-out;
	-ms-transition: background 300ms ease-in-out;
	-o-transition: background 300ms ease-in-out;
	transition: background 300ms ease-in-out;
}


/**/
/* modal */
/**/
form-modal {
	position: fixed;
	z-index: 1;
	display: none;
	width: 400px;
}
form-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.7);
}



/* bootstrap compatibility */
*,
*:after,
*:before {
	/*margin: 0;
	padding: 0;
	box-sizing: content-box;
	-moz-box-sizing: content-box;*/
}

.radio,
.radio *,
.checkbox,
.checkbox *,
.toggle,
.toggle *{
	box-sizing: content-box!important;
	-moz-box-sizing: content-box!important;
}

*[class*="col-"]{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.label {
	border-radius: 0;
	font-size: 100%;
	text-align: left;
	white-space: normal;
	color: inherit;
}
.radio,
.checkbox {
	font-weight: 400;
}

.inline-group .checkbox + .checkbox, 
.inline-group .radio + .radio{
	margin-top: 10px;
}

div:not(.inline-group) .radio + .radio,
div:not(.inline-group) .checkbox + .checkbox {
  margin-top: 0;
}