/*
* @file
* Form Styles
*
*/

/* Placeholder styling */
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
 color: #333333;
 font-weight:500;
}
::-moz-placeholder { /* Firefox 19+ */
 color: #333333;
 font-weight:500;
}
:-ms-input-placeholder { /* IE 10+ */
 color: #333333;
 font-weight:500;
}
:-moz-placeholder { /* Firefox 18- */
 color: #333333;
 font-weight:500;
}
.form-text::-webkit-input-placeholder { /* Chrome/Opera/Safari */
 color: #333333;
 font-weight:500;
}
.form-text::-moz-placeholder { /* Firefox 19+ */
 color: #333333;
 font-weight:500;
}
.form-text:-ms-input-placeholder { /* IE 10+ */
 color: #333333;
 font-weight:500;
}
.form-text:-moz-placeholder { /* Firefox 18- */
 color: #333333;
 font-weight:500;
}

/* General */
fieldset {
	margin-top: 30px;
	padding:0;
	border: none !important;
	outline: none;
}
fieldset:first-of-type {
	margin-top: 0px;
}
.fieldset-wrapper {
	margin-top:20px;
	border-top:1px solid #dbdbdb;
}
legend {
	margin: 0;
	padding: 0;
	font-family: 'Work Sans', sans-serif;
	font-size: 20px;
	line-height: 1.1;
	font-weight: 500;
	color: #333333;
	border: none !important;
}
/* Labels for radios and checkboxes. */
label.option {
    display: inline;
    font-weight: normal;
}
label {
	margin-top: 30px;
	margin-bottom: 10px;
	font-family: 'Work Sans', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #333333;
	display: block;
}
label.element-invisible {
	display: none !important;
}
/* The part of the label that indicates a required field. */
.form-required {
    color: #18a8a5;
}

input:hover, input:focus, textarea:hover, textarea:focus {
	border: none;
	outline: none;
}
#page input, 
input {
	margin: 0;
	vertical-align: baseline;
	*vertical-align: middle;
	max-width: 100%;
	height:36px;
	color: #333333;
	font-family: 'Work Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	background: #eaeaea;
	border: none;
	outline: none;
}
#page input.form-checkbox, 
#page input.form-radio, 
input.form-checkbox
input.form-radio {
	height:auto;
}
#page input.form-text, 
input.form-text, 
#page textarea, 
textarea {
	font-size: 13px; /* 2 */
	margin: 0; /* 3 */
	vertical-align: baseline; /* 4 */
	*vertical-align: middle; /* 4 */
	max-width: 100%; /* 5 */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; /* 5 */
	color: #333333;
	font-family: 'Work Sans', sans-serif;
	font-weight: 400;
	line-height: 1.4;
	padding: 6px 10px 6px 12px;
	background: #eaeaea;
	border: none;
	outline: none;
}
select {
	margin: 0; /* 3 */
	vertical-align: baseline; /* 4 */
	*vertical-align: middle; /* 4 */
	max-width: 100%; /* 5 */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; /* 5 */
	color: #333333;
	font-family: 'Work Sans', sans-serif;
	font-size:13px;
	line-height: 1.2;
	font-weight: 400;
	text-transform: uppercase;
	padding: 6px 10px 6px 12px;
	background: #ffffff;
	border: 1px solid #dbdbdb;
	outline: none;
}
.webform-container-inline div, .webform-container-inline div.form-item {
    display: inline-block;
}
.webform-container-inline.webform-datepicker {
	position:relative;
	height:32px;
}
.form-item.form-type-select {
	position:relative;
	top:-11px;
}
input.webform-calendar {
	padding:8px;
	width:32px;
	height:32px;
}
.form-type-radio label, 
.form-type-checkbox label {
	margin: 0 !important;
	padding: 0 10px;
	font-size: 14px;
}
#ui-datepicker-div {
    font-family: 'Work Sans', sans-serif !important;
	font-weight: 500;
	font-size:14px;
    background: #ffffff !important;
    border: 1px solid #dbdbdb;
    border-right: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    z-index: 9999;
}
.ui-datepicker {
    padding: 2px;
}
.form-submit {
	margin:0;
	padding: 0 !important;
	width: 100px;
	height: 36px;
	background: #333333;
	vertical-align: top;
	font-family: 'Work Sans', sans-serif;
	font-size: 14px;
	line-height:36px;
	font-weight: 500;
	color:#FFFFFF;
	text-transform: uppercase;
	cursor: pointer;
	border: none;
	outline: none;
}
#content .form-actions {
	margin-top:30px;
}
#page input.form-submit, 
input.form-submit {
	color: #ffffff !important;
	background: #333333;
}
.form-submit:hover, #edit-cancel:hover {
	background-color: #1a1a1a;
	text-decoration: none;
	border: none;
	outline: none;
}
.field-name-field-tags {
	clear: both;
}

