/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
#cloudsponge-address-book .cloudsponge-topbar {
  background-color: #ea1f42;
}

/* Change the colors of the .cloudsponge-export-button */
#cloudsponge-address-book .cloudsponge-button.cloudsponge-export-button {
  background-color: #4caf50;
  color: #FFFFFF;
}

#cloudsponge-address-book .cloudsponge-button.cloudsponge-export-button:hover {
  background-color: #389b3c;
}

a.cloudsponge-launch {
  color: #ea1f42
}

#wp-bp_member_invites_custom_content-wrap .mce-top-part,
#wp-bp_member_invites_custom_content-editor-tools {
  display: none;
}

.ess-warnning-text {
  border: none;
  color: #f87c00;
  font-size: 13px;
  padding: 12px 25px;
  background-color: #f6f6f6;
  border-left: 5px solid #f87c00;
}

.cloudsponge-launch.btn {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cloudsponge-launch.btn.btn-primary {
  color: #ffffff;
  background-color: #ea1f42;
  border-color: #ea1f42;
  box-shadow: 0 2px 3px rgba(58, 72, 83, .2);
}

.cloudsponge-launch.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .657rem 1.3125rem;
  font-size: 1rem;
  line-height: 1.7;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Send Invites Table */
#member-invites-table .field-actions,
#member-invites-table .field-actions-last {
  text-align: center;
}

#member-invites-table .field-actions .field-actions-remove-btn,
#member-invites-table .field-actions-last .field-actions-remove-btn {
  cursor: pointer;
}

#member-invites-table .field-actions-add-btn {
  cursor: pointer;
}

#member-invites-table .field-actions-add-btn i {
  background-color: #007cff;
  color: #fff;
  border-radius: 100%;
  padding: 3px 3px 1px 4px;
  height: auto;
  width: auto;
  line-height: normal;
}

#member-invites-table .field-actions-add-btn.disabled {
  cursor: not-allowed;
}

#member-invites-table .field-actions-add-btn.disabled i {
  background-color: #ccc;
}

#member-invites-table .field-actions-add-btn {
  margin-left: 7px;
}

#member-invites-table {
  box-shadow: none;
  margin-bottom: 0;
}

.ess-invite-group-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  clear: both;
  overflow: hidden;
  width: 100%;
}

.ess-invite-group-list li {
  width: 45%;
  margin: 5px 10px 10px 10px;
  float: left;
  height: 60px;
  min-height: 60px;
  font-size: 11px;
}

.ess-invite-group-list label {
  margin: unset !important;
}

.ess-invite-group-list li input {
  float: left;
  margin: 10px 6px;
  width: 20px;
}

.ess-invite-group-list label,
.ess-invite-group-list input {
  cursor: pointer;
}

.ess-invite-group-list li img {
  margin-right: 5px;
  margin-left: 5px;
  vertical-align: center;
}

.ess-invite-group-list label span {
  font-weight: normal;
  /* line-height: 30px; */
  line-height: 1.4em;
}

#subnav #ess-invite-new-members:before {
  background-position: 0 0;
}

#subnav #ess-invite-new-members:before,
#subnav #ess-sent-invites:before {
  background: url(../images/invite-anyone-sprites.png) no-repeat;
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: .6em;
}

#subnav #ess-sent-invites:before {
  background-position: -20px 0 !important;
}

#subnav #ess-invite-new-members:before,
#subnav #ess-sent-invites:before {
  background: url(../images/invite-anyone-sprites.png) no-repeat;
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: .6em;
}

.ess-invite-pagination a,
.ess-invite-pagination span {
  margin-right: 5px;
}

#ess-send-invite-form .clickable code {
  cursor: pointer;
}



/*== start of code for tooltips ==*/
.tool {
  cursor: help;
  position: relative;
}


/*== common styles for both parts of tool tip ==*/
.tool::before,
.tool::after {
  left: 50%;
  opacity: 0;
  position: absolute;
  z-index: -100;
}

.tool:hover::before,
.tool:focus::before,
.tool:hover::after,
.tool:focus::after {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 100;
}


/*== pointer tip ==*/
.tool::before {
  border-style: solid;
  border-width: 1em 0.75em 0 0.75em;
  border-color: #007CFF transparent transparent transparent;
  bottom: 100%;
  content: "";
  margin-left: -0.5em;
  transition: all .65s cubic-bezier(.84, -0.18, .31, 1.26), opacity .65s .5s;
  transform: scale(.6) translateY(-90%);
}

.tool:hover::before,
.tool:focus::before {
  transition: all .65s cubic-bezier(.84, -0.18, .31, 1.26) .2s;
}


/*== speech bubble ==*/
.tool::after {
  background: #007CFF;
  border-radius: .25em;
  bottom: 180%;
  color: #EDEFF0;
  content: attr(data-tip);
  margin-left: -8.75em;
  padding: 1em;
  transition: all .65s cubic-bezier(.84, -0.18, .31, 1.26) .2s;
  transform: scale(.6) translateY(50%);
  width: 17.5em;
}

.tool:hover::after,
.tool:focus::after {
  transition: all .65s cubic-bezier(.84, -0.18, .31, 1.26);
}

