@import url("https://fonts.googleapis.com/css?family=Alex+Brush|Allura|Arizonia|Courgette|Croissant+One|Kaushan+Script|Lobster|Marck+Script|Monsieur+La+Doulaise|Pacifico|Quicksand|Rancho|Redressed|Rochester|Rochester|Rock+Salt|Rouge+Script|Sacramento|Sail|Sevillana|Sofia|Sonsie+One|Style+Script|Yesteryear");
/*@import url('https://fonts.googleapis.com/css2?family=Hind');
 */

/*/////===========Common CSS=============*/

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}

.auto-height{
  min-height: 10px !important;
  height: auto !important;
}

.bm-15{
  margin-bottom: 15px !important;
}
.mt-0{
  margin-top: 0 !important;
}
/*============Common CSS============/////*/



.clear_fix {
  overflow: auto;
}
@keyframes spinner_rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spinner_rotate_back {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0);
  }
}
@keyframes translate1 {
  0% {
    background-position: -934px 0;
  }
  100% {
    background-position: -765px 0;
  }
}
@keyframes translate2 {
  0% {
    background-position: -1062px 0;
  }
  100% {
    background-position: -1081px 0;
  }
}
@keyframes translate3 {
  0% {
    background-position: -1434px 0;
  }
  100% {
    background-position: -1214px 0;
  }
}
@keyframes translate4 {
  0% {
    background-position: -1620px 0;
  }
  100% {
    background-position: -1599px 0;
  }
}
#preloader {
  background: #fff none repeat scroll 0 0;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10001;
}
#loading-animation {
  background: url("../img/loading-animation.gif") no-repeat center center;
  bottom: 0;
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
}
/* ==================== [2] preview and reset area ==================== */
.canvas_edit_tool {
  text-align: left;
  background: #fafafa;
  padding: 8px 20px;
  width: 208px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  margin: 20px auto;
}
.canvas_edit_tool a,
.canvas_edit_tool a:hover {
  color: #616161;
  margin-right: 40px;
  text-decoration: none;
}
.canvas_edit_tool a:last-child {
  margin-right: 0;
}
.canvas_edit_tool span {
  margin-left: 3px;
}
body {
  background: url(../img/texture1.png) repeat center center;
}

/* ==================== [3] t-shirt design area ==================== */
.design_area {
  margin: 0 auto;
  position: fixed;
  left: 0;
  right: 0;
  top: 5px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.canvas_area_front,
.canvas_area_back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0 0 0 0;
  z-index: 1;
}
.canvas_area_back {
  display: none;
}
.design_area canvas {
  border: 2px dashed #eea25c;
}
.lower-canvas {
  height: 100%;
  width: 100%;
}
/* ==================== [4] right help area ==================== */
.shapes_area {
  display: inline-block;
  background-color: #f1f1f1;
  padding: 6px 20px;
  text-align: center;
  position: absolute;
  top: 100px;
  right: 20px;
}
.shapes_window_wrapper {
  position: relative;
}
.leftwindow {
  padding: 0 0 10px;
  /*visibility: hidden;
    */
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  margin: auto;
  width: 100%;
  max-width: 350px;
  background-color: #e8f0fb;
  border-radius: 0;
  box-shadow: 0 1px 9px 1px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
#front_preview {
  text-align: center;
}
.canvas-container {
  margin: 0 auto;
}
.preview_window {
  /* padding: 10px 1px;
    */
  max-width: 100% !important;
}
@media (max-width: 650px) {
  .preview_window {
    width: 100% !important;
  }
}
.leftwindow p {
  text-align: left;
}
.leftwindow p span {
  font-weight: bold;
  margin-left: 5px;
}
/* ==================== [5] left design tool ==================== */
.design_tool {
  position: fixed;
  display: inline-block;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 4px;
  box-shadow: 0 1px 5px 5px rgba(0, 0, 0, 0.1);
  z-index: 9;
}
.design_tool ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 50px;
  display: table;
  float: left;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fffcfc+0,e0dbdb+100 */
  background: #fffcfc;
  /* Old browsers */
  background: -moz-linear-gradient(top, #fffcfc 0%, #e0dbdb 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #fffcfc 0%, #e0dbdb 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #fffcfc 0%, #e0dbdb 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fffcfc', endColorstr='#e0dbdb',GradientType=0 );
  /* IE6-9 */
}
.design_tool ul li {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  position: relative;
  width: 16.6%;
}

