body {
  overflow-y: scroll;
}


.header {
  /* left: 16px; */
  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;
}

.header .header_bottom .nav_ul li.no_href {
  margin: 0 !important;
  font-weight: normal;
  cursor: pointer;
}




.app-search {
  padding-bottom: 6px;
  display: block;
  position: absolute;
  top: 14px;
  left: calc(50% - 225px);
  /* right: 48px; */
  margin: 0;
  height: 32px;
  width: 450px;
  pointer-events: none;
}



.header .header_top .search_bar {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  height: 32px;
  width: 100%;
}




.app-search-filter {
  position: absolute !important;
  right: 2px;
  top: 0;
  width: 32px !important;
  height: 32px !important;
  opacity: 0.9 !important;
  cursor: pointer !important;
  padding: 9px !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
  -webkit-box-sizing:border-box !important;
  -moz-box-sizing: border-box !important;
  border-radius: 50%;
  -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 !important; */
  /* display: none; */
}

.app-search-filter:hover {
  opacity: 1 !important;
}


.app-filter-dropdown {
  display: none;
  position: absolute;
  background: #fff;
  top: 35px;
  left: 0;
  right: 0;
  z-index: 99999;
  color: #333 !important;
  font-size: 14px !important;
  height: auto;
  max-height: 268px;
  overflow: hidden;
  margin: 0;
  padding: 16px 0 0 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border: 1px solid #bbb !important;
  border-color: transparent #bbb #bbb #bbb;
  box-shadow: 0 3px 16px -3px #0004;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


.app-filter-dropdown .app-filter-clear {
  position: relative;
  top: 0px;
  float: right;
  width: 32px;
  margin: 0 12px 0 0;
  font-size: 13px;
  color: #1a73e8;
  cursor: pointer;
  text-decoration: none;
}



.app-filter-heading {
  display: inline-block;
  position: relative;
  margin: 0 auto 2px 12px;
  height: 32px;
  width: calc(100% - 68px);
  color: #999;
}


.folder_search_bar:focus {
  border-color: #268BD2 !important;
  /* border-color: #ccc !important; */
 }

 .folder_search_bar:-webkit-autofill,
 .folder_search_bar:-webkit-autofill:hover,
 .folder_search_bar:-webkit-autofill:focus,
 .folder_search_bar:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
 }


.app-filter-dropdown ul {
  margin: 0;
  padding: 0 0 8px 0;
  height: auto;
  max-height: 172px;
  list-style: none;
  overflow: hidden;
  overflow-y: auto;
}


.app-filter-dropdown ul li {
  position: relative;
  padding: 4px 12px;
  margin: 0;
  color: #333;
  border-radius: 0px;
}

.app-filter-dropdown ul li input[type=checkbox] {
  position: relative;
  top: -1px;
  float: left;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  pointer-events: none;
  vertical-align: middle;
}

.app-filter-dropdown ul li span {
  vertical-align: middle;
}

.app-filter-dropdown ul li svg {
  position: absolute;
  top: 5px;
  right: 8px;
  vertical-align: middle;
}

.app-filter-dropdown ul li:hover {
  cursor: pointer;
  background: #f6f6f6;
  /* color: #fff; */
  /* background-color: #1a73e8 !important; */
}







.empty_div {
  position: relative;
  top: 68px;
  margin: 70px auto 0 auto;
  height: 325px;
  width: 80%;
  box-shadow: 0 8px 8px -3px #0001;
}

.empty_div .row {
    height: 100%;
    padding: 0 !important;
    border: 1px solid #999;
    border-right: 2px solid #444;
    border-bottom: 2px solid #444;
}

.empty_div .row .empty_left_div {
    height: 100%;
    margin: 0;
    padding: 32px;
    background: #fff;
}

.empty_div .row .empty_left_div h1 {
    color: #000;
    font-weight: bolder;
}

.empty_div .row .empty_left_div h4 {
    color: #000;
    line-height: 28px;
    /* font-weight: bold; */
}

.empty_div .row .empty_left_div .empty_create_new {
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 15px;
    /* font-weight: bold; */
    cursor: pointer;
    background: #000 url("../../assets/create_post_03.png");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) 49%;
    margin: 32px 0 0 0;
    padding: 10px 48px 10px 16px;
    border-radius: 4px;
    border: 1px solid #000;;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    opacity: 0.9;
}

.empty_div .row .empty_left_div .empty_create_new:hover, .empty_div .row .empty_left_div .empty_create_new:focus {
    text-decoration: none;
    /* color: #268BD2; */
    opacity: 1;
    box-shadow: 0 3px 16px -3px #0005;
    /* background-color: #E5E7EB; */
    /* background-color: #FB651E; */
    /* border-right: 2px solid #268BD2;
    border-bottom: 2px solid #268BD2; */

}


.empty_div .row .empty_right_div {
    height: 100%;
    margin: 0;
    background: #FB651E url('../../assets/bk_large_trans.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}











/* SAVE TEMPLATE */

.save_reminder_popup, .reminder_details_popup, .template_div, .save_template_div, .sms_template_div, .sms_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_reminder_popup .top_controls, .reminder_details_popup .top_controls {
  position: relative;
  padding: 24px 8px;
  display: block;
  margin: 8px 32px;
  border-bottom: 1px solid #ccc;
}

.save_template_div .top_controls, .sms_save_template_div .top_controls, .template_div .top_controls, .sms_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_save_template_div .top_controls h2, .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;
}

.sms_save_template_div .top_controls h2, .sms_template_div .top_controls h2 {
  font-size: 18px;
  display: inline;
  padding-left: 38px;
  background: url('../../assets/sms.png');
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: left center;
}

