/* ---------------------------------------------------
    HIGH-LEVEL STYLE
----------------------------------------------------- */

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
    font-family: 'Poppins', sans-serif;
    background: rgb(237, 236, 236);
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

/* .container-button>span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
} */
#details-products {
    cursor: pointer;
}
a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/*Prevent text selection*/
input {
    border: 0;
    width: 2%;
}

nput::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input:disabled {
    background-color: white;
}

/* ---------------------------------------------------
    NAV BAR STYLE
----------------------------------------------------- */

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

/* .line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
} */

.btn-info {
    color: #fff;
    background-color: #818181;
    border-color: #212529;
}
.btn-info:hover {
    background-color: #212529;
    border-color: #212529;
}
.btn-info:active {
    background-color: #212529 !important;
    border-color: #212529 !important;
}
.btn-info:focus {
    background-color: #212529 !important;
    border-color: #212529 !important;
    box-shadow: 0 0 0 0.2rem rgba(41, 51, 52, 0.5) !important;
}
/* ---------------------------------------------------
    BUTTON PLUS AND MINUS STYLE
----------------------------------------------------- */

.qty {
    text-align: center;
}

.qty [class*=count-] {
    color: #000;
    font-size: 25px;
    line-height: 30px;
    padding: 0 2px;
}

.qty .plus {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: white;
    width: 25px;
    height: 25px;
    font: 25px/1 Arial, sans-serif;
    border-radius: 35%;
    background-color: #007bff;
}

.qty .minus {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: white;
    width: 25px;
    height: 25px;
    font: 25px/1 Arial, sans-serif;
    border-radius: 35%;
    background-color: #007bff;
}

.minus:hover {
    background-color: #1569d9 !important;
}

.plus:hover {
    background-color: #1569d9 !important;
}

/* ---------------------------------------------------
    ALERT
----------------------------------------------------- */

.alert {
    padding: 20px;
    color: white;
    margin-bottom: 15px;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

.alert.success {
    background-color: #04AA6D;
}

.alert.info {
    background-color: #ff9800;
}

.alert.warning {
    background-color: #ff9800;
}

.alert.error{
    background-color: #f44336;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #212529;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #212529;
}
#sidebar .sidebar-header img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #212529;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #818181;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

/* ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
} */

/* a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
} */

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    DASHBOARD STYLE
----------------------------------------------------- */

.card-info-bar {
    margin-top: 5px;
    padding-top: 10px;
    padding-right: 10px;
    width: 100%;
    height: 85px;
    position: relative;
    background-color: #fff;
    background-clip: border-box;
    border: 0px solid black;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
}

.card-info-bar h4 {
    font-size: 1.3rem;
}

.card-body span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

.card-body span.card-text-bold {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.7em;
    color: rgba(11, 1, 1, 0.761);
}
.text-bold {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.7em;
    color: rgba(11, 1, 1, 0.761);
}
.stato-red {
    background-color: red;
    height: 15px;
    width: 15px;
    border-radius: 10px;
    position: absolute;
    right: 15px;
    top: 25px;
    animation: blinker 1s linear infinite;
}

.red {
    background-color: red;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.disabledbutton {
    opacity: 0.4;
}

.stato-orange {
    background-color: orange;
    height: 15px;
    width: 15px;
    border-radius: 10px;
    position: absolute;
    right: 15px;
    top: 25px;
}

.orange {
    background-color: orange;
}

.stato-green {
    background-color: green;
    height: 15px;
    width: 15px;
    border-radius: 10px;
    position: absolute;
    right: 15px;
    top: 25px;
}

.green {
    background-color: green;
}

.stato-red-legend2 {
    background-color: red;
    height: 15px;
    width: 15px;
    border-radius: 10px;
}

.open-legend {
    cursor: pointer;
}
.open-legend {
    cursor: pointer;
}
#concorsi-li{
    cursor: pointer;
}
#gestione-credito-li {
    cursor: pointer;
}
#studenti-li{
    cursor: pointer;
}
.open-legend:hover {
    color: #007bff;
}

