.supervision_layout {
    $green: #65a594;
    $red: #e16567;
    $break-small: 767px;
    
    .form-question-context_qapp_anwsers {
        white-space: initial;
    }
    
    .cokkiesmainContent .cookieBoxok {
        background-color: #fff !important;
        color: #4c92cb !important;
    }
    
    .img_no_elements {
        margin: 10px auto;
        max-width: 300px;
        width: 100%;
        display: block;
    }
    
    .admin_tickets .finutive_section_title {
        display: none;
    }
    
    .admin_tickets .finutive_tabs {
        display: none;
    }
    
    
    .filter-box input[type="checkbox"] {
        display: inline-block;
    }
    
    .results_indicator {
        font-size: 14px;
        text-align: right;
        font-weight: 600;
        color: #444;
        margin: 10px 0;
    }
    
    .table_stl1 {
        background-color: #fff;
        caption {
            margin-bottom: 20px;
        }
        tr td {
            font-weight: 300 !important;
        }
    }
    /********************************************************************/
    /*                       FEEDBACK LAYER                             */
    /********************************************************************/
    .feedback_modal {
        text-align: center;
        padding: 20px;
        .feedback_icon {
            &.success {
                color: #8BC34A;
            }
            
            &.error {
                color: #F44336;
            }
            
            i {
                font-size: 60px;
                margin-bottom: 20px;
            }
        }
        
        .feedback_message {
            color: #666;
            font-size: 18px;
            line-height: 30px;
            font-weight: 600;
        }
        
        .aoc_form_buttons {
            margin-top: 30px;
        }
    }
    
    .fin_supervision_user_view {
    
        .header {
            padding: 20px;
            background-color: #2b3353;
            margin-bottom: 20px;
            
            .avatar {
                display: inline-block;
                width: 64px;
                height: 64px;
                background-repeat: no-repeat;
                background-size: cover;
                border-radius: 50%;
                background-color: #fff;
                border: 2px solid #ccc;
                vertical-align: middle;
            }
            
            .info {
                display: inline-block;
                vertical-align: middle;
                width: calc(100% - 70px);
                padding-left: 20px;
                
                .name {
                    font-size: 24px;
                    color: #fff;
                    font-weight: 600;
                }
                
                .organizations {
                    font-size: 14px;
                    color: #fff;
                    margin-top: 10px;
                }
            }
        }
    }
    
    .supervision_tabs {
        width: 100%;
        padding: 0 50px;
        background: #f5f5f5;
        color: #444;
        border-bottom: 1px solid #ddd;
        border-top: 1px solid #ddd;
        
        > div {
            position: relative;
            font-size: 14px;
            display: inline-block;
            text-align: center;
            cursor: pointer;
            padding: 0 40px;
            line-height: 46px;
            
            &.active,
            &:hover {
               border-bottom: 4px solid #6eb3a1;
            }
            
            .icon {
                width: 32px;
                height: 32px;
                border-radius: 50%;
                padding: 6px 0;
                font-size: 19px;
                line-height: 35px;
                display: inline-block;
                text-align: left;
            }
            
            .text {
                line-height: 46px;
                color: #555;
                font-size: 13px;
                text-align: left;
                display: inline-block;
            }
        }
    }
    
    .supervision_content {
        margin-top: 20px;
    }
    
    .finutive_question_title {
        font-weight: 600;
        font-size: 16px;
    }
    
    .finutive_question_answer {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    .finutive_form {
        input,
        select {
            width: 100%;
        }
        
        .buttons {
            text-align: center;
            padding: 10px;
        }
        
        .form_error {
            text-align: center;
            padding: 10px;
            font-weight: 600;
            color: #F44336;
        }
    }
    
    .reply_form {
        .btn_configure_permissions {
            display: none;
        }
    }
    
    .panel.explanation {
        padding: 40px;
        text-align: center;
        font-weight: 300;
        font-size: 18px;
        line-height: 25px;
        position: relative;
    }
    
    .panel.explanation .icon_remove {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 26px;
        color: #4d4d4d;
        cursor: pointer;
    }
    
    .panel.explanation button {
        display: block;
        width: 220px;
        border-radius: 20px;
        margin: 20px auto 0;
    }
    
    .summary_no_tasks_msg {
        text-align: center;
        font-size: 18px;
        padding: 30px;
        color: #4d4d4d;
    }
    
    .tasks_summary_label {
        background-color: #fff;
        border-radius: 3px;
        margin: 10px;
        padding: 10px;
        border: 1px solid #eee;
        
        .title {
            padding: 5px;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            
        }
        
        .summary_tasks_indicator {
            font-size: 0;
            white-space: nowrap;
            padding: 5px 5px 0;
            
            .indicator_text {
                display: inline-block;
                vertical-align: middle;
                font-size: 14px;
                color: #4d4d4d;
                width: calc(100% - 50px);
            }
            
            .indicator_value {
                display: inline-block;
                vertical-align: middle;
                font-size: 14px;
                color: #4d4d4d;
                width: 50px;
                font-weight: 600;
                
                &.completed {
                    color: #64DD17;
                }
            }
        }
        
        .task_row {
            font-size: 0;
            white-space: nowrap;
            padding: 5px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            
            &:hover {
                background-color: #FFF9C4;
            }   
            
            .responsible {
                display: inline-block;
                vertical-align: middle;
                width: 200px;
                text-align: center;
                font-weight: 600;
                overflow: hidden;
                text-overflow: ellipsis;
                text-align: left;
            }
            
            .name {
                display: inline-block;
                vertical-align: middle;
                width: calc(100% - 80px);
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: initial;
            }
            
            &.admin {
                .name {
                    width: calc(100% - 280px);
                }
            }
            
            .deadline {
                display: inline-block;
                vertical-align: middle;
                width: 80px;
                text-align: center;
            }
        }
        
        .btn_view_all_tasks {
            display: block;
            margin: 10px auto;
        }
    }
    
    /*.finutive_tab {*/
    /*    display: inline-block;*/
    /*    border: 1px solid #eee;*/
    /*    background-color: #eee;*/
    /*    text-align: center;*/
    /*    padding: 10px 20px;*/
    /*    font-weight: bold;*/
    /*    color: #444;*/
    /*    cursor: pointer;*/
    /*    cursor: hand;*/
    /*    margin-right: 3px;*/
    /*    font-size: 13px;*/
    /*    position: relative;*/
    /*}*/
    
    
    .finutive_tab.selected {
        background-color: #fff;
        border-bottom: 1px solid #fff;
        z-index: 10;
    }
    
    .finutive_tabs_content {
        border: 1px solid #eee;
        background-color: #fff;
        border-radius: 3px;
        padding: 20px;
        border-top-left-radius: 0px;
        position: relative;
        margin-top: -1px;
    }
    
    
    /* Invoices */
    .invoices_wrapper {
        display: block !important;
        background-color: #fff;
        padding: 20px;
    }
    
    .invoices_wrapper .table-referece thead.cf tr th span {
        font-weight: 600;
        font-size: 14px;
        color: #283051;
        text-transform: uppercase;
    }
    
    .invoices_wrapper .dataTables_empty {
        padding: 10px;
        height: auto;
    }
    
    .invoices_wrapper div.dataTables_info {
        display: none;
    }
    
    .invoices_wrapper table.table-bordered.dataTable tbody td {
        border-bottom-width: 0;
        height: auto;
        vertical-align: middle;
        padding: 15px 5px !important;
        background-color: #f2f2f2;
        border-bottom: 5px solid #fff;
        color: #888;
        font-size: 12px;
        line-height: 1.3;
    }
    
    .invoices_wrapper table.table-bordered.dataTable tbody td a {
        font-size: 12px;
        text-decoration: underline;
    }
    
    .invoices_wrapper .invoice-list .invoices-tab-content {
        padding: 0px;
    }
    
    .invoices_wrapper .common-btn {
        height: 34px;
        line-height: 34px;
    }
    
    .invoices_wrapper .table-striped tbody tr {
        background-color: #f5f5f5;
        box-sizing: border-box;
        transition: all 0.3s ease;
    }
    
    .invoices_wrapper .table-striped tbody tr:hover td {
        background-color: rgba(42, 60, 82, 0.2);  
        color: #222;
    }
    
    .invoice-new .surchage-n {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        display: -webkit-flex;
        -webkit-flex-direction: row;
        -webkit-flex-wrap: wrap;
        -webkit-justify-content: space-between;
        -webkit-align-items: center;
    }
    
    .invoice-new .surchage-n-fields {
        padding: 15px 0;
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: stretch;
        align-items: center;
        display: -webkit-flex !important;
        -webkit-flex-direction: row;
        -webkit-flex-wrap: wrap;
        -webkit-justify-content: stretch;
        -webkit-align-items: center;
    }
    
    .invoice-new .surchage-n-fields.hide {
        display: none !important;
    }
    
    .invoice-new .invoice-detail-table th span {
        font-weight: 600;
        font-size: 14px;
        color: #283051;
        text-transform: uppercase;
        text-align: left;
        display: block;
    }
    
    .invoice-new .inv_products_tbltr td {
        padding: 10px;
    }
    
    .invoice-new .inv_products_tbltr td:last-child {
        vertical-align: middle;
    }
    
    .invoices_wrapper .paginate_button.previous,
    .invoices_wrapper .paginate_button.next{
        background: none !important;
    }
    
    .invoices_wrapper .paginate_button a {
        color: #444 !important;
    }
    
    
    
    .page-link {
        position: relative;
        display: block;
        padding: .5rem .75rem;
        margin-left: -1px;
        line-height: 1.25;
        color: #007bff;
        background-color: #fff;
        border: 1px solid #dee2e6;
    }
    
    .census_indicators_layer {
        text-align: center;
        margin-bottom: 20px;
        .census_indicator {
            display: inline-block;
            vertical-align: top;
            width: 100px;
            cursor: pointer;
            cursor: hand;
            
            .census_indicator_value {
                width: 90px;
                height: 90px;
                background-color: #fafafa;
                border-radius: 50%;
                font-size: 24px;
                color: #666;
                box-shadow: 0px 2px 1px 0px #ccc;
                padding-top: 32px;
                font-weight: 600;
                
                .original_indicator {
                    font-size: 12px;
                    color: #fff;
                    font-weight: 600;
                    margin-top: 5px;
                }
            }
            
            .census_indicator_name {
                margin-top: 5px;
                font-size: 14px;
                color: #444;
                text-transform: uppercase;
                max-width: 100%;
                font-weight: 600;
                text-align: center;
            }
            
            &.no_info {
                .census_indicator_value {
                    background-color: #F44336;
                    color: #fff;
                
                }
                .census_indicator_name {
                    color: #F44336;
                }
            }
            
            &.no_info + .census_arrow i {
                color: #F44336;
            }
            
            &.with_info {
                .census_indicator_value {
                    background-color: #FF5722;
                    color: #fff;
                
                }
                .census_indicator_name {
                    color: #FF5722;
                }
            }
            
            &.with_info + .census_arrow i {
                color: #FF5722;
            }
            
            &.uploaded_invoices {
                .census_indicator_value {
                    background-color: #FF9800;
                    color: #fff;
                
                }
                .census_indicator_name {
                    color: #FF9800;
                }
            }
            
            &.uploaded_invoices + .census_arrow i {
                color: #FF9800;
            }
            
            &.assigned_crowd {
                .census_indicator_value {
                    background-color: #FFC107;
                    color: #fff;
                
                }
                .census_indicator_name {
                    color: #FFC107;
                }
            }
            
            &.assigned_crowd + .census_arrow i {
                color: #FFC107;
            }
            
            &.period_closing {
                .census_indicator_value {
                    background-color: #CDDC39;
                    color: #fff;
                
                }
                .census_indicator_name {
                    color: #CDDC39;
                }
            }
            
            &.period_closing + .census_arrow i {
                color: #CDDC39;
            }
            
            &.in_process_draft {
                .census_indicator_value {
                    background-color: #8BC34A;
                    color: #fff;
                
                }
                .census_indicator_name {
                    color: #8BC34A;
                }
            }
            
            &.in_process_draft + .census_arrow i {
                color: #8BC34A;
            }
            
            &.census_completed {
                .census_indicator_value {
                    background-color: #64DD17;
                    color: #fff;
                
                }
                .census_indicator_name {
                    color: #64DD17;
                }
            }
        }
        
        .census_arrow {
            margin-top: 25px;
            display: inline-block;
            vertical-align: top;
            padding: 10px;
            i {
                font-size: 24px;
            }
        }
        
        .census_indicator_reset_filters {
            display: inline-block;
            vertical-align: top;
            width: 90px;
            margin-left: 20px;
            cursor: pointer;
            cursor: hand;
            
            .icon_layer {
                height: 90px;
                i {
                    color: #555;
                    font-size: 80px;
                    margin-top: 7px;
                }
            }
            
            .census_indicator_name {
                margin-top: 5px;
                font-size: 14px;
                color: #444;
                text-transform: uppercase;
                max-width: 100%;
                font-weight: 600;
                text-align: center;
            }
        }
    }
    
    .census_summary_table {
        border: 1px solid #ccc;
        margin: 0 auto 20px;
        width: 800px;
        max-width: 100%;
        
        .name_row {
            background-color: #f5f5f5;
            font-weight: 600;
            border-right: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
        }
        
        .name_model {
            background-color: #fafafa;
            font-weight: 600;
            border-right: 1px solid #eee;
            
            div {
                font-weight: 300;
                font-size: 11px;
            }
        }
        
        
        tr {
            cursor: pointer;
            cursor: hand;
        }
        
        td {
            text-align: center;
            padding: 3px;
            
            &.completed {
                color: #fff;
                background-color: #64DD17;
            }
            
            &.in_process {
                color: #fff;
                background-color: #FFAB00;
            }
            
            &.started {
                color: #fff;
                background-color: #FF5722;
            }
        }
    }
    
    .autogenerated_layer {
        display: inline-block;
        vertical-align: middle;
        color: #fff;
        padding: 3px;
        font-size: 11px;
        background-color: #F4511E;
        margin-top: -4px;
    }
    
    
    .table_mbl_stl2
    {
        width:100%;
        border-collapse: collapse;
        border-spacing: 0;
        margin-bottom:10px;
        
        thead {
            tr {
                border-bottom: 2px solid #63a292;
            }
        }
        
        tbody {
            tr {
                background-color: #f5f5f5;
                border-bottom: 5px solid #fff;
                transition: all 0.3s ease;
            }
        }
        
        tr {
            background: transparent;
            
            th {
                color: #283051;
                font-weight: 600;
                text-transform: uppercase;
                padding: 5px;
                position: relative;
                
                &.sorting {
                    cursor: pointer;
                    &:before {
                        position: absolute;
                        bottom: 0.9em;
                        display: block;
                        opacity: 0.3;
                        right: 2.5em;
                        content: "\2191";
                    }
                    
                    &:after {
                        position: absolute;
                        bottom: 0.9em;
                        display: block;
                        opacity: 0.3;
                        right: 2em;
                        content: "\2193";
                    }
                    
                    &.desc {
                        &:after {
                            opacity: 1;
                        }
                    }
                    
                    &.asc {
                        &:before {
                            opacity: 1;
                        }
                    }
                }
            }
            
            td {
                font-size: 12px;
                padding: 15px 5px;
                
                .btn {
                    margin-right:5px;
                }
                
                &.positive {
                    color: $green;
                }
                
                &.negative {
                    color: $red;
                }
            }
            
        }
    }
    
    .tags {
        .tag {
            display: inline-block;
            margin: 0px 5px 5px 0px;
            border-radius: 3px;
            font-size: 12px;
            color: #555;
            border: 1px solid #ddd;
            padding: 3px 7px;
            background-color: #fff;
            
            .remove_icon {
                margin-left: 5px;
                font-size: 14px;
                cursor: pointer;
            }
        }
    }
    
    .table_mbl_stl2 {
        th {
            text-align: left;
        }
    
        td {
            vertical-align: middle;
        }
        .avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid #ddd;
            background-color: #fff;
            margin-right: 10px;
            margin-top: -5px;
            vertical-align: middle;
        }
    }
    
    .no_elements_message {
        font-size: 14px;
        color: #666;
        text-align: center;
        margin: 20px;
        font-weight: 600;
    }
    
    .copy_destinataries_msg {
        text-align: center;
        padding: 10px;
        font-size: 14px;
        color: #ff0000;
    }
}