.form.new-bookmark .field textarea {
  width: 445px;
}

.form.new-bookmark .field input[type='text'] {
  width: 900px;
}

.form.new-bookmark select#group_ids {
  width: 410px;
}

.form.new-bookmark .group_bookmark_info {
  float: left;
  width: 600px;
}

.form.new-bookmark .notifier_info {
  float: left;
  width: 410px;
  color: #6f6f6f;
}

.form.new-bookmark .notifier_info  div {
  margin-bottom: 12px;
}

.form.new-bookmark .invi_notifier,.form.new-bookmark .all_notifier {
  font-size: 13px;
}

.form.new-bookmark .bookmark_button {
  clear: both;
}

.form.new-bookmark .email_list {
  margin-top: 20px;
}

.form.new-bookmark #emails {
  width: 405px;
  height: 79px;
  padding: 5px 0 0px 5px;
  margin-top: 10px;
}

.form.new-bookmark .notify_header {
  font-size: 16px;
}

.new-bookmark #bookmark_tag_list_tagsinput {
  width: 440px;
}

.form.new-bookmark .field .group_label {
 padding: 0;
}

form.new_bookmark, form.edit_bookmark {
  width: 1010px;
}
body.iframe-body {
  background-color: #F0EFEC;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

body.iframe-body .dialog input {
  padding-left: 10px;
}

body.iframe-body .logo {
  position: relative;
  top: -30px;
}

body.iframe-body #group_fields {
  float:left;
}

body.iframe-body .form_title {
  text-align: left;
  font-size: 18px;
  color: #005557;
  font-weight: bold;
  margin-bottom: 25px;
}

body.iframe-body .overlay {
  z-index: 1000;
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(88, 88, 88, 0.3);
  background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 500, from(rgba(20, 20, 20, 0.2)), to(rgba(0, 0, 0, 0.4)));
}

body.iframe-body .content {
  margin: 0 auto;
  background: none;
  box-shadow: none;
  min-height: 0;
  width: auto;
  padding-bottom: 0;
  padding-left: 10px;
}

body.iframe-body .form {
  background-color: white;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 13px;
}

body.iframe-body .form .field .tagsinput {
  margin: 0;
  width: 267px !important;
  min-height: 0 !important;
  height: 80px !important;
  padding: 5px !important;
}

body.iframe-body #bookmark_tag_list {
  width: 265px;
}

body.iframe-body .form .field .popular_tagbody.iframe-body s {
  margin: 5px 0;
  text-align: left;
}

body.iframe-body .form .field .button {
  padding: 3px 10px;
}

body.iframe-body .form .group_select {
  background: url(/assets/vertical_arrow.png) 257px 12px no-repeat;
  background-size: 12px 5px;
}

body.iframe-body .new_bookmark {
  width: 560px;
}

body.iframe-body .dialog .login_email {
  height: auto;
  display: inline-block;
}

body.iframe-body .dialog .login_email form {
  overflow: visible;
}

body.iframe-body .dialog .login_email #remember_me {
  margin-right: 14px;
}

body.iframe-body .dialog {
  position: relative;
  box-shadow: none;
  border: #DDD solid 1px;
  min-width: 772px;
}

body.iframe-body input[type="text"]:not(#email) {
  margin: 0;
  color: #888;
  font-weight: 400;
}

body.iframe-body #bookmark_title, body.iframe-body #bookmark_url {
  width: 550px;
}

body.iframe-body #bookmark_tag_list {
  margin-bottom: 10px !important;
}

body.iframe-body #email {
  width: 330px;
  margin-bottom: 10px;
}

body.iframe-body.iframe-body body #group_fields {
  width: 290px;
  float: left;
}

body.iframe-body .group_select {
  width: 265px !important;
  float: left;
  padding-left: 10px;
}

body.iframe-body .form .tagInputSuggestedTags {
  margin-left: 0;
  width: 240px;
  text-align: left;
  background: url(/assets/tag_detail.png) 0 no-repeat;
  padding-left: 30px;
  background-size: 7%;
}

body.iframe-body .right {
  float: right !important;
}

body.iframe-body .group_select button {
  width: 100% !important;
  float: left !important;
  color: #00a8c7;
  font-weight: 300;
}

body.iframe-body #bookmark_note {
  width: 265px;
  height: 100px;
  padding: 5px 0 0 10px;
  margin-left: 0 !important;
}

body.iframe-body .button-container {
  float: right;
}

body.iframe-body .button-container input {
  float: right;
  margin-right: 0 !important;
}

body.iframe-body input[type="password"] {
  width: 250px;
}

body.iframe-body .error_explanation {
  text-align: left;
}

body.iframe-body .textarea-container {
  margin-bottom: 10px;
  height: 105px;
}

body.iframe-body ::-webkit-input-placeholder {
  color: #00a8c7;
  font-style: italic;
}

body.iframe-body .button.close-button {
  margin-right: 0;
  margin-left: 10px;
}

body.iframe-body :-moz-placeholder {
  color: #00a8c7 !important;
  font-style: italic;
}

body.iframe-body .form .field {
  margin-bottom: 10px;
}

body.iframe-body .form .field #group_ids_chzn {
  top: 0;
  overflow: visible !important;
}

body.iframe-body .tagInputSuggestedTagList .tag {
  margin: 0;
}

body.iframe-body .tagInputSuggestedTagList .tag:first-child {
  padding-left: 0;
}

body.iframe-body .form .tagInputSuggestedTags .label {
  color: #c9cacc;
}

body.iframe-body .login-logo {
  margin: -25px 15px 0 20px;
}

body.iframe-body .login_email {
  margin: 20px 25px 0 20px;
}

body.iframe-body .login-logo {
  display: block !important;
}

body.iframe-body .form .field .button:first-child {
  margin-left: 20px;
}

body.iframe-body #loading {
  float: left;
  margin: 7px 5px 0 0;
  padding: 0;
}

body.iframe-body .chzn-container {
  vertical-align: middle;
}

body.iframe-body .chzn-container-multi .chzn-choices .search-field {
  height: 26px;
  padding-left: 8px;
}

body.iframe-body .chzn-container-multi .chzn-choices .search-field input {
  height: 16px;
}

body.iframe-body .chzn-container-multi .chzn-choices .search-choice .search-choice-close {
  right: 6px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) -44px -1px no-repeat;
}

body.iframe-body .chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
  background-position: -44px -12px;
}

body.iframe-body .chzn-container-multi .chzn-choices li {
   color: grey;
   border: none;
 }

body.iframe-body .chzn-container-multi .chzn-choices {
  height: 80px !important;
  padding-right: 5px;
}

body.iframe-body form .field .tagsinput span.tag {
  color: grey;
  border: none;
  line-height: 13px;
}

body.iframe-body form .field .tagsinput span.tag a {
  right: 6px;
  top: 9px;
  width: 7px;
  height: 7px;
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) -44px -1px no-repeat;
}

body.iframe-body .close-text {
  font-style: italic;
  color: black;
  font-size: 12px;
  margin-right: 30px;
  cursor: pointer;
}

body.iframe-body .jspVerticalBar {
  right: 20px;
}

body.iframe-body .jspContainer {
  height: 57px !important;
}

body.iframe-body .left_container {
  width: 280px;
}

body.iframe-body .right_container {
  width: 265px;
  padding-left: 0;
  height: 240px;
}

body.iframe-body #group_ids {
  width: 265px;
}

body.iframe-body .invi_notifier {
  text-align: left;
  font-size: 12px;
  color: #6f6f6f;
  margin-top: 7px;
}

body.iframe-body #invi_notifier {
  margin: 0 !important;
}

body.iframe-body #emails {
  margin-left: 0;
  width: 260px;
}

body.iframe-body .number_of_emails {
  font-size: 12px;
  color: #6f6f6f;
  margin: 10px 0;
}

body.iframe-body .button-container {
  clear: right;
}

body.iframe-body #bookmark_tag_list_tag,body.iframe-body .search-field input {
  color: #00a8c7 !important;
  font-style: italic;
}

body.iframe-body button.close-button {
  margin-right: 0;
}

body.iframe-body input.button.add {
  margin-right: 10px !important;
}

body.iframe-body .chzn-drop .chzn-results .no-results {
  color: red;
}

body.iframe-body .chzn-drop .chzn-results .no-results a {
  color: #00a9bf;
  font-style: italic;
}
/* @group Base */
.chzn-container {
  font-size: 13px;
  position: relative;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.chzn-container .chzn-drop {
  background: #fff;
  border: 1px solid #aaa;
  border-top: 0;
  position: absolute;
  top: 29px;
  left: 0;
  -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
  -moz-box-shadow   : 0 4px 5px rgba(0,0,0,.15);
  box-shadow        : 0 4px 5px rgba(0,0,0,.15);
  z-index: 1010;
}
/* @end */

/* @group Single Chosen */
.chzn-container-single .chzn-single {
  background-color: #ffffff;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 );
  background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
  background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background-image: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  -webkit-border-radius: 5px;
  -moz-border-radius   : 5px;
  border-radius        : 5px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  border: 1px solid #aaaaaa;
  -webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
  -moz-box-shadow   : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
  box-shadow        : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
  display: block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 23px;
  line-height: 24px;
  padding: 0 0 0 8px;
  color: #444444;
  text-decoration: none;
}
.chzn-container-single .chzn-default {
  color: #999;
}
.chzn-container-single .chzn-single span {
  margin-right: 26px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.chzn-container-single .chzn-single abbr {
  display: block;
  position: absolute;
  right: 26px;
  top: 6px;
  width: 12px;
  height: 12px;
  font-size: 1px;
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) -42px 1px no-repeat;
}
.chzn-container-single .chzn-single abbr:hover {
  background-position: -42px -10px;
}
.chzn-container-single.chzn-disabled .chzn-single abbr:hover {
  background-position: -42px -10px;
}
.chzn-container-single .chzn-single div {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  height: 100%;
  width: 18px;
}
.chzn-container-single .chzn-single div b {
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat 0px 2px;
  display: block;
  width: 100%;
  height: 100%;
}
.chzn-container-single .chzn-search {
  padding: 3px 4px;
  position: relative;
  margin: 0;
  white-space: nowrap;
  z-index: 1010;
}
.chzn-container-single .chzn-search input {
  background: #fff url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat 100% -20px;
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat 100% -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat 100% -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat 100% -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat 100% -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat 100% -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
  margin: 1px 0;
  padding: 4px 20px 4px 5px;
  outline: 0;
  border: 1px solid #aaa;
  font-family: sans-serif;
  font-size: 1em;
}
.chzn-container-single .chzn-drop {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius   : 0 0 4px 4px;
  border-radius        : 0 0 4px 4px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
}
/* @end */

.chzn-container-single-nosearch .chzn-search input {
  position: absolute;
  left: -9000px;
}

/* @group Multi Chosen */
.chzn-container-multi .chzn-choices {
  background-color: #fff;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
  margin: 0;
  padding: 0;
  cursor: text;
  overflow: hidden;
  height: auto !important;
  height: 1%;
  position: relative;
}
.chzn-container-multi .chzn-choices li {
  float: left;
  list-style: none;
}
.chzn-container-multi .chzn-choices .search-field {
  white-space: nowrap;
  margin: 0;
  padding: 0;
}
.chzn-container-multi .chzn-choices .search-field input {
  color: #666;
  background: transparent !important;
  border: 0 !important;
  font-family: sans-serif;
  font-size: 100%;
  height: 15px;
  padding: 5px;
  margin: 1px 0;
  outline: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow   : none;
  box-shadow        : none;
}
.chzn-container-multi .chzn-choices .search-field .default {
  color: #999;
}
.chzn-container-multi .chzn-choices .search-choice {
  -webkit-border-radius: 3px;
  -moz-border-radius   : 3px;
  border-radius        : 3px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  background-color: #e4e4e4;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', 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%, #eeeeee));
  background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  -moz-box-shadow   : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  box-shadow        : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  color: #333;
  border: 1px solid #aaaaaa;
  line-height: 13px;
  padding: 3px 20px 3px 5px;
  margin: 3px 0 3px 5px;
  position: relative;
  cursor: default;
}
.chzn-container-multi .chzn-choices .search-choice.search-choice-disabled {
  background-color: #e4e4e4;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', 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%, #eeeeee));
  background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  color: #666;
  border: 1px solid #cccccc;
  padding-right: 5px;
}
.chzn-container-multi .chzn-choices .search-choice-focus {
  background: #d4d4d4;
}
.chzn-container-multi .chzn-choices .search-choice .search-choice-close {
  display: block;
  position: absolute;
  right: 3px;
  top: 4px;
  width: 12px;
  height: 12px;
  font-size: 1px;
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) -42px 1px no-repeat;
}
.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
  background-position: -42px -10px;
}
.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
  background-position: -42px -10px;
}
/* @end */

/* @group Results */
.chzn-container .chzn-results {
  margin: 0 4px 4px 0;
  max-height: 240px;
  padding: 0 0 0 4px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.chzn-container-multi .chzn-results {
  margin: -1px 0 0;
  padding: 0;
}
.chzn-container .chzn-results li {
  display: none;
  line-height: 15px;
  padding: 5px 6px;
  margin: 0;
  list-style: none;
}
.chzn-container .chzn-results .active-result {
  cursor: pointer;
  display: list-item;
}
.chzn-container .chzn-results .highlighted {
  background-color: #3875d7;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 );
  background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
  background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
  background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
  background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
  background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
  color: #fff;
}
.chzn-container .chzn-results li em {
  background: #feffde;
  font-style: normal;
}
.chzn-container .chzn-results .highlighted em {
  background: transparent;
}
.chzn-container .chzn-results .no-results {
  background: #f4f4f4;
  display: list-item;
}
.chzn-container .chzn-results .group-result {
  cursor: default;
  color: #999;
  font-weight: bold;
}
.chzn-container .chzn-results .group-option {
  padding-left: 15px;
}
.chzn-container-multi .chzn-drop .result-selected {
  display: none;
}
.chzn-container .chzn-results-scroll {
  background: white;
  margin: 0 4px;
  position: absolute;
  text-align: center;
  width: 321px; /* This should by dynamic with js */
  z-index: 1;
}
.chzn-container .chzn-results-scroll span {
  display: inline-block;
  height: 17px;
  text-indent: -5000px;
  width: 9px;
}
.chzn-container .chzn-results-scroll-down {
  bottom: 0;
}
.chzn-container .chzn-results-scroll-down span {
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat -4px -3px;
}
.chzn-container .chzn-results-scroll-up span {
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat -22px -3px;
}
/* @end */

/* @group Active  */
.chzn-container-active .chzn-single {
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  -moz-box-shadow   : 0 0 5px rgba(0,0,0,.3);
  box-shadow        : 0 0 5px rgba(0,0,0,.3);
  border: 1px solid #5897fb;
}
.chzn-container-active .chzn-single-with-drop {
  border: 1px solid #aaa;
  -webkit-box-shadow: 0 1px 0 #fff inset;
  -moz-box-shadow   : 0 1px 0 #fff inset;
  box-shadow        : 0 1px 0 #fff inset;
  background-color: #eee;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 );
  background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
  background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
  background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
  background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
  background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
  -webkit-border-bottom-left-radius : 0;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-bottomleft : 0;
  -moz-border-radius-bottomright: 0;
  border-bottom-left-radius : 0;
  border-bottom-right-radius: 0;
}
.chzn-container-active .chzn-single-with-drop div {
  background: transparent;
  border-left: none;
}
.chzn-container-active .chzn-single-with-drop div b {
  background-position: -18px 2px;
}
.chzn-container-active .chzn-choices {
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  -moz-box-shadow   : 0 0 5px rgba(0,0,0,.3);
  box-shadow        : 0 0 5px rgba(0,0,0,.3);
}
.chzn-container-active .chzn-choices .search-field input {
  color: #111 !important;
}
/* @end */

/* @group Disabled Support */
.chzn-disabled {
  cursor: default;
  opacity:0.5 !important;
}
.chzn-disabled .chzn-single {
  cursor: default;
}
.chzn-disabled .chzn-choices .search-choice .search-choice-close {
  cursor: default;
}

/* @group Right to Left */
.chzn-rtl { text-align: right; }
.chzn-rtl .chzn-single { padding: 0 8px 0 0; overflow: visible; }
.chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; }

.chzn-rtl .chzn-single div { left: 3px; right: auto; }
.chzn-rtl .chzn-single abbr {
  left: 26px;
  right: auto;
}
.chzn-rtl .chzn-choices .search-field input { direction: rtl; }
.chzn-rtl .chzn-choices li { float: right; }
.chzn-rtl .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; }
.chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; }
.chzn-rtl.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; }
.chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; }
.chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; }
.chzn-rtl .chzn-search input {
  background: #fff url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat -30px -20px;
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat -30px -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat -30px -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat -30px -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat -30px -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) no-repeat -30px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
  padding: 4px 5px 4px 20px;
  direction: rtl;
}
.chzn-container-single.chzn-rtl .chzn-single div b {
  background-position: 6px 2px;
}
.chzn-container-single.chzn-rtl .chzn-single-with-drop div b {
  background-position: -12px 2px;
}
/* @end */

/* @group Retina compatibility */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)  {
  .chzn-rtl .chzn-search input, .chzn-container-single .chzn-single abbr, .chzn-container-single .chzn-single div b, .chzn-container-single .chzn-search input, .chzn-container-multi .chzn-choices .search-choice .search-choice-close, .chzn-container .chzn-results-scroll-down span, .chzn-container .chzn-results-scroll-up span {
      background-image: url(/assets/chosen-sprite@2x-085ee9b19ba0e879649a3bb219296e48c49f3da9a6dd70272348e9abd2ddde8e.png) !important;
      background-repeat: no-repeat !important;
      background-size: 52px 37px !important;
  }
}
/* @end */