.ready-templates {
  background: #e25352;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  height: 40px;
  line-height: 40px;
  position: fixed;
  left: 0;
  text-align: center;
  text-decoration: none;
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform-origin: bottom left;
  width: 170px;
  top: 50px;
  border-radius: 5px 5px 0 0;
}


.ready-templates:hover, 
.ready-templates:focus{
  background-color: #3d3b4a !important;
  color: #fff !important;
  text-decoration: none;
}

.ready-templates i{
  font-size: 27px;
  left: 0;
  position: relative;
  top: 5px;
  line-height: 0.5 !important;
  width: 29px;
}

@media (max-width: 500px) {
    .ready-templates{
        height: 30px;
        line-height: 30px;
        top: 100px;
    }
    
    .ready-templates i {
        font-size: 18px;
        left: -4px;
        top: 2px;
        width: 26px;
    }
}

.ready-templates i:before{
  width: 30px;
  margin-left: 0;
  margin-right: 0;
}

.templates .scrollbox ul:not(#resultt) {
  display: none;
}

.dark.templates{
  background-color: #0E0D33 !important;
}

.dark.templates ul li.heading h3{
  background-color: rgba(255, 255, 255,0.15) !important;
  color: #fff !important;
  border-bottom: none !important;
}
.dark.templates ul#resultt li a{
  padding-bottom: 127% !important;
}
.dark.templates ul li a{
  border: none !important;
}

.dark.templates ul li a img{
  border-radius: 5px !important;
  max-width: 98%;
  max-height: 98%;
}
.shapes .scrollbox ul:not(#resultt) {
  display: block;
}

.shapes .scrollbox ul#resultt {
  display: none;
}

.template-title{display: none;}
.shapes-title{ display: none;}

.templates .template-title{display: block;}
.shapes .shapes-title{ display: block;}

.design_tool ul li:before {
  content: "";
  border-top: solid 3px rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 0;
  height: 5px;
  width: 100%;
}
.design_tool ul li:nth-child(1) {
  background-color: #e25352;
}
.design_tool ul li:nth-child(2) {
  background-color: #ea7655;
}
.design_tool ul li:nth-child(3) {
  background-color: #eea25c;
}
.design_tool ul li:nth-child(4) {
  background-color: #e8c469;
}
.design_tool ul li:nth-child(5) {
  background-color: #52d399;
}
.design_tool ul li:nth-child(6) {
  background-color: #4fc0d2;
}
.design_tool ul li:nth-child(7) {
  background-color: #4b97de;
}
.design_tool ul li:nth-child(8) {
  background-color: #e25352;
}
.design_tool ul li:nth-child(9) {
  background-color: #ea7655;
}
.design_tool ul li:nth-child(10) {
  background-color: #eea25c;
}
.design_tool ul li:last-child {
  border-right: none;
}
.design_tool ul li a {
  display: inline-block;
  color: #fff;
  padding: 9px 10px 4px;
  width: 100%;
  text-decoration: none;
}
.design_tool ul li:hover,
.design_tool ul li:focus {
  background-color: #3d3b4a;
}
.design_tool ul li a i {
  font-size: 24px;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.design_tool ul li a span {
  /*margin-left: 16px;
    */
  display: inline-block;
  width: 100%;
}
.reset_btn {
  position: fixed;
  top: 5px;
  right: 2px;
  height: 30px !important;
  width: 30px !important;
  line-height: 30px;
  z-index: 1;
}
.reset_btn span {
  display: none;
}
.reset_btn i {
  background-color: #e25352;
  border-radius: 50px;
  height: 30px !important;
  width: 30px !important;
  line-height: 29px !important;
  text-align: center;
  font-size: 18px !important;
  color: #fff;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.test_btn {
  position: fixed;
  top: 5px;
  right: 2px;
  height: 30px !important;
  width: 30px !important;
  line-height: 30px;
  z-index: 1;
}
.test_btn span {
  display: none;
}
.test_btn i {
  background-color: #e25352;
  border-radius: 50px;
  height: 30px !important;
  width: 30px !important;
  line-height: 29px !important;
  text-align: center;
  font-size: 18px !important;
  color: #fff;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.design_tool .add_text {
  position: relative;
}
.design_tool .add_text .text_tool_window.leftwindow {
  z-index: -1;
}
.design_tool .add_text1 {
  position: relative;
}
.text_tool_window1 {
  padding: 9px 14px;
  visibility: hidden;
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: auto;
  max-width: 350px;
  max-height: 400px;
  background-color: #fff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-shadow: 0 1px 9px 1px #cccccc;
  z-index: 1;
}
/* Popup arrow */
.text_tool_window::before,
.text_tool_window1::before {
  content: "";
  position: absolute;
  top: 45px;
  left: -15px;
  margin-left: -5px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #555 transparent transparent;
}
.text_tool_window::after,
.text_tool_window1::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background-color: rgba(255,255,255,0.5);
    */
  z-index: -1;
}
.add1,
.add2,
.add3,
.add4,
.add5,
.add6,
.deleteBtn {
  background-color: #e25352;
  border-radius: 50px;
  height: 34px !important;
  width: 34px !important;
  line-height: 30px !important;
  text-align: center;
  font-size: 18px !important;
  color: #fff;
  border: solid 2px #fff;
}
.add5:before {
  content: "\f023" !important;
}
/* Toggle this class - hide and show the popup */
.shapes .show,
.add_text .show,
.add_text1 .show,
.shapes_window_wrapper .show {
  /*visibility: visible;
     -webkit-animation: fadeIn 1s;
     animation: fadeIn 1s;
    */
}
.shapes_area a,
.shapes_area a:hover {
  color: #000;
  text-decoration: none;
}
/* animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    left: -400px;
  }
  to {
    opacity: 1;
    left: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    left: -400px;
  }
  to {
    opacity: 1;
    left: 0;
  }
}
.leftwindow .header,
.text_tool_window .header {
  /*border-bottom: 1px solid #9E9E9E;
    */
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 0;
  background-color: #3fa243;
}
.leftwindow .title,
.text_tool_window .title {
  float: left;
  font-size: 20px;
  margin-bottom: 0;
  padding-top: 6px;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.leftwindow #close_help_window,
.text_tool_window #close_window {
  float: right;
}
.text_tool_window .font_area {
  float: left;
}
.text_tool_window .color_area {
  float: right;
}
.font_area p,
.color_area p,
.font_style p {
  margin-bottom: 10px;
}
#text_area,
.wrapper,
.font_style,
.font_size {
  /*margin-top: 25px;
    */
}
.text_tool_window #text_area {
  overflow: hidden;
  height: 50px;
  width: 100%;
  padding: 5px;
}