/* Form items in a table. */
tr.odd .form-item, tr.even .form-item {
    margin: 0;
}
/* Highlight the form elements that caused a form submission error. */
.form-item input.error, .form-item textarea.error, .form-item select.error {
    border: 1px solid #9b2531;
}
/* The descriptive help text (separate from the label). */
.form-item .description {
    font-size: 14px !important;
    color: #747474;
    font-style: italic;
}
.form-type-radio .description, .form-type-checkbox .description {
    margin-left: 2.4em;
}

.form-item.webform-component--i-rule, .form-item.webform-component--ci-rule, .form-item.webform-component--li-rule, .form-item.webform-component--ii-rule {
	clear: both;
}
.form-item.webform-component--ci-rule {
	margin-top: 20px;
}
.form-item.webform-component--ii-rule {
	margin-top: 0px;
}
.form-item.webform-component--i-rule {
	padding-top: 20px;
}

.form-managed-file input.form-file {
	margin-right: 20px;
	padding: 5px;
}
.form-managed-file input.form-submit {
	padding-top: 5px;
	padding-bottom: 5px;
}
.form-managed-file {
	padding: 10px;
	max-width: 500px;
	border: 1px solid #dbdbdb;
}
@media screen and (max-width:500px) {
.form-managed-file input.form-submit {
	margin-top: 20px;
}
}

/* Pack groups of checkboxes and radio buttons closer together. */
.form-checkboxes .form-item {
    /* Drupal core uses "0.4em 0". */
    margin: 0;
    padding: 0 20px 0 0;
    width: 100%;
    float: left;
}
.form-radios .form-item {
    /* Drupal core uses "0.4em 0". */
    margin: 0;
    padding: 0 20px 0 0;
    display: inline-block;
    zoom: 1;
 *display:inline;
    vertical-align: top;
}
.webform-component-checkboxes:after {
    content: '';
    display: block;
    clear: both;
}

@media screen and (min-width:680px) {
.form-radios .form-item, 
.form-checkboxes .form-item {
    width: 48%;
}
}

/* webform - page */

.webform-client-form {
    margin: 0px;
}
.webform-client-form input.form-text {
	width: 100%;
}

/* webform - block (newsletter) */
.block-webform .form-item,
.block-webform .form-submit {
	padding: 0px;
}
.block-webform .form-item {
	width: calc(100% - 100px) !important;
	float: left;
}
.block-webform .form-actions {
	margin:0;
	float: right;
	width:100px;
}
.views-exposed-widget.views-widget-filter-tid {
	width: 100% !important;
	float: left;
}
.views-exposed-widget.views-widget-filter-tid .form-item {
	width: 100% !important;
}
.views-exposed-widget.views-submit-button {
	float: left;
}
.block-webform .webform-client-form:after, 
.block-webform .form-actions:after {
	content:'';
	display:block;
	clear:both !important;
}
.block-webform .webform-client-form {
	margin: 20px 0 0 0;
}

/* webform - header search */
.block-custom-search-blocks .block-title, 
.block-custom-search-blocks #edit-field-locations-tid-wrapper, 
.block-custom-search-blocks #edit-field-categories-tid-wrapper, 
.block-custom-search-blocks label {
	display: none;
}
.block-custom-search-blocks .form-item {
	width: calc(100% - 47px) !important;
	float: left;
}
.block-custom-search-blocks .form-actions {
	width:47px;
	float: right;
}
.block-custom-search-blocks, 
.block-custom-search-blocks .form-item,
.block-custom-search-blocks .form-submit {
	margin: 0;
	padding: 0px;
}
.block-custom-search-blocks input {
	color: #333333 !important;
	font-size: 14px;
	border-right: none;
	background: #eaeaea;
	vertical-align: top;
	width: 100%;
	padding: 6px 10px;
	height: 36px;
	letter-spacing: 0px;
}
.block-custom-search-blocks .form-submit {
	margin: 0;
	padding: 4px 6px !important;
	width: 47px;
	height: 36px;
	background: #333333 url(/sites/all/themes/persen/images/search-submit.jpg) contain right center no-repeat !important;
	vertical-align: top;
	font-size: 0 !important;
}
.region.region-callaction .block-webform .webform-client-form {
    position: relative;
}
.region.region-callaction .block-webform .webform-client-form .form-actions {
    position: absolute;
    top:0;
    right:0;
}
.captcha {
    margin-top:20px !important;
}
.region.region-callaction .block-webform .webform-client-form .captcha {
    margin: 20px auto !important;
    width: 304px !important;
    position: relative;
    top: 20px;
}