/*

Webform-specific styles

*/

.webform-submission-form h2.step-title {
	line-height: 1;
}

.webform-submission-form .form-wrapper {
	max-width: 625px;
}

input.webform-wizard-pages-link {
	display: none;
}

.webform-submission-form fieldset {
	border: none;
	padding: 0;
}

.webform-submission-form fieldset.webform-buttons legend {
	font-weight: normal;
	font-size: 1rem;
}

.description {
	margin-bottom: 0.5rem;
}

.webform-submission-form .ui-button {
	border-width: 2px;
	border-style: solid;
	padding: 1rem 4.33rem;
	border-radius: 1.75rem;
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
}

.ui-button.ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
	border-width: 2px;
}

.buttons-double .ui-button:first-of-type {
	border-radius: 1.75rem 0 0 1.75rem;
}

.buttons-double .ui-button:last-of-type {
	border-radius: 0 1.75rem 1.75rem 0;
	margin-right: 0;
}

.form-checkbox,
.form-checkboxes {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	max-width: 600px;
}


.form-type-checkbox,
.form-type-checkbox {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
}

.form-checkbox,
.form-type-checkbox input[type="checkbox"]:not(.dummy-filter-checkbox) + label {
	margin: 0;
	border-width: 2px;
	border-radius: 2px;
	flex: 1 1 100%;
	background: none;
}

.form-checkbox,
.form-type-checkbox input[type="checkbox"]:not(.dummy-filter-checkbox) + label:before {
	font-family: 'cela-icons';
	content: "\e914";
	font-size: 1.5rem;
	margin-right: 0.5rem;
	display: inline-block;
	vertical-align: middle;
}

.form-checkbox,
.form-type-checkbox input[type="checkbox"]:not(.dummy-filter-checkbox):checked + label:before {
	content: "\e915";
}

/**custom checkbox*/
.form-checkbox-custom,
.form-checkboxes-custom {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	max-width: 600px;
}


.form-type-checkbox-custom,
.form-type-checkbox-custom {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
}

.form-checkbox-custom,
.form-type-checkbox-custom input[type="checkbox"] + label {
	margin: 0;
	border-width: 2px;
	border-radius: 2px;
	padding: 0.5rem;
	flex: 1 1 100%;
}

.form-checkbox-custom,
.form-type-checkbox-custom input[type="checkbox"] + label:before {
	font-family: 'cela-icons';
	content: "\e914";
	font-size: 1.5rem;
	margin-right: 0.5rem;
	display: inline-block;
	vertical-align: middle;
}

.form-checkbox-custom,
.form-type-checkbox-custom input[type="checkbox"]:checked + label:before {
	content: "\e915";
}

/* Webform help tooltip hovers */
.webform-element-help {
	height: 1.1rem;
	width: 1.1rem;
	font-size: 0.88rem;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

/* Webform preview page */

.webform-submission--view-mode-preview details {
	border: none;
}

.webform-submission--view-mode-preview .webform-element {
	border-left-width: 5px;
	border-left-style: solid;
	padding-left: 0.5rem;
} 

/*.webform-submission--view-mode-preview .details-wrapper > * {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
}*/

/*Bookshelf v2 page css*/
.bookshelf-title-row {
  display: flex;
}

.bookshelf_title_checkbox {
  flex: 0 0 2%;
}

.bookshelf_title_summary {
  flex: 1;
}

.bookshelf_title_summary p{
  margin-bottom: 5px;
}

.bookshelf-information{
  float: left;
  width: 100%;
}

.dummy-filter-holds input[type="checkbox"] + label {
  position: relative;
  padding-left: 1.75rem;
}
.dummy-filter-holds input[type="checkbox"] + label:before {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1rem;
  height: 1rem;
  content: " ";
  display: inline-block;
  border: 2px solid;
}
.dummy-filter-holds input[type="checkbox"]:checked + label:after {
  position: absolute;
  left: calc(2px + 0.17rem);
  top: calc(2px + 0.35rem);
  width: 0.6rem;
  height: 0.625rem;
  content: " ";
  display: inline-block;
  background: currentColor;
}