﻿@import "../lib/fontawesome/css/all.min.css";

body, html {
    min-height: 100%;
    min-width: 100%;
    overflow-x :hidden;
    overflow-y :auto;
}

h1, h2, h4 {
    font-weight: 700;
}
h6 {
    font-weight: 600;
}

a {
    color: #2C3539;
}
    a:hover {
        color: #A52A2A;
    }

i {
    margin-right: 5px;
}
    i:hover {
        color: #A52A2A;
    }
.card {
    border: 1px solid #2C3539;
   
}
    .card:hover {
        border: 1px solid #A52A2A;
    }

.form-control {
    border: 1px solid #2C3539;
    box-shadow: #FF00FF;
}
    .form-control:hover {
        border: 1px solid #A52A2A;
    }
    .form-control::selection {
        border: 1px solid #E5E4E2;
    }

.form-select {
    border: 1px solid #2C3539;
    box-shadow: #FF00FF;
}

    .form-select:hover {
        border: 1px solid #A52A2A;
    }

    .form-select::selection {
        border: 1px solid #E5E4E2;
    }

.text_page {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.background_page {
    background: #FFFFFF;
}
/*Stile SideBar Menu*/
.menu_background {
    background: #2C3539;
    background: linear-gradient(to top, #2C3539, #2C3539);
}

.text_menu_homepage {
    color: #FFFFFF;
    margin-top: 30px;
    font-size: 20px;
}
    .text_menu_homepage:hover {
        color: #A52A2A;
    }

.nav-link {
    color: #FFFFFF;
    
}
    .nav-link:hover {
        color: #A52A2A;
    }
    .nav-link::selection {
        color: #A52A2A;
    }

.nav-link-text {
    color: #FFFFFF;
    
}
    .nav-link-text:hover {
        color: #A52A2A;
    }
    .nav-link-text::selection {
        color: #A52A2A;
    }

.menu_icon {
    border: solid;
    background: white;
    border-radius: 100%;
}
/*********************/

/******** Stile Tab Attività *******/

.nav-link_tab {
    color: #2C3539;
    border: #2C3539;
}
    .nav-link_tab:hover {
        color: #A52A2A;
    }
    

/***********************************/

/**************** Paginazione *****/




.page-item {
    color: #2C3539;
    background: #FFFFFF;
}
    .page-item:hover {
        color: #A52A2A;
        
    }
    .page-item.active .page-link {
        background: #2C3539;
        color: #FFFFFF;
        border-color: #A52A2A;
    }

    .page-link {
    color: #2C3539;
    }
    .page-link:hover {
        color: #A52A2A;
    }
    .page-link:active {
        color: #A52A2A;
    }
/*******************************/
@media (min-width: 820px) {
    .card_width {
        width: 600px;
    }
}

@media (max-width: 819px) {
    .card_width {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .column_visibility {
        display:none;
    }



    
}






/******** Stile Table**********/

.table {
    border: 1px solid #FFFFFF;
  
    
}

table td,
table th {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    
}

thead {
   
    background-color: #2C3539;
    
}


thead th {
    color: #FFFFFF;
}



tbody {
    background-color: #E5E4E2;
}

    tbody td, th {
        color: #2C3539;
       
        border-top: 1px solid #2C3539;
    }



@media only screen and (max-width: 800px) {

    /* Force table to not be like tables anymore */
    .no-more-tables table,
    .no-more-tables thead,
    .no-more-tables tbody,
    .no-more-tables tfoot,
    .no-more-tables th,
    .no-more-tables td,
    .no-more-tables tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .no-more-tables thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    .no-more-tables tr {
        border: 1px solid #ccc;
    }

    .no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        min-height: 30px;
        white-space: normal;
        text-align: left;
    }

        .no-more-tables td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
        }

        /*
                Label the data
                */
        .no-more-tables td:before {
            content: attr(data-title);
            
        }

        .no-more-tables td.single-cell {
            padding-left: 0;
            text-align: center;
        }
}







/***************************/

/*****Stile card inserimento ****/

.card {
    border-radius: .5rem;
}
.card_input {
    background-color: #2C3539;
    color: #FFFFFF;
}



/*******************************/

.action_icon_assegnazione {
    max-width: 60%;
}

.btn_salva {
    font-weight: 600;
    color: #FFFFFF;
    background-color: #348017;
    border-color: #BCC6CC;
    border-radius: .5rem;
    width: 100px;
}

    .btn_salva:hover {
        color: #348017;
        background-color: #E5E4E2;
        border-color: #BCC6CC;
    }

.btn-aggiungi {
    height: 75%;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #2C3539;
    border-color: #806517;
    border-radius: .5rem;
}

    .btn-aggiungi:hover {
        color: #A52A2A;
        /*background-color: #2C3539;*/
        border-color: #BCC6CC;
    }




@media (max-width: 768px) {
    .btn-aggiungi {
        height: 100%;
    }
}

@media (max-width: 576px) {
    .login-wrapper {
        margin-top: 0 !important;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px 12px 80px;
    }

        .login-wrapper .card {
            width: 100%;
            max-width: 420px;
        }

        .login-wrapper img {
            max-width: 90%;
            height: auto;
        }
}


body {
    padding-bottom: 70px;
}


@media (max-width: 576px) {
    .card .form-floating > .form-control {
        padding-top: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .btn-aggiungi {
        width: 100%;
        margin-top: 12px;
    }
}








