/**
** LOADER
**/
.sq-form-upload {
  margin: 5px 0; 
  display: flex;
  align-items: center;
}

.submit-loading {
  margin-top: 20px;
  display: flex;
  align-items: center;
}
.loading-dual-ring {
  margin-right: 10px;
  display: inline-block;
  width: 35px;
  height: 35px;
}

.loading-dual-ring:after {
  content: " "; 
  display: block;
  width: 23px;
  height: 23px; 
  margin: 1px;
  border-radius: 50%;
  border: 5px solid rgba(0, 0, 0, .3);
  border-color: rgba(0, 0, 0, .3) transparent rgba(0, 0, 0, .3) transparent;
  animation: loading-dual-ring 1.2s linear infinite;
}
@keyframes loading-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
   transform: rotate(360deg);
 }
}

@media (max-width:768px){
  .loading-dual-ring, .loading-dual-ring:after{
    display:none;
  }
}

/**
** BULLET POINTS
**/

/* remove bullet points from summary table */ 
.content__main td li {
  list-style-type: none;
}
/* remove indented list items */ 
form fieldset ul {
  padding-left: 0px;
}
/* remove bullet points from list items, ensure labels are displaying correctly */ 
form fieldset ul li {
  list-style-type: none;
  display: flex; 
  flex: 1 1 auto; 
  align-items: baseline; 
}

/*
** GLOBAL + LABEL RESETS
*/

/* unbold radio/checkbox labels */ 
form input[type="radio"]+label, form input[type="checkbox"]+label {
  font-weight: normal;
} 

input[type="number"] {
  -moz-appearance: textfield;
}


/*
** ERROR MESSAGES
*/

/*add sme space to the error messages*/
.alert-danger {
  margin-top: 10px;
}

/* Server side error message */
p.sq-form-errors-message {
  margin: 20px 0 0 !important;
  padding: 10px 20px 8px 45px;
  display: block;
  position: relative;
  border: 1px solid #FF394F;
  border-left-width: 8px;
  border-radius: 2px;
}

p.sq-form-errors-message:before {
  display: block;
  position: absolute;
  top: 7px;
  left: 7px;
  width: 30px;
  height: 30px;
  content: '';
  background: url(/__data/assets/git_bridge/0005/1384979/build/images/icons/well/times.svg) center center no-repeat;
  background-size: contain;
}


/**
** FILE UPLOADS
**/

/*Hides ootb file upload input */
[type="file"] {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;  
}

/*Creates a cross browser supported file upload*/
.sq-form-question-file-upload > label {
  background-color: #f0f0f0;
  border: 1px solid rgb(200,200,200);
  border-right: 2px solid rgb(200, 200, 200);
  color: #000;
  cursor: pointer;
  display: inline-block;
  font-family: Heebo, sans-serif;
  font-size: 0.8em;
  font-weight: 400;
  height: 100%;
  line-height: 2.9em;
  padding-left: 2em;
  padding-right: 2em;
  margin-top: 0;
  margin-bottom: 0;
  transition: background .3s ease, border .3s ease, color .3s ease, box-shadow .3s ease;
}

@media screen and (max-width: 600px) {
  .sq-form-question-file-upload > label {
    padding-left: 0.8em;
    padding-right: 0.8em;
  }
}

.sq-form-question.sq-form-question-file-upload {
  width: 100%;
  border: 1px solid #ccc;
  margin: 2em 0;
  height: 4rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

.sq-form-question.sq-form-question-file-upload.has-focus > label {
  outline: 1px dotted #000;
  outline: -webkit-focus-ring-color auto 5px;
}

.sq-form-question-file-upload:hover > label {
  background-color: rgb(200,200,200);
  box-shadow: 0 0 10px rgba(135, 135, 133, 0.2);
  outline: none;
}

.sq-form-question.sq-form-question-file-upload > .sq-form-question-answer {
  order: 5;
  width: 0.1px;
  overflow:hidden;
}

/*Adds file information to the file input */
.file-name {
  margin-left: 0.5em;
  white-space: nowrap;
  overflow: hidden;
  margin: 0 0.5em;
}
.file-info {
  margin-left: auto;
  margin-right: 0.5em;
}