﻿@charset "UTF-8";
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
  height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  height: 100%;
  min-height: 100%;
  overflow: auto;
  /*    -webkit-overflow-scrolling: touch;*/ /* THIS BREAKS Z-INDEX ON SAFARI */
  /*background-color: #001f61;*/
  /* background-image: url(https://images.pexels.com/photos/952437/pexels-photo-952437.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);
  background-attachment: fixed;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;*/
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.container {
  background-color: transparent;
  padding-left: 30px;
  padding-right: 30px;
}

footer {
  line-height: 80px;
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 1000px) {
  .container {
    min-height: 100%;
  }
  /*    footer {
          padding-bottom:105px;
          line-height:unset;

      }*/
}
main {
  padding-top: 1.5rem;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

/* quill */
.ql-editor {
  padding: 0;
}

/* surveyjs */
.selectize-control.form-control {
  display: unset;
  width: unset;
  height: unset;
  padding: unset;
  font-size: unset;
  font-weight: unset;
  line-height: unset;
  color: unset;
  background-color: unset;
  background-clip: unset;
  border: unset;
  border-radius: unset;
  transition: unset;
}

.selectize-dropdown.form-control {
  height: unset;
}

.optgroup .option {
  margin-left: 0.5rem;
}

.optgroup-header {
  font-weight: bold;
}

.fas.icon-button {
  vertical-align: middle;
  line-height: 1.5;
  margin-bottom: 0.9px;
  margin-top: -0.9px;
  cursor: pointer;
}

.fas.icon-button.after {
  margin-left: 0.3rem;
}

.fas.icon-button.before {
  margin-right: 0.3rem;
}

.fas.icon-button.disabled {
  pointer-events: none;
  cursor: unset;
}

.vue-fouc-placeholder.ready {
  display: none;
}

.vue-fouc-wrapper:not(.ready) {
  display: none;
}

.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: table;
  transition: opacity 0.3s ease;
}

.modal-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.validation-summary-valid {
  display: none;
}

.validation-summary-errors ul {
  list-style: none;
  padding-left: 0;
}
.validation-summary-errors ul li + li {
  margin-top: 0.25rem;
}

.is-validated .is-invalid input, .is-validated .is-invalid select, .is-validated .is-invalid textarea {
  border-color: #dc3545;
}
.is-validated .is-invalid input[type=file] {
  color: #dc3545;
}
.is-validated .is-invalid .field-validation-error {
  display: block;
}

.alert ul {
  margin-bottom: 0;
}

.form-group {
  min-height: 30px;
}

@media (max-width: 999px) {
  .sv-root-modern {
    margin-left: -0.55em;
  }
  .sv-root-modern .sv-matrix__cell {
    min-width: unset;
  }
}
@media (max-width: 600px) {
  .sv-matrix .sv-table {
    padding-left: 1em;
    padding-right: 1em;
  }
  .sv-matrix .sv-table tr {
    display: block;
    margin-bottom: 1em;
  }
  .sv-table tr:first-child .sv-table__cell {
    padding-top: 0.9375em;
  }
  .sv-matrix .sv-table tr td:first-child {
    padding-right: 0;
    padding-left: 0;
  }
  .sv-matrix .sv-table tr td {
    padding-bottom: 0;
  }
  .sv-matrix .sv-table thead {
    display: none;
  }
  .sv-matrix .sv-table tr td {
    display: block;
  }
  .matrix-label-mobile {
    display: inline !important;
  }
  .sv-table tbody tr:last-child .sv-table__cell {
    padding-bottom: 0;
  }
  .sv-table tbody tr:last-child .sv-table__cell:last-child {
    padding-bottom: 1.875em;
  }
}
.sd-rating {
  /*width:100% !important;*/
}
.sd-rating fieldset {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap !important;
}
.sd-rating fieldset label.sd-rating__item-star {
  /*width: auto;*/
  display: block;
  max-width: 64px;
}
.sd-rating fieldset label.sd-rating__item-star svg.sv-svg-icon.sv-star, .sd-rating fieldset label.sd-rating__item-star svg.sv-svg-icon.sv-star-2 {
  width: 100%;
  max-height: 100%;
  /*position:relative;*/
}

