/* titillium-web-regular - latin */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/titillium-web-v10-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/titillium-web-v10-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body, h3, .main-header, .navbar-brand, .logo  {
	font-family: 'Titillium Web', sans-serif !important;
	font-size: 14px;
}

.box {
    border-radius: 12px;
    border-style: solid;
    border: 1px solid #d2d6de;
    box-shadow: none;
    /*box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/
}

.btn, .form-control, .selectize-input, .selectize-input.dropdown-active, .selectize-dropdown-content, .selectize-dropdown {
    border-radius: 12px !important;
    border-color: #d2d6de;
    border-width: 1px;
    font-weight: bold;
    min-height: 40px;
    outline: none !important;
}

.selectize-dropdown-content > .active {
    background-image: linear-gradient(to bottom, #E51C73, #E51C73);
}

.btn-primary {
	background-color: #E51C73;
	border-color: #E51C73;
}

.selectize-input.focus, .form-control:focus {
    border-color: #E51C73;
    box-shadow: 0 0 0 0.30rem #E51C7355;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #d01964 !important;
    border-color: #d01964 !important;
}

.table > thead > tr > th {
    /*background-color: #CECECE !important;*/
    background-color: #E8E8E8 !important;
    border: 1px solid #EFEFEF !important;
    height: 40px;
    vertical-align: middle;
}

.table > thead > tr {
	min-height: 50px;
}

.box-header {
	padding: 15px;
}
.box-footer {
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

h3,.navbar-brand, .logo  {
	font-size: 20px !important;
	font-weight: 600 !important;
}

.user-menu > a {
	color: white !important;
}

.btn-box-tool {
	border: 0;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #E51C73;
    background-color: #E51C7355;
    border-color: #E51C7300;
    cursor: default;
}

a {
    color: #E51C73;
}

a:hover {
    color: #E53329;
}

input[type="radio"], input[type="checkbox"] {
    accent-color: #E51C73;
}

/* Gestione nuovo loading like kendo pulse*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 2000000000;
    background-color: rgba(255, 255, 255, 0.7);
}

#loading > #pulseDinamo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 128px;
    height: 128px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -64px;
    margin-left: -64px;
}

.pulse-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.pulse-dot {
    width: 16px;
    height: 16px;
    background-color: #E51C73;
    border-radius: 50%;
    opacity: 0.5;
    transform: scale(1);
    transition: all 0.4s ease;
}

.pulse-close-btn {
    background-color: #E51C73;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pulse-close-btn:hover {
    background-color: #d01964;
}
/*END style loading dinamo*/

.modal-content{
    border-radius: 12px !important;
}

.nav-tabs-custom {
    border-radius: 12px;
}

.nav-tabs-custom > .nav-tabs > li.active {
    border-top-color: #E51C73;
}

@media (min-width: 991px) {
    /*NB: questo per evitare i pulsanti 'attaccati' nel button group nello stile dinamo. NB: solo su schermi grandi */
   
    .btn-toolbar .btn-group {
        display: flex;
        flex-wrap: nowrap; /* non va mai a capo */
        gap: 2px; /* spazio tra i pulsanti */
    }

        .btn-toolbar .btn-group .btn {
            flex: 1 1 0; /* ogni bottone si ridimensiona equamente */
            min-width: 0; /* evita overflow */
            padding: 0.35rem 0.6rem; /* leggermente pił stretto */
            white-space: nowrap;
        }
}
.login-box-body {
    border-radius: 12px;
}

.login-logo {
    border-radius: 12px;
}

.label-primary {
    background-color: #E51C73 !important;
}
