.carousel-indicators {
    bottom: 0;
}

.carousel-control.right,
.carousel-control.left {
    background-image: none;
}

.carousel-control.right .fa,
.carousel-control.left .fa {
    position: absolute;
    top: 150px;
}
.carousel-control .fa.red {
    position: absolute;
    bottom: 0;
    top: auto;
    opacity: 0.7;
}

.carousel .item {
    min-height: 300px;
    height: 100%;
    width: 100%;
}

.carousel .item.itemRivista {
    min-height: 700px;
}
.carousel-caption {
    bottom: 40px;
}

.carousel-caption.captionRivista {
    top: 0;
    text-shadow: none;
    text-align: left;
    left: 0;
    right: 0;
    padding-top: 0;
}

/* .carousel-caption h3,
.carousel .icon-container,
.carousel-caption button {
	
} */
.carousel-caption h3 {
    font-family: Ubuntu;
    font-weight: 400;
}
.carousel .icon-container {
    display: inline-block;
    font-size: 25px;
    line-height: 25px;
    padding: 1em;
    text-align: center;
    border-radius: 50%;
}
.carousel-caption button {
    letter-spacing: 0.09em;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 1em;
    font-size: 1.2em;
    font-family: Ubuntu;
    background: #95b8de;
    border: 1px solid #95b8de;
}

.carousel-caption button:hover {
    letter-spacing: 0.09em;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 1em;
    font-size: 1.2em;
    font-family: Ubuntu;
    background: #82a0c0;
    border: 1px solid #82a0c0;
    color: #fff;
}
.carousel-indicators li {
    border-radius: 100% !important;
}
.carousel-control {
    width: 3%;
}
.carousel-control.left {
    text-align: left !important;
    padding-left: 10px;
}
.carousel-control.right {
    text-align: center !important;
    padding-right: 10px;
}
.carousel-btn {
    border-radius: 6px !important;
}

.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}

/* --- Colhoz --- */
#materia_select ul {
    width: 100% !important;
    box-shadow: none !important;
}
/* .dropdown-menu{
	width: 100%
} */
.dropdown-menu li a {
    padding: 10px 0px 0px 39px;
}

.dropdown-menu > li.active > a {
    background-color: steelblue;
    color: white;
    border-bottom: 1px solid #3570a2;
}

.dropdown-menu > .active > a:hover {
    border-bottom: 1px solid transparent;
}

/* --- category preview --- */

