.croppie-container {
    width: 100%;
    height: 100%;
}

.croppie-container .cr-image {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    max-height: none;
    max-width: none;
}

.croppie-container .cr-boundary {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.croppie-container .cr-viewport,
.croppie-container .cr-resizer {
    position: absolute;
    border: 2px solid #fff;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    box-shadow: 0 0 2000px 2000px rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.croppie-container .cr-resizer {
  z-index: 2;
  box-shadow: none;
  pointer-events: none;
}

.croppie-container .cr-resizer-vertical,
.croppie-container .cr-resizer-horisontal {
  position: absolute;
  pointer-events: all;
}

.croppie-container .cr-resizer-vertical::after,
.croppie-container .cr-resizer-horisontal::after {
    display: block;
    position: absolute;
    box-sizing: border-box;
    border: 1px solid black;
    background: #fff;
    width: 10px;
    height: 10px;
    content: '';
}

.croppie-container .cr-resizer-vertical {
  bottom: -5px;
  cursor: row-resize;
  width: 100%;
  height: 10px;
}

.croppie-container .cr-resizer-vertical::after {
    left: 50%;
    margin-left: -5px;
}

.croppie-container .cr-resizer-horisontal {
  right: -5px;
  cursor: col-resize;
  width: 10px;
  height: 100%;
}

.croppie-container .cr-resizer-horisontal::after {
    top: 50%;
    margin-top: -5px;
}

.croppie-container .cr-original-image {
    display: none;
}

.croppie-container .cr-vp-circle {
    border-radius: 50%;
}

.croppie-container .cr-overlay {
    z-index: 1;
    position: absolute;
    cursor: move;
    touch-action: none;
}

.croppie-container .cr-slider-wrap {
    width: 75%;
    margin: 15px auto;
    text-align: center;
}

.croppie-result {
    position: relative;
    overflow: hidden;
}

.croppie-result img {
    position: absolute;
}

.croppie-container .cr-image,
.croppie-container .cr-overlay,
.croppie-container .cr-viewport {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

/*************************************/
/***** STYLING RANGE INPUT ***********/
/*************************************/
/*http://brennaobrien.com/blog/2014/05/style-input-type-range-in-every-browser.html */
/*************************************/

.cr-slider {
    -webkit-appearance: none;
/*removes default webkit styles*/
	/*border: 1px solid white; *//*fix for FF unable to apply focus style bug */
    width: 300px;
/*required for proper track sizing in FF*/
    max-width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: transparent;
}

.cr-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    border-radius: 3px;
}

.cr-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #ddd;
    margin-top: -6px;
}

.cr-slider:focus {
    outline: none;
}
/*
.cr-slider:focus::-webkit-slider-runnable-track {
background: #ccc;
}
*/

.cr-slider::-moz-range-track {
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    border-radius: 3px;
}

.cr-slider::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #ddd;
    margin-top: -6px;
}

/*hide the outline behind the border*/
.cr-slider:-moz-focusring {
    outline: 1px solid white;
    outline-offset: -1px;
}

.cr-slider::-ms-track {
    width: 100%;
    height: 5px;
    background: transparent;
/*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
	border-color: transparent;/*leave room for the larger thumb to overflow with a transparent border */
	border-width: 6px 0;
	color: transparent;/*remove default tick marks*/
}
.cr-slider::-ms-fill-lower {
	background: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
}
.cr-slider::-ms-fill-upper {
	background: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
}
.cr-slider::-ms-thumb {
	border: none;
	height: 16px;
	width: 16px;
	border-radius: 50%;
	background: #ddd;
	margin-top:1px;
}
.cr-slider:focus::-ms-fill-lower {
	background: rgba(0, 0, 0, 0.5);
}
.cr-slider:focus::-ms-fill-upper {
	background: rgba(0, 0, 0, 0.5);
}
/*******************************************/

/***********************************/
/* Rotation Tools */
/***********************************/
.cr-rotate-controls {
	position: absolute;
	bottom: 5px;
	left: 5px;
	z-index: 1;
}
.cr-rotate-controls button {
	border: 0;
	background: none;
}
.cr-rotate-controls i:before {
	display: inline-block;
	font-style: normal;
	font-weight: 900;
	font-size: 22px;
}
.cr-rotate-l i:before {
	content: '↺';
}
.cr-rotate-r i:before {
	content: '↻';
}


#cropImagePop .modal-dialog, #croppedEditImagePop .modal-dialog{ 
	max-width: 700px;
}

.element-box{
	text-align: center;
} 
.element-box.croped-image-bl img{
	max-width:100%;
} 
.element-box img{
	text-align:center;
}
/* .direction-rtl .modal-header{
	direction: ltr;
} */
.direction-ltr .modal-header{
	direction: rtl;
}
 