.chzn-container-single .chzn-single {
  border-radius: 0px;
}

.chzn-container-single .chzn-drop {
  border-radius: 0px;
}
.contact_list {
  margin: 20px 0 0 20px;
}

.contact_list .contact_detail {
  margin-top: 20px;
}

.contact_list .invite_btn {
  margin: 20px 0 0 20px;
}

.email_list_notice {
  font-size: 18px;
  margin: 20px 0 0 20px;
  font-weight: bold;
}

.upload_file_form {
  margin-top : 20px;
}
.content {
  max-width: 100%;
  width: 1116px;
  min-height: 500px;
  height: 100%;
  background-color: white;
  box-shadow: 2px 2px 5px rgba(88, 88, 88, 0.7);
  -webkit-box-shadow: 2px 2px 5px rgba(88, 88, 88, 0.7);
  -moz-box-shadow: 2px 2px 5px rgba(88, 88, 88, 0.7);
  padding-bottom: 25px;
}

.right_content {
  width: 75%;
  float: right;
  margin-right: 6px;
}

.right_content.full {
  width: 95%;
}

.input_container {
  margin-left: 266px;
  height: 118px;
}

.left_content {
  width: 24%;
  overflow-x: hidden;
}

.view_panel {
  position: relative;
  height: 45px;
  padding: 10px 15px 0 3px;
}

.view_panel .option_mod , .group_list .option_mod, .view_panel .group_option_mod {
  height: 18px;
  background-image: url(/assets/vertical_arrow.png);
  background-repeat: no-repeat;
  background-size: 12px 5px;
  font-size: 14px;
  color: #8b8b8b;
  cursor: pointer;
  padding: 3px;
}

.view_panel .option_mod  {
  width: 50px;
  background-position: 40px 8px;
}

.view_panel .group_option_mod {
  width: 93px;
  background-position: 83px 8px;
}

.view_panel .option_mod:hover, .group_list .option_mod:hover {
  border: 1px solid #f3f3f3;
  box-shadow: 0 0 4px #888;
}

.group_list > div {
  position: relative;
}

.group_list .option_mod {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 48px;
  background-position: 38px 8px;
}

.group_list {
  width: 100%;
}

.group_list .group_name {
  background-repeat: no-repeat;
  padding-left: 25px;
  height: 46px;
  line-height: 46px;
  background-color: #f6f6f6;
  color: #008392;
  display: block;
  cursor: pointer;
}

.vertical_arrow {
  background-image: url(/assets/vertical_arrow.png);
  background-size: 12px 5px;
  background-position: 10px 20px;
}

.horizontal_arrow {
  background-image: url(/assets/horizontal_arrow.png);
  background-size: 5px 12px;
  background-position: 13px 17px;
}

.bookmark_info {
  float: left;
  width: 680px;
}

.bookmark_info .bookmark_title {
  color: #00a8c7;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.bookmark_info .bookmark_tags {
  background: url(/assets/tag_detail.png) left no-repeat;
  background-size: 18px 14px;
  padding-left: 20px;
}

.bookmark_info .bookmark_tags a {
  color: #c0c2c3;
  font-size: 13px;
  text-decoration: none;
}

.bookmark_info .bookmark_tags a:not(:last-child):after {
  content: ",";
}

.bookmark_info .bookmark_note {
  max-width: 700px;
  font-style: italic;
  font-size: 13px;
  color: #c0c2c3;
}

.group_list .bookmark_action {
  float: right;
}

.bookmark_item {
  padding: 15px 20px 5px 35px;
  min-height: 30px;
  border-bottom: 1px solid #f3f3f3;
  height: auto;
}

.bookmark_item.deleted {
  background-color: #e8f3f3;
  position: relative;
}

.bookmark_item.deleted .bookmark_info {
  padding-top: 10px;
}

.bookmark_item.deleted .time {
  background: url(/assets/noti.png) no-repeat;
  background-size: 15px 15px;
  color: red;
  position: absolute;
  left: 35px;
  top: 5px;
  font-size: 11px;
  padding: 2px 0 0 20px;
  height: 15px;
}

.group_list .bookmark_action .delete_btn {
  width: 35px;
  height: 35px;
  display: inline-block;
  background: url(/assets/delete.png) no-repeat;
  background-size: 35px 35px;
}

.group_list .bookmark_action .delete_btn:hover {
  background: url(/assets/delete_hover.png) no-repeat;
  background-size: 35px 35px;
}

.group_list .bookmark_action .undelete_btn {
  width: 35px;
  height: 35px;
  display: inline-block;
  background: url(/assets/undelete.png) no-repeat;
  background-size: 35px 35px;
}

.group_list .bookmark_action .undelete_btn:hover {
  background: url(/assets/undelete_hover.png) no-repeat;
  background-size: 35px 35px;
}

.group_list .bookmark_action .edit_btn {
  width: 35px;
  height: 35px;
  display: inline-block;
  background: url(/assets/edit.png) no-repeat;
  background-size: 35px 35px;
}

.group_list .bookmark_action .edit_btn:hover {
  background: url(/assets/edit_hover.png) no-repeat;
  background-size: 35px 35px;
}

.group_list .share_count .count_number {
  background-color: #f3f3f3;
  padding: 2px;
  border: 1px solid #ddd;
  border-radius: 3px;
  position: relative;
  right: 10px;
  color: #008392;
  font-size: 12px;
  font-weight: 500;
  min-width: 30px;
  text-align: center;
}

.group_list .share_count .count_number:before {
  position: absolute;
  display: inline-block;
  border-top: 4px solid transparent;
  border-left: 4px solid #f3f3f3;
  border-bottom: 4px solid transparent;
  border-left-color: #ddd;
  right: -4px;
  top: 5px;
  content: '';
}

.group_list .share_count .count_number:after {
  position: absolute;
  display: inline-block;
  border-top: 3px solid transparent;
  border-left: 3px solid #f3f3f3;
  border-bottom: 3px solid transparent;
  right: -3px;
  top: 6px;
  content: '';
}

.group_select, .file_select {
  width: 203px;
  height: 30px;
  display: inline-block;
  color: #999;
  font-size: 14px;
  box-shadow: inset 0px 0px 6px #888;
  -webkit-box-shadow: inset 0px 0px 6px #888;
  -moz-box-shadow: inset 0px 0px 6px #888;
  border: 0;
}

.group_select {
  background: url(/assets/vertical_arrow.png) 190px 12px no-repeat;
  background-size: 12px 5px;
}

.file_select {
  cursor: pointer;
  vertical-align: middle;
}

.group_select .select_text, .file_select .select_text {
  position: absolute;
  height: 30px;
  line-height: 30px;
  display: inline-block;
  padding-left: 10px;
  width: 335px;
  overflow: hidden;
}

.group_select select, .file_select input {
  opacity: 0;
  height: 100%;
  width: 100%;
}

.heatmap .heatmap_element:hover {
  background-color: #888;
  color: white !important;
}

.content .text_content, .content .text_content a {
  color: #999;
  text-decoration: none;
}

.form, .content .text_content {
  margin-left: 60px;
  padding-top: 30px;
}

.form .field {
  margin-bottom: 20px;
}

.form .field .require {
  color: #c2c2c2;
  font-size: 12px;
  padding-left: 105px;
  font-style: italic;
}

.form .field label {
  padding: 10px 0;
  width: 100px;
  display: inline-block;
  color: #6f6f6f;
}

.form .radio label {
  white-space: nowrap;
}

.form .field label.label_textarea {
  padding: 0;
  float: left;
  margin-top: 25px;
}

.form .field label.radio_title {
  width: auto;
  font-size: 14px;
  padding: 0 0;
}

.form .field input[type='radio'] {
  margin-left: 105px;
}

.form .field input[type='text'], .form .field input[type='email'], .form .field input[type='password'], .form .field select, .form .field textarea, .form .info {
  width: 300px;
  display: inline-block;
}

.form .info .truncate {
  max-width: 200px;
  display: inline-block;
  line-height: 38px;
  height: 38px;
  vertical-align: middle;
}

.left_container, .right_container {
  height: 210px;
}

.left_container {
  background: url(/assets/shadown-Right.png) 375px -30px no-repeat;
}

.right_container {
  background: url(/assets/shadown-Left.png) 380px -30px no-repeat;
  padding-left: 30px;
  width: 385px;
}

.form .info .best_in_place_edit {
  height: 15px;
}

.form .field .info input {
  width: 290px;
}

.form .field textarea {
  margin-left: 4px;
  padding-top: 5px;
}

.form .field .group_select, .form .field .file_select {
  width: 355px;
  background-position: 328px 12px;
}

.form .field a.button {
  float: left;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding-top: 5px;
}

a.button {
  line-height: 30px;
}

.button {
  text-decoration: none;
  height: 30px;
  display: inline-block;
  color: rgba(0, 0, 0, 0.65);
  font-size: 15px;
  font-weight: 500;
  background-color: white;
  padding: 3px 10px;
  margin-right: 10px;
  cursor: pointer;
  border: 1px solid rgba(166, 166, 166, 0.2);
  -webkit-box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.2);
  -moz-box-shadow:    0px 1px 0px rgba(50, 50, 50, 0.2);
  box-shadow:         0px 1px 0px rgba(50, 50, 50, 0.2);
}

.button.loading {
  background: url(/assets/loading.gif) no-repeat 10px center;
  padding-left: 36px;
}

.form .field .button[disabled="disabled"] {
  cursor: auto;
}

.form .field .button:first-child {
  margin-left: 105px;
}

.form .field .button.upload {
  margin-left: 10px;
}

.form .field #group_ids_chzn {
  top: 10px;
}

.form .tagInputSuggestedTags {
  width: 355px;
  color: #999;
  background-color: transparent;
  margin-left: 105px;
}

.form .tagInputSuggestedTags .label {
  font-weight: normal;
}

.form .tagInputSuggestedTags .tagInputSuggestedTagList {
  font-weight:  bolder;
  line-height: 10px;
  color: #bbbdbf;
}

.form .field .tagInput {
  background-image: none;
}

.form .message {
  color: #999;
  font-size: 16px;
  margin-bottom: 20px;
}

#error_explanation {
  font-size: 12px;
  color: red;
  margin-bottom: 20px;
}

#error_explanation h2 {
  font-size: 12px;
  font-style: italic;
  font-weight: bold;
}

#error_explanation ul {
  margin-left: 15px;
}

.field_with_errors {
  display: inline;
}

.tag_title {
  color: #999;
  margin-top: 20px;
  padding-left: 6px;
}

.best_in_place:after, .best_in_place_edit {
  width: 15px;
  height: 30px;
  background-size: 15px 15px;
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
}

.best_in_place_edit {
  background: url(/assets/edit_group.png) no-repeat center;
}

.best_in_place:after {
  content: '';
  background: url(/assets/edit_group.png) no-repeat bottom;
  margin-left: 10px;
}

.rounded_table .group_name {
  width: 250px;
}

.rounded_table .group_name .truncate {
  display: inline-block;
  width: 210px;
  padding-left: 10px;
  line-height: 30px;
}

.rounded_table .group_name .truncate input {
  width: 200px;
}

.rounded_table .rank {
  padding-left: 10px;
}

.owner_name {
  max-width: 220px;
}

.username {
  max-width: 150px;
}

.form.domain_form .field label {
  width: 150px;
}

ul.bookmarklet-instruction {
  list-style-type: decimal;
}

.drag-button-container {
  height: 70px;
  background-color: #f2f2f2;
  padding-left: 130px;
  line-height: 47px;
  color: #767676;
}

.drag-button-container a {
  display: inline-block;
  height: 45px;
  border-radius: 10px;
  color: transparent;
  background: url(/assets/bookmarklet.png) no-repeat;
  width: 250px;
  margin: 13px 20px 0 0;
  background-size: 100%;
}

ul.bookmarklet-instruction {
  margin: 30px 0 0 135px;
  color: #585858;
  font-weight: bold;
}

ul.bookmarklet-instruction li {
  color: #767676;
  margin: 20px 0 0 23px;
  font-weight: normal;
}

ul.bookmarklet-instruction .button {
  margin-top: 20px;
}

.field #merge_domain_button {
  float: right;
  margin-right: 105px;
}

.chzn-container-multi .chzn-choices {
  box-shadow: inset 0px 0px 6px #888;
  -webkit-box-shadow: inset 0px 0px 6px #888;
  -moz-box-shadow: inset 0px 0px 6px #888;
  padding: 2px 1px;
}

/*#group_ids_chzn .chzn-container, .chzn-choices {
  width: 355px !important;
}

#group_ids_chzn .chzn-drop {
  width: 353px !important;
}*/

/*.chzn-container {
  vertical-align: middle;
}*/

.chzn-container-multi .chzn-choices .search-choice span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

.edit_config_data textarea#config_data_value {
  vertical-align: top;
  margin-left: 0;
  height: 245px;
}

.edit_config_data #value_preview {
  width: 350px;
  border: 0;
  height: 236px;
}

label[for="config_data_value"] {
  vertical-align: top;
  padding: 0;
  border: 0;
}

.edit_config_data fieldset {
  display: inline-block;
  width: 350px;
  -webkit-padding-start: 15px;
  position: relative;
  top: -9px;
  height: 256px;
  color: #999;
  border: 2px groove #F2F0F1;
  margin-left: 15px;
}

.edit_config_data fieldset legend {
  padding: 0 10px;
}

.top_navigator .sub_menu li:nth-child(2) {
  border-top-right-radius: 10px;
}

#select_domain, #group_select_form #group {
  width: 233px;
}

#role_id {
  width: 220px;
}

#sub_menu_search {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

select#group_ids {
  width: 356px;
}

.new_bookmark div.tagsinput, .edit_bookmark div.tagsinput {
  display: inline-block;
  margin-left: 4px;
  height: 110px !important;
}

.new_bookmark .label_taglist, .edit_bookmark .label_taglist {
  height: 85px;
  line-height: 85px;
  float: left;
}

.new_fast_registration {
  margin-top: 55px;
  overflow: hidden;
}

.new_fast_registration .fast_registration_email {
  float: left;
  height: 51px;
  font-size: 15px;
  width: 430px;
  padding-left: 12px;
  color: #54c4e0;
}

.new_fast_registration .set_email_button {
  background: url(/assets/enter-btn.png);
  width: 115px;
  height: 52px;
  background-size: 100%;
  border: 0;
  float: left;
  font-size: 22px;
  position: relative;
  top: -1px;
}

.new_fast_registration .fast_registration_email::-webkit-input-placeholder {
   color: #54c4e0;
   font-weight: 200;
}

.new_fast_registration .fast_registration_email:-moz-placeholder {
   color: #54c4e0;
   font-weight: 200;
}

.new_fast_registration .fast_registration_email::-moz-placeholder {
   color: #54c4e0;
   font-weight: 200;
}

.new_fast_registration .fast_registration_email:-ms-input-placeholder {
   color: #54c4e0;
   font-weight: 200;
}

.new_fast_registration .set_email_button:hover {
  background: url(/assets/enter-btn-hover.png);
  background-size: 100%;
}

.group_display_option .sort-link a.active {
  pointer-events: none;
  color: #4cacd7;
}

.group_list > div .loading_ajax {
  position: absolute;
  left: 50%;
  top: 50%;
}

.statistics_info {
  margin-left: 60px;
}

.group_name .edit_group_button {
  background: url(/assets/edit_group.png) no-repeat center;
  width: 15px;
  height: 15px;
  display: inline-block;
  float: right;
  margin-right: 70px;
  margin-top: 12px;
}

.credential {
  margin: 10px 0 0 50px;
}

.form.user_profile .field {
  margin-bottom: 0;
  height: 50px;
}

.form.user_profile .field label, .form.admin_user_info .field label {
  width: 180px;
  font-size: 15px;
  font-weight: bold;
}

.form .left_container .field label {
  width: 100px;
}

.form .right_container .info {
  width: 200px;
}

.form .right_container .info  span {
  font-size: 22px;
  font-weight: bold;
  color: #6f6f6f;
}

.form.user_profile .info .truncate {
  line-height: 40px;
  height: 40px;
  font-size: 22px;
  font-weight: bold;
  color: #3e3e3e;
}

a.import_btn {
  margin-bottom: 10px;
}

.contact {
  position: relative;
  margin-bottom: 10px;
}

.contact .image_contact {
  width: 50px;
  height: 50px;
}

.contact .info {
  position: absolute;
  top: 50%;
  margin-top: -9px;
  margin-left: 10px;
}

.form.user_profile .file_select .select_text {
  width: 205px;
}

.upload_file_form .button.upload {
  line-height: 19px;
  margin-left: 10px;
}

.info_container {
  overflow: hidden;
  margin-bottom: 20px;
}
.display_option, .tag_display_option, .group_display_option {
  background-color: #f4f4f4;
  z-index: 99;
  position: absolute;
}

.display_option {
  width: 310px;
  height: 105px;
  right: 14px;
  top: 39px;
}

.tag_display_option {
  width: 160px;
  height: 120px;
  left: 30px;
  top: 230px;
}

.tag_display_option .top {
  width: 50% !important;
}

.tag_display_option .sub_option, .tag_display_option .bottom {
  width: 100%;
}

.tag_display_option .options > li {
  height: 70px !important;
}

.option_panel {
  box-shadow: 1px 1px 5px rgba(88, 88, 88, 0.7);
  -webkit-box-shadow: 1px 1px 5px rgba(88, 88, 88, 0.7);
  -moz-box-shadow: 1px 1px 5px rgba(88, 88, 88, 0.7);
}

.option_panel ul li {
  list-style: none;
}

.option_panel .title {
  background-color: #e2e2e2;
  color: #4d4d4d;
  font-size: 13px;
  font-weight: 500;
  height: 25px;
  line-height: 25px;
}

.option_panel .options {
  padding: 0;
  margin: 0px;
}

