/*.CardGroupContent, .GroupContent, .CardGroupBase, .GroupHeader, .GridView, .dxgvTable_XafTheme, .dxgvRBB {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-radius: 3px;
}*/


/*Sinóptico*/
.elementSinConexion {
    fill: #eeeeee !important;
}

.elementConAlarma {
    fill: #e39191 !important;
}

.elementEstadoOK {
    fill: #b5e6b7 !important;
}

.elementEstadoOKDeposito {
    fill: #42f5f2 !important;
}

/*PIVOT: mostrar toda la tabla pivot, con todas sus columnas*/
.dxpgMainTable_XafTheme {
    table-layout: auto !important
}

/*PIVOT: esconder scroll de columnas, ya que el css de arriba muestra todas las columnas sin necesidad de scroll*/
.dxpgHScrollBarCell_XafTheme {
    display: none;
}
/*estilo para contenedores de charts*/
.chartdivClass {
    width: 100%;
    height: calc(100vh - 400px);
    min-height: 300px;
    /*display: flex;
    flex-flow: column;
    height: 300px;
    border: 1px solid red;*/
}

/*tamaño por defecto de imagenes en cabecera de tabs*/
.dxtc-img dx-vam {
    width: 16px !important;
    height: 16px !important;
}

/*tamaño por defecto de imagenes en menu*/
.xav-nav-dxtv-ndImg {
    width: 16px !important;
    height: 16px !important;
}

/*valor por defecto de imagenes en menu*/
.dxtv-nd .xav-nav-dxtv-ndImg {
    width: 24px !important;
    height: 24px !important;
}

/*tamaño imagenes en SUBMENU*/
.dxtv-subnd .xav-nav-dxtv-ndImg {
    width: 16px !important;
    height: 16px !important;
}

/*wrap texto en header listas*/
.dxgvHeader_XafTheme .dx-wrap {
    white-space: normal !important;
}

a.baseColorLink {
    color: #447762;
}

/*botones en sinoptico*/
.SelectorDato {
    border: none;
    color: #4a4a4a !important;
    margin: 5px;
}

.SelectorDato.dxbButtonChecked_XafTheme {
    background: #447762;
    color: white !important;
}

.SelectorDato.dxbButtonHover_XafTheme {
    border: none !important;
    background: #e0edf8 !important;
}


.ActionUrlItem.dxeHyperlink_XafTheme,
.ActionUrlItem.dxeHyperlink_XafTheme:visited,
.ActionUrlItem.dxeHyperlink_XafTheme:hover {
    color: #447762;
}

.LogonTemplate .menuButtons .dxm-item {
    background-color: #447762 !important;
}

    .LogonTemplate .menuButtons .dxm-item.dxm-hovered,
    .LogonTemplate .menuButtons .dxm-item.dxm-hovered a.dx {
        background-color: #447762 !important;
    }

.dxmLite_XafTheme .menuButtons_XafTheme .dxm-hovered,
.dxmLite_XafTheme .menuButtons_XafTheme .dxm-hovered a.dx,
.dxmLite_XafTheme .dxm-horizontal.menuButtons_XafTheme .dxm-hovered,
.dxmLite_XafTheme .dxm-vertical.menuButtons_XafTheme .dxm-hovered {
    /*color: #447762 !important;*/
}

.menuButtons_XafTheme a.dx {
    color: #447762 !important;
}

.dxpcLite_XafTheme .dxpc-closeBtnHover,
.dxdpLite_XafTheme .dxpc-closeBtnHover,
.dxpcLite_XafTheme .dxpc-pinBtnHover,
.dxdpLite_XafTheme .dxpc-pinBtnHover,
.dxpcLite_XafTheme .dxpc-refreshBtnHover,
.dxdpLite_XafTheme .dxpc-refreshBtnHover,
.dxpcLite_XafTheme .dxpc-collapseBtnHover,
.dxdpLite_XafTheme .dxpc-collapseBtnHover,
.dxpcLite_XafTheme .dxpc-maximizeBtnHover,
.dxdpLite_XafTheme .dxpc-maximizeBtnHover {
    background: #447762;
}

