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_ul li.no_href {
    margin: 0 !important;
    font-weight: normal;
    cursor: pointer;
  }
  
  .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);
    width: 60%;
    padding: 16px 76px 32px 76px;
    list-style: none;
  }

  .settings_div {
    pointer-events: none;
  }
  
  .settings_div div span.upgrade {
    display: none;
  }
  
  .settings_div .upgrade_needed span.upgrade {
    display: inline-block;
    position: relative;
    top: -2px;
    color: #268BD2;
    font-size: 12px;
    background: #E1F2FF;
    border-radius: 8px;
    border: 1px solid #268BD2;
    padding: 3px 8px;
    margin-left: 8px;
    box-shadow: 0 3px 8px -3px #0003;
  }
  
  .settings_div .upgrade_needed h4 {
    background: url("../../assets/locked.png") !important;
    background-repeat: no-repeat !important;
    background-position: left 25% !important;
    background-size: 14px !important;
    padding-left: 20px;
  }
  
  .settings_div .upgrade_needed * {
    pointer-events: none !important;
  }
  
  
  
  .settings_div hr {
    border-color: #ccc;
  }
  
  
  .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 .tip {
    color: #999;
    display: block;
    font-size: 12px;
    margin: 4px 0 6px 0;
  }

  .ersd_div a {
    padding: 8px 8px 8px 0;
    
  }


  label {
    position: relative;
    top: 1px;
  }


  
input[type="checkbox"] {
    position: relative;
    top: -2px;
    width: 18px;
    height: 18px;
    margin-right: 8px !important;
    cursor: pointer;
    vertical-align: middle;
}


input[type="email"], select {
  padding: 10px 14px;
  margin: 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;
}

input[type="email"]:focus{
  border-color: #268BD2;
}

.email_div .error {
  position: relative;
  left: 0 !important;
  display: block;
  padding: 4px 0px;
  margin: 0 0 8px 0 !important;
  color: palevioletred;
  font-size: 12px;
  width: 100% !important;
 }

.customize_ersd_div {

}

.customize_ersd_div .ersd_ul {
    list-style: none;
    padding: 0;
}

.customize_ersd_div .ersd_ul .ersd_li:not(.create_ersd) {
    position: relative;
    padding: 6px 4px;
    cursor: pointer;
    /* pointer-events: auto; */
    border-radius: 2px;
    border-bottom: 1px solid #eee;
    margin: 2px 0;
}

.customize_ersd_div .ersd_ul .ersd_li:not(.create_ersd):hover {
    /* background: #eee; */
    background-color: #eaeae4;
    /* border-bottom: 1px solid #ddd; */
}

.customize_ersd_div .ersd_ul .ersd_li .more_options {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
    background: url('../../assets/more.png');
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    opacity: 0.7;
    z-index: 1;
}

.customize_ersd_div .ersd_ul .ersd_li .more_options:hover {
    opacity: 1;
}

.customize_ersd_div .ersd_ul .ersd_li .more_options_ul {
    display: none;
    position: absolute;
    top: 8px;
    right: 6px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    z-index: 1000;
    list-style: none;
    padding: 6px;
    width: 132px;
    box-shadow: 0 3px 8px -3px #0003;
}

.customize_ersd_div .ersd_ul li .more_options_ul li {
    padding: 8px 0 8px 32px;
    cursor: pointer;
}

.customize_ersd_div .ersd_ul li .more_options_ul li:hover {
    background-color: #eee;
}

.customize_ersd_div .ersd_ul li .more_options_ul .edit_ersd {
    background: url('../../assets/edit.png');
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: 8px center;
    border-bottom: 1px solid #eee;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.customize_ersd_div .ersd_ul li .more_options_ul .delete_ersd {
    background: url('../../assets/delete_icon.png');
    background-size: 27px;
    background-repeat: no-repeat;
    background-position: 2px center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: palevioletred;
}


.customize_ersd_div .ersd_ul li label {
    cursor: pointer;
    max-width: calc(100% - 52px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.customize_ersd_div .ersd_ul li input[type="radio"] {
    pointer-events: none !important;
    position: relative;
    top: -2px;
    width: 18px;
    height: 18px;
    margin-right: 8px !important;
    cursor: pointer;
    vertical-align: middle;
}

.customize_ersd_div .create_ersd {
    position: relative;
    padding: 4px;
    cursor: pointer;    
    display: inline-block;
    margin-bottom: 16px;
}

.customize_ersd_div .create_ersd a {
    font-weight: bold;
    padding: 12px 14px 12px 26px !important;
    background: transparent url('../../assets/save_template.png');
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: left center;
    filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%);
    cursor: pointer;
    opacity: 0.85;
}

.customize_ersd_div .create_ersd a:hover, .customize_ersd_div .default_ersd a:focus {
    text-decoration: none;
    cursor: pointer;
    opacity: 1;
}






/* SAVE TEMPLATE */

.save_template_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: 9999999999;
  }
  
  
  .reminder_details_popup {
    opacity: 0;
  }
  
  
  .save_template_div .top_controls {
    position: relative;
    padding: 24px 8px;
    display: block;
    margin: 8px 32px;
    border-bottom: 1px solid #ccc;
  }
  
  .save_template_div .top_controls h2, .sms_template_div .top_controls h2 {
    font-size: 18px;
    display: inline;
    padding-left: 38px;
    background: url('../../assets/email.png');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: left center;
  }
  
  .save_template_div .top_controls h2 {
    background: url('../../assets/edit.png');
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 8px center;
  }
  
  
  .close_save_template_div, .close_template_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_template_div {
    right: -32px;
  }
  
  .close_save_template_div:hover, .close_template_div:hover {
    opacity: 1;
    cursor: pointer;
  }
  

  /* Create or edit new template */