.text_tool_window select {
  padding: 5px;
  background: none repeat scroll 0 0 #ffffff;
  border: 1px solid #9c9d98;
  border-radius: 3px;
  box-shadow: 0 2px 2px #cfd0cb inset, 0 2px 2px rgba(0, 0, 0, 0.2);
}
.color_area input {
  width: 27px;
  height: 30px;
  background: #fff;
  padding: 4px;
  border-radius: 3px;
}
/* ==================== [6] front-back button section ==================== */
.change_side {
  text-align: center;
  margin-top: 20px;
}
.change_side button {
  background-color: #e7e7e7;
  color: black;
  border: 0;
  padding: 16px 32px;
  margin: 4px 2px;
}
/* ==================== [7] product modal ==================== */
.product_details {
  float: left;
  width: 50%;
  text-align: center;
}
.product_details img {
  width: 250px;
}
.product_details_in {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 116%;
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
}
/* ==================== [8] preview image modal ==================== */
#previewModal .modal-body {
  text-align: center;
}
#previewModal .canvas_wrapper {
  margin-bottom: 20px;
}
#previewModal .canvas-container {
  margin: 0 auto;
}
#back_preview {
  margin-top: 40px;
  margin-bottom: 40px;
}
#previewModal a,
#previewModal a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #ef6c00;
  padding: 11px 16px;
  border-radius: 3px;
}
#previewModal a span {
  margin-left: 5px;
}
/* styles for tab browsers smaller than 800px;
 */