.save_template_div .top_controls h2, .sms_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, .close_sms_save_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, .close_sms_save_template_div {
  right: -32px;
}

.close_save_template_div:hover, .close_template_div:hover, .close_sms_save_template_div:hover {
  opacity: 1;
  cursor: pointer;
}



  .template_div .search_div, .sms_template_div .search_div {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin: 0;
  }

  .template_div  .search_div .email_search_bar, .sms_template_div .sms_search_bar {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    margin: 16px auto 0 auto;
    height: 32px;
	  width: calc(100% - 88px);
    padding: 11px 24px 10px 26px;
	  background: #fff url("../../assets/search-hover.png") !important;
    background-repeat: no-repeat !important;
    background-position: 5px 48% !important;
    background-size: 17px !important;
    border-radius: 6px !important;
    border: none !important;
    border: 1px solid #aaa !important;
    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;
  }


  .template_div .email_search_bar:focus, .sms_template_div .sms_search_bar:focus {
    border-color: #268BD2 !important;
  }


  .template_div .email_search_bar:-webkit-autofill,
  .template_div .email_search_bar:-webkit-autofill:hover,
  .template_div .email_search_bar:-webkit-autofill:focus,
  .template_div .email_search_bar:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
  }

  .sms_template_div .sms_search_bar:-webkit-autofill,
  .sms_template_div .sms_search_bar:-webkit-autofill:hover,
  .sms_template_div .sms_search_bar:-webkit-autofill:focus,
  .sms_template_div .sms_search_bar:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
  }




  .template_div .temp_loading, .sms_template_div .temp_loading {
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    display: block;
    margin: auto;
    border: 3px solid transparent;
    border-bottom: 3px solid #268BD2;
    border-left: 3px solid #268BD2;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    z-index: 999;
    animation: spin 0.45s linear infinite;
  }


  .template_div .template_results, .sms_template_div .template_results {
    display: block;
    position: relative;
    margin: 16px auto 0 auto;
    height: calc(100% - 185px);
    width: calc(100% - 0);
    padding: 0 68px 16px 84px;
    list-style: none;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: pointer;
  }


  .template_results li, .sms_template_div .template_results li {
    position: relative;
    cursor: pointer;
    padding: 8px;
    margin: 8px 0 0 0;
    border-radius: 6px;
    border: 2px solid #fff;
    /* border: 1px solid #ddd; */
    /* background: transparent url("../../assets/add.png");
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) center; */
    box-shadow: 0 4px 6px -3px #0001;
    /* overflow: hidden; */
  }

  .template_results li:last-child {
    /* border: none; */
  }

  .template_results li:hover, .sms_template_div .template_results li:hover {
    background-color: #eee;
    z-index: 99;
    border: 2px solid #E1F2FF;
  }

  .template_results li.temp_no_results {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #999 !important;
  }

  .template_results li .temp_img {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 124px;
    padding: 8px;
    margin: 0 auto;
    border-radius: 4px;
    border: 2px solid #ccc;
    box-shadow: 0 4px 8px -3px #0002;
    background: #fff url("../../assets/pattern02.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: border 0.25s ease-in-out;
    -moz-transition: border 0.25s ease-in-out;
    -webkit-transition: border 0.25s ease-in-out;
  }

  .template_results li .temp_img img {
    object-fit: cover;
    object-position: left top;
    height: 100%;
    width: 100%;
    transition: object-position 0.6s ease-out;
    opacity: 0.9;
  }

  .template_results li .temp_img .custom_thumb {
    object-fit: cover;
    object-position: center;
    height: 32px;
    width: auto;
    transition: object-position 0.6s ease-out;
    opacity: 0.6;
  }

  .template_results li.none .temp_img .custom_thumb {
    position: relative;
    top: -4px;
    left: -6px;
    object-fit: cover;
    object-position: center;
    height: 40px;
    width: auto;
    transition: object-position 0.6s ease-out;
    opacity: 0.9;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    filter: invert(42%) sepia(9%) saturate(4689%) hue-rotate(317deg) brightness(102%) contrast(88%);
  }

  .template_results li:hover .temp_img img {
    opacity: 1;
  }

  .section_template_div .template_results li .temp_img img {
    display: block;
    padding: 8px 0;
    width: 85%;
    margin: 0 auto;
  }


  .section_template_div .template_results li:hover img {
    z-index: 99;
    object-fit: cover;
    object-position: left bottom;
    transition: object-position 2.5s ease-in;
    -moz-transition: object-position 2.5s ease-in;
    -webkit-transition: object-position 2.5s ease-in;
    /* transform: scale(1.5);  */
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  }

  .template_results .no_thumb img {
    padding: 32px;
    background-color: #eee;
  }


  .block_template_div .template_results li .temp_img img {
    object-fit: contain;
    object-position: center;
    transition: transform 0.2s ease-out;
  }

  .block_template_div .template_results li:hover img {
    z-index: 99;
    object-fit: contain;
    object-position: center;
    transition: transform 0.75s ease-in;
    transform: scale(1.05);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  }


  .template_results li p {
    display: inline-block;
    margin: 0;
    color: #999;
    font-size: 13px;
    vertical-align: top;
    overflow: hidden;
  }

  .template_results li .temp_title {
    position: absolute;
    left: 228px;
    top: 16px;
    height: auto;
    width: calc(100% - 280px);
    color: #000;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
  }


  .template_results li .temp_summary {
    position: relative;
    top: 32px;
    left: 16px;
    height: 74px;
    width: calc(100% - 240px);
    /* text-transform: capitalize; */
  }


  .template_results li .temp_time {
    /* display: none; */
    position: absolute;
    right: 38px;
    bottom: 22px;
    height: auto;
    width: 132px;
    font-size: 10px;
    font-weight: normal;
    text-align: right;
  }

  .template_results li .temp_type {
    position: absolute;
    left: 226px;
    bottom: 19px;
    height: auto;
    width: 160px;
    font-size: 12px;
    font-weight: bold;
    padding: 0 0 0 24px;
    background-size: 24px;
    background-position: left center;
    color: #444;
    text-align: left;
  }

  .template_results li .temp_folders {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 16px;
    width: 16px;
    opacity: 0;
    user-select: none;
    pointer-events: none;
    z-index: -1;
  }

  .template_results .section {
    background: url("../../assets/add_section.png");
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: 8px center;
  }

  .template_results .type_desc {
    background: url("../../assets/add_title_desc.png");
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: 8px center;
  }


  .template_results li:hover .temp_img {
    border: 2px solid #268BD2;
    box-shadow: 1px 8px 16px -1px #9996;
  }

  .template_results li .more_options_template {
    display: inline-block;
    position: absolute;
    top: 4px;
    right: 4px;
    background: url("../../assets/more.png");
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    /* transform: rotate(90deg); */
    z-index: 999999999;
    opacity: 1;
  }

  .template_results li .more_options_template:hover {
    opacity: 1;
    background-color: #e6e6e6;
  }

  .template_results li:hover .more_options_template {
    display: inline-block;
  }

  .template_results li .more_options_template ul {
    display: none;
    position: absolute;
    bottom: 12px;
    right: 14px;
    width: 150px;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 3px 16px -3px #0005 !important;
    border-radius: 4px !important;
    z-index: 999999999;
    background: #fff;
    border: 1px solid #ccc;
    /* transform: rotate(-90deg); */
  }

  .template_results li .more_options_template ul li {
    margin: 0;
    border: none;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    padding-left: 40px;
    cursor: pointer;
  }

  .template_results li .more_options_template ul li:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }

  .template_results li .more_options_template ul li:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: none;
  }

  .template_results li .more_options_template ul .more_options_template_delete {
    background: url("../../assets/delete.png");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: 12px center;
  }

  .template_results li .more_options_template ul .more_options_template_edit {
    background: url("../../assets/edit.png");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: 13px center;
  }

  .template_results li .more_options_template ul li:hover {
    background-color: #eee;
  }


