﻿/* 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-top-black {
    border-top:1px solid #000;
}
.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 */
}

/* Autocomplete elements
-------------------------------------------------- */
.ac-item-list {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background-color: #fff;
    z-index: 1000;
    /*min-width: 500px !important;*/
}

    .ac-item-list .ac-suggest-item {
        padding: .375rem .75rem;
        border: 1px solid #ccc;
        cursor:pointer;
    }

.item {
    margin-bottom: 0.2rem;
    font-size:90%;
}

.item-list .item-content {
    border: 1px solid #ccc;
    padding: .375rem .75rem;
}

    .item .delete {
        font-weight:600;
        cursor:pointer;
    }

#create-tag b, #close-maps-suggest b, .pointer {
    cursor:pointer;
}

.subtitle {
    font-size: 0.8rem;
    font-weight: 600;
}


.searching:after {
    content: ' ';
    background: url(/images/loader.gif);
    width: 45px;
    height: 20px;
    position: absolute;
    top: 25%;
    right: 5px;
}

/* Select2 css adjustments 
----------------------------------------------------- */
.select2-container .select2-choice {
    background-image: none !important;
    border: none !important;
    height: auto !important;
    padding: 0 !important;
    line-height: 22px !important;
    background-color: transparent !important;
    box-shadow: none !important
}

    .select2-container .select2-choice .select2-arrow {
        background-image: none !important;
        background: 0 0;
        border: none;
        width: 14px;
        top: -2px
    }

.select2-container .select2-container-multi.form-control {
    height: auto
}

.select2-results .select2-highlighted {
    color: #fff;
    background-color: #008efa
}

.select2-drop-active {
    border: 1px solid #e3e3e3 !important;
    padding-top: 5px
}

.select2-search input {
    border: 1px solid rgba(120,130,140,.21)
}

.select2-container-multi {
    width: 100%
}

    .select2-container-multi .select2-choices {
        border: 1px solid #border !important;
        box-shadow: none !important;
        background-image: none !important;
        border-radius: 3px !important;
        min-height: 38px
    }

        .select2-container-multi .select2-choices .select2-search-choice {
            padding: 4px 7px 4px 18px;
            margin: 5px 0 3px 5px;
            color: #555;
            background: #f5f5f5;
            border-color: rgba(120,130,140,.21);
            -webkit-box-shadow: none;
            box-shadow: none
        }

        .select2-container-multi .select2-choices .select2-search-field input {
            padding: 7px 7px 7px 10px;
            font-family: inherit
        }

#edit-nav {
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    padding-bottom: 0.5rem;
    margin-bottom: 1.3rem;
    background-color: #fff;
    top: 0px;
    padding-top: 0.7rem;
    position: sticky;
    z-index:900;
}

button i.fa, a i.fa {
    margin-left:0.3rem;
}

.btn.textless {
    padding:0.1rem 0.2rem !important;
    line-height:1 !important;
    vertical-align:baseline !important;
}

.content-unit {
    font-size: 90%;
}

    .content-unit .title {
        top: -13px;
        background-color: #fff;
        padding: 0 5px;
    }

/*  Gallery
------------------------------------------------------------------*/

.gallery-content-center-full {
    float: left;
    width: 100%;
}

#images-gallery a {
    margin-bottom: 10px;
    margin-right: 10px;
}

#images-gallery img {
    width: 222px;
}

#images-gallery .details {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 90%;
    color: #fff;
    display: none;
    background-color: rgba(0,0,0,.7);
    word-wrap: break-word;
    line-height: 1rem;
    padding: 0 4px;
}

#images-gallery a:hover {
    opacity: .6;
}

#images-gallery a:hover .details {
    display:block;
}

#entity-logs {
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #fff;
}

.log-entry {
    border-top:1px solid #ccc;
}

.log-entry:first-child {
    border: 0 none;
}

.lh-1 {
    line-height: 1rem;
}

/*  Form validation
----------------------------------------------------------------*/
.has-error .form-control:not(.ignore-validation) {
    border-color: #f75b36;
    box-shadow: none !important;
}

.has-error label:not(.ignore-validation) {
    color: #a94442 !important;
}