.option_panel .options > li {
  float: left;
  height: 20px;
  line-height: 20px;
}

.option_panel .sub_option {
  margin: 0;
  padding: 0 0px 5px 0px;
}

.option_panel .sub_option li {
  padding: 0px 5px;
}

.option_panel .sub_option li a, .option_panel .sub_option li {
  font-size: 12px;
  color: #808080;
  text-decoration: none;
}

.option_panel .sub_option li:not(.title) {
  color: #4cacd7;
}

.option_panel .per_page span {
  float: left;
  padding: 0 5px;
}

.option_panel .sub_option a:hover {
  background-color: #888;
  color: white;
}

.sub_option .title {
  text-shadow: none;
}

#page_display_option {
  width: 85px;
}

.group_display_option {
  width: 310px;
  height: 105px;
  right: 10px;
  top: 39px;
}
.error_container {
  margin: 10px 0 0 20px;
}

.error_container h3 {
  font-size: 20px;
  margin-bottom: 20px;
}
#group_panel a.button {
  margin-top: 50px;
  padding-bottom: 0px;
  line-height: 25px;
}

#confirm-dialog a.button {
  padding: 5px 10px;
  height: 20px;
  margin: 10px 25px 0 0;
  width: 50px;
}

#confirm-dialog .notice {
  font-size: 14px;
  line-height: 20px;
}

.domain-section #domain-list li {
  margin-left: 20px;
  font-size: 14px;
}

.domain-section #domain-list li a {
  font-size: 12px;
}

#domain-done-btn {
  margin-right: 112px;
}

.pending_member_number {
  color: #37a09d;
  font-size: 12px;
  display: inline-block;
  width: 70px;
  height: 19px;
  float: right;
  background: url(/assets/member.png) 3px 3px no-repeat;
  background-size: 14px 12px;
  box-shadow: 0 0 4px 0 grey;
  padding-left: 20px;
  border-radius: 4px;
  margin-right: 5px;
}

#group_table .rounded_head_left {
  border-right: none;
}

#group_table td.members > span {
  display: inline;
}

.dialog_title {
  color: #008392;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.invite_contacts {
  text-align: left;
  margin: 40px;
}

.dialog .invite_contacts input {
  padding: 3px 10px;
}

.invite_by_username input[type="text"] {
  width: 180px;
}

.invite_by_email textarea {
  width: 360px;
}

.invite_by_username, .invite_by_email {
  margin-top: 50px;
  margin-left: 60px;
  margin-right: 30px;
  color: #6f6f6f;
}

.invite_by_username input {
  margin-bottom: 10px;
}
/*
 * jQuery UI CSS Framework 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Theming/API
 */

/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }


/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }


/* Icons
----------------------------------*/

/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }


/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }


/*
 * jQuery UI CSS Framework 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Theming/API
 *
 * To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller
 */


/* Component containers
----------------------------------*/
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
.ui-widget .ui-widget { font-size: 1em; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(/assets/images/ui-bg_glass_75_ffffff_1x400-e6dec50d602c5c8829427ecd8164ac59dc3e8258d1dc7d0d7fda47239669cad9.png) 50% 50% repeat-x; color: #222222; }
.ui-widget-content a { color: #222222; }
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(/assets/images/ui-bg_highlight-soft_75_cccccc_1x100-2c7e22df8e71cc5c68809a6cbc5c40a7f81b03b09faae284651e967318caf7a1.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
.ui-widget-header a { color: #222222; }

/* Interaction states
----------------------------------*/
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(/assets/images/ui-bg_glass_75_e6e6e6_1x400-bda3ffe761e3fdedec923bc74b03177728183e2a94959edeedaea39b0e5588b5.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(/assets/images/ui-bg_glass_75_dadada_1x400-872bd576b65c0756e3a73ae4791398a5311ec29e20809e4b37be780cd3c7f6fb.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(/assets/images/ui-bg_glass_65_ffffff_1x400-dcfa2afd9c9db12f31c0f0216c2eaa7c4e866757416c363d37122cad70c719e0.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
.ui-widget :active { outline: none; }

/* Interaction Cues
----------------------------------*/
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fcefa1; background: #fbf9ee url(/assets/images/ui-bg_glass_55_fbf9ee_1x400-32ce63b11450d35ccaf3dc0ccd7cedcdeb42b234bfa8a6c98a9ef7644f578359.png) 50% 50% repeat-x; color: #363636; }
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(/assets/images/ui-bg_inset-soft_95_fef1ec_1x100-8febaf53535d221115a908db250d597a9dd4eec892eddf62709ac2fc33939c68.png) 50% bottom repeat-x; color: #cd0a0a; }
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }

/* Icons
----------------------------------*/

/* states and images */
.ui-icon { width: 16px; height: 16px; background-image: url(/assets/images/ui-icons_222222_256x240-3305696b28a8757b9b73e678cc6c72dc7277107d3df71dc3baf4f77312473ae9.png); }
.ui-widget-content .ui-icon {background-image: url(/assets/images/ui-icons_222222_256x240-3305696b28a8757b9b73e678cc6c72dc7277107d3df71dc3baf4f77312473ae9.png); }
.ui-widget-header .ui-icon {background-image: url(/assets/images/ui-icons_222222_256x240-3305696b28a8757b9b73e678cc6c72dc7277107d3df71dc3baf4f77312473ae9.png); }
.ui-state-default .ui-icon { background-image: url(/assets/images/ui-icons_888888_256x240-42393eae298d8afe2c78cd1caf6a1abfecc8201d7adf92c594e386f8f10cf987.png); }
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(/assets/images/ui-icons_454545_256x240-989d471b55541d188455465047133795033ae7d4e2b929b2daac08112ac1c3bd.png); }
.ui-state-active .ui-icon {background-image: url(/assets/images/ui-icons_454545_256x240-989d471b55541d188455465047133795033ae7d4e2b929b2daac08112ac1c3bd.png); }
.ui-state-highlight .ui-icon {background-image: url(/assets/images/ui-icons_2e83ff_256x240-274b2b24a31dacf5e4a9e273a7104dfcbb0558a85c3db5e98e8fafbeb95cfcd5.png); }
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(/assets/images/ui-icons_cd0a0a_256x240-362b1dfd7da7e263c4037c73d5e0c430eefa4ba194f05914a9593adf3c62bf85.png); }

/* positioning */
.ui-icon-carat-1-n { background-position: 0 0; }
.ui-icon-carat-1-ne { background-position: -16px 0; }
.ui-icon-carat-1-e { background-position: -32px 0; }
.ui-icon-carat-1-se { background-position: -48px 0; }
.ui-icon-carat-1-s { background-position: -64px 0; }
.ui-icon-carat-1-sw { background-position: -80px 0; }
.ui-icon-carat-1-w { background-position: -96px 0; }
.ui-icon-carat-1-nw { background-position: -112px 0; }
.ui-icon-carat-2-n-s { background-position: -128px 0; }
.ui-icon-carat-2-e-w { background-position: -144px 0; }
.ui-icon-triangle-1-n { background-position: 0 -16px; }
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
.ui-icon-triangle-1-e { background-position: -32px -16px; }
.ui-icon-triangle-1-se { background-position: -48px -16px; }
.ui-icon-triangle-1-s { background-position: -64px -16px; }
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
.ui-icon-triangle-1-w { background-position: -96px -16px; }
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
.ui-icon-arrow-1-n { background-position: 0 -32px; }
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
.ui-icon-arrow-1-e { background-position: -32px -32px; }
.ui-icon-arrow-1-se { background-position: -48px -32px; }
.ui-icon-arrow-1-s { background-position: -64px -32px; }
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
.ui-icon-arrow-1-w { background-position: -96px -32px; }
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
.ui-icon-arrow-4 { background-position: 0 -80px; }
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
.ui-icon-extlink { background-position: -32px -80px; }
.ui-icon-newwin { background-position: -48px -80px; }
.ui-icon-refresh { background-position: -64px -80px; }
.ui-icon-shuffle { background-position: -80px -80px; }
.ui-icon-transfer-e-w { background-position: -96px -80px; }
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
.ui-icon-folder-collapsed { background-position: 0 -96px; }
.ui-icon-folder-open { background-position: -16px -96px; }
.ui-icon-document { background-position: -32px -96px; }
.ui-icon-document-b { background-position: -48px -96px; }
.ui-icon-note { background-position: -64px -96px; }
.ui-icon-mail-closed { background-position: -80px -96px; }
.ui-icon-mail-open { background-position: -96px -96px; }
.ui-icon-suitcase { background-position: -112px -96px; }
.ui-icon-comment { background-position: -128px -96px; }
.ui-icon-person { background-position: -144px -96px; }
.ui-icon-print { background-position: -160px -96px; }
.ui-icon-trash { background-position: -176px -96px; }
.ui-icon-locked { background-position: -192px -96px; }
.ui-icon-unlocked { background-position: -208px -96px; }
.ui-icon-bookmark { background-position: -224px -96px; }
.ui-icon-tag { background-position: -240px -96px; }
.ui-icon-home { background-position: 0 -112px; }
.ui-icon-flag { background-position: -16px -112px; }
.ui-icon-calendar { background-position: -32px -112px; }
.ui-icon-cart { background-position: -48px -112px; }
.ui-icon-pencil { background-position: -64px -112px; }
.ui-icon-clock { background-position: -80px -112px; }
.ui-icon-disk { background-position: -96px -112px; }
.ui-icon-calculator { background-position: -112px -112px; }
.ui-icon-zoomin { background-position: -128px -112px; }
.ui-icon-zoomout { background-position: -144px -112px; }
.ui-icon-search { background-position: -160px -112px; }
.ui-icon-wrench { background-position: -176px -112px; }
.ui-icon-gear { background-position: -192px -112px; }
.ui-icon-heart { background-position: -208px -112px; }
.ui-icon-star { background-position: -224px -112px; }
.ui-icon-link { background-position: -240px -112px; }
.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }
.ui-icon-bullet { background-position: -80px -144px; }
.ui-icon-radio-off { background-position: -96px -144px; }
.ui-icon-radio-on { background-position: -112px -144px; }
.ui-icon-pin-w { background-position: -128px -144px; }
.ui-icon-pin-s { background-position: -144px -144px; }
.ui-icon-play { background-position: 0 -160px; }
.ui-icon-pause { background-position: -16px -160px; }
.ui-icon-seek-next { background-position: -32px -160px; }
.ui-icon-seek-prev { background-position: -48px -160px; }
.ui-icon-seek-end { background-position: -64px -160px; }
.ui-icon-seek-start { background-position: -80px -160px; }
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
.ui-icon-seek-first { background-position: -80px -160px; }
.ui-icon-stop { background-position: -96px -160px; }
.ui-icon-eject { background-position: -112px -160px; }
.ui-icon-volume-off { background-position: -128px -160px; }
.ui-icon-volume-on { background-position: -144px -160px; }
.ui-icon-power { background-position: 0 -176px; }
.ui-icon-signal-diag { background-position: -16px -176px; }
.ui-icon-signal { background-position: -32px -176px; }
.ui-icon-battery-0 { background-position: -48px -176px; }
.ui-icon-battery-1 { background-position: -64px -176px; }
.ui-icon-battery-2 { background-position: -80px -176px; }
.ui-icon-battery-3 { background-position: -96px -176px; }
.ui-icon-circle-plus { background-position: 0 -192px; }
.ui-icon-circle-minus { background-position: -16px -192px; }
.ui-icon-circle-close { background-position: -32px -192px; }
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
.ui-icon-circle-zoomin { background-position: -176px -192px; }
.ui-icon-circle-zoomout { background-position: -192px -192px; }
.ui-icon-circle-check { background-position: -208px -192px; }
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
.ui-icon-circlesmall-close { background-position: -32px -208px; }
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
.ui-icon-squaresmall-close { background-position: -80px -208px; }
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }


/* Misc visuals
----------------------------------*/

/* Corner radius */
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }

/* Overlays */
.ui-widget-overlay { background: #aaaaaa url(/assets/images/ui-bg_flat_0_aaaaaa_40x100-aa167a04c6c4e82e1fbe80ec8a290de0a228ff1f074e64fda276e18c53b6885a.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(/assets/images/ui-bg_flat_0_aaaaaa_40x100-aa167a04c6c4e82e1fbe80ec8a290de0a228ff1f074e64fda276e18c53b6885a.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
 * jQuery UI Resizable 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Resizable#theming
 */
.ui-resizable { position: relative;}
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
 * jQuery UI Selectable 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Selectable#theming
 */
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
/*
 * jQuery UI Accordion 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Accordion#theming
 */
/* IE/Win - Fix animation bug - #4615 */
.ui-accordion { width: 100%; }
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
.ui-accordion .ui-accordion-li-fix { display: inline; }
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
.ui-accordion .ui-accordion-content-active { display: block; }
/*
 * jQuery UI Autocomplete 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Autocomplete#theming
 */
.ui-autocomplete { position: absolute; cursor: default; }	

/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

/*
 * jQuery UI Menu 1.8.14
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Menu#theming
 */
.ui-menu {
	list-style:none;
	padding: 2px;
	margin: 0;
	display:block;
	float: left;
}
.ui-menu .ui-menu {
	margin-top: -3px;
}
.ui-menu .ui-menu-item {
	margin:0;
	padding: 0;
	zoom: 1;
	float: left;
	clear: left;
	width: 100%;
}
.ui-menu .ui-menu-item a {
	text-decoration:none;
	display:block;
	padding:.2em .4em;
	line-height:1.5;
	zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
	font-weight: normal;
	margin: -1px;
}
/*
 * jQuery UI Button 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Button#theming
 */
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
.ui-button-icons-only { width: 3.4em; } 
button.ui-button-icons-only { width: 3.7em; } 

/*button text element */
.ui-button .ui-button-text { display: block; line-height: 1.4;  }
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
/* no icon support for input elements, provide padding by default */
input.ui-button { padding: .4em 1em; }

/*button icon element(s) */
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }

/*button sets*/
.ui-buttonset { margin-right: 7px; }
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }

/* workarounds */
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
/*
 * jQuery UI Dialog 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Dialog#theming
 */
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative;  }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } 
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }
/*
 * jQuery UI Slider 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Slider#theming
 */
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }

.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }

.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
 * jQuery UI Tabs 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Tabs#theming
 */
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }
/*
 * jQuery UI Datepicker 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Datepicker#theming
 */
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month, 
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }

/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}/*
 * jQuery UI Progressbar 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Progressbar#theming
 */
.ui-progressbar { height:2em; text-align: left; }
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
#confirmOverlay{
    width:100%;
    height:100%;
    position:fixed;
    top:0;
    left:0;
    background:url(/assets/ie.png);
    background: -moz-linear-gradient(rgba(11,11,11,0.1), rgba(11,11,11,0.6)) repeat-x rgba(11,11,11,0.2);
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(11,11,11,0.1)), to(rgba(11,11,11,0.6))) repeat-x rgba(11,11,11,0.2);
    z-index:100000;
}

#confirmBox{
    width:460px;
    position:fixed;
    left:50%;
    top:50%;
    margin:-130px 0 0 -230px;
    border: 1px solid rgba(33, 33, 33, 0.6);

    -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.6) inset;
    -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.6) inset;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6) inset;
}

#confirmBox h1,
#confirmBox p{
    padding: 0 25px;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
    color:#49a8c7;
}

#confirmBox p{
    font-size:15px;
    line-height:1.4;
    padding-top: 10px;
}

#confirmButtons{
    padding:15px 0 10px;
    text-align:center;
}

#confirmBox  .button {
  width: 75px;
  line-height:28px;
}

#confirmBox .blue {
  font-size: 14px;
}

#confirmBox .gray {
}
.styled-v-bar{ /* sample CSS class for a different vertical scrollbar look */
  background: url(/assets/custom-scroll-bar.png) center top no-repeat;
  width: 10px;
  margin-right: 0;
  margin-bottom: 4px;
}