.box {
    height: 120px;
    font-family: roboto, arial, sans-serif;

    color: #fff;
    padding: 20px 40px;
    margin: 10px;
    border-radius: 3px;
}
.orange-bg {
    background-color: #e2793f;
}
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.slideInLeft {
    -webkit-animation-name: slideInLeft;
    animation-name: slideInLeft;
}
.hvr-grow {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.box.orange-bg:before {
    /*content: '\f19c';*/
    font-family: FontAwesome;
    color: #e79871;
    position: absolute;
    font-size: 112px;
    right: 5px;
    z-index: 0;
    top: -10px;
}
.text-white {
    color: #fff;
}
.h5_small h5 {
    margin-top: 0px !important;
    font-size: 16px !important;
}
h5,
.h5 {
    font-size: 18px;
}
a.text-white:hover {
    color: #fff;
    text-decoration: none;
}

.pt-20 {
    padding-top: 20px;
}

.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

/* -------------------IULIX---------------------------- */
.p-0 {
    padding: 0px;
}
.p-20 {
    padding: 20px;
}

.pr-10 {
    padding-right: 10px;
}
.pl-10 {
    padding-left: 10px;
}

.pr-20 {
    padding-right: 20px;
}
.pl-20 {
    padding-left: 20px;
}
.pl-40 {
    padding-left: 40px;
}
.pl-80 {
    padding-left: 80px;
}
.pt-20 {
    padding-top: 20px;
}
.pb-20 {
    padding-bottom: 20px;
}
.px-5 {
    padding-left: 5px;
    padding-right: 5px;
}
.px-10 {
    padding-left: 10px;
    padding-right: 10px;
}
.px-20 {
    padding-left: 20px;
    padding-right: 20px;
}
.py-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}
.py-10 {
    padding-top: 10px;
    padding-bottom: 10px;
}
.py-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.m-0 {
    margin: 0px;
}
.m-5 {
    margin: 5px;
}
.m-10 {
    margin: 10px;
}
.m-20 {
    margin: 20px;
}
.ml-5 {
    margin-left: 5px;
}
.ml-6 {
    margin-left: 6px;
}
.mr-5 {
    margin-right: 5px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mt-10 {
    margin-top: 10px;
}
.ml-10 {
    margin-left: 10px;
}
.mr-10 {
    margin-right: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mt-20 {
    margin-top: 20px;
}
.ml-20 {
    margin-left: 20px;
}
.mr-20 {
    margin-right: 20px;
}

.width-initial {
    width: initial;
}
.width-fill-available {
    width: -webkit-fill-available;
}

.float-left {
    float: left !important;
}
.float-right {
    float: right !important;
}

.w-100p {
    width: 100px;
}
.max-w-100 {
    max-width: 100%;
}
.h-100 {
    height: 100%;
}

.d-flex {
    display: flex;
}
.d-flex-inline {
    display: inline-flex;
}
.justify-content-between {
    justify-content: space-between;
}
.justify-content-around {
    justify-content: space-around;
}
.justify-content-center {
    justify-content: center;
}
.justify-content-end {
    justify-content: end;
}

.flex-align-center {
    align-items: center;
}
.flex-align-self-center {
    align-self: center;
}

.align-strech {
    align-items: stretch;
}
.align-center {
    align-items: center;
}

.d-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.d-flex-between {
    display: flex;
    justify-content: space-between;
}
.gap-5 {
    gap: 5px;
}
.gap-10 {
    gap: 10px;
}
.gap-20 {
    gap: 20px;
}

.fs-18 {
    font-size: 18px;
}

.c-pointer {
    cursor: pointer;
}
.d-none {
    display: none;
}
.border-none {
    border: none;
}
.border-1 {
    border: 1px solid;
}

.b-radius-50 {
    border-radius: 50% !important;
}
.border-white {
    border-color: #fff;
}
.border-grey {
    border-color: grey;
}

.grey {
    color: grey;
}
.black {
    color: #333;
}

.bg-primary {
    background-color: #337ab7;
}
.bg-success {
    background-color: #5cb85c;
}
.bg-info {
    background-color: #5bc0de;
}
.bg-warning {
    background-color: #f0ad4e;
}
.bg-danger {
    background-color: #d9534f;
}
.bg-white {
    background-color: #ffffff;
}

.box-shadow-minimal {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

/* animation */
@keyframes shake {
    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.animate_shake,
.shake_hover:hover {
    animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.popup {
    position: fixed;
    z-index: 999999;
    transition: 0.3s;
    top: 80px;
    right: 45%;
    width: 300px;
    display: none;
    background-color: grey;
    border-radius: 5px !important;
    text-align: center;
    padding: 10px 0px;
    opacity: 0.8;
    color: #fff;
}

.dialog-info {
    background-color: #3570a2;
    color: #fff;
    border: none;
    z-index: 1;
    width: 80%;
    text-align: center;
    position: fixed;
}
.color-box {
    height: 50px;
    width: 50px;
}
.color-box-sm {
    height: 25px;
    width: 25px;
}
.btn-carica-pagine {
    text-align: center;
    font-family: consolas;
    transition: 0.3s;
    background-color: #fff;
    color: #000;
    padding: 20px;
    border: 1px solid red;
    text-decoration: none;
    border-radius: 20px;
}
.btn-carica-pagine:hover {
    font-size: 20px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
        rgba(0, 0, 0, 0.22) 0px 15px 12px;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition-duration: 0.3s;
}

/* social */
.iulix-card {
    position: relative;
    height: 150px;
    width: 300px;
    background: #f2f2f2;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 0 20px 8px #d0d0d0;
}

.iulix-card-content {
    text-align: center;
}
.iulix-card-content h3 {
    text-align: left;
    padding: 20px 10px;
}
.iulix-card-cover {
    width: 100%;
    height: 100%;
    background-color: #5cb85c;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    transition: 1s;
}
.iulix-card:hover .iulix-card-cover {
    width: 20%;
    right: 0px;
}
.disabled:hover .iulix-card-cover {
    width: 100%;
    right: 0px;
}
.tab-notice {
    padding: 1px 7px;
    background: orange;
    color: black;
    margin-left: 5px;
}

.risultati {
    position: absolute;
    right: 48px;
    margin-top: 8px;
}

/*---------------------------------------*/

/* margin & padings ------------------------------------------ */

.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: var(--spacer) * 0.25;
}

.m-2 {
    margin: var(--spacer) * 0.5;
}

.m-3 {
    margin: var(--spacer);
}

.m-4 {
    margin: var(--spacer) * 1.5;
}

.m-5 {
    margin: var(--spacer) * 3;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.ml-0 {
    margin-left: 0;
}

.mr-0 {
    margin-right: 0;
}

.mt-1 {
    margin-top: 4px;
}

.mb-1 {
    margin-bottom: 4px;
}

.ml-1 {
    margin-left: 4px;
}

.mr-1 {
    margin-right: 4px;
}

.mt-2 {
    margin-top: 8px;
}

.mb-2 {
    margin-bottom: 8px;
}

.ml-2 {
    margin-left: 8px;
}

.mr-2 {
    margin-right: 8px;
}

.mt-3 {
    margin-top: 16px;
}

.mb-3 {
    margin-bottom: 16px;
}

.ml-3 {
    margin-left: 16px;
}

.mr-3 {
    margin-right: 16px;
}

.p-0 {
    padding: 0px;
}

.p-1 {
    padding: 4px;
}

.p-2 {
    padding: 8px;
}

.p-3 {
    padding: 16px;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.pl-0 {
    padding-left: 0;
}

.pr-0 {
    padding-right: 0;
}

.pt-1 {
    padding-top: 4px;
}

.pb-1 {
    padding-bottom: 4px;
}

.pl-1 {
    padding-left: 4px;
}

.pr-1 {
    padding-right: 4px;
}

.pt-2 {
    padding-top: 8px;
}

.pb-2 {
    padding-bottom: 8px;
}

.pl-2 {
    padding-left: 8px;
}

.pr-2 {
    padding-right: 8px;
}

.pt-3 {
    padding-top: 16px;
}

.pb-3 {
    padding-bottom: 16px;
}

.pl-3 {
    padding-left: 16px;
}

.pr-3 {
    padding-right: 16px;
}

/*Ricerca style*/
.ricerca-label {
    font-size: 14px;
    font-weight: 600;
}
.ricerca-buttons {
    float: right;
    margin-top: 19px;
    border: 0;
    padding-right: 4px !important;
}
.ricerca-buttons-2 {
    float: right;
    border: 0;
    padding-right: 4px !important;
    display: flex;
    align-items: flex-end;
    margin: 0px;
}
.ricerca-border {
    border: 1px solid #fc0;
}
.border-top-none {
    border-top: 0px !important;
}
.border-none {
    border: 0px !important;
}
.table-ricerca {
    border: 1px solid #fc0;
    margin-bottom: 8px;
}

.fs-16 {
    font-size: 16px !important;
}

.portlet.light .portlet-body {
    padding-top: 0px;
}
.portlet.light {
    padding: 12px 20px 12px;
}

/* CHECKBOX - SLIDER */
.slider-checkbox {
    display: none;
}

.slider {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 20px;
    border-radius: 15px !important;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.4s;
    margin: 8px 0 0 0;
}

.slider-checkbox:checked + .slider {
    background-color: #e87e04; /* Цвет активного состояния слайдера */
}

.slider:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    top: 2px;
    left: 2px;
    transition: left 0.4s;
}
.slider-checkbox:checked + .slider:after {
    left: calc(100% - 2px - 16px);
}

/*Pagination*/
.pagination button {
    border: 1px solid #ddd;
    border-left: 0;
    color: #337ab7;
}

.pagination > .active > span {
    background-color: #3b87c8;
}

.pagination > .active > span:hover {
    background-color: #3598dc;
}

.pagination > li > a:hover {
    cursor: context-menu;
}

.pagination-label {
    cursor: context-menu;
}

.pagination {
    margin: 12px 0px 12px;
}
.div-pagination {
    padding-right: 13px;
}

.table > tbody > tr > td {
    border-top: 0px solid #e7ecf1;
    border-bottom: 1px solid #e7ecf1;
    vertical-align: inherit;
}

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid #e7ecf1;
}

.va-mid {
    vertical-align: middle !important;
}
.va-bottom {
    vertical-align: bottom !important;
}

.info-icon::before {
    content: "\f05a";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}
.info-icon:hover::before {
    content: attr(title);
}

.serv-com-tag {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.w-auto {
    width: auto;
}

.resize-vertical {
    resize: vertical;
}

/* style.css */

/* Base page styles */
body {
    font-family: "Roboto", sans-serif;
    background: #f1f3f4;
    margin: 0;
    padding: 0;
}

/* Toolbar (add‐field, preview, save buttons, etc.) */
.toolbar {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.toolbar select,
.toolbar input,
.toolbar button {
    height: 36px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #dadce0;
    background: #fff;
    padding: 0 0.75rem;
}
.toolbar button:hover {
    background: #f1f3f4;
}

/* Field items in the list */
.field-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    cursor: move;
}
.field-item.dragover {
    border-color: #aaa;
    background: #eef;
}
.field-item .drag-handle {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}
.field-item .info {
    flex: 1;
}
.field-item .actions button {
    background: none;
    border: none;
    padding: 0.2rem 0.4rem;
    margin-left: 0.3rem;
}

/* Preview pane */
#preview {
    margin-top: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    padding: 1rem;
}

/* Dialog styling */
dialog {
    border: none;
    border-radius: 6px;
    padding: 1rem;
    width: 300px;
}
dialog::backdrop {
    background: rgba(0, 0, 0, 0.3);
}
dialog label {
    display: block;
    margin: 0.5rem 0;
}
dialog input[type="text"] {
    width: 100%;
    padding: 0.3rem;
}
dialog .opt-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}
dialog .opt-list li {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.thank-you-body {
    font: 16px/1.5 sans-serif;
    padding: 20px;
}

.brand-logo-custom {
    padding-left: 1rem;
    color: #1a73e8;
}

table.table-hover thead th button.btn-link {
    color: #000 !important;
    font-weight: bold;
    text-decoration: none !important;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}
