  
/*----styles to override formstack styles in AEM. This is a working version and should be used only for author-training ----*/
.ff-col-2.ff-field-col:not(.docsignWrapper){
    display:block!important;
}


form {
  border-radius: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  background-color: #f5f5f5;
  border: none;
  padding: 2em 2.25em 2em 2.25em;
}

.ff-col-1{
    margin-top:0.25em;
}
.ff-section-header {
  font-family: "DinWebBold", sans-serif;
  color: #000;
  font-size: 1.2em;
  line-height: 3em;
}

/* required icon and label alignment */
label {
  display: inline;
}

.ff-label {
  font-family: "DinWebBold", sans-serif;
  font-size: 0.9em;
  color: #000;
}

.ff-checkbox-li label{
  display:inline !important;
  float:none !important;
  font-family:"helvetica", sans-serif;
  font-size:0.89em;
}
/*input filed and general text label*/
.ff-general-text-label {
  font-family: "DinWeb", sans-serif;
}

#dvFastForms .ff-required-mark, .ui-widget-content li a {
  color: #cc0633;
}

#dvFastForms .ff-fileupload-drop-area{
    background-color:#fff;
    border-radius:0;
    border:1px solid #a7a9ac;
}

#dvFastForms span.remove-fitem{
    background-repeat:no-repeat;
}

#dvFastForms .ff-fileupload-drop-area label.file-item-data{
    display:inline;
}

#dvFastForms .ff-singlepicklist {
  background: #fff;
  padding: 7px;
  height: 2.25em;
  max-width: 99%;
  margin-left: 0.1em;
  border-radius: 0;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  font-family:Arial, sans-serif;
}

#dvFastForms .ff-type-text {
  height: 2.25em;
  padding: 10px;
  border-radius: 0;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  margin-bottom: 0.5em;
  box-shadow: none;
  max-width: 99%;
  margin-left: 0.1em;
}

     
/*organization lookup search icon adjustments */
.ff-form-main a.lookup-link {
    background-image: url(/content/dam/sfu/students/training/styles/images/lookupicon.png);
    background-position: right bottom!important;
    background-repeat: no-repeat;
    min-height: 27px;
    width: 97%!important;
    display: block!important;
    padding: 0px 12px;
    position: absolute!important;
    outline: 0 !important;
    margin-left: 0!important;
    vertical-align: middle;
}

#dvFastforms .ff-form-main{
    max-width:700px!important;
    }

input[type="checkbox"] {
  margin-left: 0;
}

#dvFastForms input[type=textbox] {
  border: 1px solid #a7a9ac;
}

#dvFastForms input[type=textbox]:focus {
  outline: none;
  border-bottom: 3px solid #cc0633;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

#dvFastForms .ff-invalid-msg {
  color: #A6192e!important;
}

#dvFastForms .ff-input-type-invalid {
  border-color: #A6192e!important;
}

#dvFastForms .ff-col-2.ff-field-col {
  max-width: 100%;
  width: 100%;
  clear: left;
}


/* multi select input styles */
.select2-container-multi .select2-choices .select2-search-choice {
    font-family:Arial, sans-serif;
    padding:10px 15px 10px 18px!important;
    background:#f5f5f5;
}

.select2-choices{
    background:#fff!important;
}

.select2-container-multi .select2-search-choice-close {
    left: 5px;
    top: 9px;
}

#dvFastForms .ff-col-2.ff-field-col:not(.docsignWrapper) {
  padding-top: 0em;
  padding-bottom: 0.5em;
}

#dvFastForms.ff-radio-li span{
    display:inline;
}

#dvFastForms .ff-radio-li label{
    display:inline;
    float:none;
    font-family:"Helvetica";
    font-size:0.89em;
}


#dvFastForms .ff-btn-submit {
  background: #cc0633;
  color: #fff;
  font-family: "DinWebMedium";
  padding: 1.25em 1em 1em 1em;
  border: none;
  text-transform: uppercase;
  margin-top: 2.5em;
  font-size: 0.8em;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#dvFastForms .btnDiv input {
    margin-left:0 !important;
}


#dvFastForms .ff-btn-submit:hover {
  background: #A6192e;
}

.footnoteDiv {
  display: none;
}