/* Override Sweet Alert default style */
.sweet-alert {
  margin-top: 0 !important;
  transform: translateY(-50%);
}

.sweet-alert button {
  background-color: #FC2751;
  font-weight: bold;
  padding: 12px;
}
.sweet-alert img {
  display: block;
  margin-bottom: 10px;
}

.sa-button-container {
  display: none;
}

/* Customize default file input button */
.inputfile {
 	width: 0.1px;
 	height: 0.1px;
 	opacity: 0;
 	overflow: hidden;
 	position: absolute;
 	z-index: -1;
 }


.inputfile + label {
  display: inline-block;
  padding: 12px;
  font-weight: bold;
  color: white;
  border-radius: 5px;
  background-color: #FC2751;
  transition: all 400ms ease;
}

.inputfile:focus + label,
.inputfile + label:hover {
   background-color: #EA6680;
}

.inputfile + label {
	cursor: pointer;
}

/* Croppie CSS */
.croppie-container {
  padding: 10px;
}
.croppie-container .cr-slider-wrap {
  margin-top: 5px;
}
.cr-slider {
  visibility: hidden;
}

.cr-boundary {
  position: relative;
  background-color: #CCC;
}



/* Main */
body {
  font-family: 'Fira Sans', sans-serif;
  background-color: #fffff;
}

.title {
  margin-top: 2em;
  font-size: 24px;
  text-align: center;
  color: #FFF;
}



.image-canvas {
  width: 400px;
  height: 400px;
  display: none;
}

img {
  max-width: 100%;
}


.profile-pic-wrap {
  position: relative;
}

.button {
  display: inline-block;
  font-family: 'Fira Sans', sans-serif;
  padding: 12px;
  font-weight: bold;
  color: white;
  border-radius: 5px;
  background-color: #FC2751;
  text-decoration: none;
  transition: all 400ms ease;
}

.button:hover {
  background-color: #EA6680;
}

/* Loaders */
.loader {
  margin: 100px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.3);
  border-right: 1.1em solid rgba(255, 255, 255, 0.3);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.3);
  border-left: 1.1em solid #FFF;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

.loader.green {
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 5em;
  height: 5em;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