.dxmLite_XafTheme .menuButtons.menuButtons_XafTheme .dxm-item a.dx,
.dxmLite_XafTheme .menuLinks.menuLinks_XafTheme .dxm-item a.dx {
    color: #447762;
}

.newStylePopupContent .dxmLite_XafTheme .menuButtons.menuButtons_XafTheme .dxm-item.blueItem,
.newStylePopupContent .dxmLite_XafTheme .menuButtons.menuButtons_XafTheme .dxm-item.blueItem.dxm-hovered {
    background-color: #447762;
    border-color: #447762;
}

    .newStylePopupContent .dxmLite_XafTheme .menuButtons.menuButtons_XafTheme .dxm-item.blueItem a.dx,
    .newStylePopupContent .dxmLite_XafTheme .menuButtons.menuButtons_XafTheme .dxm-item.blueItem.dxm-hovered a.dx {
        background-color: #447762;
    }

.dxmLite_XafTheme .menuButtons.menuButtons_XafTheme .dxm-item.dxm-hovered,
.dxmLite_XafTheme .menuButtons.menuButtons_XafTheme .dxm-item.dxm-hovered a.dx {
    color: #447762;
}

.dxmLite_XafTheme .dxm-tmpl .dxeListBoxItem_XafTheme.dxeListBoxItemSelected_XafTheme {
    background-color: #447762;
}

.xafNav .dxnbLite_XafTheme .dxnb-item.dxnb-itemSelected,
.xafNav .dxnbLite_XafTheme .dxnb-item.dxnb-itemSelected a,
.xafNav .dxnbLite_XafTheme .dxnb-item.dxnb-largeSelected,
.xafNav .dxnbLite_XafTheme .dxnb-item.dxnb-largeSelected a {
    background-color: #447762;
}

.xafNav .dxtv-ndSel {
    background-color: #447762;
}

.dxpLite_XafTheme .dxp-num.dxp-current {
    background-color: #447762;
}

.dxeCalendarButtonHover_XafTheme,
.dxeColorEditButton_XafTheme:hover {
    color: #447762;
}

.dxeCalendar_XafTheme {
    color: #447762;
}

.dxeCalendarSelected_XafTheme {
    background-color: #447762;
}

.dxeCalendarHeader_XafTheme td.dxe {
    color: #447762;
}

.dxbButton_XafTheme {
    color: #447762;
}

.dxbButtonHover_XafTheme {
    color: #447762;
}

.dxeCustomColorButtonHover_XafTheme {
    color: #447762;
}

.dxeListBoxItemSelected_XafTheme {
    background-color: #447762 !important;
}

.dxeCalendarDay_XafTheme.dxeCalendarToday_XafTheme.dxeCalendarSelected_XafTheme {
    background-color: #447762;
}

.WebEditorCell .dxucBrowseButton_XafTheme a,
.WebEditorCell .dxucBrowseButtonHover_XafTheme a {
    color: #447762 !important;
}

.dxgvFocusedRow_XafTheme {
    background-color: #447762;
}

.dxgvFocusedGroupRow_XafTheme {
    background-color: #447762;
}

.dxgvFilterBar_XafTheme a {
    color: #447762;
}

    .dxgvFilterBar_XafTheme a:hover {
        color: #447762;
    }

.dxgvPagerBottomPanel_XafTheme .dxmLite_XafTheme .dxm-item.dxm-selected {
    background-color: #447762;
}

.container {
    background-color: white;
    text-align: left;
}