/* Create new template */

  .template_div .blank .thumb, .sms_template_div .blank .thumb {
    position: relative;
    top: 0;
    height: calc(100% - 0px) !important;
    width: 100% !important;
    display: block;
    margin: 0 auto;
    user-select: none;
    text-decoration: none;
    overflow: hidden;
    border-radius: 4px;
    border: 2px solid #444;
    padding: 16px;
    background: #F26522 !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: padding 0.25s ease-in-out !important;
    -moz-transition: padding 0.25s ease-in-out !important;
  }


  .template_div .blank:hover .thumb, .sms_template_div .blank:hover .thumb {
    padding: 24px;
  }


  /* Checkbox selection */
  .template_li input[type=radio] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -32px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    pointer-events: none;
    vertical-align: middle;
  }


  /* Default template */

  .template_div .sparkle, .sms_template_div .sparkle {
    position: relative;
    display: block;
    /* top: 50%;
    transform: translateY(-50%); */
    /* vertical-align: middle; */
    width: 24px;
    height: 24px;
    margin: 6px 2px;
    /* float: left; */
  }

  .template_div .sparkle path:first-child, .sms_template_div .sparkle path:first-child {
    animation: sparkleLarge 2.75s linear infinite;
    -webkit-animation: sparkleLarge 2.75s linear infinite;
    fill: #c90 !important;
  }

  .template_div .sparkle path:last-child, .sms_template_div .sparkle path:last-child {
    animation: sparkle 2.75s linear infinite;
    -webkit-animation: sparkle 2.75s linear infinite;
    fill: #fcc319 !important;
  }

  /* also need keyframes and -moz-keyframes */
  @keyframes sparkle {
    8%, 41% {
        transform: translateX(-4px);
        -webkit-transform: translateX(-4px);
    }
    25%, 58% {
        transform: translateX(4px);
        -webkit-transform: translateX(4px);
    }
    75% {
        transform: translateX(-2px);
        -webkit-transform: translateX(-2px);
    }
    92% {
        transform: translateX(2px);
        -webkit-transform: translateX(2px);
    }
    0%, 100% {
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }
  }


  @keyframes sparkleLarge {
    8%, 41% {
        transform: translateX(4px);
        -webkit-transform: translateX(4px);
    }
    25%, 58% {
        transform: translateX(-4px);
        -webkit-transform: translateX(-4px);
    }
    75% {
        transform: translateX(2px);
        -webkit-transform: translateX(2px);
    }
    92% {
        transform: translateX(-2px);
        -webkit-transform: translateX(-2px);
    }
    0%, 100% {
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }
  }









/* Create or edit new template */
.save_template_div div, .sms_save_template_div div {
  display: block;
  margin: 0 32px;
  padding: 8px 8px 0 8px;
}


.save_template_div .input_controls, .sms_save_template_div .input_controls {
  height: calc(100% - 232px);
  display: block;
  overflow-y: auto;
  padding: 0 0 24px 0;
}


.save_template_div div p, .sms_save_template_div div p {
  font-size: 12px;
  margin: 0;
}

.save_template_div div input, .sms_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, .sms_save_template_div div input:focus, .sms_save_template_div div select:focus {
  border-color: #268BD2;
}


