/* Altre classi di Bootstrap 4 alpha assenti in Bootstrap 5 e in gm-bs4-compat.css (c-input, c-select, media, img-circle, btn-block, input-sm...), estratte da sirius/app/styles/bootstrap.css. */
.img-rounded{border-radius: 0.3rem;}
.img-circle{border-radius: 50%;}
@media screen and (-webkit-min-device-pixel-ratio: 0){input[type="date"].input-sm,input[type="time"].input-sm,input[type="datetime-local"].input-sm,input[type="month"].input-sm{line-height: 1.8625rem;}}
.btn-block{display: block; width: 100%;}
.btn-block + .btn-block{margin-top: 5px;}
input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width: 100%;}
.dropdown-menu-right{right: 0; left: auto;}
.c-input{position: relative; display: inline; padding-left: 1.5rem; color: #555; cursor: pointer;}
.c-input > input{position: absolute; z-index: -1; opacity: 0;}
.c-input > input:checked ~ .c-indicator{color: #fff; background-color: #0074d9;}
.c-input > input:focus ~ .c-indicator{box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9;}
.c-input > input:active ~ .c-indicator{color: #fff; background-color: #84c6ff;}
.c-input + .c-input{margin-left: 1rem;}
.c-indicator{position: absolute; top: 0; left: 0; display: block; width: 1rem; height: 1rem; font-size: 65%; line-height: 1rem; color: #eee; text-align: center; user-select: none; background-color: #eee; background-repeat: no-repeat; background-position: center center; background-size: 50% 50%;}
.c-checkbox .c-indicator{border-radius: .25rem;}
.c-checkbox input:checked ~ .c-indicator{background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgOCA4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4IDgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTYuNCwxTDUuNywxLjdMMi45LDQuNUwyLjEsMy43TDEuNCwzTDAsNC40bDAuNywwLjdsMS41LDEuNWwwLjcsMC43bDAuNy0wLjdsMy41LTMuNWwwLjctMC43TDYuNCwxTDYuNCwxeiINCgkvPg0KPC9zdmc+DQo=);}
.c-checkbox input:indeterminate ~ .c-indicator{background-color: #0074d9; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iOHB4IiBoZWlnaHQ9IjhweCIgdmlld0JveD0iMCAwIDggOCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgOCA4IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0wLDN2Mmg4VjNIMHoiLz4NCjwvc3ZnPg0K);}
.c-radio .c-indicator{border-radius: 50%;}
.c-radio input:checked ~ .c-indicator{background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgOCA4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4IDgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTQsMUMyLjMsMSwxLDIuMywxLDRzMS4zLDMsMywzczMtMS4zLDMtM1M1LjcsMSw0LDF6Ii8+DQo8L3N2Zz4NCg==);}
.c-inputs-stacked .c-input{display: inline;}
.c-inputs-stacked .c-input::after{display: block; margin-bottom: .25rem; content: "";}
.c-inputs-stacked .c-input + .c-input{margin-left: 0;}
.c-select{display: inline-block; max-width: 100%; padding: .375rem 1.75rem .375rem .75rem; padding-right: .75rem \9; color: #55595c; vertical-align: middle; background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right 0.75rem center; background-image: none \9; background-size: 8px 10px; border: 1px solid #ccc; -moz-appearance: none; -webkit-appearance: none;}
.c-select:focus{border-color: #51a7e8; outline: none;}
.c-select::-ms-expand{opacity: 0;}
.progress-success[value]::-webkit-progress-value{background-color: #5cb85c;}
.progress-success[value]::-moz-progress-bar{background-color: #5cb85c;}
@media screen and (min-width: 0\0){.progress-success .progress-bar{background-color: #5cb85c;}}
.progress-info[value]::-webkit-progress-value{background-color: #5bc0de;}
.progress-info[value]::-moz-progress-bar{background-color: #5bc0de;}
@media screen and (min-width: 0\0){.progress-info .progress-bar{background-color: #5bc0de;}}
.progress-warning[value]::-webkit-progress-value{background-color: #f0ad4e;}
.progress-warning[value]::-moz-progress-bar{background-color: #f0ad4e;}
@media screen and (min-width: 0\0){.progress-warning .progress-bar{background-color: #f0ad4e;}}
.progress-danger[value]::-webkit-progress-value{background-color: #d9534f;}
.progress-danger[value]::-moz-progress-bar{background-color: #d9534f;}
@media screen and (min-width: 0\0){.progress-danger .progress-bar{background-color: #d9534f;}}
.media{margin-top: 15px;}
.media:first-child{margin-top: 0;}
.media,.media-body{overflow: hidden;}
.media-body{width: 10000px;}
.media-left,.media-right,.media-body{display: table-cell; vertical-align: top;}
.media-middle{vertical-align: middle;}
.media-bottom{vertical-align: bottom;}
.media-object{display: block;}
.media-object.img-thumbnail{max-width: none;}
.media-right{padding-left: 10px;}
.media-left{padding-right: 10px;}
.media-heading{margin-top: 0; margin-bottom: 5px;}
.media-list{padding-left: 0; list-style: none;}
a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color: #333;}
.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color: inherit;}
.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color: #818a91;}
.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading > small,.list-group-item.active .list-group-item-heading > .small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading > small,.list-group-item.active:focus .list-group-item-heading > .small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading > small,.list-group-item.active:hover .list-group-item-heading > .small{color: inherit;}
.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color: #a8d6fe;}
a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color: inherit;}
a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color: inherit;}
a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color: inherit;}
a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color: inherit;}
.list-group-item-heading{margin-top: 0; margin-bottom: 5px;}
.list-group-item-text{margin-bottom: 0; line-height: 1.3;}
.modal-footer .btn-block + .btn-block{margin-left: 0;}
.popover-title{padding: 8px 14px; margin: 0; font-size: 1rem; background-color: #f7f7f7; border-bottom: 1px solid #ebebeb; border-radius: -0.7rem -0.7rem 0 0;}
.carousel-control{position: absolute; top: 0; bottom: 0; left: 0; width: 15%; font-size: 20px; color: #fff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); opacity: 0.5;}
.carousel-control.left{background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);}
.carousel-control.right{right: 0; left: auto; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);}
.carousel-control:focus,.carousel-control:hover{color: #fff; text-decoration: none; outline: 0; opacity: .9;}
.carousel-control .icon-prev,.carousel-control .icon-next{position: absolute; top: 50%; z-index: 5; display: inline-block; width: 20px; height: 20px; margin-top: -10px; font-family: serif; line-height: 1;}
.carousel-control .icon-prev{left: 50%; margin-left: -10px;}
.carousel-control .icon-next{right: 50%; margin-right: -10px;}
.carousel-control .icon-prev::before{content: "\2039";}
.carousel-control .icon-next::before{content: "\203a";}
@media (min-width: 544px){.carousel-control .icon-prev,.carousel-control .icon-next{width: 30px; height: 30px; margin-top: -15px; font-size: 30px;}.carousel-control .icon-prev{margin-left: -15px;}.carousel-control .icon-next{margin-right: -15px;}}

/* Griglia di alpha: a float, non flex. Le righe non si stirano e .pull-right resta nell'ordine di prima */
.row { display: block; }
.row::after { content: ""; display: table; clear: both; }
/* figli che non sono colonne: niente larghezza e padding imposti da ".row > *" di Bootstrap 5. La larghezza propria di finestre, tabelle e campi resta */
.row > :where(:not([class*="col-"])) { --bs-gutter-x: 0; }
.row > :where(:not([class*="col-"], .modal, .table, table, .form-control, .btn-block, .progress, .card, .img-fluid, .w-100, .alert, .list-group, .input-group, .nav)) { width: auto; }
.row, .container, .container-fluid { --bs-gutter-x: 1.875rem; }
[class*="col-xs-"], [class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"] { position: relative; min-height: 1px; padding-left: .9375rem; padding-right: .9375rem; }
[class*="col-xs-"] { float: left; }
@media (min-width: 544px) { [class*="col-sm-"] { float: left; } }
@media (min-width: 768px) { [class*="col-md-"] { float: left; } }
@media (min-width: 992px) { [class*="col-lg-"] { float: left; } }
@media (min-width: 1200px) { [class*="col-xl-"] { float: left; } }
/* normalize.css di alpha: i campi ereditano il colore */
button, input, optgroup, select, textarea { color: inherit; }
/* Spazi delle tabelle di alpha */
.table > :not(caption) > * > * { padding: .75rem; }
.table-sm > :not(caption) > * > * { padding: .3rem; }