.styled-v-bar ins{ /* Style for the "ins" inner element, or bottom of the scrollbar */
  display: block;
  background: url(/assets/custom-scroll-bar.png) center bottom no-repeat;
  width: 10px;
  height: 4px;
  position: absolute;
  top: 100%;
}
.ui-multiselect { padding:2px 0 2px 5px; text-align:left; background: transparent; color: #999; font-size: 15px; width: 250px; height: 30px; }
.ui-multiselect span.ui-icon { float:right }
.ui-multiselect-single .ui-multiselect-checkboxes input { position:absolute !important; top: auto !important; left:-9999px; }
.ui-multiselect-single .ui-multiselect-checkboxes label { padding:5px !important }

.ui-multiselect-header { margin-bottom:3px; padding:3px 0 3px 4px }
.ui-multiselect-header ul { font-size:0.9em }
.ui-multiselect-header ul li { float:left; padding:0 10px 0 0 }
.ui-multiselect-header a { text-decoration:none }
.ui-multiselect-header a:hover { text-decoration:underline }
.ui-multiselect-header span.ui-icon { float:left }
.ui-multiselect-header li.ui-multiselect-close { float:right; text-align:right; padding-right:0 }

.ui-multiselect-menu { display:none; padding:3px; position:absolute; z-index:10000; text-align: left }
.ui-multiselect-checkboxes { position:relative /* fixes bug in IE6/7 */; overflow-y:scroll }
.ui-multiselect-checkboxes label { cursor:default; display:block; border:1px solid transparent; padding:3px 1px }
.ui-multiselect-checkboxes label input { position:relative; top:1px }
.ui-multiselect-checkboxes li { clear:both; font-size:0.9em; padding-right:3px }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label { text-align:center; font-weight:bold; border-bottom:1px solid }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a { display:block; padding:3px; margin:1px 0; text-decoration:none }

/* remove label borders in IE6 because IE6 does not support transparency */
* html .ui-multiselect-checkboxes label { border:none }

/* hide the multiselect */
.ui-multiselect.ui-widget.ui-state-default.ui-corner-all {
  background: transparent;
  border: 0;
}
.ui-multiselect .ui-icon.ui-icon-triangle-2-n-s {
  background: none;
}

/* style menu */
.ui-multiselect-menu.ui-widget.ui-widget-content.ui-corner-all {
  color: #999;
  font-size: 15px;
}

.ui-multiselect-checkboxes li span {
  position: relative;
  top: 2px;
  padding-left: 5px;
}
div.tagsinput { background: #FFF; padding:5px; width:300px; height:100px; overflow-y: auto;}
div.tagsinput span.tag { border: 1px solid #a5d24a; -moz-border-radius:2px; -webkit-border-radius:2px; display: block; float: left; padding: 5px; text-decoration:none; background: #cde69c; color: #638421; margin-right: 5px; margin-bottom:5px;font-family: helvetica;  font-size:13px;}
div.tagsinput span.tag a { font-weight: bold; color: #82ad2b; text-decoration:none; font-size: 11px;  }
div.tagsinput input { width:80px; margin:0px; font-family: helvetica; font-size: 13px; border:1px solid transparent; padding:5px; background: transparent; color: #000; outline:0px;  margin-right:5px; margin-bottom:5px; }
div.tagsinput div { display:block; float: left; }
div.tagsinput .jspContainer div { display:block; float: none; }
div.tagsinput #bookmark_tag_list_addTag {float: left}
.tags_clear { clear: both; width: 100%; height: 0px; }
.not_valid {background: #FBD8DB !important; color: #90111A !important;}
.tag input.edit_tag_textfield {
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -o-box-shadow: none !important;
}
.container_landing_page {
  height: 100%;
  min-height: 648px;
  width: 1114px;
  min-width: 1065px !important;
}

.content_landing_page {
  background: white;
  padding-top: 140px;
  box-shadow: 1px 1px 6px rgba(88, 88, 88, 0.4);
  -webkit-box-shadow: 1px 1px 6px rgba(88, 88, 88, 0.4);
  -moz-box-shadow: 1px 1px 6px rgba(88, 88, 88, 0.4);
}

.login_panel {
  margin: 8px 0;
}

.sign_in {
  position: relative;
  top: -10px;
  width: 75px;
}

.menu_line_landing_page {
  width: 1116px;
  max-width: 100%;
  box-shadow: 1px 0px 6px rgba(88, 88, 88, 0.4);
  -webkit-box-shadow: 1px 0px 6px rgba(88, 88, 88, 0.4);
  -moz-box-shadow: 1px 0px 6px rgba(88, 88, 88, 0.4);
}

.services {
  margin-top: 20px;
}

.intro-external-service {
  color: #7F8184;
  font-size: 14px;
  margin: 20px 0;
}

.services img {
  zoom: 0.65;
  height: 50px;
  margin-right: 40px;
}

.signup-btn {
  float: left;
}

.form .field a.cancel-btn {
  padding-top: 0;
}
/*Have helvetica neue on window*/
@font-face { font-family: 'helvetica neue'; src: local('Arial'); }

* {
  font-family: 'Helvetica Neue';
  margin: 0;
  padding: 0;
}

a, a:visited {
  text-decoration: none;
  color: #00a9bf;
}

a:visited.button {
  color: rgba(0, 0, 0, 0.65);
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder  {
  font-style: italic;
  -webkit-transition: color 1s;
}

input:-moz-placeholder {
  font-style: italic;
  -moz-transition: color 1s;
  transition: color 1s;
}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder  { color: transparent; }

input:focus:-moz-placeholder, textarea:focus:-moz-placeholder  { color: transparent; }

input[type="text"], input[type="email"], select, input[type="password"], textarea, .tagsinput {
  height: 32px;
  color: grey;
  font-size: 14px;
  box-shadow: inset 0px 0px 6px #888;
  -webkit-box-shadow: inset 0px 0px 6px #888;
  -moz-box-shadow: inset 0px 0px 6px #888;
  border: 0;
  padding: 0 0 0 5px;
  -webkit-appearance: none;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-appearance: none;
  outline-style:none;
  outline-width:0px;
}

textarea {
  height: 85px;
}

.bold {
  font-weight: 500;
  display: inline;
}

.capitalize {
  text-transform: capitalize;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.clear_right {
  clear: right;
}

.clear_left {
  clear: left;
}

.hidden {
  display: none;
}

.invisible {
  visibility: hidden;
}

#flash {
  line-height: 22px;
  padding: 4px;
  font-size: 15px;
}

.center {
  margin: auto;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

body {
  background: #333;
}

.container {
  min-height: 580px;
  margin: auto;
  position: relative;
  top: 20px;
  left: 0;
  bottom: 20px;
  right: 0;
  height: auto;
  width: 1124px;
  max-width: 100%;
  min-width: 1000px;
  background-color: #F0EFEC;
  background-image: linear-gradient(top, rgb(240,239,236) 25%, rgb(224,223,218) 50%);
}

.push {
  height: 60px;
}

.header {
  width: 100%;
  height: 30px;
  padding-top: 15px;
}

.header .logo {
  position: relative;
  top: -35px;
  margin-left: 54px;
  z-index: 99;
}

.header .logo a {
  display: block;
  height: 0;
}

.header .logo img {
  width: 120px;
  height: 176px;
}

.header .login_panel {
  color: #413d3d;
  font-size: 13px;
  font-weight: 500;
}

.dotted_line {
  width: 4px;
  height: 40px;
  display: inline-block;
  background-image: url(/assets/dot.png);
  background-repeat: repeat-y;
}

.footer_nav {
  border-image: url(/assets/line.png) 5 0 0 0 stretch;
  -moz-border-image: url(/assets/line.png) 5 0 0 0 stretch;
  -webkit-border-image: url(/assets/line.png) 5 0 0 0 stretch;
  height: 36px;
  margin-right: 10px;
  padding: 0;
}

.footer_copyright {
  height: 56px;
  padding: 0;
  position: absolute;
  bottom: 0px;
  left: 10px;
  width: 255px;
}

.footer_copyright .line {
  width: 170px;
  height: 5px;
  border-image: url(/assets/line.png) 0 0 5 0 stretch;
  -webkit-border-image: url(/assets/line.png) 0 0 5 0 stretch;
  -o-border-image: url(/assets/line.png) 0 0 5 0 stretch;
  -moz-border-image: url(/assets/line.png) 0 0 5 0 stretch;
  display: block;
  margin-top: 7px;
}

.footer_copyright .copyright_text {
  margin: 15px 0 0 30px;
  font-size: 10px;
  color: #666666;
  display: inline-block;
}

.footer_nav li .dotted_line {
  margin-top: 0px;
  height: 35px;
  width: 4px;
}

.footer_nav li a {
  display: inline-block;
  height: 35px;
  line-height: 35px;
  padding: 0 10px;
}

.footer_nav_item {
  list-style: none;
  float: left;
  line-height: 36px;
  height: 36px;
}

.footer_nav_item a, .footer_nav_item a:visited, .footer_copyright a, .footer_copyright a:visited {
  color: #666666;
  font-size: 10px;
  text-decoration: none;
}

.footer {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
}

.h1 {
  font-size: 20px;
  color: #00A9BF;
  padding: 15px 0;
}

.paragraph {
  padding: 20px 40px 40px 40px;
  line-height: 18px;
}

.paragraph b {
  color: #555;
}

.paragraph p a, .paragraph ul a, .paragraph ol a {
  color: #008392;
  font-style: normal;
  text-decoration: none;
}

.paragraph p, .paragraph ul, .paragraph ol {
  padding: 0 0 0 20px;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  font-size: 15px;
  color: #6D6E70;
}

.paragraph ul {
  list-style: none;
}

.paragraph ol {
  margin-left: 18px;
}

.page_title {
  background-color: #f2f2f2;
  font-size: 25px;
  font-weight: 500;
  color: #008392;
  height: 60px;
  line-height: 60px;
  padding-left: 50px;
  position: relative;
}

.page_title .button {
  line-height: 30px;
  margin-right: 55px;
  position: absolute;
  right: 0px;
  top: 50%;
  margin-top: -19px;
}

.menu_line {
  height: 10px;
  width: 100%;
  z-index: 0;
  box-shadow: 0px -2px 4px rgba(88, 88, 88, 0.4);
  -webkit-box-shadow: 0px -2px 4px rgba(88, 88, 88, 0.4);
  -moz-box-shadow: 0px -2px 4px rgba(88, 88, 88, 0.4);
}

.menu_line {
  background-color: #007879;
}

.content .pagination em {
  background-color: #00a8c7;
  color: white;
  font-style: normal;
  padding: 2px 4px;
}

.content .pagination {
  padding-right: 25px;
  text-align: right;
  margin-bottom: 15px;
}

.content .pagination, .content .pagination a, .content .pagination a:visited {
  color: #5f6363;
  text-decoration: none;
  font-style: normal;
  font-size: 13px;
}

.dialog {
  background: white;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  width: 595px;
  padding: 10px 50px 10px 10px;
  position: absolute;
  top: 50%;
  left: 0;
  margin-left: auto;
  margin-right: auto;
  right: 0;
  color: #49a8c7;
  font-size: 17px;
  z-index: 1001;
  text-align: center;
  box-shadow: 0px 0px 24px 6px #888;
  -webkit-box-shadow: 0px 0px 24px 6px #888;
  -moz-box-shadow: 0px 0px 24px 6px #888;
}

#login_dialog {
  width: 445px;
  top :  320px;
  padding: 0 50px 0 0;
  overflow: hidden;
}

#login_dialog .login_email {
  width: 340px;
  text-align: left;
  margin: 35px 0 15px 35px;
}

#login_dialog .login-services {
  background-color: #F4F4F4;
  text-align: left;
  padding: 10px 0 20px 35px;
}

#login_dialog .login-services .alternative-text {
  padding-top: 10px;
  color: #038493;
  font-size: 20px;
}

#login_dialog .login-services .social-logo {
  margin-right: 10px;
}

#login_dialog .login-services .logos {
  padding-top: 10px;
}

#login_dialog input[type="text"] {
  width: 325px;
}

#login_dialog input[type="password"], #login_dialog input[realType="password"] {
  width: 240px;
}

#forgot_password_dialog {
  top: 350px;
}

#forgot_password_dialog input {
  padding: 0 15px 2px 15px;
}

.dialog .close, #confirmBox .close-button {
  background: url(/assets/close_dialog.png) center no-repeat;
  background-size: 23px 23px;
  width: 50px;
  position: absolute;
  right: -2px;
  top: 0;
  height: 100%;
  background-color: #49a8c7;
  cursor: pointer;
  -webkit-border-top-right-radius: 25px;
  -webkit-border-bottom-right-radius: 25px;
  -moz-border-radius-topright: 25px;
  -moz-border-radius-bottomright: 25px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.dialog .close:after {
  width: 8px;
  height: 80%;
  display: inline-block;
  background-image: url(/assets/dot.png);
  background-repeat: repeat-y;
  background-size: 8px 8px;
  content: "";
  position: absolute;
  top: 10%;
  left: -3px;
}

.dialog input {
  padding: 0 0 2px 15px;
  margin: 0 5px;
}

.dialog .error {
  color: red;
}

.overlaydialog {
  z-index: 1000;
  width: 100%;
  height: 100%;
  position: fixed;
  display: none;
  background: rgba(88, 88, 88, 0.3);
  background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 500, from(rgba(20, 20, 20, 0.2)), to(rgba(0, 0, 0, 0.4)));
}

.dialog.auto_hide, .overlaydialog {
  opacity: 1;
  transition: opacity 1s;
  -moz-transition: op acity 1s;
  -webkit-transition: opacity 1s;
  -o-transition: opacity 1s;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
}

.loading_ajax {
  text-align: center;
}

.center-align {
  text-align: center !important;
}

#loading {
  padding: 5px 0 0 105px;
}

.field .alt-scroll-holder {
  overflow: hidden;
}
#edit_page_title.dialog form .button {
  padding: 3px 10px;
}
.search_input {
  margin-left: 0;
  padding-left: 25px !important;
  width: 70%;
}

.bookmark_url_from_header {
  margin: auto;
  width: 85%;
  margin-left: 0;
  position: absolute;
  left: 0;
  right: 70px;
}

.bookmark_url_bar {
  width: 65%;
  position: relative;
}

.search_bar {
  width: 35%;
  position: relative;
}

.search_btn {
  background: url(/assets/search.png) no-repeat;
  background-size: 33px 32px;
  width: 33px;
  height: 32px;
  margin-left: 10px;
  border: none;
  cursor: pointer;
}

.search_bar_container {
  margin-top: 13px;
  height: 50px;
}

.search_input_container {
  width: 100%;
  height: 45px;
  border-image: url(/assets/line.png) 0 0 5 0 stretch;
  -moz-border-image: url(/assets/line.png) 0 0 5 0 stretch;
}

.search_input_box {
  width: 30px;
  height: 32px;
  margin: 0;
  position: absolute;
  z-index: 10;
}


.search_group_select {
  background: url(/assets/vertical_arrow.png) no-repeat;
  background-size: 12px 5px;
  width: 12px;
  height: 10px;
  float: right;
  position: relative;
  top: 13px;
  left: -12px;
  cursor: pointer;
}

.search_group_item {
  list-style: none;
  width: 232px;
  padding: 0px;
  position: relative;
  left: -6px;
  z-index: 99;
  top: 30px;
  position: relative;
  box-shadow: 1px 1px 5px rgba(88, 88, 88, 0.7);
}

#sub_menu_search:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #e1e1e1;
  position: absolute;
  top: -9px;
  left: 10px;
}

.search_group_item li.selected {
  background-color: #a4a4a4;
  color: white;
}

.search_group_item li {
  list-style: none;
  background-color: #f4f4f4;
  white-space: nowrap;
  padding: 5px 5px;
  color: #808080;
  font-size: 12px;
}

.search_group_item li.first {
  background-color: #e1e1e1;
  font-weight: 500;
}

#submit_next_header {
  margin-right: 20px;
}
.panel {
  margin: 50px 0 0 60px;
  width: 40%;
}

.panel .step, .panel .group-name {
  font-size: 18px;
  color: #6f6f6f;
  font-weight: 500;
  margin-bottom: 20px;
}

.panel .group-name {
  font-weight: 500;
  margin-bottom: 7px;
}

.panel .form {
  margin: 5px 0 0 30px;
  padding-top: 0;
}

.panel .form .field input[type="text"] {
  width: 96%;
}

.panel .form .field label {
  display: block;
  width: auto;
  padding: 0 0 7px 0;
  color: #9b9b9b;
}

.panel .form .field textarea {
  padding: 7px 10px;
  width: 92%;
  height: 120px;
}

.panel .group-type .radio-field {
  margin: 10px 0 0 20px;
}

.panel .group-type .radio-field label {
  padding: 0 0 3px 0;
}

.panel .group-type .radio-field input[type='radio'] {
  margin-left: 0px;
  float: left;
}

.panel .group-type .radio-field label {
  margin-left: 30px;
  padding-top: 0px;
  color: #008392;
}

.panel .group-type .radio-field .group-type-tip, .panel .domain-tip, .panel [for='add_used_domains']{
  margin-left: 30px;
  font-style: italic;
  font-size: 14px;
  color: rgb(172, 168, 168);
}

.panel [for='add_used_domains'] {
  margin-left: 5px;
}

.panel .form.create-group .button {
  margin-top: 15px;
}

.panel .domain-tip {
  margin: 5px 0 0 0;
}

.panel .section-description {
  color: #9b9b9b;
  font-size: 15px;
  padding-bottom: 10px;
}

.panel .domain-section {
  margin-top: 40px;
  padding-left: 40px;
}

.panel .domain-section #domain {
  width: 80%;
}

.panel .domain-section .tip {
  margin-left: 7px;
}

.panel .domain-section .step {
  margin-bottom: 10px;
}

.panel .notice-message {
  font-style: italic;
  color: #00a9bf;
  margin-bottom: 15px;
}

.panel .group-type {
  color: #9b9b9b;
}

.panel .group-type span {
  font-style: italic;
  font-size: 14px;
  color: rgb(172, 168, 168);
}

.panel .form .field {
  margin-bottom: 7px;
}

.sent-invitations {
  background: url(/assets/sign-in.png) no-repeat;
  background-size: 18px 15px;
  padding-left: 22px;
  margin: 5px 10px 10px 0;
  color: #9b9b9b;
  font-size: 15px;
}

#domain-list ul li input[type='checkbox'] {
  width: 30px;
}

#domain-list ul li {
  font-size: 15px;
  list-style: none;
}

#domain-list ul {
  margin-bottom: 12px;
}

#edit_group {
  margin-top: 15px;
}

.panel form .error {
  font-size: 12px;
  color: red;
  margin-top: 5px;
}
.rounded_table {
  margin-top: 25px !important;
  margin-bottom: 25px !important;
  border-collapse: collapse;
  min-width: 790px;
  width: 90%;
}

.rounded_table tbody {
  background-color: #f9f9f9;
}

.rounded_table thead th {
  height: 45px;
  background-color: #4d4d4d;
  border: 0;
  border-right: 1px dashed rgba(255, 255, 255, 0.3);
}

#preview-table table tbody tr td:first-child  {
  text-align: center;
  width: 50px;
}

#preview-table #button-group {
  min-width: 790px;
  width: 90%;
  margin: auto;
}

#preview-table #button-group #cancel-button {
  float: left;
}

#preview-table #button-group #save-button {
  float: right;
}

.rounded_table thead th:first-child {
  -webkit-border-top-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  border-top-left-radius: 20px;
  text-align: left;
  padding-left: 12px;
}

.rounded_table thead th:last-child {
  -webkit-border-top-right-radius: 20px;
  -moz-border-radius-topright: 20px;
  border-top-right-radius: 20px;
  border-right: 0;
}