#cropImagePop .btn , .cropimage-pp-btn {
    background: #286ba9;
    color: #fff;
    border: none;
    border-radius: 8px;
     
    
}
#cropImagePop .btn:hover, .cropimage-pp-btn:hover {

    background: #fbaf2e;

}
.direction-rtl .modal-header .close{
	margin: -1rem auto -1rem -1rem;
}
.croppie-container .cr-boundary{
	max-width:100%;
}

 /* Emojis css */
 
 #croppedEditImagePop #cropped-image {
    position: relative;
    float: left;
    width: 100%;
	text-align: center;
}
 #croppedEditImagePop  .canvas-container{
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	max-width: 100%;
}
 #croppedEditImagePop #emojis{
	 position:relative;
 }
 #croppedEditImagePop #emojis option {
  background:white;
  border:1px solid #ccc;
  position:absolute;
  top:-1px;
  left:-1px;
  width:100%;
  height:88px;
  overflow-y:scroll;
}
 #croppedEditImagePop  .canvas-wrappter {
    position: relative;
}
 #croppedEditImagePop  .canvas-wrappter {
	 
 }
/*  #croppedEditImagePop  .itext {
   width: 300px; * 
    background: transparent;
    position: absolute;
    z-index: 2;
 border:1px solid transparent;  
	box-shadow:none;
} */
#croppedEditImagePop .canvas-container .itext {
	 
	 box-shadow:none;
	    /*  background: transparent; */
    position: absolute;
    z-index: 2;
	resize: none;
	height: 150px !important;
	margin-left: auto !important;
    margin-right: auto !important;
    top: 50px;
	max-width:90%;
	border:1px solid #286ba9 !important;
	border-radius:3px;
	padding: 5px;
	line-height: 1.3em;
	direction: rtl;
text-align: right;

}
#croppedEditImagePop .canvas-container .dddddd {
	position: absolute;
	top: 47px;
	left: 0;
	right: 0;
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;

}
#croppedEditImagePop .canvas-container .dddddd:after {

    content: "";
    width: 350px;
    height: 230px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: -25px;
    position: absolute;
    top: -10px;
    border: 1px solid #286ba9;
    background: #ecefff;
    border-radius: 10px;

}
#croppedEditImagePop .canvas-container .dddddd h5 {

    color: #286ba9;
    z-index: 1;
    position: relative;
    text-align: right;
    font-size: 16px;
    font-weight: bold;

}
#croppedEditImagePop .canvas-container .dddddd button {

	background: #286ba9;
	z-index: 1;
	color: #fff;
	position: relative;
	border: 1px;
	border-radius: 3px;
	font-size: 14px;
	padding: 4px 8px 5px;
	line-height: 1em;
	margin-top: 173px;
}
#croppedEditImagePop  .box-body {
	padding: 10px;
	width:292px;
	border-radius:5px;
	box-shadow:0 0 2px 0 rgba(0,0,0,0.12), 0 2px 2px 0 rgba(0,0,0,0.24);
	position: absolute;
	left: 0;
	z-index: 1;
	background: #fff;
	margin-left: auto;
	margin-right: auto;
	right: 0;
}
 #croppedEditImagePop  .box-body-icon{
	height: 90px;
    position: relative;
    white-space: nowrap;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    flex-direction: column;
    flex-wrap: wrap;

}
 #croppedEditImagePop .emojis-btn-img {
    position: relative;
    padding-left: 44px;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 34px;
	width: 34px;
	padding: 0;
	cursor: pointer;
	float: left;
	display: inline-block;
	vertical-align: top;
	margin: 1px;
}
 #croppedEditImagePop .emojis-btn-img  img{
	 -webkit-user-drag: none;
	  -khtml-user-drag: none;
	  -moz-user-drag: none;
	  -o-user-drag: none;
	  user-drag: none;
 }
  
#croppedEditImagePop  .list-inline > li {
    float: left;
	background: #ecefff;
	margin: 0 5px;
}
.direction-rtl #croppedEditImagePop .list-inline > li{
	 float: right;
}
#croppedEditImagePop  .list-inline > li.modal-drp {
	background:transparent;
}
#croppedEditImagePop .list-inline > li button i{
	 line-height: 35px;
	 width: 35px;
    color: #286ba9;
}
#croppedEditImagePop .list-inline > li > button {
	border: 0;
	padding: 0;
}

#croppedEditImagePop .list-inline > li.text-font-size {
    width: 52px;
}
#croppedEditImagePop .list-inline > li.text-font-size input {
	text-align: center;
}
#croppedEditImagePop .list-inline > li #fill{
	padding: 0;
	height: 35px;
	width: 35px;
	cursor: pointer;
}


