body {
  overflow-y: scroll;
}


.header {
  right: 16px;
  z-index: 999999999999;
}

.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;
}




.main_div {
  display: block;
  position: relative;
  /* background: red; */
  top: 116px;
  margin: 16px auto 0 auto;
  height: calc(100% - 105px);
  width: 90%;
  max-width: 1000px;
  padding: 16px 8px;
  list-style: none;
}


.template_div {
  margin: 0;
}

.template_div .top_controls {
  display: none !important;
  position: sticky;
  top: 117px;
  left: 0;
  right: 0;
  padding: 24px 8px;
  display: block;
  margin: 8px;
  border-bottom: 1px solid #ccc;
  background: #F5F5EE;
  box-shadow: 0 3px 16px -3px #0005;
  z-index: 999999999999999999 !important;
}


/* 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, .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;
}



  .search_div {
    padding-bottom: 6px;
    display: block;
    position: absolute;
    top: 14px;
    left: calc(50%);
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    /* right: 48px; */
    margin: 0;
    height: 32px;
    width: 450px;
    pointer-events: none;
  }

  .search_div .email_search_bar {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    /* right: 48px; */
    margin: 0;
    height: 32px;
	  width: 100%;
    padding: 11px 24px 10px 24px;
	  background: #FDFDF8 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;
    border: 1px solid #aaa;
    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;
  }


  .email_search_bar:focus {
    border-color: #268BD2 !important;
  }


  .email_search_bar:-webkit-autofill,
  .email_search_bar:-webkit-autofill:hover,
  .email_search_bar:-webkit-autofill:focus,
  .email_search_bar:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  }


  .template_div .template_tip {
    margin: 0;
    width: calc(100% - 0);
    padding: 0 24px 0 24px;
  }

  .template_div .template_tip p {
    color: #999;
    display: block;
    font-size: 12px;
    margin: 0;
  }


  .template_div .template_results {
    display: block;
    position: relative;
    margin: 0px auto 0 auto;
    /* height: calc(100% - 185px); */
    height: auto;
    width: calc(100% - 0);
    padding: 0 24px 16px 24px;
    list-style: none;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: pointer;
  }


  .template_div .template_results li {
    position: relative;
    cursor: default;
    padding: 8px;
    margin: 8px 0 8px 0;
    border-radius: 6px;
    border: 2px solid #ddd;
    /* 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_div .template_results li:last-child {
    /* border: none; */
  }

  .template_div .template_results li:hover {
    /* background-color: #eee; */
    z-index: 99;
    border: 2px solid #ccc;
  }

  .template_div .template_results li.temp_no_results {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #999 !important;
    margin-top: 16px;
    padding: 16px 0;
  }

  .template_div .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_div .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_div .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_div .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_div .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_div .template_results li p {
    display: inline-block;
    margin: 0;
    color: #999;
    font-size: 13px;
    vertical-align: top;
    overflow: hidden;
  }

  .template_div .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_div .template_results li .temp_summary {
    position: relative;
    top: 32px;
    left: 16px;
    height: 74px;
    width: calc(100% - 240px);
    /* text-transform: capitalize; */
  }


  .template_div .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_div .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_div .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_div .template_results .section {
    background: url("../../assets/add_section.png");
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: 8px center;
  }

  .template_div .template_results .type_desc {
    background: url("../../assets/add_title_desc.png");
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: 8px center;
  }


  .template_div .template_results li:hover .temp_img {
    border: 2px solid #268BD2;
    box-shadow: 1px 8px 16px -1px #9996;
  }

  .template_div .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;
    cursor: pointer;
    /* transform: rotate(90deg); */
    z-index: 999999999;
    opacity: 1;
  }

  .template_div .template_results li .more_options_template:hover {
    cursor: pointer;
    opacity: 1;
    background-color: #e8e8dc;
  }

  .template_div .template_results li:hover .more_options_template {
    display: inline-block;
  }

  .template_div .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: 9999999999999999999 !important;
    background: #fff;
    border: 1px solid #ccc;
    /* transform: rotate(-90deg); */
  }

  .template_div .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_div .template_results li .more_options_template ul li:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }

  .template_div .template_results li .more_options_template ul li:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: none;
  }

  .template_div .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_div .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_div .template_results li .more_options_template ul li:hover {
    background-color: #eee;
  }


/* Create new template */

.template_div .blank.upgrade_needed {
  background: url("../../assets/locked.png") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 16px) center !important;
  background-size: 13px !important;
}

  .template_div .blank:hover {
    cursor: pointer;
    border: 2px solid #268BD2 !important;
    background-color: #eee;
  }

  .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: #163300 !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 {
    padding: 24px;
  }

  .template_div .blank:hover .temp_title {
    color: #268BD2;
  }


  /* 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 {
    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 {
    animation: sparkleLarge 2.75s linear infinite;
    -webkit-animation: sparkleLarge 2.75s linear infinite;
    fill: #c90 !important;
  }

  .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 {
  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 .email_body_div {
  margin-top: 24px;
  padding: 0;
}

.save_template_div .subject_div {
  margin-top: 18px;
  padding: 0;
}

.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 .email_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;
}


.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;
}


.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: 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 {
  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;
}

.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 .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 {
  background-color: #268BD2;
  color: #fff;
  font-weight: bold;
  border: 2px solid #1c71ad;
  margin: 0 0 0 2px;
}

.bottom_controls .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;
}





.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;
  }







  @media (max-width: 950px) {

    .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%;
    }

      .search_div {
        width: 250px;
      }


      .main_div {
        width: 98%;
      }

     .template_div, .save_template_div {
        left: 1%;
        width: 98%;
      }

      .save_template_div .top_controls {
        padding: 24px 6px;
        margin: 8px 16px;
      }

      .save_template_div .input_controls, .save_template_div .email_body_div, div .title_div {
        margin: 0 8px;
      }

      .save_template_div .subject_div {
        margin: 0 8px;
      }

      .save_template_div .subject_div {
        margin-top: 24px;
      }

      .save_template_div .email_body_div {
        margin-top: 24px;
      }

      .save_template_div .bottom_controls {
        margin: 8px 16px;
      }



  }


  @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;
    }


    .search_div {
      width: 240px;
    }

    .main_div {
      width: 100%;
      padding: 16px 0;
    }


    .template_div .template_tip {
      padding: 0 16px 0 16px;
    }

    .template_div .template_results {
      padding: 0 8px 16px 8px;
    }

    .template_div .template_results li .temp_img {
      position: relative;
      display: inline-block;
      width: 132px;
      height: 100px;
    }

    .template_results li .temp_title {
      left: 156px !important;
      width: calc(100% - 194px) !important;
      /* background: blue; */
    }

    .template_results li .temp_summary {
      left: 12px !important;
      /* background: red; */
      height: 58px !important;
      width: calc(100% - 164px) !important;
    }

    .template_results li .more_options_template {
      top: 4px;
      right: -2px !important;
    }
  }
