﻿.bootstrap-touchspin input {
    padding-right: 32px;
    text-align: right;
    padding-left: 0px;
}

.badge {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.alert-left {
    color: #3b3c41;
    border: 0px solid transparent;
    border-left-width: 5px !important;
    border-left-style: solid !important;
    border-left-color: transparent;
    border-color: #c3f11f !important;
    background-color: #fff !important;
    margin: 0.5rem !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    align-items: center !important;
    position: relative;
    padding: 0.75rem 1.25rem;
}

.alert-left-warning {
    border-color: #ffc107 !important;
    background-color: #ffeeba !important;
}

nav {
    font-size: 1rem;
    text-transform: uppercase;
}

.navbar-brand img {
    height: 60px;
    margin-right: 10px;
    max-width: 165px;
}

.navbar-nav .nav-item:first-child {
}

.navbar-nav .nav-item {
    margin-top: 5px;
    padding: 0px 12px 0px 12px;
}

    .navbar-nav .nav-item a:hover {
        background-color: #f1f1f1;
        border-radius: 5px;
    }

/* TEMP */
table select {
    max-width: 230px;
}

.badge-primary {
    color: #fff;
    background-color: #7e9c14;
}

/* CENTROTHERM */
h3 {
    font-family: ealing, 'Open Sans', Arial, sans-serif;
    font-size: 2.75rem;
}

h4 {
    font-family: ealing, 'Open Sans', Arial, sans-serif;
    font-size: 2rem;
}

.ct-primary {
    color: #c3f11f;
}

.ct-secondary {
    color: #787878;
}

.ct-bg-primary {
    background-color: #c3f11f;
}

.ct-bg-secondary {
    background-color: #787878;
}

.btn-primary {
    color: #333 !important;
    background-color: #c3f11f !important;
    border-color: #9dc21a !important;
}

    .btn-primary:hover {
        background-color: #b2dc1f !important;
        border-color: #9dc21a !important;
    }

    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
        background-color: #c3f11f !important;
        border-color: #9dc21a !important;
    }

    .btn-primary.focus, .btn-primary:focus {
        background-color: #c3f11f !important;
        border-color: #9dc21a !important;
        box-shadow: 0 0 0 0.2rem rgba(157,194,26, 0.5) !important;
    }


.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
}

    .btn-close:hover {
        color: #000;
        text-decoration: none;
        opacity: 0.75;
    }

    .btn-close:focus {
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        opacity: 1;
    }

    .btn-close:disabled, .btn-close.disabled {
        pointer-events: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        opacity: 0.25;
    }

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}


.topbar-preventivo {
    background-color: #c3f11f;
    padding: .25rem 0;
}

    .topbar-preventivo a {
        color: #333;
    }

    .topbar-preventivo .nome-preventivo {
        text-transform: uppercase;
        font-size: 1rem;
        font-weight: bold;
        margin-right: .5rem;
        text-wrap: avoid;
    }

    .topbar-preventivo .tipo-preventivo {
        color: #666;
        font-size: .8rem;
        text-transform: uppercase;
        text-wrap: avoid;
    }

    .topbar-preventivo .importo-preventivo {
        text-wrap: avoid;
    }


/* END: CENTROTHERM */

/* UBBINK */
.ubbink .topbar-preventivo {
    background-color: #e20218;
    color: #fff;
    padding: .25rem 0;
}

.ubbink textarea {
    height: 400px;
}

    .ubbink .topbar-preventivo .nome-preventivo {
        color: #fff;
    }
    .ubbink .topbar-preventivo .tipo-preventivo {
        color: #fff;
    }

.ubbink h3 {
    font-family: ealing, 'Open Sans', Arial, sans-serif;
    font-size: 2.75rem;
}

.ubbink h4 {
    font-family: ealing, 'Open Sans', Arial, sans-serif;
    font-size: 2rem;
}

.ubbink .ct-primary {
    color: #e20218;
}

