@import url('https://fonts.googleapis.com/css?family=Karla');

.btn-shadow{
  border:0 !important;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
}

body{
  overflow-x: hidden;
  font-family: 'Karla', sans-serif !important;
}

.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small {
  font-size: 85%;
  color: #4FB0AE;
}

.container.admin-form, section.content > section > section.container {
    margin-top: 70px
}

.admin-form .panel-heading a:hover, .current-fields .tool-panel > .panel-default .panel-heading a:hover {
    text-decoration: none
}

.panel-default.startPage {
    border-style: dashed;
    border-color: #a9a9a9;
    border-width: 3px
}

.busy-updating-wrapper {
    text-align: center;
    font-size: 20px;
    position: fixed;
    bottom: 0;
    right: 55px;
    z-index: 1
}

.busy-submitting-wrapper {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0
}

.form-item, .letter, div.form-fields {
    position: relative
}

.dropzone h4.panel-title {
    height: 17px;
    overflow: hidden
}

.public-form input, .public-form textarea {
    background-color: rgba(0, 0, 0, 0);
    border: 2px dashed #ddd !important
}

.public-form input:focus, .public-form textarea:focus {
    border: 2px dashed #ddd !important;
    outline: 0
}

.public-form input.no-border, .public-form textarea.no-border {
    border: none !important
}

section.content p.breakwords {
    word-break: break-all
}

.btn {
    border: 1px solid #c6c6c6
}

.btn[type=submit] {
    font-size: 1.5em;
    padding: .35em 1.2em
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 18px;
    font-weight: 400
}

.input-block {
    display: block;
    width: 100%
}

.modal-footer input[type=text] {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 13px;
    color: #333;
    vertical-align: middle;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right 8px center;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075)
}

.modal-footer input[type=text]:focus {
    outline: 0
}

.modal-body > .modal-body-alert {
    color: #796620;
    background-color: #f8eec7;
    border-color: #f2e09a;
    margin: -16px -15px 15px;
    padding: 10px 15px;
    border-style: solid;
    border-width: 1px 0
}

div.form-fields {
    padding-top: 35vh
}

.letter {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    width: 16px;
    padding: 0;
    height: 17px;
    font-size: 12px;
    line-height: 19px;
    border: 1px solid #000;
    border: 1px solid rgba(0, 0, 0, .2);
    margin-right: 7px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    font-weight: 700
}

div.form-submitted > .field.row {
    padding-bottom: 2%;
    margin-top: 35vh
}

div.form-submitted > .field.row > div {
    font-size: 1.7em
}

form .accordion-edit {
    width: inherit
}

.ui-datepicker.ui-widget {
    z-index: 99 !important
}

form .row.field {
    padding: 1em 0 0;
    width: inherit
}

form .row.field > .field-title {
    margin-top: .5em;
    font-size: 1.2em;
    padding-bottom: 1.8em;
    width: inherit
}

form .row.field > .field-input {
    font-size: 1.4em;
    color: #777
}

form.submission-form .row.field.statement > .field-title {
    font-size: 1.7em
}

form.submission-form .row.field.statement > .field-input {
    font-size: 1em;
    color: #ddd
}

form.submission-form .select.radio > .field-input input, form.submission-form .select > .field-input input {
    width: 20%
}

form.submission-form .field.row.radio .btn.activeBtn {
    background-color: #000 !important;
    background-color: rgba(0, 0, 0, .7) !important;
    color: #fff
}

form.submission-form .field.row.radio .btn {
    margin-right: 1.2em
}

form.submission-form .select > .field-input .btn {
    text-align: left;
    margin-bottom: .7em
}

form.submission-form .select > .field-input .btn > span {
    font-size: 1.1em
}

form .field-input > textarea {
    padding: .45em .9em;
    width: 100%;
    line-height: 160%
}

form .field-input > input.hasDatepicker {
    padding: .45em .9em;
    width: 50%;
    line-height: 160%
}

form .field-input > input.text-field-input {
    padding: .45em .9em;
    width: 100%;
    line-height: 160%
}

form .required-error {
    color: #ddd;
    font-size: .8em
}

form .row.field.dropdown > .field-input input {
    height: 34px;
    border-width: 0 0 2px;
    border-radius: 5px
}

form .row.field.dropdown > .field-input input:focus {
    border: none
}

form .row.field.dropdown > .field-input .ui-select-match {
    border: 0 solid grey;
    border-width: 0 0 2px;
    border-radius: 5px
}

form .dropdown > .field-input .ui-select-choices-row-inner {
    border-radius: 3px;
    margin: 5px;
    padding: 10px;
    background-color: rgba(0, 0, 0, .05)
}

form .dropdown > .field-input .ui-select-choices-row-inner.active, form .dropdown > .field-input .ui-select-choices-row-inner.active:focus {
    background-color: rgba(0, 0, 0, .1)
}

.config-form {
    max-width: 100%
}

.config-form > .row {
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05)
}

div.config-form .row.field {
    padding-top: 1.5em
}

div.config-form > .row > .container:nth-of-type(odd) {
    border-right: 1px #ddd solid
}

div.config-form.design > .row > .container:nth-of-type(odd) {
    border-right: none
}

div.config-form .row > .field-input {
    padding-left: .1em
}

div.config-form .row > .field-input label {
    padding-left: 1.3em;
    display: block
}

.admin-form > .page-header {
    padding-bottom: 0;
    margin-bottom: 40px
}

.admin-form > .page-header h1 {
    margin-bottom: 0;
    margin-top: 0
}

.admin-form > .page-header > .col-xs-3 {
    padding-top: 1.4em
}