@media (max-width: 767px) {
  .sd-rating .sd-rating__min-text, .sd-rating .sd-rating__max-text {
    display: none;
  }
}
/*
.sv-row {
    display: block;
}

.sv-logo--top {
    border-bottom: 15px solid;
    padding-bottom: 10px;
}



.sv-root-modern .sv-matrix__cell {
    min-width: 5em;
}

.sv-matrix .sv-table tr td:first-child {
    font-weight:bold;
}

.sv-root-modern .sv-question__title--answer {
    background-color: inherit !important;
}

.sv-root-modern .sv-btn, .container .sv-btn {
    border-radius: 2px;
    transition: box-shadow linear 0.1s;
}

    .sv-root-modern .sv-btn:hover, .sv-btn:hover {
        box-shadow: rgba(0,0,0,.4) 0 0 10px;
    }


    .sv-root-modern .sv-btn.sv-footer__prev-btn, .sv-btn.sv-footer__prev-btn {
        background-color: #ddd;
        color: #404040;
    }

.sv-btn.sv-footer__next-btn.complete-audit-btn {
    float: none;
}

.sv-root-modern .sv-dropdown:focus {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 10 10' style='enable-background:new 0 0 10 10;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23404040;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='2,2 0,4 5,9 10,4 8,2 5,5 '/%3E%3C/svg%3E%0A");
}

.sv-container-modern__title {
    padding-top: 1rem;
}


.sv-body__page {
    margin-top: 1em;
    margin-left: 0;
    margin-right: 0;
}

.sv-title {
    font-weight: normal;
}


.sv-root-modern {

    .sv-question {

        .sv-rating {
            padding-bottom: 0;

            fieldset {
                min-width: 100%;
                position: relative;
                display: flex;

                .sv-rating__min-text, .sv-rating__max-text {
                    position: absolute;
                    font-size: 0.95rem;
                    top: 0;
                }

                .sv-rating__min-text {
                    left: 0;
                }

                .sv-rating__max-text {
                    right: 0;
                }

                .sv-rating__item {
                    width: 100%;
                    padding-right: 2px;
                    min-width: auto;
                    max-width: none;
                    min-height: auto;
                    max-height: none;
                    margin: 0;

                    &:last-child {
                        padding-right: 0;
                    }

                    .sv-rating__item-text {
                        border-width: 2px;
                        width: 100%;
                        font-size: 1.1em;
                        min-width: auto;
                        max-width: none;
                        min-height: auto;
                        max-height: none;
                        margin: 0;
                        padding: 0;
                    }
                }
            }


        }


        .sv-rating.rating-star {

            fieldset {

                .sv-rating__min-text, .sv-rating__max-text {
                }

                .sv-rating__min-text {
                }

                .sv-rating__max-text {
                }

                .sv-rating__item {

                    .sv-rating__item-text {
                        font-size: 1.6em;
                        height: 1.8em;
                        padding-top: 0.07em;
                        line-height: normal;
                        background-color: white !important;

                        &:after {
                            content: "☆";
                        }

                        .sv-string-viewer {
                            display: none;
                        }
                    }
                }
            }

            &:hover {
                .sv-rating__item {
                    .sv-rating__item-text:after {
                        content: "★";
                    }

                    &:hover {
                        ~ .sv-rating__item {
                            .sv-rating__item-text {
                                color: #9f9f9f !important;
                                border-color: #9f9f9f !important;

                                &:after {
                                    content: "☆";
                                }
                            }
                        }
                    }
                }
            }
        }

        .sv-rating.rating-number {

            fieldset {
                padding-top: 30px;
            }
        }

        &.sv-question--answered:not(:hover) {
            .sv-rating.rating-star {
                .sv-rating__item {
                    .sv-rating__item-text {
                        &:after {
                            content: "★";
                        }
                    }

                    &.sv-rating__item--selected {
                        ~ .sv-rating__item {
                            .sv-rating__item-text {
                                color: #9f9f9f !important;
                                border-color: #9f9f9f !important;

                                &:after {
                                    content: "☆";
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}



.sv-question[imageswithcomments="true"] {

    > .sv-question__content {
        margin: 8px;

        > .sv-panel {
            border: 2px solid #9f9f9f;
            border-radius: 4px;
            padding-bottom: 0.55rem;
            background-color: #f4f4f4;

            > .sv-panel__content {
                position: relative;


                > .sv-row:not(:first-child) {
                    position: absolute;
                    top: 108px;
                    left: 0;
                    right: 32px;

                    .sv-paneldynamic__panel-wrapper {
                        margin-top: 270px;
                        margin-bottom: 20px;
                        padding-top: 0;
                        height: 84px;
                    }
                }
            }
        }
    }

    [data-name="fileElement"] {
        .sv-question__content {
            margin: 8px;
        }

        .sv-question__header {
            display: none;
        }

        .sv-file__decorator {
            height: 100px;

            .sv-file__wrapper {
                text-align: center;

                .sv-file__no-file-chosen {
                    margin-left: 0;
                }
            }
        }

        .sv-file__preview, .sd-file__preview-item {
            padding-top: 8px;
            padding-left: 8px;
            padding-bottom: 100px;
            padding-right: 26px;
            border: 1px solid #9f9f9f;
            border-radius: 4px;
            margin-top: 20px;
            background-color: white;
            width: 100%;
            display:inline-block;
            position:relative;

            > div {

                &:first-child {
                    height: 200px;
                }

                text-align: center;


                img {
                    max-height: 100%;
                    max-width: 100%;
                }
            }

            .sv-file__remove-svg {
                top: 2px;
                right: 2px;
                z-index: 999;
            }

            .sv-file__sign {
                height: 24px;

                a {
                    display: block;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    font-style: italic;
                    text-align: center;
                    font-size: 1rem;
                }
            }
        }
    }



    .sv-question__content {
        margin-left: 0.55rem;
        margin-right: 0;
    }

    [data-name="commentpanel"] {

        overflow:hidden;

        > .sv-question__header {
            display: none;
        }

    }
}
.sv-root-modern .sv-progress.sv-body__progress {
    margin-bottom: 2.5em;
    margin-left: 5%;
    margin-right: 5%;
}

.sv-root-modern .sv-footer {
    margin-bottom: 50px;
}

.sv-root-modern .sv-completedpage {
    background-color:transparent !important;
    font-weight:normal;
    min-height:14em;
    height:auto;
    padding-top:1em;
    padding-bottom:1em;
}

.sv-root-modern .sv-completedpage:before {
    display:none;
}

.sv-question__required-text {
    display: none;
}

.sv-file__clean-btn {
    display: none !important;
}

.sv-file__preview, .sd-file__preview-item
{
    .sv-file__remove-svg {
        height:24px;
        width:24px;
    }

    img {
        max-width: 100%;
    }
}

@media(max-width:767px) {
    span.sv-file__preview, span.sd-file__preview-item {
        display: block;
        margin-right: 0 !important;

        > div {

            &:first-child {
                height: 200px;
            }

            text-align: center;


            img {
                max-height: 100%;
                max-width: 100%;
            }
        }
    }

}

@media (min-width:768px) {
    .sv-file__preview, .sd-file__preview-item {
        width: 50%;
    }
    .sv-file__preview:not(:last-child), .sd-file__preview-item:not(:last-child) {
        margin-right: 0 !important;
    }
    .sv-file__preview:not(:last-child) div, .sd-file__preview-item:not(:last-child) div {
        margin-right: 31px;
    }
}

@media (max-width:1000px) {


    .sv-root-modern {
        .sv-body__footer.sv-footer.sv-action-bar {
            margin-left:0;
            margin-right:0;
            margin-bottom:0;
        }



        .sv-btn {
            padding: 1em 2.7em;
        }

        .complete-audit-btn {
            width: 100%;
            text-align: center;
        }

        .sv-action-bar.sv-action-bar--default-size-mode.sv-panel__footer {
            flex-direction:column;
            align-items:end;
            padding-right:0;
        }
    }



    .sv-paneldynamic__remove-btn {
        margin-top:0;
        margin-bottom:2em;
    }


}


.image-feedback {
    text-align: center;
    margin: 0 10px;
}

    .image-feedback .alert {
        margin-bottom: 0;
    }
*/
/* ☆ ★  */
/* survey js v2 styles */
/*.sd-root-modern {
    background-color: var(--sjs-general-backcolor);
}*/
.sd-root-modern .sd-body.sd-body--static, .sd-root-modern .sd-body.sd-body--responsive {
  padding-top: 0;
  padding-left: 24px;
  padding-right: 24px;
}
.sd-root-modern .sd-table.sd-table--columnsautowidth .sd-table__cell:not(.sd-table__cell--actions):not(.sd-table__cell--action):not(.sd-table__cell--empty.sd-table__cell--error) {
  width: auto;
}

[imageswithcomments] [data-name=commentpanel] {
  /*.sd-paneldynamic__panel-wrapper {
      position: relative;

      .sd-action-bar.sd-paneldynamic__panel-footer {
          position: unset;

          .sd-paneldynamic__remove-btn {
              position: absolute;
              top: 5px;
              right: 5px;
          }
      }
  }*/
}
[imageswithcomments] [data-name=commentpanel].sd-question--empty {
  display: none;
}

.sd-file__remove-file-button {
  opacity: 1 !important;
}