.ubbink .ct-secondary {
    color: #787878;
}

.ubbink .ct-bg-primary {
    background-color: #e20218;
}

.ubbink .ct-bg-secondary {
    background-color: #787878;
}

.ubbink .btn-primary {
    color: #f1f1f1 !important;
    background-color: #e20218 !important;
    border-color: #AA0000 !important;
}

    .ubbink .btn-primary:hover {
        background-color: #d20218 !important;
        border-color: #aa0000 !important;
    }

    .ubbink .btn-primary:not(:disabled):not(.disabled).active,
    .ubbink .btn-primary:not(:disabled):not(.disabled):active,
    .ubbink .show > .btn-primary.dropdown-toggle {
        background-color: #e20218 !important;
        border-color: #AA0000 !important;
    }

    .ubbink .btn-primary.focus,
    .ubbink .btn-primary:focus {
        background-color: #e20218 !important;
        border-color: #AA0000 !important;
        box-shadow: 0 0 0 0.2rem rgba(170,0,0, 0.5) !important;
    }

/* END: UBBINK */

body, .form-control, .btn {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: .9rem;
    font-style: normal;
    /*color: #787878;*/
}

/* 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 {
    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-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 */
}

/* x39 */
tr.x39h td {
    height: 1px;
    padding: 0px;
}

tr.x39h td {
    border-bottom-width: 0px;
}

.x39y {
    position: relative;
}

.x39p {
    position: absolute;
    top: -10px;
    left: -20px;
    height: 20px;
    width: 20px;
    border: 1px solid black;
    padding: 0px;
    text-decoration: none;
}

.x39x {
    border: 1px solid transparent;
    position: absolute;
    top: -10px;
    left: 0px;
    height: 20px;
    width: 100%;
    text-align: center;
    padding: 0px;
    line-height: 16px;
    font-size: 14px;
}

    .x39x:hover {
        cursor: pointer;
        background-color: white;
    }

    .x39x a {
        display: block;
        width: 100%;
        color: transparent;
        text-decoration: none;
    }

        .x39x a:hover {
            color: black;
            background: rgb(255,255,255);
            background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(204,204,204,0.5) 50%, rgba(255,255,255,1) 100%);
        }

.container {
    position: relative;
}

.topbar-collettiva {
    background-color: #eee;
    padding: .25rem 0;
}

    .topbar-collettiva .nome-collettiva {
        text-transform: uppercase;
        font-weight: bold;
        margin-right: .25rem;
    }

    .topbar-collettiva .nome-condotto::before {
        color: #666;
        content: "\226b";
        margin-right: .25rem;
    }

    .topbar-collettiva a {
        text-transform: uppercase;
        font-weight: bold;
        color: #333;
    }

        .topbar-collettiva a:hover {
            opacity: 0.75;
        }

.readonly .readonly-hidden {
    display: none;
}

.readonly-show {
    display: none;
}

.readonly .readonly-show {
    display: block;
}

.readonly .readonly-disabled {
    user-select: none;
    pointer-events: none;
}

.readonly a.readonly-disabled {
    color: black;
    text-decoration: none;
}