.admin-form .form-controls .row {
    padding: 5px
}

.admin-form .page-header {
    border: none
}

.admin-form .tab-content {
    padding-top: 3em
}

.admin-form .panel-heading {
    background-color: #f1f1f1
}

.admin-form .panel-heading:hover {
    background-color: #fff;
    cursor: pointer
}

.current-fields .panel-body .row.description textarea, .current-fields .panel-body .row.question input[type=text] {
    width: 100%
}

.current-fields .panel-body .row.options input[type=text] {
    width: 80%
}

.current-fields .tool-panel > .panel-default:hover {
    border-color: #9d9d9d;
    cursor: pointer
}

.current-fields .tool-panel > .panel-default .panel-heading {
    background-color: #fff;
    color: #9d9d9d !important
}

.current-fields .tool-panel > .panel-default .panel-heading:hover {
    background-color: #eee;
    color: #000 !important;
    cursor: pointer
}

.current-fields .tool-panel > .panel-default .panel-heading a {
    color: inherit
}

.submissions-table .table-outer.row {
    margin: 1.5em 0 2em !important
}

.submissions-table .table-outer .col-xs-12 {
    padding-left: 0 !important;
    border: 1px solid #ddd;
    overflow-x: scroll;
    border-radius: 3px
}

.submissions-table .table > thead > tr > th {
    min-width: 8em
}

.submissions-table .table > tbody > tr.selected {
    background-color: #efefef
}

.admin-form .add-field {
    background-color: #ddd;
    padding: 0 2%;
    border-radius: 3px
}

.admin-form .add-field .col-xs-6 {
    padding: .25em .4em
}

.admin-form .add-field .col-xs-6 .panel-heading {
    border-width: 1px;
    border-style: solid;
    border-color: #bbb;
    border-radius: 4px
}

.admin-form .oscar-field-select {
    margin: 10px 0
}

.view-form-btn.span {
    padding-right: .6em
}

.status-light.status-light-off {
    color: #BE0000
}

.status-light.status-light-on {
    color: #3C0
}

section.public-form {
    padding: 0 10%
}

section.public-form .form-submitted {
    height: 100vh
}

section.public-form .btn {
    border: 1px solid
}

.form-item {
    text-align: center;
    border-bottom: 6px inset #ccc;
    background-color: #eee;
    width: 180px;
    height: 215px;
    margin-bottom: 45px
}

.form-item.create-new input[type=text] {
    width: inherit;
    color: #000;
    border: none
}

.form-item.create-new {
    background-color: #838383;
    color: #fff
}

.form-item.create-new.new-form {
    background-color: #ff8383;
    z-index: 11
}

.form-item.create-new.new-form:hover {
    background-color: #ff6464
}

.form-item.new-form input[type=text] {
    margin-top: .2em;
    width: inherit;
    color: #000;
    border: none;
    padding: .3em .6em
}

.form-item.new-form .custom-select {
    margin-top: .2em
}

.form-item.new-form .custom-select select {
    background-color: #fff
}

.form-item.new-form .details-row {
    margin-top: 1em
}

.form-item.new-form .details-row.submit {
    margin-top: 1.7em
}

.form-item.new-form .details-row.submit .btn {
    font-size: .95em
}

.form-item.new-form .title-row {
    margin-top: 1em;
    top: 0
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    background-color: rgba(0, 0, 0, .5);
    z-index: 10
}

.overlay.submitform {
    background-color: #fff;
    background-color: rgba(256, 256, 256, .8)
}

.field-directive {
    z-index: 9;
    padding: 10% 10% 10% 0;
    border: 25px solid transparent;
    position: relative
}


.activeField, .activeField input {
  background-color: transparent
}

.activeField {
  z-index: 11;
  position: relative
}

.activeField.field-directive {
  display: inline-block;
  border-radius: 7px;
  width: 100%;
  border: 25px solid transparent
}


.showField, .showField input {
  background-color: transparent
}

.showField {
  z-index: 11;
  position: relative
}

.showField.field-directive {
  display: inline-block;
  border-radius: 7px;
  width: 100%;
  border: 25px solid transparent
}

.form-item.create-new:hover, .form-item:hover {
    border-bottom: 8px inset #ccc;
    background-color: #d9d9d9
}

.form-item.create-new:hover {
    background-color: #515151
}

.form-item > .row.footer {
    position: absolute;
    bottom: 0;
    left: 30%
}

.form-item .title-row {
    position: relative;
    top: 15px;
    padding-top: 3em;
    padding-bottom: 3.65em
}

.form-item .title-row h4 {
    font-size: 1.3em
}

.form-item.create-new .title-row {
    padding: 0
}

.form-item.create-new .title-row h4 {
    font-size: 7em
}

.form-item .details-row {
    margin-top: 3.2em
}

.form-item .details-row small {
    font-size: .6em
}

.form-item.create-new .details-row small {
    font-size: .95em
}

field-directive .col-md-2,
field-directive .col-md-3,
field-directive .col-md-4,
field-directive .col-md-5,
field-directive .col-md-6,
field-directive .col-md-7,
field-directive .col-md-8,
field-directive .col-md-9,
field-directive .col-md-10,
field-directive .col-md-11,
field-directive .col-md-12{
    width: 100%;
}

@media (max-width:800px){
  section.public-form{
    padding: 0;
  }

  .showField.field-directive{
    border: 0;
  }

  .field-directive{
    padding: 10px;
    margin: 0;
  }

  .statement.field .field-title{
    padding: 10%;
  }

  .btn{
    white-space: normal;
  }
}
