body {
  overflow-y: scroll;
}


.header {
  right: 16px;
}

.nav_ul li {
  margin: 0 !important;
  font-weight: bold;
}

.nav_ul li a {
  margin: 0 !important;
  font-weight: normal;
}

.header .header_bottom .nav_icon {
  height: 10px;
  margin: 0 -8px !important;
  background: url("../../assets/chevron-right-dark-24px.png");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}


.main_div {
  display: block;
  position: relative;
  /* background: red; */
  top: 116px;
  margin: 16px auto 0 auto;
  height: calc(100% - 105px);

  padding: 16px 76px;
  list-style: none;
}

.settings_div {
  width: 60%;
}


.settings_div .setting_dp_div {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 62px;
}

.settings_div .setting_dp {
  border-radius: 50%;
  border: 2px solid #1a73e8;
  width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
  object-fit: cover;
  pointer-events: none;
}

.settings_div a {
  cursor: pointer;
}

.settings_div .setting_dp_edit {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: #fff url("../../assets/edit.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 14px !important;
  border: 2px solid #1a73e8;
  border-radius: 50%;
  cursor: pointer;
}



.settings_div .tip {
  font-size: 12px;
  margin: 0;
}

.settings_div .tip span {
  color: palevioletred;
}

.settings_div .desc-tip {
  font-size: 12px;
  margin: 0;
  color: #999;
}


