﻿/* 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;
}

.cbyd-body {
    font-family: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

main {
    margin-top: 0.5em;
    border: 2px solid gray;
    padding: 2em;
}

.nav-pills .nav-link {
    color: #111;
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 0.5em;
    padding: .5em 1em !important;
    margin: .5em 0;
}

.nav-link {
    width: min-content;
    max-width: 10em;
}

.nav-link-wide {
    width: auto !important;
    max-width: 30em !important;
}

.nav-pills .nav-link.active {
    color: #111;
    background-color: #fce6e4;
}

.nav-pills .nav-link.disabled {
    background-color: #d4d0c8;
}

.btn-primary {
    font-weight:bold;
    text-transform: uppercase;
    color: #d4d0c8;
    background-color: #e84c3c;
    border-color: #e84c3c;
}

.btn-primary:hover {
    color: #d4d0c8;
    background-color: #e85344 !important;
    border-color: #e85344 !important;
}

.btn-primary:active, .btn-primary.active {
    color: #d4d0c8;
    background-color: #e41b07 !important;
    border-color: #e41b07 !important;
}

.btn-primary:focus {
    color: #d4d0c8;
    background-color: #e41b07 !important;
    border-color: #e41b07 !important;
    box-shadow: 0 0 0 .2rem rgba(255,11,97,.5) !important;
}

.btn-primary:focus:active, .btn-primary.active:focus {
    color: #d4d0c8;
    background-color: #e41b07 !important;
    border-color: #e41b07 !important;
    box-shadow: 0 0 0 .2rem rgba(255,11,97,.5) !important;
}


.btn-danger {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #d4d0c8;
    background-color: #958b77;
    border-color: #958b77;
}

.btn-danger:hover {
    color: #d4d0c8;
    background-color: #959390 !important;
    border-color: #959390 !important;
}

.btn-danger:active {
    color: #d4d0c8;
    background-color: #7a7365 !important;
    border-color: #7a7365 !important;
}

.btn-danger:focus {
    color: #d4d0c8;
    background-color: #7a7365 !important;
    border-color: #7a7365 !important;
    box-shadow: 0 0 0 .2rem rgba(188,188,188,.5) !important;
}

.btn-danger:focus:active {
    color: #d4d0c8;
    background-color: #7a7365 !important;
    border-color: #7a7365 !important;
    box-shadow: 0 0 0 .2rem rgba(188,188,188,.5) !important;
}


.cbyd-tab-label {
    margin: 0;
    padding:0;
    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cbyd-arrow-wrap {
    padding: 0 0.5em !important;
}

.cbyd-arrow {
    padding: 0;
    font-size: 2em;
    color: gray;
    fill: gray;
}
.cbyd-arrow > svg {
    width: 0.7em;
    height: 0.7em;
    margin-bottom: 0.2em;
}

.cbyd-map-toolbar
{
    position:absolute;
    top:0.5em;
    right:1.5em;
    z-index:10;
}

.cbyd-map-toolbar > button {
    font-size: 2em;
    padding: 0rem 0.5rem;
}

.cbyd-field-row {
    margin: 0.25em 0;
}

.cbyd-wiz-btn {
    height: 3rem;
    min-width: 200px;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    margin: 0.3rem 2rem;
}

.cbyd-admin-logo {
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding-right: 16px;
}

.cbyd-logo {
    width:6%;
    font-weight:bold;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    position:absolute;
    margin-top:-1.5em;
    margin-left:-1.5em;
    font-size:0.8rem;
}

.cbyd-logo > img {
    width:100%;
}

.cbyd-logo > div {
    transform-origin:left;
    white-space:nowrap;
}

.cbyd-footer {
    font-size:0.75rem;
    text-align: right;
}

.cbyd-attachment input {
    display: none;
}

.cbyd-attachment .closer {
    display: none;
    color: red;
    position: absolute;
    right: 0.5em;
    top: 0.3em;
    padding: 0 0.2em;
    cursor: pointer;
    font-family: sans-serif;
    font-weight: bold;
}

.cbyd-attachment.set .closer {
    display: block;
}

.cbyd-attachment label {
    white-space: nowrap;
    overflow: hidden;
}

.cbyd-attachment-link, .cbyd-attachment-error {
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    margin-right: 2em;
}

.cbyd-attachment-error {
    color: red;
}

#AddressList {
    max-width: calc(100% - 30px);
    margin-left: 15px;
}

.tooltip {
    position: relative;
    background: #39c;
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
    z-index: 2;
    font-size: 1.15em;
}

.tooltip-static {
    background-color: #39c;
    color: black;
    border: 1px solid #39c;
}

.tooltip-static:before {
    border-top: 6px solid #39c;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
}

.tooltip .ol-popup-closer {
    position: relative !important;
    right: 0 !important;
    font-size: 1.1em;
    margin: 0 0.1em;
}

.dropdown-item {
    white-space:normal !important;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    right: 8px;
}

.ol-popup-closer:hover {
    text-decoration: none !important;
}

.ol-popup-closer:after {
    content: "✖";
    font-family: sans-serif;
    font-weight: bold;
    color:#ddd;
}
.ol-popup-closer:hover:after {
    color: #fff;
}

select[data-chosen=''] {
    font-style: italic;
    color: gray;
}

option{
    font-style:initial;
    color:initial;
}


.tab-pane {
    padding: 1em 0;
}

h3
{
    padding-bottom: 0.5em;
}

/* 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 .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 */
}

.map {
    height: 400px;
}

.hidden {
    display: none;
}


@media (max-width: 400px) {
    .nav-pills {
        font-size: 0.6rem;
    }

    .cbyd-logo {
        width: 15%;
        font-size: 0.3rem;
        margin-top: -1.9rem;
        margin-left: -1.9rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 800px) {
    .nav-pills {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 2rem;
    }

    .cbyd-logo {
        width: 10%;
        font-size: 0.4rem;
        margin-top: -1.7rem;
        margin-left: -1.7rem;
    }
}

@media (max-width: 1200px) {

    .cbyd-logo {
        font-size: 0.6rem;
    }
}

.cbyd-bolder 
{
    font-size: 1.1rem;
    font-weight: 400;
}

.admin-container
{
    margin-left: 1rem;
    margin-right: 1rem;
}

.admin-table {
}

.admin-table tr {
    cursor: pointer;
}

.admin-table td 
{
    vertical-align: middle;
    line-height: normal;
}

.history-table {
    font-size: 0.9em;
}

.admin-form-border {
    border: 1px solid #aaa;
    padding: 0.5em 0em;
    margin-left: 0.5em;
    margin-right: 0.5em;
    border-radius: 0.5em;
}

.admin-border {
    border: 1px solid #aaa;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    margin-bottom: 1em;
}

.admin-small-pad {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.cbyd-button
{
    vertical-align: initial;
    margin: 0.1rem;
}

.pdDetailsLeft {
    float: left;
}

.pdDetailsRight
{
    float: right;
}

.space-big {
    padding-top: 1rem;
}

.space-small {
    padding-top: 0.5rem;
}

.toolbar-elem {
    display: inline-block;
    padding-right: 1rem;
}

.confirmation-message
{
    color: blue;
}

#retype {
    display: none;
}

#map-header h5 {
    display:inline-block;
}

#map-header div {
    display: inline-block;
    float: right;
}

#map-ol {
    width: 100%;
    height: 600px;
}

#map-row {
    display:block !important;
}

.modal .label {
    padding-top: 0.3em;
}

#generate-with-cad {
    margin-top: 0.4em;
}

#generate-cad-options .label {
    padding-left: 2em;
}