#croppedEditImagePop .bootstrap-select .dropdown-menu{
	max-height: 200px;
}
.direction-rtl #croppedEditImagePop .bootstrap-select .dropdown-menu{
	text-align: right;
	
}
 #croppedEditImagePop .bootstrap-select  .dropdown-menu li a{
	 color:rgba(146, 143, 143, 0.7)
 } 
#croppedEditImagePop .bootstrap-select  .dropdown-menu li.selected.active a,
 #croppedEditImagePop .bootstrap-select  .dropdown-menu li:hover a {
    background: #fbaf2e;
    color: #fff;
}
#croppedEditImagePop  .bootstrap-select > .dropdown-toggle {
    background: #fff;
    border-radius: 18px;
    color: #928f8f;
	font-weight: 300;
    border: 1px solid #b7b7b7;
    transition: all ease-in-out 0.3s;
	outline: none !important;
	box-shadow: none;
	padding-right: 40px;
}
.direction-rtl #croppedEditImagePop  .bootstrap-select .dropdown-toggle{
	padding-left: 40px;
	padding-right: .75rem;
}
.direction-rtl #croppedEditImagePop  .bootstrap-select .dropdown-toggle:after {
    top: 15px;
	left: 15px;
	position: absolute;
	border-width: .5em;
}
#croppedEditImagePop .dropdown.bootstrap-select.show > .dropdown-toggle {
    border-radius: 15px 15px 0 0;
}
#croppedEditImagePop .dropdown.bootstrap-select.show.dropup > .dropdown-toggle {
    border-radius: 0 0 15px 15px;
}
#croppedEditImagePop .bootstrap-select .dropdown-menu{
	border-width: 1px;
	border-radius: 0 0 15px 15px;
	padding: 0;
	margin: -2px 0 0;
	border-top: none;
}
 #croppedEditImagePop  .dropdown.bootstrap-select.show.dropup > .dropdown-menu{
	border-bottom: 0;
	border-top: 1px solid #b7b7b7;
}
.direction-rtl #croppedEditImagePop  .dropdown.bootstrap-select.show.dropup > .dropdown-menu {
    border-radius: 15px 15px 0 0;
    border-width: 1px;
}
#croppedEditImagePop #cropped-image #canvas,
#croppedEditImagePop #cropped-image .upper-canvas {
	height: auto !important;
}
 
#cropImagePop .modal-footer-top,
#cropImagePop .modal-footer{
	display: block;
	width: 100%;
}
#cropImagePop .modal-footer-crop{
	display: block;
	width: 100%;
	float: right;
	text-align: center;
	padding-top: 20px;
}

#cropImagePop .modal-footer-crop  a{
	min-width: 140px;
}
#cropImagePop .btn i{
	margin-right: 10px;
}

@media (max-width:575px){
	#croppedEditImagePop .modal-body,
	#cropImagePop .modal-body{
		padding-left: 5px;
		padding-right: 5px;
	}
	#croppedEditImagePop .bootstrap-select{
		width: 160px;
	}
	#croppedEditImagePop .canvas-container .itext {
		max-width:380px;
	}
	.croppie-container .cr-boundary{
		max-height: 350px;
	}
}
@media (max-width:400px){
	#croppedEditImagePop .list-inline > li{
		margin: 0 2px;
	}
	#croppedEditImagePop .list-inline > li.modal-drp{
		width: 70%;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 5px;
		padding: 0 2px;
	}
	#croppedEditImagePop .list-inline > li.text-font-size{
		width: 30%;
		margin-bottom: 5px;
		margin-left: 0;
		margin-right: 0;
		padding: 0 2px;
		background: #fff;
	}
	#croppedEditImagePop .bootstrap-select{
			/* width: 130px; */
				width:100%;
	} 
	#croppedEditImagePop .bootstrap-select .dropdown-menu{
		/* max-width: 130px; */
			width:100%;
	}
	#croppedEditImagePop .canvas-container{
		margin-top: 85px;
	}
	#cropImagePop .modal-footer{
		float: right;
		width: 100%;
		display: block;
	}
	#cropImagePop .btn{
		width: 48% !important;
		float: left;
		display: block;
		margin: 1% !important;
	}
	#croppedEditImagePop .canvas-container .itext,
	#croppedEditImagePop .canvas-container .dddddd{
		max-width:290px;
	}
	
	#croppedEditImagePop .canvas-container .dddddd:after {
		width: 300px;
		right: -5px;
	}
	.croppie-container .cr-boundary{
		max-height: 350px;
	}
}

 