/**
 * Copyright 2019 ISTAT
 *
 * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by

/* Global */
/*body{
    font-size: 0.8rem;
}*/

button:focus{
    outline: none;
}

.btn-primary {
    color: #fff;
    background-color: #39f;
    border-color: #39f;
}

.btn-primary:hover {
    background-color: #0d86ff;
    border-color: #0080ff;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show>.btn-primary.dropdown-toggle {
    background-color: #0080ff;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #39f;
}
a, a:hover{
    color: #39f;
}

.truncate {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-sidebar .c-sidebar-nav-dropdown-toggle:hover, .c-sidebar .c-sidebar-nav-link:hover {
    color: #fff;
    background: #39f;
}

.c-sidebar-nav-deep-link{
    padding-left: 3.5rem;
}

.c-sidebar-nav-deeper-link{
    padding-left: 3.0rem;
}

.c-sidebar-nav-deep-icon {
    -ms-flex: 0 0 56px;
    flex: 0 0 56px;
    height: 1.0rem;
    font-size: 0.8rem;
    text-align: center;
    transition: .25s;
    padding-top: 2px;
    padding-left: 15px;
}

.c-header.c-header-with-subheader {
    height: 105px;
}

.c-subheader .c-header-nav .c-header-nav-link{
    color: #39f;
}

.c-subheader .c-header-nav .c-header-nav-link:hover{
    color: #39f;
    text-decoration: underline;
}

.c-subheader .c-header-nav .c-header-nav-link i{
    padding-top: 2px;
}

.card{
    border: 0;
    box-shadow: 0 1px 1px 0 rgba(60,75,100,.14), 0 2px 1px -1px rgba(60,75,100,.12), 0 1px 3px 0 rgba(60,75,100,.2);
}

.card-body{
    padding: 1.0rem 1.25rem;
}

.card-body-title{
    font-weight: bold;
    margin-bottom: 1.0rem;
}

.card-body-title-icon{
    padding-right: 0.5rem;
}

.card-header-action {
    padding: 0 .25rem;
    color: rgba(0,0,21,.5);
}

.card-header-actions a{
    padding: 0 0.3rem;
}

.app-header{
    padding-right: 10px;
}

.brand-full{
    color: white;
    font-size: 20px;
}

.brand-full i{
    padding-right: 0.6rem;
    font-size: 22px;
}

.breadcrumb-menu .btn{
    padding: 0 0.5rem;
    color: #20a8d8;
}

.breadcrumb-menu a:hover{
    color: #167495!important;
    text-decoration: none;
}

.nav-padding{
    padding-left: 5px!important;
    padding-right: 5px!important;
}

.bar-right{
    border-right: 1px solid #ccc;
}

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: none;
}

.form-control:focus {
    color: #768192;
    background-color: #fff;
    border-color: #8ad4ee;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(32,168,216,.25);
}

.form-control.is-invalid{
    background-image: none;
}

.dropdown-item.active, .dropdown-item:active{
    background-color: #f0f3f5;
    color: #23282c;
}

.modal-header h5{
    font-size: 1.0rem;
}

/* Loading dialog*/
#loading .modal-dialog{
    margin-top: 10rem;
}

#loading .modal-header{
    padding: .75rem 1.25rem;
}

.loading-span{
    padding-left: 12px;
}

/* Alpaca imports */
/* Add Button Default as Button Primary */

.btn-default {
    color: #fff;
    background-color: #20a8d8;
    border-color: #20a8d8;
}

.btn-default:hover {
    color: #fff;
    background-color: #1b8eb7;
    border-color: #1985ac;
}

.btn-default:focus, .btn-default.focus {
    box-shadow: 0 0 0 0.2rem rgba(65, 181, 222, 0.5);
}

.btn-default.disabled, .btn-default:disabled {
    color: #fff;
    background-color: #20a8d8;
    border-color: #20a8d8;
}

.btn-default:not(:disabled):not(.disabled):active, .btn-default:not(:disabled):not(.disabled).active,
.show > .btn-default.dropdown-toggle {
    color: #fff;
    background-color: #1985ac;
    border-color: #187da0;
}

.btn-default:not(:disabled):not(.disabled):active:focus, .btn-default:not(:disabled):not(.disabled).active:focus,
.show > .btn-default.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(65, 181, 222, 0.5);
}

.alpaca-control-label{
    font-weight: bold;
}
/* Data table */
.table thead th{
    border-bottom: none!important;
    border-top: none!important;
}

.table td{
    padding: 0.7rem 0.5rem!important;
}

div.dataTables_scrollBody table tbody tr:first-child th, div.dataTables_scrollBody table tbody tr:first-child td {
    border-top: 1px solid #c8ced3!important;
}

.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color: white
}

.table-striped>tbody>tr:nth-child(even)>td,
.table-striped>tbody>tr:nth-child(even)>th {
    background-color: #f0f3f5
}

table.dataTable thead>tr>th{
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.dt-buttons .mr-1{
    margin-right: 0.15rem !important;
}

.reorder .fa-arrows{
    color: #c8ced3;
}

.page-link{
    color: #3399ff;
    padding: 0.3rem 0.5rem;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 7px 0 0 0!important;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #3399ff;
    border-color: #3399ff;
}

.btn-outline-info {
    color: #39f;
    border-color: #39f;
    background-color: white;
}

/* Menu */
.nav-item-active{
    color: #fff;
    background: #20a8d8;
}

.nav-item-active i {
    color: #fff!important;
}

/* Log panel */
.logbox, #rbox{
    height: 250px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 12px;
}

.logbox ul{
    list-style-type: none;
    padding-left: 4px;
}

.logbox ul > li{
    padding: 2px 0px;
}

/*Process page */
#processiList th, #processiList td{
    vertical-align: middle;
}

/* Toastr custom styles*/
#toast-container > div {
    position: relative;
    pointer-events: auto;
    overflow: hidden;
    margin: 5px 0 0 6px;
    padding: 10px 10px 4px 48px;
    width: 500px!important;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #ffffff;
    opacity: 0.9;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
    filter: alpha(opacity=90);
}

#toast-container > div:hover {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 1;
    -ms-filter: none;
    filter: alpha(opacity=100);
    cursor: pointer;
}

#toast-container > .toast-info {
    background-image: none;
    background-color: #63c2de;
}

#toast-container > .toast-error {
    background-image: none;
    color: #813838;
    background-color: #fee2e1;
    border-color: #fdd6d6;
}

#toast-container > .toast-success {
    background-image: none;
    background-color: #dbf2e3;
    border-color: #cdedd8;
    color: #28623c;
}

#toast-container > .toast-warning {
    background-image: none;
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

#toast-container .toast {
    background-image: none !important
}

#toast-container .toast:before {
    position: relative;
    font-family: simple-line-icons;
    font-size: 22px;
    line-height: 18px;
    float: left;
    margin: 3px 0 5px -35px
}

#toast-container .toast-warning:before {
    content: "\e01c"
}

#toast-container .toast-error:before {
    content: "\e082"
}

#toast-container .toast-info:before {
    content: "\e08b"
}

#toast-container .toast-success:before {
    content: "\e080"
}
label.error {
    color: #f86c6b;
    font-weight: bold;
}

input[type="checkbox"],
input[type="checkbox"]+label{
    cursor:pointer;
}