.rounded_table thead th, .rounded_table thead th a {
  font-size: 18px;
  color: white;
  text-decoration: none;
  font-weight: 200;
}

.rounded_table tbody tr td > span {
  padding: 5px 10px;
  display: inline-block;
  line-height: 20px;
  max-width: 400px;
}

.rounded_table tbody tr td.action {
  text-align: center;
}

.rounded_table tbody tr td {
  font-weight: normal;
  font-size: 14px;
  color: #999;
  text-decoration: none;
  padding: 0;
}

.rounded_table tbody tr a {
  font-size: 14px;
  color: #00a9bf;
  text-decoration: none;
}

.rounded_table tbody tr {
  height: 38px;
  border-top: 1px dotted rgba(66, 66, 66, 0.1);
}

.content .table_paginate .pagination {
  margin-top: 25px;
  text-align: center;
}

.even {
  background-color: #ededed;
}

.odd {
  background-color: #f9f9f9;
}

[name="selected_domains[]"], .customized_checkbox {
  opacity: 0;
  cursor: pointer;
  position: relative;
  left: 16px;
  bottom: 2px;
  z-index: 1;
}

[name="selected_domains[]"] + label, .customized_checkbox + label {
  background:url(/assets/selection.png) no-repeat;
  display: block;
  height: 12px;
  width: 12px;
  display:inline-block;
  padding: 0 0 0 0px;
  background-size: 100%;
}

[name="selected_domains[]"]:checked + label, .customized_checkbox:checked + label {
    background:url(/assets/selected.png) no-repeat;
    background-size: 100%;
}

#group_table tbody tr td:last-child {
  position: relative;
  display: block;
  padding: 3px 0;
}

#group_table tbody td.action span:hover {
  color: #64bdde;
}

#group_table tbody td.action span {
  cursor: pointer;
}

#group_table tbody td.action span .action-dialog {
  position: absolute;
  top: 4px;
  right: 90px;
  width: 400px;
  height: 30px;
  background-color: #ebebeb;
  box-shadow: 0 0 7px 0px rgba(0,0,0,0.3);
  z-index: 10;
  font-size: 14px;
  width: 0px;
  overflow: hidden;
  line-height: 30px;
  cursor: auto;
  color: #999;
}

#group_table tbody td.action span .action-dialog:hover {
  color: #999;
}

div.action-dialog::after {
  content: "";
  width: 0px;
  height: 0px;
  right: -10px;
  top: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #ebebeb;
  position: absolute;
}

#group_table th.rounded_head_right {
  width: 110px;
}

#group_table tbody td.action span .action-dialog a {
  margin-left: 15px;
}

#domain_table th {
  cursor: pointer;
}
.tags_display {
  position: absolute;
  top: 210px;
  background: url(/assets/tag.png) no-repeat;
  background-size: 30px 34px;
  width: 30px;
  height: 34px;
  cursor: pointer;
  transition: width 1s;
  -moz-transition: width 1s;
  -webkit-transition: width 1s;
  -o-transition: width 1s;
  z-index: 20;
  left: 0;
}

.tags_display:hover {
  background: url(/assets/tag_hover.png) no-repeat;
  background-size: 117px 34px;
  width: 117px;
}

.tag_cloud {
  width: 65%;
  float: left;
  padding-left: 35px;
  overflow: hidden;
}

.display_tag_options {
  position: absolute;
  display: inline-block;
  top: 265px;
  left: -13px;
  background-image: url(/assets/vertical_arrow.png);
  background-position: 40px 10px;
  background-repeat: no-repeat;
  background-color: white;
  background-size: 12px 5px;
  width: 45px;
  padding: 0 6px;
  height: 25px;
  cursor: pointer;
  transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
}

.display_tag_options:hover {
  box-shadow: inset 0px 0px 6px #888;
  -webkit-box-shadow: inset 0px 0px 6px #888;
  -moz-box-shadow: inset 0px 0px 6px #888;
}

.display_tag_options .display_tag_options_text {
  font-size: 13px;
  color: #8b8b8b;
}

.tag_cloud .tag_label {
  margin: 40px 0 10px 0;
}

.tag_cloud .top_tags .tag_label{
  margin-top: 25px;
}

.tag_cloud .top_tags a, .tag_cloud .all_tags a {
  text-decoration: none;
}

.tag_cloud .tag_label a, .tag_cloud .tag_label a:visited {
  color: #8b8b8b;
  font-size: 17px;
  font-weight: 500;
}

.tag_cloud .tag_list a, .tag_cloud .tag_list a:visited, .tag_cloud .tag_list li {
  color: #8b8b8b;
  font-size: 15px;
}

.tag_cloud .tag_list ul {
  list-style: none;
}

.tag_cloud .more_button a, .tag_cloud .more_button a:visited {
  display: inline-block;
  color: #00a8c7;
  font-size: 13px;
  font-style: italic;
}

.right_border {
  background: url(/assets/chi.png) repeat-y;
  background-size: 48px 280px;
  width: 48px;
  display: inline-block;
  position: absolute;
  top: 55px;
}
form .field .tagsinput span.tag {
  -webkit-border-radius: 3px;
  -moz-border-radius   : 3px;
  border-radius        : 3px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  background-color: #e4e4e4;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', 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%, #eeeeee));
  background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  -moz-box-shadow   : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  box-shadow        : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  color: #333;
  border: 1px solid #aaaaaa;
  line-height: 17px;
  position: relative;
  cursor: default;
  padding-right: 10px;
}

form .field .tagsinput span.tag a {
  display: block;
  position: absolute;
  right: 3px;
  top: 6px;
  width: 12px;
  height: 12px;
  font-size: 1px;
  background: url(/assets/chosen-sprite-e0049f44cb27095ca55d76de41fd5a12c6c4e088cdb8eca5d29c0193826c8b64.png) -42px 1px no-repeat;
}
.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; }
  .tipsy-inner { background-color: #feffc8; color: black; padding: 5px 8px 4px 8px; text-align: center; font-weight: bold; font-size: 13px;}

  /* Rounded corners */
  .tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }

  /* Uncomment for shadow */
  /*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/

  .tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #feffc8; }

  /* Rules to colour arrows */
  .tipsy-arrow-n { border-bottom-color: #feffc8; }
  .tipsy-arrow-s { border-top-color: #000; }
  .tipsy-arrow-e { border-left-color: #000; }
  .tipsy-arrow-w { border-right-color: #000; }

	.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
    .tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
    .tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none;  border-left-color: transparent; border-right-color: transparent;}
  .tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
    .tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
    .tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
  .tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
  .tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }
.nav_menu {
  margin-left: 268px;
}

.top_navigator {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top_navigator > li {
  background-color: red;
  display: inline-block;
  border-radius: 8px 8px 0 0;
  margin-right: 10px;
  padding: 6px 10px;
  height: 18px;
}

.top_navigator li {
  list-style: none;
  float: left;
  text-align: center;
}

.top_navigator .list_item .list_link {
  color: white;
  display: inline-block;
  padding: 1px 0 5px 0;
  text-decoration: none;
  font-size: 15px;
}

.top_navigator .sub_menu, .login_panel .menu_wrapper {
  display: none;
  position: absolute;
  padding: 0px;
  z-index: 90;
  width: 110px;
  top: 3px;
}

.top_navigator #sub_menu_bookmark {
  left: -94px;
  width: 125px;
}

.login_panel .option_panel {
  width: 150px;
  height: 75px;
  background-color: #F4F4F4;
}

.login_panel .option_panel li {
  padding-top: 5px;
}

.login_panel .menu_wrapper {
  left: -143px;
  width: 170px;
  padding: 10px;
  background-color: transparent;
  cursor: auto;
}

.top_navigator #sub_menu_group {
  left: -65px;
  width: 100px;
}

.top_navigator #sub_menu_sync {
  left: -49px;
  width: 90px;
}

.top_navigator #sub_menu_admin {
  left: -99px;
  width: 135px;
}

.top_navigator #sub_menu_bookmark .sub_menu_link {
  width: 115px;
}

.top_navigator #sub_menu_group .sub_menu_link {
  width: 90px;
}

.top_navigator #sub_menu_sync .sub_menu_link {
  width: 80px;
}

.top_navigator #sub_menu_admin .sub_menu_link {
  width: 125px;
}

.top_navigator .sub_menu .sub_menu_item.first, .login_panel .sub_menu .sub_menu_item.first {
  background-color: transparent;
}

.top_navigator .sub_menu .sub_menu_item, .login_panel .sub_menu .sub_menu_item {
  width: 100%;
  min-height: 9px;
  /*padding: 0 0 0 10px;*/
}

.top_navigator .list_item, .login_panel .list_item {
  z-index: 1;
  box-shadow: 0px -2px 4px rgba(88, 88, 88, 0.4);
  -webkit-box-shadow: 0px -2px 4px rgba(88, 88, 88, 0.4);
  -moz-box-shadow: 0px -2px 4px rgba(88, 88, 88, 0.4);
}

.top_navigator .top_nav_arrow .sub_menu {
  padding-top: 5px;
}

.login_panel .top_nav_arrow:hover .menu_wrapper {
  display: block;
}

.top_navigator .top_nav_arrow, .login_panel .top_nav_arrow {
  background: url(/assets/vertical_arrow.png) no-repeat;
  background-size: 12px 5px;
  width: 10px;
  height: 10px;
  float: right;
  position: relative;
  top: 7px;
  left: 5px;
  cursor: pointer;
}

.login_panel .top_nav_arrow {
  width: 20px;
  top: 5px;
  margin-right: 10px;
}

.login_panel .sub_menu_item {
  background-color: #f6f6f6;
}

.top_navigator .sub_menu_link, .login_panel .sub_menu_link {
  text-align: left;
  line-height: 25px;
  height: 25px;
  color: white;
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
  padding-left: 10px;
  transition: background-color 0.5s;
  -moz-transition: background-color 0.5s;
  -webkit-transition: background-color 0.5s;
  -o-transition: background-color 0.5s;
}

.top_navigator .sub_menu_link:hover, .login_panel .sub_menu_link:hover {
  background-color: rgba(235, 235, 235, 0.5);
}

.top_navigator .list_item, .top_navigator .sub_menu_item {
  background-color: #00a9d5;
}

.top_navigator .selected, .top_navigator .selected .sub_menu_item {
  background-color: #007879;
}
.form.user_profile .left_container .info input {
  width: 196px;
}

.form.user_profile .right_container .info input {
  width: 35px;
}

.form.user_profile .left_container .info input {
  width: 196px;
}

.form.user_profile .right_container .info input {
  width: 35px;
}
.login_panel .login_btn {
  color: #666666;
  font-size: 13px;
  width: 70px;
  height: 15px;
  background: url(/assets/sign-in.png) no-repeat;
  background-position: center 5px;
  text-align: center;
  padding: 25px 0 0 0;
  text-decoration: none;
  outline: none;
}

.welcome_logo {
  position: relative;
  top: -66px;
  left: 70px;
  width: 274px;
  height: 594px;
  float: left;
}
.welcome {
  width: 715px;
  padding:0;
  margin: 0;
}

.title {
  color: #4fb6d9;
  font-size: 72px;
  font-weight: 500;
  padding: 80px 0 0 0;
  margin: 0;
  text-shadow: 1px 1px 3px #777;
}

.intro_para {
  color: #666666;
  font-size: 26px;
  padding: 10px 80px 0 0;
  font-weight: 200;
}

.intro_para ul li {
  font-size: 22px;
  margin-left: 23px;
  line-height: 28px;
  width: 540px;
  margin-top: 10px;
}

.login_email {
  width: 340px;
  text-align: left;
  margin: 10px auto;
}

.forgot_password {
  text-align: center;
}

.forgot_password input[type="text"] {
  width: 250px;
}

.login_email input[type=text] {
  margin-bottom: 10px;
}

.login_email input::-webkit-input-placeholder {
  color: #00a8c7;
}

.login_email input:-moz-placeholder {
  color: #00a8c7;
}

.login_email input:focus:-moz-placeholder { color: transparent; }
.login_email input:focus::-webkit-input-placeholder  { color: transparent; }

.dialog .login_email .button {
  width: 70px;
  height: 33px;
  padding: 0;
}

.dialog .login_email .error {
  color: red;
  font-style: italic;
  font-size: 11px;
  clear: both;
}

.dialog .line {
  background: url(/assets/line.png) no-repeat;
  width: 115px;
  height: 1px;
  background-size: 115px 1px;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  position: relative;
  right: -360px;
  top: 60px;
}

.register, .register a {
  display: block;
  font-size: 12px;
  color: rgba(73, 168, 199, 0.8);
  font-weight: 500;
  text-decoration: underline;
  font-style: italic;
  margin-bottom: 7px;
  color: #6f8c8c;
}

.register {
  padding-right: 30px;
  margin-top: 20px;
}

.remember_me {
  margin-top: 5px;
  font-size: 13px;
}

.login_email .login_title {
  color: #038493;
  float: left;
  font-size: 20px;
}

.login_email .forgot_password {
  float: right;
  font-size: 13px;
  font-style: italic;
  color: grey;
  text-decoration: underline;
}

.login_email .login_form {
  width: 340px;
  overflow: hidden;
  margin-top: 10px;
}

.login_email input {
  margin: 0;
}

.login_email .login_form_content {
  margin: 10px auto;
}

/*
 * Herdmark theme. Loaded after the legacy stylesheets (see application.css)
 * and overrides their look while keeping the ids and classes the
 * JavaScript and feature tests rely on.
 */

:root {
  /* Colours come from the logo; see doc/brand/README.md. */
  --hm-logo-cyan: #08c6e9;
  --hm-logo-teal: #00a6b1;
  --hm-primary: #007d8f;
  --hm-primary-strong: #00616e;
  --hm-primary-soft: #e3f6f7;
  --hm-bg: #f4f7f8;
  --hm-surface: #ffffff;
  --hm-surface-2: #eef3f5;
  --hm-border: #dde5e9;
  --hm-border-strong: #c3cfd6;
  --hm-text: #10232e;
  --hm-text-muted: #4f6270;
  --hm-text-faint: #7d8d98;
  --hm-danger: #c4352b;
  --hm-success: #1f8a4c;
  --hm-radius: 10px;
  --hm-radius-sm: 6px;
  --hm-shadow: 0 1px 2px rgba(16, 35, 46, 0.06), 0 1px 3px rgba(16, 35, 46, 0.08);
  --hm-shadow-lg: 0 12px 32px rgba(16, 35, 46, 0.16), 0 2px 6px rgba(16, 35, 46, 0.08);
  --hm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hm-content-width: 1180px;
  color-scheme: light;
}

/* ---------- Base ---------- */

html, body {
  background: var(--hm-bg) !important;
}

body {
  margin: 0;
  font-family: var(--hm-font) !important;
  font-size: 15px;
  line-height: 1.5;
  color: var(--hm-text);
  -webkit-font-smoothing: antialiased;
}

body, input, textarea, select, button, td, th {
  font-family: var(--hm-font);
}

a {
  color: var(--hm-primary);
  text-decoration: none;
}

a:hover {
  color: var(--hm-primary-strong);
  text-decoration: underline;
}

h1, h2, h3, h4, .h1, .page_title {
  color: var(--hm-text);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.page_title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 22px !important;
  line-height: 1.3 !important;
  color: var(--hm-text) !important;
  margin: 4px 0 18px !important;
  padding: 0 !important;
  height: auto !important;
  text-align: left;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page_title .button {
  float: none !important;
  position: static !important;
  top: auto !important;
  margin: 0 !important;
}

/* rows-per-page "View" picker that sits under the toolbar */
.input_container > .view_panel {
  height: auto !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
}

.input_container > .view_panel .option_mod {
  position: relative !important;
  top: auto !important;
  right: auto !important;
}

.visually_hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--hm-logo-teal);
  outline-offset: 2px;
}

/* ---------- App shell ---------- */

.container,
.container_landing_page {
  min-width: 0 !important;
}

.container {
  top: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
  background: none !important;
}

.header {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px !important;
  padding: 0 24px !important;
  box-sizing: border-box;
  background: var(--hm-surface);
  border-bottom: 1px solid var(--hm-border);
}

.header > .left, .header > .right {
  float: none !important;
}

.header .logo {
  position: static !important;
  top: auto !important;
  margin: 0 !important;
  flex: 0 0 auto;
}

.header .logo a,
.logo_image {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;
  height: auto !important;
  color: var(--hm-text) !important;
  text-decoration: none !important;
}

.header .logo img {
  display: block;
  width: 25px !important;
  height: 34px !important;
}

/* keep the logo box as tall as the icon so it centres with the nav */
.header .logo,
.header .logo a {
  display: flex !important;
  align-items: center;
  height: 34px !important;
  line-height: 1 !important;
}

.wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header .login_panel {
  margin-left: auto;
  display: flex !important;
  align-items: center;
  gap: 6px;
  position: relative;
}

.header .login_panel .top_nav_arrow {
  position: relative !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  border-radius: var(--hm-radius-sm);
  cursor: pointer;
}

.header .login_panel .top_nav_arrow::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 2px solid var(--hm-text-muted);
  border-bottom: 2px solid var(--hm-text-muted);
  transform: rotate(45deg);
}

.header .login_panel .top_nav_arrow:hover {
  background: var(--hm-surface-2) !important;
}

/* User menu: open while the pointer is anywhere over the name/chevron,
   with an invisible bridge so it can travel down into the menu. */
.header .login_panel {
  padding: 8px 0;
}

.header .login_panel .top_nav_arrow {
  margin: 0 !important;
  top: auto !important;
}

.header .login_panel .menu_wrapper {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
}

.header .login_panel:hover .menu_wrapper,
.header .login_panel:focus-within .menu_wrapper {
  display: block !important;
}

