:root {
    --main: #010780;
}

img {
    max-height: 100%;
}

@media(max-width: 768px) {
    .login-card {
        max-width: 90%;
    }
}

body {
    position: relative;
}

.copyright {
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #545454;
    pointer-events: none;
}

.x-button {
    display: block;
    text-align: center;
    margin: 20px auto;
    width: 100%;
    min-height: 50px;
    font-size: 16px;
    background: var(--main);
    color: white;
}

.search-group, .last-searches {
    max-width: 90%;
    width: 300px;
    margin: auto;
}

.input-group .input-group-text {
    height: 100%;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    background: white;
    cursor: pointer;
    border-left: 0;
}

@-webkit-keyframes spinner {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

.content-title {
    font-weight: 700;
    font-size: 19px;
    margin: 30px 0;
}

.spinner {
    -webkit-animation: spinner 2.5s linear infinite;
    -moz-animation: spinner 2.5s linear infinite;
}

.serp {
    position: relative;
}

.serp .on-loading {
    opacity: 1;
    transition: .3s;
    width: 100%;
    text-align: center;
    color: var(--main);
}

.serp:not(.loading) .on-loading {
    opacity: 0;
}

.serp:not(.has-more) .on-has-more {
    display: none;
}

.serp:not(.no-res) .on-no-res {
    display: none;
}

.serp .on-loading svg {
    display: inline-block;
    width: 50px;
    height: 50px;
}

.hr-label {
    display: block;
    background: white;
    color: var(--bs-gray);
    cursor: pointer;
    width: 120px;
    text-align: center;
    margin: auto;
    z-index: 1;
    position: relative;
    top: -11px;
}

.text-main {
    color: var(--main);
}

.search-result {
    display: block;
    margin: 0 40px;
}

@media(max-width: 1023px) {
    .search-result {
        margin: 0 20px;
    }
}

@media(max-width: 576px) {
    .search-result {
        margin: 0;
    }
}

.collapse-head {
    position: relative;
    padding: 10px 1px;
    cursor: pointer;
}

.collapse-head .right-icon {
    position: absolute;
    right: 3px;
    top: 3px;
}

.collapse-head, .collapse .card-body {
    border-bottom: 1px solid gray;
}

.collapse-head:not(.collapsed) .right-icon.plus,
.collapse-head.collapsed .right-icon.minus {
    display: none;
}

.last-search {
    display: block;
    margin-top: 10px;
    color: gray;
}

.search-result:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.search-result img {
    margin-bottom: 20px;
}

.product-meta h5 {
    font-weight: 700;
    font-size: 17px;
}

.product-meta .product-desc {
    font-size: 14px;
    min-height: 50px;
}

.cat-separator {
    display: inline;
    height: 18px;
    width: 18px;
    position: relative;
    bottom: 1px;
}

.product-detail-image {
    max-width: 430px;
    max-height: 430px;
    display: inline-block;
    margin-bottom: 30px;
}

.login-card .x-button {
    margin-left: 0 !important;
}

.btn-close {
    display: none;
}

@media(min-width: 768px) {
    .product-page .product-meta {
        padding-left: 100px;
    }
}

.register-page .copyright {
    display: none !important;
}

.app-logo {
    max-width: 125px;
}

.btn-lg-icon {
    display: inline;
    width: 22px;
    position: relative;
    bottom: 1px;
}

.quiz-h-logo .app-logo {
    width: 60px;
    height: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.quiz-h-logo {
    display: inline-block;
    vertical-align: top;
}

.quiz-header .bread {
    display: inline-block;
    max-width: calc(100% - 80px);
    vertical-align: top;
    overflow: hidden;
    padding-top: 7px;
    color: #868686;
}

@media(min-width:768px) {
    .quiz-header .bread {
        padding-top: 17px;
        white-space: nowrap;
    }
}

.quiz-create-page form {
    max-width: 300px;
    border: 1px solid #e4e2e2;
    padding: 10px;
    border-radius: 10px;
    box-shadow: -1px 2px 15px #d3d2d2;
}

.alert ul {
    margin-bottom: 0;
}

.quiz-questions {
    list-style: decimal;
    padding-left: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.quiz-question {
    padding-left: 10px;
    margin-bottom: 20px;
    transition: .3s;
    opacity: 1;
}

.quiz-question:not(.show) {
    opacity: 0;
}

.quiz-question.answered {
    opacity: .7;
}

.quiz-footer {
    margin-top: 100px;
    margin-bottom: 60px;
}

body:not(.finished) .on-finished,
body.finished .on-not-finished {
    display: none;
}

.likert-checkbox.selected .on-not-selected,
.likert-checkbox:not(.selected) .on-selected {
    display: none;
}

.likert-checkbox {
    margin: 0 5px;
}

.likert-icon {
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
    .likert-icon {
        width: 30px;
        height: 40px;
    }
    .likert {
        margin-left: -30px;
    }
}
@media (max-width: 550px) {
    .likert {
        margin-left: -60px
    }
}
.likert-checkbox.selected {
    color: var(--primary);
}

.likert td:nth-child(3), .likert td:nth-child(5) {
    transform: scale(.8);
}

.likert td:nth-child(4) {
    transform: scale(.7);
}

.clickable {
    cursor: pointer;
    transition: .3s;
    transform: scale(1);
}

.clickable:hover {
    transform: scale(1.1);
}

.clickable:active {
    transform: scale(.9);
}

.noselect {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none
}

.dataTables_wrapper .dataTables_length select {
    padding-right: 30px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: transparent !important;
    border: none !important;
}

.spacer {
    width: 100%;
    height: 80px;
}

.clickable-table tbody tr {
    cursor: pointer;
    transition: .3s;
}

.clickable-table tbody tr:hover {
    background-color: rgb(206, 206, 206);
}

.quiz-score-icon {
    display: inline-block;
    position: relative;
    top: -2px;
    padding: 1px;
}

.consiglio {
    background: #f5f5f5;
    padding: 20px;
    border-left: 4px solid var(--main);
    border-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.consiglio ul {
    list-style: disc;
    padding-left: 15px;
}

.sezioni>li:not(:first-child) {
    margin-top: 10px;
    border-top: 1px solid #e2e2e2;
    padding-top: 10px;
}
.overflow-hidden-mobile-scroll-x{
    overflow: hidden !important;
}
@media(max-width:768px){
    .overflow-hidden-mobile-scroll-x{
        /* has to be scroll, not auto */
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch;
    }   
}