.save_template_div .email_body_div, .sms_save_template_div .email_body_div {
  margin-top: 24px;
  padding: 0;
}

.save_template_div .title_div, .sms_save_template_div .title_div {
  padding: 0;
}

.save_template_div .subject_div, .sms_save_template_div .subject_div {
  margin-top: 18px;
  padding: 0;
}

.save_template_div .input_controls .tip, .sms_save_template_div .input_controls .tip {
  color: #999;
  display: block;
  font-size: 12px;
  margin: 0 0 6px 0;
}


.sms_save_template_div .sms_body_div {
  margin-top: 24px;
  padding: 0;
}

.sms_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;
}

.sms_save_template_div .char_counter_div .char_counter_tip {
  color: #999;
  display: block;
  font-size: 12px;
  margin: 4px 0 6px 0;
}


.save_template_div .subject_div p, .save_template_div .email_body_div p, .sms_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 .email_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;
}

.sms_save_template_div .sms_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 .email_body_editor .ql-editor {
  min-height: 188px !important;
  max-height: 2000px !important;
  overflow-y: auto;
}

.sms_save_template_div .sms_body_editor .ql-editor {
  min-height: 140px !important;
  max-height: 2000px !important;
  overflow-y: auto;
}



.save_template_div .ql-container, .sms_save_template_div .ql-container {
  padding: 0 !important;
}


.save_template_div .ql-editor, .sms_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: 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  /* border: 1px solid #fff; */
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}


.save_template_div .ql-editor:focus {

}


.save_template_div .ql-toolbar, .sms_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 .email_body_div .ql-toolbar {
  z-index: 999999999 !important;
}

.sms_save_template_div .sms_body_div .ql-toolbar {
  z-index: 999999999 !important;
}

.save_template_div .ql-blank, .sms_save_template_div .ql-blank {
  /* background: red; */
  font-size: 12px;
}


.save_template_div .bottom_controls, .sms_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, .sms_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 .test_template_btn, .sms_save_template_div .bottom_controls .save_template_btn, .sms_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 .test_template_btn, .sms_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 .test_template_btn:hover, .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 .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;
}













