html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/**********************************************************************************************************/
/***********************************   Customizzazioni AIPB   *********************************************/
/**********************************************************************************************************/

/* NAVBAR START */

.navbar-brand {
    padding: 0;
}

.navbar-nav .nav-link {
    padding-top: 0;
    padding-bottom: 0;
    height: 70px;
    line-height: 60px;
}

.navbar {
    background-color: #ffffff;
    padding-bottom: 0px;
    padding-top: 5px;
}

/*nav.border-bottom {
    border-bottom-color: #e7e7e7 !important;
}*/

/* change the brand and text color */
.navbar .navbar-brand,
.navbar .navbar-text {
    color: rgba(255,255,255,.8);
}

/* change the link color and padding  */
.navbar .navbar-nav .nav-link {
    text-transform: uppercase;
    font-family: 'Work Sans',sans-serif;
    color: #000000;
    font-size: 13pt;
    padding: 7px 15px 15px 15px;
    border-bottom: 1px solid transparent;
    letter-spacing: 1px;
}

/* change the color and bg color of hovered links */
.navbar .nav-item:hover .nav-link {
    background-color: #f7f7f7;
    border-bottom: 1px solid #DBB96B;
}

/* change the color and bg color of active links */
.navbar .nav-item.active .nav-link {
    border-bottom: 1px solid #DBB96B;
}

/* change the color and bg color of hovered links */
.navbar .dropdown-menu {
    text-transform: uppercase;
    font-family: 'Work Sans',sans-serif;
    color: #000000;
    font-size: 13pt;
    letter-spacing: 1px;
}

    .navbar .dropdown-item {
        color: #000000;
        border-right: 1px solid transparent;
        border-left: 1px solid transparent;
        padding-top: 10px;
        padding-bottom: 10px;
    }

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: #f7f7f7;
    border-right: 1px solid #DBB96B;
    border-left: 1px solid #DBB96B;
}

/* NAVBAR END   */

/*footer {
    background-color: #F7F7F7;
}
*/


/* CARD AND DT TABLE START */

.card {
    background-color: #F7F7F7;
    font-size: 12px;
    font-family: 'Work Sans',sans-serif;
}

.card-header {
    background-color: #7E7E7E;
    color: #ffffff;
    font-size: 18px;
    font-family: 'Work Sans',sans-serif;
}

.card-footer {
    border-top-color: #E0BA58;
    /*    background-color: #FAFAFA;*/ 
    background-color: transparent;
    color: #ffffff;
}

.form-control {
    font-size: 12px;
    font-family: 'Work Sans',sans-serif;
}

table.dataTable th.sorting {
    color: #4D4D4D;
}

table.dataTable td.sorting_1 {
    background-color: white;
    border: 1px lightgrey;
}

table.dataTable td {
    font-family: 'Work Sans',sans-serif;
    font-size: 12px;
    color: #7E7E7E;
}

table.dataTable td a, div.card-footer a, div.card-body a {
        color: #7E7E7E;
}

    table.dataTable td a:not([href]), table.dataTable td a:not([href]):hover, div.card-footer a, div.card-body a {
        text-decoration: underline;
        cursor: pointer;
    }

table.dataTable tr.odd {
    background-color: #f7f7f7 !important;
    border: 1px lightgrey;
}

table.dataTable tr.even {
    background-color: #F7F7F7;
    border: 1px lightgrey;
}

.dataTables_length {
    font-size: 12px;
    font-family: 'Work Sans',sans-serif;
}

dataTables_filter {
    font-size: 12px;
    font-family: 'Work Sans',sans-serif;
}

.dataTables_info {
    font-size: 12px;
    font-family: 'Work Sans',sans-serif;
}

.dataTables_paginate {
    font-size: 12px;
    font-family: 'Work Sans',sans-serif;
    color: #E0BA58 !important;
}

a.paginate_button.current {
    border-color: #E0BA58 !important;
}

a.paginate_button:hover {
    background: none !important;
    border-color: transparent !important;
    background-color: #E0BA58 !important;
}

div.dt-buttons {
    margin-bottom:15px;
}

.dt-button.AIPBDtButton {
    color: #ffffff;
    background-color: #E0BA58;
    background-image: none;
    border-color: transparent;
}

.dt-button.AIPBDtButton:hover {
    background-color: #ffffff !important;
    color: #E0BA58;
    background-image: none !important;
    border-color: transparent;
}

.aipb-button {
    background-color: #E0BA58;
    color: #ffffff;
    border-color: #E0BA58;
}