@media (max-width: 800px) {
  .design_tool ul li a span {
    display: none;
  }
  .design_tool ul {
    width: 100%;
  }
}
.open_window {
  cursor: pointer;
}
.closebutton {
  background-color: #e25352;
  -webkit-border-radius: 0;
  border-radius: 0;
  height: 40px !important;
  width: 40px !important;
  line-height: 38px !important;
  text-align: center;
  font-size: 18px !important;
  color: #fff;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: 9999;
}
.leftwindow ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.leftwindow ul li {
  display: inline-block;
  float: left;
  width: 25%;
  padding: 2px;
}
.leftwindow ul li a {
  display: inline-block;
  float: left;
  width: 100%;
  height: 71px;
  position: relative;
  background-color: #fff;
  border: solid 1px #cecece;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
}
.leftwindow ul li a img {
  max-width: 95%;
  max-height: 95%;
  width: auto;
  height: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.leftwindow ul li.heading {
  width: 100%;
  padding: 0;
}


.leftwindow ul#resultt li {
  width: 50%;
}
.leftwindow ul#resultt li.heading{
  width: calc(100% + 30px);
}
.leftwindow ul#resultt li a {
  width: 100%;
  height: 0;
  padding-bottom: 126%;
}

.scrollbox {
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 2px;
}
.preview_window .scrollbox {
  padding-left: 0;
  padding-right: 0;
}
.text_tool_window,
.shapecolorwindow {
  background-color: #e8f0fb;
}
.shapecolorwindow .scrollbox {
  padding-top: 10px;
}
.form-control {
  border: solid 1px #cecece !important;
  border-radius: 10px;
  box-shadow: none !important;
}
.text_tool_window .col,
.img_tool_window .col,
.svg_tool_window .col {
  margin-bottom: 15px;
  text-align: left;
  min-height: 65px;
}
.svg_tool_window .col:first-child,
.img_tool_window .col:first-child {
  margin-top: 15px;
}
textarea.form-control {
  min-height: 65px;
}
.text_tool_window .col:last-child {
  min-height: 50px;
  margin-bottom: 0;
}
.sp-replacer {
  background-color: #fff !important;
  border: solid 1px #cecece !important;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 8px !important;
  width: 100%;
}
.sp-replacer .sp-preview {
  width: 100%;
}

.sp-replacer {
  padding-right: 20px !important;
  position: relative;
}

.sp-replacer .sp-preview{
  border: none !important;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  overflow: hidden;
}