.stato-greenPagato {
    /* background-color: rgb(0, 72, 0); */
    background-image: url("../../images/euro.png");
    ;
    height: 32px;
    width: 32px;
    border-radius: 10px;
    position: absolute;
    right: 15px;
    top: 25px;
}

.greenPagato {
    background-color: rgb(0, 72, 0);
}

.classroom-container {
    padding-top: 20px;
    position: relative;
    background-color: #fff;
    background-clip: border-box;
    border: 0px solid black;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);

}

.classroom-title>p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    margin: 5px;
    color: white;
}

.info-bar {
    border-radius: 0.75rem;
    height: 48px;
    width: 48px;
    position: absolute;
    left: 16px;
    top: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-bar-top {
    padding-left: 0px;
}

.icon-pink {
    background-image: linear-gradient(195deg, #EC407A 0%, #D81B60 100%);
}

.icon-orange {
    background: #D75437;
}

.icon-green-ligth {
    background: #6D7C00;
}

.icon-yellow {
    background: #D1Da59;
}

.icon-green {
    background: #007F66;
}

.classroom-title {
    text-align: center;
    border-radius: 0.75rem;
    height: 40px;
    width: 200px;
    position: absolute;
    left: 16px;
    top: -30px;
}

.card-product-recap {
    position: relative;
    background-color: #fff;
    background-clip: border-box;
    border: 0px solid black;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    width: fit-content;
}

#table-prodotti td,
th {
    text-align: center;
}

.stato-legend-red {
    background-color: red;
    height: 15px;
    width: 15px;
    border-radius: 10px;
}

.stato-legend-green {
    background-color: green;
    height: 15px;
    width: 15px;
    border-radius: 10px;
}

.stato-legend-greenPagato {
    /* background-color: rgb(0, 72, 0); */
    background-image: url("../../images/euro.png");
    ;
    height: 32px;
    width: 32px;
}

.stato-legend-orange {
    background-color: orange;
    height: 15px;
    width: 15px;
    border-radius: 10px;
}

.stato-legend {
    text-align: -webkit-center;
}

#orario {
    width: 80px;
    margin-right: 20px;
}

.plus-table-locali {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: white;
    width: 25px;
    height: 25px;
    font: 25px/1 Arial, sans-serif;
    /* text-align: center; */
    border-radius: 35%;
    background-color: #007bff;
}

[class*=count-] {
    color: #000;
    display: inline-block;
    vertical-align: top;
    min-width: 35px;
    text-align: center;
}

.plus-table-locali:hover {
    background-color: #1569d9 !important;
}

#container-button-update {
    display: flex;
    justify-content: center;
}

/* ---------------------------------------------------
    ADD PRODUCT STYLE
----------------------------------------------------- */

.img-categorie {
    object-fit: cover;
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    border: #000 1px solid;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.text {
    background-color: #04AA6D;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
    cursor: pointer;
}

.container-image:hover .img-categorie {
    opacity: 0.3;
}

.container-image:hover .middle {
    opacity: 1;
}

.container-image-selected {
    opacity: 0.3;
}

/* .card-product-prezzo {
    display: flex;
}

.card-product-text-prezzo {
    flex: 1;
}

.card-product-input-prezzo {
    flex: 3;
} */

/* .order-title {
    border-radius: 0.75rem;
    background-image: linear-gradient(195deg, #EC407A 0%, #D81B60 100%);
    height: 40px;
    width: 450px;
    position: absolute;
    left: 16px;
    top: -30px;
} */

.add-product {
    position: relative;
    padding: 15px;
    background-color: #fff;
    background-clip: border-box;
    border: 0px solid black;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
}

/* .order-title>p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    margin-left: 10px;
    color: white;
} */

/* .classroom {
    padding: 10px;
} */