.header .login_panel .menu_wrapper::before,
.top_navigator .sub_menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.header .login_panel .username {
  float: none !important;
  max-width: 180px;
  color: var(--hm-text-muted);
  font-weight: 500;
}

.menu_line, .menu_line_landing_page {
  display: none !important;
}

.content {
  flex: 0 0 auto;
  width: 100% !important;
  max-width: var(--hm-content-width) !important;
  min-height: 0 !important;
  margin: 24px auto 0 !important;
  padding: 0 24px !important;
  box-sizing: border-box;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.content::after {
  content: "";
  display: table;
  clear: both;
}

.push {
  display: none;
}

/* ---------- Top navigation ---------- */

/* when the bar runs out of room the nav wraps onto another row; it must
   not scroll, because a scrolling box clips the dropdown submenus */
.header {
  height: auto !important;
  min-height: 60px;
  flex-wrap: wrap;
}

.header > .left:not(.logo) {
  flex: 1 1 auto;
  min-width: 0;
}

.top_navigator {
  flex-wrap: wrap;
}

.header .login_panel {
  flex: 0 0 auto;
}

#nav, .nav_menu {
  float: none !important;
  margin: 0 !important;
  height: auto !important;
}

.top_navigator {
  display: flex !important;
  align-items: center;
  gap: 2px;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
}

.top_navigator .list_item {
  position: relative;
  float: none !important;
  display: flex !important;
  align-items: center;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: var(--hm-radius-sm) !important;
  box-shadow: none !important;
}

.top_navigator .list_item .list_link {
  float: none !important;
  display: inline-block;
  padding: 8px 12px !important;
  color: var(--hm-text-muted) !important;
  font-size: 14px !important;
  font-weight: 500;
  border-radius: var(--hm-radius-sm);
  text-decoration: none !important;
}

.top_navigator .list_item:hover .list_link,
.top_navigator .list_item .list_link:hover {
  color: var(--hm-text) !important;
  background: var(--hm-surface-2);
}

.top_navigator .list_item.selected .list_link {
  color: var(--hm-primary) !important;
  background: var(--hm-primary-soft);
}

.top_nav_arrow {
  background: none !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
}

.top_navigator .sub_menu,
.login_panel .menu_wrapper {
  top: calc(100% + 4px) !important;
  left: 0;
  min-width: 200px;
  margin: 0 !important;
  padding: 6px !important;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border) !important;
  border-radius: var(--hm-radius) !important;
  box-shadow: var(--hm-shadow-lg) !important;
}

.login_panel .menu_wrapper {
  left: auto;
  right: 0;
}

.top_navigator .sub_menu li,
.top_navigator .sub_menu .sub_menu_item,
.login_panel .sub_option li {
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  list-style: none;
}

.top_navigator .sub_menu .first.invisible {
  display: none !important;
}

.top_navigator .sub_menu a,
.top_navigator .sub_menu .sub_menu_link,
.login_panel .sub_option a {
  display: block !important;
  padding: 8px 10px !important;
  color: var(--hm-text) !important;
  font-size: 14px !important;
  border-radius: var(--hm-radius-sm);
  text-decoration: none !important;
  white-space: nowrap;
}

.top_navigator .sub_menu a:hover,
.login_panel .sub_option a:hover {
  background: var(--hm-surface-2) !important;
}

.login_panel .sub_option {
  margin: 0;
  padding: 0;
}

.login_panel .sub_option .title {
  padding: 6px 10px 8px !important;
  color: var(--hm-text-faint);
  font-size: 12px;
  border-bottom: 1px solid var(--hm-border) !important;
  margin-bottom: 4px !important;
}

/* ---------- Page header row (search + add) ---------- */

.input_container, .view_panel {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ---------- Two-column layout ---------- */

.left_content {
  float: left !important;
  width: 260px !important;
  margin-right: 24px;
  box-sizing: border-box;
}

.right_content {
  float: none !important;
  display: flow-root; /* sits beside the floated sidebar without clipping menus */
  overflow: visible !important;
  width: auto !important;
  margin: 0 !important;
}

.right_content.full {
  width: auto !important;
}

#tag_cloud,
.group_list .group_item,
.group_list > .group,
.form,
.page_section {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

.content .form {
  box-sizing: border-box;
  padding: 24px !important;
  margin-bottom: 16px;
}

#tag_cloud {
  position: relative;
  overflow: visible !important;
  padding: 16px;
  margin-bottom: 16px;
}

.group_list {
  float: none !important;
  width: auto !important;
}

.group_list .group_item {
  margin-bottom: 10px;
  overflow: visible;
}

/* keep rounded corners without clipping the View menu */
.group_list .group_item > :last-child {
  border-bottom-left-radius: var(--hm-radius);
  border-bottom-right-radius: var(--hm-radius);
}

.group_list .group_display_option {
  z-index: 60;
}

.group_list .group_label,
.group_list .group_name {
  color: var(--hm-text) !important;
  font-size: 15px !important;
  font-weight: 600;
}

/* ---------- Sidebar (tag cloud) ---------- */

.left_content {
  position: relative;
  padding-top: 40px;
  overflow: visible !important;
}

/* Collapse / expand tags. Tags.toggleTags hides #tag_cloud. */
.left_content .tags_display.sprite_tab {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: 30px !important;
  padding: 0 12px;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border-strong);
  border-radius: var(--hm-radius-sm);
  color: var(--hm-text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.left_content .tags_display.sprite_tab::after {
  content: "Tags";
}

.left_content:has(#tag_cloud[style*="none"]) {
  width: auto !important;
  float: none !important;
  margin: 0 0 12px;
  padding-top: 30px;
}

.right_border {
  display: none !important;
}

#tag_cloud .display_tag_options {
  transform: none !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
}

#tag_cloud .display_tag_options_text {
  display: inline !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  color: var(--hm-text-muted) !important;
  font-size: 12px !important;
  font-weight: 600;
}

#tag_cloud .top_tags, #tag_cloud .all_tags {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

#tag_cloud .all_tags {
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--hm-border);
}

#tag_cloud .tag_label {
  background: none !important;
  padding: 0 !important;
  height: auto !important;
  margin: 0 0 8px !important;
}

#tag_cloud .tag_label a {
  color: var(--hm-text-faint) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
}

#tag_cloud .tag_list, #tag_cloud .heatmap {
  width: auto !important;
  padding: 0 !important;
}

#tag_cloud #tag_display_option {
  top: 44px !important;
  right: 8px !important;
  left: 8px !important;
  width: auto !important;
  height: auto !important;
  padding: 10px !important;
}

#tag_cloud .option_panel {
  z-index: 50;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border) !important;
  border-radius: var(--hm-radius) !important;
  box-shadow: var(--hm-shadow-lg) !important;
}

/* ---------- Search and add-bookmark bar ---------- */

.search_bar_container, .search_input_container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100% !important;
  border: 0 !important;
  border-image: none !important;
  height: auto !important;
  margin: 0 0 12px !important;
}

.search_bar, .bookmark_url_bar {
  position: relative;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.search_bar {
  flex: 1 1 280px;
  min-width: 0;
}

.search_bar form, .bookmark_url_bar form {
  min-width: 0;
  width: 100%;
}

.search_bar_container, .search_input_container {
  box-sizing: border-box;
  max-width: 100%;
}

.bookmark_url_bar {
  flex: 2 1 360px;
  min-width: 0;
}

.search_bar form, .bookmark_url_bar form {
  display: flex;
  gap: 8px;
}

/* "Search by group" picker (opens #sub_menu_search) */
.search_bar .search_input_box {
  position: relative !important;
  flex: 0 0 38px;
  width: 38px !important;
  height: 36px !important;
  order: -1;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border-strong);
  border-radius: var(--hm-radius-sm);
  box-sizing: border-box;
}

.search_bar .search_group_select {
  position: absolute !important;
  inset: 0;
  top: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  float: none !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6270' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16l-6 7v6l-4 2v-8z'/%3E%3C/svg%3E") center / 16px no-repeat !important;
}

.search_bar #sub_menu_search {
  top: 40px !important;
  left: 0 !important;
}

#keyword.search_input,
.bookmark_url_from_header {
  position: static !important;
  float: none !important;
  flex: 1;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

.search_bar input.search_btn,
.search_bar input.search_btn:hover {
  flex: 0 0 38px;
  width: 38px !important;
  min-height: 36px;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  color: transparent !important;
  font-size: 0 !important;
  background: var(--hm-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6270' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / 18px no-repeat !important;
  border: 1px solid var(--hm-border-strong) !important;
}

.bookmark_url_bar .add_btn {
  float: none !important;
  margin: 0 !important;
}

#group_select_form.view_panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
}

/* chosen.js single selects */
.chzn-container-single .chzn-single {
  height: 38px !important;
  line-height: 36px !important;
  font-size: 14px !important;
  padding-left: 11px !important;
  color: var(--hm-text) !important;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border-strong) !important;
  border-radius: var(--hm-radius-sm) !important;
  box-shadow: none !important;
}

.chzn-container-single .chzn-single div {
  top: 6px !important;
}

.chzn-container .chzn-drop {
  border-color: var(--hm-border-strong) !important;
  border-radius: 0 0 var(--hm-radius-sm) var(--hm-radius-sm) !important;
  box-shadow: var(--hm-shadow-lg) !important;
}

.chzn-container .chzn-results .highlighted {
  background: var(--hm-primary) !important;
  background-image: none !important;
}

/* ---------- Display-option panels (group View, Group View, tags) ---------- */

.option_panel.display_option,
.option_panel.group_display_option {
  width: 340px !important;
  max-width: calc(100vw - 32px);
  right: 8px !important;
  left: auto !important;
  box-sizing: border-box;
}

.group_list .option_panel.group_display_option {
  top: 46px !important;
}

.option_panel.display_option,
.option_panel.group_display_option,
#tag_display_option {
  height: auto !important;
  padding: 12px !important;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border) !important;
  border-radius: var(--hm-radius) !important;
  box-shadow: var(--hm-shadow-lg) !important;
}

.option_panel ul.options {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#tag_display_option ul.options {
  flex-wrap: wrap;
  gap: 12px 16px;
}

.option_panel ul.options,
.option_panel ul.options > li,
.option_panel .sub_option li {
  height: auto !important;
}

.option_panel ul.options > li {
  float: none !important;
  width: auto !important;
  flex: 1 1 0;
  min-width: 0;
  list-style: none;
}

.option_panel .sub_option {
  margin: 0;
  padding: 0;
}

.option_panel .sub_option li {
  float: none !important;
  list-style: none;
  padding: 3px 0;
  background: none !important;
  font-size: 13px;
}

.option_panel .sub_option li.title {
  margin-bottom: 4px;
  color: var(--hm-text-faint) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none !important;
}

.option_panel .sub_option a {
  color: var(--hm-text) !important;
}

.option_panel .sub_option a.active,
.option_panel .sub_option li.selected {
  color: var(--hm-primary) !important;
  font-weight: 600;
}

/* ---------- Form layout ---------- */

.content .form {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* no fixed widths inside cards */
.content .form form,
.bookmark_item .bookmark_info {
  width: auto !important;
  max-width: 100%;
  box-sizing: border-box;
}

table.rounded_table td {
  overflow-wrap: break-word;
}

.content .form table.rounded_table {
  width: 100% !important;
}

.field #merge_domain_button {
  float: none !important;
  margin: 0 !important;
}

#config_data_table td {
  overflow-wrap: anywhere;
}

#config_data_table td:first-child {
  min-width: 170px;
}

.content .form > .message,
.content .form .form_title {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--hm-text-muted) !important;
  font-size: 15px !important;
}

/* label column + control, on one line */
.content .form .field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 16px !important;
}

.content .form .field > label:first-child {
  flex: 0 0 140px;
  width: 140px !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  color: var(--hm-text-muted) !important;
  font-size: 14px;
  font-weight: 500;
}

.content .form .field > label.label_textarea,
.content .form .field > label.label_taglist {
  align-self: flex-start;
  padding-top: 8px !important;
}

/* in forms with a label column, submit-only rows line up with the controls
   (phones stack labels above controls, so no offset there) */
@media (min-width: 761px) {
  .content .form:not(.new-bookmark):has(.field > label:first-child + input, .field > label:first-child + select, .field > label:first-child + div) .field > input[type="submit"]:first-child,
  .content .form:not(.new-bookmark):has(.field > label:first-child + input, .field > label:first-child + select, .field > label:first-child + div) .field > button:first-child {
    margin-left: 156px !important;
  }
}

/* radio groups: label above, one option per row with its tip */
.content .form .field.group-type {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.content .form .field.group-type > label:first-child {
  flex: none;
  width: auto !important;
}

.content .form .radio-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 8px;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

.content .form .radio-field input[type="radio"] {
  margin: 0;
}

.content .form .radio-field label {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--hm-text) !important;
  font-weight: 600;
}

.content .form .radio-field .group-type-tip {
  grid-column: 2;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--hm-text-muted) !important;
  font-size: 13px;
  font-style: normal !important;
}

/* ---------- File picker ---------- */

.content .form .file_select {
  position: relative;
  display: flex !important;
  align-items: center;
  width: 360px !important;
  max-width: 100%;
  height: 38px !important;
  padding: 0 14px;
  box-sizing: border-box;
  color: var(--hm-text-muted) !important;
  font-size: 14px;
  background: var(--hm-surface-2) !important;
  border: 1px dashed var(--hm-border-strong);
  border-radius: var(--hm-radius-sm);
  box-shadow: none !important;
  cursor: pointer;
}

.content .form .file_select:hover {
  border-color: var(--hm-primary);
  color: var(--hm-text) !important;
}

.content .form .file_select .select_text {
  position: static !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.4 !important;
  padding: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content .form .file_select input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ---------- Bookmarklet page ---------- */

.drag-button-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  height: auto !important;
  margin: 0 0 16px;
  padding: 24px !important;
  line-height: 1.4 !important;
  color: var(--hm-text-muted) !important;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

.drag-button-container a.add_bookmarklet_button {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  height: 40px !important;
  padding: 0 18px !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-indent: 0 !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--hm-logo-cyan), var(--hm-primary)) !important;
  margin: 0 !important;
  border-radius: 999px;
  box-shadow: var(--hm-shadow);
  cursor: grab;
}

ul.bookmarklet-instruction {
  margin: 0 !important;
  padding: 24px !important;
  list-style-position: inside;
  color: var(--hm-text) !important;
  font-weight: 600;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

ul.bookmarklet-instruction li {
  margin: 10px 0 0;
  color: var(--hm-text-muted) !important;
  font-weight: 400;
}

ul.bookmarklet-instruction #bookmarklet-done-btn {
  float: none !important;
  margin-top: 18px !important;
  margin-left: 0 !important;
}

/* ---------- Group create / edit: two step columns ---------- */

.content > .panel {
  box-sizing: border-box;
  width: calc(50% - 12px) !important;
  margin: 8px 0 0 !important;
}

.content > .panel#group_panel {
  margin-right: 24px !important;
}

.content > .panel.right {
  float: none !important;
  clear: both;
  width: 100% !important;
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

#domain-done-btn {
  float: none !important;
  margin: 0 0 24px !important;
}

/* group name: label above a full-width field */
.content .form.create-group .field:not(.group-type),
.content .form.edit-group .field:not(.group-type) {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.content .form.create-group .field > label:first-child,
.content .form.edit-group .field > label:first-child {
  flex: none;
  width: auto !important;
}

.content .form.create-group input[type="text"],
.content .form.edit-group input[type="text"] {
  width: 100% !important;
  margin: 0 !important;
}

.panel .send-email .field {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

.panel .step {
  margin: 0 0 10px !important;
  color: var(--hm-text) !important;
  font-size: 16px !important;
  font-weight: 650 !important;
}

.panel .form {
  margin: 0 0 16px !important;
}

.panel .section-description {
  color: var(--hm-text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.panel textarea#emails {
  width: 100% !important;
  height: 140px !important;
  resize: vertical;
}

.panel .send-email .sent-invitations {
  float: none !important;
  margin: 8px 0 !important;
  color: var(--hm-text-muted);
  font-size: 13px;
}

.panel .send-email input[type="submit"],
.panel .send-email textarea {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.panel .domain-section {
  margin-top: 8px;
  padding: 24px;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

.panel .domain-section #domain-list li {
  margin-left: 0 !important;
}

.panel .domain-section #domain-list ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

#new_domain form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#new_domain #domain {
  flex: 1 1 200px;
  width: auto !important;
  margin: 0 !important;
}

#new_domain #add-domain {
  float: none !important;
  margin: 0 !important;
}

#new_domain .domain-tip {
  flex-basis: 100%;
  color: var(--hm-text-faint);
  font-size: 13px;
  font-style: normal !important;
}

#new_domain label[for="add_used_domains"] {
  color: var(--hm-text-muted);
  font-size: 13px;
  font-style: normal !important;
}

.content > .panel .form + a.button,
.content > .panel > a.button {
  float: none !important;
  margin: 0 8px 0 0 !important;
}

#group_panel .form input[type="submit"],
#group_panel .form .button {
  float: none !important;
  margin: 8px 0 0 !important;
}

/* ---------- Search results (a single, unwrapped group) ---------- */