/*  Widget
---------------------------------------------------------------*/
.tile {
    width: 300px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 4px 0px rgba(151, 171, 187, 0.7);
    transform-style: preserve-3d;
    margin: 5px 5px;
}

    .tile .header {
        border-bottom: 1px solid #ebeff2;
        padding: 5px 0;
        text-align: center;
        color: #59687f;
        font-weight: 500;
        font-size: 16px;
        position: relative;
        text-transform: uppercase;
    }

    .tile .stats {
        border-top: 1px solid #ebeff2;
        background: #f7f8fa;
        overflow: auto;
        padding: 5px 0;
        font-size: 16px;
        color: #59687f;
        font-weight: 600;
        border-radius: 0 0 5px 5px;
    }

    .tile .stats div {
        width:50%;
        float: left;
        text-align: center
    }

.stats strong {
    display: block;
    color: #adb8c2;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

    .tile .tile-footer {
        text-align: right;
        position: relative;
        margin: 5px;
    }

/* Map */
.map-data #map {
    width: 100%;
    height: 600px;
}

.map-data #loader {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
}

    .map-data #loader .mask {
        background-color: #000;
        opacity: 0.4;
        width: 100%;
        height: 100%;
    }

    .map-data #loader .message-cnt {
        z-index: 1010;
    }

#geocod_results {
    background-color: #fff;
    border: 1px solid #ddd;
    left: 15px;
    position: absolute;
    top: 40px;
    z-index: 3001;
    display: none;
    width:95%;
}

    #geocod_results div {
        border-bottom: 1px solid #ededed;
        font-size: 15px;
        padding: 7px 10px;
        cursor: pointer;
    }

        #geocod_results div:last-child {
            border-bottom: 0 none;
        }

        #geocod_results div:hover {
            background-color: #FFD493;
        }

.map-data #node-op, .map-data #poly-op {
    background-color: #fff;
    border: 1px solid #666;
    font-size: 13px;
    position: absolute;
    top: 100px;
    left: 40px;
}

    .map-data #node-op ul {
        border-bottom: 1px solid #666;
        margin-bottom: 1px;
    }

        .map-data #node-op ul:last-child {
            border-bottom: 0 none;
        }

    .map-data #node-op li, .map-data #poly-op li {
        cursor: pointer;
        line-height: 25px;
        padding: 0 5px;
    }

        .map-data #node-op li:hover, .map-data #poly-op li:hover {
            background-color: #D4E5B7;
        }

    .map-data #node-op .heading {
        font-size: 12px;
        font-variant: small-caps;
        line-height: 20px;
        padding: 0 5px;
        letter-spacing: 0.7px;
        font-weight: 600;
    }

    .map-data #node-op .info, .map-data #poly-op .info {
        color: #777;
        font-size: 12px;
        padding: 0 5px;
        line-height: 25px;
    }

.map-data #state-op {
    background-color: #fff;
    border: 1px solid #ccc;
    font-size: 13px;
    left: 95px;
    line-height: 20px;
    position: absolute;
    top: 90px;
}

    .map-data #state-op li {
        cursor: pointer;
        line-height: 25px;
        padding: 0 5px;
        border-bottom: 1px solid #ddd;
    }

        .map-data #state-op li[data-op="cancel"]:hover {
            background-color: #D4E5B7;
        }

        .map-data #state-op li:last-child {
            border-bottom: 0 none;
        }

        .map-data #state-op li.completed:before {
            background: url("/images/sprite_icons.png") no-repeat scroll -82px 1px transparent;
            content: "";
            display: inline-block;
            height: 21px;
            width: 28px;
        }

/* Contenuti */
.content-section-splitter {
    margin-bottom:0.2rem;
}

.descriptor-field .bold {
    font-weight:600;
    margin-bottom: 0.1rem;
}

.content-img-preview {
    max-width: 150px;
    max-height: 150px;
}

.content-image .delete {
    position: absolute;
    top: 0;
    right: 0;
    padding: .1rem .35rem;
    border-radius: 0;
}

#images-color-list, #images-grayscale-list, #illustrations-color-list, #illustrations-grayscale-list, #maps-color-list, #maps-grayscale-list {
    column-gap: 0.5rem;
}

/* Note content */
#notes-list .item.alert {
    padding: 0.25rem;
}

