body {
  overflow-y: scroll;
}

.header {
  right: 16px;
}

.nav_ul li {
  margin: 0 !important;
  font-weight: bold;
}

.nav_ul li a {
  margin: 0 !important;
  font-weight: normal;
}

.header .header_bottom .nav_icon {
  height: 10px;
  margin: 0 -8px !important;
  background: url("../../assets/chevron-right-dark-24px.png");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.header .header_bottom .nav_ul li.no_href {
  margin: 0 !important;
  font-weight: normal;
  cursor: pointer;
}


  .loading {
    top: calc(50% + 32px);
  }

  .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-heading {
    display: inline-block;
    color: #999;
    margin: 0 0 0 12px;
  }

  .app-filter-dropdown .app-filter-clear {
    position: relative;
    top: 4px;
    float: right;
    width: 50px;
    margin: 0 12px 0 0;
    padding: 2px 0;
    font-size: 13px;
    color: #1a73e8;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid rgba(229, 231, 235, 0.85);
  }

  .app-filter-dropdown .app-filter-clear:hover {
    color: #004eb3;
    background-color: rgba(229, 231, 235, 0.5);
    border: 1px solid rgba(229, 231, 235, 1);
  }



  .folder_search_bar {
    display: inline-block;
    position: relative;
    margin: 0 auto 2px 12px;
    height: 32px;
	  width: calc(100% - 88px);
    padding: 11px 24px 10px 24px;
	  background: #fff url("../../assets/search-hover.png") !important;
    background-repeat: no-repeat !important;
    background-position: 5px center !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 #0002;
  }


  .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: 8px 0 0 0;
    padding: 0 0 8px 0;
    height: auto;
    max-height: 172px;
    list-style: none;
    overflow: hidden;
    overflow-y: auto;
  }


  .app-filter-dropdown ul li {
    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;
    padding-left: 19px;
    color: #555;
    background: url('../../assets/organize.png');
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: left center;
  }

  .app-filter-dropdown ul li:hover {
    cursor: pointer;
    background-color: #f6f6f6;
    /* color: #fff; */
    /* background-color: #1a73e8 !important; */
  }




  .body_container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
  }



  .template_div {
    display: block;
    position: relative;
    /* background: red; */
    top: 132px;
    margin: 0 auto;
    height: calc(100% - 105px);
    width: calc(100% - 0);
    padding: 0 0 16px 0;
    list-style: none;
  }


  div .top_controls {
    position: relative;
    width: 73%;
    height: 60px;
    padding: 16px 8px;
    margin: 0 auto;
  }

  div .top_controls .results_tip {
    /* color: #268BD2; */
    font-size: 15px;
    font-weight: bold;
    background: url("../../assets/search-hover.png") !important;
    background-repeat: no-repeat !important;
    background-position: left 20% !important;
    background-size: 20px !important;
    padding-left: 24px;
    filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%);
  }



  .close_btn {
    color: #000;
    font-weight: bold;
    position: absolute;
    z-index: 9999999999999 !important;
    right: 0px;
    top: 8px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 8px 32px 8px 16px;
    transition: 0.5s ease-in-out;
    -webkit-transition: 0.5s ease-in-out;
    cursor: pointer;
    border-radius: 2px;
    background: transparent url('../../assets/close.png');
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) 55%;
    transition: none;
}

.close_btn:hover {
    background-color: #ccc;
}