.right_content > .group_list:has(> .group_label) {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

.bookmark_item .highlight, .bookmark_item em, .bookmark_item mark {
  background: #fff3b0 !important;
  color: inherit !important;
  border-radius: 3px;
}

/* ---------- New / edit bookmark ---------- */

.content .form.new-bookmark .field {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.content .form.new-bookmark .field > label:first-child {
  flex: none;
  width: auto !important;
}

.content .form.new-bookmark input[type="text"],
.content .form.new-bookmark textarea {
  width: 100% !important;
  margin: 0 !important;
}

.content .form.new-bookmark .group_bookmark_info,
.content .form.new-bookmark .notifier_info {
  float: none !important;
  box-sizing: border-box;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.content .form.new-bookmark .field label {
  float: none !important;
  height: auto !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.content .form.new-bookmark form {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
}

.content .form.new-bookmark form > * {
  flex: 1 1 100%;
  min-width: 0;
}

.content .form.new-bookmark form > .group_bookmark_info,
.content .form.new-bookmark form > .notifier_info {
  flex: 1 1 calc(50% - 12px);
}

.content .form.new-bookmark .invi_notifier,
.content .form.new-bookmark .email_list,
.content .form.new-bookmark .number_of_emails {
  float: none !important;
  margin: 0 0 12px !important;
  color: var(--hm-text-muted);
  font-size: 14px;
  text-align: left !important;
}

.content .form.new-bookmark .invi_notifier {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content .form.new-bookmark .email_list textarea {
  margin-top: 6px !important;
  height: 64px;
}

.content .form.new-bookmark .bookmark_button {
  flex-direction: row !important;
  gap: 8px !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
}

.content .form.new-bookmark .bookmark_button input {
  float: none !important;
  margin: 0 !important;
}

/* jquery.tagsinput box */
div.tagsinput {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 84px !important;
  height: auto !important;
  padding: 6px !important;
  margin: 0 !important;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border-strong) !important;
  border-radius: var(--hm-radius-sm) !important;
  box-shadow: none !important;
}

div.tagsinput span.tag {
  margin: 3px !important;
  padding: 3px 8px !important;
  color: var(--hm-primary-strong) !important;
  font-size: 13px !important;
  background: var(--hm-primary-soft) !important;
  border: 0 !important;
  border-radius: 999px !important;
}

div.tagsinput span.tag a {
  color: var(--hm-primary-strong) !important;
}

div.tagsinput input {
  margin: 3px !important;
  padding: 3px 4px !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  width: auto !important;
  min-width: 120px;
}

/* chosen.js multiple select */
.chzn-container-multi {
  width: 100% !important;
  margin: 0 !important;
}

.chzn-container-multi .chzn-choices .search-choice .search-choice-close {
  top: 50% !important;
  margin-top: -6px;
}

.chzn-container-multi .chzn-choices {
  min-height: 40px;
  padding: 4px !important;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border-strong) !important;
  border-radius: var(--hm-radius-sm) !important;
  box-shadow: none !important;
}

.chzn-container-multi .chzn-choices .search-choice {
  display: inline-flex;
  align-items: center;
  height: auto !important;
  line-height: 1.4 !important;
  margin: 3px !important;
  padding: 4px 24px 4px 10px !important;
  color: var(--hm-primary-strong) !important;
  background: var(--hm-primary-soft) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.chzn-container-multi .chzn-choices .search-field input {
  padding: 4px !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* profile / edit-user cards: drop the old divider shadow images */
.content .form .left_container,
.content .form .right_container {
  background: none !important;
}

/* ---------- Profile and admin edit-user: two columns of facts ---------- */

.content .form .info_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 32px;
}

.content .form .info_container .left_container,
.content .form .info_container .right_container {
  float: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
}

.content .form.user_profile .field,
.content .form.admin_user_info .field {
  align-items: baseline;
  height: auto !important;
  min-height: 36px;
  margin: 0 0 12px !important;
}

.content .form.user_profile .field > label:first-child,
.content .form.admin_user_info .field > label:first-child {
  flex: 0 0 170px;
  width: 170px !important;
  white-space: nowrap;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.content .form .info,
.content .form .info span,
.content .form .info .best_in_place {
  color: var(--hm-text) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.content .form .info a {
  margin-left: 8px;
  font-size: 14px !important;
}

.content .form .info > a:first-child {
  margin-left: 0;
}

/* ---------- Invite page ---------- */

.invite_sections > .page_section {
  margin: 0 !important;
}

.invite_sections {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.page_section {
  padding: 24px;
}

.section_title {
  margin: 0 0 16px !important;
  font-size: 16px !important;
  font-weight: 650;
}

.invite_by_username .field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px !important;
}

.invite_by_username .field input[type="text"] {
  flex: 1;
  min-width: 0;
  width: auto !important;
  margin: 0 !important;
}

.invite_by_username .field label {
  width: auto !important;
  padding: 0 !important;
  color: var(--hm-text-muted);
}

.invite_by_email textarea#email_list {
  width: 100% !important;
  height: 160px !important;
  margin: 0 !important;
}

.invite_by_email .sent-invitations {
  float: none !important;
  margin: 8px 0 12px !important;
  color: var(--hm-text-muted);
  font-size: 13px;
}

.invite_sections input[type="submit"] {
  float: none !important;
  margin: 6px 0 0 !important;
}

/* ---------- Empty table rows ---------- */

table.rounded_table tr.empty_row td {
  padding: 28px 14px !important;
  color: var(--hm-text-muted) !important;
  text-align: center !important;
}

table.rounded_table tr.empty_row:hover td {
  background: none !important;
}

/* ---------- Tag page groups ---------- */

.right_content > .group_list > div[id^="group_"] {
  margin-bottom: 10px;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

.input_container .tag_title {
  margin: 4px 0 4px !important;
  padding: 0 !important;
  color: var(--hm-text) !important;
  font-size: 20px;
  font-weight: 650;
}

.input_container .tag_title .bold {
  display: inline;
  color: var(--hm-text-muted);
  font-weight: 500;
}

/* ---------- Static pages (policies, FAQ, about) ---------- */

.content.content_landing_page {
  max-width: 820px !important;
}

.content_landing_page .paragraph {
  margin: 0 !important;
  padding: 24px 28px !important;
  color: var(--hm-text) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
}

/* ---------- Error pages ---------- */

.error_container {
  max-width: 640px;
  margin: 48px auto !important;
  padding: 32px !important;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

.error_container h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.error_container p {
  margin: 0 0 8px;
  color: var(--hm-text-muted);
}

.error_container a {
  color: var(--hm-primary) !important;
}

/* Domain Information: long labels such as "Number of bookmarks" fit on one line */
.content .form.domain_form .field > label:first-child {
  flex-basis: 180px;
  width: 180px !important;
}

/* ---------- Admin statistics ---------- */

.statistics_list {
  margin-bottom: 16px;
}

.statistics_list .statistics_info {
  margin: 0 !important;
  padding: 6px 0 !important;
  color: var(--hm-text);
  border-bottom: 1px solid var(--hm-border);
}

.statistics_list .statistics_info:last-child {
  border-bottom: 0;
}

/* ---------- Profile ---------- */

.content .form .truncate {
  max-width: none !important;
  width: auto !important;
  white-space: normal !important;
  overflow: visible !important;
}

/* ---------- Toolbar above both columns ---------- */

.input_container {
  margin: 0 0 8px !important;
  height: auto !important;
}

/* ---------- Group rows ---------- */

.group_list .group_item {
  position: relative;
}

.group_list .group_label {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  cursor: pointer;
}

.group_list .group_name {
  height: auto !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 110px 0 16px !important;
  background: none !important;
  box-sizing: border-box;
}

.group_list .group_name > span + span {
  color: var(--hm-text-faint);
  font-weight: 500;
}

/* lists that cannot collapse (search, tag page) get no chevron */
.group_list .group_name:not(.vertical_arrow):not(.horizontal_arrow)::before {
  display: none;
}

/* chevron replaces the arrow images; JS toggles these classes */
.group_list .group_name::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-right: 2px solid var(--hm-text-faint);
  border-bottom: 2px solid var(--hm-text-faint);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}

.group_list .group_name.vertical_arrow::before {
  transform: rotate(45deg);
}

.group_list .group_name .edit_group_button {
  float: none !important;
  margin: 0 0 0 4px !important;
  opacity: 0.55;
}

.group_list .group_name .edit_group_button:hover {
  opacity: 1;
}

/* keep the first heading clear of the absolutely-placed View trigger */
#tag_cloud .top_tags .tag_label {
  padding-right: 60px !important;
  white-space: nowrap;
}

/* every "View" options trigger: text + chevron, same look everywhere */
.group_list .option_mod,
.view_panel .group_option_mod,
.view_panel .option_mod,
#tag_cloud .display_tag_options {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: 28px !important;
  padding: 0 10px !important;
  color: var(--hm-text-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: var(--hm-radius-sm);
  box-shadow: none !important;
  cursor: pointer;
}

.group_list .option_mod::after,
.view_panel .group_option_mod::after,
.view_panel .option_mod::after,
#tag_cloud .display_tag_options::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.group_list .option_mod:hover,
.view_panel .group_option_mod:hover,
.view_panel .option_mod:hover,
#tag_cloud .display_tag_options:hover {
  color: var(--hm-text) !important;
  background: var(--hm-surface-2) !important;
}

.group_list .option_mod {
  top: 12px !important;
  right: 12px !important;
}

#tag_cloud .display_tag_options_text {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}



.group_list .group_content {
  border-top: 1px solid var(--hm-border);
}

/* ---------- Bookmarks ---------- */

/* bookmark row: title/note on the left, actions centred on the right */
.bookmark_item > div[id^="bookmark_"] {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bookmark_item .bookmark_info {
  flex: 1;
  min-width: 0;
  float: none !important;
}

.bookmark_item .share_count {
  float: none !important;
  flex: 0 0 auto;
}

.bookmark_item .bookmark_info .clear:empty,
.bookmark_item .bookmark_tags:empty,
.bookmark_item .bookmark_note:empty,
.bookmark_item > .clear {
  display: none;
}

.group_content .pagination:empty,
.group_content > .clear,
.group_content > br {
  display: none;
}

/* image-drawn checkboxes (domain merge, etc.) as a modern square box */
[name="selected_domains[]"] + label,
.customized_checkbox + label {
  box-sizing: border-box;
  width: 18px !important;
  height: 18px !important;
  vertical-align: middle;
  background: var(--hm-surface) !important;
  border: 1.5px solid var(--hm-border-strong);
  border-radius: 4px;
  cursor: pointer;
}

[name="selected_domains[]"]:checked + label,
.customized_checkbox:checked + label {
  background: var(--hm-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat !important;
  border-color: var(--hm-primary);
}

.bookmark_item {
  padding: 12px 16px !important;
  border-top: 1px solid var(--hm-border) !important;
  background: none !important;
}

.bookmark_item.new {
  background: var(--hm-primary-soft) !important;
}

.bookmark_item.deleted {
  opacity: 0.55;
}

.bookmark_item a,
.group_list .bookmark_item .title a,
.group_list .bookmark_item a.bookmark_link {
  color: var(--hm-primary) !important;
  font-weight: 550;
  font-size: 15px !important;
}

.group_list .group_content .pagination {
  padding: 10px 16px;
}

.read-more a, .read-less a {
  font-size: 13px;
}

/* Bookmark row actions: line icons instead of the old teal PNGs */
.group_list .bookmark_action {
  display: flex;
  gap: 4px;
}

.group_list .bookmark_action .action,
.group_list .bookmark_action .action:hover {
  width: 32px !important;
  height: 32px !important;
  border-radius: var(--hm-radius-sm);
  background-color: transparent !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  background-repeat: no-repeat !important;
}

.group_list .bookmark_action .action:hover {
  background-color: var(--hm-surface-2) !important;
}

.group_list .bookmark_action .delete_btn,
.group_list .bookmark_action .delete_btn:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6270' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13'/%3E%3C/svg%3E") !important;
}

.group_list .bookmark_action .edit_btn,
.group_list .bookmark_action .edit_btn:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6270' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3C/svg%3E") !important;
}

.group_list .bookmark_action .undelete_btn,
.group_list .bookmark_action .undelete_btn:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6270' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10a6 6 0 0 1 0 12h-3'/%3E%3C/svg%3E") !important;
}

/* ---------- Tags ---------- */

.heatmap, .tags {
  line-height: 1.9;
}

.heatmap_element {
  color: var(--hm-primary) !important;
  margin-right: 6px;
}

.tag_display a, .tags a {
  color: var(--hm-text) !important;
}

.tag_count_format {
  color: var(--hm-text-faint);
  font-size: 12px;
}

/* ---------- Forms ---------- */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
  box-sizing: border-box;
  max-width: 100%;
  padding: 8px 11px !important;
  font-size: 14px !important;
  color: var(--hm-text) !important;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border-strong) !important;
  border-radius: var(--hm-radius-sm) !important;
  box-shadow: none !important;
  height: auto !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: var(--hm-primary) !important;
  box-shadow: 0 0 0 3px var(--hm-primary-soft) !important;
  outline: none;
}

::placeholder {
  color: var(--hm-text-faint) !important;
  font-style: normal !important;
}

label {
  color: var(--hm-text-muted);
  font-size: 14px;
}

/* ---------- Buttons ---------- */

.button,
input[type="submit"],
button:not(.ui-multiselect):not(.ui-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1;
  color: #fff !important;
  background: var(--hm-primary) !important;
  border: 1px solid transparent !important;
  border-radius: var(--hm-radius-sm) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  width: auto;
  height: auto;
}

.button:hover,
input[type="submit"]:hover,
button:not(.ui-multiselect):not(.ui-button):hover {
  background: var(--hm-primary-strong) !important;
  text-decoration: none !important;
}

/* destructive actions (they ask "Are you sure?") */
a.button[data-confirm],
a.button[data-confirm]:hover {
  color: var(--hm-danger) !important;
  background: var(--hm-surface) !important;
  border-color: color-mix(in srgb, var(--hm-danger) 45%, white) !important;
}

a.button[data-confirm]:hover {
  background: color-mix(in srgb, var(--hm-danger) 8%, white) !important;
}

.button.secondary, .button.grey, .cancel_button, .button.cancel,
input[type="submit"][value="Cancel"] {
  color: var(--hm-text) !important;
  background: var(--hm-surface) !important;
  border-color: var(--hm-border-strong) !important;
}

.button.secondary:hover, .button.grey:hover, .cancel_button:hover, .button.cancel:hover,
input[type="submit"][value="Cancel"]:hover {
  background: var(--hm-surface-2) !important;
}

/* ---------- Tables ---------- */

table.rounded_table,
.table_view table,
table#bookmark_table,
table.user_table {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 16px !important;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
  overflow: hidden;
}

table.rounded_table th,
.table_view th,
table#bookmark_table th {
  padding: 10px 14px !important;
  color: var(--hm-text-muted) !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  background: var(--hm-surface-2) !important;
  border-bottom: 1px solid var(--hm-border) !important;
}

table.rounded_table th a, .table_title,
table.rounded_table th *, table#bookmark_table th * {
  color: var(--hm-text-muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

table.rounded_table td,
.table_view td,
table#bookmark_table td {
  padding: 10px 14px !important;
  border-bottom: 1px solid var(--hm-border) !important;
  background: none !important;
}

table.rounded_table tr:last-child td {
  border-bottom: 0 !important;
}

/* Legacy table quirks: header dividers and rounded header cells,
   padded inner spans (pushed cell text off its heading), dotted row
   borders, and a last cell set to display:block (broke row lines). */
table.rounded_table thead th,
table.rounded_table thead th:first-child,
table.rounded_table thead th:last-child {
  height: auto !important;
  border-right: 0 !important;
  border-radius: 0 !important;
}

table.rounded_table tbody tr {
  height: auto !important;
  border-top: 0 !important;
  background: none !important;
}

table.rounded_table tbody tr td {
  display: table-cell !important;
  vertical-align: middle;
  color: var(--hm-text) !important;
  font-size: 14px !important;
}

table.rounded_table tbody tr td > span {
  display: inline !important;
  padding: 0 !important;
  max-width: none !important;
  line-height: inherit !important;
}

table.rounded_table tbody tr a {
  color: var(--hm-primary) !important;
  font-size: 14px !important;
}

table.rounded_table tbody tr:hover td {
  background: var(--hm-surface-2) !important;
}

/* headings and cells line up: left everywhere ... */
table.rounded_table th,
table.rounded_table td {
  text-align: left !important;
}

/* ... except trailing action columns (Edit / Reject / Action), right */
table.rounded_table td.action,
#group_table th:last-child, #group_table td:last-child,
#user_table th:last-child, #user_table td:last-child,
table.rounded_table:not([id]) th:last-child,
table.rounded_table:not([id]) td:last-child {
  text-align: right !important;
}

table.rounded_table td.action > span {
  display: inline-flex !important;
  align-items: center;
  padding: 4px 10px !important;
  color: var(--hm-text-muted) !important;
  border: 1px solid var(--hm-border-strong);
  border-radius: var(--hm-radius-sm);
  cursor: pointer;
}

/* Action slide-out (group.js animates its width from 0 to 400px) */
#group_table tbody td.action span .action-dialog {
  top: 50% !important;
  right: calc(100% + 8px) !important;
  height: 36px !important;
  margin-top: -18px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* overflow to the right, so scrollWidth measures it */
  gap: 4px;
  padding: 0;
  box-sizing: border-box;
  line-height: 1 !important;
  white-space: nowrap;
  background: var(--hm-surface) !important;
  border-radius: var(--hm-radius-sm);
  box-shadow: none !important;
}

/* group.js sets overflow:visible while the slide-out is open */
#group_table tbody td.action span .action-dialog[style*="overflow: visible"] {
  box-shadow: var(--hm-shadow-lg) !important;
}

#group_table tbody td.action span .action-dialog:not([style*="overflow: visible"])::after {
  display: none;
}

#group_table tbody td.action span .action-dialog::after {
  border-left-color: var(--hm-surface) !important;
  top: 8px !important;
}

#group_table tbody td.action span .action-dialog a {
  padding: 6px 10px;
  border-radius: var(--hm-radius-sm);
  color: var(--hm-primary) !important;
}

#group_table tbody td.action span .action-dialog a:hover {
  background: var(--hm-surface-2);
  text-decoration: none !important;
}

#group_table tbody td.action span .action-dialog a.delete_link,
#group_table tbody td.action span .action-dialog a.erase_link {
  color: var(--hm-danger) !important;
}

