html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: 'FiraGO', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    color: #424242;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.15px;
}

.row {
    margin-bottom: 0.5rem;
}

label, legend, label > .label-body {
    font-weight: 400;
    color: #616161;
    font-size: 1.4rem;
}

label > .label-body {
    margin-left: 0.5rem
}

.d-none {
    display: none !important
}


input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
    border-radius: 0.3rem;
    height: 4.8rem;
    padding: 1.1rem 1.2rem;
}

input[type='text'], input[type='email'], select, textarea {
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    margin: 0;
    border-radius: 0.3rem;
    border: solid 0.1rem #E0E0E0;
    border: solid 0.1rem rgba(0, 0, 0, 0.08);
    margin-bottom: 1.7rem;
    transition: 0.15s ease all;
    background-color: #fcfcfc;
}

input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="text"]:focus, input[type="tel"]:focus, input[type="url"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    background-color: #fff;
    border-color: #07A0E2;
    outline: none;
    box-shadow: inset 0 0.1rem 0.2rem rgba(0, 92, 135, .075), 0 0 0 0.2em rgba(14, 174, 241, .3);
}

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
    text-transform: none;
    font-weight: 400;
    padding: 2rem 2rem 1.9rem 2.3rem;
    font-size: 1.55rem;
    line-height: 0;
    border-radius: 0.3rem;
    height: 4.6rem;
}

.button.button-primary, button.button-primary, input[type="submit"].button-primary, input[type="reset"].button-primary, input[type="button"].button-primary {
    background-color: #008DCF;
    border-color: #008DCF;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    letter-spacing: -0.1px;
}

.button.button-primary:hover, button.button-primary:hover, input[type="submit"].button-primary:hover, input[type="reset"].button-primary:hover, input[type="button"].button-primary:hover, .button.button-primary:focus, button.button-primary:focus, input[type="submit"].button-primary:focus, input[type="reset"].button-primary:focus, input[type="button"].button-primary:focus {
    background-color: #008DCF;
    border-color: #008DCF;
}

.helping-text {
    display: none;
}

.with-helping-text:focus .helping-text {
    display: block;
}

input[type='radio'] {
    margin-right: 0.5rem;
}

textarea {
    min-height: 10rem;
    resize: vertical;
}

select {
    background-image: url(/orgavision-backend/static/reportissue/img/chevron-down-regular-46171e656b2d3df69c97242c913ff9a0.svg);
    background-repeat: no-repeat;
    background-size: 1.2rem;
    background-position: right 1.1rem center;
}

.mandatory:after {
    content: '*';
    color: #FF5C5C;
    margin-left: 0.3rem;
    margin-right: 0.2rem;
}

/********************************* INPUT File Upload */
.file {
    position: relative;
    display: flex;
    flex: 0 0 100%;
    cursor: pointer;
    min-height: 3.8rem;
    margin-bottom: 1.7rem;
    border: dotted 0rem rgba(0, 0, 0, 0);
    border-radius: 0.3rem;
    padding: 0.5rem;
    justify-content: flex-start;
    align-items: stretch;
    outline: none;
    box-shadow: 0 0 0 0.2em #F5F5F5;
    transition: 0.15s ease all;
    overflow: hidden;
}

.file:focus {
    background-color: #fff;
    border-color: #07A0E2;
    outline: none;
    box-shadow: inset 0 0.1rem 0.2rem rgba(0, 92, 135, .075), 0 0 0 0.2em rgba(14, 174, 241, .3);
}

.file.dropped {
    background-color: rgba(225, 246, 253, 0.5);
    box-shadow: none;
}

.file.invalid {
    box-shadow: 0 0 0 0.1em #FF7070;
}

.file input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    opacity: 0;
}

.file span.file-upload-label {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
}