.settings_div input[type=text], .settings_div input[type=url] {
  padding: 12px 92px 12px 14px;
  margin: 6px 0 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  color: #000 !important;
  text-align: left !important;
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -o-user-select: text;
  -ms-user-select: text;
  user-select: text;
  outline: none;
  box-sizing: border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing: border-box;
  box-shadow: 0 3px 8px -3px #0001;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}


.settings_div input:focus, .settings_div select:focus {
  border-color: #268BD2;
}


.settings_div .error {
  color: #d1574f;
  font-size: 12px;
  padding: 8px 2px 0px 2px;
  text-align: left;
}

.settings_div .settings_success_div {
	display: none;
  position: relative;
  background: #0009;
  background: darkGreen;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  text-align: center;
  padding: 4px 8px;
  -webkit-transition: bottom 0.45s ease-in-out;
	-moz-transition:    bottom 0.45s ease-in-out;
	-ms-transition:     bottom 0.45s ease-in-out;
	-o-transition:      bottom 0.45s ease-in-out;
	transition:         bottom 0.45s ease-in-out;
}


.settings_div .save {
  position: relative;
  top: 0px;
  background-color: #111;
  color: #fff;
  border-radius: 4px;
  padding: 8px 24px;
  margin: 0;
}


.settings_div .add_endpoint {
  position: relative;
  top: 0px;
  background: #111 url("../../assets/create_post_03.png");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: 16px center;
  color: #fff;
  border-radius: 4px;
  padding: 8px 24px 8px 48px;
  margin: 0;
  opacity: 0.9;
}

.settings_div .add_endpoint:hover {
  text-decoration: none;
  color: #fff;
  opacity: 1;
}


.main_table {
  width: 100%;
  display: table;
  table-layout: fixed;
}

.empty_table {
  content: "You have no webhook endpoints to show";
  margin: 0 auto;
  padding: 80px 8px 16px 8px;
  color: #999;
  display: block;
  background: url("../../assets/farebin_em.png");
  background-size: 48px;
  background-repeat: no-repeat;
  background-position: center 32px;
  text-align: center;
}

.empty_table:before {
  content: "Webhooks\A";
  white-space:pre;
  font-size: 18px;
  font-weight: bold;
  color: #aaa;
}

.empty_table:after {
  content: "You have no webhook endpoints to show";
}

.empty_table.no_permission:after {
  content: "You don't have permission to access webhooks.";
}

.main_table .table_head div {
  font-weight: bold;
  font-size: 12px;
}

.main_table .table_row {
  display: table-row;
  width: 100%;
}

.main_table .table_row .table_col {
  display: table-cell;
  border-bottom: 1px solid #ccc;
  width: 80px;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing: border-box;
  border-left: 1px solid #ccc;
}

.main_table .table_row .table_col.status {
  padding: 8px 0;
  text-align: center;
}

.main_table .table_row .url {
  width: calc(100% - 200px);
  border-left: none;
}

.main_table .table_body .url {
  position: relative;
  background: url("../../assets/url_icon.png");
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: left 40%;
  padding: 8px 0 8px 24px;
  border-right: 1px solid #ccc;
}

.main_table .table_body .url p {
  margin: 0;
  padding: 0 56px 0 0;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.main_table .table_body .url .copy {
  background: transparent url("../../assets/copy.png");
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: center;
  width: 40px;
  height: 32px;
  position: absolute;
  top: 1px;
  right: 8px;
  padding-top: 6px;
  cursor: pointer;
  filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%);
  opacity: 0.8;
}


.main_table .table_body .url .copy:hover {
  opacity: 1;
}

.main_table .table_body .url .copy_response_feedback_icon {
  background: transparent !important;
}

.main_table .table_body .url .copy_response_feedback_icon:after {
  background: transparent !important;
  content: '\2713';
  color: green;
  font-weight: bold;
  text-align: center;
  align-items: center;
  vertical-align: middle;
  position: absolute !important;
  top: 0 !important;
  left: auto !important;
  right: 8px !important;
  width: 20px !important;
  height: 40px !important;
  padding-top: 10px;
}

.main_table .table_body.disabled .url {
  color: #aaa;
}


.main_table .table_body .status.active p {
  display: inline-block;
  color: #117417;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding: 0 8px;
  margin: 0;
  background: #D7F7C2;
  border-radius: 8px;
  border: 1px solid #117417;
}

.main_table .table_body .status.disabled p {
  display: inline-block;
  color: palevioletred;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding: 0 8px;
  margin: 0;
  background: #fcdcdc;
  border-radius: 8px;
  border: 1px solid palevioletred;
}

.main_table .table_body .options {
  overflow: visible;
  position: relative;
  background: url("../../assets/more.png");
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: 98% 40%;
  width: 40px;
  height: 32px;
  opacity: 1;
}

.main_table .table_body .options:hover {
  opacity: 1;
  cursor: pointer;
}



.more_options_div {
  position: absolute;
  bottom: 8px;
  right: 0px;
  width: 250px;
  display: none;
  box-shadow: 0 3px 16px -3px #0006 !important;
  border-radius: 4px !important;
  z-index: 999999999;
  background: #fff;
  border: 1px solid #e2e2e2;
}


.more_options_div .more_options_div_a {
  position: relative;
  display: block;
  padding: 6px 8px !important;
}

.more_options_div .more_options_delete {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.more_options_div .more_options_save {
  border-bottom: 1px solid #e2e2e2;
  font-weight: bold;
}

.more_options_div .more_options_div_a:hover {
  cursor: pointer;
  background-color: #f4f4f4;
}

.more_options_div .more_options_div_a span {
  text-decoration: none;
  color: #333;
  display: inline-block;
  position: relative;
  top: 1px;
}

.more_options_div .more_options_delete span, .more_options_div .more_options_disable span {
  color: palevioletred;
  font-weight: bold;
}

.more_options_div .more_options_disable.disabled span {
  color: #117417;
  font-weight: bold;
}

.table_body.disabled .more_options_div .more_options_test {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.more_options_div img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  margin-right: 8px;
  display: inline-block;
  border: none !important;
  position: relative;
  top: -1px;
}

.more_options_div .more_options_disable img {
  padding: 2px;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.more_options_div .more_options_disable.disabled img {
  padding: 1px;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.more_options_div .more_options_edit img {
  padding: 7px 7px;
}

.more_options_div .more_options_edit {
  border-bottom: 1px solid #e2e2e2;
}

.more_options_div .more_options_test {
  /* font-weight: bold; */
  /* background: url('../../assets/chevron-right-dark-24px.png');
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: calc(100% - 8px) 45%; */
}

.more_options_div input {
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 12px;
  pointer-events: none;
  /* accent-color: #000; */
  opacity: 0.7;
}







  /* SAVE TEMPLATE */

  .save_endpoint_div, .test_endpoint_div {
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 15%;
    /* max-height: 90%; */
    width: 70%;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #000;
    box-shadow: 0 3px 16px -3px #0005;
    z-index: 99999999999;
  }


  .save_endpoint_div .top_controls, .test_endpoint_div .top_controls {
    position: relative;
    padding: 24px 8px;
    display: block;
    margin: 8px 32px;
    width: calc(100% - 64px);
    border-bottom: 1px solid #ccc;
  }

  .save_endpoint_div h2 {
    font-size: 18px;
    display: inline;
    padding-left: 38px;
    background: url('../../assets/url_icon.png');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: left center;
  }

  .close_save_endpoint_div, .close_test_endpoint_div {
    position: absolute;
    top: 17px;
    right: 0;
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url('../../assets/close.png');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: left center;
    margin: 0;
    opacity: 0.5;
    cursor: pointer;
  }

  .close_save_endpoint_div {
    right: -32px;
  }

  .close_save_endpoint_div:hover, .close_test_endpoint_div:hover {
    opacity: 1;
    cursor: pointer;
  }


  .save_endpoint_div div {
    display: block;
    margin: 0 32px;
    padding: 8px 8px 0 8px;
  }


  .save_endpoint_div div p {
    font-size: 12px;
    margin: 0;
  }

  .save_endpoint_div div p .required_tip {
    color: palevioletred;
  }

  .save_endpoint_div div input {
    padding: 12px 14px;
    margin: 6px 0 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    color: #000 !important;
    text-align: left !important;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    -ms-user-select: text;
    user-select: text;
    outline: none;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    box-shadow: 0 3px 8px -3px #0001;
  }


  .save_endpoint_div div input:focus, .save_endpoint_div div select:focus {
    border-color: #268BD2;
  }


  .save_endpoint_div .search_bar_events {
    background: #fff url("../../assets/search-hover.png") !important;
    background-repeat: no-repeat !important;
    background-position: 10px center !important;
    background-size: 17px !important;
    padding-left: 30px;
  }


  .add_events_div {
  }

  .add_events_div .events_list_div {
    margin: 8px 0 0 0;
    padding: 0 8px 16px 8px;
    height: 222px;
    overflow: hidden;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 3px 8px -3px #0001;
  }

  .collapsible {
    position: relative;
    background-color: transparent;
    cursor: pointer;
    padding: 16px 94px 16px 0px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 14px;
    color: #000;
  }

  .collapsible span {
    position: absolute;
    top: calc(50% - 3px);
    right: 8px;
    width: auto;
    height: 8px;
    background: url("../../assets/dropdown_dark.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 12px;
    transform: rotate(0deg);
    padding: 0 24px 0 0;
    font-size: 12px;
    color: #999;
    line-height: 8px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: top;
  }

  .collapsible.active span {
    transform: rotate(180deg);
    content: "";
    width: 12px;
    padding: 0;
    color: transparent;
  }

  .content {
    padding: 0 2px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: transparent;
  	font-size: 15px;
    color: #444;
    width: 100%;
    margin: 0 !important;
    left: 0;
    border-bottom: 1px solid #ddd;
  }

  .content ul, .test_endpoint_div ul {
    list-style: none;
    padding: 0;
  }

  .content ul li, .test_endpoint_div ul li {
    /* background: red; */
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
  }

  .content ul li:last-child, .test_endpoint_div ul li:last-child {
    border-bottom: none;
  }

  .content ul li:nth-child(odd), .test_endpoint_div ul li:nth-child(odd) {
    background-color: #f9f9f9;
  }

  .content ul li input, .test_endpoint_div ul li input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    float: left;
    margin-right: 8px;
  }

  .content ul li .event_title, .test_endpoint_div ul li .event_title {
    font-weight: bold;
    cursor: pointer;
  }



  .save_endpoint_div .error {
    display: block;
    padding: 4px 0px;
    margin: 0 0 8px 0;
    color: palevioletred;
    font-size: 12px;
   }


  .save_endpoint_div .bottom_controls {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 32px 8px;
    display: block;
    margin: 8px 32px;
    /* border-top: 1px solid #ccc; */
  }

  .save_endpoint_div .bottom_controls .save_webhook_btn {
    display: inline-block;
    position: relative;
    background-color: #111;
    color: #fff;
    border-radius: 4px;
    padding: 8px 32px;
    margin: 0;
    cursor: pointer;
  }


  .save_endpoint_div .bottom_controls .save_webhook_btn_loading {
    background: #fff !important;
    margin: auto;
    padding: 8px !important;
    border: 4px solid transparent !important;
    border-bottom: 4px solid #1a73e8 !important;
    border-left: 4px solid #1a73e8 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    z-index: 999;
    overflow: hidden !important;
    color: transparent !important;
    animation: spin 0.45s linear infinite;
    pointer-events: none !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }


  .save_endpoint_div .bottom_controls .save_webhook_btn_loading:focus, .save_endpoint_div .bottom_controls .save_webhook_btn_loading:hover {
    background: #fff !important;
  }


  .bottom_controls .save_webhook_success {
    padding: 2px 8px 6px 12px;
    display: block;
    margin: 0 auto;
    font-size: 14px !important;
    font-weight: bold;
    text-align: left;
    background: #E7FDF5;
    color: #2D7548;
    border: 2px solid #7EAF94;
    border-radius: 4px;
    box-shadow: 0 3px 16px -3px  rgba(0, 255, 0, 0.05);
    align-items: center;
  }

  .bottom_controls .save_webhook_success span {
    position: relative;
    display: inline-block;
    top: 2px;
    font-size: 18px !important;
    font-weight: bold;
    text-align: center;
    height: 24px;
    width: 24px;
    margin-right: 8px;
    border-radius: 5px;
    background: #2D7548;
    color: #fff;
  }


  /* TEST ENDPOINT DIV */

  .test_endpoint_div h2 {
    font-size: 18px;
    display: inline;
    padding-left: 38px;
    background: url('../../assets/play.png');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: left center;
  }


.test_endpoint_div .parent_container {
  position: relative;
  padding: 8px 24px;
  height: calc(100% - 90px) !important;
}

.test_endpoint_div .parent_container .test_inner_div {
  position: relative;
  padding: 0;
  height: calc(100% - 190px) !important;
  overflow: auto;
}


.code-container {
  display: block;
  position: relative;
}

.code-container pre {
  position: relative;
  display: block;
  margin: 0;
  height: 200px;
  overflow-y: auto;
  /* background: #282c34; */
  /* color: #f2f4f5; */
}

  .test_endpoint_div select {
     padding: 12px 30px 12px 14px;
     margin: 0 0 8px 0;
     border: 1px solid #ccc;
     border-radius: 8px;
     color: #000 !important;
     text-align: left !important;
     -webkit-user-select: text;
     -khtml-user-select: text;
     -moz-user-select: text;
     -o-user-select: text;
     -ms-user-select: text;
     user-select: text;
     outline: none;
     box-sizing: border-box;
     -webkit-box-sizing:border-box;
     -moz-box-sizing: border-box;
     box-shadow: 0 3px 8px -3px #0001;
     -moz-appearance:none; /* Firefox */
     -webkit-appearance:none; /* Safari and Chrome */
     appearance:none;
     background: #fff url('../../assets/dropdown_dark.png');
     background-size: 11px;
     background-repeat: no-repeat;
     background-position: calc(100% - 12px) center;
     cursor: pointer;
     width: 100%;
  }

  .test_endpoint_div input {
    padding: 12px 14px;
    margin: 6px 0 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    color: #268BD2 !important;
    text-align: left !important;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    -ms-user-select: text;
    user-select: text;
    outline: none;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    box-shadow: 0 3px 8px -3px #0001;
  }


  .test_endpoint_div input:focus, .test_endpoint_div select:focus {
    border-color: #268BD2;
  }


  .test_endpoint_div .bottom_controls {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 24px 8px;
    display: block;
    margin: 8px 32px;
    border-top: 1px solid #ccc;
    background: white;
  }

  .test_endpoint_div .test_webhook_btn {
    display: inline-block;
    position: relative;
    background-color: #111;
    color: #fff;
    border-radius: 4px;
    padding: 8px 32px;
    margin: 0;
    cursor: pointer;
  }


  .test_endpoint_div .test_webhook_btn_loading {
    background: #fff !important;
    margin: auto;
    padding: 8px !important;
    border: 4px solid transparent !important;
    border-bottom: 4px solid #1a73e8 !important;
    border-left: 4px solid #1a73e8 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    z-index: 999;
    overflow: hidden !important;
    color: transparent !important;
    animation: spin 0.45s linear infinite;
    pointer-events: none !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }


  .test_endpoint_div .test_webhook_btn_loading:focus, .test_endpoint_div .test_webhook_btn_loading:hover {
    background: #fff !important;
  }


  .test_endpoint_div .test_webhook_success {
    display: inline-block;
    width: calc(100% - 0px);
    max-height: 200px;
    overflow: auto;
    margin: 8px auto 0 auto;
    font-size: 12px !important;
    font-weight: bold;
    text-align: left;
    background: #F5F6F8;
    color: #444;
    border: 1px solid #bbb;
    border-radius: 4px;
    box-shadow: 0 3px 16px -3px  rgba(0, 255, 0, 0.05);
    align-items: center;
  }

  .test_endpoint_div .test_webhook_success_head {
    background: #EBEEF1;
    padding: 3px 8px;
  }

  .test_endpoint_div .test_webhook_success_body {
    padding: 3px 8px 3px 12px;
    min-height: 24px;
  }







@media (max-width: 850px) {
  .main_div {
    width: 80%;
  }
  .create_new.add_new {
    display: none;
  }

  .test_endpoint_div, .save_endpoint_div {
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 5%;
    width: 90%;
  }

}

@media (max-width: 450px) {
  .main_div {
    width: 98%;
    padding: 16px 16px;
  }

  .test_endpoint_div, .save_endpoint_div {
    top: 1%;
    bottom: 1%;
    left: 2%;
    width: 96%;
  }
}


@media (max-width: 380px) {
  .test_endpoint_div, .save_endpoint_div {
    top: 0%;
    bottom: 0%;
    left: 0%;
    width: 100%;
  }
}