.sp-dd {
  position: absolute;
  right: 5px;
  top: 10px;
}
#layerpoup {
  background: yellow;
  color: red;
  padding: 8px;
  margin-bottom: 10px;
  opacity: 0;
  transform: scale(0);
  transition: 0.6s ease opacity, 0.6s ease transform;
  position: absolute;
  z-index: 1;
  width: 250px;
  height: 127px;
  left: 0;
  right: 0;
  margin: AUTO;
  top: 0;
  bottom: 0;
  -webkit-border-radius: 15px;
  border-radius: 15px;
}
.test_btn2 {
  position: relative;
  margin: 0;
  line-height: 30px;
  z-index: 1;
  width: 50%;
  float: left;
  display: inline-block;
  text-align: center;
}
.test_btn2 span {
  display: inline-block;
  text-align: center;
  color: #000;
  width: 100%;
}
.test_btn2 i {
  background-color: #e25352;
  border-radius: 50px;
  height: 30px !important;
  width: 30px !important;
  line-height: 29px !important;
  text-align: center;
  font-size: 14px !important;
  color: #fff;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.preview_window .canvas_wrapper .canvas-container:before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  content: "";
  z-index: 1;
}
.add3 + .add1,
.add2 + .add3,
.add2 + .add1 {
  display: none !important;
}
@media \0screen {
  .mirror {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(mirror=1)";
  }
}
.mirror {
  /* IE6 and 7 via hack */
  filter: progid:DXImageTransform.Microsoft.BasicImage(mirror=1);
  /* Standards browsers, including IE9+ */
  -moz-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  /* Op 11.5 only */
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
.mr-top-10 {
  margin-top: 10px;
}
.bttoncomman {
  background-color: #4caf50;
  /* Green */
  border: none;
  color: white;
  padding: 10px 20px 10px 40px !important;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  position: relative;
  margin-bottom: 5px;
  border-radius: 10px;
  width: 100%;
}
.bttoncomman:hover,
.bttoncomman:focus {
  color: #fff;
  background-color: #3fa243;
}
.bttoncomman i {
  position: absolute;
  left: 20px;
  top: 10px;
  font-size: 22px;
}
.loading {
  background: transparent
    url("http://thinkfuture.com/wp-content/uploads/2013/10/loading_spinner.gif")
    center no-repeat;
}
.loadanimation {
  width: 30px;
  height: 30px;
  position: absolute;
  z-index: 9999;
  /*background: url("../img/logo.png") no-repeat center center;
    */
  animation: spinner_rotate_back 1s linear infinite;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  border-radius: 50px;
  border: dashed 3px #000;
  z-index: 1;
}
.loadanimationbg {
  background-color: #e8f0fb;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
}
.imagesthum li {
  position: relative;
}
.onlyiebrowser {
  display: none;
}
body.ie #contents1 {
  display: none;
}
body.ie form {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  display: block !important;
}
body.ie .bttoncomman {
  position: fixed;
  width: 250px;
  left: 0;
  right: 0;
  top: 50%;
  margin: -15px auto 0;
  padding: 10px 20px 10px 30px !important;
  font-size: 30px;
}
body.ie .onlyiebrowser-text {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  margin: 65px auto 0;
  font-size: 20px;
  color: #fff;
  text-align: center;
}
#overlay {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 1s 0.4s;
}
#progress {
  height: 1px;
  background: #fff;
  position: absolute;
  width: 0;
  top: 50%;
  transition: 1s;
}
#progstat {
  font-size: 0.7em;
  letter-spacing: 3px;
  position: absolute;
  top: 50%;
  margin-top: -40px;
  width: 100%;
  text-align: center;
  color: #fff;
}
.leftwindow {
  -webkit-transform: translate3d(-360px, 0, 0);
  transform: translate3d(-360px, 0, 0);
  -webkit-transition: -webkit-transform 0.3s ease-out 0s;
  transition: transform 0.3s ease-out 0s;
}
.leftwindow.show {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform 0.3s ease-in 0s;
  transition: transform 0.3s ease-in 0s;
}
.loadimages {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform 0.3s ease-in 0s;
  transition: transform 0.3s ease-in 0s;
  display: block;
}
.preview_window.leftwindow {
  visibility: hidden;
}
.preview_window.leftwindow.show {
  visibility: visible;
}
.uploadimg i {
  height: 80px;
  width: 80px;
  line-height: 77px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  text-align: center;
  font-size: 35px;
  color: #fff;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50px;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
  border: dashed 1px #fff;
}
.mr-bottom-15 {
  margin-bottom: 15px;
}
.modal-dialog {
  margin: 30px auto !important;
}
.modal-content {
}
.imgupload {
}
.imgupload .modal-dialog {
  max-width: 300px;
}
.imgupload .modal-content {
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: solid 1px #e8c469;
}
.imgupload .modal-header {
  background-color: #e8c469;
  border-radius: 6px;
  -webkit-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
  border-bottom: none;
}
.imgupload .modal-header .close {
  color: #fff;
  opacity: 1;
  font-size: 35px;
  line-height: 25px;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.imgupload .modal-header .modal-title {
  color: #fff;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.imgupload .modal-body {
  background-color: #fee093;
}
.modal-footer {
  border-top: none !important;
  background-color: #3d3b4a !important;
  -webkit-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}
.green_button {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 10px 20px 10px 20px !important;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  position: relative;
  margin-bottom: 5px;
  border-radius: 3px;
  width: 50%;
  float: left;
}
.green_button:hover,
.green_button:focus {
  color: #fff;
  background-color: #3fa243;
}
.red_button {
  background-color: #e25352;
  border: none;
  color: white;
  padding: 10px 20px 10px 20px !important;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  position: relative;
  margin-bottom: 5px;
  border-radius: 3px;
  width: calc(50% - 5px);
  float: left;
}
.red_button:hover,
.red_button:focus {
  color: #fff;
  background-color: #d4403f;
}
.productpopup {
}
.productpopup .modal-dialog {
  max-width: 400px;
}
.productpopup .modal-content {
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: solid 1px #e25352;
}
.productpopup .modal-header {
  background-color: #e25352;
  border-radius: 6px;
  -webkit-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
  border-bottom: none;
}
.productpopup .modal-header .close {
  color: #fff;
  opacity: 1;
  font-size: 35px;
  line-height: 25px;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.productpopup .modal-header .modal-title {
  color: #fff;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.productpopup .modal-body {
  background-color: #fe9998;
}
.preview_window .header {
  background-color: #4fc0d2;
}
.export_window .header {
  background-color: #52d399;
}
.text_tool_window .header {
  background-color: #eea25c;
}
.shapes_window .header {
  background-color: #ea7655;
}
@media (min-width: 768px) {
  .reset_btn span,
  #rotate-right span,
  #rotate-left span,
  #goleft span,
  #goright span,
  #goup span,
  #godown span,
  #btn_show span,
  #unselect span,
  #duplicate span {
    display: inline-block;
    text-align: right !important;
    font-size: 16px;
    color: #fff;
    position: absolute;
    right: 34px;
    width: auto;
    top: 3px;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
    background-color: #000;
    white-space: nowrap;
    padding: 4px 5px;
    line-height: 1;
    font-size: 14px;
    border-radius: 3px;
    opacity: 0;
    visibility: hidden;
  }
  .reset_btn:hover span,
  #rotate-right:hover span,
  #rotate-left:hover span,
  #goleft:hover span,
  #goright:hover span,
  #goup:hover span,
  #godown:hover span,
  #btn_show:hover span,
  #unselect:hover span,
  #duplicate:hover span {
    opacity: 1;
    visibility: visible;
    display: inline-block !important;
  }
  .tolltipactive span {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
  }
  .reset_btn span:before,
  #rotate-right span:before,
  #rotate-left span:before,
  #goleft span:before,
  #goright span:before,
  #goup span:before,
  #godown span:before,
  #btn_show span:before,
  #unselect span:before,
  #duplicate span:before {
    content: "";
    position: absolute;
    right: -5px;
    top: 6px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #000;
  }
}