.aipb-button:hover, .aipb-button:active, .aipb-button:focus {
    background-color: #ffffff;
    color: #E0BA58;
    border-color: #E0BA58;
    box-shadow: none !important;
}


/*** HOME PAGE CARD */
div.card {
    border: 0px;
    box-shadow: 0 0.25rem 0.75rem rgb(0 66 124 / 10%);
}

div.card-header.aipb-home {
    border-width: 0px;
    border-color: #DBB96B;
    margin: 0px;
    padding: 0px 0px 0px 100px;
    background-color: transparent;
}

div.aipb-home-card-title {
    /*    background-color: #F7F7F7;*/
    padding: 20px 20px 20px 50px;
}

div.aipb-home-card-title h1 {
    font-size: 60px;
    font-family: Optima-Bold,Arial;
    letter-spacing: 1px;
    color: #DBB96B;
    line-height: 70px;
    border-width: 1px;
}

div.aipb-home-card-title h1:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 1px;
    top: 0;
    left: 10px;
    margin-top: 45px;
    background-color: #DBB96B;
    z-index: 1;
}

div.card-body.aipb-home {
    border-width: 0px;
    border-color: #DBB96B;
    margin: 0px;
    padding: 5px 0px 0px 80px;
    background-color: transparent;
}


div.aipb-home-card-text {
    padding-left: 0px;
}

div.aipb-home-card-text a {
    color: #4D4D4D;
    font-size: 18pt;
    text-decoration: none;
    font-family: 'Work Sans',sans-serif;
}

/* CARD END */

nav.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgb(0 66 124 / 10%) !important;
    border-bottom: 1px solid transparent !important;
}

footer.border-top {
    border-top: 1px solid #F7F7F7 !important;
}


li.active, a.breadcrumb-nav-link {
    color: #7E7E7E; 
    font-size: 13pt;
    text-decoration: none;
    font-family: 'Work Sans',sans-serif;
}

a.nav-link.text-dark, button.nav-link.text-dark {
    color: #7E7E7E !important; 
    font-size: 13pt;
    text-decoration: none;
    font-family: 'Work Sans',sans-serif;
}

a.nav-link.text-dark {
    /*color: #7E7E7E !important;*/ 
}

footer div {
    text-align: center;
    color: #7E7E7E; 
    font-size: 13pt;
    text-decoration: none;
    font-family: 'Work Sans',sans-serif;
}

/* MODAL */

div.modal-dialog * {
    font-family: 'Work Sans',sans-serif;
}

button.btn-aib-modal-close, button.btn-aib-modal-confirm {
    background-color: #DBB96B;
    border-color: #DBB96B;
}

button.btn-aib-modal-close:hover, button.btn-aib-modal-confirm:hover {
    background-color: #FFFFFF;
    color: #DBB96B;
    border-color: #DBB96B;
}

/************* TOGGLE SWITCH **************/

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 13px;
        width: 13px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #d27e00;
}

input:focus + .slider {
    box-shadow: 0 0 1px #d27e00;
}

input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 17px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/************* TOGGLE SWITCH **************/
/* DATA */

.status {
    height: 12px;
    width: 12px;
    background-color: #757575;
    border-radius: 50%;
    margin: 3px;
    float: right;
}

.status.primary {
    background-color: #1266F1;
}

.status.success {
    background-color: #00B74A;
}

.status.forced {
    background: linear-gradient(to right, #F93154, #00B74A);
}

.status.warning {
    background-color: #FFA900;
}

.status.danger {
    background-color: #F93154;
}

.tooltip.show {
    opacity: 1 !important;
}

.tooltip-inner {
    max-width: 350px;
    text-align: left;
    background-color: #ffffff;
    color: #4D4D4D;
    box-shadow: 0px 0px 2px black;
}

.tooltip-inner ul {
    margin-bottom: 0px;
}

.tooltip.bs-tooltip-right .tooltip-arrow::before {
    border-right-color: #ffffff !important;
}

.tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: #ffffff !important;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #ffffff !important;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #ffffff !important;
}

#confirmationModal table {
    width: 100%;
}

#confirmationModal table tr.odd {
    background-color: #eee;
}

#storicoContattiModal table {
    width: 100%;
}

#storicoContattiModal table tr.odd {
    background-color: #eee;
}

.nav-link-aipb {
    font-family: 'Work Sans',sans-serif;
    color: #4D4D4D;
}

.nav-link-aipb.active {
    font-family: 'Work Sans',sans-serif;
    background-color: #E0BA58 !important;
}

img.stContattiMailInfo {
    margin-bottom:3px;
    margin-left:3px;
}

.aipbSingleMail {
    font-style:italic;
}