.save_template_div div {
    display: block;
    margin: 0 32px;
    padding: 8px 8px 0 8px;
  }
  
  
  .save_template_div .input_controls {
    height: calc(100% - 232px);
    display: block;
    overflow-y: auto;
    padding: 0 0 24px 0;
  }
  
  
  .save_template_div div p {
    font-size: 12px;
    margin: 0;
  }
  
  .save_template_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_template_div div input:focus, .save_template_div div select:focus {
    border-color: #268BD2;
  }
  
  
  .save_template_div .sms_body_div {
    margin-top: 24px;
    padding: 0;
  }
  
  .save_template_div .char_counter_div {
    margin: 8px 0 0 0;
    padding: 0;
  }
  
  .char_counter {
    padding-right: 8px;
    border-right: 1px solid #ccc;
  }
  
  .sms_counter {
    padding-left: 4px;
  }
  
  .char_counter, .sms_counter {
    margin: 0 !important;
    display: inline-block !important;
    width: auto !important;
    cursor: default;
    color: #000;
  }
  
  .save_template_div .title_div {
    padding: 0;
  }
  
  .save_template_div .input_controls .tip {
    color: #999;
    display: block;
    font-size: 12px;
    margin: 0 0 6px 0;
  }
  
  .save_template_div .subject_div p, .save_template_div .sms_body_div p, .title_div p {
    display: block;
    font-size: 12px;
    margin: 0;
  }
  
  
  .save_template_div .subject_editor {
    height: auto;
    min-width: 100% !important;
    max-width: 100% !important;
    background-color: transparent;
    border: none !important;
    margin: 0;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 14px;
    z-index: 99999999;
  }
  
  
  .save_template_div .ersd_body_editor {
    height: auto;
    min-width: 100% !important;
    max-width: 100% !important;
    background-color: transparent;
    border: none !important;
    margin: 0;
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 14px;
    z-index: 99999999;
  }
  
  
  .save_template_div .subject_editor .ql-editor {
    min-height: 40px !important;
    max-height: 400px !important;
    overflow-y: auto;
  }
  
  .save_template_div .ersd_body_editor .ql-editor {
    min-height: 140px !important;
    max-height: 2000px !important;
    overflow-y: auto;
  }
  
  
  .save_template_div .ql-container {
    padding: 0 !important;
  }
  
  
  .save_template_div .ql-editor {
    /* height: 38px; */
    height: auto;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 16px !important;
    display: block;
    overflow: hidden;
    background-color: #fff;
    color: #000;
    border-radius: 8px;
    /* border: 1px solid #fff; */
    border: 1px solid #ccc;
  }
  
  
  .save_template_div .ql-editor:focus {
    border-color: #268BD2 !important;
  }
  
  
  .save_template_div .ql-toolbar {
    position: relative;
    width: 100%;
    margin: 0;
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #fff;
    /* border-bottom: none !important; */
    /* z-index: 9999999999999999 !important; */
    /* border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc; */
  }
  
  .save_template_div .subject_div .ql-toolbar {
    z-index: 9999999999999999999 !important;
  }
  
  .save_template_div .sms_body_div .ql-toolbar {
    z-index: 999999999 !important;
  }
  
  .save_template_div .ql-blank {
    /* background: red; */
    font-size: 12px;
  }
  
  
  .save_template_div .bottom_controls {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 32px 8px;
    display: block;
    margin: 8px 32px;
  }
  
  
  .save_template_div .error {
    position: relative;
    left: 0 !important;
    display: block;
    padding: 4px 0px;
    margin: 0 0 8px 0 !important;
    color: palevioletred;
    font-size: 12px;
    width: 100% !important;
   }
  
  
  .save_template_div .bottom_controls .save_template_btn, .save_template_div .bottom_controls .sms_test_template_btn {
    display: inline-block;
    position: relative;
    left: 0;
    background-color: #111;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #000;
    padding: 8px 32px;
    margin: 0;
    cursor: pointer;
  }
  
  .bottom_controls .save_template_btn:hover {
    background-color: #000;
    box-shadow: 1px 2px 4px -1px #0005;
  }
  
  .save_template_div .bottom_controls .sms_test_template_btn {
    background-color: #268BD2;
    color: #fff;
    font-weight: bold;
    border: 2px solid #1c71ad;
    margin: 0 0 0 2px;
  }
  
  .bottom_controls .sms_test_template_btn:hover {
    color: #fff;
    border: 2px solid #18669e;
    box-shadow: 1px 2px 4px -1px #0004;
  }
  
  
  .bottom_controls .save_template_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;
    pointer-events: none;
  }
  
  
  .bottom_controls .save_template_btn_loading:focus, .bottom_controls .save_template_btn_loading:hover {
    background: #fff !important;
  }
  
  
  .bottom_controls .itiTestSMS {
    display: none;
  }
  
  .intl-tel-input{
    display: none !important;
  }
  
  .bottom_controls .save_template_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_template_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;
  }
  