@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* { font-family : "Poppins"}

.invalid-feedback {
    padding-left: 15px;
}
.input-wrap {
  position: relative;
  margin-bottom: 20px;
}

.input-wrap input, .input-wrap select  {
    background: none;
    color: #000;
    font-size: 14px;
    padding: 10px;
    display: block;
    width: 100%;
    border: none;
    border: 1px solid #ccc;
    font-weight: 400;
}

.input-wrap select {
    color: #495057;
    text-transform: uppercase;
    appearance: none;
}

.input-wrap label,
.input-wrap select ~ label  {
    position: absolute;
    color: #495057;
    font-weight: 400;
    font-size: 14px;
    pointer-events: none;
    left: 25px;
    top: 12px;
    text-transform: uppercase;
    transition: 300ms ease all;
}

.input-wrap select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23b3371c' d='M2 0L0 2h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 12px 12px;
}

/* focus */

.input-wrap input:focus ~ label,
/*.input-wrap input:valid ~ label,*/
.input-wrap input:not(:placeholder-shown) ~ label,
.input-wrap.cerca input:placeholder-shown ~ label,
.input-wrap select:focus ~ label,
.input-wrap select:not([value=""]) ~ label,
.input-wrap input[type="email"]:focus ~ label,
.input-wrap input[type="email"]:not(:placeholder-shown) ~ label{
    top: -14px;
    font-size: 12px;
    color: #b3371c;
    text-transform: uppercase;
    background: #fff;
    padding: 5px 10px;
}

.input-wrap input:focus,
.input-wrap select:focus  {
    outline: none;
    border: 1px solid #b3371c;
}

.input-wrap.cerca label {
    left: 13px;
}

/* submit button and button */
    .button-general-style {
        text-align: center !important;
        outline: 0;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .button-red {
        background-color: rgb(133, 45, 25);
        color: #fff;
        border: 1px solid rgb(133, 45, 25);
    }

    .button-red:hover {
        color: rgb(133, 45, 25);
        background-color: #fff;
        border: 1px solid rgb(133, 45, 25);
    }

    .button-white-red {
        color: rgb(133, 45, 25);
        background-color: #fff;
        border: 1px solid rgb(133, 45, 25);
    }

    .button-white-red:hover {
        background-color: rgb(133, 45, 25);
        color: #fff;
        border: 1px solid rgb(133, 45, 25);
    }

    .button-black:disabled {
        background-color: rgba(255, 255, 255, 0);
        color: #c6c7c8;
    }

    .btn-ico {
        width: 35px;
        height: 35px;
    }

    /* table */
    .small-font th, .small-font td, .small-font i, .small-font button {
        font-size: 13px!important;
    }
    .table-group-divider {
        border-top: calc(var(--bs-border-width)* 2) solid #495057;
        border-color: rgba(20, 22, 23, 0.23) !important;
    }

    .table-cattedra td:not(:last-child) {
        border-right: 2px solid #ccc!important;
    }

   .table-cattedra th:not(:last-child) {
        border-right: 2px solid #ccc!important;
    }
/*
    .table-cattedra tr:nth-last-child(2) {
        border: none !important;
    }
*/
    /*  scrollbar */
    .overflow-auto::-webkit-scrollbar {
    margin-top: 40px !important;
    width: 10px !important;
    height: 8px;
    }

    .overflow-auto::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    }

    .overflow-auto::-webkit-scrollbar-thumb {
    background: #888 !important;
    }

    .overflow-auto::-webkit-scrollbar-thumb:hover {
    background: #b3371c !important;
    }


    @media (max-width: 1340px) {
        .table-cattedra {
            display: block;
        }

        .container-table {
            overflow: hidden;
        }

    }

    .table-cattedra tbody tr:last-child{
        border: none !important;
    }