/*============Range Slider============*/
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 26px;
  background: #e1e1e1;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  -webkit-border-radius: 26px;
  padding-left: 2px;
  padding-right: 2px;
}

input[type="range"]:hover {
  opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  background: #4caf50;
  cursor: pointer;
  box-shadow: -100vw 0 0 99.4vw dodgerblue;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  border: solid 2px #fff;
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #4caf50;
  cursor: pointer;
  box-shadow: -100vw 0 0 99.4vw dodgerblue;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  border: solid 2px #fff;
}

/*======================================*/
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: #fff;
  background-image: none;
  box-shadow: none !important;
  height: 36px !important;
}
/* Remove IE arrow */
select::-ms-expand {
  display: none;
}
/* Custom Select */
.custom-select {
  position: relative;
  display: flex;
  width: 100%;
  height: 36px;
  line-height: 3;
  background: #fff;
  overflow: hidden;
  border-radius: 0.25em;
  box-shadow: 0 1px 1px #cfd0cb, 0 1px 1px rgba(0, 0, 0, 0.2) !important;
  -webkit-box-shadow: 0px 0px 4px 0 rgba(0, 0, 0, 0.3) !important;
  -moz-box-shadow: 0px 0px 4px 0 rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0px 0px 4px 0 rgba(0, 0, 0, 0.3) !important;
}

select {
  flex: 1;
  padding: 0 0.5em;
  color: #000;
  cursor: pointer;
}

/* Arrow */
.custom-select::after {
  content: "\25BC";
  position: absolute;
  top: 0;
  right: 0;
  height: 36px;
  line-height: 36px;
  padding: 0 6px;
  color: #34495e;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: 0.25s all ease;
  -o-transition: 0.25s all ease;
  transition: 0.25s all ease;
}
/* Transition */
.custom-select:hover::after {
  color: #4caf50;
}
.sp-dd {
  padding: 0 !important;
  height: 18px !important;
  line-height: 16px !important;
  font-size: 13px !important;
}
/*==============*/
#newpreloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url(../img/texture1.png) repeat center center;
  z-index: 999999999999999;
  transition: all 0.4s ease;
}
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.4s;
}
.loader .loader_text {
  font-size: 50px;
  font-weight: 600;
  font-family: sans-serif;
  color: #26001b;
  margin: 0 auto;
  text-align: center;
}
.loader .loader_bar {
  position: relative;
  width: 500px;
  height: 12px;
  background: #edeef7;
  border-radius: 50px;
}
.loader .loader_bar:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0075f6;
  border-radius: 50px;
  animation: fill 0.3s ease;
}
@keyframes fill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
/*======Upload Image======*/
.file-upload {
  margin: auto;
}
.file-upload-btn {
  width: 100%;
  margin: 0;
  color: #fff;
  background: #1fb264;
  border: none;
  padding: 10px;
  border-radius: 4px;
  border-bottom: 4px solid #15824b;
  transition: all 0.2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}
