﻿/* 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-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 */
}


/* Custom table styles
-------------------------------------------------- */

.table th.al-left {
    text-align: left;
}

.table th.ordering {
    cursor: pointer;
}
.table th.actions {
    width: 70px !important;
}
.table th.actionslarge {
    width: 90px !important;
}
.table-txsm {
    font-size: 0.8em;
}

.ul-txsm {
    font-size: 0.8em;
}

.selectslot {
    width: 100% !important;
}

.partialpager {
    margin: 3px;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

a.nowrap {
    white-space: nowrap;
}

td.prestaz {
    width: 650px !important;
    max-width: 650px !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*.table th.ordering::after {
    content: 'a'

}*/


.select2 {
    width: 100% !important;
} 
.select2-selection {
    height: 36px !important;
}


.UdMfromDivision, .ALUdMfromDivision {
    zoom: 0.7;
    opacity: 0.7;
}
.UdMfromRange, .ALUdMfromRange {
    zoom: 0.7;
    opacity: 0.7;
}


.setwarning {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}
.setwarning2 {
    color: #1f2d3d;
    background-color: #ffc107;
/*    border-color: #ffc107;
*/}
.closeappend {
    border: 1px solid lightgray;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 0 4px;
}


.checkbox-control {
    display: inline-block;
    width: 2.2rem;
    height: 2.4rem;
    /*margin-top: 0.5rem;*/
    margin-left: 0.2rem;
    vertical-align: middle;
    cursor: pointer;
}
/****************************Colors*****************************/
.bluedark {
    background: #112e42;
    color: white;
}
.blue {
    background: #03588c;
    color: white;
}
.bluelight {
    background: #03738c;
    color: white;
}

.greendark {
    background: #038c73;
    color: white !important;
}

.green {
    background: #04bf7b;
    color: black;
}

.greenlight {
    background: #05f26c;
    color: black;
}


.greydark {
    background: #808080;
    color: white !important;
}

.grey {
    background: #a5a5a5;
    color: black;
}

.greylight {
    background: #e5e5e5;
    color: black;
}


/***************************************************************/

.push-right {
    float: right;
    margin-left: 5px;
}
.text-right {
    text-align: right;
}
.push-left {
    float: left;
}

.smaller {
    zoom: 0.8;
}
.smaller2 {
    zoom: 0.7;
}
.smaller3 {
    zoom: 0.6;
}
.smallest {
    zoom: 0.5;
}
.smallest-minimal {
    zoom: 0.5;
    display: inline-block !important;
    margin: 1px 4px !important;
}

.bigger {
    zoom: 2;
    top: -5px;
}

.smallBadge {
    zoom: 0.85;
    margin: -1.8rem 0 !important;
}

.nowrap {
    overflow: hidden;
    white-space: nowrap;
}

.hide-me {
    display: none;
}
.border-text {
    border: solid 1px lightgray;
    border-radius: 4px;
}
.border-image {
    border: solid 2px lightgreen;
    border-radius: 4px;
}

.disabled {
    opacity: 0.5;
}

.stayinline {
    display: inline-block;
}

.brandtitle {
    font-weight: bold;
}

.modeltitle {
    font-style: italic;
    text-decoration: underline;
}

.pu_input_max_w {
    max-width: 350px;
}

.stayinline {
    white-space: nowrap; 
    overflow: hidden;
}

.risalta {
    background-color: gold;
    border: 1px solid gray;
    margin-left: 5px;
    border-radius: 3px;
}


.riquadro {
    border: 1px solid lightgray;
    border-radius: 10px;
}

.commanumber {
    text-align: right;
}

.width-full {
    width: 100%
}

.compcontainer, .ALcompcontainer {
    width: 100%;
    height: calc(2.25rem + 2px);
    border: 1px solid lightgray;
    border-radius: 3px;
}

.upx1 {
    position: relative;
    top: -5px;
    line-height: 0.5 !important;
}
.upx2 {
    position: relative;
    top: -9px;
    line-height: 0.7 !important;
}


.wheightscontainer, .ALwheightscontainer {
    width: 200px;
    background-color: #BBB;
    z-index: 10;
    position: fixed;
    right: 20px;
    top: 100px;
    padding: 20px 10px;
    border-radius: 10px;
    display: none;
}
.wheightscontainerX2, .ALwheightscontainerX2 {
    width: 400px;
    background-color: #BBB;
    z-index: 10;
    position: fixed;
    right: 20px;
    top: 100px;
    padding: 20px 10px;
    border-radius: 10px;
    display: none;
}

.weightselector, .ALweightselector {
    width: 75px;
    display: inline-block;
}
/**************************FlexBox***************************/
/*.flex-container-head {
    display: flex;
    flex-wrap: wrap;
    font-size: 30px;
    text-align: center;
    width:100%;
}
*/
.flex-container {
    display: flex;
    flex-wrap: wrap;
/*    font-size: 30px;
*/    text-align: center;
    width: 100%;
}
    .flex-container div:last-child {
        margin-left: auto;
    }
.flex-item {
    background-color: #f1f1f1;
    padding: 4px;
    flex: 10%;
}

.flex-item-head {
    background-color: #f1f1f1;
    padding: 4px;
    flex: 15%;
}
.flex-item-head-right {
    background-color: #f1f1f1;
    padding: 4px;
    flex: 55%;
}

@media (max-width: 1024px) {
    .flex-item {
        flex: 20%;
    }
    .flex-item-head {
        flex: 20%;
    }
    .flex-item-head-right {
        flex: 40%;
    }

    @media (max-width: 800px) {
        .flex-item {
            flex: 100%;
        }
        .flex-item-head {
            flex: 30%;
        }

        .flex-item-head-right {
            flex: 10%;
        }
    }
}