﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    --footer-height: 3rem;
    font-family: 'MrEavesXLModOT-Reg', Helvetica, Arial, sans-serif;
    background: url(/images/container_buildings.png);
    background-color: #EDF3F6;
    background-position: bottom;
    background-repeat: no-repeat;
    /*opacity: 0.52;*/
    /*height: 500px;*/
    width: 100%;
    background-size: contain;
    height: auto;
    /*background-attachment:fixed;*/
}

a, .btn-link {
    color: #0366d6;
}

    a img {
        outline: none !important;
    }

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none !important;
}


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
.category-center {

}

.autocomplete-suggestions {
    width: 100%;
    z-index: 1;
    overflow: auto;
    /*min-width: 236px;*/
    box-shadow: 0px 12.8px 28.8px rgba(0,0,0,0.13), 0px 0px 9.2px rgba(0,0,0,0.11);
    background: #FFFFFF;
    padding: 4px 0;
    margin-top: 4px;
    max-height: 328px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.1s ease-out;
    position: relative;
}

    .autocomplete-suggestions.visible {
        display: block;
        max-height: 328px;
        opacity: 1;
    }

    .autocomplete-suggestions.hide {
        display: none;
    }

    .autocomplete-suggestions div[role=option] {
        display: grid;
        padding: 0 14px;
        align-items: center;
        height: 40px;
        margin: 0 4px;
        color: #2B2B2B;
        line-height: 20px;
        border-radius: 2px;
        border: 2px solid transparent;
        position: relative;
    }

        .autocomplete-suggestions div[role=option]:hover {
            cursor: pointer;
            background: #F2F2F2;
        }

        .autocomplete-suggestions div[role=option]:active {
            background: #EDEDED;
        }

        .autocomplete-suggestions div[role=option]:after {
            content: '>';
            position: absolute;
            right: 14px;
        }


.overlay.visible {
    display: block;
    opacity: 1;
    animation: 0.2s fade-in ease-out;
}

.autocomplete-box {
    display: block;
    width: 46rem;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    text-align: center;
    /*text-transform: uppercase;*/
    box-shadow: 0 0 2px 0.3px rgba(0,0,0,0.2);
    border: 2px solid transparent;
    border-radius: var(--container-border-radius);
    background-color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    outline: none !important;
    margin-top: 15px;
}

    .autocomplete-box:focus {
        outline: none;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    }

    .autocomplete-box::placeholder {
        color: silver;
    }

    .autocomplete-box.invalid {
        border: 2px solid red;
    }

@media (orientation: landscape) {
    .overlay-contents-full {
        top: 3rem;
        height: calc(100vh - 6rem);
        margin: auto;
        max-width: 30rem;
        border-radius: 0.75rem;
    }

    .overlay.visible .overlay-contents-full {
        animation: 0.6s raise cubic-bezier(.13,.82,0,1);
    }
}

