 .wrapper_canvas{
  position: relative;
display: inline-block;
margin: 0 auto;
  }

 .amm_canvas{
  position:relative;
   z-index: 0;
   display: none;
 }
 .imageBoxDR,
 .boxDR{
 z-index: 2;
 background-color: rgb(0, 0, 0);
 /*RGBa with 0.6 opacity*/ 
background-color: rgba(0, 0, 0, 0);
 /*For IE 5.5 - 7*/
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000000, endColorstr=#00000000);
 /*For IE 8*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000000, endColorstr=#00000000)";  
 
 }
 .virtual_textfill{
visibility: hidden;
 }
 
input[type=color].amm-color-picker {
    -webkit-appearance: none;
    border: none;
    width: 30px;
    height: 30px;
    margin: 2px 5px;
    min-height: 30px;
    padding: 0;
}
.amm-color-picker::-webkit-color-swatch-wrapper {
	padding: 0;
}
.amm-color-picker::-webkit-color-swatch {
	border: none;
}

 #boxDR0{
    
 }
 #boxDR1{
    bottom: 0;
 }

 .wrapper-memes-main{
    /*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between; 
 }

 .wrapper-memes-main .ui-resizable-ne,
 .wrapper-memes-main .ui-resizable-se,
 .wrapper-memes-main .ui-resizable-nw,
 .wrapper-memes-main .ui-resizable-sw{ 
    border:1px solid white;
     width: 15px;
     height: 15px;
   background-color: rgb(0, 0, 0);
 /*RGBa with 0.6 opacity*/ 
background-color: rgba(0, 0, 0, 0.6);
 /*For IE 5.5 - 7*/
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
 /*For IE 8*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";  
 }
 .wrapper-memes-main .ui-resizable-se
 {
     margin-bottom: -6px;
     margin-right: -4px;
 }
 
 .wrapper-memes-preview{
    text-align: center;    
    width: 70%;
    padding: 10px 0;
 }
 .wrapper-memes-operations{
    width: 25%;
    padding: 10px;
 }
  .wrapper-memes-operations .amm-text{
     width: 100%;
 }
 .wrapper-memes-operations .wrapper-text{
     margin-bottom: 10px;
     /* display: -webkit-box;   
      display: -ms-flexbox;    
      display: flex; */
 }
 #wrapper_canvas_background{
    display: inline-block; 
    width: 100%;
 }
 #wrapper_canvas_background:hover .imageBoxDR,
 #wrapper_canvas_background:hover .boxDR{
     opacity: 1!important;
    
     
 }
 
 
 .wrapper-memes-preview .imageBoxDR:hover,
 .wrapper-memes-preview .boxDR:hover{
     cursor:move;
 }
 .clear_both{clear:both;}
 
.amm-brushes-picker:hover, .picker:hover, .colorBox:hover {
box-shadow: 0 0 3px 1px #999;
}
.amm-brushes-picker,
.fontOps .picker {
display: inline-block;
height: 24px;
line-height: 24px;
}

.fontOps {
    margin-bottom:10px;
    width: 100%;
    height: 44px;
    max-height: 44px;
    padding: 2px;
    color: #333;
    background: #ccc;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
}

.amm-brushes-picker,
.picker {
position: relative;
display: inline-block;
vertical-align: middle;
width: 24px;
height: 24px;
margin: 0 4px;
cursor: pointer;
box-shadow: 0 0 3px 1px #ccc;
line-height: 24px;
}

.wrapper-text .amm-text{
/* float:left; */
vertical-align: top;
padding: 2px;
width: 58%;
height: 44px;
border-width: 2px;
border-style: solid;
resize: none;
line-height: 2.5;
}

.fontOps .ow {
    color: #666;
    height: 30px;
    min-height: 30px;
    line-height: 16px;
    width: 44px;
    padding: 2px 5px;
    border-color: #fff;
    margin-left: 1px;
    border: 1px solid #ccc;
    margin: 2px 5px;
    text-align: center;
    /* -moz-appearance: textfield; */
}
.fontOps .ow::-webkit-outer-spin-button,
.fontOps .ow::-webkit-inner-spin-button {
  /* -webkit-appearance: none; */
  margin: 0;
}
 

.colorBox {
display: inline-block;
vertical-align: top;
width: 24px;
height: 24px;
margin: 5px;
cursor: pointer;
box-shadow: 0 0 3px 1px #ccc;
}
.colorPanelBrushes,
.colorPanel{
    width: 180px;
    height:114px;
    padding: 5px; 
}
.amm-brushes-picker{
    float: right;
}
.pickpop-brushes,
.pickpop{
  display: none;
  background: gray;
  position: absolute;
  z-index: 2; 
}