table.rounded_table td.action > span:hover {
  color: var(--hm-text) !important;
  background: var(--hm-surface) !important;
}

table.rounded_table tr.odd td, table.rounded_table tr.even td {
  background: none !important;
}

/* ---------- Dialogs ---------- */

.overlaydialog {
  background: rgba(15, 20, 27, 0.45) !important;
}

.dialog {
  box-sizing: border-box;
  width: min(520px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px !important;
  color: var(--hm-text);
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--hm-shadow-lg) !important;
}

.dialog .close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hm-surface-2) !important;
  cursor: pointer;
}

.dialog .close:after {
  content: "\00d7" !important;
  display: block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 18px;
  color: var(--hm-text-muted);
  background: none !important;
}

.dialog input[type="text"],
.dialog input[type="email"],
.dialog input[type="password"] {
  display: block;
  width: 100% !important;
  margin: 0 0 10px !important;
}

.dialog .error {
  color: var(--hm-danger);
}

#login_dialog .login-logo {
  display: none !important;
}

#login_dialog .login_email,
#login_dialog .login-services {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

#login_dialog .login_title {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 650;
  color: var(--hm-text);
}

#login_dialog .login_email {
  display: flex !important;
  flex-direction: column;
}

#login_dialog .login_email .forgot_password {
  order: 3;
  align-self: flex-end;
  margin-top: -30px;
  position: static !important;
  float: none !important;
  font-size: 13px !important;
  font-style: normal !important;
  text-decoration: none !important;
}

#login_dialog .login_email .error {
  order: 2;
}

#login_dialog .login-services {
  background: none !important;
}

#login_dialog .remember_me {
  display: flex;
  align-items: center;
  gap: 6px;
  float: none !important;
  margin: 4px 0 12px;
}

#login_dialog .login_form input[type="submit"],
#login_dialog input[type="submit"] {
  float: none !important;
  width: 100%;
}

#login_dialog .login-services .alternative-text,
.intro-external-service {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px !important;
  color: var(--hm-text-faint);
  font-size: 13px;
}

#login_dialog .login-services .alternative-text::before,
#login_dialog .login-services .alternative-text::after,
.intro-external-service::before,
.intro-external-service::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hm-border);
}

.google_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 0 16px;
  color: var(--hm-text) !important;
  font-weight: 600;
  font-size: 14px;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border-strong);
  border-radius: var(--hm-radius-sm);
  text-decoration: none !important;
}

.google_button:hover {
  background: var(--hm-surface-2) !important;
}

#login_dialog .login-services .logos {
  float: none !important;
  margin: 0 !important;
}

/* ---------- Flash / notification: a toast under the top bar ---------- */

#notification.dialog {
  position: fixed !important;
  top: 76px !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: min(480px, calc(100vw - 32px)) !important;
  margin: 0 !important;
  padding: 14px 44px 14px 18px !important;
  z-index: 1100;
  transition: opacity 0.6s ease;
}

#notification #flash {
  padding: 0 !important;
  font-size: 14px;
  line-height: 1.5;
}

#notification #flash .notice {
  color: var(--hm-text);
}

#notification #flash .error {
  color: var(--hm-danger);
}

#notification .close {
  top: 10px !important;
  right: 10px !important;
}

/* ---------- Footer ---------- */

.footer {
  position: static !important;
  margin-top: auto !important;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--hm-content-width);
  margin: 0 auto;
  padding: 18px 24px;
  box-sizing: border-box;
  color: var(--hm-text-faint);
  font-size: 13px;
  background: none !important;
}

.footer_copyright, .footer_menu, .footer > .right, .footer > .left {
  position: static !important;
  float: none !important;
  width: auto !important;
}

.footer_copyright,
.footer_copyright .copyright_text,
.footer_nav,
.footer_nav li,
.footer_nav li a {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  font-size: 13px !important;
  border: 0 !important;
  border-image: none !important;
}

.footer_menu {
  margin: 0 !important;
}

.footer_copyright a,
.footer_copyright .copyright_text * {
  font-size: 13px !important;
}

/* footer lines up with each layout's content column */
.footer {
  padding: 18px 24px !important;
}

.container_landing_page .footer {
  max-width: 1040px;
}

.footer_copyright .line, .dotted_line {
  display: none !important;
}

.footer_copyright a, .footer_nav_link {
  color: var(--hm-text-faint) !important;
}

.footer_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
}

.footer_nav_item {
  float: none !important;
  list-style: none;
}

.footer_nav_link {
  float: none !important;
}

/* ---------- Landing page ---------- */

.container_landing_page {
  background: var(--hm-bg) !important;
}

.landing_header {
  position: static !important;
  max-width: 1040px;
  margin: 0 auto;
  height: 72px !important;
  align-items: center !important;
  background: transparent;
  border-bottom: 0;
}

.landing_header .top_header {
  margin-left: auto;
  float: none !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
}

.landing_header .sign_in, .landing_header .login_panel {
  float: none !important;
}

.landing_header .sign_in {
  position: static !important;
  top: auto !important;
  width: auto !important;
}

.landing_header .login_panel .login_btn {
  float: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto !important;
  height: 36px !important;
  min-height: 36px;
  padding: 0 16px !important;
  line-height: 1 !important;
  text-align: center;
  background-image: none !important;
  font-weight: 600;
  font-size: 14px;
  color: var(--hm-text) !important;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border-strong);
  border-radius: var(--hm-radius-sm);
  text-decoration: none !important;
}

.landing_hero,
.landing_header {
  box-sizing: border-box;
  width: 100% !important;
}

.landing_hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  box-sizing: border-box;
}

.landing_hero .hero_art {
  grid-column: 2;
  grid-row: 1;
  padding-right: 24px;
}

.landing_hero .hero_art img {
  display: block;
  width: 220px;
  height: auto;
}

.landing_hero .welcome {
  grid-column: 1;
  grid-row: 1;
}

.landing_hero .landing_points {
  grid-column: 1 / -1;
}

.landing_hero .welcome {
  float: none !important;
  width: auto !important;
  max-width: 700px;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.landing_hero .eyebrow {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--hm-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing_hero .title {
  margin: 0 0 16px !important;
  padding: 0 !important;
  height: auto !important;
  color: var(--hm-text) !important;
  font-size: clamp(36px, 6vw, 56px) !important;
  line-height: 1.05 !important;
  font-weight: 750 !important;
  letter-spacing: -0.03em;
  text-shadow: none !important;
}

.landing_hero .title,
.landing_hero .intro_para {
  text-wrap: pretty;
}

.landing_hero .intro_para,
.landing_hero .intro_para * {
  color: var(--hm-text-muted) !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.landing_hero .intro_para {
  padding: 0 !important;
}

.landing_hero .intro_para p {
  margin: 0 0 4px;
}

.landing_hero .intro_para ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.landing_hero .intro_para ul li {
  width: auto !important;
  margin: 6px 0 0 !important;
}

.set_email_form {
  display: flex;
  gap: 8px;
  margin: 28px 0 0;
  max-width: 520px;
}

.set_email_form .fast_registration_email {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  width: auto !important;
  font-size: 16px !important;
  margin: 0 !important;
}

.set_email_form .set_email_button {
  min-height: 44px;
  float: none !important;
  width: auto !important;
  background-image: none !important;
  margin: 0 !important;
}

.landing_hero .services,
.landing_hero .intro-external-service {
  max-width: 520px;
}

/* on the landing page the Google button fits its text */
.landing_hero .services .google_button {
  width: auto !important;
  padding: 0 20px;
}

.google_button img {
  zoom: 1 !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

.landing_points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.landing_points .point {
  padding: 20px;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
}

.landing_points h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.landing_points p {
  margin: 0;
  color: var(--hm-text-muted);
  font-size: 14px;
}

/* ---------- Phone width ---------- */

@media (max-width: 1000px) {
  .header {
    flex-wrap: wrap;
    padding: 10px 24px 0 !important;
    gap: 6px 12px;
  }

  .header > .left:not(.logo) {
    order: 3;
    flex-basis: 100%;
    padding-bottom: 6px;
  }
}

@media (max-width: 760px) {
  .dialog, .dialog .content {
    max-width: calc(100vw - 16px) !important;
  }

  .table_view, .table_view table {
    min-width: 0 !important;
  }

  .header {
    flex-wrap: wrap;
    height: auto !important;
    padding: 10px 16px 0 !important;
    gap: 8px 12px;
  }

  .header > .left:not(.logo) {
    order: 3;
    width: 100%;
    padding-bottom: 6px;
  }

  .top_navigator .list_item .list_link {
    white-space: nowrap;
  }

  .header .login_panel .username {
    max-width: 120px;
  }

  .content {
    margin-top: 16px !important;
    padding: 0 16px !important;
  }

  /* bookmarks first, tags after them */
  .content {
    display: flex;
    flex-direction: column;
  }

  .content > .left_content {
    order: 2;
    margin-top: 16px;
  }

  .left_content {
    float: none !important;
    width: auto !important;
    margin-right: 0;
  }

  #tag_cloud {
    width: auto !important;
  }

  .bookmark_url_bar {
    flex-basis: 100%;
  }



  .right_content {
    overflow: visible;
  }

  table.rounded_table, table#bookmark_table, table#group_table {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    overflow-x: auto;
  }

  /* forms: drop fixed widths and stack floated columns */
  .content .form,
  .content .form form,
  .content .form .left,
  .content .form .right,
  .content .form .field,
  .content .form div {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .content .form input[type="text"],
  .content .form input[type="email"],
  .content .form input[type="password"],
  .content .form textarea,
  .content .form select {
    width: 100% !important;
  }

  .content .form {
    padding: 16px !important;
  }

  .content .form.new-bookmark .group_bookmark_info,
  .content .form.new-bookmark .notifier_info {
    display: block;
    width: auto !important;
    margin: 0 !important;
  }

  /* one column on phones: notes, tags, groups and notify stack */
  .content .form.new-bookmark form > .group_bookmark_info,
  .content .form.new-bookmark form > .notifier_info {
    flex-basis: 100%;
  }

  .landing_hero .services .google_button {
    width: 100% !important;
    justify-content: center;
  }

  #tag_cloud {
    float: none !important;
  }

  /* Edit group: room between Delete / Erase and the invite panel below */
  #group_panel {
    margin-bottom: 24px !important;
  }

  /* Domain Information: labels above values, like the profile */
  .content .form.domain_form .field > label:first-child {
    flex-basis: 100%;
    width: 100% !important;
  }

  .content .form table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .content > .panel,
  .content > .panel#group_panel {
    float: none !important;
    width: auto !important;
    margin-right: 0 !important;
  }

  /* labels above their controls */
  .content .form .field > label:first-child,
  .content .form.user_profile .field > label:first-child,
  .content .form.admin_user_info .field > label:first-child {
    flex-basis: 100%;
    width: auto !important;
  }

  .content .form .info_container {
    grid-template-columns: 1fr;
  }

  .content .form .field > input[type="submit"]:first-child,
  .content .form .field > button:first-child {
    margin-left: 0 !important;
  }

  .content .form .field > * {
    max-width: 100%;
  }

  .landing_hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 16px;
  }

  .landing_hero .hero_art {
    display: none;
  }

  .set_email_form {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px;
  }
}

/* ---------- Bookmarklet popup (890 x 530 window) ---------- */

body.iframe-body {
  margin: 0;
  background: var(--hm-surface) !important;
}

.iframe-body .bm_dialog {
  position: static !important;
  box-sizing: border-box;
  width: auto !important;
  max-width: 880px;
  margin: 0 auto !important;
  padding: 16px 24px 20px !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.iframe-body .bm_dialog .content {
  margin: 0 !important;
  padding: 0 !important;
}

.iframe-body .bm_header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.iframe-body .bm_header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--hm-text);
}

.iframe-body .form.bookmark {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.iframe-body .form.bookmark .field {
  float: none !important;
  display: block;
  width: auto !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.iframe-body .form.bookmark label {
  display: block;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  color: var(--hm-text-muted) !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3 !important;
}

.iframe-body .form.bookmark input[type="text"],
.iframe-body .form.bookmark textarea {
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
}

.iframe-body .form.bookmark textarea {
  height: 64px !important;
  min-height: 0 !important;
  resize: vertical;
}

.iframe-body .bm_columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.iframe-body .left_container,
.iframe-body .right_container {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.iframe-body .chzn-container,
.iframe-body div.tagsinput {
  box-sizing: border-box;
  width: 100% !important;
}

.iframe-body div.tagsinput {
  min-height: 38px !important;
  height: auto !important;
}

.iframe-body .invi_notifier {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.iframe-body .invi_notifier label {
  display: inline !important;
  margin: 0 !important;
  color: var(--hm-text) !important;
  font-size: 13px;
}

.iframe-body .invi_notifier input[type="checkbox"] {
  margin: 0 !important;
}

.iframe-body .number_of_emails {
  float: none !important;
  margin-top: 4px;
  color: var(--hm-text-muted);
  font-size: 12px;
}

.iframe-body .button-container {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0 !important;
}

.iframe-body .button-container .button {
  float: none !important;
  margin: 0 !important;
}

.iframe-body #loading img {
  width: 20px;
  height: 20px;
}

/* signed out: the sign-in form, centred in the popup */
.iframe-body .bm_signed_out {
  max-width: 420px;
  padding-top: 32px !important;
}

/* legacy popup rules centre and indent labels and the tag box */
.iframe-body .form.bookmark,
.iframe-body .form.bookmark .field,
.iframe-body .form.bookmark label {
  text-align: left !important;
}

.iframe-body #tags_fields,
.iframe-body #tags_fields div.tagsinput {
  margin: 0 !important;
  padding-left: 0 !important;
  left: auto !important;
}

.iframe-body #tags_fields div.tagsinput {
  padding: 4px 6px !important;
  min-height: 64px !important;
}

.iframe-body div.tagsinput input {
  color: var(--hm-text) !important;
  font-style: normal !important;
}

.iframe-body .form.bookmark .close-button {
  color: var(--hm-text) !important;
  background: var(--hm-surface) !important;
  border: 1px solid var(--hm-border-strong) !important;
}

.iframe-body .number_of_emails {
  text-align: left !important;
}

/* fit the 530px-tall window without scrolling */
html:has(body.iframe-body) {
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--hm-surface) !important;
}

.iframe-body .bm_dialog {
  padding-top: 12px !important;
}

.iframe-body .bm_header {
  margin-bottom: 8px;
}

.iframe-body .chzn-container-multi .chzn-choices {
  min-height: 64px !important;
}

.iframe-body.iframe-body {
  overflow: visible !important;
}

.iframe-body .form.bookmark #tags_fields,
.iframe-body .form.bookmark .textarea-container {
  width: auto !important;
  height: auto !important;
}

.iframe-body .form.bookmark #tags_fields div.tagsinput {
  width: 100% !important;
}

body.iframe-body .dialog .form.bookmark .button-container > .button,
body.iframe-body .dialog .form.bookmark .button-container > input.button {
  margin: 0 !important;
}

.iframe-body #loading.hidden {
  display: none !important;
}

body.iframe-body .form.bookmark .button-container {
  gap: 8px !important;
}

body.iframe-body {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.iframe-body .dialog.bm_dialog {
  min-width: 0 !important;
}

body.iframe-body .dialog.bm_dialog,
body.iframe-body .dialog.bm_dialog .content {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body.iframe-body .dialog #bookmark_tag_list_tag,
body.iframe-body .dialog .search-field input {
  color: var(--hm-text-muted) !important;
  font-style: normal !important;
}

body.iframe-body .dialog ::placeholder {
  color: var(--hm-text-muted) !important;
  font-style: normal !important;
}

/* signed-out popup: the sign-in form */
.iframe-body .bm_signed_out .login_email form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iframe-body .bm_signed_out .login_email input[type="text"],
.iframe-body .bm_signed_out .login_email input[type="password"] {
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
}

.iframe-body .bm_signed_out .login_title {
  margin: 0 0 12px;
  color: var(--hm-text) !important;
  font-size: 18px;
  font-weight: 700;
}

.iframe-body .bm_signed_out .content {
  box-sizing: border-box;
  max-width: 340px;
  margin: 0 auto !important;
}

.iframe-body .bm_signed_out .login_email,
.iframe-body .bm_signed_out .login-services {
  position: relative;
  float: none !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

.iframe-body .bm_signed_out .forgot_password {
  position: absolute;
  top: 4px;
  right: 0;
  float: none !important;
  margin: 0 !important;
  font-size: 13px;
  font-style: normal !important;
}

.iframe-body .bm_signed_out .remember_me {
  display: flex;
  align-items: center;
  gap: 6px;
  float: none !important;
  order: 3;
  margin: 0 !important;
}

.iframe-body .bm_signed_out .remember_me label {
  margin: 0 !important;
  color: var(--hm-text-muted);
  font-size: 13px;
}

.iframe-body .bm_signed_out .login_email input[type="submit"] {
  order: 4;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.iframe-body .bm_signed_out .login-services {
  margin-top: 16px;
  text-align: center;
}

.iframe-body .bm_signed_out .alternative-text {
  margin-bottom: 8px;
  color: var(--hm-text-muted);
  font-size: 13px;
}

.iframe-body .bm_signed_out .google_button {
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
}

body.iframe-body .bm_signed_out .content {
  display: block !important;
  width: 100% !important;
}

body.iframe-body .bm_signed_out .login_email,
body.iframe-body .bm_signed_out .login-services,
body.iframe-body .bm_signed_out .login-services .logos {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
}

/* the old logo float (0 wide, 35px of margin) pushed the heading right */
body.iframe-body .bm_signed_out .login-logo {
  display: none !important;
}

body.iframe-body .bm_signed_out .login_title {
  float: none !important;
  width: auto !important;
  margin-left: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
/*


 */
