/* General */
.surv-form .surv-page-links{
  display: none;
}
.surv-form .surv-load-status{
  text-align: center;
}
.surv-form .surv-warning{
  font-size: 12px;
  color: #f00;
  margin-top:10px;
  display: block;
}
.surv-iframe{
  border: none;
}
.surv-username {
  margin-right: 10px;
}

.surv-form .label-text{
  margin-bottom: 15px;
  display: block;
}
.surv-form .page-load-status{
  display: none;
}
.surv-form .page-load-status .infinite-scroll-request{
  text-align: center;
}

/* Show selected images */
.surv-form .surv-selected-images{
  margin-top: 3em;
}
.surv-form .surv-selected-images span.item{
  width: 50px;
  height: 50px;
  display: inline-block;
  background-size: cover !important;
  background-repeat: no-repeat;
  border: 1px solid #eee;
  padding: 2px;
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 50px;
  position: relative;
  background-position: center;
}
.surv-form .surv-selected-images span.item .surv-delete{
  display: none;
  cursor: pointer;
}
.surv-form .surv-selected-images span.item:hover .surv-delete{
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  background: #f00;
  color: #fff;
  width: 15px;
  height: 15px;
  text-align: center;
  line-height: 15px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 10px;
}

.surv-form select,
.surv-form input[type="text"],
.surv-form input[type="email"],
.surv-form input[type="url"],
.surv-form input[type="password"],
.surv-form input[type="number"] {
  width: 90%;
  height: 50px;
  font-size: 16px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  border-width: 0 0 1px;
  transition: all 0.5s;
  margin: 0 0 20px;
  border-radius: 0;
}

.surv-form select {
  border-width: 1px;
  margin: auto;
}

.surv-form textarea{
  width: 90%;
  height: 150px;
  padding: 10px;
  margin: 0 20px 20px;
  transition: all 0.5s;
}