.file-upload-btn:hover {
  background: #1aa059;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}
.file-upload-btn:active {
  border: 0;
  transition: all 0.2s ease;
}
.file-upload-content {
  display: none;
  text-align: center;
}
.file-upload-input {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  outline: none;
  opacity: 0;
  cursor: pointer;
}
.image-upload-wrap {
  margin-top: 0;
  border: 4px dashed #1fb264;
  position: relative;
}
.image-dropping,
.image-upload-wrap:hover {
  background-color: rgba(0, 0, 0, 0.2);
  border: 4px dashed #1fb264;
}
.image-title-wrap {
  padding: 0 15px 15px 15px;
  color: #222;
}
.drag-text {
  text-align: center;
}
.drag-text h3 {
  font-size: 14px;
  text-transform: uppercase;
  color: #15824b;
  padding: 60px 0;
}
.file-upload-image {
  max-height: 200px;
  max-width: 200px;
  margin: auto;
  padding: 20px;
}
.remove-image {
  width: 200px;
  margin: 0;
  color: #fff;
  background: #cd4535;
  border: none;
  padding: 10px;
  border-radius: 4px;
  border-bottom: 4px solid #b02818;
  transition: all 0.2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}
.remove-image:hover {
  background: #c13b2a;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}
.remove-image:active {
  border: 0;
  transition: all 0.2s ease;
}
/*==========Shapes and Images============*/
.shapes-and-images-loadar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  z-index: 9;
  background-color: #c5e1ec;
}
.loadanimation-shapes-and-images {
  width: 30px;
  height: 30px;
  position: absolute;
  z-index: 9999;
  /*background: url(../img/logo.png) no-repeat center center;
    */
  animation: spinner_rotate_back 1s linear infinite;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  border-radius: 50px;
  border: dashed 3px #000;
  z-index: 1;
  background-size: 70%;
}
/*==========Fonts Dropdown============*/
.dropdown button {
  width: 100%;
  border: solid 1px #cecece !important;
  border-radius: 10px;
}
.dropdown .btn-default.active,
.dropdown .btn-default:active,
.dropdown.open > .dropdown-toggle.btn-default {
  color: #000 !important;
  background-color: #fff !important;
  outline: none !important;
}
.dropdown button input[type="text"] {
  border: none !important;
  background-color: transparent !important;
  width: 100% !important;
  font-size: 18px;
  outline: none !important;
}
.dropdown button .caret {
  margin-left: -6px;
  position: absolute;
  right: 10px;
  top: 17px;
}
.dropdown .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  height: 0;
  display: inline-block;
  overflow: hidden;
}
.dropdown.open .dropdown-menu {
  display: inline-block;
  opacity: 1;
  visibility: visible;
  height: auto;
  background-color: #fff !important;
  padding: 5px;
  background-image: none;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.dropdown-menu .dropdown-item {
  width: 100%;
  background-color: #fff !important;
}
.dropdown-menu .dropdown-item a {
  background-color: #fff !important;
  color: #000 !important;
  padding: 6px 10px !important;
  height: auto !important;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.dropdown-menu .dropdown-item:last-child a {
  border-bottom: none !important;
}
/*==========Text Align============*/
#text_style2 a,
#text_align3 a {
  /* background-color: #e6e6e6; */
  display: inline-block;
  float: left;
  text-align: center !important;
  width: calc(33.33% - 2px);
  padding: 8px 5px !important;
  line-height: 1 !important;
  margin-right: 2px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  color: #aeaeae;
  border: solid 1px #cecece !important;
}

#text_style2 a i,
#text_align3 a i{
  text-shadow: none !important;
}

#text_style2 a.active,
#text_align3 a.active {
  /* background-color: #e6e6e6; */
  color: #1e90ff;
}