/* preview_overlay */
.preview_overlay {
   display: none;
   position: fixed;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   z-index: 9999999999999999999999 !important;
   background: #3337;
 }

 .preview_overlay .preview_window {
   position: relative;
   top: 75px;
   display: block;
   width: calc(100% - 100px);
   height: calc(100% - 100px);
   margin: 0 auto;
   border: 2px solid #000;
   border-radius: 6px;
   background: #fff;
 }

 .preview_overlay .preview_window iframe {
   width: 100%;
   height: 100%;
   border-radius: 6px;
 }

 .preview_overlay  .preview_window_buttons {
   display: block;
   position: absolute;
   top: 25px;
   right: 50px;
   /* left: 50px; */
   /* width: calc(100% - 100px); */
   width: auto;
   height: auto;
   z-index: 999999999999999;
 }

 .preview_overlay .preview_window_buttons .use_template {
   position: relative;
   top: 8px;
   /* left: 8px; */
   margin: 0 2px 0 0;
   padding: 6px 14px 6px 40px;
   border-radius: 6px;
   border: 1px solid #000;
   color: #fff;
   font-size: 12px;
   font-weight: bolder;
   text-decoration: none;
   cursor: pointer;
   background: #D04200 url("../../assets/create_post_03.png");
   background-size: 18px;
   background-repeat: no-repeat;
   background-position: 12px 49%;
   transition: background-position 0.25s ease-in-out;
   opacity: 0.95;
 }

 .preview_overlay .preview_window_buttons .use_template:hover {
   opacity: 1;
   box-shadow: 0 3px 6px -3px #0004;
 }


 .preview_overlay .preview_window_buttons .close_preview {
   position: relative;
   top: 8px;
   /* right: 8px; */
   color: #fff;
   font-size: 12px;
   font-weight: bold;
   /* position: absolute; */
   z-index: 9999999999999 !important;
   /* right: 0px;
   top: 8px; */
   margin: 0;
   padding: 6px 14px 6px 32px;
   transition: 0.5s ease-in-out;
   -webkit-transition: 0.5s ease-in-out;
   cursor: pointer;
   /* border: 2px solid #000; */
   border-radius: 6px;
   background: #000 url('../../assets/close_light.png');
   background-size: 22px;
   background-repeat: no-repeat;
   background-position: 8px center;
   transition: none;
   opacity: 0.9;
}