@media (max-width: 760px) {
  .tool::after {
    font-size: .75em;
    margin-left: -5em;
    width: 10em;
  }
}




.ess-sent-invite-wrapper .tooltip {
  display: inline-block;
  position: relative;
  text-align: left;
  margin-left: 6px;
}

.ess-sent-invite-wrapper .tooltip .left {
  min-width: 200px;
  max-width: 400px;
  top: 50%;
  right: 100%;
  margin-right: 20px;
  transform: translate(0, -50%);
  padding: 20px;
  color: #FFFFFF;
  background-color: #007CFF;
  font-weight: normal;
  font-size: 13px;
  border-radius: 8px;
  position: absolute;
  z-index: 99999999;
  box-sizing: border-box;
  display: none;
  border: 1px solid #DCA;
}

.ess-sent-invite-wrapper .tooltip:hover .left {
  display: block;
}

.ess-sent-invite-wrapper .tooltip .left i {
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -12px;
  width: 12px;
  height: 24px;
  overflow: hidden;
}

.ess-sent-invite-wrapper .tooltip .left i::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background-color: #007CFF;
  border: 1px solid #DCA;
}

body:not(.invite-friends) nav.empty-subnavs {
  display: none;
}

#ess-send-invite-form input[type=text],
#ess-send-invite-form textarea {
  display: inline-block;
  font-family: inherit;
  font-style: inherit;
  font-size: 15px;
  height: 40px;
  outline: 0;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #dedfe2;
  border-radius: 3px;
  box-shadow: none;
  padding: 0 12px;
  width: 100%;
}

#ess-send-invite-form textarea {
  height: 120px;
  margin-bottom: 0;
  padding: 10px 15px;
}

#ess-send-invite-form label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #a3a5a9;
  letter-spacing: -.27px;
  line-height: 1.2;
  margin: 1.6875rem 0;
}

.skip-invite-btn {
  display: none;
}

body:not(.invite-friends) .skip-invite-btn {
  display: unset;
}

#buddypress .bb-bp-invites-content {
  padding: 5px 10px !important;
}

/* form area */

@media only screen and (max-width: 600px) {

  .ess-invite-wrapper table,
  .ess-invite-wrapper thead,
  .ess-invite-wrapper tbody,
  .ess-invite-wrapper th,
  .ess-invite-wrapper td,
  .ess-invite-wrapper tr {
    display: block;
  }

  .ess-invite-wrapper thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .ess-invite-wrapper tr {
    border: 1px solid #ccc;
  }

  .ess-invite-wrapper td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 200px;
    margin-left: 150px;
  }

  .ess-invite-wrapper td:before {
    position: absolute;
    top: 12px;
    left: 6px;
    width: 200px;
    padding-right: 40px;
    white-space: nowrap;
    margin-left: -150px;
    content: attr(data-label);
  }

  .ess-invite-wrapper .span_error {
    display: block;
  }

  .ess-invite-wrapper .field-actions-remove-btn,
  .ess-invite-wrapper .field-actions-add-btn {
    float: right;
    margin-top: -16px;
  }

  .ess-invite-wrapper .field-actions-add-btn {
    margin-right: 5px;
    margin-left: -15px;
  }

  /*
  .ess-invite-wrapper .invite-settings.bp-tables-user {
    white-space: inherit;
  }*/

}


.ess-invite-skip-btn {
  float: right;
  margin-left: 30px;
}

@media screen and (max-width:1023px) {
  .ess-invite-skip-btn {
    float: none;
    display: block;
    margin-top: 20px;
    margin-left: 0px;
  }
}

.steps ul {
  display: none !important;
}

.multi_step_form #msform ul li {
  cursor: pointer;
}

.multi_step_form #msform p.invite-info {
  line-height: unset;
}

.multi_step_form {
  display: block;
}

.multi_step_form #msform {
  position: relative;
  padding-top: 20px;
  margin: 0 auto;
  background: #ffffff;
  z-index: 1;
}

.multi_step_form #msform main:not(:first-of-type) {
  display: none;
}

.multi_step_form #msform #progressbar {
  margin: 0px;
  text-align: center;
  margin-bottom: 30px;
  overflow: hidden;
  padding: 0px;
}

.multi_step_form #msform #progressbar li {
  list-style-type: none;
  color: #99a2a8;
  font-size: 9px;
  width: calc(100% / 3);
  float: left;
  position: relative;
  font: 400 15px "Roboto", sans-serif;
}

.multi_step_form #msform #progressbar li:before {
  content: "";
  width: 25px;
  height: 25px;
  line-height: 25px;
  display: block;
  background: #cdced8;
  border-radius: 50%;
  margin: 10px auto 10px auto;
  border: 5px solid #fff;
  top: 0;
}

.multi_step_form #msform #progressbar li:after {
  content: "";
  width: 100%;
  height: 3px;
  background: #cdced8;
  position: absolute;
  right: 50%;
  top: 21px;
  z-index: -1;
}

.multi_step_form #msform #progressbar li.active {
  color: #5cb85c;
}

