﻿/* 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. */

:root {
    --size-divisor: 3;
}

/*[contentEditable=true]:empty:not([data-required=true]):not(:focus) {
    border: none;*/
    /*border-bottom: 1px solid blue;*/
    /*border-radius: 0px 0px;
    background-color: aliceblue;
    color: blue;
}*/

[data-required=true]:empty:not(:focus) {
    border: 1px solid red;
    border-radius: 3px 4px;
}

[contentEditable=true]:not(:empty):not(:focus) {
    color: blue;
    background-color: lightgray;
}


select {
    background-color: aliceblue;
    color: blue;
}

[data-required=true]:empty:not(:focus):before {
    content: '*';
    font-size: 1vh;
    color: red;
}

.xAgreement-action {
    font-size: 12px;
    padding: 5px;
    float: none;
    cursor: pointer;
    border-radius: 3px 4px;
}

    .xAgreement-action:hover {
        background-color: greenyellow;
        cursor: pointer;
    }
    .xAgreement-action:focus {
        background-color: greenyellow;
        cursor: pointer;
    }
.xAgreement-action-light {
    font-size: 12px;
    padding: 5px;
    float: none;
    cursor: pointer;
    border-radius: 3px 4px;
}

    .xAgreement-action-light:hover {
        background-color: lightsteelblue;
        cursor: pointer;
    }

    .xAgreement-action-light:focus {
        background-color: lightsteelblue;
        cursor: pointer;
    }

.xAgreement-action-inverse {
    font-size: 12px;
    padding: 5px;
    float: none;
    cursor: pointer;
    border-radius: 3px 4px;
}

    .xAgreement-action-inverse:hover {
        background-color: dimgray;
        cursor: pointer;
        color: greenyellow !important;
    }

    .xAgreement-action-inverse:focus {
        background-color: dimgray;
        cursor: pointer;
        color:greenyellow;
    }

.x-properties {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 30%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    /*background-color: rgb(0,0,0);*/ /* Fallback color */
    /*background-color: rgba(0,0,0,0.4);*/ /* Black w/ opacity */
}


.xag-step {
    border-radius: 50%;
    width: 64px;
    height: 64px;
    padding: 10px;
    background: greenyellow;
    /*border: 3px solid #000;*/
    color: #000;
    text-align: center;
    font: 32px Arial, sans-serif;
}


.divResize {
    border: dashed 1px;
    border-color: blue;
    width: 320px;
    height: 40px;
    padding: 5px;
    margin: 5px;
    font: 13px Arial;
    cursor: move;
    float: left
}

.xtooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .xtooltip .xtooltiptext {
        visibility: hidden;
        width: 240px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 50%;
        margin-left: -60px;
    }

    .xtooltip .xtooltiptexttop {
        visibility: hidden;
        width: 240px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 100%;
        left: 50%;
        margin-left: -60px;
    }

    .xtooltip:hover .xtooltiptext {
        visibility: visible;
    }

    .xtooltip:hover .xtooltiptexttop {
        visibility: visible;
    }

.menu {
    display: none;
}

a + .menu:active,
a:focus + .menu {
    display: inline;
}

.xAgreement-action {
    font-size: 12px;
    padding: 5px;
    float: none;
    cursor: pointer;
    border-radius: 3px 4px;
}

    .xAgreement-action:hover {
        background-color: greenyellow;
        cursor: pointer;
    }

.x-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}



/* Modal Content */
.x-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px 9px;
    width: 80%;
}

/* The Close Button */
.x-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .x-close:hover,
    .x-close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }


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;
}


.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Always set the map height explicitly to define the size of the div
        * element that contains the map. */
.x-property-map {
    height: 100%;
}

.pac-card {
    margin: 10px 10px 0 0;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    font-family: Roboto;
}

.pac-controls {
    display: inline-block;
    padding: 5px 11px;
}

    .pac-controls label {
        font-family: Roboto;
        font-size: 13px;
        font-weight: 300;
    }

.pac-input {
    /*background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;*/
}

    .pac-input:focus {
        border-color: #4d90fe;
    }

@media (min-width: 576px) {
    :root {
        --size-divisor: 2;
    }

}

@media (min-width: 768px) {
    :root {
        --size-divisor: 1.25;
    }
    /*html {
        font-size: 16px;
    }*/
}

@media (min-width: 992px) {
    :root {
        --size-divisor: 1;
    }
}

@media (min-width: 1200px) {
    :root {
        --size-divisor: 1;
    }
}