.preview_overlay .preview_window_buttons .close_preview:hover, .preview_overlay .preview_window_buttons .close_preview:focus {
  color: #fff;
  box-shadow: 0 3px 8px -3px #0006;
  text-decoration: none;
  opacity: 1;
}




  .template_div .top_controls .gallery_expand {
    position: absolute;
    top: 8px;
    right: 16px;
    padding: 8px 32px 8px 16px;
    background: url("../../assets/expand-dark.png");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    color: #000;
    font-weight: bold;
    border-radius: 2px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .template_div .top_controls .gallery_expand:hover, .template_div .top_controls .gallery_expand:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    background-color: #ccc;
  }


  .template_div .template_ul, .recent_div .recent_ul, .result_div .template_results {
    position: relative;
    width: 75%;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
  }


  .template_div .template_ul .first_block {
    padding: 0;
  }

  .template_div .template_ul .first_block ul {
    padding: 0;
  }


  .form_ul {
    pointer-events: none;
  }


  .form_ul .template_tile {
    position: relative;
    height: 160px;
    width: calc(19.7% - 0px);
    max-width: 250px;
    margin: 0 0 80px 0;
    padding: 0 8px;
    display: inline-block;
    /* float: left; */
    list-style: none;
    /* background-color: #E5E7EB; */
    /* overflow: auto; */
  }



  .form_ul .template_tile .edit {
    position: absolute;
    /* display: none; */
    top: -40px;
    right: 40px;
    width: 32px;
    height: 40px;
    border-radius: 50%;
    background: url("../../assets/edit.png");
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 60% 40%;
    cursor: pointer;
    opacity: 0;
    transition: top 0.15s ease-in, opacity 0.21s ease-in;
    -webkit-transition: top 0.15s ease-in, opacity 0.21s ease-in;
  }

  .form_ul .edit:hover {
    opacity: 1 !important;
    /* filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%); */
  }


  .form_ul .template_tile .preview {
    position: absolute;
    /* display: none; */
    top: -40px;
    right: 8px;
    width: 32px;
    height: 40px;
    border-radius: 50%;
    background: url("../../assets/preview.png");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center 40%;
    cursor: pointer;
    opacity: 0;
    transition: top 0.15s ease-in, opacity 0.21s ease-in;
    -webkit-transition: top 0.15s ease-in, opacity 0.21s ease-in;
  }

  .form_ul .preview:hover {
    opacity: 1 !important;
    /* filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%); */
  }

  .form_ul .edit:hover + .use, .form_ul .preview:hover ~ .use {
    filter: none;
  }

  .form_ul .edit:hover ~ h5, .form_ul .preview:hover ~ h5 {
    color: #999 !important;
  }

  .form_ul .template_tile .main_anchor {
    display: block;
    height: 100%;
    cursor: pointer;
  }


  .form_ul .template_tile .thumb:hover .edit, .form_ul .template_tile .thumb:hover .preview {
    /* display: block; */
    /* top: 0px; */
    /* opacity: 0.5; */
    /* transition-duration: 0.20s; */
  }

  .form_ul .template_tile:hover .thumb .use {
    /* top: 0px;
    opacity: 1;
    transition-duration: 0.1s; */
  }


  .form_ul .template_tile .use {
    position: absolute;
    /* display: none; */
    top: -40px;
    left: 0px;
    width: 32px;
    height: 40px;
    border-radius: 50%;
    background: url("../../assets/save_template.png");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center 40%;
    cursor: pointer;
    opacity: 0;
    z-index: 999999999999;
    transition: top 0.15s ease-in, opacity 0.1s ease-in;
    -webkit-transition: top 0.15s ease-in, opacity 0.1s ease-in;
    filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%);
  }



  .form_ul .template_tile:not(.blank) p {
    padding-left: 18px;
    background: url("../../assets/use_template_icon.png");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: -5px -2px;
  }


  .form_ul .see_more {
    height: 32px;
    /* background: red; */
  }

  .form_ul .see_more p {
    color: #268BD2;
    text-align: left;
    height: auto;
    /* border: 2px solid #000; */
    vertical-align: middle;
    bottom: auto;
    top: 0px;
    padding: 8px 0 0 8px;
    /* border-radius: 4px; */
    /* transition: border 0.25s ease-in-out, box-shadow 0.25s ease-in-out; */
    cursor: pointer;
    opacity: 0.7;
  }

  .form_ul .see_more p:hover {
    opacity: 1;
    /* box-shadow: 1px 8px 16px -1px #9996; */
  }


  .form_ul .template_tile .main_anchor:first-child {
    color: #000;
  }


  /* .form_ul .template_tile .thumb {
    height: calc(100% - 32px);
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 4px;
    object-fit: contain;
    object-position: left top;
    border: 2px solid #888;
    border-radius: 4px;
    background: #eee url('../../assets/save_template.png');
    background-size: 24px;
    background-repeat: repeat;
    background-position: center;
    box-shadow: 1px 8px 16px -1px #aaa3;
    transition: border 0.25s ease-in-out, object-position 1.5s ease-in-out;
    -moz-transition: border 0.25s ease-in-out, object-position 1.5s ease-in-out;
    -webkit-transition: border 0.25s ease-in-out, object-position 1.5s ease-in-out;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  } */



  .form_ul .template_tile {
    vertical-align: top;
  }


  .form_ul .template_tile .handle {
    display: none;
    position: absolute;
    top: -30px;
    left: 8px;
    width: 32px;
    height: 32px;
    background: transparent url('../../assets/handle.png');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: left center;
    cursor: move;
    z-index: 99;
    transform: rotate(90deg);
  	-webkit-transform: rotate(90deg);
  }

  .form_ul .template_tile:hover > .handle {
    display: block;
  }



  .form_ul .template_tile .thumb {
    position: relative;
    top: 0;
    height: calc(100% - 32px);
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 4px;
    border: 2px solid #888;
    border-radius: 4px;
    background: #FDFDF8 url("../../assets/pattern02.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    box-shadow: 1px 8px 16px -1px #aaa3;
    transition: border 0.25s ease-in-out, object-position 2.5s ease-in;
    -moz-transition: border 0.25s ease-in-out, object-position 2.5s ease-in;
    -webkit-transition: border 0.25s ease-in-out, object-position 2.5s ease-in;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    overflow: hidden;
  }


  /* .form_ul .template_tile:nth-child(odd) .thumb {
    background: #eee url('../../assets/close.png');
    background-size: 21px;
    background-repeat: repeat;
    background-position: center;
  } */


  .form_ul .blank .thumb {
    border: 3px solid #000;
    padding: 16px;
    background: #163300 !important;
    object-fit: contain;
    object-position: center;
    transition: padding 0.25s ease-in-out;
    -moz-transition: padding 0.25s ease-in-out;
  }


  .form_ul .template_tile .thumb h5 {
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    line-height: 17px;
    color: #999;
    font-size: 12px;
    font-weight: bold;
    overflow-wrap: break-word;
    overflow: hidden;
  }

  .form_ul .template_tile:hover .thumb h5 {
    color: #268BD2;
  }


  .form_ul .blank:hover .thumb {
    padding: 24px;
    border: 3px solid #268BD2;
    box-shadow: 1px 8px 16px -1px #9996;
  }


  .form_ul .template_tile:not(.blank):hover .thumb {
    border: 2px solid #268BD2;
    box-shadow: 1px 8px 16px -1px #9996;
  }


  .form_ul .template_tile:not(.blank) .thumb:hover {
    object-fit: cover;
    object-position: left bottom;
  }


  .form_ul .template_tile p {
    position: absolute;
    bottom: -2px;
    left: 11px;
    right: 11px;
    height: 24px;
    display: block;
    margin: 0 auto;
    font-weight: bold;
    text-align: left;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }


  .template_div .template_ul .template_head {
    display: block;
    position: relative;
    height: auto;
    margin: 0;
    padding: 0px 8px 16px 8px;
    border-top: 1px solid #163300;
  }

  .template_div .template_ul .template_head h4 {
    color: #000;
    font-weight: bold;
  }

  .template_div .template_ul .template_head span {
    position: relative;
    color: #268BD2;
    font-size: 10px;
    padding: 3px 8px;
    top: -2px;
    margin-left: 12px;
    background: #E1F2FF;
    border-radius: 8px;
  }


  .template_div .template_ul .folder_head h4 {
    padding-left: 32px;
    background: url('../../assets/folder.png');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: left center;
  }


  .second_divs {
    position: relative;
    width: 100%;
    top: 132px;
  }

  ul .template_tile p {
    padding-right: 24px !important;
  }

  ul .template_tile.default_template p {
    padding-right: 24px !important;
  }

  ul li .more_options {
    display: none;
    position: absolute;
    bottom: -8px;
    right: 0px;
    height: 40px;
    width: 32px;
    font-weight: bold;
    font-size: 17px;
    color: #666;
    z-index: 10;
    text-align: center;
    transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
  }

  ul li .more_options:hover, ul li .more_options:focus {
    text-decoration: none;
    cursor: pointer;
  }

  ul .template_tile:hover .more_options {
    display: block;
  }


  .more_options_div {
    position: absolute;
    bottom: -149px;
    right: -172px;
    width: 232px;
    display: none;
    box-shadow: 0 4px 16px -3px #0003;
    border-radius: 8px !important;
    z-index: 999999999;
    background: #fff;
    border: 1px solid #bbb;
    padding: 8px;
  }


  .default_template .more_options_div {
    bottom: -112px;
  }

  .more_options_div .more_options_div_a {
    position: relative;
    display: block;
    padding: 3px 8px !important;
    vertical-align: middle;
  }

  .more_options_div .more_options_use {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: 1px solid #e2e2e2;
  }

  .more_options_div .more_options_use img {
    filter: invert(50%) sepia(19%) saturate(3123%) hue-rotate(172deg) brightness(89%) contrast(84%);
  }

  .more_options_div .more_options_use span {
    color: #268BD2 !important;
  }

  .more_options_div .more_options_preview {
    /* border-top-left-radius: 8px;
    border-top-right-radius: 8px; */
    border-bottom: 1px solid #e2e2e2;
  }

  .default_template .more_options_div .more_options_preview {
    /* border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px; */
  }

  .default_template .more_options_div .more_options_edit {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom: none;
  }


    .more_options_div .more_options_preview img {
      padding: 6px 6px;
    }

  .more_options_div .more_options_edit {
    border-bottom: 1px solid #e2e2e2;
  }

  .more_options_div .more_options_edit img {
    padding: 8px 8px;
  }

  .more_options_div .more_options_delete span {
    color: palevioletred !important;
  }

  .more_options_div .more_options_delete {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .more_options_div .more_options_div_a:hover {
    cursor: pointer;
    background-color: #f4f4f4;
  }

  .more_options_div .more_options_div_a span {
    text-decoration: none;
    color: #000;
    display: inline-block;
    vertical-align: middle;
  }

  .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;
  }


  .form_ul .temp_no_results {
    position: relative;
    padding: 0 8px;
    color: #999;
  }






  /* 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: 99999999999;
  }


  .save_template_div .top_controls {
    position: relative;
    padding: 24px 8px;
    display: block;
    margin: 8px 32px;
    width: calc(100% - 64px);
    border-bottom: 1px solid #ccc;
  }

  .save_template_div h2, .template_div h2 {
    font-size: 18px;
    display: inline;
    padding-left: 38px;
    background: url('../../assets/use_template_icon.png');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: left 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;
  }


  .save_template_div div {
    display: block;
    margin: 0 32px;
    padding: 8px 8px 0 8px;
  }


  .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 .new_folder_div {
    position: relative;
  }


  .save_template_div .new_folder_div input {
    margin: 6px 0 0 0;
    padding-right: 40px;
  }


  .save_template_div div .add_folder_cancel {
    display: none;
    position: absolute;
    top: 38px;
    right: 4px;
    width: 32px;
    height: 32px;
    background: url('../../assets/close.png');
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 8px 24px;
    margin: 0;
    cursor: pointer;
    text-decoration: none !important;
    opacity: 0.9;
  }




  .save_template_div .folder_results {
    display: none;
    position: absolute;
    left: 10px;
    right: 10px;
    padding: 0;
    list-style: none;
    background-color: #fff;
    box-shadow: 0 3px 16px -3px #0003;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 999999999;
    max-height: 105px;
    overflow-y: auto;
  }

  .save_template_div .folder_results li {
    font-size: 12px;
    padding: 6px 8px;
    color: #268BD2;
  }

  .save_template_div .folder_results li span {
    color: #111 !important;
    padding-left: 19px;
    background: url('../../assets/organize.png');
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: left center;
  }

  .save_template_div .folder_results li:first-child {
    margin-top: 8px;
  }

  .save_template_div .folder_results li:hover {
    background-color: #f4f4f4;
    cursor: pointer;
  }


  .save_template_div .error {
    display: block;
    padding: 4px 0px;
    margin: 0 0 8px 0;
    color: palevioletred;
    font-size: 12px;
   }


  .save_template_div .bottom_controls {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 32px 8px;
    display: block;
    margin: 8px 32px;
    /* border-top: 1px solid #ccc; */
  }

  .save_template_div .bottom_controls .save_template_btn {
    display: inline-block;
    position: relative;
    background-color: #111;
    color: #fff;
    border-radius: 4px;
    padding: 8px 32px;
    margin: 0;
    cursor: pointer;
  }


  .save_template_div .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;
  }


  .save_template_div .bottom_controls .save_template_btn_loading:focus, .save_template_div .bottom_controls .save_template_btn_loading:hover {
    background: #fff !important;
  }




    @media (max-width: 1200px) {

      div .top_controls {
        width: 93%;
      }

      .template_div .template_ul, .recent_div .recent_ul, .result_div .template_results {
        width: 95%;
      }
    }


    @media (max-width: 450px) {
      .header {
        right: 0 !important;
        width: 100%;
      }

      .app-search {
        left: calc(50% - 125px) !important;
        width: 250px !important;
      }

      .header .header_bottom {
        padding: 0 8px;
      }

      .logo {
        min-width: 40px;
        padding: 8px 0;
        color: transparent;
      }

      .template_div .top_controls {
        display: none;
      }

      .template_div .template_ul .template_head {
        margin: 16px 0 0 0;
      }

      .form_ul .template_tile {
        height: 150px;
        width: calc(49% - 0px);
        margin: 0 0 40px 0;
      }

      .form_ul .template_tile .preview {
        top: 0px;
        opacity: 1;
      }

      .preview_overlay .preview_window {
        width: calc(100% - 32px);
      }

      .preview_overlay  .preview_window_buttons {
        right: 16px;
      }

      .header_bottom .nav_ul li:last-child {
        /* display: none; */
      }

      ul li .more_options {
        display: block;
      }
    }
