/* WPUM styles 
 * To be deprecated when moving to multisite.
 */

/* WPUM profile*/
.wpum-form fieldset label { font-size:14px }
#header-profile-details { border:0px }
.profile-navbar { display: flex; justify-content: flex-start; align-items: flex-end; gap: 5px; padding-top:20px; border-top: 0px; border-bottom: 5px solid #f5f5f5; }
.profile-navbar>a.active:first-child, 
.profile-navbar>a:hover:first-child, 
.profile-navbar>button.active:first-child, 
.profile-navbar>button:hover:first-child { border-top-left-radius: 10px }
.profile-navbar > a { padding: 8px 16px; margin-right: 5px; border-radius: 10px 10px 0 0; background: #e8e8e8; }
.profile-navbar>a:hover { background: #f5f5f5}
.profile-navbar>a.active { background: #f5f5f5 }
.wpum-account-page { padding-top:20px; }
.profile-tab-content { padding: 10px 0; margin-bottom: 10px; }

/* WPUM forms */
.wpum-form fieldset.fieldset-privacy { line-height: 1em; }
.wpum-form fieldset.fieldset-location { line-height: 1.6em; padding-bottom:5px;}
.wpum-form fieldset div.field label { font-size: 22px; } /* radio buttons */
.wpum-form fieldset label[for="custom_location"] { display:none }
.wpum-form fieldset #custom_location { font-size:14px }
.wpum-form fieldset small.description { font-size: 13px; font-style:italic; margin-top: 5px; opacity: 1; color: #777; white-space: normal; }
.wpum-form fieldset select { width: 100%; }
.select2-selection { height: 38px; }
.select2-selection--multiple { border: 2px solid #e5e5e5 !important; border-radius: 0px !important; }
.select2-selection__rendered { font-size: 22px; padding: 0 !important; }
.select2-search__field { padding-left: 10px !important; }
.select2-dropdown--below { margin-top: 32px; } /* flyttar ner alternativen */
.select2-selection__choice { font-size: 16px; height: 30px; margin-top: 2px !important; margin-left: 10px; padding-right: 10px !important; background: #f5f5f5; border-radius: 0 !important; border: none !important; }
.select2-selection__choice__remove {padding:0 7px; }
.wpum-form fieldset .required-field { background: none }
.wpum-form wpum-required { background: none }
.wpum-form span.field { background: none }
input:is([type="hidden"], [type="image"], [type="file"]) { padding-top: 3px; display: flex; flex-direction: column; align-items: flex-start; } /* snyggar till "ingen fil vald"/filnamn */
.wpum-form input[name="submit_registration"].waiting { background: #777; } /* publish button */

/* WPUM addon Registration forms (added here because it hides the button on edit post) */
input[name="submit_registration"].button { display: inline-block !important; }

/* WPUM message */
.wpum-message { border: 0; border-radius: 10px; text-shadow: none; padding: 7px 7px 1px 7px; font-size: 16px; font-style: normal; }
.wpum-message p { padding:0; margin:0 0 6px 0; }
.wpum-message.information { background-color: #D9EDf7; color: #000; }
.wpum-message.warning { background-color: #FFE5E7; color: #000; }
.wpum-message.error { background-color: #FFE5E7; color: #000; }
.wpum-message.notification { background-color: #FFF1E4; color: #000; }
.wpum-message.success { background-color: #dff0d8; color: #000; }

/* WPUM extra */
a[href$="/edit"] { font-size: 14px; background: none; color: #777; padding: 5px 10px 0 0; }
a[href$="/edit"]::before { content:"🔧 " }
a[href$="/edit"]:hover { color: #333; }