/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 8-ott-2019, 17.21.04
    Author     : Matteo
*/
.rowfield fieldset {
    display: inline;
}
card-
.box-person{
    background-color: #F0F8FF;
    border: 0.5px solid aqua;
    border-radius: 10px;
    margin:10px auto;
    padding: 1em;
}
.btn-primary-collapse:focus{
    box-shadow: none;
}
.title_card{
    padding-bottom: 0px;
}
.span_subtitle{
    color:darkgray;
    margin:0 2px;
}
.remove_item{
    /*
    min-width:28px;
    height: calc(2.25rem + 2px);
    padding: 1px;
    background-position: center;
    background-image: url('/css/imgs/bin_21_24.png');
    background-repeat: no-repeat;
    */

    height: calc(2.25rem + 2px);
    min-width: 28px;
    background-position: center;
    background-image: url('/css/imgs/cross_24_24.png');
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;

}
.remove_item :hover{
    background-color: lightgrey;
}
.header-page {
    border-style: 1px solid;
    box-shadow: 5px 10px 8px #888888;
}
html *
{
    font-size: 11pt;
    /*font-family: 'Cinzel', serif;*/
    font-family: 'Montserrat', sans-serif;
}
label{
    font-size: 10pt;
    margin-bottom: 2px;
}
.radio-selection {
    margin: 10px;
    text-align: center;
}

.radio-selection input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.radio-selection label {
    display: inline-block;
    color: gray;
    background-color:#ccccff;
    padding: 3px 15px;
    font-family: sans-serif, Arial;
    font-size: 14px;
    border: 1px solid #dee0fa;
    border-radius: 4px;
}

.radio-selection label:hover {
    background-color:#ccffff;
}
.radio-selection input[type="radio"]:focus + label {
    color:#000;
}

.radio-selection input[type="radio"]:checked + label {
    color:#000;
    background-color:#F0F8FF;
    border-color: aqua;
}
.title_sez {
    margin-top:1em;
    font-weight: bold;
}
.title_errors{
    font-weight:lighter;
    color:red;
    font-size: 8pt;
    font-variant:all-petite-caps;
}
.sub_cf{
    font-size: 8pt;
}
.list-group-item {
    position: relative;
    display: block;
    padding: 0px 15px;
    margin-bottom: -1px;
    border: 1px solid #ddd;
    line-height: 1em
}
.hints{
    padding-bottom:2px;
    /*min-width: max-content;*/
    width:95%;
    position:absolute;
    z-index:99;
    border-left:1px solid blue;
    border-right:1px solid blue;
    background-color: #a8a8ff;
}
.hint {
    width:100%;
}
/* Chrome, Safari, Edge, Opera */
.ab_mq::-webkit-outer-spin-button,
.ab_mq::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.ab_mq[type=number] {
    -moz-appearance:textfield;
}

.note_add {
    color:green;
    width:max-content;
}
.note_add:hover {
    text-decoration: underline;
    cursor:pointer;
}
.note_rem{
    height: 24px;
    width: 24px;
    background-image: url('/css/imgs/cross_24_24.png');
    background-repeat: no-repeat;
    background-color: transparent;
}
.note_rem:hover{
    cursor:pointer;
}
.distance2{
    margin-top:2px;
    margin-bottom: 2px;
}
.askConfirm{
    border: yellow 1px solid;
}

.select_cat_not_found{
    color: red;
}
.cat_not_found{
    color:red;
}
.hobby[readonly]{
    border-width: 0px;
    background-color: white;
}
.hobby:focus{
    background-color:white;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.error_cat{
    border: 1px solid red;
}
.notes{
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius:0px;
    padding-bottom: 1px;

}
.notes:focus{
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.headTitle{
    font-family: 'Cinzel', serif;
    font-size: xx-large;
    text-shadow: 1px 1px aqua;
}
.btn_location:disabled{
    border-color: #ced4da;
}
.list-group-item-custom:hover{
    background-color: #dcdde6;
}
.yellowBorder{
    border-color: yellow;
}

.toggle_radio{
    background: rgba(0,0,255,.65);
    overflow: hidden;
    padding: 0 !important;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    position: relative;
    height: 26px;
    width: max-content;
    margin-right: auto;
    margin-left: auto;
}
.toggle_radio > * {
    float: left;
}
.toggle_radio input[type=radio]{
    display: none;
    /*position: fixed;*/
}
.toggle_radio label{
    font: 90%/1.618 "Source Sans Pro";
    color: rgba(255,255,255,.9);
    z-index: 0;
    display: block;
    width: 100px;
    height: 20px;
    margin: 3px 3px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1;
    /*background: rgba(0,0,0,.1);*/
    text-align: center;
    /*margin: 0 2px;*/
    /*background: blue;*/ /*make it blue*/
}
.toggle_option_slider{
    /*display: none;*/
    /*background: red;*/
    width: 100px;
    height: 20px;
    position: absolute;
    top: 3px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    -ms-transition: all .4s ease;
    transition: all .4s ease;
}

.first:checked ~ .toggle_option_slider{
    background: rgba(255,255,255,.3);
    left: 3px;
}
.second:checked ~ .toggle_option_slider{
    background: rgba(255,255,255,.3);
    left: 109px;
}
.white-bg {
    background-color: white;
}
input[readonly].white-bg, input[readonly].white-bg.form-control, input:read-only.white-bg {
    background-color: #fff;
    color:blue;
}
input[type="date"]::-webkit-clear-button
{
    -webkit-appearance: none;
}
.error_iva{
    border-color: red;
}
.signature{
    border: 1px solid black;
}
.error_sc{
    border: 1px solid red;
}
.error_codcat{
    border: 1px solid red;
}
.container{
    padding-right: 0px;
    padding-left: 0px;
}
.popover-title {
    color: black;
    background-color: red;
    font-size: 15px;
}
.popover-content {
    color:black;
    font-size: 10px;
}

.bottomright {
     position: fixed;
     bottom: 0px;
     right: 0px;
     z-index: 10;
     -webkit-backface-visibility: hidden;
}

.switch {
  position: relative;
  display: inline-block;
  width: 51px;
  height: 25px;
  float:right;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider-sub {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider-sub:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input.warning:checked + .slider-sub {
  background-color: #FFC107;
}

input:checked + .slider-sub:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider-sub.round {
  border-radius: 34px;
}

.slider-sub.round:before {
  border-radius: 50%;
}