﻿/*Altro*/

.sidebar .submenu .nav-link {
    min-height: initial !important;
}

.sidebar .submenu .nav-link {
    padding-left: 2.7em !important;
}

.sidebar .submenu .nav-icon {
    width: 1rem !important;
}

.sidebar .nav > .nav-item > .nav-link {
    min-height: 3.5em !important;
}

.sidebar .submenu .nav-text::before {
    left: 2em !important;
}

.sidebar .nav-text {
    word-break: break-word !important;
}

.form-group .no-margin-bottom {
    margin-bottom: 0;
}

/*Risolve un padding aggiunto alla navbar quando si aprono gli elementi recenti*/
.navbar {
    padding-right: 0px !important;
}

.fas {
    line-height: inherit;
}

.far {
    margin-right: 0.25rem;
}

.far-no-margin {
    margin-right: 0;
}

.sub-menu-item-icon {
    margin-right: 0.35rem !important;
    color: #313131 !important;
}

.text-UN {
    color: #971838 !important;
}

.brc-UN {
    border-color: #971838 !important;
}

a.panel {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

.RadAjaxPanel {
    width: 100%;
    min-width: 0;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.analisi-panel {
    background: #f9f9f9;
    border-radius: 3px;
    border: 1px solid #f1f1f1;
    width: fit-content;
    padding: 5px;
}

.center-vertically {
    display: flex;
    /*justify-content: center;*/
    align-items: center;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

/*RadAjaxLoadingPanel MySkin Skin*/

.RadButton_Default.rbSkinnedButton,
.RadButton_Default.rbDecorated {
    vertical-align: middle;
}

/*loading image - do not specify background-position or background-repeat*/
.RadAjax_MySkin .raDiv {
    background-image: url(/Images/ajax-loader-new.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/*loading panel background color*/
.RadAjax_MySkin .raColor {
    background-color: white;
}

/*skin transparency level - the smaller the number, the more the transparency*/
.RadAjax_MySkin .raTransp {
    opacity: 0.5; /*non-IE browsers, 0-1*/
    -moz-opacity: 0.5; /*old Mozilla browsers, 0-1*/
    filter: alpha(opacity=50); /*IE, 0-100*/
}


#processMessage2 {
    position: fixed;
    top: 30%;
    left: 39%;
    padding: 10px;
    width: 20%;
    z-index: 1001;
    border: 0px;
}

.RadButton.RadButton_Bootstrap.btnY {
    border-radius: 3px;
    background-color: #1ab394;
    border-color: #1ab394;
    color: #FFFFFF;
    vertical-align: middle;
}

pre.code {
    font-family: "Courier New", Courier, monospace;
    word-wrap: initial;
    word-break: initial;
    white-space: break-spaces;
}

/*.RadButton.RadButton_Bootstrap.btnY {
    border-radius: 3px;
    background-color: rgb(243, 180, 243);
    border-color: rgb(251, 151, 251);
    color: #000000;
    vertical-align: middle;
}

.btn-primary {
    border-radius: 3px;
    background-color: rgb(243, 180, 243);
    border-color: rgb(251, 151, 251);
    color: #000;
    vertical-align: middle;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary,
.btn-primary:active:focus,
.btn-primary:active:hover,
.btn-primary.active:hover,
.btn-primary.active:focus {
    background-color: rgb(241, 142, 241);
    border-color: rgb(250, 119, 250);
    color: #000;
}

.checkbox-primary input[type="checkbox"]:checked + label::before, .checkbox-primary input[type="radio"]:checked + label::before {
    background-color: rgb(243, 180, 243);
    border-color: rgb(251, 151, 251);
}
.checkbox-primary input[type="checkbox"]:checked + label::after, .checkbox-primary input[type="radio"]:checked + label::after {
    color: #000;
}*/

.RadButton.RadButton_Bootstrap.btnY:hover, .RadButton.RadButton_Bootstrap.btnY:focus, .RadButton.RadButton_Bootstrap.btnY:active, .RadButton.RadButton_Bootstrap.btnY.active, .RadButton.RadButton_Bootstrap.open .dropdown-toggle.btnY .RadButton.RadButton_Bootstrap.btnY:active:focus, .RadButton.RadButton_Bootstrap.btnY:active:hover, .RadButton.RadButton_Bootstrap.btnY.active:hover, .RadButton.RadButton_Bootstrap.btnY.active:focus {
    background-color: #18a689;
    border-color: #18a689;
    color: #FFFFFF;
    vertical-align: middle;
}

/*.RadButton.RadButton_Bootstrap.btnY:hover, 
.RadButton.RadButton_Bootstrap.btnY:focus, 
.RadButton.RadButton_Bootstrap.btnY:active, 
.RadButton.RadButton_Bootstrap.btnY.active, 
.RadButton.RadButton_Bootstrap.open .dropdown-toggle.btnY .RadButton.RadButton_Bootstrap.btnY:active:focus, 
.RadButton.RadButton_Bootstrap.btnY:active:hover, 
.RadButton.RadButton_Bootstrap.btnY.active:hover, 
.RadButton.RadButton_Bootstrap.btnY.active:focus {
    background-color: rgb(241, 142, 241);
    border-color: rgb(250, 119, 250);
    color: #000000;
    vertical-align: middle;
}*/

.RadButton.RadButton_Bootstrap.btnRed {
    border-radius: 3px;
    background-color: #ed5565;
    border-color: #ed5565;
    color: #FFFFFF;
    vertical-align: middle;
}

    .RadButton.RadButton_Bootstrap.btnRed:hover,
    .RadButton.RadButton_Bootstrap.btnRed:focus,
    .RadButton.RadButton_Bootstrap.btnRed:active,
    .RadButton.RadButton_Bootstrap.btnRed.active,
    .RadButton.RadButton_Bootstrap.open .dropdown-toggle.btnRed .RadButton.RadButton_Bootstrap.btnRed:active:focus,
    .RadButton.RadButton_Bootstrap.btnRed:active:hover,
    .RadButton.RadButton_Bootstrap.btnRed.active:hover,
    .RadButton.RadButton_Bootstrap.btnRed.active:focus {
        background-color: #ec4758;
        border-color: #ec4758;
        color: #FFFFFF;
        vertical-align: middle;
    }

.RadButton.RadButton_Bootstrap.btnSuccess {
    border-radius: 3px;
    background-color: #1c84c6;
    border-color: #1c84c6;
    color: #FFFFFF;
    vertical-align: top;
}

    .RadButton.RadButton_Bootstrap.btnSuccess:hover,
    .RadButton.RadButton_Bootstrap.btnSuccess:focus,
    .RadButton.RadButton_Bootstrap.btnSuccess:active,
    .RadButton.RadButton_Bootstrap.btnSuccess.active,
    .RadButton.RadButton_Bootstrap.open .dropdown-toggle.btnSuccess .RadButton.RadButton_Bootstrap.btnSuccess:active:focus,
    .RadButton.RadButton_Bootstrap.btnSuccess:active:hover,
    .RadButton.RadButton_Bootstrap.btnSuccess.active:hover,
    .RadButton.RadButton_Bootstrap.btnSuccess.active:focus {
        background-color: #1a7bb9;
        border-color: #1a7bb9;
        color: #FFFFFF;
        vertical-align: top;
    }

.RadButton.RadButton_Bootstrap.btnUN {
    border-radius: 3px;
    background-color: #971838;
    border-color: #971838;
    color: #FFFFFF;
    vertical-align: top;
}

    .RadButton.RadButton_Bootstrap.btnUN:hover,
    .RadButton.RadButton_Bootstrap.btnUN:focus,
    .RadButton.RadButton_Bootstrap.btnUN:active,
    .RadButton.RadButton_Bootstrap.btnUN.active,
    .RadButton.RadButton_Bootstrap.open .dropdown-toggle.btnUN .RadButton.RadButton_Bootstrap.btnUN:active:focus,
    .RadButton.RadButton_Bootstrap.btnUN:active:hover,
    .RadButton.RadButton_Bootstrap.btnUN.active:hover,
    .RadButton.RadButton_Bootstrap.btnUN.active:focus {
        background-color: #b81f46;
        border-color: #b81f46;
        color: #FFFFFF;
        vertical-align: top;
    }

.RadButton.RadButton_Bootstrap.btnBig {
    height: 40px;
    font-size: large;
    padding: 8px;
}

.RadButton.RadButton_Bootstrap.btnSuccess2 {
    border-radius: 3px;
    background-color: #1c84c6;
    border-color: #1c84c6;
    color: #FFFFFF;
    vertical-align: middle;
    height: 42px;
    font-size: 16px;
    padding: 8px 10px;
}

    .RadButton.RadButton_Bootstrap.btnSuccess2:hover,
    .RadButton.RadButton_Bootstrap.btnSuccess2:focus,
    .RadButton.RadButton_Bootstrap.btnSuccess2:active,
    .RadButton.RadButton_Bootstrap.btnSuccess2.active,
    .RadButton.RadButton_Bootstrap.open .dropdown-toggle.btnSuccess2 .RadButton.RadButton_Bootstrap.btnSuccess2:active:focus,
    .RadButton.RadButton_Bootstrap.btnSuccess2:active:hover,
    .RadButton.RadButton_Bootstrap.btnSuccess2.active:hover,
    .RadButton.RadButton_Bootstrap.btnSuccess2.active:focus {
        background-color: #1a7bb9;
        border-color: #1a7bb9;
        color: #FFFFFF;
        vertical-align: top;
    }

.ModalPopupBG {
    background-color: #666699;
    filter: alpha(opacity=50);
    opacity: 0.7;
}

.ace-primary {
    border-radius: 3px;
    background-color: #1c84c6;
    border-color: #1c84c6;
    color: #FFFFFF;
    vertical-align: top;
    font-size: 14px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 1.4em;
    min-height: 2.4em;
    text-decoration: none;
    height: auto;
}

.ace-red {
    border-radius: 3px;
    background-color: #ed5565;
    border-color: #ed5565;
    color: #FFFFFF;
    vertical-align: top;
    font-size: 14px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 1.4em;
    min-height: 2.4em;
    text-decoration: none;
    height: auto;
}

.ace-primary.btnSuccess:hover,
.ace-primary.btnSuccess:focus,
.ace-primary.btnSuccess:active,
.ace-primary.btnSuccess.active:hover,
.ace-primary.btnSuccess.active:focus {
    background-color: #1a7bb9;
    border-color: #1a7bb9;
    color: #FFFFFF;
    vertical-align: top;
}

.btn-mo:hover {
    color: #706e6b;
    text-decoration: none;
}

.btn-mo {
    color: #eee;
}

/* CRMO: use requiredInput */
.requiredInput {
    position: relative;
    /*height: 100%;*/
}

    .requiredInput .requiredBlock {
        background-color: #C00;
        position: absolute;
        left: -4px;
        width: 3px;
        top: 1px;
        bottom: 1px;
    }
/*****/

/* INVOICE */
.invoice-table tbody > tr > td:last-child,
.invoice-table tbody > tr > td:nth-child(5),
.invoice-table tbody > tr > td:nth-child(4),
.invoice-table tbody > tr > td:nth-child(3),
.invoice-table tbody > tr > td:nth-child(2) {
    text-align: right;
}

.invoice-table thead > tr > th:last-child,
.invoice-table thead > tr > th:nth-child(5),
.invoice-table thead > tr > th:nth-child(4),
.invoice-table thead > tr > th:nth-child(3),
.invoice-table thead > tr > th:nth-child(2) {
    text-align: right;
}

.invoice-total > tbody > tr > td:first-child {
    text-align: right;
}

.invoice-total > tbody > tr > td {
    border: 0 none;
}

.invoice-total > tbody > tr > td:last-child {
    border-bottom: 1px solid #DDDDDD;
    text-align: right;
    width: 15%;
}

.inputotp {
    display: block;
    width: 150px;
    margin: 0px auto 0px auto;
    text-align: center;
    height: 48px;
    color: #ffffff;
    border: 1px solid #4f4f4f;
    background-color: #646464;
}

.footer-tools {
    z-index: 1001 !important;
}