.wrapperRenderPopupMoreOptions{
  width: 300px;
  padding: 10px;
  display: none;
  background: #ccc;
  position: absolute;
  z-index: 2;
  margin-top: 2px;
}

#colorSelectorBrushes div {
position: absolute;
top: 3px;
left: 3px;
width: 30px;
height: 30px;
background: url(../../../libraries/colorpicker/images/select.png) center;
}

#colorSelectorBrushes {
position: relative;
width: 36px;
height: 36px;
background: url(../../../libraries/colorpicker/images/select.png);
}

#colorSelectorBrushes,
#colorSelector{
    cursor: pointer;
    margin: 5px;
}
.colorpickerbrushes,
.wrapper-memes-operations .colorpicker{
    display: none;
}
body {
    text-align:inherit!important;
     overflow:auto; 
}
 
.wrapperRenderPopupMoreOptions label{
font-weight: bold;
font-size: 14px;
color: black;
width: 90px;
}
.wrapperRenderPopupMoreOptions select{
  width: 70%; 
  display: inline;
  margin-bottom:5px;
  height: 34px;
  min-height: 34px;
}
input[type=number].InputFontSize{
  display: inline;
  width: 87%;
  height: 34px;
  min-height: 34px;
}
#amm-input-upload-image-meme-responsive,
.wrapper-memes-preview-operations .amm-addImage{
    display: none;
}
.wrapper-memes-preview-operations {
  margin: 0 0 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.imageBoxDR.ForceHide,
.boxDR.ForceHide{
visibility:hidden;
}
.amm_canvas.MouseCrossHair:hover{
    cursor: crosshair;    
}
 
.wrapper-amm-stop-brushes{
    display: none;
}
.wrapper-amm-stop-brushes.show{
  display: -webkit-box!important;    display: -ms-flexbox!important;    display: flex!important;
  justify-content: center;
}
#amm-stop-brushing, .amm-brushes-picker{
    float: right;
}
input#amm-clear-brush {
    float: left;
}
.wrapper-memes-preview-operations input {

padding: 3px;
}
.wrapper_select_image_amm{
    cursor: pointer;
}

.wrapper_thumbnail_meme{
    display: -webkit-box;    display: -ms-flexbox;    display: flex;
}
.stButton .stFb, .stButton .stTwbutton, .stButton .stMainServices{
    height: 22px!important;
}
.wrapper-popup-download-canvas{
    text-align: center;
}
.view-id-memes{
    margin-top: 10px;
}
.amm-popup-trigger{
    cursor:pointer;
}
#example .btn.moreOption {
    text-decoration: underline;   
    width: 32px;
    background-position: center ;
    height: 32px;
    background-size: auto;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
}
.delete-box-amm{
    position: absolute;
    margin-top: -29px;
    left: 50%;
    margin-left: -10px;    
    display: inline-block!important;
    width: 20px;
    height: 30px; 
    border: none;
    cursor: pointer;
}
.flip-box-amm{
    position: absolute;
    margin-top: -29px;
    left: 30%;
    margin-left: -10px;    
    /* display: none; */
    width: 20px;
    height: 30px; 
    border: none;
    cursor: pointer;
    display: inline-block;
}
#imageBoxDR_example_0 .flip-box-amm{
  display: inline-block;
}
.canvas_loading
{

 width: 100%;
height: 350px;
color: white;
display: flex;
justify-content: center;
align-items: center;
position: relative;
top: 0;
z-index: 10;
margin: 10px 0;
   /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0) transparent;
    /* RGBa with 0.6 opacity */
    background: rgba(0, 0, 0, 0.9);
    /* For IE 5.5 - 7*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000060, endColorstr=#99000060);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";

}
.canvas_loading img{
    margin-left: auto;
margin-right: auto;
/* text-align: center; */
display: inherit;
position: relative;
top: 120px;
}
.amm-text-boxes{
    margin: 10px 0;
}
/* .view-id-memes{
    display: none;
} */
.view-id-memes.view-display-id-block_1
{
    margin-bottom: 10px;
    overflow: auto;
     
}
.amm_canvas{
    width: 100%;
}


.wrapper-thumbnail-merge-images{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: start;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;
            margin: 10px 1px;
}

.wrapper-select-merge-image-amm{
    cursor: pointer;
    margin: 2px 10px;
}

.wrapper-select-merge-image-amm img{
    display: inherit;
}

.ui-resizable-se {
    cursor: se-resize;
    width: 12px;
    height: 12px;
    right: 1px;
    bottom: 1px;
}

.ui-resizable-sw {
    cursor: sw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    bottom: -5px;
}

