.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: 270px !important;
}

.cropArea {
    margin-bottom:0px !important;
    height: auto !important;
}
    .headerCropp{
    margin-top: -20px;

    margin-left: -20px;
    margin-right: -10px;
    background-color: #586476;
    color: #fff;
    width: calc(100% + 40px);
    padding: 14px 20px;
    margin-bottom:0px;
      font-size: 19px;
      border-radius: 4px 4px 0px 0px;
    }


    #myAvatarImageField
    {

    position: absolute;
    left: 0%;
    width: 100%;
    opacity: 0;
    height: 30px;

    }

#imageAvatorModal .modal-wrapper-close{
    top:15px;
width: 25px;
right: 15px !important
}

.horizontal-align{
    top:7px !important;
}


        .croppie-containerpanel form {width: calc(100% + 40px);
            margin-left: -20px;
        }

        #imageAvatorModal .modal-wrapper-close .lines:after,
        #imageAvatorModal .modal-wrapper-close .lines:before{ width: 1.5rem}

.croppie-container .cr-viewport {
    position: absolute;
    border: 1px dashed #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-original-image {
    display: none;
}

.croppie-container .cr-vp-circle {
    border-radius: 50%;
}

.croppie-container .cr-overlay {
    z-index: 1;
    position: absolute;
    cursor: move;

}
.croppie-containerpanel .modal__body{
 /*height:270px*/
}
.croppie-containerpanel input[type="range" i] { color: #a1a6ba; }
.croppie-containerpanel input[type=range]::-webkit-slider-thumb,
 .croppie-containerpanel  input[type=range]::-moz-range-thumb ,
  .croppie-containerpanel  input[type=range]::-ms-track{
     border:2px solid #03a9f4;
     background:#fff;
}

input[type="range"]::-moz-range-track {
  background-color: #a1a6ba;
}

  .croppie-containerpanel .modal__footer {  margin: 0px 0px;
    width: calc(100% - 0px);
            margin-top: 2px;
            margin-bottom: 1px;
    }

    .croppie-containerpanel  input[type='range']::-webkit-slider-thumb {
          width: 27px;
          -webkit-appearance: none;
          height: 27px;
          cursor: ew-resize;
          background: #fff;
          border:2px solid #03a9f4;
          margin-top: -12px
    }
    .croppie-containerpanel  input[type='range']::-moz-slider-thumb {
              width: 27px;
              -webkit-appearance: none;
              height: 27px;
              cursor: ew-resize;
              background: #fff;
              border:2px solid #03a9f4;
              margin-top: -12px
        }

        .croppie-containerpanel  input[type='range']::-moz-range-thumb {
              background: #fff;
              width: 27px;
            height: 27px;
            border:2px solid #03a9f4;
        }
        .croppie-containerpanel  input[type='range']:active::-moz-range-thumb {
          background: #fff;
            width: 27px;
           border:2px solid #03a9f4;
        }

    input[type='range']::-webkit-slider-runnable-track {
      height: 2px;
      -webkit-appearance: none;
      color: #a1a6ba;

    }


/** FF*/
input[type="range"]::-moz-range-progress {
  background-color: #a1a6ba;
}
input[type="range"]::-moz-range-track {
  background-color: #a1a6ba;
}
/* IE*/
input[type="range"]::-ms-fill-lower {
  background-color: #a1a6ba;
}
input[type="range"]::-ms-fill-upper {
  background-color: #a1a6ba;
}

.croppie-container .cr-slider-wrap {
  width: calc( 100% - 40px);
  margin: 20px;
  text-align: center;
  padding: 13px 25px;
  padding-top:2px;
  height: 40px;
  padding-left: 15px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  margin-top: 25px;
  margin-bottom: 16px;
}

.homepage .croppie-container .cr-slider-wrap{
    padding: 0px 25px !important;
    height: 40px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 20px;
    margin-bottom: 16px;
}

.homepage { margin-top: 0px !important;}

.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;
    /* border: 1px solid white; */
    width: calc( 100% - 35px);
    max-width: 100%;
    margin-left:-5px
}

.homepage .cr-slider{
    margin-top: 13px;
}

@supports (-moz-transform: translate(0, 0)) {
 .cr-slider {
    margin-top: -8px;
  }
}

.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: 300px;
    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: '↻';
}
.homepage  #imageAvatorModal .modal-wrapper-close {
    right: 8px !important;
    margin-top: 18px;
}
@media only screen and (max-width: 500px){
    #imageAvatorModal .modal-wrapper-close{
        right: 30px !important;
        margin-top: 6px;
    }

    .homepage  #imageAvatorModal .modal-wrapper-close {
        right: 12px !important;
        margin-top: 18px;
    }
}