/* ---------------------------------------------------
    PROFILE
----------------------------------------------------- */

#btn-mod {
    white-space: unset;
}
.modify-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.75rem;
    background-image: linear-gradient(195deg, #EC407A 0%, #D81B60 100%);
    height: 50px;
    width: 50px;
    position: absolute;
    right: 20px;
    top: -20px;
}

.modify-product {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.75rem;
    opacity: 0.5;
    background-image: linear-gradient(195deg, #EC407A 0%, #D81B60 100%);
    height: 48px;
    width: 48px;
    position: absolute;
    right: 20px;
    top: 20px;
}


/* hr {
    margin: 0px;
} */

/* .container-button::after {
    content: "";
    display: block;
    clear: both;
} */


/* .ordinazioni {
    display: flex;
    /* justify-content: space-between; 
} */

/* ---------------------------------------------------
    Details
----------------------------------------------------- */

.order-container {
    position: relative;
    background-color: #fff;
    background-clip: border-box;
    border: 0px solid black;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
}

.table-prodotti td,
th {
    text-align: center;
}

.stampa {
    display: flex;
    justify-content: flex-end;
}

/* ---------------------------------------------------
    ViewProducts
----------------------------------------------------- */

.pick-category {
    display: none;
}

.card-product {
    position: relative;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    width: fit-content;
}

.card-product-info .plus {
    text-align: center;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: white;
    width: 30px;
    height: 30px;
    font: 30px/1 Arial, sans-serif;
    text-align: center;
    border-radius: 50%;
}

.card-product-info .plus:hover {
    background-color: #1569d9 !important;
}

.card-product-info .minus {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    color: white;
    width: 30px;
    height: 30px;
    font: 30px/1 Arial, sans-serif;
    text-align: center;
    border-radius: 50%;
    background-clip: padding-box;
}

.card-product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-button {
    display: flex;
    justify-content: flex-end;
}

.card-img-top {
    width: auto;
    margin: 10px;
    border: #000 1px solid;
    height: 200px;
    object-fit: cover;
}

/* ---------------------------------------------------
    Statistiche
----------------------------------------------------- */

.card-statistiche {
    text-align: center;
    position: relative;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.75rem;
    /* height: 300px; */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    
}
/* .card-tabel-statistiche{
    width: fit-content;
} */
/* ---------------------------------------------------
    Segnalazioni
----------------------------------------------------- */

.card-segnalazioni {
    position: relative;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    width: fit-content;
}

table{
    text-align: center;
}

.ammonizione {
    height: 25px;
    width: 25px;
    background-color: yellow;
}
.espulsione {
    height: 25px;
    width: 25px;
    background-color: red;
}

.img-attesa{
    width: 150px;
    border: #000 1px solid;
    height: 150px;
    object-fit: cover;
}
.card-attesa {
    position: relative;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    width: fit-content;
}
.table th{
    vertical-align: middle;
}
.card-attesa td{
    vertical-align: middle;
}



/* ---------------------------------------------------
    CONSEGNA PREMIO
----------------------------------------------------- */

.tootltip-bold{
 font-weight: bold;
 cursor: pointer;
}
.tootltip-bold:hover > span{
    color: rgb(61, 106, 189);
}
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

    #sidebar.active {
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }
}
@media screen and (max-width: 1200px) {
    .card-info-bar {
        margin-top: 25px !important;
    }
}

@media screen and (max-width: 1400px) and (min-width: 1300px) {
    .card-info-bar p {
        font-size: 15px;
    }
}
@media screen and (max-width: 1300px) and (min-width: 1200px) {
    .card-info-bar{
        height: 100px;
        padding-top: 22px;
    }
}

@media (max-width: 768px) {
    .classroom-container {
        padding-top: 20px;
        position: relative;
        background-color: #fff;
        background-clip: border-box;
        border: 0px solid black;
        border-radius: 0.75rem;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
        width: fit-content;
    }
}