.reminder_details_popup .reminder_avatar_popup {
  position: absolute;
  top: 8px;
  display: inline-block;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-right: 16px;
  border-radius: 50%;
  border: 1px solid #bbb;
  object-fit: cover;
  font-size: 12px;
  text-align: center;
  vertical-align: middle;
  line-height: 48px;
  background: url("../../assets/new_notify_02.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  opacity: 0;
}

.reminder_details_popup h2 {
  position: relative;
  display: inline-block;
  left: 60px;
  font-size: 18px;
  /* color: #F26522; */
  padding: 0;
  margin: 0;
  min-height: 24px;
  width: calc(100% - 165px);
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}



.close_save_reminder_popup, .close_reminder_details_popup {
  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;
}


.reminder_details_popup .delete_reminder_details_popup {
  position: absolute;
  top: 17px;
  right: 40px;
  display: inline-block;
  width: 32px;
  height: 32px;
  color: palevioletred;
  background: transparent url("../../assets/delete_icon.png");
  background-size: 33px;
  background-repeat: no-repeat;
  background-position: 8px center;
  cursor: pointer;
  opacity: 0.75;
  filter: invert(42%) sepia(9%) saturate(4689%) hue-rotate(317deg) brightness(102%) contrast(88%);
}


.reminder_details_popup .edit_reminder_details_popup {
  position: absolute;
  top: 17px;
  right: 65px;
  display: inline-block;
  width: 32px;
  height: 32px;
  color: #000;
  background: url("../../assets/edit.png");
  background-size: 17px;
  background-repeat: no-repeat;
  background-position: 8px center;
  cursor: pointer;
  opacity: 0.8;
}


.close_save_reminder_popup:hover, .top_control_btn:hover {
  opacity: 1;
  cursor: pointer;
}


.reminder_details_popup .reminder_details_tip {
  display: block;
  padding: 8px 8px 8px 40px;
  margin: 8px 32px 0 32px;
  background: url('../../assets/date_picker.png');
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: left center;
  font-size: 12px;
  color: #999;
}

.reminder_details_popup .reminder_details_tip_email_btn {
  cursor: pointer;
}

.reminder_details_popup .reminder_details_tip_email {
  margin: 0 32px;
  background: url('../../assets/edit.png');
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: 7px center;
}

.reminder_details_popup .reminder_details_tip_default {
  margin: 0 32px;
  background: url('../../assets/sms.png');
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: 1px center;
}


.reminder_details_popup ul {
  display: block;
  list-style: none;
  padding: 8px;
  margin: 0 32px;
  height: calc(100% - 188px);
  border-bottom: 1px dashed #ccc;
  overflow-y: auto;
}


.reminder_details_popup ul li {
  padding: 16px 8px;
  color: #000;
  border-bottom: 1px solid #ccc;
}

.reminder_details_popup ul li.reminder_details {
  padding: 8px 0 8px 6px;
  color: #000;
  font-size: 12px;
  border-bottom: 1px dashed #ccc;
  margin: 0;
}

.reminder_details_popup ul li.email_enabled {
  background-image: url("../../assets/email.png");
  background-repeat: no-repeat;
  background-position: calc(100% - 2px) center;
  background-size: 18px;
}

.reminder_details_popup ul li.sms_enabled {
  background-image: url("../../assets/sms.png");
  background-repeat: no-repeat;
  background-position: calc(100% - 2px) center;
  background-size: 17px;
}

/* .reminder_details_popup ul li.sms_enabled.email_enabled {
  background: url("../../assets/sms.png") calc(100% - 18px) 55% no-repeat, url("../../assets/email.png") calc(100% - 2px) center no-repeat;
  background-size: 18px;
} */

.reminder_details_popup ul li.reminder_details:nth-child(even) {
  background-color: #f4f4f4;
  /* background-color: #dfdfdf; */
}


.reminder_details_popup ul li .reminder_pos {
  display: inline-block;
  font-weight: bold;
  min-width: 100px;
}


.reminder_details_popup ul li .sched {
  margin-left: 8px;
  /* padding: 4px 12px; */
  font-style: italic;
  color: #000;
  /* border-radius: 4px; */
  /* border: 1px solid #999; */
  /* background: #F5F5EE; */
}














.save_reminder_popup {

}


.save_reminder_popup h2 {
  font-size: 18px;
  display: inline;
  padding-left: 38px;
  background: url('../../assets/date_picker.png');
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: left center;
}


.save_reminder_popup ul {
  height: calc(100% - 200px);
  list-style: none;
  padding: 0 24px 24px 24px;
  margin: 0 32px;
  overflow-y: scroll;
}


.save_reminder_popup ul li {
  position: relative;
  /* border-bottom: 1px solid #ccc; */
  margin: 8px 0 0 0;
  padding: 0 0 6px 0;
  /* background-color: #eee;
  border: 2px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 12px -3px #0002; */
}

.save_reminder_popup ul li:first-child {
  margin: 0;
}

.save_reminder_popup ul .reminder_li {
  border-bottom: 1px dashed #ddd;
  border: 1px dashed #ccc;
  border-radius: 8px;
  margin: 8px 0 8px 0;
  padding: 16px 0 13px 16px;
  background-color: #fbfbfb;
  box-shadow: 1px 2px 4px -1px #0001;
}

.save_reminder_popup ul .reminder_li:hover {
  border: 1px dashed #bbb;
  box-shadow: 1px 2px 5px -1px #0001;
}

.save_reminder_popup ul .reminder_li:nth-child(odd) {
  /* margin: 8px 0 16px 0; */
  /* background-color: #f8f8f8; */
  /* padding: 4px 0 4px 6px; */
  /* border-radius: 8px; */
  /* border-top: 1px dotted #ccc; */
}

.save_reminder_popup ul .add_reminder_li {
  border: none;
  margin-top: 16px;
  padding: 8px 0;
}

.save_reminder_popup ul .add_reminder_li a {
  padding: 8px 0;
  cursor: pointer;
  text-decoration: none;
  /* border: 1px solid;
  border-radius: 6px; */
}


.save_reminder_popup ul li * {
  display: inline-block;
}

.save_reminder_popup .name_div {
  display: block;
}

.save_reminder_popup .name_div p {
  display: block;
  font-size: 12px;
  margin: 0;
}

.save_reminder_popup ul li p span {
  color: palevioletred;
}

.save_reminder_popup .name_div input {
  display: block;
  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_reminder_popup ul li .name_div input:focus {
  border-color: #268BD2;
}


.save_reminder_popup ul li .tip {
  margin: 0 4px;
  min-width: 91px;
  text-align: center;
}



.save_reminder_popup ul li .turn {
  display: block;
  font-size: 12px;
  font-weight: bold;
  /* color: #000; */
  margin: 0 4px 8px 4px;
  margin-right: 16px;
}


.save_reminder_popup ul li select {
  width: calc(100%/3 - 56px);
  padding: 12px 30px 12px 14px;
  margin: 6px 0 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #000;
  text-align: left;
  -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;
  -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;
  box-shadow: 0 3px 8px -3px #0001;
  cursor: pointer;
}

.save_reminder_popup ul li select:focus {
  border-color: #268BD2;
}

.save_reminder_popup ul li select option:disabled {
  background: #eee;
}


.save_reminder_popup ul li .inner_filter_divs {
  position: relative;
  display: inline-block;
  /* width: 150px; */
  margin: 0 0 0 0;
  padding: 0;
  box-shadow: 0 3px 8px -3px #0001;
}


.save_reminder_popup ul li .email_msg_div {
  /* width: calc(100% - 700px); */
  /* width: calc(100%/2 - 31px); */
  width: calc(100% - 58px);
  /* min-width: 151px; */
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff url('../../assets/expand-dark.png');
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
}

.save_reminder_popup ul li .sms_msg_div {
  pointer-events: none;
  position: absolute;
  opacity: 0;
  display: none;
  width: 0;
  /* width: calc(100%/2 - 31px); */
  /* min-width: 151px; */
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff url('../../assets/expand-dark.png');
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
}


.save_reminder_popup ul li .email_msg_div a, .save_reminder_popup ul li .sms_msg_div a {
  display: inline-block;
  color: #222 !important;
  text-decoration: none;
  width: 100%;
  padding: 5px 30px 5px 34px;
  margin: 6px 0 8px 0;
  border: none;
  border-radius: 8px;
  box-sizing: border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing: border-box;
  box-shadow: 0 3px 8px -3px #0001;
  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: transparent url('../../assets/email.png');
  background-size: 26px;
  background-repeat: no-repeat;
  background-position: 6px 48%;
  cursor: pointer;
  vertical-align: middle;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  /* filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%); */
}

.save_reminder_popup ul li .sms_msg_div a {
  display: inline-block;
  background: transparent url('../../assets/sms.png');
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: 6px 60%;
}








.save_reminder_popup ul li .delete_reminder {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 9px;
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url('../../assets/delete_icon.png');
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: left center;
  margin: 0;
  opacity: 0.8;
  cursor: pointer;
}

.save_reminder_popup ul li .delete_reminder:hover {
  opacity: 1;
  cursor: pointer;
  filter: invert(42%) sepia(9%) saturate(4689%) hue-rotate(317deg) brightness(102%) contrast(88%);
}



.save_reminder_popup .error {
  display: block;
  padding: 4px 0px;
  margin: 0 0 8px 0;
  color: palevioletred;
  font-size: 12px;
 }


.save_reminder_popup .bottom_controls {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 16px 8px;
  display: block;
  margin: 8px 32px;
  /* border-top: 1px solid #ccc; */
}

.save_reminder_popup .bottom_controls .save_reminder_btn {
  display: inline-block;
  position: relative;
  background-color: #111;
  color: #fff;
  border-radius: 4px;
  border: 1px solid #000;
  padding: 8px 32px;
  margin: 0;
  cursor: pointer;
}

.save_reminder_popup .bottom_controls .save_reminder_btn:hover {
  background-color: #000;
  box-shadow: 1px 2px 4px -1px #0005;
}


.bottom_controls .save_reminder_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_reminder_btn_loading:focus, .bottom_controls .save_reminder_btn_loading:hover {
  background: #fff !important;
}

.bottom_controls p {
  font-size: 12px;
  margin: 0;
}

.bottom_controls .error {
  display: inline-block;
  padding: 4px 0px;
  margin: 0 0 8px 8px;
  color: palevioletred;
  font-size: 12px;
  width: calc(100% - 190px);
  vertical-align: middle;
 }


.bottom_controls .save_reminder_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_reminder_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;
}



.upgrade_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;
}