.input-group-text {
    padding-top: 0.375rem;
    padding-right: 0.75rem;
    padding-bottom: 0.375rem;
    padding-left: 0.75rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.col {
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.input-group-prepend,
.input-group-append {
    display: -ms-flexbox;
    display: flex;
}

.input-group-prepend {
    margin-right: -1px;
}

.table {
    border-collapse: collapse !important;
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

    .table td,
    .table th {
        padding: .75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }


    .table th {
        padding: .75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6 !important;
}

.table-dark {
    color: inherit;
}

    .table-dark th,
    .table-dark td,
    .table-dark thead th,
    .table-dark tbody + tbody {
        border-color: #dee2e6;
    }

.table .thead-dark th {
    color: inherit;
    border-color: #dee2e6;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.fade {
    transition: opacity 0.15s linear;
}

.bg-white {
    background-color: #fff !important;
}

.text-white {
    color: white;
}

body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
}

.btn-cta {
    width: 120px;
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    padding: 10px;
    background: #ccc;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn-default {
    width: 100px;
    height: 30px;
    font-size: 16px;
}

.overlay {
    position: absolute;
    display: flex;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.59, -0.17, 0.3, 1.67);
}

    .overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

@media (max-width: 1063px) {
    .modal {
        width: 50%
    }
}


@media (max-width: 820px) {
    .modal {
        width: 60% !important;
    }
}

@media (max-width: 400px) {
    .modal {
        width: 60% !important;
    }
}

@media (max-width: 500px) {
    .tab button {
        width: -webkit-fill-available;
    }
}

.modal {
    transform: translate(-50%, -50%);
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 30px;
    width: 30%;
    background-color: #ddd;
    color: #231D23;
    text-align: center;
    overflow: hidden;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

    .modal .close-btn {
        position: absolute;
        padding: 3px 9px;
        font-size: 24px;
        text-align: center;
        background: #ccc;
        color: #9c9c9c;
        top: -1px;
        right: 0;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }



/* Style the tab */
.tab {
    overflow: hidden;
    background-color: #dddddd;
}

    /* Style the buttons inside the tab */
    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        font-size: 17px;
        color: greenyellow;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #447762;
            color: white;
            font-weight: bold !important;
        }


.tableModal {
    border-collapse: collapse !important;
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

    .tableModal th {
        border: 1px solid black;
        text-align: left;
        padding: 8px;
    }

    .tableModal td {
        border: 1px solid black;
        text-align: left;
        padding: 8px;
        background: white;
    }

.modal-header {
    margin-bottom: 3%;
}

.modal-footer {
    text-align: end;
    margin-top: 10px;
}

.m2 {
    text-align: right !important;
}

.total {
    font-weight: bold;
}

#divMotivoParo {
    text-align: left !important;
    border: 1px solid #f1635b !important;
    background: #f08b8b !important;
    font-weight: bold !important;
}

.xafFooter {
    color: #787878 !important;
    background-color: #ffffff !important;
}

.leaflet-container{
    background-color: white !important;
}
.leaflet-control-switch {
}

.leaflet-switch a {
    width: auto !important;
    padding: 0 10px;
}

.leaflet-switch .leaflet-switch-selected {
    background-color: #447762;
    color: white;
    cursor: default;
}

.SVG_Sinoptico_hidden {
    visibility: hidden !important;
}

.SVG_Sinoptico_visible {
    visibility: visible !important;
}

.SVG_Sinoptico_activo {
    fill: #bfffad !important;
}

.SVG_Sinoptico_parado {
    fill: #e3e3e3 !important;
}

.SVG_Sinoptico_error {
    fill: #ff766d !important;
}

.dxbButton_XafTheme.dxb-outline.dxbDisabled_XafTheme {
    border-color: #c6c6c6 !important;
    color: #c6c6c6 !important;
}

.dxbButton_XafTheme.dxb-outline {
    color: #808080 !important;
}

.Item.MoverInicioConPeriodoContainer {
    padding-left: 22% !important;
}

/*Cambiamos cabeceras de grupos en DV*/
.CardGroupContent .GroupHeader .Label {
    color: #9a9a9a;
    text-transform: uppercase;
    padding-left: 0px;
    font-size: 0.85em;
}
.CardGroupContent .GroupHeader .Label::after {
    content: ":";
}

/*Botón PopupWindow*/
.dxm-item.blueItem:not(.dxm-disabled) .dxm-content {
    background-color: #447762 !important;
}