.seleziona {
    margin-left: 40px;
    margin-right: 40px;
}

    .seleziona .col-lg-3 {
        margin-bottom: 20px;
    }

    .seleziona .card {
        border-radius: 5px;
    }

        .seleziona .card:hover {
            /*outline: 3px solid #c3f11f;*/
            box-shadow: 0 0 0 0.2rem rgba(195,241,31,0.5) !important;
        }

        .seleziona .card a {
            text-align: center;
        }

        .seleziona .card img {
            max-width: 100%;
            max-height: 250px;
        }

        .seleziona .card h5 {
            font-size: 1.5rem;
            text-align: center;
            background-color: #eee;
            margin-left: -20px;
            margin-right: -20px;
            color: #333;
            padding-top: 10px;
            padding-bottom: 10px;
        }

    .seleziona .card-subtitle {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

    .seleziona .card-text {
        font-size: .9rem;
    }

    .seleziona .btn {
        width: 120px;
        height: 80px;
    }

.seleziona-full {
    margin-left: 0px;
    margin-right: 0px;
}

.phi:before {
    font-style: normal;
    content: "ø";
    font-size: 1.4rem;
    line-height: .4rem;
    font-family: 'Courier New';
}

.delta:before {
    font-style: normal;
    content: "Δ";
    font-size: 1.4rem;
    line-height: .4rem;
    font-family: 'Courier New';
}

.center {
    text-align: center;
    height: 10em;
    position: relative
}

/* BootBox */

.bootbox-prompt-message {
    margin-bottom: 10px;
}

/* FA icons */
.fa-info-circle {
    color: lightblue
}

.sequenza .funzione {
    display: inline-block;
    font-size: 80%;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    vertical-align: baseline;
    color: #7e9c14;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.sequenza .codice, .camino .codice {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    vertical-align: baseline;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.sequenza .cambia {
    font-size: .75rem;
    text-transform: uppercase;
}

.sequenza .nome-articolo {
    font-size: 110%;
    display: inline-block;
    text-transform: capitalize;
}

.sequenza .prezzo {
    text-align: right;
}

.sequenza .dropdown-menu a {
}

.sequenza .dropdown-menu .far-clone, .sequenza .dropdown-menu .far-trash-alt {
    width: 1.5rem;
}

.sequenza .dropdown-toggle::after {
    display: none;
}

.sequenza tr.active {
    background-color: rgba(195, 241, 31, 0.25);
}

.table-commands {
    text-align: right;
}

.camino .nome-articolo {
    font-size: 110%;
    text-transform: capitalize;
}

.camino img {
    max-width: 100px;
}

.camino input {
    max-width: 70px;
}

.camino .prezzo, .camino .numero-pezzi {
    text-align: right;
    margin: 2px;
    white-space: nowrap;
}

.camino .totale {
    font-weight: bold;
}

.table th,
.table td {
    vertical-align: middle !important;
}

/* FROM ACE */
.btn-brc-tp, .btn-brc-tp:focus:not(:hover):not(:active):not(.active):not(.dropdown-toggle), .btn.btn-f-brc-tp:focus, .btn-h-brc-tp:hover, .btn.btn-h-brc-tp:hover, .btn-a-brc-tp:not(.disabled):not(:disabled).active {
    border-color: transparent;
}

.btn-light-secondary {
    color: #4c6778a0;
    background-color: #e6eaeda0;
}

.btn-h-lighter-danger:hover {
    color: #b9361f;
    background-color: #fcefec;
    border-color: #eeafa4;
}

.btn-h-lighter-primary:hover {
    color: #196db3 !important;
    background-color: #edf5fb !important;
    border-color: #a0c9eb !important;
}

.btn-h-lighter-success:hover {
    color: #327a32;
    background-color: #f0f8f0;
    border-color: #b5dcb5;
}

.btn-h-lighter-warning:hover {
    color: #916213;
    background-color: #fdf7eb;
    border-color: #f7d6a0;
}

.border-2 {
    border-width: 2px !important;
    border-style: solid !important;
    border-color: transparent;
}

.vmc-step-container {
    margin-bottom: .5rem;
}

    .vmc-step-container .vmc-step {
        width: 150px;
        background-color: #f1f1f1;
        margin-right: 1rem;
        padding: 10px;
        border-radius: 5px;
    }

        .vmc-step-container .vmc-step a {
            display: block;
            color: #aa0000;
        }

        .vmc-step-container .vmc-step.active {
            background-color: #aa0000;
        }

            .vmc-step-container .vmc-step.active a {
                color: #fff;
            }

        .vmc-step-container .vmc-step.disabled {
            color: #999;
        }

.topbar-planimetrie a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 5px;
}