.upgrade_div .top_controls {
  position: relative;
  padding: 24px 8px;
  display: block;
  margin: 8px 32px;
  border-bottom: 1px solid #ccc;
}

  .upgrade_div h2 {
    color: #000;
    font-size: 18px;
    display: inline;
    opacity: 0.8;
  }


  .close_upgrade_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_upgrade_div:hover {
    opacity: 1;
    cursor: pointer;
  }


  .upgrade_div .pattern_upgrade_div {
    width: 400px;
    height: 150px;
    overflow: hidden;
    margin: 0 auto;
  }

  .upgrade_div .pattern_upgrade_div .enterprise_pattern {
    top: 65px;
  }

  .upgrade_div .select_plan_div {
    width: 400px;
    margin: 0 auto;
  }

  .upgrade_div h1 {
    color: #000;
    font-weight: bolder;
  }

 .upgrade_div h4 {
    color: #000;
    line-height: 28px;
  }

  .upgrade_div .see_plans {
      position: relative;
      display: inline-block;
      color: #fff;
      font-weight: bold;
      cursor: pointer;
      background: #000 url("../../assets/chevron-right-light-24px.png");
      background-size: 18px;
      background-repeat: no-repeat;
      background-position: calc(100% - 8px) 49%;
      margin: 16px 0 0 0;
      padding: 12px 48px 12px 16px;
      border-radius: 6px;
      border: 1px solid #000;;
      border-right: 2px solid #000;
      border-bottom: 2px solid #000;
      opacity: 0.9;
  }

  .upgrade_div .see_plans:hover, .upgrade_div .see_plans:focus {
      text-decoration: none;
      color: #fff;
      opacity: 1;
  }

  .upgrade_div .back_home {
      display: inline-block;
      padding: 2px 16px;
  }





.upgrade_needed {
  /* pointer-events: none !important; */
}

.upgrade_needed a {
  color: #999;
  text-decoration: none;
  background: url("../../assets/locked.png") !important;
  background-repeat: no-repeat !important;
  background-position: 10px 49% !important;
  background-size: 13px !important;
  padding-left: 20px;
  pointer-events: none !important;
}

.upgrade_needed * {
  pointer-events: none !important;
}



.main_divs {
  display: block;
  position: relative;
  /* background: red; */
  top: 105px;
  margin: 16px auto 0 auto;
  height: calc(100% - 105px);
  width: calc(100% - 0);
  padding: 0 76px 16px 76px;
  list-style: none;
}


.search_results_div .search_results_div_head {
  position: relative;
  margin: 24px 0 0 0;
  padding: 8px;
  height: 46px;
}


.search_results_div .search_results_tip {
  font-size: 15px;
  font-weight: bold;
  background: url("../../assets/new_notify.png") !important;
  background-repeat: no-repeat !important;
  background-position: left 20% !important;
  background-size: 19px !important;
  padding-left: 26px;
  /* margin-top: 16px !important; */
  /* filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%); */
}


.main_divs ul {
  position: relative;
  display: block;
  padding: 0;
  list-style: none;
  border: 1px solid #ccc;
}



.main_divs ul li {
  position: relative;
  border: 1px solid #ccc;
  border-color: transparent transparent #ccc transparent;
  border-radius: 0px;
  padding: 16px 8px 16px 12px;
  margin: 0;
  cursor: pointer;
  /* box-shadow: 0 4px 6px -3px #0001; */
  -webkit-transition: box-shadow 0.35s ease-in-out, background-color 0.25s ease-in-out;
  -moz-transition:    box-shadow 0.35s ease-in-out, background-color 0.25s ease-in-out;
  -ms-transition:     box-shadow 0.35s ease-in-out, background-color 0.25s ease-in-out;
  -o-transition:      box-shadow 0.35s ease-in-out, background-color 0.25s ease-in-out;
  transition:         box-shadow 0.35s ease-in-out, background-color 0.25s ease-in-out;
}

.main_divs ul li:first-child {
  /* border-color: #ccc transparent #ccc transparent; */
}

.main_divs ul li:last-child {
  border-color: transparent;
}