.surv-form textarea:focus,
.surv-form input[type="text"]:focus,
.surv-form input[type="email"]:focus,
.surv-form input[type="url"]:focus,
.surv-form input[type="password"]:focus,
.surv-form input[type="number"]:focus {
   border: 0;
   outline: 0;
   transition: all 0.5s;
   box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Checkbox Images */
.surv-image-picker{
	width: 100%;
  height: auto;
  overflow: hidden;
}
.surv-image-picker .image-item{
	height: auto;
	overflow: hidden;
	float: left;
	width: 32%;
}
.surv-image-picker .image-item input[type="checkbox"]{
  display: none;
}
.surv-image-picker .image-item input[type="radio"]{
  display: none;
}
.surv-image-picker .image-item label {
  border: 1px solid #fff;
  display: block;
  position: relative;
  margin: 10px;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.surv-image-picker .image-item label::before {
  background-color: #2196F3;
  color: #fff;
  content: " ";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  transition-duration: 0.4s;
  opacity: 0;
  z-index: 9;
}

.surv-image-picker .image-item label img {
  height: auto;
  width: 100%;
  transition-duration: 0.2s;
  transform-origin: 50% 50%;
}

.surv-image-picker .image-item label:hover img{
  box-shadow: 0 5px 9px rgba(0,0,0,.2);
}

.surv-image-picker .image-item input[type="radio"]:checked + label::before,
.surv-image-picker .image-item input[type="checkbox"]:checked + label::before {
  content: "✓";
  opacity: 1;
}

.surv-image-picker .image-item input[type="radio"]:checked + label img,
.surv-image-picker .image-item input[type="checkbox"]:checked + label img {
  opacity: 0.9;
  transform: scale(0.95);
}

/* Icon Style */
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item{
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item label{
  border: none;
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid #ddd;
  border-radius: 200px;
  transform: scale(0.8);
  transition: all 0.5s;
}
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item label span{
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin-top: -45px;
}
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item:hover label{
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: all 0.5s;
  transform: scale(0.85);
}
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item img{
  width: 80px;
  height: 80px;
  border-radius: 200px;
  border: none;
}
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item:hover img{
  box-shadow: none;
}
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item input[type="radio"]:checked + label,
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item input[type="checkbox"]:checked + label {
  border-color: #333;
  transform: scale(0.85);
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item input[type="radio"]:checked + label::before,
.surv-form .surv-form-item[data-image-style="icon"] .surv-image-picker .image-item input[type="checkbox"]:checked + label::before {
  top: 15px;
  right: 25px;
}

/* Loader */
.surv-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.surv-ellipsis div {
  position: absolute;
  top: 33px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.surv-ellipsis div:nth-child(1) {
  left: 8px;
  animation: surv-ellipsis1 0.6s infinite;
}
.surv-ellipsis div:nth-child(2) {
  left: 8px;
  animation: surv-ellipsis2 0.6s infinite;
}
.surv-ellipsis div:nth-child(3) {
  left: 32px;
  animation: surv-ellipsis2 0.6s infinite;
}
.surv-ellipsis div:nth-child(4) {
  left: 56px;
  animation: surv-ellipsis3 0.6s infinite;
}
@keyframes surv-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes surv-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes surv-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/* Custom Checkbox & Radio*/
.surv-custom-checkbox-radio {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: left;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.surv-custom-checkbox-radio.surv-inline-fields{
  border: none;
}

/* Hide the browser's default checkbox */
.surv-custom-checkbox-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.surv-custom-checkbox-radio .option-label{
  font-size: 15px;
  z-index: 2;
  position: relative;
  top: 5px;
}

/* Create a custom checkbox */
.surv-checkmark-radio,
.surv-checkmark {
  position: absolute;
  top: 7px;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  z-index: 2;
}

.surv-checkmark-radio {
  border-radius: 50px;
}

/* On mouse-over, add a grey background color */
.surv-custom-checkbox-radio:hover input ~ .surv-checkmark  {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.surv-custom-checkbox-radio input:checked ~ .surv-checkmark  {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.surv-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.surv-custom-checkbox-radio input:checked ~ .surv-checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.surv-custom-checkbox-radio .surv-checkmark:after {
  left: 9px;
  top: 7px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.surv-inline-fields{
  display: inline-block;
  margin-right: 20px;
}

/* Submit form screen */
.surv-default .surv-submit-screen {
  width: 100%;
  text-align: center;
}
.surv-default .surv-submit-screen .surv-back-button {
  display: inline-block;
  height: 38px;
  min-width: 100px;
  margin-top: 30px;
}
.surv-default .surv-form-submit{
  width: 100%;
  height: auto;
  margin: 100px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.surv-form-submit h3{
  width: 60%;
  text-align: center;
  margin: auto;
}
.surv-form .surv-form-submit button{
  margin: 40px auto;
  display: inline-block;
}

/* login & register form */
.surv-form .surv-switch-link{
  display: block;
  width: 100%;
  margin-top: 3em;
}
.surv-form .surv-login-form,
.surv-form .surv-register-form{
  width: 100%;
  margin: auto;
}
.surv-form-submit .surv-sign-in-up h3{
  margin: 0;
  text-align: left;
}
.surv-form .surv_form_text_field{
  width: 100%;
  border-width: 0 0 1px 0;
  border-color: #eee;
  border-radius: 0;
  font-size: 1em;
  padding-left: 0;
}
.surv-form .surv_form_text_field:focus{
  box-shadow: none;
  border: none;
}
.surv-form .surv-login-form button,
.surv-form .surv-register-form button{
  margin-top: 20px;
  display: inline;
}

@media screen and (max-width: 767px) {
  .surv-image-picker .image-item {
     width: 49%;
  }
}
@media screen and (max-width: 640px) {
  .surv-image-picker .image-item {
     width: 100%;
     float: none;
  }
}