.ui-resizable-ne {
    cursor: ne-resize;
    width: 9px;
    height: 9px;
    right: -5px;
    top: -5px;
}

.ui-resizable-nw {
    cursor: nw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    top: -5px;
}
.ui-resizable-handle {
    position: absolute;
    font-size: .1px;
    display: block;
}
#example .btn{
    display: flex;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    /* border-radius: 4px; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;    
    color: #fff;
    background-color: #000;
    border-color: #000;
    margin-right: 5px
}

/* custom css */
.view-images-memes-ar-amm,
#amm-brushes,
#amm-preview-responsive,
.add_textbox,
#amm-upload-image-meme-responsive,
.wrapper-amm-hover-title-merge-images
{
  display:none !important;
}
.form-generat-meme{
  margin-top:20px;
}
.wrapper-text .amm-text{
  width: 100%;
}
.wrapperRenderPopupMoreOptions label{
  display: inline;
}
a.generate_meme:hover,
a.generate_meme:focus,
a.generate_meme:visited{
  color: #fff;
}
#boxDR_example_0{  
  display: none;
}
@media only screen and (max-width: 800px) {
 body{
    width: 100%;
 }
     .wrapper-memes-main{
        display: block;
     }

     .wrapper-memes-operations,
     .wrapper-memes-preview{
         width: 100%;
         /* padding: 10px; */
     }

     .wrapperRenderPopupMoreOptions{
        margin-top: 0px!important;
        top: 50%;
        position: fixed;
        border: 1px solid grey;
        width: 90%;
        left: 5%!important;
       }
  }

/* crop css */
.crop-wrapper {
  width: min(90%, 800px);
  background-color: #ffffff;
  /* padding: 0 10px 0 10px; */
  border-radius: 0.5em;
}
.crop-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  border-radius: 7px;
}
.crop-wrapper .crop-container .image-container,
.crop-wrapper .crop-container .preview-container {
  /* width: 100%;
  max-width: 320px; */
  max-height: 225px;  
}
.btn-crop-wrapper input[type="file"] {
  display: none;
}
.btn-crop-wrapper label{
  font-weight: initial;
  font-size: 14px;
  margin-bottom: 0;
}
.crop-wrapper img {
  display: block;  
  width: 100%;
  height: 100%;
  max-width: 100%;
}
/* .crop-wrapper .image-container {
  width: 60%;
  margin: 0 auto;
} */
.crop-wrapper .options {
  display: none !important;
  justify-content: center;
  gap: 1em;
}
.crop-wrapper input[type="number"] {
  width: 100px;
  padding: 16px 5px;
  border-radius: 0.3em;
  border: 2px solid #000000;
}
.crop-wrapper .btns {
    display: inline-block;    
    margin: 1em 0;
    width: 100%;
    text-align: center;
}
.crop-instruction-msg, .flipcrop-instruction-msg {
  text-align: center;
  margin-top: 10px;
}
.crop-wrapper .btns button {
  font-size: 1em;
}
.crop-wrapper .hide {
  display: none;
}
.btn-crop-wrapper, .btn-crop-wrapper label{
  cursor: pointer;
}
.crop-wrapper a:hover{
  color: #fff;
}
svg.iconsvg {
  fill: #fff;
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
button#flip svg path {
    fill: #fff;
}
.btn-crop-wrapper label {
    display: flex;
    justify-content: center;
    align-items: center;
}
#example a.generate_meme.btn, #example .reset_meme {
    display: inline-block;
}
.wrapper-memes-preview-operations .btn {
    margin-top: 5px;
}
.wizard__content p {display: none;}
.vertical-text svg.iconsvg g path {
    stroke: #fff !important;
    stroke-width: 19px !important;
}

/* #rotationSlider {
  color: #f6931f;
  font-weight: bold;
  border: 0;
  font-size: 18pt;
  
  text-align: center;
  width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
}

#rotation {
  border: 0; 
  color: #f6931f;
  font-weight: bold;
  font-size: 18pt;
  padding-left: 5px;
  width: 30%
}

#slider {
  display: block;
  margin: auto auto 10px;
}

.ui-slider-horizontal {
  width: 100%;
  height: 5px;
}

.ui-slider .ui-slider-handle {
    height: 13px;
    width: 5px;
    padding-left: 5px;
} */

@media only screen and (max-width: 480px){
 .crop-wrapper {
    width: 100%;
 }
  .crop-container{
    display: block;
  }
  .crop-wrapper .crop-container .image-container, .crop-wrapper .crop-container .preview-container {
    height: 240px;
  }
  .crop-wrapper .crop-container .preview-container {
    margin-top: 15px;
  }
}