.main_divs ul li:hover {
  /* background: #FDFDF8 url("../../assets/preview.png"); */
  background: #E8E8E2 url("../../assets/preview.png");
  background-repeat: no-repeat;
  background-position: calc(100% - 32px) center;
  background-size: 24px;
  /* border-color: #ccc #ccc #aaa #ccc; */
  /* box-shadow: 0 4px 12px -3px #0001; */
  border-color: transparent transparent #bfbfbf transparent;
  box-shadow: inset 0 0 2px rgba(50, 50, 50, 0.1);
}


.hover_avatar {
  position: fixed;
  display: inline-block;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-right: 16px;
  border-radius: 50%;
  border: 1px solid #bbb;
  object-fit: cover;
  font-size: 16px;
  text-align: center;
  vertical-align: middle;
  line-height: 48px;
  background: url("../../assets/new_notify_02.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  z-index: 999999999999999999999999999999999;
}

.hover_avatar.transition_class {
  /* color: #f4f4f4; */
  background-color: #FDFDF8;
  -webkit-transition: top 0.25s ease-in-out, left 0.25s ease-in-out, width 0.35s ease-in-out, height 0.25s ease-in-out, font-size 0.25s ease-in-out, color 0.35s ease-in-out;
  -moz-transition:    top 0.25s ease-in-out, left 0.25s ease-in-out, width 0.35s ease-in-out, height 0.25s ease-in-out, font-size 0.25s ease-in-out, color 0.35s ease-in-out;
  -ms-transition:     top 0.25s ease-in-out, left 0.25s ease-in-out, width 0.35s ease-in-out, height 0.25s ease-in-out, font-size 0.25s ease-in-out, color 0.35s ease-in-out;
  -o-transition:      top 0.25s ease-in-out, left 0.25s ease-in-out, width 0.35s ease-in-out, height 0.25s ease-in-out, font-size 0.25s ease-in-out, color 0.35s ease-in-out;
  transition:         top 0.25s ease-in-out, left 0.25s ease-in-out, width 0.35s ease-in-out, height 0.25s ease-in-out, font-size 0.25s ease-in-out, color 0.35s ease-in-out;
}


.main_divs ul li .avatar {
  display: inline-block;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-right: 13px;
  border-radius: 50%;
  border: 1px solid #bbb;
  object-fit: cover;
  font-size: 16px;
  text-align: center;
  vertical-align: middle;
  line-height: 48px;
  background: url("../../assets/new_notify_02.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  opacity: 1;
  -webkit-transition: opacity 0.15s ease-in-out;
  -moz-transition:    opacity 0.15s ease-in-out;
  -ms-transition:     opacity 0.15s ease-in-out;
  -o-transition:      opacity 0.15s ease-in-out;
  transition:         opacity 0.15s ease-in-out;
  /* filter: invert(72%) sepia(55%) saturate(7499%) hue-rotate(348deg) brightness(98%) contrast(93%); */
  /* filter: invert(69%) sepia(57%) saturate(7494%) hue-rotate(350deg) brightness(102%) contrast(90%); */
}

.main_divs ul li .email {
  position: absolute;
  top: 42px;
  left: 74px;
  display: inline-block;
  font-weight: normal;
  color: #999;
}

.main_divs ul li .name {
  position: relative;
  top: 4px;
  vertical-align: top;
  display: inline-block;
  font-weight: bold;
}

.main_divs ul li .name span {
  display: inline-block;
  color: #999;
  font-weight: normal;
  margin-left: 8px;
}


.main_divs ul li svg {
  margin-left: 8px;
  vertical-align: top;
  position: absolute;
  top: 1px;
}


/* .main_divs ul li .is_active_badge {
  position: absolute;
  top: 23px;
  right: 24px;
  background: url("../../assets/use_template_icon.png");
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: center;
  width: 32px;
  height: 32px;
} */



.main_divs ul li .more_options {
  display: none;
  position: absolute;
  top: 23px;
  right: 0px;
  background: url("../../assets/more.png");
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  opacity: 0.6;
}

.main_divs ul li:hover .more_options {
  display: block;
}

.main_divs ul li .more_options:hover {
  opacity: 1;
}



.main_divs ul li .more_options_div {
  position: absolute;
  top: 52px;
  /* bottom: -64px; */
  right: 8px;
  width: 150px;
  display: none;
  box-shadow: 0 4px 16px -3px #0003;
  border-radius: 8px !important;
  z-index: 999999999;
  background: #fff;
  border: 1px solid #bbb;
  padding: 8px;
}


.main_divs ul li .more_options_div .more_options_div_a {
  position: relative;
  display: block;
  padding: 3px 8px !important;
  vertical-align: middle;
}

.main_divs ul li .more_options_div .more_options_delete {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  /* border-bottom: 1px solid #e2e2e2; */
}

.main_divs ul li .more_options_div .more_options_delete span {
  color: palevioletred !important;
}

.main_divs ul li .more_options_div .more_options_edit {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.main_divs ul li .more_options_div .more_options_div_a:hover {
  cursor: pointer;
  background-color: #f4f4f4;
}

.main_divs ul li .more_options_div .more_options_div_a span {
  text-decoration: none;
  color: #000;
  display: inline-block;
  vertical-align: middle;
}

.main_divs ul li .more_options_div img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  margin-right: 8px;
  display: inline-block;
  border: none !important;
  position: relative;
  top: 0;
  background-color: transparent;
}

.main_divs ul li .more_options_div .more_options_edit img {
  padding: 7px 8px;
}






@media (max-width: 850px) {

  body {
    /* overflow: auto; */
  }

  .header {
    right: 0 !important;
    width: 100%;
  }

  .app-search {
    left: calc(50% - 125px) !important;
    width: 250px !important;
  }

  .header .header_bottom {
    padding: 0 8px;
  }

  /* .header_bottom .nav_ul li:nth-child(2), .header_bottom .nav_ul li:nth-child(4), .header_bottom .nav_ul li:last-child {
    display: none;
  } */

  .logo {
    min-width: 40px;
    padding: 8px 0;
    color: transparent;
  }

  .create_new {
    /* top: 15px; */
    right: 8px;
  }

  .create_new.add_new {
    padding: 6px 32px 6px 12px;
    font-size: 13px;
    background-position: calc(100% - 8px) 49%;
  }



  .main_divs {
    padding: 0 16px 16px 16px;
    width: 100%;
  }


  .main_divs ul li {
    height: auto;
    padding: 12px 8px 2px 12px;
  }

  .main_divs ul li .email {
    position: relative;
    top: -20px;
    left: 62px;
    width: calc(100% - 100px);
    display: inline-block;
    font-weight: normal;
    color: #999;
  }

  .main_divs ul li .name {
    width: calc(100% - 100px);
  }

  .main_divs ul li .more_options {
    display: block !important;
    top: 12px;
  }



  .save_reminder_popup, .reminder_details_popup, .template_div, .save_template_div, .sms_template_div, .sms_save_template_div {
    left: 1%;
    width: 98%;
  }


  .save_reminder_popup .top_controls, .reminder_details_popup .top_controls, .template_div .top_controls, .sms_template_div .top_controls, .save_template_div .top_controls, .sms_save_template_div .top_controls {
    padding: 24px 6px;
    margin: 8px 16px;
  }


  .save_reminder_popup ul {
    margin: 0 8px;
  }

  .template_div  .search_div .email_search_bar, .sms_template_div .sms_search_bar {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    margin: 16px auto 0 auto;
    height: 32px;
	  width: calc(100% - 40px);
  }

  .template_results {
    height: calc(100% - 185px);
    width: 100%;
    padding: 0 8px 16px 32px;
  }

  .template_results li .temp_img {
    width: 100px;
    height: 74px;
  }

  .template_results li .temp_title {
    left: 128px;
    top: 10px;
    width: calc(100% - 180px);
  }


  .template_results li .temp_summary {
    top: 26px;
    left: 16px;
    height: 40px;
    width: calc(100% - 124px);
  }

  .template_results li .more_options_template {
    top: 0px;
    right: -2px;
  }

  .template_li input[type=radio] {
    position: absolute;
    top: 50%;
    transform: translateY(-80%);
    left: -20px;
  }



  .save_template_div .input_controls, .save_template_div .subject_div, .save_template_div .email_body_div, .sms_save_template_div .input_controls, .sms_save_template_div .sms_body_div, div .title_div {
    margin: 0 8px;
  }

  .save_template_div .subject_div {
    margin-top: 24px;
  }

  .save_template_div .email_body_div {
    margin-top: 24px;
  }

  .sms_save_template_div .sms_body_div {
    margin-top: 24px;
  }



  .save_reminder_popup .bottom_controls, .save_template_div .bottom_controls, .sms_save_template_div .bottom_controls {
    margin: 8px 16px;
  }

  .save_reminder_popup ul li .tip {
    margin: 0 2px;
    min-width: 78px;
    font-size: 12px;
  }

  .upgrade_div {
    left: 1%;
    width: 98%;
    overflow: hidden;
  }

  .upgrade_div .top_controls {
    padding: 24px 6px;
    margin: 8px 16px 0 16px;
  }

  .upgrade_div .pattern_upgrade_div {
    width: 65%;
    height: 0px;
  }

  .upgrade_div .select_plan_div {
    width: 65%;
  }

}



@media (max-width: 450px) {

  .upgrade_div {
    left: 1%;
    width: 98%;
    overflow: hidden;
  }

  .upgrade_div .top_controls {
    padding: 24px 6px;
    margin: 8px 16px;
  }

  .upgrade_div .pattern_upgrade_div {
    width: 90%;
    height: 150px;
  }

  .upgrade_div .select_plan_div {
    width: 90%;
  }

  .upgrade_div .top_controls {
    margin: 8px 16px;
  }

  .save_reminder_popup ul li .email_msg_div, .save_reminder_popup ul li .sms_msg_div {
    display: inline-block;
    /* width: calc(100%/2 - 48px) !important; */
  }

  .main_divs ul li:hover {
    background: #FDFDF8;
    border-color: #ccc #ccc #aaa #ccc;
    box-shadow: 0 4px 12px -3px #0001;
  }

  .save_reminder_popup ul li select {
    width: calc(100%/3 - 51px);
  }

  .template_div .template_results, .sms_template_div .template_results {
    padding: 0 24px 16px 40px;
  }

  /* Checkbox selection */
  .template_li input[type=radio] {
    left: -24px;
  }

  .template_results li .temp_title {
    left: 128px;
    top: 10px;
    width: calc(100% - 164px);
  }

  .template_results li .more_options_template {
    top: 2px;
    right: -6px;
  }

  .save_reminder_popup ul li .delete_reminder {
    right: 12px;
    opacity: 1;
    /* filter: invert(42%) sepia(9%) saturate(4689%) hue-rotate(317deg) brightness(102%) contrast(88%); */
    /* position: absolute; */
    /* top: 20%;
    transform: translateY(0%); */
  }

  .save_reminder_popup .error {
    width: calc(100% - 140px);
  }

  .reminder_details_popup .reminder_details_tip_email {
    /* display: none; */
  }

  .reminder_details_popup ul {
    height: calc(100% - 232px);
  }
}