@media (orientation: portrait) {
    .overlay-contents-full {
        top: 3rem;
        height: calc(100% - 3rem);
        margin: auto;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .overlay.visible .overlay-contents-full {
        animation: 0.6s slide-up cubic-bezier(.13,.82,0,1);
    }
}

.overlay.visible .overlay-contents-top {
    animation: 0.6s slide-down cubic-bezier(.46,.97,.44,.99);
}

.backArrow {
    width: 30px;
    height: 30px;
}

.toolbar-item {
    background: darkgoldenrod;
    border: none;
    cursor: pointer;
    margin: 0;
    --toolbar-item-padding-horizontal: 0.75rem;
    padding: 0.5rem var(--toolbar-item-padding-horizontal);
    color: var(--theme-color-dark);
}

    .toolbar-item:first-child {
        margin-left: calc(-1 * var(--toolbar-item-padding-horizontal));
    }

.toolbar-item-end:last-child {
    margin-right: calc(-1 * var(--toolbar-item-padding-horizontal));
}

header .toolbar-item:hover {
    background-color: darkgoldenrod;
}

header .toolbar-item, footer .toolbar-item {
    color: black;
}

.toolbar-item-center {
    margin: auto !important;
}

.toolbar-item-end {
    margin-left: auto !important;
}

.toolbar-item-bg {
    background-color: blanchedalmond;
    color: black;
}

.toolbar-item:active {
    opacity: 0.7;
}

.toolbar-item:focus {
    outline: none;
}

input, textarea {
    font-family: 'MrEavesXLModOT-Reg' !important;
    font-size: 1.2rem;
}

footer {
    position: fixed;
    bottom: env(safe-area-inset-bottom);
    transform: translateY(env(safe-area-inset-bottom));
    width: 100%;
    background-color: blanchedalmond;
    color: black;
    height: calc(var(--footer-height) + env(safe-area-inset-bottom));
    padding: 0 1.25rem env(safe-area-inset-bottom) 1.25rem;
    display: flex;
    align-items: center;
    margin-top: auto;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 1;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
    height: 100%;
}

    main.container {
        padding: 1rem var(--gutter-width);
        padding-top: calc(var(--header-height) + 1rem)
    }

    main.with-footer {
        padding-bottom: var(--footer-height);
        height: calc(100% - env(safe-area-inset-bottom));
    }

.background-content {
    background-image: url(/images/container_background_bottom.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
    border-radius: 4px;
    background-color: #FFF;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.23);
}

.container {
    height: auto;
}

.container-body {
    min-height: 42rem;
}

.container-min-height {
    min-height: 42rem;
}

.labelCenter {
    text-align: center;
    display: block;
    font-size: 1.2rem;
    font-family: 'MrEavesXLModOT-Bold';
    color: #252525;
    margin-top: 15px;
    line-height: 19px;
}

.content-height {
    height: auto;
}

.category-tile {
    height: auto;
    width: 15rem;
    border-radius: 5px;
    background-color: #FFF;
    box-shadow: 0 2px 2px 2px rgba(0,0,0,0.19);
    cursor: pointer;
}

.please-choose-a-category {
    color: #072948;
    font-family: 'MrEavesXLModOT-Bold';
    font-size: 2rem;
    line-height: 32px;
}

.please-click-reload {
    color: #072948;
    font-family: 'MrEavesXLModOT-Bold';
    font-size: 1.2rem;
}

.project-reload {
    color: #072948;
    font-family: 'MrEavesXLModOT-Bold';
    font-size: 1rem;
    margin-left: -0.6rem;
}

.label-text {
    font-family: 'MrEavesXLModOT-Bold', Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
}

.labelCenter div {
    margin: 25px;
}

.key-category-tile {
    height: auto;
    width: 15rem;
    border-radius: 5px;
    background-color: #FFF;
    box-shadow: 0 2px 2px 2px rgba(0,0,0,0.19);
    cursor: pointer;
}

.complete-button {
    height: 3rem;
    width: 19rem;
    border-radius: 2px;
    background-color: #072948;
    color: #FFF;
    font-family: MrEavesXLModOT-Bold;
    font-size: 1.3rem;
}

.cancel-button {
    height: 3rem;
    width: 19rem;
    border-radius: 2px;
    background-color: white;
    color: #072948;
    font-family: MrEavesXLModOT-Bold;
    font-size: 1.3rem;
}

.disagree-button {
    height: 3rem;
    width: 12rem;
    border-radius: 2px;
    background-color: white;
    color: #072948;
    font-family: MrEavesXLModOT-Bold;
    font-size: 1.3rem;
}

.accept-button {
    height: 3rem;
    width: 12rem;
    border-radius: 2px;
    background-color: #072948;
    color: #FFF;
    font-family: MrEavesXLModOT-Bold;
    font-size: 1.3rem;
}

.accept-button3 {
    height: 3rem;
    width: 18rem;
    border-radius: 2px;
    background-color: #d21313;
    border-color: #d21313;
    color: #FFF;
    font-family: MrEavesXLModOT-Bold;
    font-size: 1.3rem;
}

.accept-button4 {
    height: 3rem;
    width: 25rem;
    border-radius: 2px;
    background-color: #d21313;
    border-color: #d21313;
    color: #FFF;
    font-family: MrEavesXLModOT-Bold;
    font-size: 1.3rem;
}

.modal1 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*padding-top: 12rem;*/
    outline: 0;
    /*opacity: 0.9;*/
    background-color: #4a4a4aa1;
    color: #646464;
    font-family: MrEavesXLModOT-Reg;
    font-size: 22px;
    line-height: 22px;
    overflow-y: auto;
    padding-top: 8rem;
}
.modal2 {
    position: fixed;
    top: 210px;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-top: 12rem;
    outline: 0;
    /*opacity: 0.9;*/
    /*background-color: lightgray;*/
    border-color:black;
    color: #646464;
    font-family: MrEavesXLModOT-Reg;
    font-size: 12px;
    line-height: 22px;
    overflow-y: auto;
    padding-top: 8rem;
}

.modal3 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*padding-top: 12rem;*/
    outline: 0;
    /*opacity: 0.9;*/
    background-color: #4a4a4aa1;
    font-family: MrEavesXLModOT-Reg;
    font-size: 22px;
    line-height: 22px;
    overflow-y: auto;
    padding-top: 8rem;
}
.modal-content3 {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 75%;
    pointer-events: auto;
    background-color: #fff;
    /*background-clip: padding-box;*/
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
    margin:82px;
}
/* The container Radio */
.containerRadio {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    padding-right: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
    /* Hide the browser's default radio button */
    .containerRadio input {
        position: absolute;
        opacity: 0;
    }
/* Create a custom radio button */
.checkmarkRadio {
    position: absolute;
    top: 4px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #ffffff;
    border-radius: 50%;
}
/* When the radio button is checked, add a white background */
.containerRadio input:checked ~ .checkmarkRadio {
    background-color: #ffffff;
}
/*when the radio buttos are disabled */
.containerRadio input:disabled ~ .checkmarkRadio:before {
    background-color: #dddddd;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmarkRadio:after {
    content: "";
    position: absolute;
    display: none;
}
/* Show the indicator (dot/circle) when checked */
.containerRadio input:checked ~ .checkmarkRadio:after {
    display: block;
}
/* Style the indicator (dot/circle) */
.containerRadio .checkmarkRadio:before {
    background: #fff;
    content: "";
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #bbb;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    box-shadow: inset 0 0 3px 0 #ccc;
    -moz-box-shadow: inset 0 0 3px 0 #ccc;
    -webkit-box-shadow: inset 0 0 3px 0 #ccc;
}

.containerRadio .checkmarkRadio:after {
    content: "\2022";
    left: 4px;
    bottom: 1.5px;
    line-height: 18px;
    font-family: Tahoma;
    font-size: 24px;
    color: #184A93;
    text-shadow: 0 0 4px #bbb;
}


/* The container checkbox */
.containerChk {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    padding-right: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 17px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .containerChk input {
        position: absolute;
        opacity: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
}

/* When the checkbox is checked, add a white background */
.containerChk input:checked ~ .checkmark {
    background-color: #ffffff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.containerChk input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.containerChk .checkmark:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid #ccc;
    background: #fff;
}

.containerChk .checkmark:after {
    content: '✔';
    position: absolute;
    top: .1em;
    left: .1em;
    font-size: 1.3em;
    line-height: 0.8;
    color: #174a92;
    transition: all .2s;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #1082C5;
    border-right: 16px solid #39B54A;
    border-bottom: 16px solid #1082C5;
    border-left: 16px solid #39B54A;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    z-index: 9999;
}

.spinner-bg {
    top: 50%;
    position: fixed;
    z-index: 9999;
}

.msg-spinner {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.7);
    z-index: 1;
}

.pointer {
    cursor: pointer;
}

.logo-width {
    width: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@media (min-width: 1000px) {
    .location-body {
        width: 75%;
    }

    .width-50 {
        width: 70% !important;
    }
}

@media (min-width: 700px) and (max-width: 991.98px) {
    .autocomplete-box {
        font-size: 1rem !important;
        width: 33rem !important;
    }

    .width-50 {
        width: 70% !important;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 660px !important;
        margin: 1.75rem auto;
    }
}

@media (min-width: 300px) and (max-width: 570.98px) {
    html, body {
        overflow-x: hidden;
    }

    .category-tile, .key-category-tile {
        width: 7.4rem !important;
    }

    .labelCenter {
        font-size: 0.8rem !important;
    }

    .please-choose-a-category {
        font-size: 0.9rem !important;
        line-height: 0.9rem !important;
    }

    .please-click-reload {
        font-size: 0.8rem;
    }

    .autocomplete-box {
        font-size: 0.8rem !important;
        width: 16rem !important;
    }

    .autocomplete-suggestions {
        font-size: 0.6rem !important;
    }

        .autocomplete-suggestions.visible {
            max-width: 260px;
        }

    .location-body {
        width: 100%;
    }

    .container {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .main-header-logo {
        top: -93px !important;
    }

    .logo-width {
        width: 15rem !important;
    }

    .header-logo-text {
        font-size: 1.5rem !important;
    }

    .header {
        height: 7rem !important;
    }

    .label-complete {
        font-size: 1rem !important;
        line-height: 1rem !important;
    }

    .label-wait-msg {
        font-size: 0.7rem !important;
        line-height: 0.7rem !important;
    }

    .complete-button {
        height: 2rem !important;
        width: 18rem !important;
        font-size: 1rem !important;
    }

    .cancel-button {
        height: 2rem !important;
        width: 18rem !important;
        font-size: 1rem !important;
    }

    .complete-img-size {
        width: 8rem !important;
    }

    .pt-8rem {
        padding-top: 3rem !important;
    }

    .width-50 {
        width: 95% !important;
    }

    .project-reload {
        font-size: 0.5rem;
        margin-left: -1rem;
    }

    .modal-content3 {
        position: relative;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 75%;
        pointer-events: auto;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0,0,0,.2);
        border-radius: 0.3rem;
        outline: 0;
        margin: 44px;
    }
}


@media (min-width: 350px) and (max-width: 670px) {
    html, body {
        overflow-x: hidden;
    }

    .category-tile, .key-category-tile {
        width: 8.6rem !important;
    }

    .container {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .please-choose-a-category {
        font-size: 1rem !important;
        line-height: 1rem !important;
    }

    .project-reload {
        font-size: 0.8rem;
        margin-left: -0.5rem;
    }

    .labelCenter {
        font-size: 0.8rem !important;
    }

    .autocomplete-box {
        font-size: 0.8rem !important;
        width: 18rem !important;
    }

    .autocomplete-suggestions {
        font-size: 0.7rem !important;
    }

        .autocomplete-suggestions.visible {
            max-width: 280px;
        }

    .logo-width {
        width: 16rem !important;
    }

    .main-header-logo {
        top: -100px !important;
    }
}

@media (min-width: 370px) and (max-width: 820px) {
    .main-header-logo {
        top: -100px !important;
    }

    .autocomplete-suggestions.visible {
        max-width: 280px;
    }

    .logo-width {
        width: 16rem !important;
    }
}

/*@media (width: 360px){
    .project-reload {
        font-size: 0.6rem;
        margin-left: -0.6rem;
    }
}*/

@media (min-width: 400px) and (max-width: 740px) {
    .category-tile, .key-category-tile {
        width: 10rem !important;
    }

    .labelCenter {
        font-size: 1rem !important;
    }

    .project-reload {
        font-size: 0.8rem;
        margin-left: -0.5rem;
    }

    .autocomplete-box {
        font-size: 1rem !important;
        width: 21rem !important;
    }

    .autocomplete-suggestions.visible {
        max-width: 300px;
    }

    .autocomplete-suggestions {
        font-size: 1rem !important;
    }
}

@media (min-width: 500px) and (max-width: 740px) {
    .category-tile, .key-category-tile {
        width: 9.2rem !important;
    }

    .main-header-logo {
        top: -100px !important;
    }

    .autocomplete-suggestions.visible {
        max-width: 400px;
    }

    .logo-width {
        width: 17rem !important;
    }
}

@media (min-width: 760px) and (max-width: 1030px) {
    .main-header-logo {
        top: -131px !important;
    }

    .logo-width {
        width: 22rem !important;
    }
    .category-center {
        margin-left:4.3rem;
    }
}