.uploadimg {
  position: absolute;
  bottom: auto;
  right: auto;
}
.btns-box {
  position: relative;
  margin: auto;
}
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.popup.active {
  display: flex;
  /* Change to flex to center content */
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}
.close:hover {
  color: red;
}
.popup input {
  margin-bottom: 0;
  height: 40px;
  border-radius: 5px;
  padding: 15px;
}
.popup button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}
.popup button:hover {
  background-color: #0056b3;
}
.loader {
  border: 16px solid #f3f3f3;
  /* Light grey */
  border-top: 16px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -60px;
  /* Half of the loader's height */
  margin-left: -60px;
  /* Half of the loader's width */
  z-index: 9999;
  display: none;
  /* Initially hidden */
  z-index: 999999;
}
#dloader {
  display: none;
  /* Initially hidden */
  z-index: 999999999;
}
#dloader .loadanimation {
  display: block !important;
}
.onloader {
  display: block !important;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
img {
  /*image-rendering: pixelated;
    */
  /* or crisp-edges */
}


/*==========color Swatches===========*/

.colorButtons-in{
  margin-left: -15px;
  margin-right: -15px;
}

.color-button {
  width: 26px;
  height: 26px;
  margin: 8px;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  outline: none;
  position: relative;
}

.color-button::before {
  position: absolute;
  left: -5px;
  top: -5px;
  content: "";
  width: 36px;
  height: 36px;
  border: solid 1px #cecece !important;
  -webkit-border-radius: 50px;
  border-radius: 50px;
}

/* ======Edit Text======= */

.sp-container{
  background-color: #fff !important;
  border: solid 1px #fff !important;
  -webkit-box-shadow: 0px 0px 4px 0 rgba(0, 0, 0, 0.3) !important;
  -moz-box-shadow: 0px 0px 4px 0 rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0px 0px 4px 0 rgba(0, 0, 0, 0.3) !important;
  border-radius: 3px !important;
}

.sp-container .sp-choose{
  background-color: #1e90ff;
  border: 1px solid #1e90ff;
  color: #fff !important
}

.sp-container .sp-choose:hover{

}

/*==========Custom Scroll Bar Design===========*/

/* Customize scrollbar */
.scrollbox::-webkit-scrollbar {
  width: 4px; /* Width of the scrollbar */
}

/* Customize scrollbar */
.scrollbox {
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #b6c8f2 #eee; /* For Firefox */
}

/* For WebKit browsers */
.scrollbox::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

.scrollbox::-webkit-scrollbar-track {
  background: #e1e1e1; /* Track color */
}

.scrollbox::-webkit-scrollbar-thumb {
  background: #888; /* Thumb color */
  border-radius: 4px; /* Round corners */
}


/*==========SideBar===========*/
.leftwindow{
  background-color: #fff !important;
}
.scrollbox {
  padding-left: 15px;
  padding-right: 15px;
}

.leftwindow h3,
.leftwindow ul li.heading h3 {
  background-color: #e8f0fb;
  border-bottom: solid 1px #d5dde8;
  margin: 10px 0;
  padding: 10px 15px;
  font-size: 16px;
  text-align: left;
}

.leftwindow label{
  font-weight: 400;
}

.leftwindow h3{
  width: 100%;
  float: left;
}

.leftwindow ul li.heading{
  width: calc(100% + 30px);
  margin: 0 -15px;
}


.design_area{
  overflow: auto;
}

.uploadimg{
  pointer-events: visible;
  
}

.uploadimg + .uploadimg{
  pointer-events: none;
}

.uploadimg + .uploadimg i{
  opacity: 0.2;
}

.design_area{
  /* transform: scale(0.5, 0.5); */
}

.btns-box{
  /* transform: scale(1, 1); */
} 

.design_area, .btns-box {
  /* position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); */
}


.new-canvas .shapes-and-images-loadar{
  display: none !important;
}

#newoutrcanvas{
  /* visibility: hidden; */
  position: fixed;
  /* opacity: 0; */
}

.overlay{
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  /* transition: 1s 0.4s; */
  margin: auto;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  background: url("../img/Background-Image.jpg") no-repeat center;
  background-size: cover;
  /* display: none; */
}

.overlay:before{
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(29, 0, 97, 0.85);
  position: fixed;
  backdrop-filter: blur(10px);
  
  /* filter: blur(50px); */
  text-align: center;
  opacity: 0.85;
}

.overlay div{
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.overlay div button{
    background: #e25352;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px auto;
    border: none;
    padding: 15px 30px;
    width: 100%;
    border: solid 2px rgba(255, 165, 85, 0.95);
    outline: solid 7px rgba(255, 125, 125, 0.38);

    /* Add transition for smooth effect */
    transition: background 0.3s ease, border 0.3s ease, outline 0.3s ease, transform 0.3s ease;
}

.overlay div button:hover{
  /* outline: solid 7px rgba(0, 0, 0, 0.25); */
  outline: solid 7px rgba(255, 148, 148, 0.6);
}