#contents-list .handle {
    cursor:grab;
}

/* Logic unit preview status */
#calculate-results .alert {
    padding: .1rem .5rem;
    display: inline-block;
}
#calculate-results .alert-success {
    border-color: #136a21;
    background-color: #8ae882;
}
#calculate-results .alert-warning {
    border-color: #ffba36;
    background-color: #ffeab9;
}
#calculate-results .alert-danger {
    border-color: #e62222;
    background-color: #ff9696;
}

/* Timeline */
.events {
    position: relative;
    margin: 0.5em;
    display: flex;
    flex-direction: column;
    row-gap: .1em;
}

    .events::before {
        content: "";
        position: absolute;
        top: 0;
        height: 100%;
        width: 1px;
        background: #999;
    }

.event {
    display: flex;
    align-items: baseline;
}

    .event .marker {
        position: relative;
        left: -6px;
        top: 0px;
        fill: #b2b9a7;
    }

.content time {
    font-family: concourse_4, Helvetica, sans-serif;
    font-weight: 600;
}

.report-container {
    gap:.3rem;
}

.report-item {
    border: 1px solid #666;
    padding: .5rem .5rem;
    border-radius: 3px;
    display: inline-flex;
    gap: .5rem;
}
    .report-item .count {
        font-size: 2.5rem;
        line-height: 1.7rem;
        font-weight:600;
        color:#333;
    }

    .report-item .text {
        line-height: 1rem;
        font-size: .9rem;
        font-weight: 500;
    }

#calculate-results .descriptor-field {
    border-bottom: 1px solid #666;
    padding-bottom: .5rem;
}

    #calculate-results .descriptor-field:last-child {
        border-bottom: 0 none;
        padding-bottom: 0;
    }
.include-content {
    gap:.25rem;
}

.include-content .message {
    flex-basis: 0;
    flex-grow: 1;
}

/*------------------ Style tabs ------------------*/
.sttabs {
    position: relative;
    /*overflow: hidden;*/
    margin: 0 auto;
    width: 100%;
    /* font-weight: 300;*/
}

.sticon::before {
    display: inline-block;
    margin: 0 0.4em 0 0;
    vertical-align: middle;
    font-size: 20px;
    speak: none;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sttabs nav {
    text-align: center;
}

    .sttabs nav ul {
        position: relative;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: flex;
        margin: 0 auto;
        padding: 0;
        font-family: 'Poppins', sans-serif;
        list-style: none;
        -ms-box-orient: horizontal;
        -ms-box-pack: center;
        -webkit-flex-flow: row wrap;
        -moz-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-justify-content: center;
        -moz-justify-content: center;
        -ms-justify-content: center;
        justify-content: center;
    }

        .sttabs nav ul li {
            position: relative;
            z-index: 1;
            display: block;
            margin: 0;
            text-align: center;
            -webkit-flex: 1;
            -moz-flex: 1;
            -ms-flex: 1;
            flex: 1;
        }

    .sttabs nav a {
        position: relative;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 2.5;
        text-decoration: none;
    }

        .sttabs nav a span {
            vertical-align: middle;
            font-wight: 500;
            font-size: 14px;
            font-family: 'Rubik', sans-serif;
        }

        .sttabs nav a:focus {
            outline: none;
        }

    .sttabs nav li.tab-current a {
        color: #cbb2ae;
    }
/* Individual tab styles */
/*****************************/
/* Bar */
/*****************************/
.tabs-style-bar nav ul li a {
    margin: 0 2px;
    background-color: #f7fafc;
    color: #686868;
    padding: 5px 0;
    transition: background-color 0.2s, color 0.2s;
}

    .tabs-style-bar nav ul li a:hover,
    .tabs-style-bar nav ul li a:focus {
        color: #cbb2ae;
    }

    .tabs-style-bar nav ul li a span {
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 14px;
        font-family: 'Poppins', sans-serif;
    }

.tabs-style-bar nav ul li.tab-current a {
    background: #fb9678;
    color: #fff;
}

/* Content */
.content-wrap {
    position: relative;
}

    .content-wrap section {
        display: none;
        margin: 0 auto;
        padding: 0;
        min-height: 150px;
    }

        .content-wrap section.content-current {
            display: block;
        }