#content ul.select2-choices {
    margin: 0;
}

#content ul li.formTab {
    background: none;
}

#content ul li.select2-search-choice {
    background: none;
    padding: 3px 5px 3px 18px;
    margin: 3px 0 3px 5px;
    position: relative;
    line-height: 13px;
    color: #333;
    cursor: default;
    border: 1px solid #aaa;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);
    -moz-box-shadow: 0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);
    box-shadow: 0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #e4e4e4;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
    background-image: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));
    background-image: -webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
    background-image: -moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
    background-image: -o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
    background-image: -ms-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
    background-image: linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
}

#content ul li.select2-search-field {
    background: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.pat-relateditems {
    min-width: 270px;
}
.pat-select2 {
    min-width: 270px !important;
}
.textarea-widget {
    height: 5em;
    width: 100%;
}
.textarea-widget.list-field {
    height: unset;
}
.modal-body {
    max-height: none !important;
}
.modal-header .close {
    float: right;
}

.membership_item.selected {
    border: solid 1px #660;
    background: #ffe;
}

/* BOOK */

.book-image {
    float: left;
    margin: 20px 20px 20px 0;
}

.book-info {
    margin: 20px;
    float: left;
}

.book-description {
    clear: both;
}

body.template-folder_full_view .managePortletsBelowTitleLink,
body.template-folder_full_view .managePortletsBelowLink {
    display: none;
}

/* ROUTE */

.route-activity-container {
    margin-left: 2em;
}
form.kssattr-formname-select_activity_template #formfield-form-widgets-start_date,
form.kssattr-formname-select_activity_template #formfield-form-widgets-end_date {
    display: none;
}


/* COURSE / ACTIVITY */

.course-listing {
    padding: 0.5em 0;
    border-bottom: solid 1px #ccc;
}

.course-listing-header {
    float: left;
}

.course-listing-details {
    margin-left: 115px;
}

.course-listing-footer {
    margin-top: 1em;
    float: right;
}

.recommended-reading {
    clear: left;
}

/* REGISTRATION */

.register-course-activities {
    background: #f9f9f9;
    padding: 1em;
    margin-bottom: 1em;
}
#content .register-course-activities-detail label {
    font-weight: normal;
}
.register-course-activities-info,
.register-course-activities-warning {
    padding-left: 3em;
}
.register-course-activities-warning {
    color: red;
}


/* USER PULLDOWN */

#content dl.actionMenu {
    display: inline-block;
    float: none;
}
#content dl.actionMenu dt {
    font-weight: normal;
}
#content dl.actionMenu dt.actionMenuHeader a:after {
    content: " ▼";
}
#content dl.actionMenu dd {
    right: 0;
    padding-top: 0.5em;
}
#content dl.actionMenu dd {
    background: #e3e3e3;
    padding-bottom: 0.5em;
}
#content dl.actionMenu dd a {
    line-height: 2em;
    padding: 0 0.75em;
}
#content dl.actionMenu dd a:hover {
    background: #205c90;
    color: White;
}

/* CHARTS */

ul.pie-legend, ul.bar-legend {
    margin-top: 20px !important;
}
#content ul.pie-legend li, #content ul.bar-legend li {
    background: none;
    padding-left: 32px;
    text-indent: -16px;
}
ul.pie-legend li span, ul.bar-legend li span {
    padding: 5px;
    margin-right: 3px;
    display: inline-block;
}

.kssattr-fieldname-form\.widgets\.donation_default_amounts div.field,
.kssattr-fieldname-form\.widgets\.donation_cart_default_amounts div.field,
.kssattr-fieldname-form\.widgets\.donation_societies_values div.field {
    display: flex;
}

.plone-modal #donation-field {
    width: 6em;
}

/* ADD/EDIT SHIPPING FORM fixes */

#form-widgets-weight_table input[type="text"] {
    width: 8em !important;
}

#form-widgets-weight_table.datagridwidget-table-view {
    width: 100%;
}

#formfield-form-widgets-zones .option {
    min-width: 300px;
}

.shipping-method-page table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    border-bottom: 1px solid #ccc9c2;
}

.shipping-method-page table th {
    text-align: left;
    border-bottom: 1px solid #ccc9c2;
}
.shipping-method-page table th.order-type {
    color: #92d050;
    width: max-content;
}

#content .shipping-method-page table td.order-contents-cell p {
    margin: 1em 0;
    width: 50%;
    min-width: 250px;
}

.shipping-method-page table.in-stock-shipping p:not(:last-child) {
    border-bottom: 1px solid #ccc9c2;
    padding-bottom: 1em;
}

.shipping-method-page table.delayed-shipping tbody tr {
    border-bottom: 1px solid #ccc9c2;

}
.shipping-method-page table .shipping-methods-cell {
    padding: 10px 0;
    width: 250px;
    max-width: 50%;
}
label.disabled {
    opacity: 0.5;
}

.datagridwidget-manipulator {
    min-width: 16px;
}

/* event tickets datagrid */
table#form-widgets-tickets .cell-1 input {
    width: 15em;
}

table#form-widgets-tickets .cell-2 input {
    width: 5em;
}

table#form-widgets-tickets .cell-3 input {
    width: 4em;
}

table#form-widgets-tickets > thead > tr > th > span.required {
    display: none;
}

table#form-widgets-tickets > tbody > tr > td > span > label > span.required {
    display: none;
}

.ticket-price {
    padding-right: 4ch;
}

.ticket-name {
    padding-right: 6ch;
}

.thanks-page-response-edit-button, .viewlet-edit-button {
    float: right;
    margin: 0 0 0 10px;
}
body.userrole-owner #formsavedata2contententry-base-edit #archetypes-fieldname-surveyed-object-uid, body.userrole-owner #formsavedata2contententry-base-edit #archetypes-fieldname-surveyed-user-id, body.userrole-owner #formsavedata2contententry-base-edit #archetypes-fieldname-replyto {
    display: none;
}
body.userrole-owner div[id^="archetypes-fieldname-id-"], body.userrole-owner div[id^="archetypes-fieldname-surveyed-object-uid-"], body.userrole-owner div[id^="archetypes-fieldname-surveyed-user-id-"], body.userrole-owner div[id^="archetypes-fieldname-replyto-"] {
    display: none;
}
body.userrole-owner #formsavedata2contententry-base-edit fieldset, body.userrole-owner #formsavedata2contententry-base-edit fieldset .tab-title {
    display: none;
}
body.userrole-owner #formsavedata2contententry-base-edit fieldset#fieldset-default {
    display: block;
}

#feedback_form label.date-label {
    display: inline-block;
    vertical-align: middle;
}
#feedback_form .pattern-pickadate-wrapper {
    display: inline-block;
}
#feedback_form .pattern-pickadate-wrapper .pattern-pickadate-date-wrapper .picker__input {
    width: auto;
    margin: 0.35em;
}

.profile-preferences-section {
    margin-top: 20px;
}

.plone-item-ineffective, .plone-item-expired{
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-weight: bold;
    color: white;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    border-radius: 10px;
    font-size: 12px;
}
.plone-item-ineffective {
    background-color: #fab82a;
}
.plone-item-expired {
    background-color: #c4183c;
}
.profile-blog-post .pubdate {
    font-style: italic;
}
#content ul li.profile-blog-post {
    margin: 15px 0;
}