.multi_step_form #msform #progressbar li.active:before {
  background: #5cb85c;
  border: 3px solid #e6e6e6;
}

.multi_step_form #msform #progressba li.active:after {
  background: #5cb85c;
}

.multi_step_form #msform #progressbar li.active:after {
  background: #5cb85c;
}

.multi_step_form #msform #progressbar li:first-child:after {
  opacity: 0;
}

.multi_step_form #msform main {
  border: 0;
  padding: 0;
  position: relative;
  width: 100%;
  left: 0;
  right: 0;
}

.invite_anyone_proceed_wrapper {
  border: none;
  color: #8a8a8a;
  font-size: 13px;
  padding: 12px 25px;
  background-color: #f6f6f6;
  border-left: 5px solid #5cb85c;
}

.invite_anyone_checkbox_wrapper label,
.invite_anyone_checkbox_wrapper input {
  cursor: pointer;
}



.invite_anyone_checkbox_wrapper [type="checkbox"]:not(:checked),
.invite_anyone_checkbox_wrapper [type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}

.invite_anyone_checkbox_wrapper [type="checkbox"]:not(:checked)+label,
.invite_anyone_checkbox_wrapper [type="checkbox"]:checked+label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}


.invite_anyone_checkbox_wrapper [type="checkbox"]:not(:checked)+label:before,
.invite_anyone_checkbox_wrapper [type="checkbox"]:checked+label:before {
  content: '';
  position: absolute;
  left: -15px;
  top: -7px;
  width: 2.25em;
  height: 2.25em;
  border: 2px solid #ccc;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1);
}


.invite_anyone_checkbox_wrapper [type="checkbox"]:not(:checked)+label:after,
.invite_anyone_checkbox_wrapper [type="checkbox"]:checked+label:after {
  content: '\2713\0020';
  position: absolute;
  top: -4px;
  left: -9px;
  font-size: 2em;
  line-height: 0.8;
  color: #09ad7e;
  transition: all .2s;
  font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', Arial;
}

.invite_anyone_checkbox_wrapper [type="checkbox"]:not(:checked)+label:after {
  opacity: 0;
  transform: scale(0);
}

.invite_anyone_checkbox_wrapper [type="checkbox"]:checked+label:after {
  opacity: 1;
  transform: scale(1);
}

.invite_anyone_checkbox_wrapper [type="checkbox"]:disabled:not(:checked)+label:before,
.invite_anyone_checkbox_wrapper [type="checkbox"]:disabled:checked+label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}

.invite_anyone_checkbox_wrapper [type="checkbox"]:disabled:checked+label:after {
  color: #999;
}

.invite_anyone_checkbox_wrapper [type="checkbox"]:disabled+label {
  color: #aaa;
}

.invite_anyone_checkbox_wrapper [type="checkbox"]:checked:focus+label:before,
.invite_anyone_checkbox_wrapper [type="checkbox"]:not(:checked):focus+label:before {
  border: 2px solid #5cb85c;
}

.invite_anyone_checkbox_wrapper label:hover:before {
  border: 2px solid #5cb85c !important;
}


.invite_anyone_checkbox_wrapper .sent-invites-checkbox[type="checkbox"]:not(:checked)+label:before,
.invite_anyone_checkbox_wrapper .sent-invites-checkbox[type="checkbox"]:checked+label:before {
  top: -30px;
}

.invite_anyone_checkbox_wrapper .sent-invites-checkbox[type="checkbox"]:not(:checked)+label:after,
.invite_anyone_checkbox_wrapper .sent-invites-checkbox[type="checkbox"]:checked+label:after {
  top: -25px;
}

.select-all-invites {
  cursor: pointer;
  font-weight: bold;
}

.select-all-invites.active {
  color: #5cb85c;
}

th .select-all-invites {
  margin-left: -18px;
}

.select-all-invites.mobile {
  display: none;
}

.sent-invite-bulk-action {
  margin-top: 15px;
  margin-bottom: 10px;
}

.invite-bulk-action-submit {
  border-radius: .25rem !important;
}

.ess-invites-action-wrapper {
  padding: 15px 15px !important;
}

.ess-invite-group-list .invite_anyone_checkbox_wrapper [type="checkbox"]:not(:checked)+label:before,
.ess-invite-group-list .invite_anyone_checkbox_wrapper [type="checkbox"]:checked+label:before {
  top: -1px;
}

.ess-invite-group-list .invite_anyone_checkbox_wrapper [type="checkbox"]:not(:checked)+label:after,
.ess-invite-group-list .invite_anyone_checkbox_wrapper [type="checkbox"]:checked+label:after {
  top: 2px;
}

.ess-invite-group-list .invite_anyone_checkbox_wrapper {
  padding-left: 10px;
}

@media only screen and (max-width: 600px) {
  .add-invite-label {
    float: right;
  }

  .invite_anyone_checkbox_wrapper {
    clear: both;
  }

  .select-all-invites.mobile {
    display: initial;
    float: right;
  }

  .sent-invite-table-wrapper {
    clear: both;
  }

}

.ess-invite-main {
  padding: 0 20px !important;
}