.file span.file-upload-label:before {
    content: '';
    width: 1.9rem;
    height: 1.9rem;
    background-image: url(/orgavision-backend/static/reportissue/img/file-image-light-9d5db258268c232cb824873226cc2367.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 0.75rem;
    flex: 1;
}

.file span.file-name {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0.3rem 1.5rem;
    font-weight: 400;
    color: #424242;
    transition: background 0.1s ease;
    margin-left: 0.5rem;
    flex-direction: column;
}

.file span.file-name span {
    display: flex;
    line-height: 2;
    border-bottom: solid 1px #B4E7FA;
    align-items: center;
    word-break: break-all;
}

.file span.file-name span:first-child {
    padding-top: 1rem;
}

.file span.file-name span:last-child {
    border: none;
    padding-bottom: 1rem;
}

.file span.file-name span:only-child {
    border: none;
    padding: 0.3rem 0;
    line-height: inherit;
}

.file:hover, .file.drag-over {
    box-shadow: 0 0 0 0.2em #E0E0E0;
    background-color: #fff;
    border-color: #07A0E2;
    outline: none;
    box-shadow: inset 0 0.1rem 0.2rem rgba(0, 92, 135, .075), 0 0 0 0.2em rgba(14, 174, 241, .3);
}

.visible-focus-row:focus-within label {
    box-shadow: 0 0 0 0.2em #E0E0E0;
    background-color: #fff;
    border-color: #07A0E2;
    outline: none;
    box-shadow: inset 0 0.1rem 0.2rem rgba(0, 92, 135, .075), 0 0 0 0.2em rgba(14, 174, 241, .3);
}

.file.invalid span.file-name span.invalid {
    color: #FF5C5C;
}

.file.invalid {
    background-color: #FFEBEB;
}


/********************************* Navigation */

nav {
    border-bottom: solid 0.1rem #f5f5f5;
    background: #fff;
    display: flex;
    z-index: 1;
    justify-content: center;
    align-content: center;
    padding: 0.4rem 2rem;
    box-shadow: 0 0.1rem 0.6rem 0px rgba(0, 0, 0, 0.15)
}

.nav-wrp {

    flex-basis: 60rem;
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 0;

}

.nav-item.app-title {
    margin-right: 1rem;
    color: #616161;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
}

.nav-item.app-title:before {
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    height: 1.9rem;
    width: 1.9rem;
    margin-right: 0.6rem;
    margin-top: -0.3rem;
    background-image: url('/orgavision-backend/static/reportissue/img/calendar-exclamation-light-51d6f4534c09351feb364a12c10ce455.svg');
}

.nav-item.go-to-app a {
    background-image: url('/orgavision-backend/static/reportissue/img/sign-in-light-57023957eb27dd9ddf2a32d50cfc5ea6.svg');
    background-size: contain;
    background-repeat: no-repeat;
    height: 1.9rem;
    width: 1.9rem;
}

/********************************* WRAP */
.wrp {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem;

}

.wrp form {
    max-width: 60rem;
    margin: 3.5rem auto 3.5vh;
}


/********************************* Privacy opt in / out  */

.option-panel.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.option-panel input[type='radio'] {
    display: none;
}


.option-panel label.personal-opt {
    cursor: pointer;
    padding: 0.5rem 0.5rem;
    transition: color ease 0.15s, background-color ease 0.15s, border ease 0.15s;
    flex: auto;
    text-align: center;
    margin: 0.5rem 0rem;
    font-size: 1.4rem;
    color: #616161;
    background: #eee;
}

.option-panel label.personal-opt:nth-of-type(1) {
    border-radius: 0.4rem 0 0 0.4rem;
}

.option-panel label.personal-opt:nth-of-type(2) {
    border-radius: 0
}

.option-panel label.personal-opt:last-of-type {
    border-radius: 0 0.4rem 0.4rem 0;
}


.option-panel input:checked + label {
    background: #eee;
    color: #424242;


}

.option-panel input + label span.switch {
    padding: 0.8rem 1.25rem;
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-panel input + label span.registered {
    color: #fff;
    background: #757575;
    font-size: 1.05rem;
    line-height: 1;
    padding: 0.375rem 0.6rem 0.375rem;
    margin-left: 0.8rem;
    text-transform: uppercase;
    border-radius: 0.2rem;
}

.option-panel input:checked + label span.registered {
    color: #fff;
    background: #0EAEF1;
}

.option-panel input:checked + label span.switch {
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0.2rem 0.2rem;
}

.opt-out-note {
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
    background: #fafafa;
    margin: 1rem;
    border-radius: 0.2rem;
    margin: 2rem auto 1rem;
    width: 100%;
    text-align: center;
}

.tabs-container {
    margin-top: 2rem;
    opacity: 0;
    transition: opacity ease 0.15s;
    transition-delay: 0.25s;
    height: 0px;
    overflow: hidden;
    flex-basis: 100%;
}

#personal-opt-in:checked ~ .tabs-container {
    opacity: 1;
    transition: opacity ease 0.15s;
    transition-delay: 0.3s;
    height: auto;
    overflow: visible;
}

.tabs-container .row:last-of-type {
    margin-bottom: 0.8rem;
}

/********************************* Confirmation Checkbox */

input[type=checkbox] + label {
    display: block;
    margin: 0.2em;
    cursor: pointer;
    padding: 0.2em;
}

input[type=checkbox] + label:before {
    content: "";
    border: 0.1em solid #9E9E9E;
    border-radius: 0.2em;
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 0.7rem;
    vertical-align: bottom;
    color: transparent;
    transition: .1s ease;
    background-image: url('/orgavision-backend/static/reportissue/img/check-regular-2bf5c6c5074d9134ab09c92c382b03da.svg');
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
}

input[type=checkbox] + label:active:before {
}

input[type=checkbox]:checked + label:before {
    background-color: #8BB31D;
    border-color: #8BB31D;
    color: #fff;
}

input[type=checkbox]:disabled + label:before {
    border-color: #aaa;
}

input[type=checkbox]:checked:disabled + label:before {
    background-color: #bfb;
    border-color: #bfb;
}


.confirmation-area, .approve {
    border: solid 0.1rem #fff;
    border-radius: 0.2rem;
}

.send-btn {
    text-align: center;
}


.powered-by {
    position: fixed;
    right: 2rem;
    bottom: 0;
    padding: 1rem 1.3rem 1.1rem;
    background: #fafafa;
    box-shadow: 0 0.1rem 0.4rem rgba(71, 80, 89, .2);
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.5rem 0.5rem 0 0;
    color: #616161;
    -webkit-backdrop-filter: blur(0.1rem);
    backdrop-filter: blur(0.1rem);
    background: hsla(0, 0%, 100%, .9);
    text-decoration: none;
}


.powered-by a {
    text-decoration: none;
    
}

body.thank-you .powered-by {
    position: relative;
    right: auto;
    padding: 1rem 1.3rem 0.9rem;
    box-shadow: none;
    justify-content: center;
    align-items: center;
    border-radius: 10rem;
    margin-top: 5rem;
    margin-bottom: 3rem;
    line-height: 1
}

form.validate input:required:invalid,
form.validate select:required:invalid,
form.validate textarea:required:invalid,
form.validate input[type='checkbox']:required:invalid + label {
    border: 0.1rem solid #FF7070;
    background-color: #FFEBEB;
}

form:invalid input[type='submit'], form:invalid input[type='submit']:focus {
    background: #E1F6FD;
    border-color: #E1F6FD;
    color: #008DCF
}

form:invalid input[type='submit']:hover {
    background: #9E9E9E;
    border-color: #9E9E9E;
    color: #fff;
}


@media (orientation: portrait) {
    .wrp form {
        margin-top: 3rem;
    }

    .button, button, input[type="submit"], input[type="reset"], input[type="button"] {
        width: 100%;
    }

    .file {
        flex-wrap: wrap;
        margin: 2rem 0 3rem;
    }

    .file span.file-upload-label {
        padding-left: 2rem;
    }

    .file.dropped span.file-upload-label {
        padding-top: 0.75rem;
    }

    .powered-by {
        position: relative;
        right: auto;
        padding: 1rem 1.3rem 0.9rem;
        box-shadow: none;
        justify-content: center;
        align-items: center;
        border-radius: 10rem;
        margin-top: 5rem;
        margin-bottom: 3rem;
        line-height: 1
    }
}
